~ubuntu-branches/ubuntu/oneiric/dbus-glib/oneiric-updates

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Simon McVittie
  • Date: 2010-08-16 19:52:19 UTC
  • mfrom: (2.2.1 experimental) (2.1.9 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100816195219-ig40gau6zeskqey2
Tags: 0.88-2
Re-upload to unstable, with release team acknowledgement for squeeze

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.63 for dbus-glib 0.86.
 
3
# Generated by GNU Autoconf 2.66 for dbus-glib 0.88.
4
4
#
5
5
# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=dbus>.
6
6
#
 
7
#
7
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
 
10
# Foundation, Inc.
 
11
#
 
12
#
9
13
# This configure script is free software; the Free Software Foundation
10
14
# gives unlimited permission to copy, distribute and modify it.
11
 
## --------------------- ##
12
 
## M4sh Initialization.  ##
13
 
## --------------------- ##
 
15
## -------------------- ##
 
16
## M4sh Initialization. ##
 
17
## -------------------- ##
14
18
 
15
19
# Be more Bourne compatible
16
20
DUALCASE=1; export DUALCASE # for MKS sh
17
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
21
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18
22
  emulate sh
19
23
  NULLCMD=:
20
24
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22
26
  alias -g '${1+"$@"}'='"$@"'
23
27
  setopt NO_GLOB_SUBST
24
28
else
25
 
  case `(set -o) 2>/dev/null` in
26
 
  *posix*) set -o posix ;;
 
29
  case `(set -o) 2>/dev/null` in #(
 
30
  *posix*) :
 
31
    set -o posix ;; #(
 
32
  *) :
 
33
     ;;
27
34
esac
28
 
 
29
35
fi
30
36
 
31
37
 
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
38
as_nl='
43
39
'
44
40
export as_nl
46
42
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47
43
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48
44
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
45
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
46
# but without wasting forks for bash or zsh.
 
47
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
48
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
49
  as_echo='print -r --'
 
50
  as_echo_n='print -rn --'
 
51
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50
52
  as_echo='printf %s\n'
51
53
  as_echo_n='printf %s'
52
54
else
57
59
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58
60
    as_echo_n_body='eval
59
61
      arg=$1;
60
 
      case $arg in
 
62
      case $arg in #(
61
63
      *"$as_nl"*)
62
64
        expr "X$arg" : "X\\(.*\\)$as_nl";
63
65
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
80
82
  }
81
83
fi
82
84
 
83
 
# Support unset when possible.
84
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
85
 
  as_unset=unset
86
 
else
87
 
  as_unset=false
88
 
fi
89
 
 
90
85
 
91
86
# IFS
92
87
# We need space, tab and new line, in precisely that order.  Quoting is
96
91
IFS=" ""        $as_nl"
97
92
 
98
93
# Find who we are.  Look in the path if we contain no directory separator.
99
 
case $0 in
 
94
case $0 in #((
100
95
  *[\\/]* ) as_myself=$0 ;;
101
96
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102
97
for as_dir in $PATH
103
98
do
104
99
  IFS=$as_save_IFS
105
100
  test -z "$as_dir" && as_dir=.
106
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107
 
done
 
101
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
102
  done
108
103
IFS=$as_save_IFS
109
104
 
110
105
     ;;
116
111
fi
117
112
if test ! -f "$as_myself"; then
118
113
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119
 
  { (exit 1); exit 1; }
 
114
  exit 1
120
115
fi
121
116
 
122
 
# Work around bugs in pre-3.0 UWIN ksh.
123
 
for as_var in ENV MAIL MAILPATH
124
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
117
# Unset variables that we do not need and which cause bugs (e.g. in
 
118
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
119
# suppresses any "Segmentation fault" message there.  '((' could
 
120
# trigger a bug in pdksh 5.2.14.
 
121
for as_var in BASH_ENV ENV MAIL MAILPATH
 
122
do eval test x\${$as_var+set} = xset \
 
123
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125
124
done
126
125
PS1='$ '
127
126
PS2='> '
133
132
LANGUAGE=C
134
133
export LANGUAGE
135
134
 
136
 
# Required to use basename.
137
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
138
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
139
 
  as_expr=expr
140
 
else
141
 
  as_expr=false
142
 
fi
143
 
 
144
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
145
 
  as_basename=basename
146
 
else
147
 
  as_basename=false
148
 
fi
149
 
 
150
 
 
151
 
# Name of the executable.
152
 
as_me=`$as_basename -- "$0" ||
153
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154
 
         X"$0" : 'X\(//\)$' \| \
155
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
156
 
$as_echo X/"$0" |
157
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
158
 
            s//\1/
159
 
            q
160
 
          }
161
 
          /^X\/\(\/\/\)$/{
162
 
            s//\1/
163
 
            q
164
 
          }
165
 
          /^X\/\(\/\).*/{
166
 
            s//\1/
167
 
            q
168
 
          }
169
 
          s/.*/./; q'`
170
 
 
171
135
# CDPATH.
172
 
$as_unset CDPATH
173
 
 
 
136
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
174
137
 
175
138
if test "x$CONFIG_SHELL" = x; then
176
 
  if (eval ":") 2>/dev/null; then
 
139
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
140
  emulate sh
 
141
  NULLCMD=:
 
142
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
143
  # is contrary to our usage.  Disable this feature.
 
144
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
145
  setopt NO_GLOB_SUBST
 
146
else
 
147
  case \`(set -o) 2>/dev/null\` in #(
 
148
  *posix*) :
 
149
    set -o posix ;; #(
 
150
  *) :
 
151
     ;;
 
152
esac
 
153
fi
 
154
"
 
155
  as_required="as_fn_return () { (exit \$1); }
 
156
as_fn_success () { as_fn_return 0; }
 
157
as_fn_failure () { as_fn_return 1; }
 
158
as_fn_ret_success () { return 0; }
 
159
as_fn_ret_failure () { return 1; }
 
160
 
 
161
exitcode=0
 
162
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
163
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
164
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
165
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
166
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
167
 
 
168
else
 
169
  exitcode=1; echo positional parameters were not saved.
 
170
fi
 
171
test x\$exitcode = x0 || exit 1"
 
172
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
173
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
174
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
175
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
176
test \$(( 1 + 1 )) = 2 || exit 1
 
177
 
 
178
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
 
179
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
180
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
181
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
182
    PATH=/empty FPATH=/empty; export PATH FPATH
 
183
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
 
184
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
 
185
  if (eval "$as_required") 2>/dev/null; then :
177
186
  as_have_required=yes
178
187
else
179
188
  as_have_required=no
180
189
fi
181
 
 
182
 
  if test $as_have_required = yes &&     (eval ":
183
 
(as_func_return () {
184
 
  (exit \$1)
185
 
}
186
 
as_func_success () {
187
 
  as_func_return 0
188
 
}
189
 
as_func_failure () {
190
 
  as_func_return 1
191
 
}
192
 
as_func_ret_success () {
193
 
  return 0
194
 
}
195
 
as_func_ret_failure () {
196
 
  return 1
197
 
}
198
 
 
199
 
exitcode=0
200
 
if as_func_success; then
201
 
  :
202
 
else
203
 
  exitcode=1
204
 
  echo as_func_success failed.
205
 
fi
206
 
 
207
 
if as_func_failure; then
208
 
  exitcode=1
209
 
  echo as_func_failure succeeded.
210
 
fi
211
 
 
212
 
if as_func_ret_success; then
213
 
  :
214
 
else
215
 
  exitcode=1
216
 
  echo as_func_ret_success failed.
217
 
fi
218
 
 
219
 
if as_func_ret_failure; then
220
 
  exitcode=1
221
 
  echo as_func_ret_failure succeeded.
222
 
fi
223
 
 
224
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
225
 
  :
226
 
else
227
 
  exitcode=1
228
 
  echo positional parameters were not saved.
229
 
fi
230
 
 
231
 
test \$exitcode = 0) || { (exit 1); exit 1; }
232
 
 
233
 
(
234
 
  as_lineno_1=\$LINENO
235
 
  as_lineno_2=\$LINENO
236
 
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237
 
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238
 
") 2> /dev/null; then
239
 
  :
240
 
else
241
 
  as_candidate_shells=
242
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
190
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
191
 
 
192
else
 
193
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
194
as_found=false
243
195
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244
196
do
245
197
  IFS=$as_save_IFS
246
198
  test -z "$as_dir" && as_dir=.
247
 
  case $as_dir in
 
199
  as_found=:
 
200
  case $as_dir in #(
248
201
         /*)
249
202
           for as_base in sh bash ksh sh5; do
250
 
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
203
             # Try only shells that exist, to save several forks.
 
204
             as_shell=$as_dir/$as_base
 
205
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
206
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
207
  CONFIG_SHELL=$as_shell as_have_required=yes
 
208
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
209
  break 2
 
210
fi
 
211
fi
251
212
           done;;
252
213
       esac
 
214
  as_found=false
253
215
done
 
216
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
217
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
218
  CONFIG_SHELL=$SHELL as_have_required=yes
 
219
fi; }
254
220
IFS=$as_save_IFS
255
221
 
256
222
 
257
 
      for as_shell in $as_candidate_shells $SHELL; do
258
 
         # Try only shells that exist, to save several forks.
259
 
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260
 
                { ("$as_shell") 2> /dev/null <<\_ASEOF
261
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262
 
  emulate sh
263
 
  NULLCMD=:
264
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265
 
  # is contrary to our usage.  Disable this feature.
266
 
  alias -g '${1+"$@"}'='"$@"'
267
 
  setopt NO_GLOB_SUBST
268
 
else
269
 
  case `(set -o) 2>/dev/null` in
270
 
  *posix*) set -o posix ;;
271
 
esac
272
 
 
273
 
fi
274
 
 
275
 
 
276
 
:
277
 
_ASEOF
278
 
}; then
279
 
  CONFIG_SHELL=$as_shell
280
 
               as_have_required=yes
281
 
               if { "$as_shell" 2> /dev/null <<\_ASEOF
282
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283
 
  emulate sh
284
 
  NULLCMD=:
285
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286
 
  # is contrary to our usage.  Disable this feature.
287
 
  alias -g '${1+"$@"}'='"$@"'
288
 
  setopt NO_GLOB_SUBST
289
 
else
290
 
  case `(set -o) 2>/dev/null` in
291
 
  *posix*) set -o posix ;;
292
 
esac
293
 
 
294
 
fi
295
 
 
296
 
 
297
 
:
298
 
(as_func_return () {
299
 
  (exit $1)
300
 
}
301
 
as_func_success () {
302
 
  as_func_return 0
303
 
}
304
 
as_func_failure () {
305
 
  as_func_return 1
306
 
}
307
 
as_func_ret_success () {
308
 
  return 0
309
 
}
310
 
as_func_ret_failure () {
311
 
  return 1
312
 
}
313
 
 
314
 
exitcode=0
315
 
if as_func_success; then
316
 
  :
317
 
else
318
 
  exitcode=1
319
 
  echo as_func_success failed.
320
 
fi
321
 
 
322
 
if as_func_failure; then
323
 
  exitcode=1
324
 
  echo as_func_failure succeeded.
325
 
fi
326
 
 
327
 
if as_func_ret_success; then
328
 
  :
329
 
else
330
 
  exitcode=1
331
 
  echo as_func_ret_success failed.
332
 
fi
333
 
 
334
 
if as_func_ret_failure; then
335
 
  exitcode=1
336
 
  echo as_func_ret_failure succeeded.
337
 
fi
338
 
 
339
 
if ( set x; as_func_ret_success y && test x = "$1" ); then
340
 
  :
341
 
else
342
 
  exitcode=1
343
 
  echo positional parameters were not saved.
344
 
fi
345
 
 
346
 
test $exitcode = 0) || { (exit 1); exit 1; }
347
 
 
348
 
(
349
 
  as_lineno_1=$LINENO
350
 
  as_lineno_2=$LINENO
351
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
352
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
353
 
 
354
 
_ASEOF
355
 
}; then
356
 
  break
357
 
fi
358
 
 
359
 
fi
360
 
 
361
 
      done
362
 
 
363
 
      if test "x$CONFIG_SHELL" != x; then
364
 
  for as_var in BASH_ENV ENV
365
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366
 
        done
 
223
      if test "x$CONFIG_SHELL" != x; then :
 
224
  # We cannot yet assume a decent shell, so we have to provide a
 
225
        # neutralization value for shells without unset; and this also
 
226
        # works around shells that cannot unset nonexistent variables.
 
227
        BASH_ENV=/dev/null
 
228
        ENV=/dev/null
 
229
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
367
230
        export CONFIG_SHELL
368
231
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
369
232
fi
370
233
 
371
 
 
372
 
    if test $as_have_required = no; then
373
 
  echo This script requires a shell more modern than all the
374
 
      echo shells that I found on your system.  Please install a
375
 
      echo modern shell, or manually run the script under such a
376
 
      echo shell if you do have one.
377
 
      { (exit 1); exit 1; }
378
 
fi
379
 
 
380
 
 
381
 
fi
382
 
 
383
 
fi
384
 
 
385
 
 
386
 
 
387
 
(eval "as_func_return () {
388
 
  (exit \$1)
389
 
}
390
 
as_func_success () {
391
 
  as_func_return 0
392
 
}
393
 
as_func_failure () {
394
 
  as_func_return 1
395
 
}
396
 
as_func_ret_success () {
397
 
  return 0
398
 
}
399
 
as_func_ret_failure () {
400
 
  return 1
401
 
}
402
 
 
403
 
exitcode=0
404
 
if as_func_success; then
405
 
  :
406
 
else
407
 
  exitcode=1
408
 
  echo as_func_success failed.
409
 
fi
410
 
 
411
 
if as_func_failure; then
412
 
  exitcode=1
413
 
  echo as_func_failure succeeded.
414
 
fi
415
 
 
416
 
if as_func_ret_success; then
417
 
  :
418
 
else
419
 
  exitcode=1
420
 
  echo as_func_ret_success failed.
421
 
fi
422
 
 
423
 
if as_func_ret_failure; then
424
 
  exitcode=1
425
 
  echo as_func_ret_failure succeeded.
426
 
fi
427
 
 
428
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
429
 
  :
430
 
else
431
 
  exitcode=1
432
 
  echo positional parameters were not saved.
433
 
fi
434
 
 
435
 
test \$exitcode = 0") || {
436
 
  echo No shell found that supports shell functions.
437
 
  echo Please tell bug-autoconf@gnu.org about your system,
438
 
  echo including any error possibly output before this message.
439
 
  echo This can help us improve future autoconf versions.
440
 
  echo Configuration will now proceed without shell functions.
441
 
}
442
 
 
443
 
 
444
 
 
445
 
  as_lineno_1=$LINENO
446
 
  as_lineno_2=$LINENO
447
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
448
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
449
 
 
450
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
452
 
  # line-number line after each line using $LINENO; the second 'sed'
453
 
  # does the real work.  The second script uses 'N' to pair each
454
 
  # line-number line with the line containing $LINENO, and appends
455
 
  # trailing '-' during substitution so that $LINENO is not a special
456
 
  # case at line end.
457
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
459
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
234
    if test x$as_have_required = xno; then :
 
235
  $as_echo "$0: This script requires a shell more modern than all"
 
236
  $as_echo "$0: the shells that I found on your system."
 
237
  if test x${ZSH_VERSION+set} = xset ; then
 
238
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
239
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 
240
  else
 
241
    $as_echo "$0: Please tell bug-autoconf@gnu.org and
 
242
$0: https://bugs.freedesktop.org/enter_bug.cgi?product=dbus
 
243
$0: about your system, including any error possibly output
 
244
$0: before this message. Then install a modern shell, or
 
245
$0: manually run the script under such a shell if you do
 
246
$0: have one."
 
247
  fi
 
248
  exit 1
 
249
fi
 
250
fi
 
251
fi
 
252
SHELL=${CONFIG_SHELL-/bin/sh}
 
253
export SHELL
 
254
# Unset more variables known to interfere with behavior of common tools.
 
255
CLICOLOR_FORCE= GREP_OPTIONS=
 
256
unset CLICOLOR_FORCE GREP_OPTIONS
 
257
 
 
258
## --------------------- ##
 
259
## M4sh Shell Functions. ##
 
260
## --------------------- ##
 
261
# as_fn_unset VAR
 
262
# ---------------
 
263
# Portably unset VAR.
 
264
as_fn_unset ()
 
265
{
 
266
  { eval $1=; unset $1;}
 
267
}
 
268
as_unset=as_fn_unset
 
269
 
 
270
# as_fn_set_status STATUS
 
271
# -----------------------
 
272
# Set $? to STATUS, without forking.
 
273
as_fn_set_status ()
 
274
{
 
275
  return $1
 
276
} # as_fn_set_status
 
277
 
 
278
# as_fn_exit STATUS
 
279
# -----------------
 
280
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
281
as_fn_exit ()
 
282
{
 
283
  set +e
 
284
  as_fn_set_status $1
 
285
  exit $1
 
286
} # as_fn_exit
 
287
 
 
288
# as_fn_mkdir_p
 
289
# -------------
 
290
# Create "$as_dir" as a directory, including parents if necessary.
 
291
as_fn_mkdir_p ()
 
292
{
 
293
 
 
294
  case $as_dir in #(
 
295
  -*) as_dir=./$as_dir;;
 
296
  esac
 
297
  test -d "$as_dir" || eval $as_mkdir_p || {
 
298
    as_dirs=
 
299
    while :; do
 
300
      case $as_dir in #(
 
301
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
302
      *) as_qdir=$as_dir;;
 
303
      esac
 
304
      as_dirs="'$as_qdir' $as_dirs"
 
305
      as_dir=`$as_dirname -- "$as_dir" ||
 
306
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
307
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
308
         X"$as_dir" : 'X\(//\)$' \| \
 
309
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
310
$as_echo X"$as_dir" |
 
311
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
312
            s//\1/
 
313
            q
 
314
          }
 
315
          /^X\(\/\/\)[^/].*/{
 
316
            s//\1/
 
317
            q
 
318
          }
 
319
          /^X\(\/\/\)$/{
 
320
            s//\1/
 
321
            q
 
322
          }
 
323
          /^X\(\/\).*/{
 
324
            s//\1/
 
325
            q
 
326
          }
 
327
          s/.*/./; q'`
 
328
      test -d "$as_dir" && break
 
329
    done
 
330
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
331
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
332
 
 
333
 
 
334
} # as_fn_mkdir_p
 
335
# as_fn_append VAR VALUE
 
336
# ----------------------
 
337
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
338
# advantage of any shell optimizations that allow amortized linear growth over
 
339
# repeated appends, instead of the typical quadratic growth present in naive
 
340
# implementations.
 
341
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
342
  eval 'as_fn_append ()
 
343
  {
 
344
    eval $1+=\$2
 
345
  }'
 
346
else
 
347
  as_fn_append ()
 
348
  {
 
349
    eval $1=\$$1\$2
 
350
  }
 
351
fi # as_fn_append
 
352
 
 
353
# as_fn_arith ARG...
 
354
# ------------------
 
355
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
356
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
357
# must be portable across $(()) and expr.
 
358
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
359
  eval 'as_fn_arith ()
 
360
  {
 
361
    as_val=$(( $* ))
 
362
  }'
 
363
else
 
364
  as_fn_arith ()
 
365
  {
 
366
    as_val=`expr "$@" || test $? -eq 1`
 
367
  }
 
368
fi # as_fn_arith
 
369
 
 
370
 
 
371
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
372
# ----------------------------------------
 
373
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
374
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
375
# script with STATUS, using 1 if that was 0.
 
376
as_fn_error ()
 
377
{
 
378
  as_status=$1; test $as_status -eq 0 && as_status=1
 
379
  if test "$4"; then
 
380
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
381
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
382
  fi
 
383
  $as_echo "$as_me: error: $2" >&2
 
384
  as_fn_exit $as_status
 
385
} # as_fn_error
 
386
 
 
387
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
388
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
389
  as_expr=expr
 
390
else
 
391
  as_expr=false
 
392
fi
 
393
 
 
394
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
395
  as_basename=basename
 
396
else
 
397
  as_basename=false
 
398
fi
 
399
 
 
400
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
401
  as_dirname=dirname
 
402
else
 
403
  as_dirname=false
 
404
fi
 
405
 
 
406
as_me=`$as_basename -- "$0" ||
 
407
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
408
         X"$0" : 'X\(//\)$' \| \
 
409
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
410
$as_echo X/"$0" |
 
411
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
412
            s//\1/
 
413
            q
 
414
          }
 
415
          /^X\/\(\/\/\)$/{
 
416
            s//\1/
 
417
            q
 
418
          }
 
419
          /^X\/\(\/\).*/{
 
420
            s//\1/
 
421
            q
 
422
          }
 
423
          s/.*/./; q'`
 
424
 
 
425
# Avoid depending upon Character Ranges.
 
426
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
427
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
428
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
429
as_cr_digits='0123456789'
 
430
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
431
 
 
432
 
 
433
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
434
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
435
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
436
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
437
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
460
438
  sed -n '
461
439
    p
462
440
    /[$]LINENO/=
473
451
      s/-\n.*//
474
452
    ' >$as_me.lineno &&
475
453
  chmod +x "$as_me.lineno" ||
476
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477
 
   { (exit 1); exit 1; }; }
 
454
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
478
455
 
479
456
  # Don't try to exec as it changes $[0], causing all sort of problems
480
457
  # (the dirname of $[0] is not the place where we might find the
484
461
  exit
485
462
}
486
463
 
487
 
 
488
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
489
 
  as_dirname=dirname
490
 
else
491
 
  as_dirname=false
492
 
fi
493
 
 
494
464
ECHO_C= ECHO_N= ECHO_T=
495
 
case `echo -n x` in
 
465
case `echo -n x` in #(((((
496
466
-n*)
497
 
  case `echo 'x\c'` in
 
467
  case `echo 'xy\c'` in
498
468
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
499
 
  *)   ECHO_C='\c';;
 
469
  xy)  ECHO_C='\c';;
 
470
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
471
       ECHO_T=' ';;
500
472
  esac;;
501
473
*)
502
474
  ECHO_N='-n';;
503
475
esac
504
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
505
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
506
 
  as_expr=expr
507
 
else
508
 
  as_expr=false
509
 
fi
510
476
 
511
477
rm -f conf$$ conf$$.exe conf$$.file
512
478
if test -d conf$$.dir; then
536
502
rmdir conf$$.dir 2>/dev/null
537
503
 
538
504
if mkdir -p . 2>/dev/null; then
539
 
  as_mkdir_p=:
 
505
  as_mkdir_p='mkdir -p "$as_dir"'
540
506
else
541
507
  test -d ./-p && rmdir ./-p
542
508
  as_mkdir_p=false
555
521
      if test -d "$1"; then
556
522
        test -d "$1/.";
557
523
      else
558
 
        case $1 in
 
524
        case $1 in #(
559
525
        -*)set "./$1";;
560
526
        esac;
561
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
527
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
562
528
        ???[sx]*):;;*)false;;esac;fi
563
529
    '\'' sh
564
530
  '
571
537
# Sed expression to map a string onto a valid variable name.
572
538
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
573
539
 
574
 
 
575
 
 
576
 
 
577
 
# Check that we are running under the correct shell.
578
540
SHELL=${CONFIG_SHELL-/bin/sh}
579
541
 
580
 
case X$lt_ECHO in
581
 
X*--fallback-echo)
582
 
  # Remove one level of quotation (which was required for Make).
583
 
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
584
 
  ;;
585
 
esac
586
 
 
587
 
ECHO=${lt_ECHO-echo}
588
 
if test "X$1" = X--no-reexec; then
589
 
  # Discard the --no-reexec flag, and continue.
590
 
  shift
591
 
elif test "X$1" = X--fallback-echo; then
592
 
  # Avoid inline document here, it may be left over
593
 
  :
594
 
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
595
 
  # Yippee, $ECHO works!
596
 
  :
597
 
else
598
 
  # Restart under the correct shell.
599
 
  exec $SHELL "$0" --no-reexec ${1+"$@"}
600
 
fi
601
 
 
602
 
if test "X$1" = X--fallback-echo; then
603
 
  # used as fallback echo
604
 
  shift
605
 
  cat <<_LT_EOF
606
 
$*
607
 
_LT_EOF
608
 
  exit 0
609
 
fi
610
 
 
611
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
612
 
# if CDPATH is set.
613
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
614
 
 
615
 
if test -z "$lt_ECHO"; then
616
 
  if test "X${echo_test_string+set}" != Xset; then
617
 
    # find a string as large as possible, as long as the shell can cope with it
618
 
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
619
 
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
620
 
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
621
 
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
622
 
      then
623
 
        break
624
 
      fi
625
 
    done
626
 
  fi
627
 
 
628
 
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
629
 
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
630
 
     test "X$echo_testing_string" = "X$echo_test_string"; then
631
 
    :
632
 
  else
633
 
    # The Solaris, AIX, and Digital Unix default echo programs unquote
634
 
    # backslashes.  This makes it impossible to quote backslashes using
635
 
    #   echo "$something" | sed 's/\\/\\\\/g'
636
 
    #
637
 
    # So, first we look for a working echo in the user's PATH.
638
 
 
639
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
640
 
    for dir in $PATH /usr/ucb; do
641
 
      IFS="$lt_save_ifs"
642
 
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
643
 
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
644
 
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
645
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
646
 
        ECHO="$dir/echo"
647
 
        break
648
 
      fi
649
 
    done
650
 
    IFS="$lt_save_ifs"
651
 
 
652
 
    if test "X$ECHO" = Xecho; then
653
 
      # We didn't find a better echo, so look for alternatives.
654
 
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
655
 
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
656
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
657
 
        # This shell has a builtin print -r that does the trick.
658
 
        ECHO='print -r'
659
 
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
660
 
           test "X$CONFIG_SHELL" != X/bin/ksh; then
661
 
        # If we have ksh, try running configure again with it.
662
 
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
663
 
        export ORIGINAL_CONFIG_SHELL
664
 
        CONFIG_SHELL=/bin/ksh
665
 
        export CONFIG_SHELL
666
 
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
667
 
      else
668
 
        # Try using printf.
669
 
        ECHO='printf %s\n'
670
 
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
671
 
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
672
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
673
 
          # Cool, printf works
674
 
          :
675
 
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
676
 
             test "X$echo_testing_string" = 'X\t' &&
677
 
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
678
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
679
 
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
680
 
          export CONFIG_SHELL
681
 
          SHELL="$CONFIG_SHELL"
682
 
          export SHELL
683
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
684
 
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
685
 
             test "X$echo_testing_string" = 'X\t' &&
686
 
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
687
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
688
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
689
 
        else
690
 
          # maybe with a smaller string...
691
 
          prev=:
692
 
 
693
 
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
694
 
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
695
 
            then
696
 
              break
697
 
            fi
698
 
            prev="$cmd"
699
 
          done
700
 
 
701
 
          if test "$prev" != 'sed 50q "$0"'; then
702
 
            echo_test_string=`eval $prev`
703
 
            export echo_test_string
704
 
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
705
 
          else
706
 
            # Oops.  We lost completely, so just stick with echo.
707
 
            ECHO=echo
708
 
          fi
709
 
        fi
710
 
      fi
711
 
    fi
712
 
  fi
713
 
fi
714
 
 
715
 
# Copy echo and quote the copy suitably for passing to libtool from
716
 
# the Makefile, instead of quoting the original, which is used later.
717
 
lt_ECHO=$ECHO
718
 
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
719
 
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
720
 
fi
721
 
 
722
 
 
723
 
 
724
 
 
725
 
exec 7<&0 </dev/null 6>&1
 
542
 
 
543
test -n "$DJDIR" || exec 7<&0 </dev/null
 
544
exec 6>&1
726
545
 
727
546
# Name of the host.
728
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
547
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
729
548
# so uname gets run too.
730
549
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
731
550
 
740
559
subdirs=
741
560
MFLAGS=
742
561
MAKEFLAGS=
743
 
SHELL=${CONFIG_SHELL-/bin/sh}
744
562
 
745
563
# Identity of this package.
746
564
PACKAGE_NAME='dbus-glib'
747
565
PACKAGE_TARNAME='dbus-glib'
748
 
PACKAGE_VERSION='0.86'
749
 
PACKAGE_STRING='dbus-glib 0.86'
 
566
PACKAGE_VERSION='0.88'
 
567
PACKAGE_STRING='dbus-glib 0.88'
750
568
PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=dbus'
 
569
PACKAGE_URL=''
751
570
 
752
571
# Factoring default headers for most tests.
753
572
ac_includes_default="\
807
626
DBUS_DOXYGEN_DOCS_ENABLED_FALSE
808
627
DBUS_DOXYGEN_DOCS_ENABLED_TRUE
809
628
DOXYGEN
 
629
GTK_DOC_USE_REBASE_FALSE
 
630
GTK_DOC_USE_REBASE_TRUE
810
631
GTK_DOC_USE_LIBTOOL_FALSE
811
632
GTK_DOC_USE_LIBTOOL_TRUE
 
633
GTK_DOC_BUILD_PDF_FALSE
 
634
GTK_DOC_BUILD_PDF_TRUE
 
635
GTK_DOC_BUILD_HTML_FALSE
 
636
GTK_DOC_BUILD_HTML_TRUE
812
637
ENABLE_GTK_DOC_FALSE
813
638
ENABLE_GTK_DOC_TRUE
 
639
HTML_DIR
 
640
GTKDOC_MKPDF
 
641
GTKDOC_REBASE
814
642
GTKDOC_CHECK
815
 
HTML_DIR
816
643
DBUS_GLIB_TOOL_LIBS
817
644
DBUS_GLIB_TOOL_CFLAGS
818
645
GLIB_GENMARSHAL
830
657
HAVE_DBUS_TRUE
831
658
DBUS_LIBS
832
659
DBUS_CFLAGS
 
660
PKG_CONFIG_LIBDIR
 
661
PKG_CONFIG_PATH
833
662
PKG_CONFIG
834
663
MKINSTALLDIRS
835
664
POSUB
855
684
LIPO
856
685
NMEDIT
857
686
DSYMUTIL
858
 
lt_ECHO
859
687
RANLIB
860
688
AR
861
689
OBJDUMP
923
751
INSTALL_DATA
924
752
INSTALL_SCRIPT
925
753
INSTALL_PROGRAM
926
 
target_os
927
 
target_vendor
928
 
target_cpu
929
 
target
930
754
host_os
931
755
host_vendor
932
756
host_cpu
965
789
program_transform_name
966
790
prefix
967
791
exec_prefix
 
792
PACKAGE_URL
968
793
PACKAGE_BUGREPORT
969
794
PACKAGE_STRING
970
795
PACKAGE_VERSION
997
822
enable_libtool_lock
998
823
with_html_dir
999
824
enable_gtk_doc
 
825
enable_gtk_doc_html
 
826
enable_gtk_doc_pdf
1000
827
'
1001
828
      ac_precious_vars='build_alias
1002
829
host_alias
1008
835
CPPFLAGS
1009
836
CPP
1010
837
PKG_CONFIG
 
838
PKG_CONFIG_PATH
 
839
PKG_CONFIG_LIBDIR
1011
840
DBUS_CFLAGS
1012
841
DBUS_LIBS
1013
842
DBUS_GLIB_CFLAGS
1122
951
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1123
952
    # Reject names that are not valid shell variable names.
1124
953
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1125
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1126
 
   { (exit 1); exit 1; }; }
 
954
      as_fn_error $? "invalid feature name: $ac_useropt"
1127
955
    ac_useropt_orig=$ac_useropt
1128
956
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1129
957
    case $ac_user_opts in
1149
977
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1150
978
    # Reject names that are not valid shell variable names.
1151
979
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1152
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1153
 
   { (exit 1); exit 1; }; }
 
980
      as_fn_error $? "invalid feature name: $ac_useropt"
1154
981
    ac_useropt_orig=$ac_useropt
1155
982
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1156
983
    case $ac_user_opts in
1354
1181
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1355
1182
    # Reject names that are not valid shell variable names.
1356
1183
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1357
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1358
 
   { (exit 1); exit 1; }; }
 
1184
      as_fn_error $? "invalid package name: $ac_useropt"
1359
1185
    ac_useropt_orig=$ac_useropt
1360
1186
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1361
1187
    case $ac_user_opts in
1371
1197
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1372
1198
    # Reject names that are not valid shell variable names.
1373
1199
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1374
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1375
 
   { (exit 1); exit 1; }; }
 
1200
      as_fn_error $? "invalid package name: $ac_useropt"
1376
1201
    ac_useropt_orig=$ac_useropt
1377
1202
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1378
1203
    case $ac_user_opts in
1402
1227
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1403
1228
    x_libraries=$ac_optarg ;;
1404
1229
 
1405
 
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1406
 
Try \`$0 --help' for more information." >&2
1407
 
   { (exit 1); exit 1; }; }
 
1230
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 
1231
Try \`$0 --help' for more information"
1408
1232
    ;;
1409
1233
 
1410
1234
  *=*)
1411
1235
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1412
1236
    # Reject names that are not valid shell variable names.
1413
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1414
 
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1415
 
   { (exit 1); exit 1; }; }
 
1237
    case $ac_envvar in #(
 
1238
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1239
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 
1240
    esac
1416
1241
    eval $ac_envvar=\$ac_optarg
1417
1242
    export $ac_envvar ;;
1418
1243
 
1429
1254
 
1430
1255
if test -n "$ac_prev"; then
1431
1256
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1432
 
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1433
 
   { (exit 1); exit 1; }; }
 
1257
  as_fn_error $? "missing argument to $ac_option"
1434
1258
fi
1435
1259
 
1436
1260
if test -n "$ac_unrecognized_opts"; then
1437
1261
  case $enable_option_checking in
1438
1262
    no) ;;
1439
 
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1440
 
   { (exit 1); exit 1; }; } ;;
 
1263
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1441
1264
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1442
1265
  esac
1443
1266
fi
1460
1283
    [\\/$]* | ?:[\\/]* )  continue;;
1461
1284
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1462
1285
  esac
1463
 
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1464
 
   { (exit 1); exit 1; }; }
 
1286
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1465
1287
done
1466
1288
 
1467
1289
# There might be people who depend on the old broken behavior: `$host'
1475
1297
if test "x$host_alias" != x; then
1476
1298
  if test "x$build_alias" = x; then
1477
1299
    cross_compiling=maybe
1478
 
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1479
 
    If a cross compiler is detected then cross compile mode will be used." >&2
 
1300
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 
1301
    If a cross compiler is detected then cross compile mode will be used" >&2
1480
1302
  elif test "x$build_alias" != "x$host_alias"; then
1481
1303
    cross_compiling=yes
1482
1304
  fi
1491
1313
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1492
1314
ac_ls_di=`ls -di .` &&
1493
1315
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1494
 
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1495
 
   { (exit 1); exit 1; }; }
 
1316
  as_fn_error $? "working directory cannot be determined"
1496
1317
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1497
 
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1498
 
   { (exit 1); exit 1; }; }
 
1318
  as_fn_error $? "pwd does not report name of working directory"
1499
1319
 
1500
1320
 
1501
1321
# Find the source files, if location was not specified.
1534
1354
fi
1535
1355
if test ! -r "$srcdir/$ac_unique_file"; then
1536
1356
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1537
 
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1538
 
   { (exit 1); exit 1; }; }
 
1357
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1539
1358
fi
1540
1359
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1541
1360
ac_abs_confdir=`(
1542
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1543
 
   { (exit 1); exit 1; }; }
 
1361
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1544
1362
        pwd)`
1545
1363
# When building in place, set srcdir=.
1546
1364
if test "$ac_abs_confdir" = "$ac_pwd"; then
1566
1384
  # Omit some internal or obsolete options to make the list less imposing.
1567
1385
  # This message is too long to be a string in the A/UX 3.1 sh.
1568
1386
  cat <<_ACEOF
1569
 
\`configure' configures dbus-glib 0.86 to adapt to many kinds of systems.
 
1387
\`configure' configures dbus-glib 0.88 to adapt to many kinds of systems.
1570
1388
 
1571
1389
Usage: $0 [OPTION]... [VAR=VALUE]...
1572
1390
 
1580
1398
      --help=short        display options specific to this package
1581
1399
      --help=recursive    display the short help of all the included packages
1582
1400
  -V, --version           display version information and exit
1583
 
  -q, --quiet, --silent   do not print \`checking...' messages
 
1401
  -q, --quiet, --silent   do not print \`checking ...' messages
1584
1402
      --cache-file=FILE   cache test results in FILE [disabled]
1585
1403
  -C, --config-cache      alias for \`--cache-file=config.cache'
1586
1404
  -n, --no-create         do not create output files
1631
1449
System types:
1632
1450
  --build=BUILD     configure for building on BUILD [guessed]
1633
1451
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1634
 
  --target=TARGET   configure for building compilers for TARGET [HOST]
1635
1452
_ACEOF
1636
1453
fi
1637
1454
 
1638
1455
if test -n "$ac_init_help"; then
1639
1456
  case $ac_init_help in
1640
 
     short | recursive ) echo "Configuration of dbus-glib 0.86:";;
 
1457
     short | recursive ) echo "Configuration of dbus-glib 0.88:";;
1641
1458
   esac
1642
1459
  cat <<\_ACEOF
1643
1460
 
1666
1483
  --enable-fast-install[=PKGS]
1667
1484
                          optimize for fast installation [default=yes]
1668
1485
  --disable-libtool-lock  avoid locking (might break parallel builds)
1669
 
  --enable-gtk-doc        use gtk-doc to build documentation [default=no]
 
1486
  --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
 
1487
  --enable-gtk-doc-html   build documentation in html format [[default=yes]]
 
1488
  --enable-gtk-doc-pdf    build documentation in pdf format [[default=no]]
1670
1489
 
1671
1490
Optional Packages:
1672
1491
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1690
1509
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1691
1510
              nonstandard directory <lib dir>
1692
1511
  LIBS        libraries to pass to the linker, e.g. -l<library>
1693
 
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1512
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1694
1513
              you have headers in a nonstandard directory <include dir>
1695
1514
  CPP         C preprocessor
1696
1515
  PKG_CONFIG  path to pkg-config utility
 
1516
  PKG_CONFIG_PATH
 
1517
              directories to add to pkg-config's search path
 
1518
  PKG_CONFIG_LIBDIR
 
1519
              path overriding pkg-config's built-in search path
1697
1520
  DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1698
1521
  DBUS_LIBS   linker flags for DBUS, overriding pkg-config
1699
1522
  DBUS_GLIB_CFLAGS
1771
1594
test -n "$ac_init_help" && exit $ac_status
1772
1595
if $ac_init_version; then
1773
1596
  cat <<\_ACEOF
1774
 
dbus-glib configure 0.86
1775
 
generated by GNU Autoconf 2.63
 
1597
dbus-glib configure 0.88
 
1598
generated by GNU Autoconf 2.66
1776
1599
 
1777
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1778
 
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
1600
Copyright (C) 2010 Free Software Foundation, Inc.
1779
1601
This configure script is free software; the Free Software Foundation
1780
1602
gives unlimited permission to copy, distribute and modify it.
1781
1603
_ACEOF
1782
1604
  exit
1783
1605
fi
 
1606
 
 
1607
## ------------------------ ##
 
1608
## Autoconf initialization. ##
 
1609
## ------------------------ ##
 
1610
 
 
1611
# ac_fn_c_try_compile LINENO
 
1612
# --------------------------
 
1613
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1614
ac_fn_c_try_compile ()
 
1615
{
 
1616
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1617
  rm -f conftest.$ac_objext
 
1618
  if { { ac_try="$ac_compile"
 
1619
case "(($ac_try" in
 
1620
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1621
  *) ac_try_echo=$ac_try;;
 
1622
esac
 
1623
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1624
$as_echo "$ac_try_echo"; } >&5
 
1625
  (eval "$ac_compile") 2>conftest.err
 
1626
  ac_status=$?
 
1627
  if test -s conftest.err; then
 
1628
    grep -v '^ *+' conftest.err >conftest.er1
 
1629
    cat conftest.er1 >&5
 
1630
    mv -f conftest.er1 conftest.err
 
1631
  fi
 
1632
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1633
  test $ac_status = 0; } && {
 
1634
         test -z "$ac_c_werror_flag" ||
 
1635
         test ! -s conftest.err
 
1636
       } && test -s conftest.$ac_objext; then :
 
1637
  ac_retval=0
 
1638
else
 
1639
  $as_echo "$as_me: failed program was:" >&5
 
1640
sed 's/^/| /' conftest.$ac_ext >&5
 
1641
 
 
1642
        ac_retval=1
 
1643
fi
 
1644
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1645
  as_fn_set_status $ac_retval
 
1646
 
 
1647
} # ac_fn_c_try_compile
 
1648
 
 
1649
# ac_fn_c_try_link LINENO
 
1650
# -----------------------
 
1651
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1652
ac_fn_c_try_link ()
 
1653
{
 
1654
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1655
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1656
  if { { ac_try="$ac_link"
 
1657
case "(($ac_try" in
 
1658
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1659
  *) ac_try_echo=$ac_try;;
 
1660
esac
 
1661
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1662
$as_echo "$ac_try_echo"; } >&5
 
1663
  (eval "$ac_link") 2>conftest.err
 
1664
  ac_status=$?
 
1665
  if test -s conftest.err; then
 
1666
    grep -v '^ *+' conftest.err >conftest.er1
 
1667
    cat conftest.er1 >&5
 
1668
    mv -f conftest.er1 conftest.err
 
1669
  fi
 
1670
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1671
  test $ac_status = 0; } && {
 
1672
         test -z "$ac_c_werror_flag" ||
 
1673
         test ! -s conftest.err
 
1674
       } && test -s conftest$ac_exeext && {
 
1675
         test "$cross_compiling" = yes ||
 
1676
         $as_test_x conftest$ac_exeext
 
1677
       }; then :
 
1678
  ac_retval=0
 
1679
else
 
1680
  $as_echo "$as_me: failed program was:" >&5
 
1681
sed 's/^/| /' conftest.$ac_ext >&5
 
1682
 
 
1683
        ac_retval=1
 
1684
fi
 
1685
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1686
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1687
  # interfere with the next link command; also delete a directory that is
 
1688
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1689
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1690
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1691
  as_fn_set_status $ac_retval
 
1692
 
 
1693
} # ac_fn_c_try_link
 
1694
 
 
1695
# ac_fn_c_try_cpp LINENO
 
1696
# ----------------------
 
1697
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1698
ac_fn_c_try_cpp ()
 
1699
{
 
1700
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1701
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1702
case "(($ac_try" in
 
1703
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1704
  *) ac_try_echo=$ac_try;;
 
1705
esac
 
1706
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1707
$as_echo "$ac_try_echo"; } >&5
 
1708
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1709
  ac_status=$?
 
1710
  if test -s conftest.err; then
 
1711
    grep -v '^ *+' conftest.err >conftest.er1
 
1712
    cat conftest.er1 >&5
 
1713
    mv -f conftest.er1 conftest.err
 
1714
  fi
 
1715
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1716
  test $ac_status = 0; } >/dev/null && {
 
1717
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1718
         test ! -s conftest.err
 
1719
       }; then :
 
1720
  ac_retval=0
 
1721
else
 
1722
  $as_echo "$as_me: failed program was:" >&5
 
1723
sed 's/^/| /' conftest.$ac_ext >&5
 
1724
 
 
1725
    ac_retval=1
 
1726
fi
 
1727
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1728
  as_fn_set_status $ac_retval
 
1729
 
 
1730
} # ac_fn_c_try_cpp
 
1731
 
 
1732
# ac_fn_c_try_run LINENO
 
1733
# ----------------------
 
1734
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
1735
# that executables *can* be run.
 
1736
ac_fn_c_try_run ()
 
1737
{
 
1738
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1739
  if { { ac_try="$ac_link"
 
1740
case "(($ac_try" in
 
1741
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1742
  *) ac_try_echo=$ac_try;;
 
1743
esac
 
1744
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1745
$as_echo "$ac_try_echo"; } >&5
 
1746
  (eval "$ac_link") 2>&5
 
1747
  ac_status=$?
 
1748
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1749
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1750
  { { case "(($ac_try" in
 
1751
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1752
  *) ac_try_echo=$ac_try;;
 
1753
esac
 
1754
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1755
$as_echo "$ac_try_echo"; } >&5
 
1756
  (eval "$ac_try") 2>&5
 
1757
  ac_status=$?
 
1758
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1759
  test $ac_status = 0; }; }; then :
 
1760
  ac_retval=0
 
1761
else
 
1762
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1763
       $as_echo "$as_me: failed program was:" >&5
 
1764
sed 's/^/| /' conftest.$ac_ext >&5
 
1765
 
 
1766
       ac_retval=$ac_status
 
1767
fi
 
1768
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1769
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1770
  as_fn_set_status $ac_retval
 
1771
 
 
1772
} # ac_fn_c_try_run
 
1773
 
 
1774
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1775
# -------------------------------------------------------
 
1776
# Tests whether HEADER exists and can be compiled using the include files in
 
1777
# INCLUDES, setting the cache variable VAR accordingly.
 
1778
ac_fn_c_check_header_compile ()
 
1779
{
 
1780
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1781
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1782
$as_echo_n "checking for $2... " >&6; }
 
1783
if eval "test \"\${$3+set}\"" = set; then :
 
1784
  $as_echo_n "(cached) " >&6
 
1785
else
 
1786
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1787
/* end confdefs.h.  */
 
1788
$4
 
1789
#include <$2>
 
1790
_ACEOF
 
1791
if ac_fn_c_try_compile "$LINENO"; then :
 
1792
  eval "$3=yes"
 
1793
else
 
1794
  eval "$3=no"
 
1795
fi
 
1796
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1797
fi
 
1798
eval ac_res=\$$3
 
1799
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1800
$as_echo "$ac_res" >&6; }
 
1801
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1802
 
 
1803
} # ac_fn_c_check_header_compile
 
1804
 
 
1805
# ac_fn_c_check_func LINENO FUNC VAR
 
1806
# ----------------------------------
 
1807
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
1808
ac_fn_c_check_func ()
 
1809
{
 
1810
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1811
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1812
$as_echo_n "checking for $2... " >&6; }
 
1813
if eval "test \"\${$3+set}\"" = set; then :
 
1814
  $as_echo_n "(cached) " >&6
 
1815
else
 
1816
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1817
/* end confdefs.h.  */
 
1818
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
1819
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
1820
#define $2 innocuous_$2
 
1821
 
 
1822
/* System header to define __stub macros and hopefully few prototypes,
 
1823
    which can conflict with char $2 (); below.
 
1824
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
1825
    <limits.h> exists even on freestanding compilers.  */
 
1826
 
 
1827
#ifdef __STDC__
 
1828
# include <limits.h>
 
1829
#else
 
1830
# include <assert.h>
 
1831
#endif
 
1832
 
 
1833
#undef $2
 
1834
 
 
1835
/* Override any GCC internal prototype to avoid an error.
 
1836
   Use char because int might match the return type of a GCC
 
1837
   builtin and then its argument prototype would still apply.  */
 
1838
#ifdef __cplusplus
 
1839
extern "C"
 
1840
#endif
 
1841
char $2 ();
 
1842
/* The GNU C library defines this for functions which it implements
 
1843
    to always fail with ENOSYS.  Some functions are actually named
 
1844
    something starting with __ and the normal name is an alias.  */
 
1845
#if defined __stub_$2 || defined __stub___$2
 
1846
choke me
 
1847
#endif
 
1848
 
 
1849
int
 
1850
main ()
 
1851
{
 
1852
return $2 ();
 
1853
  ;
 
1854
  return 0;
 
1855
}
 
1856
_ACEOF
 
1857
if ac_fn_c_try_link "$LINENO"; then :
 
1858
  eval "$3=yes"
 
1859
else
 
1860
  eval "$3=no"
 
1861
fi
 
1862
rm -f core conftest.err conftest.$ac_objext \
 
1863
    conftest$ac_exeext conftest.$ac_ext
 
1864
fi
 
1865
eval ac_res=\$$3
 
1866
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1867
$as_echo "$ac_res" >&6; }
 
1868
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1869
 
 
1870
} # ac_fn_c_check_func
 
1871
 
 
1872
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 
1873
# -------------------------------------------------------
 
1874
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
1875
# the include files in INCLUDES and setting the cache variable VAR
 
1876
# accordingly.
 
1877
ac_fn_c_check_header_mongrel ()
 
1878
{
 
1879
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1880
  if eval "test \"\${$3+set}\"" = set; then :
 
1881
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1882
$as_echo_n "checking for $2... " >&6; }
 
1883
if eval "test \"\${$3+set}\"" = set; then :
 
1884
  $as_echo_n "(cached) " >&6
 
1885
fi
 
1886
eval ac_res=\$$3
 
1887
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1888
$as_echo "$ac_res" >&6; }
 
1889
else
 
1890
  # Is the header compilable?
 
1891
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
1892
$as_echo_n "checking $2 usability... " >&6; }
 
1893
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1894
/* end confdefs.h.  */
 
1895
$4
 
1896
#include <$2>
 
1897
_ACEOF
 
1898
if ac_fn_c_try_compile "$LINENO"; then :
 
1899
  ac_header_compiler=yes
 
1900
else
 
1901
  ac_header_compiler=no
 
1902
fi
 
1903
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1904
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
1905
$as_echo "$ac_header_compiler" >&6; }
 
1906
 
 
1907
# Is the header present?
 
1908
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
1909
$as_echo_n "checking $2 presence... " >&6; }
 
1910
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1911
/* end confdefs.h.  */
 
1912
#include <$2>
 
1913
_ACEOF
 
1914
if ac_fn_c_try_cpp "$LINENO"; then :
 
1915
  ac_header_preproc=yes
 
1916
else
 
1917
  ac_header_preproc=no
 
1918
fi
 
1919
rm -f conftest.err conftest.$ac_ext
 
1920
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
1921
$as_echo "$ac_header_preproc" >&6; }
 
1922
 
 
1923
# So?  What about this header?
 
1924
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 
1925
  yes:no: )
 
1926
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
1927
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
1928
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
1929
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
1930
    ;;
 
1931
  no:yes:* )
 
1932
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
1933
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
1934
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
1935
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
1936
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
1937
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
1938
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
1939
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
1940
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
1941
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
1942
( $as_echo "## ---------------------------------------------------------------------- ##
 
1943
## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=dbus ##
 
1944
## ---------------------------------------------------------------------- ##"
 
1945
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
1946
    ;;
 
1947
esac
 
1948
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1949
$as_echo_n "checking for $2... " >&6; }
 
1950
if eval "test \"\${$3+set}\"" = set; then :
 
1951
  $as_echo_n "(cached) " >&6
 
1952
else
 
1953
  eval "$3=\$ac_header_compiler"
 
1954
fi
 
1955
eval ac_res=\$$3
 
1956
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1957
$as_echo "$ac_res" >&6; }
 
1958
fi
 
1959
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1960
 
 
1961
} # ac_fn_c_check_header_mongrel
1784
1962
cat >config.log <<_ACEOF
1785
1963
This file contains any messages produced by compilers while
1786
1964
running configure, to aid debugging if configure makes a mistake.
1787
1965
 
1788
 
It was created by dbus-glib $as_me 0.86, which was
1789
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
1966
It was created by dbus-glib $as_me 0.88, which was
 
1967
generated by GNU Autoconf 2.66.  Invocation command line was
1790
1968
 
1791
1969
  $ $0 $@
1792
1970
 
1822
2000
do
1823
2001
  IFS=$as_save_IFS
1824
2002
  test -z "$as_dir" && as_dir=.
1825
 
  $as_echo "PATH: $as_dir"
1826
 
done
 
2003
    $as_echo "PATH: $as_dir"
 
2004
  done
1827
2005
IFS=$as_save_IFS
1828
2006
 
1829
2007
} >&5
1860
2038
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1861
2039
    esac
1862
2040
    case $ac_pass in
1863
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
2041
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1864
2042
    2)
1865
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
2043
      as_fn_append ac_configure_args1 " '$ac_arg'"
1866
2044
      if test $ac_must_keep_next = true; then
1867
2045
        ac_must_keep_next=false # Got value, back to normal.
1868
2046
      else
1878
2056
          -* ) ac_must_keep_next=true ;;
1879
2057
        esac
1880
2058
      fi
1881
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
 
2059
      as_fn_append ac_configure_args " '$ac_arg'"
1882
2060
      ;;
1883
2061
    esac
1884
2062
  done
1885
2063
done
1886
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1887
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
2064
{ ac_configure_args0=; unset ac_configure_args0;}
 
2065
{ ac_configure_args1=; unset ac_configure_args1;}
1888
2066
 
1889
2067
# When interrupted or exit'd, cleanup temporary files, and complete
1890
2068
# config.log.  We remove comments because anyway the quotes in there
1896
2074
  {
1897
2075
    echo
1898
2076
 
1899
 
    cat <<\_ASBOX
1900
 
## ---------------- ##
 
2077
    $as_echo "## ---------------- ##
1901
2078
## Cache variables. ##
1902
 
## ---------------- ##
1903
 
_ASBOX
 
2079
## ---------------- ##"
1904
2080
    echo
1905
2081
    # The following way of writing the cache mishandles newlines in values,
1906
2082
(
1909
2085
    case $ac_val in #(
1910
2086
    *${as_nl}*)
1911
2087
      case $ac_var in #(
1912
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
2088
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1913
2089
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1914
2090
      esac
1915
2091
      case $ac_var in #(
1916
2092
      _ | IFS | as_nl) ;; #(
1917
2093
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1918
 
      *) $as_unset $ac_var ;;
 
2094
      *) { eval $ac_var=; unset $ac_var;} ;;
1919
2095
      esac ;;
1920
2096
    esac
1921
2097
  done
1934
2110
)
1935
2111
    echo
1936
2112
 
1937
 
    cat <<\_ASBOX
1938
 
## ----------------- ##
 
2113
    $as_echo "## ----------------- ##
1939
2114
## Output variables. ##
1940
 
## ----------------- ##
1941
 
_ASBOX
 
2115
## ----------------- ##"
1942
2116
    echo
1943
2117
    for ac_var in $ac_subst_vars
1944
2118
    do
1951
2125
    echo
1952
2126
 
1953
2127
    if test -n "$ac_subst_files"; then
1954
 
      cat <<\_ASBOX
1955
 
## ------------------- ##
 
2128
      $as_echo "## ------------------- ##
1956
2129
## File substitutions. ##
1957
 
## ------------------- ##
1958
 
_ASBOX
 
2130
## ------------------- ##"
1959
2131
      echo
1960
2132
      for ac_var in $ac_subst_files
1961
2133
      do
1969
2141
    fi
1970
2142
 
1971
2143
    if test -s confdefs.h; then
1972
 
      cat <<\_ASBOX
1973
 
## ----------- ##
 
2144
      $as_echo "## ----------- ##
1974
2145
## confdefs.h. ##
1975
 
## ----------- ##
1976
 
_ASBOX
 
2146
## ----------- ##"
1977
2147
      echo
1978
2148
      cat confdefs.h
1979
2149
      echo
1987
2157
    exit $exit_status
1988
2158
' 0
1989
2159
for ac_signal in 1 2 13 15; do
1990
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
2160
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1991
2161
done
1992
2162
ac_signal=0
1993
2163
 
1994
2164
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1995
2165
rm -f -r conftest* confdefs.h
1996
2166
 
 
2167
$as_echo "/* confdefs.h */" > confdefs.h
 
2168
 
1997
2169
# Predefined preprocessor variables.
1998
2170
 
1999
2171
cat >>confdefs.h <<_ACEOF
2000
2172
#define PACKAGE_NAME "$PACKAGE_NAME"
2001
2173
_ACEOF
2002
2174
 
2003
 
 
2004
2175
cat >>confdefs.h <<_ACEOF
2005
2176
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2006
2177
_ACEOF
2007
2178
 
2008
 
 
2009
2179
cat >>confdefs.h <<_ACEOF
2010
2180
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2011
2181
_ACEOF
2012
2182
 
2013
 
 
2014
2183
cat >>confdefs.h <<_ACEOF
2015
2184
#define PACKAGE_STRING "$PACKAGE_STRING"
2016
2185
_ACEOF
2017
2186
 
2018
 
 
2019
2187
cat >>confdefs.h <<_ACEOF
2020
2188
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2021
2189
_ACEOF
2022
2190
 
 
2191
cat >>confdefs.h <<_ACEOF
 
2192
#define PACKAGE_URL "$PACKAGE_URL"
 
2193
_ACEOF
 
2194
 
2023
2195
 
2024
2196
# Let the site file select an alternate cache file if it wants to.
2025
2197
# Prefer an explicitly selected file to automatically selected ones.
2026
2198
ac_site_file1=NONE
2027
2199
ac_site_file2=NONE
2028
2200
if test -n "$CONFIG_SITE"; then
2029
 
  ac_site_file1=$CONFIG_SITE
 
2201
  # We do not want a PATH search for config.site.
 
2202
  case $CONFIG_SITE in #((
 
2203
    -*)  ac_site_file1=./$CONFIG_SITE;;
 
2204
    */*) ac_site_file1=$CONFIG_SITE;;
 
2205
    *)   ac_site_file1=./$CONFIG_SITE;;
 
2206
  esac
2030
2207
elif test "x$prefix" != xNONE; then
2031
2208
  ac_site_file1=$prefix/share/config.site
2032
2209
  ac_site_file2=$prefix/etc/config.site
2037
2214
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2038
2215
do
2039
2216
  test "x$ac_site_file" = xNONE && continue
2040
 
  if test -r "$ac_site_file"; then
2041
 
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
2217
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
2218
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2042
2219
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2043
2220
    sed 's/^/| /' "$ac_site_file" >&5
2044
 
    . "$ac_site_file"
 
2221
    . "$ac_site_file" \
 
2222
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2223
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2224
as_fn_error $? "failed to load site script $ac_site_file
 
2225
See \`config.log' for more details" "$LINENO" 5; }
2045
2226
  fi
2046
2227
done
2047
2228
 
2048
2229
if test -r "$cache_file"; then
2049
 
  # Some versions of bash will fail to source /dev/null (special
2050
 
  # files actually), so we avoid doing that.
2051
 
  if test -f "$cache_file"; then
2052
 
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
2230
  # Some versions of bash will fail to source /dev/null (special files
 
2231
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
2232
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
2233
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2053
2234
$as_echo "$as_me: loading cache $cache_file" >&6;}
2054
2235
    case $cache_file in
2055
2236
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2057
2238
    esac
2058
2239
  fi
2059
2240
else
2060
 
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
2241
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2061
2242
$as_echo "$as_me: creating cache $cache_file" >&6;}
2062
2243
  >$cache_file
2063
2244
fi
2072
2253
  eval ac_new_val=\$ac_env_${ac_var}_value
2073
2254
  case $ac_old_set,$ac_new_set in
2074
2255
    set,)
2075
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2256
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2076
2257
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2077
2258
      ac_cache_corrupted=: ;;
2078
2259
    ,set)
2079
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
2260
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2080
2261
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2081
2262
      ac_cache_corrupted=: ;;
2082
2263
    ,);;
2086
2267
        ac_old_val_w=`echo x $ac_old_val`
2087
2268
        ac_new_val_w=`echo x $ac_new_val`
2088
2269
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
2089
 
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
2270
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2090
2271
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2091
2272
          ac_cache_corrupted=:
2092
2273
        else
2093
 
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2274
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2094
2275
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2095
2276
          eval $ac_var=\$ac_old_val
2096
2277
        fi
2097
 
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
2278
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2098
2279
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2099
 
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
2280
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2100
2281
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2101
2282
      fi;;
2102
2283
  esac
2108
2289
    esac
2109
2290
    case " $ac_configure_args " in
2110
2291
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2111
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
2292
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2112
2293
    esac
2113
2294
  fi
2114
2295
done
2115
2296
if $ac_cache_corrupted; then
2116
 
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2297
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2117
2298
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2118
 
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
2299
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2119
2300
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2120
 
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2121
 
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2122
 
   { (exit 1); exit 1; }; }
 
2301
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2123
2302
fi
2124
 
 
2125
 
 
2126
 
 
2127
 
 
2128
 
 
2129
 
 
2130
 
 
2131
 
 
2132
 
 
2133
 
 
2134
 
 
2135
 
 
2136
 
 
2137
 
 
2138
 
 
2139
 
 
2140
 
 
2141
 
 
2142
 
 
2143
 
 
2144
 
 
2145
 
 
2146
 
 
2147
 
 
 
2303
## -------------------- ##
 
2304
## Main body of script. ##
 
2305
## -------------------- ##
2148
2306
 
2149
2307
ac_ext=c
2150
2308
ac_cpp='$CPP $CPPFLAGS'
2171
2329
  fi
2172
2330
done
2173
2331
if test -z "$ac_aux_dir"; then
2174
 
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2175
 
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2176
 
   { (exit 1); exit 1; }; }
 
2332
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2177
2333
fi
2178
2334
 
2179
2335
# These three variables are undocumented and unsupported,
2187
2343
 
2188
2344
# Make sure we can run config.sub.
2189
2345
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2190
 
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2191
 
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2192
 
   { (exit 1); exit 1; }; }
 
2346
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2193
2347
 
2194
 
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
 
2348
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2195
2349
$as_echo_n "checking build system type... " >&6; }
2196
 
if test "${ac_cv_build+set}" = set; then
 
2350
if test "${ac_cv_build+set}" = set; then :
2197
2351
  $as_echo_n "(cached) " >&6
2198
2352
else
2199
2353
  ac_build_alias=$build_alias
2200
2354
test "x$ac_build_alias" = x &&
2201
2355
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2202
2356
test "x$ac_build_alias" = x &&
2203
 
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2204
 
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2205
 
   { (exit 1); exit 1; }; }
 
2357
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2206
2358
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2207
 
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2208
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2209
 
   { (exit 1); exit 1; }; }
 
2359
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2210
2360
 
2211
2361
fi
2212
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
2362
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2213
2363
$as_echo "$ac_cv_build" >&6; }
2214
2364
case $ac_cv_build in
2215
2365
*-*-*) ;;
2216
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2217
 
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
2218
 
   { (exit 1); exit 1; }; };;
 
2366
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2219
2367
esac
2220
2368
build=$ac_cv_build
2221
2369
ac_save_IFS=$IFS; IFS='-'
2231
2379
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2232
2380
 
2233
2381
 
2234
 
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
 
2382
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2235
2383
$as_echo_n "checking host system type... " >&6; }
2236
 
if test "${ac_cv_host+set}" = set; then
 
2384
if test "${ac_cv_host+set}" = set; then :
2237
2385
  $as_echo_n "(cached) " >&6
2238
2386
else
2239
2387
  if test "x$host_alias" = x; then
2240
2388
  ac_cv_host=$ac_cv_build
2241
2389
else
2242
2390
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2243
 
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2244
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2245
 
   { (exit 1); exit 1; }; }
 
2391
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2246
2392
fi
2247
2393
 
2248
2394
fi
2249
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
2395
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2250
2396
$as_echo "$ac_cv_host" >&6; }
2251
2397
case $ac_cv_host in
2252
2398
*-*-*) ;;
2253
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2254
 
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
2255
 
   { (exit 1); exit 1; }; };;
 
2399
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2256
2400
esac
2257
2401
host=$ac_cv_host
2258
2402
ac_save_IFS=$IFS; IFS='-'
2268
2412
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2269
2413
 
2270
2414
 
2271
 
{ $as_echo "$as_me:$LINENO: checking target system type" >&5
2272
 
$as_echo_n "checking target system type... " >&6; }
2273
 
if test "${ac_cv_target+set}" = set; then
2274
 
  $as_echo_n "(cached) " >&6
2275
 
else
2276
 
  if test "x$target_alias" = x; then
2277
 
  ac_cv_target=$ac_cv_host
2278
 
else
2279
 
  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2280
 
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2281
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2282
 
   { (exit 1); exit 1; }; }
2283
 
fi
2284
 
 
2285
 
fi
2286
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2287
 
$as_echo "$ac_cv_target" >&6; }
2288
 
case $ac_cv_target in
2289
 
*-*-*) ;;
2290
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2291
 
$as_echo "$as_me: error: invalid value of canonical target" >&2;}
2292
 
   { (exit 1); exit 1; }; };;
2293
 
esac
2294
 
target=$ac_cv_target
2295
 
ac_save_IFS=$IFS; IFS='-'
2296
 
set x $ac_cv_target
2297
 
shift
2298
 
target_cpu=$1
2299
 
target_vendor=$2
2300
 
shift; shift
2301
 
# Remember, the first character of IFS is used to create $*,
2302
 
# except with old shells:
2303
 
target_os=$*
2304
 
IFS=$ac_save_IFS
2305
 
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2306
 
 
2307
 
 
2308
 
# The aliases save the names the user supplied, while $host etc.
2309
 
# will get canonicalized.
2310
 
test -n "$target_alias" &&
2311
 
  test "$program_prefix$program_suffix$program_transform_name" = \
2312
 
    NONENONEs,x,x, &&
2313
 
  program_prefix=${target_alias}-
2314
2415
 
2315
2416
am__api_version='1.11'
2316
2417
 
2328
2429
# OS/2's system install, which has a completely different semantic
2329
2430
# ./install, which can be erroneously created by make from ./install.sh.
2330
2431
# Reject install programs that cannot install multiple files.
2331
 
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2432
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2332
2433
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2333
2434
if test -z "$INSTALL"; then
2334
 
if test "${ac_cv_path_install+set}" = set; then
 
2435
if test "${ac_cv_path_install+set}" = set; then :
2335
2436
  $as_echo_n "(cached) " >&6
2336
2437
else
2337
2438
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2339
2440
do
2340
2441
  IFS=$as_save_IFS
2341
2442
  test -z "$as_dir" && as_dir=.
2342
 
  # Account for people who put trailing slashes in PATH elements.
2343
 
case $as_dir/ in
2344
 
  ./ | .// | /cC/* | \
 
2443
    # Account for people who put trailing slashes in PATH elements.
 
2444
case $as_dir/ in #((
 
2445
  ./ | .// | /[cC]/* | \
2345
2446
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2346
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
2447
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2347
2448
  /usr/ucb/* ) ;;
2348
2449
  *)
2349
2450
    # OSF1 and SCO ODT 3.0 have their own names for install.
2380
2481
    ;;
2381
2482
esac
2382
2483
 
2383
 
done
 
2484
  done
2384
2485
IFS=$as_save_IFS
2385
2486
 
2386
2487
rm -rf conftest.one conftest.two conftest.dir
2396
2497
    INSTALL=$ac_install_sh
2397
2498
  fi
2398
2499
fi
2399
 
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2500
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2400
2501
$as_echo "$INSTALL" >&6; }
2401
2502
 
2402
2503
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2407
2508
 
2408
2509
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2409
2510
 
2410
 
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2511
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2411
2512
$as_echo_n "checking whether build environment is sane... " >&6; }
2412
2513
# Just in case
2413
2514
sleep 1
2418
2519
'
2419
2520
case `pwd` in
2420
2521
  *[\\\"\#\$\&\'\`$am_lf]*)
2421
 
    { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
2422
 
$as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
2423
 
   { (exit 1); exit 1; }; };;
 
2522
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2424
2523
esac
2425
2524
case $srcdir in
2426
2525
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2427
 
    { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
2428
 
$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2429
 
   { (exit 1); exit 1; }; };;
 
2526
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2430
2527
esac
2431
2528
 
2432
2529
# Do `set' in a subshell so we don't clobber the current shell's
2448
2545
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2449
2546
      # broken ls alias from the environment.  This has actually
2450
2547
      # happened.  Such a system could not be considered "sane".
2451
 
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2452
 
alias in your environment" >&5
2453
 
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2454
 
alias in your environment" >&2;}
2455
 
   { (exit 1); exit 1; }; }
 
2548
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 
2549
alias in your environment" "$LINENO" 5
2456
2550
   fi
2457
2551
 
2458
2552
   test "$2" = conftest.file
2461
2555
   # Ok.
2462
2556
   :
2463
2557
else
2464
 
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2465
 
Check your system clock" >&5
2466
 
$as_echo "$as_me: error: newly created file is older than distributed files!
2467
 
Check your system clock" >&2;}
2468
 
   { (exit 1); exit 1; }; }
 
2558
   as_fn_error $? "newly created file is older than distributed files!
 
2559
Check your system clock" "$LINENO" 5
2469
2560
fi
2470
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2561
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2471
2562
$as_echo "yes" >&6; }
2472
2563
test "$program_prefix" != NONE &&
2473
2564
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2495
2586
  am_missing_run="$MISSING --run "
2496
2587
else
2497
2588
  am_missing_run=
2498
 
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
2589
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2499
2590
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2500
2591
fi
2501
2592
 
2516
2607
  if test -n "$ac_tool_prefix"; then
2517
2608
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2518
2609
set dummy ${ac_tool_prefix}strip; ac_word=$2
2519
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2610
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2520
2611
$as_echo_n "checking for $ac_word... " >&6; }
2521
 
if test "${ac_cv_prog_STRIP+set}" = set; then
 
2612
if test "${ac_cv_prog_STRIP+set}" = set; then :
2522
2613
  $as_echo_n "(cached) " >&6
2523
2614
else
2524
2615
  if test -n "$STRIP"; then
2529
2620
do
2530
2621
  IFS=$as_save_IFS
2531
2622
  test -z "$as_dir" && as_dir=.
2532
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2623
    for ac_exec_ext in '' $ac_executable_extensions; do
2533
2624
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2534
2625
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2535
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2626
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2536
2627
    break 2
2537
2628
  fi
2538
2629
done
2539
 
done
 
2630
  done
2540
2631
IFS=$as_save_IFS
2541
2632
 
2542
2633
fi
2543
2634
fi
2544
2635
STRIP=$ac_cv_prog_STRIP
2545
2636
if test -n "$STRIP"; then
2546
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
2637
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2547
2638
$as_echo "$STRIP" >&6; }
2548
2639
else
2549
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2640
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2550
2641
$as_echo "no" >&6; }
2551
2642
fi
2552
2643
 
2556
2647
  ac_ct_STRIP=$STRIP
2557
2648
  # Extract the first word of "strip", so it can be a program name with args.
2558
2649
set dummy strip; ac_word=$2
2559
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2650
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2560
2651
$as_echo_n "checking for $ac_word... " >&6; }
2561
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
2652
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2562
2653
  $as_echo_n "(cached) " >&6
2563
2654
else
2564
2655
  if test -n "$ac_ct_STRIP"; then
2569
2660
do
2570
2661
  IFS=$as_save_IFS
2571
2662
  test -z "$as_dir" && as_dir=.
2572
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2663
    for ac_exec_ext in '' $ac_executable_extensions; do
2573
2664
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2574
2665
    ac_cv_prog_ac_ct_STRIP="strip"
2575
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2666
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2576
2667
    break 2
2577
2668
  fi
2578
2669
done
2579
 
done
 
2670
  done
2580
2671
IFS=$as_save_IFS
2581
2672
 
2582
2673
fi
2583
2674
fi
2584
2675
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2585
2676
if test -n "$ac_ct_STRIP"; then
2586
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2677
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2587
2678
$as_echo "$ac_ct_STRIP" >&6; }
2588
2679
else
2589
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2680
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2590
2681
$as_echo "no" >&6; }
2591
2682
fi
2592
2683
 
2595
2686
  else
2596
2687
    case $cross_compiling:$ac_tool_warned in
2597
2688
yes:)
2598
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2689
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2599
2690
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2600
2691
ac_tool_warned=yes ;;
2601
2692
esac
2608
2699
fi
2609
2700
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2610
2701
 
2611
 
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2702
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2612
2703
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2613
2704
if test -z "$MKDIR_P"; then
2614
 
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2705
  if test "${ac_cv_path_mkdir+set}" = set; then :
2615
2706
  $as_echo_n "(cached) " >&6
2616
2707
else
2617
2708
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2619
2710
do
2620
2711
  IFS=$as_save_IFS
2621
2712
  test -z "$as_dir" && as_dir=.
2622
 
  for ac_prog in mkdir gmkdir; do
 
2713
    for ac_prog in mkdir gmkdir; do
2623
2714
         for ac_exec_ext in '' $ac_executable_extensions; do
2624
2715
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2625
2716
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2631
2722
           esac
2632
2723
         done
2633
2724
       done
2634
 
done
 
2725
  done
2635
2726
IFS=$as_save_IFS
2636
2727
 
2637
2728
fi
2638
2729
 
 
2730
  test -d ./--version && rmdir ./--version
2639
2731
  if test "${ac_cv_path_mkdir+set}" = set; then
2640
2732
    MKDIR_P="$ac_cv_path_mkdir -p"
2641
2733
  else
2643
2735
    # value for MKDIR_P within a source directory, because that will
2644
2736
    # break other packages using the cache if that directory is
2645
2737
    # removed, or if the value is a relative name.
2646
 
    test -d ./--version && rmdir ./--version
2647
2738
    MKDIR_P="$ac_install_sh -d"
2648
2739
  fi
2649
2740
fi
2650
 
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2741
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2651
2742
$as_echo "$MKDIR_P" >&6; }
2652
2743
 
2653
2744
mkdir_p="$MKDIR_P"
2660
2751
do
2661
2752
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2662
2753
set dummy $ac_prog; ac_word=$2
2663
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2754
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2664
2755
$as_echo_n "checking for $ac_word... " >&6; }
2665
 
if test "${ac_cv_prog_AWK+set}" = set; then
 
2756
if test "${ac_cv_prog_AWK+set}" = set; then :
2666
2757
  $as_echo_n "(cached) " >&6
2667
2758
else
2668
2759
  if test -n "$AWK"; then
2673
2764
do
2674
2765
  IFS=$as_save_IFS
2675
2766
  test -z "$as_dir" && as_dir=.
2676
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2767
    for ac_exec_ext in '' $ac_executable_extensions; do
2677
2768
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2678
2769
    ac_cv_prog_AWK="$ac_prog"
2679
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2770
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2680
2771
    break 2
2681
2772
  fi
2682
2773
done
2683
 
done
 
2774
  done
2684
2775
IFS=$as_save_IFS
2685
2776
 
2686
2777
fi
2687
2778
fi
2688
2779
AWK=$ac_cv_prog_AWK
2689
2780
if test -n "$AWK"; then
2690
 
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
2781
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2691
2782
$as_echo "$AWK" >&6; }
2692
2783
else
2693
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2784
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2694
2785
$as_echo "no" >&6; }
2695
2786
fi
2696
2787
 
2698
2789
  test -n "$AWK" && break
2699
2790
done
2700
2791
 
2701
 
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2792
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2702
2793
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2703
2794
set x ${MAKE-make}
2704
2795
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2705
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
 
2796
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2706
2797
  $as_echo_n "(cached) " >&6
2707
2798
else
2708
2799
  cat >conftest.make <<\_ACEOF
2710
2801
all:
2711
2802
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2712
2803
_ACEOF
2713
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
2804
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2714
2805
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2715
2806
  *@@@%%%=?*=@@@%%%*)
2716
2807
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2720
2811
rm -f conftest.make
2721
2812
fi
2722
2813
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2723
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
2814
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2724
2815
$as_echo "yes" >&6; }
2725
2816
  SET_MAKE=
2726
2817
else
2727
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2818
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2728
2819
$as_echo "no" >&6; }
2729
2820
  SET_MAKE="MAKE=${MAKE-make}"
2730
2821
fi
2744
2835
  am__isrc=' -I$(srcdir)'
2745
2836
  # test to see if srcdir already configured
2746
2837
  if test -f $srcdir/config.status; then
2747
 
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2748
 
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2749
 
   { (exit 1); exit 1; }; }
 
2838
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2750
2839
  fi
2751
2840
fi
2752
2841
 
2762
2851
 
2763
2852
# Define the identity of the package.
2764
2853
 PACKAGE='dbus-glib'
2765
 
 VERSION='0.86'
 
2854
 VERSION='0.88'
2766
2855
 
2767
2856
 
2768
2857
cat >>confdefs.h <<_ACEOF
2820
2909
 
2821
2910
 ## must come before we use the $USE_MAINTAINER_MODE variable later
2822
2911
 
2823
 
{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
2912
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2824
2913
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2825
2914
    # Check whether --enable-maintainer-mode was given.
2826
 
if test "${enable_maintainer_mode+set}" = set; then
 
2915
if test "${enable_maintainer_mode+set}" = set; then :
2827
2916
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2828
2917
else
2829
2918
  USE_MAINTAINER_MODE=no
2830
2919
fi
2831
2920
 
2832
 
  { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
2921
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2833
2922
$as_echo "$USE_MAINTAINER_MODE" >&6; }
2834
2923
   if test $USE_MAINTAINER_MODE = yes; then
2835
2924
  MAINTAINER_MODE_TRUE=
2844
2933
 
2845
2934
 
2846
2935
# Check whether --enable-silent-rules was given.
2847
 
if test "${enable_silent_rules+set}" = set; then
 
2936
if test "${enable_silent_rules+set}" = set; then :
2848
2937
  enableval=$enable_silent_rules;
2849
2938
fi
2850
2939
 
2886
2975
if test -n "$ac_tool_prefix"; then
2887
2976
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2888
2977
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2889
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2978
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2890
2979
$as_echo_n "checking for $ac_word... " >&6; }
2891
 
if test "${ac_cv_prog_CC+set}" = set; then
 
2980
if test "${ac_cv_prog_CC+set}" = set; then :
2892
2981
  $as_echo_n "(cached) " >&6
2893
2982
else
2894
2983
  if test -n "$CC"; then
2899
2988
do
2900
2989
  IFS=$as_save_IFS
2901
2990
  test -z "$as_dir" && as_dir=.
2902
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2991
    for ac_exec_ext in '' $ac_executable_extensions; do
2903
2992
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2904
2993
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2905
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2994
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2906
2995
    break 2
2907
2996
  fi
2908
2997
done
2909
 
done
 
2998
  done
2910
2999
IFS=$as_save_IFS
2911
3000
 
2912
3001
fi
2913
3002
fi
2914
3003
CC=$ac_cv_prog_CC
2915
3004
if test -n "$CC"; then
2916
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3005
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2917
3006
$as_echo "$CC" >&6; }
2918
3007
else
2919
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3008
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2920
3009
$as_echo "no" >&6; }
2921
3010
fi
2922
3011
 
2926
3015
  ac_ct_CC=$CC
2927
3016
  # Extract the first word of "gcc", so it can be a program name with args.
2928
3017
set dummy gcc; ac_word=$2
2929
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3018
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2930
3019
$as_echo_n "checking for $ac_word... " >&6; }
2931
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
3020
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2932
3021
  $as_echo_n "(cached) " >&6
2933
3022
else
2934
3023
  if test -n "$ac_ct_CC"; then
2939
3028
do
2940
3029
  IFS=$as_save_IFS
2941
3030
  test -z "$as_dir" && as_dir=.
2942
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3031
    for ac_exec_ext in '' $ac_executable_extensions; do
2943
3032
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2944
3033
    ac_cv_prog_ac_ct_CC="gcc"
2945
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3034
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2946
3035
    break 2
2947
3036
  fi
2948
3037
done
2949
 
done
 
3038
  done
2950
3039
IFS=$as_save_IFS
2951
3040
 
2952
3041
fi
2953
3042
fi
2954
3043
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2955
3044
if test -n "$ac_ct_CC"; then
2956
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3045
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2957
3046
$as_echo "$ac_ct_CC" >&6; }
2958
3047
else
2959
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3048
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2960
3049
$as_echo "no" >&6; }
2961
3050
fi
2962
3051
 
2965
3054
  else
2966
3055
    case $cross_compiling:$ac_tool_warned in
2967
3056
yes:)
2968
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3057
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2969
3058
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2970
3059
ac_tool_warned=yes ;;
2971
3060
esac
2979
3068
          if test -n "$ac_tool_prefix"; then
2980
3069
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2981
3070
set dummy ${ac_tool_prefix}cc; ac_word=$2
2982
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3071
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2983
3072
$as_echo_n "checking for $ac_word... " >&6; }
2984
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3073
if test "${ac_cv_prog_CC+set}" = set; then :
2985
3074
  $as_echo_n "(cached) " >&6
2986
3075
else
2987
3076
  if test -n "$CC"; then
2992
3081
do
2993
3082
  IFS=$as_save_IFS
2994
3083
  test -z "$as_dir" && as_dir=.
2995
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3084
    for ac_exec_ext in '' $ac_executable_extensions; do
2996
3085
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2997
3086
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2998
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3087
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2999
3088
    break 2
3000
3089
  fi
3001
3090
done
3002
 
done
 
3091
  done
3003
3092
IFS=$as_save_IFS
3004
3093
 
3005
3094
fi
3006
3095
fi
3007
3096
CC=$ac_cv_prog_CC
3008
3097
if test -n "$CC"; then
3009
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3098
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3010
3099
$as_echo "$CC" >&6; }
3011
3100
else
3012
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3101
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3013
3102
$as_echo "no" >&6; }
3014
3103
fi
3015
3104
 
3019
3108
if test -z "$CC"; then
3020
3109
  # Extract the first word of "cc", so it can be a program name with args.
3021
3110
set dummy cc; ac_word=$2
3022
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3111
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3023
3112
$as_echo_n "checking for $ac_word... " >&6; }
3024
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3113
if test "${ac_cv_prog_CC+set}" = set; then :
3025
3114
  $as_echo_n "(cached) " >&6
3026
3115
else
3027
3116
  if test -n "$CC"; then
3033
3122
do
3034
3123
  IFS=$as_save_IFS
3035
3124
  test -z "$as_dir" && as_dir=.
3036
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3125
    for ac_exec_ext in '' $ac_executable_extensions; do
3037
3126
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3038
3127
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3039
3128
       ac_prog_rejected=yes
3040
3129
       continue
3041
3130
     fi
3042
3131
    ac_cv_prog_CC="cc"
3043
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3132
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3044
3133
    break 2
3045
3134
  fi
3046
3135
done
3047
 
done
 
3136
  done
3048
3137
IFS=$as_save_IFS
3049
3138
 
3050
3139
if test $ac_prog_rejected = yes; then
3063
3152
fi
3064
3153
CC=$ac_cv_prog_CC
3065
3154
if test -n "$CC"; then
3066
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3155
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3067
3156
$as_echo "$CC" >&6; }
3068
3157
else
3069
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3158
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3070
3159
$as_echo "no" >&6; }
3071
3160
fi
3072
3161
 
3078
3167
  do
3079
3168
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3080
3169
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3081
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3170
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3082
3171
$as_echo_n "checking for $ac_word... " >&6; }
3083
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3172
if test "${ac_cv_prog_CC+set}" = set; then :
3084
3173
  $as_echo_n "(cached) " >&6
3085
3174
else
3086
3175
  if test -n "$CC"; then
3091
3180
do
3092
3181
  IFS=$as_save_IFS
3093
3182
  test -z "$as_dir" && as_dir=.
3094
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3183
    for ac_exec_ext in '' $ac_executable_extensions; do
3095
3184
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3096
3185
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3097
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3186
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3098
3187
    break 2
3099
3188
  fi
3100
3189
done
3101
 
done
 
3190
  done
3102
3191
IFS=$as_save_IFS
3103
3192
 
3104
3193
fi
3105
3194
fi
3106
3195
CC=$ac_cv_prog_CC
3107
3196
if test -n "$CC"; then
3108
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3197
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3109
3198
$as_echo "$CC" >&6; }
3110
3199
else
3111
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3200
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3112
3201
$as_echo "no" >&6; }
3113
3202
fi
3114
3203
 
3122
3211
do
3123
3212
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3124
3213
set dummy $ac_prog; ac_word=$2
3125
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3214
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3126
3215
$as_echo_n "checking for $ac_word... " >&6; }
3127
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
3216
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3128
3217
  $as_echo_n "(cached) " >&6
3129
3218
else
3130
3219
  if test -n "$ac_ct_CC"; then
3135
3224
do
3136
3225
  IFS=$as_save_IFS
3137
3226
  test -z "$as_dir" && as_dir=.
3138
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3227
    for ac_exec_ext in '' $ac_executable_extensions; do
3139
3228
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3140
3229
    ac_cv_prog_ac_ct_CC="$ac_prog"
3141
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3230
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3142
3231
    break 2
3143
3232
  fi
3144
3233
done
3145
 
done
 
3234
  done
3146
3235
IFS=$as_save_IFS
3147
3236
 
3148
3237
fi
3149
3238
fi
3150
3239
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3151
3240
if test -n "$ac_ct_CC"; then
3152
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3241
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3153
3242
$as_echo "$ac_ct_CC" >&6; }
3154
3243
else
3155
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3244
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3156
3245
$as_echo "no" >&6; }
3157
3246
fi
3158
3247
 
3165
3254
  else
3166
3255
    case $cross_compiling:$ac_tool_warned in
3167
3256
yes:)
3168
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3257
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3169
3258
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3170
3259
ac_tool_warned=yes ;;
3171
3260
esac
3176
3265
fi
3177
3266
 
3178
3267
 
3179
 
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3268
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3180
3269
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3181
 
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3182
 
See \`config.log' for more details." >&5
3183
 
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3184
 
See \`config.log' for more details." >&2;}
3185
 
   { (exit 1); exit 1; }; }; }
 
3270
as_fn_error $? "no acceptable C compiler found in \$PATH
 
3271
See \`config.log' for more details" "$LINENO" 5; }
3186
3272
 
3187
3273
# Provide some information about the compiler.
3188
 
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
3274
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3189
3275
set X $ac_compile
3190
3276
ac_compiler=$2
3191
 
{ (ac_try="$ac_compiler --version >&5"
3192
 
case "(($ac_try" in
3193
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3194
 
  *) ac_try_echo=$ac_try;;
3195
 
esac
3196
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3197
 
$as_echo "$ac_try_echo") >&5
3198
 
  (eval "$ac_compiler --version >&5") 2>&5
3199
 
  ac_status=$?
3200
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3201
 
  (exit $ac_status); }
3202
 
{ (ac_try="$ac_compiler -v >&5"
3203
 
case "(($ac_try" in
3204
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3205
 
  *) ac_try_echo=$ac_try;;
3206
 
esac
3207
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3208
 
$as_echo "$ac_try_echo") >&5
3209
 
  (eval "$ac_compiler -v >&5") 2>&5
3210
 
  ac_status=$?
3211
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3212
 
  (exit $ac_status); }
3213
 
{ (ac_try="$ac_compiler -V >&5"
3214
 
case "(($ac_try" in
3215
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3216
 
  *) ac_try_echo=$ac_try;;
3217
 
esac
3218
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3219
 
$as_echo "$ac_try_echo") >&5
3220
 
  (eval "$ac_compiler -V >&5") 2>&5
3221
 
  ac_status=$?
3222
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3223
 
  (exit $ac_status); }
 
3277
for ac_option in --version -v -V -qversion; do
 
3278
  { { ac_try="$ac_compiler $ac_option >&5"
 
3279
case "(($ac_try" in
 
3280
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3281
  *) ac_try_echo=$ac_try;;
 
3282
esac
 
3283
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3284
$as_echo "$ac_try_echo"; } >&5
 
3285
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
3286
  ac_status=$?
 
3287
  if test -s conftest.err; then
 
3288
    sed '10a\
 
3289
... rest of stderr output deleted ...
 
3290
         10q' conftest.err >conftest.er1
 
3291
    cat conftest.er1 >&5
 
3292
  fi
 
3293
  rm -f conftest.er1 conftest.err
 
3294
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3295
  test $ac_status = 0; }
 
3296
done
3224
3297
 
3225
 
cat >conftest.$ac_ext <<_ACEOF
3226
 
/* confdefs.h.  */
3227
 
_ACEOF
3228
 
cat confdefs.h >>conftest.$ac_ext
3229
 
cat >>conftest.$ac_ext <<_ACEOF
 
3298
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3230
3299
/* end confdefs.h.  */
3231
3300
 
3232
3301
int
3242
3311
# Try to create an executable without -o first, disregard a.out.
3243
3312
# It will help us diagnose broken compilers, and finding out an intuition
3244
3313
# of exeext.
3245
 
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3246
 
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3314
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
3315
$as_echo_n "checking whether the C compiler works... " >&6; }
3247
3316
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3248
3317
 
3249
3318
# The possible output files:
3259
3328
done
3260
3329
rm -f $ac_rmfiles
3261
3330
 
3262
 
if { (ac_try="$ac_link_default"
 
3331
if { { ac_try="$ac_link_default"
3263
3332
case "(($ac_try" in
3264
3333
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3265
3334
  *) ac_try_echo=$ac_try;;
3266
3335
esac
3267
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3268
 
$as_echo "$ac_try_echo") >&5
 
3336
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3337
$as_echo "$ac_try_echo"; } >&5
3269
3338
  (eval "$ac_link_default") 2>&5
3270
3339
  ac_status=$?
3271
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3272
 
  (exit $ac_status); }; then
 
3340
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3341
  test $ac_status = 0; }; then :
3273
3342
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3274
3343
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3275
3344
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3286
3355
        # certainly right.
3287
3356
        break;;
3288
3357
    *.* )
3289
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3358
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3290
3359
        then :; else
3291
3360
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3292
3361
        fi
3305
3374
else
3306
3375
  ac_file=''
3307
3376
fi
 
3377
if test -z "$ac_file"; then :
 
3378
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3379
$as_echo "no" >&6; }
 
3380
$as_echo "$as_me: failed program was:" >&5
 
3381
sed 's/^/| /' conftest.$ac_ext >&5
3308
3382
 
3309
 
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
3383
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3384
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3385
as_fn_error 77 "C compiler cannot create executables
 
3386
See \`config.log' for more details" "$LINENO" 5; }
 
3387
else
 
3388
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3389
$as_echo "yes" >&6; }
 
3390
fi
 
3391
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
3392
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3393
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3310
3394
$as_echo "$ac_file" >&6; }
3311
 
if test -z "$ac_file"; then
3312
 
  $as_echo "$as_me: failed program was:" >&5
3313
 
sed 's/^/| /' conftest.$ac_ext >&5
3314
 
 
3315
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3316
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3317
 
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3318
 
See \`config.log' for more details." >&5
3319
 
$as_echo "$as_me: error: C compiler cannot create executables
3320
 
See \`config.log' for more details." >&2;}
3321
 
   { (exit 77); exit 77; }; }; }
3322
 
fi
3323
 
 
3324
3395
ac_exeext=$ac_cv_exeext
3325
3396
 
3326
 
# Check that the compiler produces executables we can run.  If not, either
3327
 
# the compiler is broken, or we cross compile.
3328
 
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3329
 
$as_echo_n "checking whether the C compiler works... " >&6; }
3330
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3331
 
# If not cross compiling, check that we can run a simple program.
3332
 
if test "$cross_compiling" != yes; then
3333
 
  if { ac_try='./$ac_file'
3334
 
  { (case "(($ac_try" in
3335
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3336
 
  *) ac_try_echo=$ac_try;;
3337
 
esac
3338
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3339
 
$as_echo "$ac_try_echo") >&5
3340
 
  (eval "$ac_try") 2>&5
3341
 
  ac_status=$?
3342
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3343
 
  (exit $ac_status); }; }; then
3344
 
    cross_compiling=no
3345
 
  else
3346
 
    if test "$cross_compiling" = maybe; then
3347
 
        cross_compiling=yes
3348
 
    else
3349
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3350
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3351
 
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3352
 
If you meant to cross compile, use \`--host'.
3353
 
See \`config.log' for more details." >&5
3354
 
$as_echo "$as_me: error: cannot run C compiled programs.
3355
 
If you meant to cross compile, use \`--host'.
3356
 
See \`config.log' for more details." >&2;}
3357
 
   { (exit 1); exit 1; }; }; }
3358
 
    fi
3359
 
  fi
3360
 
fi
3361
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
3362
 
$as_echo "yes" >&6; }
3363
 
 
3364
3397
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3365
3398
ac_clean_files=$ac_clean_files_save
3366
 
# Check that the compiler produces executables we can run.  If not, either
3367
 
# the compiler is broken, or we cross compile.
3368
 
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3369
 
$as_echo_n "checking whether we are cross compiling... " >&6; }
3370
 
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3371
 
$as_echo "$cross_compiling" >&6; }
3372
 
 
3373
 
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3399
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3374
3400
$as_echo_n "checking for suffix of executables... " >&6; }
3375
 
if { (ac_try="$ac_link"
 
3401
if { { ac_try="$ac_link"
3376
3402
case "(($ac_try" in
3377
3403
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3378
3404
  *) ac_try_echo=$ac_try;;
3379
3405
esac
3380
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3381
 
$as_echo "$ac_try_echo") >&5
 
3406
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3407
$as_echo "$ac_try_echo"; } >&5
3382
3408
  (eval "$ac_link") 2>&5
3383
3409
  ac_status=$?
3384
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3385
 
  (exit $ac_status); }; then
 
3410
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3411
  test $ac_status = 0; }; then :
3386
3412
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3387
3413
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3388
3414
# work properly (i.e., refer to `conftest.exe'), while it won't with
3397
3423
  esac
3398
3424
done
3399
3425
else
3400
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3426
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3401
3427
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3402
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3403
 
See \`config.log' for more details." >&5
3404
 
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3405
 
See \`config.log' for more details." >&2;}
3406
 
   { (exit 1); exit 1; }; }; }
 
3428
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 
3429
See \`config.log' for more details" "$LINENO" 5; }
3407
3430
fi
3408
 
 
3409
 
rm -f conftest$ac_cv_exeext
3410
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3431
rm -f conftest conftest$ac_cv_exeext
 
3432
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3411
3433
$as_echo "$ac_cv_exeext" >&6; }
3412
3434
 
3413
3435
rm -f conftest.$ac_ext
3414
3436
EXEEXT=$ac_cv_exeext
3415
3437
ac_exeext=$EXEEXT
3416
 
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3438
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3439
/* end confdefs.h.  */
 
3440
#include <stdio.h>
 
3441
int
 
3442
main ()
 
3443
{
 
3444
FILE *f = fopen ("conftest.out", "w");
 
3445
 return ferror (f) || fclose (f) != 0;
 
3446
 
 
3447
  ;
 
3448
  return 0;
 
3449
}
 
3450
_ACEOF
 
3451
ac_clean_files="$ac_clean_files conftest.out"
 
3452
# Check that the compiler produces executables we can run.  If not, either
 
3453
# the compiler is broken, or we cross compile.
 
3454
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3455
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3456
if test "$cross_compiling" != yes; then
 
3457
  { { ac_try="$ac_link"
 
3458
case "(($ac_try" in
 
3459
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3460
  *) ac_try_echo=$ac_try;;
 
3461
esac
 
3462
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3463
$as_echo "$ac_try_echo"; } >&5
 
3464
  (eval "$ac_link") 2>&5
 
3465
  ac_status=$?
 
3466
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3467
  test $ac_status = 0; }
 
3468
  if { ac_try='./conftest$ac_cv_exeext'
 
3469
  { { case "(($ac_try" in
 
3470
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3471
  *) ac_try_echo=$ac_try;;
 
3472
esac
 
3473
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3474
$as_echo "$ac_try_echo"; } >&5
 
3475
  (eval "$ac_try") 2>&5
 
3476
  ac_status=$?
 
3477
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3478
  test $ac_status = 0; }; }; then
 
3479
    cross_compiling=no
 
3480
  else
 
3481
    if test "$cross_compiling" = maybe; then
 
3482
        cross_compiling=yes
 
3483
    else
 
3484
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3485
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3486
as_fn_error $? "cannot run C compiled programs.
 
3487
If you meant to cross compile, use \`--host'.
 
3488
See \`config.log' for more details" "$LINENO" 5; }
 
3489
    fi
 
3490
  fi
 
3491
fi
 
3492
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3493
$as_echo "$cross_compiling" >&6; }
 
3494
 
 
3495
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
3496
ac_clean_files=$ac_clean_files_save
 
3497
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3417
3498
$as_echo_n "checking for suffix of object files... " >&6; }
3418
 
if test "${ac_cv_objext+set}" = set; then
 
3499
if test "${ac_cv_objext+set}" = set; then :
3419
3500
  $as_echo_n "(cached) " >&6
3420
3501
else
3421
 
  cat >conftest.$ac_ext <<_ACEOF
3422
 
/* confdefs.h.  */
3423
 
_ACEOF
3424
 
cat confdefs.h >>conftest.$ac_ext
3425
 
cat >>conftest.$ac_ext <<_ACEOF
 
3502
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3426
3503
/* end confdefs.h.  */
3427
3504
 
3428
3505
int
3434
3511
}
3435
3512
_ACEOF
3436
3513
rm -f conftest.o conftest.obj
3437
 
if { (ac_try="$ac_compile"
 
3514
if { { ac_try="$ac_compile"
3438
3515
case "(($ac_try" in
3439
3516
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3440
3517
  *) ac_try_echo=$ac_try;;
3441
3518
esac
3442
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3443
 
$as_echo "$ac_try_echo") >&5
 
3519
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3520
$as_echo "$ac_try_echo"; } >&5
3444
3521
  (eval "$ac_compile") 2>&5
3445
3522
  ac_status=$?
3446
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3447
 
  (exit $ac_status); }; then
 
3523
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3524
  test $ac_status = 0; }; then :
3448
3525
  for ac_file in conftest.o conftest.obj conftest.*; do
3449
3526
  test -f "$ac_file" || continue;
3450
3527
  case $ac_file in
3457
3534
  $as_echo "$as_me: failed program was:" >&5
3458
3535
sed 's/^/| /' conftest.$ac_ext >&5
3459
3536
 
3460
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3537
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3461
3538
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3462
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3463
 
See \`config.log' for more details." >&5
3464
 
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3465
 
See \`config.log' for more details." >&2;}
3466
 
   { (exit 1); exit 1; }; }; }
 
3539
as_fn_error $? "cannot compute suffix of object files: cannot compile
 
3540
See \`config.log' for more details" "$LINENO" 5; }
3467
3541
fi
3468
 
 
3469
3542
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3470
3543
fi
3471
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3544
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3472
3545
$as_echo "$ac_cv_objext" >&6; }
3473
3546
OBJEXT=$ac_cv_objext
3474
3547
ac_objext=$OBJEXT
3475
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3548
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3476
3549
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3477
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
3550
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3478
3551
  $as_echo_n "(cached) " >&6
3479
3552
else
3480
 
  cat >conftest.$ac_ext <<_ACEOF
3481
 
/* confdefs.h.  */
3482
 
_ACEOF
3483
 
cat confdefs.h >>conftest.$ac_ext
3484
 
cat >>conftest.$ac_ext <<_ACEOF
 
3553
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3485
3554
/* end confdefs.h.  */
3486
3555
 
3487
3556
int
3495
3564
  return 0;
3496
3565
}
3497
3566
_ACEOF
3498
 
rm -f conftest.$ac_objext
3499
 
if { (ac_try="$ac_compile"
3500
 
case "(($ac_try" in
3501
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3502
 
  *) ac_try_echo=$ac_try;;
3503
 
esac
3504
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3505
 
$as_echo "$ac_try_echo") >&5
3506
 
  (eval "$ac_compile") 2>conftest.er1
3507
 
  ac_status=$?
3508
 
  grep -v '^ *+' conftest.er1 >conftest.err
3509
 
  rm -f conftest.er1
3510
 
  cat conftest.err >&5
3511
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3512
 
  (exit $ac_status); } && {
3513
 
         test -z "$ac_c_werror_flag" ||
3514
 
         test ! -s conftest.err
3515
 
       } && test -s conftest.$ac_objext; then
 
3567
if ac_fn_c_try_compile "$LINENO"; then :
3516
3568
  ac_compiler_gnu=yes
3517
3569
else
3518
 
  $as_echo "$as_me: failed program was:" >&5
3519
 
sed 's/^/| /' conftest.$ac_ext >&5
3520
 
 
3521
 
        ac_compiler_gnu=no
 
3570
  ac_compiler_gnu=no
3522
3571
fi
3523
 
 
3524
3572
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3525
3573
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3526
3574
 
3527
3575
fi
3528
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3576
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3529
3577
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3530
3578
if test $ac_compiler_gnu = yes; then
3531
3579
  GCC=yes
3534
3582
fi
3535
3583
ac_test_CFLAGS=${CFLAGS+set}
3536
3584
ac_save_CFLAGS=$CFLAGS
3537
 
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3585
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3538
3586
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3539
 
if test "${ac_cv_prog_cc_g+set}" = set; then
 
3587
if test "${ac_cv_prog_cc_g+set}" = set; then :
3540
3588
  $as_echo_n "(cached) " >&6
3541
3589
else
3542
3590
  ac_save_c_werror_flag=$ac_c_werror_flag
3543
3591
   ac_c_werror_flag=yes
3544
3592
   ac_cv_prog_cc_g=no
3545
3593
   CFLAGS="-g"
3546
 
   cat >conftest.$ac_ext <<_ACEOF
3547
 
/* confdefs.h.  */
3548
 
_ACEOF
3549
 
cat confdefs.h >>conftest.$ac_ext
3550
 
cat >>conftest.$ac_ext <<_ACEOF
 
3594
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3551
3595
/* end confdefs.h.  */
3552
3596
 
3553
3597
int
3558
3602
  return 0;
3559
3603
}
3560
3604
_ACEOF
3561
 
rm -f conftest.$ac_objext
3562
 
if { (ac_try="$ac_compile"
3563
 
case "(($ac_try" in
3564
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3565
 
  *) ac_try_echo=$ac_try;;
3566
 
esac
3567
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3568
 
$as_echo "$ac_try_echo") >&5
3569
 
  (eval "$ac_compile") 2>conftest.er1
3570
 
  ac_status=$?
3571
 
  grep -v '^ *+' conftest.er1 >conftest.err
3572
 
  rm -f conftest.er1
3573
 
  cat conftest.err >&5
3574
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3575
 
  (exit $ac_status); } && {
3576
 
         test -z "$ac_c_werror_flag" ||
3577
 
         test ! -s conftest.err
3578
 
       } && test -s conftest.$ac_objext; then
 
3605
if ac_fn_c_try_compile "$LINENO"; then :
3579
3606
  ac_cv_prog_cc_g=yes
3580
3607
else
3581
 
  $as_echo "$as_me: failed program was:" >&5
3582
 
sed 's/^/| /' conftest.$ac_ext >&5
3583
 
 
3584
 
        CFLAGS=""
3585
 
      cat >conftest.$ac_ext <<_ACEOF
3586
 
/* confdefs.h.  */
3587
 
_ACEOF
3588
 
cat confdefs.h >>conftest.$ac_ext
3589
 
cat >>conftest.$ac_ext <<_ACEOF
 
3608
  CFLAGS=""
 
3609
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3590
3610
/* end confdefs.h.  */
3591
3611
 
3592
3612
int
3597
3617
  return 0;
3598
3618
}
3599
3619
_ACEOF
3600
 
rm -f conftest.$ac_objext
3601
 
if { (ac_try="$ac_compile"
3602
 
case "(($ac_try" in
3603
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3604
 
  *) ac_try_echo=$ac_try;;
3605
 
esac
3606
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3607
 
$as_echo "$ac_try_echo") >&5
3608
 
  (eval "$ac_compile") 2>conftest.er1
3609
 
  ac_status=$?
3610
 
  grep -v '^ *+' conftest.er1 >conftest.err
3611
 
  rm -f conftest.er1
3612
 
  cat conftest.err >&5
3613
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3614
 
  (exit $ac_status); } && {
3615
 
         test -z "$ac_c_werror_flag" ||
3616
 
         test ! -s conftest.err
3617
 
       } && test -s conftest.$ac_objext; then
3618
 
  :
 
3620
if ac_fn_c_try_compile "$LINENO"; then :
 
3621
 
3619
3622
else
3620
 
  $as_echo "$as_me: failed program was:" >&5
3621
 
sed 's/^/| /' conftest.$ac_ext >&5
3622
 
 
3623
 
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3623
  ac_c_werror_flag=$ac_save_c_werror_flag
3624
3624
         CFLAGS="-g"
3625
 
         cat >conftest.$ac_ext <<_ACEOF
3626
 
/* confdefs.h.  */
3627
 
_ACEOF
3628
 
cat confdefs.h >>conftest.$ac_ext
3629
 
cat >>conftest.$ac_ext <<_ACEOF
 
3625
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3630
3626
/* end confdefs.h.  */
3631
3627
 
3632
3628
int
3637
3633
  return 0;
3638
3634
}
3639
3635
_ACEOF
3640
 
rm -f conftest.$ac_objext
3641
 
if { (ac_try="$ac_compile"
3642
 
case "(($ac_try" in
3643
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3644
 
  *) ac_try_echo=$ac_try;;
3645
 
esac
3646
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3647
 
$as_echo "$ac_try_echo") >&5
3648
 
  (eval "$ac_compile") 2>conftest.er1
3649
 
  ac_status=$?
3650
 
  grep -v '^ *+' conftest.er1 >conftest.err
3651
 
  rm -f conftest.er1
3652
 
  cat conftest.err >&5
3653
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3654
 
  (exit $ac_status); } && {
3655
 
         test -z "$ac_c_werror_flag" ||
3656
 
         test ! -s conftest.err
3657
 
       } && test -s conftest.$ac_objext; then
 
3636
if ac_fn_c_try_compile "$LINENO"; then :
3658
3637
  ac_cv_prog_cc_g=yes
3659
 
else
3660
 
  $as_echo "$as_me: failed program was:" >&5
3661
 
sed 's/^/| /' conftest.$ac_ext >&5
3662
 
 
3663
 
 
3664
 
fi
3665
 
 
3666
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3667
 
fi
3668
 
 
3669
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3670
 
fi
3671
 
 
 
3638
fi
 
3639
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3640
fi
 
3641
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3642
fi
3672
3643
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3673
3644
   ac_c_werror_flag=$ac_save_c_werror_flag
3674
3645
fi
3675
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3646
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3676
3647
$as_echo "$ac_cv_prog_cc_g" >&6; }
3677
3648
if test "$ac_test_CFLAGS" = set; then
3678
3649
  CFLAGS=$ac_save_CFLAGS
3689
3660
    CFLAGS=
3690
3661
  fi
3691
3662
fi
3692
 
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3663
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3693
3664
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3694
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
3665
if test "${ac_cv_prog_cc_c89+set}" = set; then :
3695
3666
  $as_echo_n "(cached) " >&6
3696
3667
else
3697
3668
  ac_cv_prog_cc_c89=no
3698
3669
ac_save_CC=$CC
3699
 
cat >conftest.$ac_ext <<_ACEOF
3700
 
/* confdefs.h.  */
3701
 
_ACEOF
3702
 
cat confdefs.h >>conftest.$ac_ext
3703
 
cat >>conftest.$ac_ext <<_ACEOF
 
3670
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3704
3671
/* end confdefs.h.  */
3705
3672
#include <stdarg.h>
3706
3673
#include <stdio.h>
3757
3724
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3758
3725
do
3759
3726
  CC="$ac_save_CC $ac_arg"
3760
 
  rm -f conftest.$ac_objext
3761
 
if { (ac_try="$ac_compile"
3762
 
case "(($ac_try" in
3763
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3764
 
  *) ac_try_echo=$ac_try;;
3765
 
esac
3766
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3767
 
$as_echo "$ac_try_echo") >&5
3768
 
  (eval "$ac_compile") 2>conftest.er1
3769
 
  ac_status=$?
3770
 
  grep -v '^ *+' conftest.er1 >conftest.err
3771
 
  rm -f conftest.er1
3772
 
  cat conftest.err >&5
3773
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3774
 
  (exit $ac_status); } && {
3775
 
         test -z "$ac_c_werror_flag" ||
3776
 
         test ! -s conftest.err
3777
 
       } && test -s conftest.$ac_objext; then
 
3727
  if ac_fn_c_try_compile "$LINENO"; then :
3778
3728
  ac_cv_prog_cc_c89=$ac_arg
3779
 
else
3780
 
  $as_echo "$as_me: failed program was:" >&5
3781
 
sed 's/^/| /' conftest.$ac_ext >&5
3782
 
 
3783
 
 
3784
3729
fi
3785
 
 
3786
3730
rm -f core conftest.err conftest.$ac_objext
3787
3731
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3788
3732
done
3793
3737
# AC_CACHE_VAL
3794
3738
case "x$ac_cv_prog_cc_c89" in
3795
3739
  x)
3796
 
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
3740
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3797
3741
$as_echo "none needed" >&6; } ;;
3798
3742
  xno)
3799
 
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
3743
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3800
3744
$as_echo "unsupported" >&6; } ;;
3801
3745
  *)
3802
3746
    CC="$CC $ac_cv_prog_cc_c89"
3803
 
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3747
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3804
3748
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3805
3749
esac
 
3750
if test "x$ac_cv_prog_cc_c89" != xno; then :
3806
3751
 
 
3752
fi
3807
3753
 
3808
3754
ac_ext=c
3809
3755
ac_cpp='$CPP $CPPFLAGS'
3822
3768
.PHONY: am__doit
3823
3769
END
3824
3770
# If we don't find an include directive, just comment out the code.
3825
 
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3771
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3826
3772
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3827
3773
am__include="#"
3828
3774
am__quote=
3850
3796
fi
3851
3797
 
3852
3798
 
3853
 
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
 
3799
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3854
3800
$as_echo "$_am_result" >&6; }
3855
3801
rm -f confinc confmf
3856
3802
 
3857
3803
# Check whether --enable-dependency-tracking was given.
3858
 
if test "${enable_dependency_tracking+set}" = set; then
 
3804
if test "${enable_dependency_tracking+set}" = set; then :
3859
3805
  enableval=$enable_dependency_tracking;
3860
3806
fi
3861
3807
 
3875
3821
 
3876
3822
depcc="$CC"   am_compiler_list=
3877
3823
 
3878
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3824
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3879
3825
$as_echo_n "checking dependency style of $depcc... " >&6; }
3880
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
3826
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3881
3827
  $as_echo_n "(cached) " >&6
3882
3828
else
3883
3829
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3985
3931
fi
3986
3932
 
3987
3933
fi
3988
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3934
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3989
3935
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3990
3936
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3991
3937
 
4001
3947
 
4002
3948
 
4003
3949
 
4004
 
{ $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5
 
3950
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
4005
3951
$as_echo_n "checking for library containing strerror... " >&6; }
4006
 
if test "${ac_cv_search_strerror+set}" = set; then
 
3952
if test "${ac_cv_search_strerror+set}" = set; then :
4007
3953
  $as_echo_n "(cached) " >&6
4008
3954
else
4009
3955
  ac_func_search_save_LIBS=$LIBS
4010
 
cat >conftest.$ac_ext <<_ACEOF
4011
 
/* confdefs.h.  */
4012
 
_ACEOF
4013
 
cat confdefs.h >>conftest.$ac_ext
4014
 
cat >>conftest.$ac_ext <<_ACEOF
 
3956
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4015
3957
/* end confdefs.h.  */
4016
3958
 
4017
3959
/* Override any GCC internal prototype to avoid an error.
4036
3978
    ac_res=-l$ac_lib
4037
3979
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
4038
3980
  fi
4039
 
  rm -f conftest.$ac_objext conftest$ac_exeext
4040
 
if { (ac_try="$ac_link"
4041
 
case "(($ac_try" in
4042
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4043
 
  *) ac_try_echo=$ac_try;;
4044
 
esac
4045
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4046
 
$as_echo "$ac_try_echo") >&5
4047
 
  (eval "$ac_link") 2>conftest.er1
4048
 
  ac_status=$?
4049
 
  grep -v '^ *+' conftest.er1 >conftest.err
4050
 
  rm -f conftest.er1
4051
 
  cat conftest.err >&5
4052
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4053
 
  (exit $ac_status); } && {
4054
 
         test -z "$ac_c_werror_flag" ||
4055
 
         test ! -s conftest.err
4056
 
       } && test -s conftest$ac_exeext && {
4057
 
         test "$cross_compiling" = yes ||
4058
 
         $as_test_x conftest$ac_exeext
4059
 
       }; then
 
3981
  if ac_fn_c_try_link "$LINENO"; then :
4060
3982
  ac_cv_search_strerror=$ac_res
4061
 
else
4062
 
  $as_echo "$as_me: failed program was:" >&5
4063
 
sed 's/^/| /' conftest.$ac_ext >&5
4064
 
 
4065
 
 
4066
3983
fi
4067
 
 
4068
 
rm -rf conftest.dSYM
4069
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4070
 
      conftest$ac_exeext
4071
 
  if test "${ac_cv_search_strerror+set}" = set; then
 
3984
rm -f core conftest.err conftest.$ac_objext \
 
3985
    conftest$ac_exeext
 
3986
  if test "${ac_cv_search_strerror+set}" = set; then :
4072
3987
  break
4073
3988
fi
4074
3989
done
4075
 
if test "${ac_cv_search_strerror+set}" = set; then
4076
 
  :
 
3990
if test "${ac_cv_search_strerror+set}" = set; then :
 
3991
 
4077
3992
else
4078
3993
  ac_cv_search_strerror=no
4079
3994
fi
4080
3995
rm conftest.$ac_ext
4081
3996
LIBS=$ac_func_search_save_LIBS
4082
3997
fi
4083
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
 
3998
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
4084
3999
$as_echo "$ac_cv_search_strerror" >&6; }
4085
4000
ac_res=$ac_cv_search_strerror
4086
 
if test "$ac_res" != no; then
 
4001
if test "$ac_res" != no; then :
4087
4002
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4088
4003
 
4089
4004
fi
4093
4008
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4094
4009
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4095
4010
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4096
 
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
4011
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4097
4012
$as_echo_n "checking how to run the C preprocessor... " >&6; }
4098
4013
# On Suns, sometimes $CPP names a directory.
4099
4014
if test -n "$CPP" && test -d "$CPP"; then
4100
4015
  CPP=
4101
4016
fi
4102
4017
if test -z "$CPP"; then
4103
 
  if test "${ac_cv_prog_CPP+set}" = set; then
 
4018
  if test "${ac_cv_prog_CPP+set}" = set; then :
4104
4019
  $as_echo_n "(cached) " >&6
4105
4020
else
4106
4021
      # Double quotes because CPP needs to be expanded
4115
4030
  # <limits.h> exists even on freestanding compilers.
4116
4031
  # On the NeXT, cc -E runs the code through the compiler's parser,
4117
4032
  # not just through cpp. "Syntax error" is here to catch this case.
4118
 
  cat >conftest.$ac_ext <<_ACEOF
4119
 
/* confdefs.h.  */
4120
 
_ACEOF
4121
 
cat confdefs.h >>conftest.$ac_ext
4122
 
cat >>conftest.$ac_ext <<_ACEOF
 
4033
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4123
4034
/* end confdefs.h.  */
4124
4035
#ifdef __STDC__
4125
4036
# include <limits.h>
4128
4039
#endif
4129
4040
                     Syntax error
4130
4041
_ACEOF
4131
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4132
 
case "(($ac_try" in
4133
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4134
 
  *) ac_try_echo=$ac_try;;
4135
 
esac
4136
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4137
 
$as_echo "$ac_try_echo") >&5
4138
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4139
 
  ac_status=$?
4140
 
  grep -v '^ *+' conftest.er1 >conftest.err
4141
 
  rm -f conftest.er1
4142
 
  cat conftest.err >&5
4143
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4144
 
  (exit $ac_status); } >/dev/null && {
4145
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4146
 
         test ! -s conftest.err
4147
 
       }; then
4148
 
  :
 
4042
if ac_fn_c_try_cpp "$LINENO"; then :
 
4043
 
4149
4044
else
4150
 
  $as_echo "$as_me: failed program was:" >&5
4151
 
sed 's/^/| /' conftest.$ac_ext >&5
4152
 
 
4153
4045
  # Broken: fails on valid input.
4154
4046
continue
4155
4047
fi
4156
 
 
4157
4048
rm -f conftest.err conftest.$ac_ext
4158
4049
 
4159
4050
  # OK, works on sane cases.  Now check whether nonexistent headers
4160
4051
  # can be detected and how.
4161
 
  cat >conftest.$ac_ext <<_ACEOF
4162
 
/* confdefs.h.  */
4163
 
_ACEOF
4164
 
cat confdefs.h >>conftest.$ac_ext
4165
 
cat >>conftest.$ac_ext <<_ACEOF
 
4052
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4166
4053
/* end confdefs.h.  */
4167
4054
#include <ac_nonexistent.h>
4168
4055
_ACEOF
4169
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4170
 
case "(($ac_try" in
4171
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4172
 
  *) ac_try_echo=$ac_try;;
4173
 
esac
4174
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4175
 
$as_echo "$ac_try_echo") >&5
4176
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4177
 
  ac_status=$?
4178
 
  grep -v '^ *+' conftest.er1 >conftest.err
4179
 
  rm -f conftest.er1
4180
 
  cat conftest.err >&5
4181
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4182
 
  (exit $ac_status); } >/dev/null && {
4183
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4184
 
         test ! -s conftest.err
4185
 
       }; then
 
4056
if ac_fn_c_try_cpp "$LINENO"; then :
4186
4057
  # Broken: success on invalid input.
4187
4058
continue
4188
4059
else
4189
 
  $as_echo "$as_me: failed program was:" >&5
4190
 
sed 's/^/| /' conftest.$ac_ext >&5
4191
 
 
4192
4060
  # Passes both tests.
4193
4061
ac_preproc_ok=:
4194
4062
break
4195
4063
fi
4196
 
 
4197
4064
rm -f conftest.err conftest.$ac_ext
4198
4065
 
4199
4066
done
4200
4067
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4201
4068
rm -f conftest.err conftest.$ac_ext
4202
 
if $ac_preproc_ok; then
 
4069
if $ac_preproc_ok; then :
4203
4070
  break
4204
4071
fi
4205
4072
 
4211
4078
else
4212
4079
  ac_cv_prog_CPP=$CPP
4213
4080
fi
4214
 
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
 
4081
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4215
4082
$as_echo "$CPP" >&6; }
4216
4083
ac_preproc_ok=false
4217
4084
for ac_c_preproc_warn_flag in '' yes
4222
4089
  # <limits.h> exists even on freestanding compilers.
4223
4090
  # On the NeXT, cc -E runs the code through the compiler's parser,
4224
4091
  # not just through cpp. "Syntax error" is here to catch this case.
4225
 
  cat >conftest.$ac_ext <<_ACEOF
4226
 
/* confdefs.h.  */
4227
 
_ACEOF
4228
 
cat confdefs.h >>conftest.$ac_ext
4229
 
cat >>conftest.$ac_ext <<_ACEOF
 
4092
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4230
4093
/* end confdefs.h.  */
4231
4094
#ifdef __STDC__
4232
4095
# include <limits.h>
4235
4098
#endif
4236
4099
                     Syntax error
4237
4100
_ACEOF
4238
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4239
 
case "(($ac_try" in
4240
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4241
 
  *) ac_try_echo=$ac_try;;
4242
 
esac
4243
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4244
 
$as_echo "$ac_try_echo") >&5
4245
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4246
 
  ac_status=$?
4247
 
  grep -v '^ *+' conftest.er1 >conftest.err
4248
 
  rm -f conftest.er1
4249
 
  cat conftest.err >&5
4250
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4251
 
  (exit $ac_status); } >/dev/null && {
4252
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4253
 
         test ! -s conftest.err
4254
 
       }; then
4255
 
  :
 
4101
if ac_fn_c_try_cpp "$LINENO"; then :
 
4102
 
4256
4103
else
4257
 
  $as_echo "$as_me: failed program was:" >&5
4258
 
sed 's/^/| /' conftest.$ac_ext >&5
4259
 
 
4260
4104
  # Broken: fails on valid input.
4261
4105
continue
4262
4106
fi
4263
 
 
4264
4107
rm -f conftest.err conftest.$ac_ext
4265
4108
 
4266
4109
  # OK, works on sane cases.  Now check whether nonexistent headers
4267
4110
  # can be detected and how.
4268
 
  cat >conftest.$ac_ext <<_ACEOF
4269
 
/* confdefs.h.  */
4270
 
_ACEOF
4271
 
cat confdefs.h >>conftest.$ac_ext
4272
 
cat >>conftest.$ac_ext <<_ACEOF
 
4111
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4273
4112
/* end confdefs.h.  */
4274
4113
#include <ac_nonexistent.h>
4275
4114
_ACEOF
4276
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4277
 
case "(($ac_try" in
4278
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4279
 
  *) ac_try_echo=$ac_try;;
4280
 
esac
4281
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4282
 
$as_echo "$ac_try_echo") >&5
4283
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4284
 
  ac_status=$?
4285
 
  grep -v '^ *+' conftest.er1 >conftest.err
4286
 
  rm -f conftest.er1
4287
 
  cat conftest.err >&5
4288
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4289
 
  (exit $ac_status); } >/dev/null && {
4290
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4291
 
         test ! -s conftest.err
4292
 
       }; then
 
4115
if ac_fn_c_try_cpp "$LINENO"; then :
4293
4116
  # Broken: success on invalid input.
4294
4117
continue
4295
4118
else
4296
 
  $as_echo "$as_me: failed program was:" >&5
4297
 
sed 's/^/| /' conftest.$ac_ext >&5
4298
 
 
4299
4119
  # Passes both tests.
4300
4120
ac_preproc_ok=:
4301
4121
break
4302
4122
fi
4303
 
 
4304
4123
rm -f conftest.err conftest.$ac_ext
4305
4124
 
4306
4125
done
4307
4126
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4308
4127
rm -f conftest.err conftest.$ac_ext
4309
 
if $ac_preproc_ok; then
4310
 
  :
 
4128
if $ac_preproc_ok; then :
 
4129
 
4311
4130
else
4312
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
4131
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4313
4132
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4314
 
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4315
 
See \`config.log' for more details." >&5
4316
 
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4317
 
See \`config.log' for more details." >&2;}
4318
 
   { (exit 1); exit 1; }; }; }
 
4133
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 
4134
See \`config.log' for more details" "$LINENO" 5; }
4319
4135
fi
4320
4136
 
4321
4137
ac_ext=c
4325
4141
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4326
4142
 
4327
4143
 
4328
 
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
4144
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4329
4145
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4330
 
if test "${ac_cv_path_GREP+set}" = set; then
 
4146
if test "${ac_cv_path_GREP+set}" = set; then :
4331
4147
  $as_echo_n "(cached) " >&6
4332
4148
else
4333
4149
  if test -z "$GREP"; then
4338
4154
do
4339
4155
  IFS=$as_save_IFS
4340
4156
  test -z "$as_dir" && as_dir=.
4341
 
  for ac_prog in grep ggrep; do
 
4157
    for ac_prog in grep ggrep; do
4342
4158
    for ac_exec_ext in '' $ac_executable_extensions; do
4343
4159
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4344
4160
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4358
4174
    $as_echo 'GREP' >> "conftest.nl"
4359
4175
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4360
4176
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4361
 
    ac_count=`expr $ac_count + 1`
 
4177
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4362
4178
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4363
4179
      # Best one so far, save it but keep looking for a better one
4364
4180
      ac_cv_path_GREP="$ac_path_GREP"
4373
4189
      $ac_path_GREP_found && break 3
4374
4190
    done
4375
4191
  done
4376
 
done
 
4192
  done
4377
4193
IFS=$as_save_IFS
4378
4194
  if test -z "$ac_cv_path_GREP"; then
4379
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4380
 
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4381
 
   { (exit 1); exit 1; }; }
 
4195
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4382
4196
  fi
4383
4197
else
4384
4198
  ac_cv_path_GREP=$GREP
4385
4199
fi
4386
4200
 
4387
4201
fi
4388
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
4202
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4389
4203
$as_echo "$ac_cv_path_GREP" >&6; }
4390
4204
 GREP="$ac_cv_path_GREP"
4391
4205
 
4392
4206
 
4393
 
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
 
4207
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4394
4208
$as_echo_n "checking for egrep... " >&6; }
4395
 
if test "${ac_cv_path_EGREP+set}" = set; then
 
4209
if test "${ac_cv_path_EGREP+set}" = set; then :
4396
4210
  $as_echo_n "(cached) " >&6
4397
4211
else
4398
4212
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4406
4220
do
4407
4221
  IFS=$as_save_IFS
4408
4222
  test -z "$as_dir" && as_dir=.
4409
 
  for ac_prog in egrep; do
 
4223
    for ac_prog in egrep; do
4410
4224
    for ac_exec_ext in '' $ac_executable_extensions; do
4411
4225
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4412
4226
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4426
4240
    $as_echo 'EGREP' >> "conftest.nl"
4427
4241
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4428
4242
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4429
 
    ac_count=`expr $ac_count + 1`
 
4243
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4430
4244
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4431
4245
      # Best one so far, save it but keep looking for a better one
4432
4246
      ac_cv_path_EGREP="$ac_path_EGREP"
4441
4255
      $ac_path_EGREP_found && break 3
4442
4256
    done
4443
4257
  done
4444
 
done
 
4258
  done
4445
4259
IFS=$as_save_IFS
4446
4260
  if test -z "$ac_cv_path_EGREP"; then
4447
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4448
 
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4449
 
   { (exit 1); exit 1; }; }
 
4261
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4450
4262
  fi
4451
4263
else
4452
4264
  ac_cv_path_EGREP=$EGREP
4454
4266
 
4455
4267
   fi
4456
4268
fi
4457
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
4269
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4458
4270
$as_echo "$ac_cv_path_EGREP" >&6; }
4459
4271
 EGREP="$ac_cv_path_EGREP"
4460
4272
 
4461
4273
 
4462
 
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
4274
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4463
4275
$as_echo_n "checking for ANSI C header files... " >&6; }
4464
 
if test "${ac_cv_header_stdc+set}" = set; then
 
4276
if test "${ac_cv_header_stdc+set}" = set; then :
4465
4277
  $as_echo_n "(cached) " >&6
4466
4278
else
4467
 
  cat >conftest.$ac_ext <<_ACEOF
4468
 
/* confdefs.h.  */
4469
 
_ACEOF
4470
 
cat confdefs.h >>conftest.$ac_ext
4471
 
cat >>conftest.$ac_ext <<_ACEOF
 
4279
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4472
4280
/* end confdefs.h.  */
4473
4281
#include <stdlib.h>
4474
4282
#include <stdarg.h>
4483
4291
  return 0;
4484
4292
}
4485
4293
_ACEOF
4486
 
rm -f conftest.$ac_objext
4487
 
if { (ac_try="$ac_compile"
4488
 
case "(($ac_try" in
4489
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4490
 
  *) ac_try_echo=$ac_try;;
4491
 
esac
4492
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4493
 
$as_echo "$ac_try_echo") >&5
4494
 
  (eval "$ac_compile") 2>conftest.er1
4495
 
  ac_status=$?
4496
 
  grep -v '^ *+' conftest.er1 >conftest.err
4497
 
  rm -f conftest.er1
4498
 
  cat conftest.err >&5
4499
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4500
 
  (exit $ac_status); } && {
4501
 
         test -z "$ac_c_werror_flag" ||
4502
 
         test ! -s conftest.err
4503
 
       } && test -s conftest.$ac_objext; then
 
4294
if ac_fn_c_try_compile "$LINENO"; then :
4504
4295
  ac_cv_header_stdc=yes
4505
4296
else
4506
 
  $as_echo "$as_me: failed program was:" >&5
4507
 
sed 's/^/| /' conftest.$ac_ext >&5
4508
 
 
4509
 
        ac_cv_header_stdc=no
 
4297
  ac_cv_header_stdc=no
4510
4298
fi
4511
 
 
4512
4299
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4513
4300
 
4514
4301
if test $ac_cv_header_stdc = yes; then
4515
4302
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4516
 
  cat >conftest.$ac_ext <<_ACEOF
4517
 
/* confdefs.h.  */
4518
 
_ACEOF
4519
 
cat confdefs.h >>conftest.$ac_ext
4520
 
cat >>conftest.$ac_ext <<_ACEOF
 
4303
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4521
4304
/* end confdefs.h.  */
4522
4305
#include <string.h>
4523
4306
 
4524
4307
_ACEOF
4525
4308
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4526
 
  $EGREP "memchr" >/dev/null 2>&1; then
4527
 
  :
 
4309
  $EGREP "memchr" >/dev/null 2>&1; then :
 
4310
 
4528
4311
else
4529
4312
  ac_cv_header_stdc=no
4530
4313
fi
4534
4317
 
4535
4318
if test $ac_cv_header_stdc = yes; then
4536
4319
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4537
 
  cat >conftest.$ac_ext <<_ACEOF
4538
 
/* confdefs.h.  */
4539
 
_ACEOF
4540
 
cat confdefs.h >>conftest.$ac_ext
4541
 
cat >>conftest.$ac_ext <<_ACEOF
 
4320
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4542
4321
/* end confdefs.h.  */
4543
4322
#include <stdlib.h>
4544
4323
 
4545
4324
_ACEOF
4546
4325
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4547
 
  $EGREP "free" >/dev/null 2>&1; then
4548
 
  :
 
4326
  $EGREP "free" >/dev/null 2>&1; then :
 
4327
 
4549
4328
else
4550
4329
  ac_cv_header_stdc=no
4551
4330
fi
4555
4334
 
4556
4335
if test $ac_cv_header_stdc = yes; then
4557
4336
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4558
 
  if test "$cross_compiling" = yes; then
 
4337
  if test "$cross_compiling" = yes; then :
4559
4338
  :
4560
4339
else
4561
 
  cat >conftest.$ac_ext <<_ACEOF
4562
 
/* confdefs.h.  */
4563
 
_ACEOF
4564
 
cat confdefs.h >>conftest.$ac_ext
4565
 
cat >>conftest.$ac_ext <<_ACEOF
 
4340
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4566
4341
/* end confdefs.h.  */
4567
4342
#include <ctype.h>
4568
4343
#include <stdlib.h>
4589
4364
  return 0;
4590
4365
}
4591
4366
_ACEOF
4592
 
rm -f conftest$ac_exeext
4593
 
if { (ac_try="$ac_link"
4594
 
case "(($ac_try" in
4595
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4596
 
  *) ac_try_echo=$ac_try;;
4597
 
esac
4598
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4599
 
$as_echo "$ac_try_echo") >&5
4600
 
  (eval "$ac_link") 2>&5
4601
 
  ac_status=$?
4602
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4603
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4604
 
  { (case "(($ac_try" in
4605
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4606
 
  *) ac_try_echo=$ac_try;;
4607
 
esac
4608
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4609
 
$as_echo "$ac_try_echo") >&5
4610
 
  (eval "$ac_try") 2>&5
4611
 
  ac_status=$?
4612
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4613
 
  (exit $ac_status); }; }; then
4614
 
  :
 
4367
if ac_fn_c_try_run "$LINENO"; then :
 
4368
 
4615
4369
else
4616
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
4617
 
$as_echo "$as_me: failed program was:" >&5
4618
 
sed 's/^/| /' conftest.$ac_ext >&5
4619
 
 
4620
 
( exit $ac_status )
4621
 
ac_cv_header_stdc=no
4622
 
fi
4623
 
rm -rf conftest.dSYM
4624
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4625
 
fi
4626
 
 
4627
 
 
4628
 
fi
4629
 
fi
4630
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
4370
  ac_cv_header_stdc=no
 
4371
fi
 
4372
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
4373
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
4374
fi
 
4375
 
 
4376
fi
 
4377
fi
 
4378
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4631
4379
$as_echo "$ac_cv_header_stdc" >&6; }
4632
4380
if test $ac_cv_header_stdc = yes; then
4633
4381
 
4634
 
cat >>confdefs.h <<\_ACEOF
4635
 
#define STDC_HEADERS 1
4636
 
_ACEOF
 
4382
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4637
4383
 
4638
4384
fi
4639
4385
 
4640
4386
 
4641
4387
# Check whether --enable-tests was given.
4642
 
if test "${enable_tests+set}" = set; then
 
4388
if test "${enable_tests+set}" = set; then :
4643
4389
  enableval=$enable_tests; enable_tests=$enableval
4644
4390
else
4645
4391
  enable_tests=$USE_MAINTAINER_MODE
4646
4392
fi
4647
4393
 
4648
4394
# Check whether --enable-ansi was given.
4649
 
if test "${enable_ansi+set}" = set; then
 
4395
if test "${enable_ansi+set}" = set; then :
4650
4396
  enableval=$enable_ansi; enable_ansi=$enableval
4651
4397
else
4652
4398
  enable_ansi=no
4653
4399
fi
4654
4400
 
4655
4401
# Check whether --enable-verbose-mode was given.
4656
 
if test "${enable_verbose_mode+set}" = set; then
 
4402
if test "${enable_verbose_mode+set}" = set; then :
4657
4403
  enableval=$enable_verbose_mode; enable_verbose_mode=$enableval
4658
4404
else
4659
4405
  enable_verbose_mode=$USE_MAINTAINER_MODE
4660
4406
fi
4661
4407
 
4662
4408
# Check whether --enable-asserts was given.
4663
 
if test "${enable_asserts+set}" = set; then
 
4409
if test "${enable_asserts+set}" = set; then :
4664
4410
  enableval=$enable_asserts; enable_asserts=$enableval
4665
4411
else
4666
4412
  enable_asserts=$USE_MAINTAINER_MODE
4667
4413
fi
4668
4414
 
4669
4415
# Check whether --enable-checks was given.
4670
 
if test "${enable_checks+set}" = set; then
 
4416
if test "${enable_checks+set}" = set; then :
4671
4417
  enableval=$enable_checks; enable_checks=$enableval
4672
4418
else
4673
4419
  enable_checks=yes
4674
4420
fi
4675
4421
 
4676
4422
# Check whether --enable-doxygen-docs was given.
4677
 
if test "${enable_doxygen_docs+set}" = set; then
 
4423
if test "${enable_doxygen_docs+set}" = set; then :
4678
4424
  enableval=$enable_doxygen_docs; enable_doxygen_docs=$enableval
4679
4425
else
4680
4426
  enable_doxygen_docs=auto
4681
4427
fi
4682
4428
 
4683
4429
# Check whether --enable-gcov was given.
4684
 
if test "${enable_gcov+set}" = set; then
 
4430
if test "${enable_gcov+set}" = set; then :
4685
4431
  enableval=$enable_gcov; enable_gcov=$enableval
4686
4432
else
4687
4433
  enable_gcov=no
4688
4434
fi
4689
4435
 
4690
4436
# Check whether --enable-bash-completion was given.
4691
 
if test "${enable_bash_completion+set}" = set; then
 
4437
if test "${enable_bash_completion+set}" = set; then :
4692
4438
  enableval=$enable_bash_completion; enable_bash_completion=$enableval
4693
4439
else
4694
4440
  enable_bash_completion=yes
4696
4442
 
4697
4443
 
4698
4444
# Check whether --with-test-socket-dir was given.
4699
 
if test "${with_test_socket_dir+set}" = set; then
 
4445
if test "${with_test_socket_dir+set}" = set; then :
4700
4446
  withval=$with_test_socket_dir;
4701
4447
fi
4702
4448
 
4704
4450
 
4705
4451
 
4706
4452
# Check whether --with-introspect-xml was given.
4707
 
if test "${with_introspect_xml+set}" = set; then
 
4453
if test "${with_introspect_xml+set}" = set; then :
4708
4454
  withval=$with_introspect_xml;
4709
4455
fi
4710
4456
 
4720
4466
 
4721
4467
if test x$enable_bash_completion = xyes; then
4722
4468
 
4723
 
cat >>confdefs.h <<\_ACEOF
4724
 
#define DBUS_BASH_COMPLETION 1
4725
 
_ACEOF
 
4469
$as_echo "#define DBUS_BASH_COMPLETION 1" >>confdefs.h
4726
4470
 
4727
4471
fi
4728
4472
 
4729
4473
if test x$enable_verbose_mode = xyes; then
4730
4474
 
4731
 
cat >>confdefs.h <<\_ACEOF
4732
 
#define DBUS_ENABLE_VERBOSE_MODE 1
4733
 
_ACEOF
 
4475
$as_echo "#define DBUS_ENABLE_VERBOSE_MODE 1" >>confdefs.h
4734
4476
 
4735
4477
fi
4736
4478
 
4737
4479
 
4738
4480
# Check whether --with-dbus-binding-tool was given.
4739
 
if test "${with_dbus_binding_tool+set}" = set; then
 
4481
if test "${with_dbus_binding_tool+set}" = set; then :
4740
4482
  withval=$with_dbus_binding_tool; DBUS_BINDING_TOOL=$withval
4741
4483
else
4742
4484
  DBUS_BINDING_TOOL=\$\(top_builddir\)/dbus/dbus-binding-tool
4755
4497
 
4756
4498
if test x$enable_tests = xyes; then
4757
4499
 
4758
 
cat >>confdefs.h <<\_ACEOF
4759
 
#define DBUS_BUILD_TESTS 1
4760
 
_ACEOF
 
4500
$as_echo "#define DBUS_BUILD_TESTS 1" >>confdefs.h
4761
4501
 
4762
4502
fi
4763
4503
 
4764
4504
if test x$enable_verbose_mode = xyes; then
4765
4505
 
4766
 
cat >>confdefs.h <<\_ACEOF
4767
 
#define DBUS_ENABLE_VERBOSE_MODE 1
4768
 
_ACEOF
 
4506
$as_echo "#define DBUS_ENABLE_VERBOSE_MODE 1" >>confdefs.h
4769
4507
 
4770
4508
fi
4771
4509
if test x$enable_asserts = xno; then
4772
4510
 
4773
 
cat >>confdefs.h <<\_ACEOF
4774
 
#define DBUS_DISABLE_ASSERT 1
4775
 
_ACEOF
4776
 
 
4777
 
 
4778
 
cat >>confdefs.h <<\_ACEOF
4779
 
#define G_DISABLE_ASSERT 1
4780
 
_ACEOF
 
4511
$as_echo "#define DBUS_DISABLE_ASSERT 1" >>confdefs.h
 
4512
 
 
4513
 
 
4514
$as_echo "#define G_DISABLE_ASSERT 1" >>confdefs.h
4781
4515
 
4782
4516
fi
4783
4517
if test x$enable_checks = xno; then
4784
4518
 
4785
 
cat >>confdefs.h <<\_ACEOF
4786
 
#define DBUS_DISABLE_CHECKS 1
4787
 
_ACEOF
4788
 
 
4789
 
 
4790
 
cat >>confdefs.h <<\_ACEOF
4791
 
#define G_DISABLE_CHECKS 1
4792
 
_ACEOF
 
4519
$as_echo "#define DBUS_DISABLE_CHECKS 1" >>confdefs.h
 
4520
 
 
4521
 
 
4522
$as_echo "#define G_DISABLE_CHECKS 1" >>confdefs.h
4793
4523
 
4794
4524
fi
4795
4525
 
4799
4529
 
4800
4530
if test "x$GCC" = "xyes"; then
4801
4531
 
4802
 
  { $as_echo "$as_me:$LINENO: checking whether gcc understands -Wfloat-equal" >&5
 
4532
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands -Wfloat-equal" >&5
4803
4533
$as_echo_n "checking whether gcc understands -Wfloat-equal... " >&6; }
4804
4534
 
4805
4535
  ac_save_CFLAGS="$CFLAGS"
4806
4536
  CFLAGS="$CFLAGS -Wfloat-equal"
4807
4537
 
4808
 
  cat >conftest.$ac_ext <<_ACEOF
 
4538
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4539
/* end confdefs.h.  */
4809
4540
 
4810
4541
_ACEOF
4811
 
rm -f conftest.$ac_objext
4812
 
if { (ac_try="$ac_compile"
4813
 
case "(($ac_try" in
4814
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4815
 
  *) ac_try_echo=$ac_try;;
4816
 
esac
4817
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4818
 
$as_echo "$ac_try_echo") >&5
4819
 
  (eval "$ac_compile") 2>conftest.er1
4820
 
  ac_status=$?
4821
 
  grep -v '^ *+' conftest.er1 >conftest.err
4822
 
  rm -f conftest.er1
4823
 
  cat conftest.err >&5
4824
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4825
 
  (exit $ac_status); } && {
4826
 
         test -z "$ac_c_werror_flag" ||
4827
 
         test ! -s conftest.err
4828
 
       } && test -s conftest.$ac_objext; then
 
4542
if ac_fn_c_try_compile "$LINENO"; then :
4829
4543
  ac_cc_flag=yes
4830
4544
else
4831
 
  $as_echo "$as_me: failed program was:" >&5
4832
 
sed 's/^/| /' conftest.$ac_ext >&5
4833
 
 
4834
 
        ac_cc_flag=no
 
4545
  ac_cc_flag=no
4835
4546
fi
4836
 
 
4837
4547
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4838
4548
  CFLAGS="$ac_save_CFLAGS"
4839
4549
 
4842
4552
  else
4843
4553
    ac_flag_float_equal=no
4844
4554
  fi
4845
 
  { $as_echo "$as_me:$LINENO: result: $ac_cc_flag" >&5
 
4555
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cc_flag" >&5
4846
4556
$as_echo "$ac_cc_flag" >&6; }
4847
4557
 
4848
4558
 
4937
4647
  fi
4938
4648
  else
4939
4649
  if test x$enable_gcov = xyes; then
4940
 
    { { $as_echo "$as_me:$LINENO: error: --enable-gcov can only be used with gcc" >&5
4941
 
$as_echo "$as_me: error: --enable-gcov can only be used with gcc" >&2;}
4942
 
   { (exit 1); exit 1; }; }
 
4650
    as_fn_error $? "--enable-gcov can only be used with gcc" "$LINENO" 5
4943
4651
  fi
4944
4652
fi
4945
4653
 
4946
4654
case `pwd` in
4947
4655
  *\ * | *\     *)
4948
 
    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
4656
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4949
4657
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4950
4658
esac
4951
4659
 
4952
4660
 
4953
4661
 
4954
 
macro_version='2.2.6b'
4955
 
macro_revision='1.3017'
 
4662
macro_version='2.2.10'
 
4663
macro_revision='1.3175'
4956
4664
 
4957
4665
 
4958
4666
 
4968
4676
 
4969
4677
ltmain="$ac_aux_dir/ltmain.sh"
4970
4678
 
4971
 
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
4679
# Backslashify metacharacters that are still active within
 
4680
# double-quoted strings.
 
4681
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
4682
 
 
4683
# Same as above, but do not quote variable references.
 
4684
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
4685
 
 
4686
# Sed substitution to delay expansion of an escaped shell variable in a
 
4687
# double_quote_subst'ed string.
 
4688
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
4689
 
 
4690
# Sed substitution to delay expansion of an escaped single quote.
 
4691
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
4692
 
 
4693
# Sed substitution to avoid accidental globbing in evaled expressions
 
4694
no_glob_subst='s/\*/\\\*/g'
 
4695
 
 
4696
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
4697
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 
4698
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 
4699
 
 
4700
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
 
4701
$as_echo_n "checking how to print strings... " >&6; }
 
4702
# Test print first, because it will be a builtin if present.
 
4703
if test "X`print -r -- -n 2>/dev/null`" = X-n && \
 
4704
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
 
4705
  ECHO='print -r --'
 
4706
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
 
4707
  ECHO='printf %s\n'
 
4708
else
 
4709
  # Use this function as a fallback that always works.
 
4710
  func_fallback_echo ()
 
4711
  {
 
4712
    eval 'cat <<_LTECHO_EOF
 
4713
$1
 
4714
_LTECHO_EOF'
 
4715
  }
 
4716
  ECHO='func_fallback_echo'
 
4717
fi
 
4718
 
 
4719
# func_echo_all arg...
 
4720
# Invoke $ECHO with all args, space-separated.
 
4721
func_echo_all ()
 
4722
{
 
4723
    $ECHO ""
 
4724
}
 
4725
 
 
4726
case "$ECHO" in
 
4727
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
 
4728
$as_echo "printf" >&6; } ;;
 
4729
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
 
4730
$as_echo "print -r" >&6; } ;;
 
4731
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
 
4732
$as_echo "cat" >&6; } ;;
 
4733
esac
 
4734
 
 
4735
 
 
4736
 
 
4737
 
 
4738
 
 
4739
 
 
4740
 
 
4741
 
 
4742
 
 
4743
 
 
4744
 
 
4745
 
 
4746
 
 
4747
 
 
4748
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4972
4749
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4973
 
if test "${ac_cv_path_SED+set}" = set; then
 
4750
if test "${ac_cv_path_SED+set}" = set; then :
4974
4751
  $as_echo_n "(cached) " >&6
4975
4752
else
4976
4753
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4978
4755
       ac_script="$ac_script$as_nl$ac_script"
4979
4756
     done
4980
4757
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4981
 
     $as_unset ac_script || ac_script=
 
4758
     { ac_script=; unset ac_script;}
4982
4759
     if test -z "$SED"; then
4983
4760
  ac_path_SED_found=false
4984
4761
  # Loop through the user's path and test for each of PROGNAME-LIST
4987
4764
do
4988
4765
  IFS=$as_save_IFS
4989
4766
  test -z "$as_dir" && as_dir=.
4990
 
  for ac_prog in sed gsed; do
 
4767
    for ac_prog in sed gsed; do
4991
4768
    for ac_exec_ext in '' $ac_executable_extensions; do
4992
4769
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4993
4770
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5007
4784
    $as_echo '' >> "conftest.nl"
5008
4785
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5009
4786
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5010
 
    ac_count=`expr $ac_count + 1`
 
4787
    as_fn_arith $ac_count + 1 && ac_count=$as_val
5011
4788
    if test $ac_count -gt ${ac_path_SED_max-0}; then
5012
4789
      # Best one so far, save it but keep looking for a better one
5013
4790
      ac_cv_path_SED="$ac_path_SED"
5022
4799
      $ac_path_SED_found && break 3
5023
4800
    done
5024
4801
  done
5025
 
done
 
4802
  done
5026
4803
IFS=$as_save_IFS
5027
4804
  if test -z "$ac_cv_path_SED"; then
5028
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
5029
 
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
5030
 
   { (exit 1); exit 1; }; }
 
4805
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5031
4806
  fi
5032
4807
else
5033
4808
  ac_cv_path_SED=$SED
5034
4809
fi
5035
4810
 
5036
4811
fi
5037
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
 
4812
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5038
4813
$as_echo "$ac_cv_path_SED" >&6; }
5039
4814
 SED="$ac_cv_path_SED"
5040
4815
  rm -f conftest.sed
5052
4827
 
5053
4828
 
5054
4829
 
5055
 
{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
 
4830
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5056
4831
$as_echo_n "checking for fgrep... " >&6; }
5057
 
if test "${ac_cv_path_FGREP+set}" = set; then
 
4832
if test "${ac_cv_path_FGREP+set}" = set; then :
5058
4833
  $as_echo_n "(cached) " >&6
5059
4834
else
5060
4835
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5068
4843
do
5069
4844
  IFS=$as_save_IFS
5070
4845
  test -z "$as_dir" && as_dir=.
5071
 
  for ac_prog in fgrep; do
 
4846
    for ac_prog in fgrep; do
5072
4847
    for ac_exec_ext in '' $ac_executable_extensions; do
5073
4848
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5074
4849
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5088
4863
    $as_echo 'FGREP' >> "conftest.nl"
5089
4864
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5090
4865
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5091
 
    ac_count=`expr $ac_count + 1`
 
4866
    as_fn_arith $ac_count + 1 && ac_count=$as_val
5092
4867
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5093
4868
      # Best one so far, save it but keep looking for a better one
5094
4869
      ac_cv_path_FGREP="$ac_path_FGREP"
5103
4878
      $ac_path_FGREP_found && break 3
5104
4879
    done
5105
4880
  done
5106
 
done
 
4881
  done
5107
4882
IFS=$as_save_IFS
5108
4883
  if test -z "$ac_cv_path_FGREP"; then
5109
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5110
 
$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5111
 
   { (exit 1); exit 1; }; }
 
4884
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5112
4885
  fi
5113
4886
else
5114
4887
  ac_cv_path_FGREP=$FGREP
5116
4889
 
5117
4890
   fi
5118
4891
fi
5119
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
 
4892
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5120
4893
$as_echo "$ac_cv_path_FGREP" >&6; }
5121
4894
 FGREP="$ac_cv_path_FGREP"
5122
4895
 
5142
4915
 
5143
4916
 
5144
4917
# Check whether --with-gnu-ld was given.
5145
 
if test "${with_gnu_ld+set}" = set; then
 
4918
if test "${with_gnu_ld+set}" = set; then :
5146
4919
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5147
4920
else
5148
4921
  with_gnu_ld=no
5151
4924
ac_prog=ld
5152
4925
if test "$GCC" = yes; then
5153
4926
  # Check if gcc -print-prog-name=ld gives a path.
5154
 
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
4927
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5155
4928
$as_echo_n "checking for ld used by $CC... " >&6; }
5156
4929
  case $host in
5157
4930
  *-*-mingw*)
5181
4954
    ;;
5182
4955
  esac
5183
4956
elif test "$with_gnu_ld" = yes; then
5184
 
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 
4957
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5185
4958
$as_echo_n "checking for GNU ld... " >&6; }
5186
4959
else
5187
 
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
4960
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5188
4961
$as_echo_n "checking for non-GNU ld... " >&6; }
5189
4962
fi
5190
 
if test "${lt_cv_path_LD+set}" = set; then
 
4963
if test "${lt_cv_path_LD+set}" = set; then :
5191
4964
  $as_echo_n "(cached) " >&6
5192
4965
else
5193
4966
  if test -z "$LD"; then
5218
4991
 
5219
4992
LD="$lt_cv_path_LD"
5220
4993
if test -n "$LD"; then
5221
 
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
 
4994
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5222
4995
$as_echo "$LD" >&6; }
5223
4996
else
5224
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4997
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5225
4998
$as_echo "no" >&6; }
5226
4999
fi
5227
 
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5228
 
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5229
 
   { (exit 1); exit 1; }; }
5230
 
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
5000
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
 
5001
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5231
5002
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5232
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
 
5003
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5233
5004
  $as_echo_n "(cached) " >&6
5234
5005
else
5235
5006
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5242
5013
  ;;
5243
5014
esac
5244
5015
fi
5245
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
5016
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5246
5017
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5247
5018
with_gnu_ld=$lt_cv_prog_gnu_ld
5248
5019
 
5254
5025
 
5255
5026
 
5256
5027
 
5257
 
{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
 
5028
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5258
5029
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5259
 
if test "${lt_cv_path_NM+set}" = set; then
 
5030
if test "${lt_cv_path_NM+set}" = set; then :
5260
5031
  $as_echo_n "(cached) " >&6
5261
5032
else
5262
5033
  if test -n "$NM"; then
5303
5074
  : ${lt_cv_path_NM=no}
5304
5075
fi
5305
5076
fi
5306
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
5077
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5307
5078
$as_echo "$lt_cv_path_NM" >&6; }
5308
5079
if test "$lt_cv_path_NM" != "no"; then
5309
5080
  NM="$lt_cv_path_NM"
5310
5081
else
5311
5082
  # Didn't find any BSD compatible name lister, look for dumpbin.
5312
 
  if test -n "$ac_tool_prefix"; then
5313
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
5083
  if test -n "$DUMPBIN"; then :
 
5084
    # Let the user override the test.
 
5085
  else
 
5086
    if test -n "$ac_tool_prefix"; then
 
5087
  for ac_prog in dumpbin "link -dump"
5314
5088
  do
5315
5089
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5316
5090
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5317
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5091
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5318
5092
$as_echo_n "checking for $ac_word... " >&6; }
5319
 
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
 
5093
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5320
5094
  $as_echo_n "(cached) " >&6
5321
5095
else
5322
5096
  if test -n "$DUMPBIN"; then
5327
5101
do
5328
5102
  IFS=$as_save_IFS
5329
5103
  test -z "$as_dir" && as_dir=.
5330
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5104
    for ac_exec_ext in '' $ac_executable_extensions; do
5331
5105
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5332
5106
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5333
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5107
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5334
5108
    break 2
5335
5109
  fi
5336
5110
done
5337
 
done
 
5111
  done
5338
5112
IFS=$as_save_IFS
5339
5113
 
5340
5114
fi
5341
5115
fi
5342
5116
DUMPBIN=$ac_cv_prog_DUMPBIN
5343
5117
if test -n "$DUMPBIN"; then
5344
 
  { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
 
5118
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5345
5119
$as_echo "$DUMPBIN" >&6; }
5346
5120
else
5347
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5121
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5348
5122
$as_echo "no" >&6; }
5349
5123
fi
5350
5124
 
5354
5128
fi
5355
5129
if test -z "$DUMPBIN"; then
5356
5130
  ac_ct_DUMPBIN=$DUMPBIN
5357
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
5131
  for ac_prog in dumpbin "link -dump"
5358
5132
do
5359
5133
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5360
5134
set dummy $ac_prog; ac_word=$2
5361
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5135
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5362
5136
$as_echo_n "checking for $ac_word... " >&6; }
5363
 
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
 
5137
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5364
5138
  $as_echo_n "(cached) " >&6
5365
5139
else
5366
5140
  if test -n "$ac_ct_DUMPBIN"; then
5371
5145
do
5372
5146
  IFS=$as_save_IFS
5373
5147
  test -z "$as_dir" && as_dir=.
5374
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5148
    for ac_exec_ext in '' $ac_executable_extensions; do
5375
5149
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5376
5150
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5377
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5151
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5378
5152
    break 2
5379
5153
  fi
5380
5154
done
5381
 
done
 
5155
  done
5382
5156
IFS=$as_save_IFS
5383
5157
 
5384
5158
fi
5385
5159
fi
5386
5160
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5387
5161
if test -n "$ac_ct_DUMPBIN"; then
5388
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
 
5162
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5389
5163
$as_echo "$ac_ct_DUMPBIN" >&6; }
5390
5164
else
5391
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5165
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5392
5166
$as_echo "no" >&6; }
5393
5167
fi
5394
5168
 
5401
5175
  else
5402
5176
    case $cross_compiling:$ac_tool_warned in
5403
5177
yes:)
5404
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5178
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5405
5179
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5406
5180
ac_tool_warned=yes ;;
5407
5181
esac
5409
5183
  fi
5410
5184
fi
5411
5185
 
 
5186
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
 
5187
    *COFF*)
 
5188
      DUMPBIN="$DUMPBIN -symbols"
 
5189
      ;;
 
5190
    *)
 
5191
      DUMPBIN=:
 
5192
      ;;
 
5193
    esac
 
5194
  fi
5412
5195
 
5413
5196
  if test "$DUMPBIN" != ":"; then
5414
5197
    NM="$DUMPBIN"
5421
5204
 
5422
5205
 
5423
5206
 
5424
 
{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
 
5207
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5425
5208
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5426
 
if test "${lt_cv_nm_interface+set}" = set; then
 
5209
if test "${lt_cv_nm_interface+set}" = set; then :
5427
5210
  $as_echo_n "(cached) " >&6
5428
5211
else
5429
5212
  lt_cv_nm_interface="BSD nm"
5430
5213
  echo "int some_variable = 0;" > conftest.$ac_ext
5431
 
  (eval echo "\"\$as_me:5431: $ac_compile\"" >&5)
 
5214
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5432
5215
  (eval "$ac_compile" 2>conftest.err)
5433
5216
  cat conftest.err >&5
5434
 
  (eval echo "\"\$as_me:5434: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
5217
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5435
5218
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5436
5219
  cat conftest.err >&5
5437
 
  (eval echo "\"\$as_me:5437: output\"" >&5)
 
5220
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5438
5221
  cat conftest.out >&5
5439
5222
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5440
5223
    lt_cv_nm_interface="MS dumpbin"
5441
5224
  fi
5442
5225
  rm -f conftest*
5443
5226
fi
5444
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
 
5227
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5445
5228
$as_echo "$lt_cv_nm_interface" >&6; }
5446
5229
 
5447
 
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
5230
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5448
5231
$as_echo_n "checking whether ln -s works... " >&6; }
5449
5232
LN_S=$as_ln_s
5450
5233
if test "$LN_S" = "ln -s"; then
5451
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
5234
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5452
5235
$as_echo "yes" >&6; }
5453
5236
else
5454
 
  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
5237
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5455
5238
$as_echo "no, using $LN_S" >&6; }
5456
5239
fi
5457
5240
 
5458
5241
# find the maximum length of command line arguments
5459
 
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
5242
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5460
5243
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5461
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
 
5244
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5462
5245
  $as_echo_n "(cached) " >&6
5463
5246
else
5464
5247
    i=0
5491
5274
    lt_cv_sys_max_cmd_len=8192;
5492
5275
    ;;
5493
5276
 
 
5277
  mint*)
 
5278
    # On MiNT this can take a long time and run out of memory.
 
5279
    lt_cv_sys_max_cmd_len=8192;
 
5280
    ;;
 
5281
 
5494
5282
  amigaos*)
5495
5283
    # On AmigaOS with pdksh, this test takes hours, literally.
5496
5284
    # So we just punt and use a minimum line length of 8192.
5555
5343
      # If test is not a shell built-in, we'll probably end up computing a
5556
5344
      # maximum length that is only half of the actual maximum length, but
5557
5345
      # we can't tell.
5558
 
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5559
 
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
5346
      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
 
5347
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5560
5348
              test $i != 17 # 1/2 MB should be enough
5561
5349
      do
5562
5350
        i=`expr $i + 1`
5576
5364
fi
5577
5365
 
5578
5366
if test -n $lt_cv_sys_max_cmd_len ; then
5579
 
  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
5367
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5580
5368
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5581
5369
else
5582
 
  { $as_echo "$as_me:$LINENO: result: none" >&5
 
5370
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5583
5371
$as_echo "none" >&6; }
5584
5372
fi
5585
5373
max_cmd_len=$lt_cv_sys_max_cmd_len
5593
5381
: ${MV="mv -f"}
5594
5382
: ${RM="rm -f"}
5595
5383
 
5596
 
{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
 
5384
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5597
5385
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5598
5386
# Try some XSI features
5599
5387
xsi_shell=no
5603
5391
    && eval 'test $(( 1 + 1 )) -eq 2 \
5604
5392
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5605
5393
  && xsi_shell=yes
5606
 
{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
 
5394
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5607
5395
$as_echo "$xsi_shell" >&6; }
5608
5396
 
5609
5397
 
5610
 
{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
 
5398
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5611
5399
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5612
5400
lt_shell_append=no
5613
5401
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5614
5402
    >/dev/null 2>&1 \
5615
5403
  && lt_shell_append=yes
5616
 
{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
 
5404
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5617
5405
$as_echo "$lt_shell_append" >&6; }
5618
5406
 
5619
5407
 
5648
5436
 
5649
5437
 
5650
5438
 
5651
 
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
5439
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5652
5440
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5653
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
 
5441
if test "${lt_cv_ld_reload_flag+set}" = set; then :
5654
5442
  $as_echo_n "(cached) " >&6
5655
5443
else
5656
5444
  lt_cv_ld_reload_flag='-r'
5657
5445
fi
5658
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
5446
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5659
5447
$as_echo "$lt_cv_ld_reload_flag" >&6; }
5660
5448
reload_flag=$lt_cv_ld_reload_flag
5661
5449
case $reload_flag in
5684
5472
if test -n "$ac_tool_prefix"; then
5685
5473
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5686
5474
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5687
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5475
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5688
5476
$as_echo_n "checking for $ac_word... " >&6; }
5689
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
 
5477
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5690
5478
  $as_echo_n "(cached) " >&6
5691
5479
else
5692
5480
  if test -n "$OBJDUMP"; then
5697
5485
do
5698
5486
  IFS=$as_save_IFS
5699
5487
  test -z "$as_dir" && as_dir=.
5700
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5488
    for ac_exec_ext in '' $ac_executable_extensions; do
5701
5489
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5702
5490
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5703
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5491
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5704
5492
    break 2
5705
5493
  fi
5706
5494
done
5707
 
done
 
5495
  done
5708
5496
IFS=$as_save_IFS
5709
5497
 
5710
5498
fi
5711
5499
fi
5712
5500
OBJDUMP=$ac_cv_prog_OBJDUMP
5713
5501
if test -n "$OBJDUMP"; then
5714
 
  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
 
5502
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5715
5503
$as_echo "$OBJDUMP" >&6; }
5716
5504
else
5717
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5505
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5718
5506
$as_echo "no" >&6; }
5719
5507
fi
5720
5508
 
5724
5512
  ac_ct_OBJDUMP=$OBJDUMP
5725
5513
  # Extract the first word of "objdump", so it can be a program name with args.
5726
5514
set dummy objdump; ac_word=$2
5727
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5515
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5728
5516
$as_echo_n "checking for $ac_word... " >&6; }
5729
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
 
5517
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5730
5518
  $as_echo_n "(cached) " >&6
5731
5519
else
5732
5520
  if test -n "$ac_ct_OBJDUMP"; then
5737
5525
do
5738
5526
  IFS=$as_save_IFS
5739
5527
  test -z "$as_dir" && as_dir=.
5740
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5528
    for ac_exec_ext in '' $ac_executable_extensions; do
5741
5529
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5742
5530
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5743
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5531
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5744
5532
    break 2
5745
5533
  fi
5746
5534
done
5747
 
done
 
5535
  done
5748
5536
IFS=$as_save_IFS
5749
5537
 
5750
5538
fi
5751
5539
fi
5752
5540
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5753
5541
if test -n "$ac_ct_OBJDUMP"; then
5754
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
 
5542
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5755
5543
$as_echo "$ac_ct_OBJDUMP" >&6; }
5756
5544
else
5757
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5545
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5758
5546
$as_echo "no" >&6; }
5759
5547
fi
5760
5548
 
5763
5551
  else
5764
5552
    case $cross_compiling:$ac_tool_warned in
5765
5553
yes:)
5766
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5554
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5767
5555
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5768
5556
ac_tool_warned=yes ;;
5769
5557
esac
5783
5571
 
5784
5572
 
5785
5573
 
5786
 
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 
5574
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5787
5575
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5788
 
if test "${lt_cv_deplibs_check_method+set}" = set; then
 
5576
if test "${lt_cv_deplibs_check_method+set}" = set; then :
5789
5577
  $as_echo_n "(cached) " >&6
5790
5578
else
5791
5579
  lt_cv_file_magic_cmd='$MAGIC_CMD'
5827
5615
  # Base MSYS/MinGW do not provide the 'file' command needed by
5828
5616
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5829
5617
  # unless we find 'file', for example because we are cross-compiling.
5830
 
  if ( file / ) >/dev/null 2>&1; then
 
5618
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
 
5619
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5831
5620
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5832
5621
    lt_cv_file_magic_cmd='func_win32_libid'
5833
5622
  else
5834
 
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
5623
    # Keep this pattern in sync with the one in func_win32_libid.
 
5624
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5835
5625
    lt_cv_file_magic_cmd='$OBJDUMP -f'
5836
5626
  fi
5837
5627
  ;;
5838
5628
 
5839
 
cegcc)
 
5629
cegcc*)
5840
5630
  # use the weaker test based on 'objdump'. See mingw*.
5841
5631
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5842
5632
  lt_cv_file_magic_cmd='$OBJDUMP -f'
5866
5656
  lt_cv_deplibs_check_method=pass_all
5867
5657
  ;;
5868
5658
 
 
5659
haiku*)
 
5660
  lt_cv_deplibs_check_method=pass_all
 
5661
  ;;
 
5662
 
5869
5663
hpux10.20* | hpux11*)
5870
5664
  lt_cv_file_magic_cmd=/usr/bin/file
5871
5665
  case $host_cpu in
5874
5668
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5875
5669
    ;;
5876
5670
  hppa*64*)
5877
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
 
5671
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5878
5672
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5879
5673
    ;;
5880
5674
  *)
5881
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
 
5675
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5882
5676
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5883
5677
    ;;
5884
5678
  esac
5900
5694
  ;;
5901
5695
 
5902
5696
# This must be Linux ELF.
5903
 
linux* | k*bsd*-gnu)
 
5697
linux* | k*bsd*-gnu | kopensolaris*-gnu)
5904
5698
  lt_cv_deplibs_check_method=pass_all
5905
5699
  ;;
5906
5700
 
5979
5773
esac
5980
5774
 
5981
5775
fi
5982
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
5776
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5983
5777
$as_echo "$lt_cv_deplibs_check_method" >&6; }
5984
5778
file_magic_cmd=$lt_cv_file_magic_cmd
5985
5779
deplibs_check_method=$lt_cv_deplibs_check_method
5999
5793
if test -n "$ac_tool_prefix"; then
6000
5794
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6001
5795
set dummy ${ac_tool_prefix}ar; ac_word=$2
6002
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5796
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6003
5797
$as_echo_n "checking for $ac_word... " >&6; }
6004
 
if test "${ac_cv_prog_AR+set}" = set; then
 
5798
if test "${ac_cv_prog_AR+set}" = set; then :
6005
5799
  $as_echo_n "(cached) " >&6
6006
5800
else
6007
5801
  if test -n "$AR"; then
6012
5806
do
6013
5807
  IFS=$as_save_IFS
6014
5808
  test -z "$as_dir" && as_dir=.
6015
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5809
    for ac_exec_ext in '' $ac_executable_extensions; do
6016
5810
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6017
5811
    ac_cv_prog_AR="${ac_tool_prefix}ar"
6018
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5812
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6019
5813
    break 2
6020
5814
  fi
6021
5815
done
6022
 
done
 
5816
  done
6023
5817
IFS=$as_save_IFS
6024
5818
 
6025
5819
fi
6026
5820
fi
6027
5821
AR=$ac_cv_prog_AR
6028
5822
if test -n "$AR"; then
6029
 
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
 
5823
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6030
5824
$as_echo "$AR" >&6; }
6031
5825
else
6032
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5826
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6033
5827
$as_echo "no" >&6; }
6034
5828
fi
6035
5829
 
6039
5833
  ac_ct_AR=$AR
6040
5834
  # Extract the first word of "ar", so it can be a program name with args.
6041
5835
set dummy ar; ac_word=$2
6042
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5836
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6043
5837
$as_echo_n "checking for $ac_word... " >&6; }
6044
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
 
5838
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6045
5839
  $as_echo_n "(cached) " >&6
6046
5840
else
6047
5841
  if test -n "$ac_ct_AR"; then
6052
5846
do
6053
5847
  IFS=$as_save_IFS
6054
5848
  test -z "$as_dir" && as_dir=.
6055
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5849
    for ac_exec_ext in '' $ac_executable_extensions; do
6056
5850
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6057
5851
    ac_cv_prog_ac_ct_AR="ar"
6058
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5852
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6059
5853
    break 2
6060
5854
  fi
6061
5855
done
6062
 
done
 
5856
  done
6063
5857
IFS=$as_save_IFS
6064
5858
 
6065
5859
fi
6066
5860
fi
6067
5861
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6068
5862
if test -n "$ac_ct_AR"; then
6069
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
5863
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6070
5864
$as_echo "$ac_ct_AR" >&6; }
6071
5865
else
6072
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5866
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6073
5867
$as_echo "no" >&6; }
6074
5868
fi
6075
5869
 
6078
5872
  else
6079
5873
    case $cross_compiling:$ac_tool_warned in
6080
5874
yes:)
6081
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5875
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6082
5876
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6083
5877
ac_tool_warned=yes ;;
6084
5878
esac
6104
5898
if test -n "$ac_tool_prefix"; then
6105
5899
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6106
5900
set dummy ${ac_tool_prefix}strip; ac_word=$2
6107
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5901
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6108
5902
$as_echo_n "checking for $ac_word... " >&6; }
6109
 
if test "${ac_cv_prog_STRIP+set}" = set; then
 
5903
if test "${ac_cv_prog_STRIP+set}" = set; then :
6110
5904
  $as_echo_n "(cached) " >&6
6111
5905
else
6112
5906
  if test -n "$STRIP"; then
6117
5911
do
6118
5912
  IFS=$as_save_IFS
6119
5913
  test -z "$as_dir" && as_dir=.
6120
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5914
    for ac_exec_ext in '' $ac_executable_extensions; do
6121
5915
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6122
5916
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6123
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5917
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6124
5918
    break 2
6125
5919
  fi
6126
5920
done
6127
 
done
 
5921
  done
6128
5922
IFS=$as_save_IFS
6129
5923
 
6130
5924
fi
6131
5925
fi
6132
5926
STRIP=$ac_cv_prog_STRIP
6133
5927
if test -n "$STRIP"; then
6134
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
5928
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6135
5929
$as_echo "$STRIP" >&6; }
6136
5930
else
6137
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5931
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6138
5932
$as_echo "no" >&6; }
6139
5933
fi
6140
5934
 
6144
5938
  ac_ct_STRIP=$STRIP
6145
5939
  # Extract the first word of "strip", so it can be a program name with args.
6146
5940
set dummy strip; ac_word=$2
6147
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5941
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6148
5942
$as_echo_n "checking for $ac_word... " >&6; }
6149
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
5943
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6150
5944
  $as_echo_n "(cached) " >&6
6151
5945
else
6152
5946
  if test -n "$ac_ct_STRIP"; then
6157
5951
do
6158
5952
  IFS=$as_save_IFS
6159
5953
  test -z "$as_dir" && as_dir=.
6160
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5954
    for ac_exec_ext in '' $ac_executable_extensions; do
6161
5955
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6162
5956
    ac_cv_prog_ac_ct_STRIP="strip"
6163
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5957
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6164
5958
    break 2
6165
5959
  fi
6166
5960
done
6167
 
done
 
5961
  done
6168
5962
IFS=$as_save_IFS
6169
5963
 
6170
5964
fi
6171
5965
fi
6172
5966
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6173
5967
if test -n "$ac_ct_STRIP"; then
6174
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
5968
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6175
5969
$as_echo "$ac_ct_STRIP" >&6; }
6176
5970
else
6177
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5971
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6178
5972
$as_echo "no" >&6; }
6179
5973
fi
6180
5974
 
6183
5977
  else
6184
5978
    case $cross_compiling:$ac_tool_warned in
6185
5979
yes:)
6186
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5980
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6187
5981
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6188
5982
ac_tool_warned=yes ;;
6189
5983
esac
6203
5997
if test -n "$ac_tool_prefix"; then
6204
5998
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6205
5999
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6206
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6000
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6207
6001
$as_echo_n "checking for $ac_word... " >&6; }
6208
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
 
6002
if test "${ac_cv_prog_RANLIB+set}" = set; then :
6209
6003
  $as_echo_n "(cached) " >&6
6210
6004
else
6211
6005
  if test -n "$RANLIB"; then
6216
6010
do
6217
6011
  IFS=$as_save_IFS
6218
6012
  test -z "$as_dir" && as_dir=.
6219
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6013
    for ac_exec_ext in '' $ac_executable_extensions; do
6220
6014
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6221
6015
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6222
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6016
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6223
6017
    break 2
6224
6018
  fi
6225
6019
done
6226
 
done
 
6020
  done
6227
6021
IFS=$as_save_IFS
6228
6022
 
6229
6023
fi
6230
6024
fi
6231
6025
RANLIB=$ac_cv_prog_RANLIB
6232
6026
if test -n "$RANLIB"; then
6233
 
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
 
6027
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6234
6028
$as_echo "$RANLIB" >&6; }
6235
6029
else
6236
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6030
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6237
6031
$as_echo "no" >&6; }
6238
6032
fi
6239
6033
 
6243
6037
  ac_ct_RANLIB=$RANLIB
6244
6038
  # Extract the first word of "ranlib", so it can be a program name with args.
6245
6039
set dummy ranlib; ac_word=$2
6246
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6040
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6247
6041
$as_echo_n "checking for $ac_word... " >&6; }
6248
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 
6042
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6249
6043
  $as_echo_n "(cached) " >&6
6250
6044
else
6251
6045
  if test -n "$ac_ct_RANLIB"; then
6256
6050
do
6257
6051
  IFS=$as_save_IFS
6258
6052
  test -z "$as_dir" && as_dir=.
6259
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6053
    for ac_exec_ext in '' $ac_executable_extensions; do
6260
6054
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6261
6055
    ac_cv_prog_ac_ct_RANLIB="ranlib"
6262
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6056
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6263
6057
    break 2
6264
6058
  fi
6265
6059
done
6266
 
done
 
6060
  done
6267
6061
IFS=$as_save_IFS
6268
6062
 
6269
6063
fi
6270
6064
fi
6271
6065
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6272
6066
if test -n "$ac_ct_RANLIB"; then
6273
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
6067
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6274
6068
$as_echo "$ac_ct_RANLIB" >&6; }
6275
6069
else
6276
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6070
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6277
6071
$as_echo "no" >&6; }
6278
6072
fi
6279
6073
 
6282
6076
  else
6283
6077
    case $cross_compiling:$ac_tool_warned in
6284
6078
yes:)
6285
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6079
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6286
6080
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6287
6081
ac_tool_warned=yes ;;
6288
6082
esac
6316
6110
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6317
6111
fi
6318
6112
 
 
6113
case $host_os in
 
6114
  darwin*)
 
6115
    lock_old_archive_extraction=yes ;;
 
6116
  *)
 
6117
    lock_old_archive_extraction=no ;;
 
6118
esac
 
6119
 
 
6120
 
 
6121
 
 
6122
 
 
6123
 
 
6124
 
6319
6125
 
6320
6126
 
6321
6127
 
6360
6166
 
6361
6167
 
6362
6168
# Check for command to grab the raw symbol name followed by C symbol from nm.
6363
 
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
6169
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6364
6170
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6365
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
 
6171
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6366
6172
  $as_echo_n "(cached) " >&6
6367
6173
else
6368
6174
 
6478
6284
int main(){nm_test_var='a';nm_test_func();return(0);}
6479
6285
_LT_EOF
6480
6286
 
6481
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6287
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6482
6288
  (eval $ac_compile) 2>&5
6483
6289
  ac_status=$?
6484
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6485
 
  (exit $ac_status); }; then
 
6290
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6291
  test $ac_status = 0; }; then
6486
6292
    # Now try to grab the symbols.
6487
6293
    nlist=conftest.nm
6488
 
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6489
 
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
 
6294
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
 
6295
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6490
6296
  ac_status=$?
6491
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6492
 
  (exit $ac_status); } && test -s "$nlist"; then
 
6297
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6298
  test $ac_status = 0; } && test -s "$nlist"; then
6493
6299
      # Try sorting and uniquifying the output.
6494
6300
      if sort "$nlist" | uniq > "$nlist"T; then
6495
6301
        mv -f "$nlist"T "$nlist"
6542
6348
          lt_save_CFLAGS="$CFLAGS"
6543
6349
          LIBS="conftstm.$ac_objext"
6544
6350
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6545
 
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
6351
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6546
6352
  (eval $ac_link) 2>&5
6547
6353
  ac_status=$?
6548
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6549
 
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
 
6354
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6355
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6550
6356
            pipe_works=yes
6551
6357
          fi
6552
6358
          LIBS="$lt_save_LIBS"
6580
6386
  lt_cv_sys_global_symbol_to_cdecl=
6581
6387
fi
6582
6388
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6583
 
  { $as_echo "$as_me:$LINENO: result: failed" >&5
 
6389
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6584
6390
$as_echo "failed" >&6; }
6585
6391
else
6586
 
  { $as_echo "$as_me:$LINENO: result: ok" >&5
 
6392
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6587
6393
$as_echo "ok" >&6; }
6588
6394
fi
6589
6395
 
6609
6415
 
6610
6416
 
6611
6417
# Check whether --enable-libtool-lock was given.
6612
 
if test "${enable_libtool_lock+set}" = set; then
 
6418
if test "${enable_libtool_lock+set}" = set; then :
6613
6419
  enableval=$enable_libtool_lock;
6614
6420
fi
6615
6421
 
6621
6427
ia64-*-hpux*)
6622
6428
  # Find out which ABI we are using.
6623
6429
  echo 'int i;' > conftest.$ac_ext
6624
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6430
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6625
6431
  (eval $ac_compile) 2>&5
6626
6432
  ac_status=$?
6627
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6628
 
  (exit $ac_status); }; then
 
6433
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6434
  test $ac_status = 0; }; then
6629
6435
    case `/usr/bin/file conftest.$ac_objext` in
6630
6436
      *ELF-32*)
6631
6437
        HPUX_IA64_MODE="32"
6639
6445
  ;;
6640
6446
*-*-irix6*)
6641
6447
  # Find out which ABI we are using.
6642
 
  echo '#line 6642 "configure"' > conftest.$ac_ext
6643
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6448
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
 
6449
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6644
6450
  (eval $ac_compile) 2>&5
6645
6451
  ac_status=$?
6646
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6647
 
  (exit $ac_status); }; then
 
6452
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6453
  test $ac_status = 0; }; then
6648
6454
    if test "$lt_cv_prog_gnu_ld" = yes; then
6649
6455
      case `/usr/bin/file conftest.$ac_objext` in
6650
6456
        *32-bit*)
6678
6484
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6679
6485
  # Find out which ABI we are using.
6680
6486
  echo 'int i;' > conftest.$ac_ext
6681
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6487
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6682
6488
  (eval $ac_compile) 2>&5
6683
6489
  ac_status=$?
6684
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6685
 
  (exit $ac_status); }; then
 
6490
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6491
  test $ac_status = 0; }; then
6686
6492
    case `/usr/bin/file conftest.o` in
6687
6493
      *32-bit*)
6688
6494
        case $host in
6731
6537
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6732
6538
  SAVE_CFLAGS="$CFLAGS"
6733
6539
  CFLAGS="$CFLAGS -belf"
6734
 
  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
6540
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6735
6541
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6736
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
 
6542
if test "${lt_cv_cc_needs_belf+set}" = set; then :
6737
6543
  $as_echo_n "(cached) " >&6
6738
6544
else
6739
6545
  ac_ext=c
6742
6548
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6743
6549
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6744
6550
 
6745
 
     cat >conftest.$ac_ext <<_ACEOF
6746
 
/* confdefs.h.  */
6747
 
_ACEOF
6748
 
cat confdefs.h >>conftest.$ac_ext
6749
 
cat >>conftest.$ac_ext <<_ACEOF
 
6551
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6750
6552
/* end confdefs.h.  */
6751
6553
 
6752
6554
int
6757
6559
  return 0;
6758
6560
}
6759
6561
_ACEOF
6760
 
rm -f conftest.$ac_objext conftest$ac_exeext
6761
 
if { (ac_try="$ac_link"
6762
 
case "(($ac_try" in
6763
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6764
 
  *) ac_try_echo=$ac_try;;
6765
 
esac
6766
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6767
 
$as_echo "$ac_try_echo") >&5
6768
 
  (eval "$ac_link") 2>conftest.er1
6769
 
  ac_status=$?
6770
 
  grep -v '^ *+' conftest.er1 >conftest.err
6771
 
  rm -f conftest.er1
6772
 
  cat conftest.err >&5
6773
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6774
 
  (exit $ac_status); } && {
6775
 
         test -z "$ac_c_werror_flag" ||
6776
 
         test ! -s conftest.err
6777
 
       } && test -s conftest$ac_exeext && {
6778
 
         test "$cross_compiling" = yes ||
6779
 
         $as_test_x conftest$ac_exeext
6780
 
       }; then
 
6562
if ac_fn_c_try_link "$LINENO"; then :
6781
6563
  lt_cv_cc_needs_belf=yes
6782
6564
else
6783
 
  $as_echo "$as_me: failed program was:" >&5
6784
 
sed 's/^/| /' conftest.$ac_ext >&5
6785
 
 
6786
 
        lt_cv_cc_needs_belf=no
 
6565
  lt_cv_cc_needs_belf=no
6787
6566
fi
6788
 
 
6789
 
rm -rf conftest.dSYM
6790
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6791
 
      conftest$ac_exeext conftest.$ac_ext
 
6567
rm -f core conftest.err conftest.$ac_objext \
 
6568
    conftest$ac_exeext conftest.$ac_ext
6792
6569
     ac_ext=c
6793
6570
ac_cpp='$CPP $CPPFLAGS'
6794
6571
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6796
6573
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6797
6574
 
6798
6575
fi
6799
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
6576
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6800
6577
$as_echo "$lt_cv_cc_needs_belf" >&6; }
6801
6578
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6802
6579
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6806
6583
sparc*-*solaris*)
6807
6584
  # Find out which ABI we are using.
6808
6585
  echo 'int i;' > conftest.$ac_ext
6809
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6586
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6810
6587
  (eval $ac_compile) 2>&5
6811
6588
  ac_status=$?
6812
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6813
 
  (exit $ac_status); }; then
 
6589
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6590
  test $ac_status = 0; }; then
6814
6591
    case `/usr/bin/file conftest.o` in
6815
6592
    *64-bit*)
6816
6593
      case $lt_cv_prog_gnu_ld in
6836
6613
    if test -n "$ac_tool_prefix"; then
6837
6614
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6838
6615
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6839
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6616
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6840
6617
$as_echo_n "checking for $ac_word... " >&6; }
6841
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
 
6618
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6842
6619
  $as_echo_n "(cached) " >&6
6843
6620
else
6844
6621
  if test -n "$DSYMUTIL"; then
6849
6626
do
6850
6627
  IFS=$as_save_IFS
6851
6628
  test -z "$as_dir" && as_dir=.
6852
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6629
    for ac_exec_ext in '' $ac_executable_extensions; do
6853
6630
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6854
6631
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6855
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6632
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6856
6633
    break 2
6857
6634
  fi
6858
6635
done
6859
 
done
 
6636
  done
6860
6637
IFS=$as_save_IFS
6861
6638
 
6862
6639
fi
6863
6640
fi
6864
6641
DSYMUTIL=$ac_cv_prog_DSYMUTIL
6865
6642
if test -n "$DSYMUTIL"; then
6866
 
  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
 
6643
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6867
6644
$as_echo "$DSYMUTIL" >&6; }
6868
6645
else
6869
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6646
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6870
6647
$as_echo "no" >&6; }
6871
6648
fi
6872
6649
 
6876
6653
  ac_ct_DSYMUTIL=$DSYMUTIL
6877
6654
  # Extract the first word of "dsymutil", so it can be a program name with args.
6878
6655
set dummy dsymutil; ac_word=$2
6879
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6656
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6880
6657
$as_echo_n "checking for $ac_word... " >&6; }
6881
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
 
6658
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6882
6659
  $as_echo_n "(cached) " >&6
6883
6660
else
6884
6661
  if test -n "$ac_ct_DSYMUTIL"; then
6889
6666
do
6890
6667
  IFS=$as_save_IFS
6891
6668
  test -z "$as_dir" && as_dir=.
6892
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6669
    for ac_exec_ext in '' $ac_executable_extensions; do
6893
6670
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6894
6671
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6895
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6672
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6896
6673
    break 2
6897
6674
  fi
6898
6675
done
6899
 
done
 
6676
  done
6900
6677
IFS=$as_save_IFS
6901
6678
 
6902
6679
fi
6903
6680
fi
6904
6681
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6905
6682
if test -n "$ac_ct_DSYMUTIL"; then
6906
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
 
6683
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6907
6684
$as_echo "$ac_ct_DSYMUTIL" >&6; }
6908
6685
else
6909
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6686
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6910
6687
$as_echo "no" >&6; }
6911
6688
fi
6912
6689
 
6915
6692
  else
6916
6693
    case $cross_compiling:$ac_tool_warned in
6917
6694
yes:)
6918
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6695
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6919
6696
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6920
6697
ac_tool_warned=yes ;;
6921
6698
esac
6928
6705
    if test -n "$ac_tool_prefix"; then
6929
6706
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6930
6707
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6931
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6708
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6932
6709
$as_echo_n "checking for $ac_word... " >&6; }
6933
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then
 
6710
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6934
6711
  $as_echo_n "(cached) " >&6
6935
6712
else
6936
6713
  if test -n "$NMEDIT"; then
6941
6718
do
6942
6719
  IFS=$as_save_IFS
6943
6720
  test -z "$as_dir" && as_dir=.
6944
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6721
    for ac_exec_ext in '' $ac_executable_extensions; do
6945
6722
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6946
6723
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6947
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6724
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6948
6725
    break 2
6949
6726
  fi
6950
6727
done
6951
 
done
 
6728
  done
6952
6729
IFS=$as_save_IFS
6953
6730
 
6954
6731
fi
6955
6732
fi
6956
6733
NMEDIT=$ac_cv_prog_NMEDIT
6957
6734
if test -n "$NMEDIT"; then
6958
 
  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
 
6735
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6959
6736
$as_echo "$NMEDIT" >&6; }
6960
6737
else
6961
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6738
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6962
6739
$as_echo "no" >&6; }
6963
6740
fi
6964
6741
 
6968
6745
  ac_ct_NMEDIT=$NMEDIT
6969
6746
  # Extract the first word of "nmedit", so it can be a program name with args.
6970
6747
set dummy nmedit; ac_word=$2
6971
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6748
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6972
6749
$as_echo_n "checking for $ac_word... " >&6; }
6973
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
 
6750
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6974
6751
  $as_echo_n "(cached) " >&6
6975
6752
else
6976
6753
  if test -n "$ac_ct_NMEDIT"; then
6981
6758
do
6982
6759
  IFS=$as_save_IFS
6983
6760
  test -z "$as_dir" && as_dir=.
6984
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6761
    for ac_exec_ext in '' $ac_executable_extensions; do
6985
6762
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6986
6763
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
6987
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6764
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6988
6765
    break 2
6989
6766
  fi
6990
6767
done
6991
 
done
 
6768
  done
6992
6769
IFS=$as_save_IFS
6993
6770
 
6994
6771
fi
6995
6772
fi
6996
6773
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6997
6774
if test -n "$ac_ct_NMEDIT"; then
6998
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
 
6775
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6999
6776
$as_echo "$ac_ct_NMEDIT" >&6; }
7000
6777
else
7001
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6778
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7002
6779
$as_echo "no" >&6; }
7003
6780
fi
7004
6781
 
7007
6784
  else
7008
6785
    case $cross_compiling:$ac_tool_warned in
7009
6786
yes:)
7010
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6787
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7011
6788
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7012
6789
ac_tool_warned=yes ;;
7013
6790
esac
7020
6797
    if test -n "$ac_tool_prefix"; then
7021
6798
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7022
6799
set dummy ${ac_tool_prefix}lipo; ac_word=$2
7023
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6800
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7024
6801
$as_echo_n "checking for $ac_word... " >&6; }
7025
 
if test "${ac_cv_prog_LIPO+set}" = set; then
 
6802
if test "${ac_cv_prog_LIPO+set}" = set; then :
7026
6803
  $as_echo_n "(cached) " >&6
7027
6804
else
7028
6805
  if test -n "$LIPO"; then
7033
6810
do
7034
6811
  IFS=$as_save_IFS
7035
6812
  test -z "$as_dir" && as_dir=.
7036
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6813
    for ac_exec_ext in '' $ac_executable_extensions; do
7037
6814
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7038
6815
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7039
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6816
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7040
6817
    break 2
7041
6818
  fi
7042
6819
done
7043
 
done
 
6820
  done
7044
6821
IFS=$as_save_IFS
7045
6822
 
7046
6823
fi
7047
6824
fi
7048
6825
LIPO=$ac_cv_prog_LIPO
7049
6826
if test -n "$LIPO"; then
7050
 
  { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
 
6827
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7051
6828
$as_echo "$LIPO" >&6; }
7052
6829
else
7053
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6830
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7054
6831
$as_echo "no" >&6; }
7055
6832
fi
7056
6833
 
7060
6837
  ac_ct_LIPO=$LIPO
7061
6838
  # Extract the first word of "lipo", so it can be a program name with args.
7062
6839
set dummy lipo; ac_word=$2
7063
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6840
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7064
6841
$as_echo_n "checking for $ac_word... " >&6; }
7065
 
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
 
6842
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7066
6843
  $as_echo_n "(cached) " >&6
7067
6844
else
7068
6845
  if test -n "$ac_ct_LIPO"; then
7073
6850
do
7074
6851
  IFS=$as_save_IFS
7075
6852
  test -z "$as_dir" && as_dir=.
7076
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6853
    for ac_exec_ext in '' $ac_executable_extensions; do
7077
6854
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7078
6855
    ac_cv_prog_ac_ct_LIPO="lipo"
7079
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6856
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7080
6857
    break 2
7081
6858
  fi
7082
6859
done
7083
 
done
 
6860
  done
7084
6861
IFS=$as_save_IFS
7085
6862
 
7086
6863
fi
7087
6864
fi
7088
6865
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7089
6866
if test -n "$ac_ct_LIPO"; then
7090
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
 
6867
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7091
6868
$as_echo "$ac_ct_LIPO" >&6; }
7092
6869
else
7093
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6870
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7094
6871
$as_echo "no" >&6; }
7095
6872
fi
7096
6873
 
7099
6876
  else
7100
6877
    case $cross_compiling:$ac_tool_warned in
7101
6878
yes:)
7102
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6879
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7103
6880
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7104
6881
ac_tool_warned=yes ;;
7105
6882
esac
7112
6889
    if test -n "$ac_tool_prefix"; then
7113
6890
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7114
6891
set dummy ${ac_tool_prefix}otool; ac_word=$2
7115
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6892
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7116
6893
$as_echo_n "checking for $ac_word... " >&6; }
7117
 
if test "${ac_cv_prog_OTOOL+set}" = set; then
 
6894
if test "${ac_cv_prog_OTOOL+set}" = set; then :
7118
6895
  $as_echo_n "(cached) " >&6
7119
6896
else
7120
6897
  if test -n "$OTOOL"; then
7125
6902
do
7126
6903
  IFS=$as_save_IFS
7127
6904
  test -z "$as_dir" && as_dir=.
7128
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6905
    for ac_exec_ext in '' $ac_executable_extensions; do
7129
6906
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7130
6907
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7131
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6908
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7132
6909
    break 2
7133
6910
  fi
7134
6911
done
7135
 
done
 
6912
  done
7136
6913
IFS=$as_save_IFS
7137
6914
 
7138
6915
fi
7139
6916
fi
7140
6917
OTOOL=$ac_cv_prog_OTOOL
7141
6918
if test -n "$OTOOL"; then
7142
 
  { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
 
6919
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7143
6920
$as_echo "$OTOOL" >&6; }
7144
6921
else
7145
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6922
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7146
6923
$as_echo "no" >&6; }
7147
6924
fi
7148
6925
 
7152
6929
  ac_ct_OTOOL=$OTOOL
7153
6930
  # Extract the first word of "otool", so it can be a program name with args.
7154
6931
set dummy otool; ac_word=$2
7155
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6932
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7156
6933
$as_echo_n "checking for $ac_word... " >&6; }
7157
 
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
 
6934
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7158
6935
  $as_echo_n "(cached) " >&6
7159
6936
else
7160
6937
  if test -n "$ac_ct_OTOOL"; then
7165
6942
do
7166
6943
  IFS=$as_save_IFS
7167
6944
  test -z "$as_dir" && as_dir=.
7168
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6945
    for ac_exec_ext in '' $ac_executable_extensions; do
7169
6946
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7170
6947
    ac_cv_prog_ac_ct_OTOOL="otool"
7171
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6948
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7172
6949
    break 2
7173
6950
  fi
7174
6951
done
7175
 
done
 
6952
  done
7176
6953
IFS=$as_save_IFS
7177
6954
 
7178
6955
fi
7179
6956
fi
7180
6957
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7181
6958
if test -n "$ac_ct_OTOOL"; then
7182
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
 
6959
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7183
6960
$as_echo "$ac_ct_OTOOL" >&6; }
7184
6961
else
7185
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6962
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7186
6963
$as_echo "no" >&6; }
7187
6964
fi
7188
6965
 
7191
6968
  else
7192
6969
    case $cross_compiling:$ac_tool_warned in
7193
6970
yes:)
7194
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6971
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7195
6972
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7196
6973
ac_tool_warned=yes ;;
7197
6974
esac
7204
6981
    if test -n "$ac_tool_prefix"; then
7205
6982
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7206
6983
set dummy ${ac_tool_prefix}otool64; ac_word=$2
7207
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6984
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7208
6985
$as_echo_n "checking for $ac_word... " >&6; }
7209
 
if test "${ac_cv_prog_OTOOL64+set}" = set; then
 
6986
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7210
6987
  $as_echo_n "(cached) " >&6
7211
6988
else
7212
6989
  if test -n "$OTOOL64"; then
7217
6994
do
7218
6995
  IFS=$as_save_IFS
7219
6996
  test -z "$as_dir" && as_dir=.
7220
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6997
    for ac_exec_ext in '' $ac_executable_extensions; do
7221
6998
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7222
6999
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7223
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7000
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7224
7001
    break 2
7225
7002
  fi
7226
7003
done
7227
 
done
 
7004
  done
7228
7005
IFS=$as_save_IFS
7229
7006
 
7230
7007
fi
7231
7008
fi
7232
7009
OTOOL64=$ac_cv_prog_OTOOL64
7233
7010
if test -n "$OTOOL64"; then
7234
 
  { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
 
7011
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7235
7012
$as_echo "$OTOOL64" >&6; }
7236
7013
else
7237
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7014
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7238
7015
$as_echo "no" >&6; }
7239
7016
fi
7240
7017
 
7244
7021
  ac_ct_OTOOL64=$OTOOL64
7245
7022
  # Extract the first word of "otool64", so it can be a program name with args.
7246
7023
set dummy otool64; ac_word=$2
7247
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7024
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7248
7025
$as_echo_n "checking for $ac_word... " >&6; }
7249
 
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
 
7026
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7250
7027
  $as_echo_n "(cached) " >&6
7251
7028
else
7252
7029
  if test -n "$ac_ct_OTOOL64"; then
7257
7034
do
7258
7035
  IFS=$as_save_IFS
7259
7036
  test -z "$as_dir" && as_dir=.
7260
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7037
    for ac_exec_ext in '' $ac_executable_extensions; do
7261
7038
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7262
7039
    ac_cv_prog_ac_ct_OTOOL64="otool64"
7263
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7040
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7264
7041
    break 2
7265
7042
  fi
7266
7043
done
7267
 
done
 
7044
  done
7268
7045
IFS=$as_save_IFS
7269
7046
 
7270
7047
fi
7271
7048
fi
7272
7049
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7273
7050
if test -n "$ac_ct_OTOOL64"; then
7274
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
 
7051
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7275
7052
$as_echo "$ac_ct_OTOOL64" >&6; }
7276
7053
else
7277
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7054
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7278
7055
$as_echo "no" >&6; }
7279
7056
fi
7280
7057
 
7283
7060
  else
7284
7061
    case $cross_compiling:$ac_tool_warned in
7285
7062
yes:)
7286
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7063
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7287
7064
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7288
7065
ac_tool_warned=yes ;;
7289
7066
esac
7319
7096
 
7320
7097
 
7321
7098
 
7322
 
    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
 
7099
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7323
7100
$as_echo_n "checking for -single_module linker flag... " >&6; }
7324
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
 
7101
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7325
7102
  $as_echo_n "(cached) " >&6
7326
7103
else
7327
7104
  lt_cv_apple_cc_single_mod=no
7346
7123
        rm -f conftest.*
7347
7124
      fi
7348
7125
fi
7349
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
 
7126
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7350
7127
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7351
 
    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
 
7128
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7352
7129
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7353
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
 
7130
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7354
7131
  $as_echo_n "(cached) " >&6
7355
7132
else
7356
7133
  lt_cv_ld_exported_symbols_list=no
7357
7134
      save_LDFLAGS=$LDFLAGS
7358
7135
      echo "_main" > conftest.sym
7359
7136
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7360
 
      cat >conftest.$ac_ext <<_ACEOF
7361
 
/* confdefs.h.  */
7362
 
_ACEOF
7363
 
cat confdefs.h >>conftest.$ac_ext
7364
 
cat >>conftest.$ac_ext <<_ACEOF
 
7137
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7365
7138
/* end confdefs.h.  */
7366
7139
 
7367
7140
int
7372
7145
  return 0;
7373
7146
}
7374
7147
_ACEOF
7375
 
rm -f conftest.$ac_objext conftest$ac_exeext
7376
 
if { (ac_try="$ac_link"
7377
 
case "(($ac_try" in
7378
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7379
 
  *) ac_try_echo=$ac_try;;
7380
 
esac
7381
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7382
 
$as_echo "$ac_try_echo") >&5
7383
 
  (eval "$ac_link") 2>conftest.er1
7384
 
  ac_status=$?
7385
 
  grep -v '^ *+' conftest.er1 >conftest.err
7386
 
  rm -f conftest.er1
7387
 
  cat conftest.err >&5
7388
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7389
 
  (exit $ac_status); } && {
7390
 
         test -z "$ac_c_werror_flag" ||
7391
 
         test ! -s conftest.err
7392
 
       } && test -s conftest$ac_exeext && {
7393
 
         test "$cross_compiling" = yes ||
7394
 
         $as_test_x conftest$ac_exeext
7395
 
       }; then
 
7148
if ac_fn_c_try_link "$LINENO"; then :
7396
7149
  lt_cv_ld_exported_symbols_list=yes
7397
7150
else
7398
 
  $as_echo "$as_me: failed program was:" >&5
7399
 
sed 's/^/| /' conftest.$ac_ext >&5
7400
 
 
7401
 
        lt_cv_ld_exported_symbols_list=no
 
7151
  lt_cv_ld_exported_symbols_list=no
7402
7152
fi
7403
 
 
7404
 
rm -rf conftest.dSYM
7405
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7406
 
      conftest$ac_exeext conftest.$ac_ext
 
7153
rm -f core conftest.err conftest.$ac_objext \
 
7154
    conftest$ac_exeext conftest.$ac_ext
7407
7155
        LDFLAGS="$save_LDFLAGS"
7408
7156
 
7409
7157
fi
7410
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
 
7158
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7411
7159
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
7160
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
 
7161
$as_echo_n "checking for -force_load linker flag... " >&6; }
 
7162
if test "${lt_cv_ld_force_load+set}" = set; then :
 
7163
  $as_echo_n "(cached) " >&6
 
7164
else
 
7165
  lt_cv_ld_force_load=no
 
7166
      cat > conftest.c << _LT_EOF
 
7167
int forced_loaded() { return 2;}
 
7168
_LT_EOF
 
7169
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
 
7170
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
 
7171
      echo "$AR cru libconftest.a conftest.o" >&5
 
7172
      $AR cru libconftest.a conftest.o 2>&5
 
7173
      echo "$RANLIB libconftest.a" >&5
 
7174
      $RANLIB libconftest.a 2>&5
 
7175
      cat > conftest.c << _LT_EOF
 
7176
int main() { return 0;}
 
7177
_LT_EOF
 
7178
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
 
7179
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
 
7180
      _lt_result=$?
 
7181
      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
 
7182
        lt_cv_ld_force_load=yes
 
7183
      else
 
7184
        cat conftest.err >&5
 
7185
      fi
 
7186
        rm -f conftest.err libconftest.a conftest conftest.c
 
7187
        rm -rf conftest.dSYM
 
7188
 
 
7189
fi
 
7190
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
 
7191
$as_echo "$lt_cv_ld_force_load" >&6; }
7412
7192
    case $host_os in
7413
7193
    rhapsody* | darwin1.[012])
7414
7194
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7436
7216
    else
7437
7217
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7438
7218
    fi
7439
 
    if test "$DSYMUTIL" != ":"; then
 
7219
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7440
7220
      _lt_dsymutil='~$DSYMUTIL $lib || :'
7441
7221
    else
7442
7222
      _lt_dsymutil=
7445
7225
  esac
7446
7226
 
7447
7227
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7448
 
 
7449
 
 
7450
 
 
7451
 
 
7452
 
 
7453
 
 
7454
 
 
7455
 
 
7456
 
 
7457
7228
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7458
7229
                  inttypes.h stdint.h unistd.h
7459
 
do
7460
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7461
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7462
 
$as_echo_n "checking for $ac_header... " >&6; }
7463
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7464
 
  $as_echo_n "(cached) " >&6
7465
 
else
7466
 
  cat >conftest.$ac_ext <<_ACEOF
7467
 
/* confdefs.h.  */
7468
 
_ACEOF
7469
 
cat confdefs.h >>conftest.$ac_ext
7470
 
cat >>conftest.$ac_ext <<_ACEOF
7471
 
/* end confdefs.h.  */
7472
 
$ac_includes_default
7473
 
 
7474
 
#include <$ac_header>
7475
 
_ACEOF
7476
 
rm -f conftest.$ac_objext
7477
 
if { (ac_try="$ac_compile"
7478
 
case "(($ac_try" in
7479
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7480
 
  *) ac_try_echo=$ac_try;;
7481
 
esac
7482
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7483
 
$as_echo "$ac_try_echo") >&5
7484
 
  (eval "$ac_compile") 2>conftest.er1
7485
 
  ac_status=$?
7486
 
  grep -v '^ *+' conftest.er1 >conftest.err
7487
 
  rm -f conftest.er1
7488
 
  cat conftest.err >&5
7489
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7490
 
  (exit $ac_status); } && {
7491
 
         test -z "$ac_c_werror_flag" ||
7492
 
         test ! -s conftest.err
7493
 
       } && test -s conftest.$ac_objext; then
7494
 
  eval "$as_ac_Header=yes"
7495
 
else
7496
 
  $as_echo "$as_me: failed program was:" >&5
7497
 
sed 's/^/| /' conftest.$ac_ext >&5
7498
 
 
7499
 
        eval "$as_ac_Header=no"
7500
 
fi
7501
 
 
7502
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7503
 
fi
7504
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
7505
 
                 $as_echo "$as_val"'`
7506
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7507
 
$as_echo "$ac_res" >&6; }
7508
 
as_val=`eval 'as_val=${'$as_ac_Header'}
7509
 
                 $as_echo "$as_val"'`
7510
 
   if test "x$as_val" = x""yes; then
 
7230
do :
 
7231
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
7232
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
7233
"
 
7234
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7511
7235
  cat >>confdefs.h <<_ACEOF
7512
7236
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7513
7237
_ACEOF
7517
7241
done
7518
7242
 
7519
7243
 
7520
 
 
7521
7244
for ac_header in dlfcn.h
7522
 
do
7523
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7524
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7525
 
$as_echo_n "checking for $ac_header... " >&6; }
7526
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7527
 
  $as_echo_n "(cached) " >&6
7528
 
else
7529
 
  cat >conftest.$ac_ext <<_ACEOF
7530
 
/* confdefs.h.  */
7531
 
_ACEOF
7532
 
cat confdefs.h >>conftest.$ac_ext
7533
 
cat >>conftest.$ac_ext <<_ACEOF
7534
 
/* end confdefs.h.  */
7535
 
$ac_includes_default
7536
 
 
7537
 
#include <$ac_header>
7538
 
_ACEOF
7539
 
rm -f conftest.$ac_objext
7540
 
if { (ac_try="$ac_compile"
7541
 
case "(($ac_try" in
7542
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7543
 
  *) ac_try_echo=$ac_try;;
7544
 
esac
7545
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7546
 
$as_echo "$ac_try_echo") >&5
7547
 
  (eval "$ac_compile") 2>conftest.er1
7548
 
  ac_status=$?
7549
 
  grep -v '^ *+' conftest.er1 >conftest.err
7550
 
  rm -f conftest.er1
7551
 
  cat conftest.err >&5
7552
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7553
 
  (exit $ac_status); } && {
7554
 
         test -z "$ac_c_werror_flag" ||
7555
 
         test ! -s conftest.err
7556
 
       } && test -s conftest.$ac_objext; then
7557
 
  eval "$as_ac_Header=yes"
7558
 
else
7559
 
  $as_echo "$as_me: failed program was:" >&5
7560
 
sed 's/^/| /' conftest.$ac_ext >&5
7561
 
 
7562
 
        eval "$as_ac_Header=no"
7563
 
fi
7564
 
 
7565
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7566
 
fi
7567
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
7568
 
                 $as_echo "$as_val"'`
7569
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7570
 
$as_echo "$ac_res" >&6; }
7571
 
as_val=`eval 'as_val=${'$as_ac_Header'}
7572
 
                 $as_echo "$as_val"'`
7573
 
   if test "x$as_val" = x""yes; then
 
7245
do :
 
7246
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 
7247
"
 
7248
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7574
7249
  cat >>confdefs.h <<_ACEOF
7575
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
7250
#define HAVE_DLFCN_H 1
7576
7251
_ACEOF
7577
7252
 
7578
7253
fi
7581
7256
 
7582
7257
 
7583
7258
 
 
7259
 
 
7260
 
7584
7261
# Set options
7585
7262
 
7586
7263
 
7592
7269
 
7593
7270
 
7594
7271
            # Check whether --enable-shared was given.
7595
 
if test "${enable_shared+set}" = set; then
 
7272
if test "${enable_shared+set}" = set; then :
7596
7273
  enableval=$enable_shared; p=${PACKAGE-default}
7597
7274
    case $enableval in
7598
7275
    yes) enable_shared=yes ;;
7623
7300
 
7624
7301
 
7625
7302
  # Check whether --enable-static was given.
7626
 
if test "${enable_static+set}" = set; then
 
7303
if test "${enable_static+set}" = set; then :
7627
7304
  enableval=$enable_static; p=${PACKAGE-default}
7628
7305
    case $enableval in
7629
7306
    yes) enable_static=yes ;;
7655
7332
 
7656
7333
 
7657
7334
# Check whether --with-pic was given.
7658
 
if test "${with_pic+set}" = set; then
 
7335
if test "${with_pic+set}" = set; then :
7659
7336
  withval=$with_pic; pic_mode="$withval"
7660
7337
else
7661
7338
  pic_mode=default
7671
7348
 
7672
7349
 
7673
7350
  # Check whether --enable-fast-install was given.
7674
 
if test "${enable_fast_install+set}" = set; then
 
7351
if test "${enable_fast_install+set}" = set; then :
7675
7352
  enableval=$enable_fast_install; p=${PACKAGE-default}
7676
7353
    case $enableval in
7677
7354
    yes) enable_fast_install=yes ;;
7733
7410
 
7734
7411
 
7735
7412
 
 
7413
 
7736
7414
test -z "$LN_S" && LN_S="ln -s"
7737
7415
 
7738
7416
 
7752
7430
   setopt NO_GLOB_SUBST
7753
7431
fi
7754
7432
 
7755
 
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
 
7433
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7756
7434
$as_echo_n "checking for objdir... " >&6; }
7757
 
if test "${lt_cv_objdir+set}" = set; then
 
7435
if test "${lt_cv_objdir+set}" = set; then :
7758
7436
  $as_echo_n "(cached) " >&6
7759
7437
else
7760
7438
  rm -f .libs 2>/dev/null
7767
7445
fi
7768
7446
rmdir .libs 2>/dev/null
7769
7447
fi
7770
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
7448
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7771
7449
$as_echo "$lt_cv_objdir" >&6; }
7772
7450
objdir=$lt_cv_objdir
7773
7451
 
7782
7460
 
7783
7461
 
7784
7462
 
7785
 
 
7786
 
 
7787
 
 
7788
 
 
7789
 
 
7790
 
 
7791
 
 
7792
 
 
7793
 
 
7794
 
 
7795
 
 
7796
 
 
7797
 
 
7798
7463
case $host_os in
7799
7464
aix3*)
7800
7465
  # AIX sometimes has problems with the GCC collect2 program.  For some
7807
7472
  ;;
7808
7473
esac
7809
7474
 
7810
 
# Sed substitution that helps us do robust quoting.  It backslashifies
7811
 
# metacharacters that are still active within double-quoted strings.
7812
 
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7813
 
 
7814
 
# Same as above, but do not quote variable references.
7815
 
double_quote_subst='s/\(["`\\]\)/\\\1/g'
7816
 
 
7817
 
# Sed substitution to delay expansion of an escaped shell variable in a
7818
 
# double_quote_subst'ed string.
7819
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7820
 
 
7821
 
# Sed substitution to delay expansion of an escaped single quote.
7822
 
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7823
 
 
7824
 
# Sed substitution to avoid accidental globbing in evaled expressions
7825
 
no_glob_subst='s/\*/\\\*/g'
7826
 
 
7827
7475
# Global variables:
7828
7476
ofile=libtool
7829
7477
can_build_shared=yes
7852
7500
    *) break;;
7853
7501
  esac
7854
7502
done
7855
 
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
7503
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7856
7504
 
7857
7505
 
7858
7506
# Only perform the check for file, if the check method requires it
7860
7508
case $deplibs_check_method in
7861
7509
file_magic*)
7862
7510
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7863
 
    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
7511
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7864
7512
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7865
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
7513
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7866
7514
  $as_echo_n "(cached) " >&6
7867
7515
else
7868
7516
  case $MAGIC_CMD in
7913
7561
 
7914
7562
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7915
7563
if test -n "$MAGIC_CMD"; then
7916
 
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7564
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7917
7565
$as_echo "$MAGIC_CMD" >&6; }
7918
7566
else
7919
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7567
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7920
7568
$as_echo "no" >&6; }
7921
7569
fi
7922
7570
 
7926
7574
 
7927
7575
if test -z "$lt_cv_path_MAGIC_CMD"; then
7928
7576
  if test -n "$ac_tool_prefix"; then
7929
 
    { $as_echo "$as_me:$LINENO: checking for file" >&5
 
7577
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7930
7578
$as_echo_n "checking for file... " >&6; }
7931
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
7579
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7932
7580
  $as_echo_n "(cached) " >&6
7933
7581
else
7934
7582
  case $MAGIC_CMD in
7979
7627
 
7980
7628
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7981
7629
if test -n "$MAGIC_CMD"; then
7982
 
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7630
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7983
7631
$as_echo "$MAGIC_CMD" >&6; }
7984
7632
else
7985
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7633
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7986
7634
$as_echo "no" >&6; }
7987
7635
fi
7988
7636
 
8061
7709
lt_prog_compiler_no_builtin_flag=
8062
7710
 
8063
7711
if test "$GCC" = yes; then
8064
 
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
 
7712
  case $cc_basename in
 
7713
  nvcc*)
 
7714
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
 
7715
  *)
 
7716
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
 
7717
  esac
8065
7718
 
8066
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
7719
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8067
7720
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8068
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
 
7721
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8069
7722
  $as_echo_n "(cached) " >&6
8070
7723
else
8071
7724
  lt_cv_prog_compiler_rtti_exceptions=no
8081
7734
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8082
7735
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8083
7736
   -e 's:$: $lt_compiler_flag:'`
8084
 
   (eval echo "\"\$as_me:8084: $lt_compile\"" >&5)
 
7737
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8085
7738
   (eval "$lt_compile" 2>conftest.err)
8086
7739
   ac_status=$?
8087
7740
   cat conftest.err >&5
8088
 
   echo "$as_me:8088: \$? = $ac_status" >&5
 
7741
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8089
7742
   if (exit $ac_status) && test -s "$ac_outfile"; then
8090
7743
     # The compiler can only warn and ignore the option if not recognized
8091
7744
     # So say no if there are warnings other than the usual output.
8092
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
7745
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8093
7746
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8094
7747
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8095
7748
       lt_cv_prog_compiler_rtti_exceptions=yes
8098
7751
   $RM conftest*
8099
7752
 
8100
7753
fi
8101
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
7754
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8102
7755
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8103
7756
 
8104
7757
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8118
7771
lt_prog_compiler_pic=
8119
7772
lt_prog_compiler_static=
8120
7773
 
8121
 
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
7774
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8122
7775
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8123
7776
 
8124
7777
  if test "$GCC" = yes; then
8167
7820
      lt_prog_compiler_pic='-fno-common'
8168
7821
      ;;
8169
7822
 
 
7823
    haiku*)
 
7824
      # PIC is the default for Haiku.
 
7825
      # The "-static" flag exists, but is broken.
 
7826
      lt_prog_compiler_static=
 
7827
      ;;
 
7828
 
8170
7829
    hpux*)
8171
7830
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8172
7831
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8209
7868
      lt_prog_compiler_pic='-fPIC'
8210
7869
      ;;
8211
7870
    esac
 
7871
 
 
7872
    case $cc_basename in
 
7873
    nvcc*) # Cuda Compiler Driver 2.2
 
7874
      lt_prog_compiler_wl='-Xlinker '
 
7875
      lt_prog_compiler_pic='-Xcompiler -fPIC'
 
7876
      ;;
 
7877
    esac
8212
7878
  else
8213
7879
    # PORTME Check for flag to pass linker flags through the system compiler.
8214
7880
    case $host_os in
8250
7916
      lt_prog_compiler_static='-non_shared'
8251
7917
      ;;
8252
7918
 
8253
 
    linux* | k*bsd*-gnu)
 
7919
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8254
7920
      case $cc_basename in
8255
7921
      # old Intel for x86_64 which still supported -KPIC.
8256
7922
      ecc*)
8271
7937
        lt_prog_compiler_pic='--shared'
8272
7938
        lt_prog_compiler_static='--static'
8273
7939
        ;;
8274
 
      pgcc* | pgf77* | pgf90* | pgf95*)
 
7940
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8275
7941
        # Portland Group compilers (*not* the Pentium gcc compiler,
8276
7942
        # which looks to be a dead project)
8277
7943
        lt_prog_compiler_wl='-Wl,'
8283
7949
        # All Alpha code is PIC.
8284
7950
        lt_prog_compiler_static='-non_shared'
8285
7951
        ;;
8286
 
      xl*)
8287
 
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
7952
      xl* | bgxl* | bgf* | mpixl*)
 
7953
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8288
7954
        lt_prog_compiler_wl='-Wl,'
8289
7955
        lt_prog_compiler_pic='-qpic'
8290
7956
        lt_prog_compiler_static='-qstaticlink'
8291
7957
        ;;
8292
7958
      *)
8293
7959
        case `$CC -V 2>&1 | sed 5q` in
 
7960
        *Sun\ F* | *Sun*Fortran*)
 
7961
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
7962
          lt_prog_compiler_pic='-KPIC'
 
7963
          lt_prog_compiler_static='-Bstatic'
 
7964
          lt_prog_compiler_wl=''
 
7965
          ;;
8294
7966
        *Sun\ C*)
8295
7967
          # Sun C 5.9
8296
7968
          lt_prog_compiler_pic='-KPIC'
8297
7969
          lt_prog_compiler_static='-Bstatic'
8298
7970
          lt_prog_compiler_wl='-Wl,'
8299
7971
          ;;
8300
 
        *Sun\ F*)
8301
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8302
 
          lt_prog_compiler_pic='-KPIC'
8303
 
          lt_prog_compiler_static='-Bstatic'
8304
 
          lt_prog_compiler_wl=''
8305
 
          ;;
8306
7972
        esac
8307
7973
        ;;
8308
7974
      esac
8333
7999
      lt_prog_compiler_pic='-KPIC'
8334
8000
      lt_prog_compiler_static='-Bstatic'
8335
8001
      case $cc_basename in
8336
 
      f77* | f90* | f95*)
 
8002
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8337
8003
        lt_prog_compiler_wl='-Qoption ld ';;
8338
8004
      *)
8339
8005
        lt_prog_compiler_wl='-Wl,';;
8390
8056
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8391
8057
    ;;
8392
8058
esac
8393
 
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
8059
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8394
8060
$as_echo "$lt_prog_compiler_pic" >&6; }
8395
8061
 
8396
8062
 
8402
8068
# Check to make sure the PIC flag actually works.
8403
8069
#
8404
8070
if test -n "$lt_prog_compiler_pic"; then
8405
 
  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
8071
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8406
8072
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8407
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
 
8073
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8408
8074
  $as_echo_n "(cached) " >&6
8409
8075
else
8410
8076
  lt_cv_prog_compiler_pic_works=no
8420
8086
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8421
8087
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8422
8088
   -e 's:$: $lt_compiler_flag:'`
8423
 
   (eval echo "\"\$as_me:8423: $lt_compile\"" >&5)
 
8089
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8424
8090
   (eval "$lt_compile" 2>conftest.err)
8425
8091
   ac_status=$?
8426
8092
   cat conftest.err >&5
8427
 
   echo "$as_me:8427: \$? = $ac_status" >&5
 
8093
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8428
8094
   if (exit $ac_status) && test -s "$ac_outfile"; then
8429
8095
     # The compiler can only warn and ignore the option if not recognized
8430
8096
     # So say no if there are warnings other than the usual output.
8431
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8097
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8432
8098
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8433
8099
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8434
8100
       lt_cv_prog_compiler_pic_works=yes
8437
8103
   $RM conftest*
8438
8104
 
8439
8105
fi
8440
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
 
8106
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8441
8107
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8442
8108
 
8443
8109
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8461
8127
# Check to make sure the static flag actually works.
8462
8128
#
8463
8129
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8464
 
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
8130
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8465
8131
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8466
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
 
8132
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8467
8133
  $as_echo_n "(cached) " >&6
8468
8134
else
8469
8135
  lt_cv_prog_compiler_static_works=no
8476
8142
     if test -s conftest.err; then
8477
8143
       # Append any errors to the config.log.
8478
8144
       cat conftest.err 1>&5
8479
 
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
8145
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8480
8146
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8481
8147
       if diff conftest.exp conftest.er2 >/dev/null; then
8482
8148
         lt_cv_prog_compiler_static_works=yes
8489
8155
   LDFLAGS="$save_LDFLAGS"
8490
8156
 
8491
8157
fi
8492
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
 
8158
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8493
8159
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8494
8160
 
8495
8161
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8504
8170
 
8505
8171
 
8506
8172
 
8507
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8173
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8508
8174
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8509
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
8175
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8510
8176
  $as_echo_n "(cached) " >&6
8511
8177
else
8512
8178
  lt_cv_prog_compiler_c_o=no
8525
8191
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8526
8192
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8527
8193
   -e 's:$: $lt_compiler_flag:'`
8528
 
   (eval echo "\"\$as_me:8528: $lt_compile\"" >&5)
 
8194
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8529
8195
   (eval "$lt_compile" 2>out/conftest.err)
8530
8196
   ac_status=$?
8531
8197
   cat out/conftest.err >&5
8532
 
   echo "$as_me:8532: \$? = $ac_status" >&5
 
8198
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8533
8199
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8534
8200
   then
8535
8201
     # The compiler can only warn and ignore the option if not recognized
8536
8202
     # So say no if there are warnings
8537
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
8203
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8538
8204
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8539
8205
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8540
8206
       lt_cv_prog_compiler_c_o=yes
8551
8217
   $RM conftest*
8552
8218
 
8553
8219
fi
8554
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
8220
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8555
8221
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8556
8222
 
8557
8223
 
8559
8225
 
8560
8226
 
8561
8227
 
8562
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8228
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8563
8229
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8564
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
8230
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8565
8231
  $as_echo_n "(cached) " >&6
8566
8232
else
8567
8233
  lt_cv_prog_compiler_c_o=no
8580
8246
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8581
8247
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8582
8248
   -e 's:$: $lt_compiler_flag:'`
8583
 
   (eval echo "\"\$as_me:8583: $lt_compile\"" >&5)
 
8249
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8584
8250
   (eval "$lt_compile" 2>out/conftest.err)
8585
8251
   ac_status=$?
8586
8252
   cat out/conftest.err >&5
8587
 
   echo "$as_me:8587: \$? = $ac_status" >&5
 
8253
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8588
8254
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8589
8255
   then
8590
8256
     # The compiler can only warn and ignore the option if not recognized
8591
8257
     # So say no if there are warnings
8592
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
8258
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8593
8259
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8594
8260
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8595
8261
       lt_cv_prog_compiler_c_o=yes
8606
8272
   $RM conftest*
8607
8273
 
8608
8274
fi
8609
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
8275
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8610
8276
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8611
8277
 
8612
8278
 
8615
8281
hard_links="nottested"
8616
8282
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8617
8283
  # do not overwrite the value of need_locks provided by the user
8618
 
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
8284
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8619
8285
$as_echo_n "checking if we can lock with hard links... " >&6; }
8620
8286
  hard_links=yes
8621
8287
  $RM conftest*
8623
8289
  touch conftest.a
8624
8290
  ln conftest.a conftest.b 2>&5 || hard_links=no
8625
8291
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8626
 
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
8292
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8627
8293
$as_echo "$hard_links" >&6; }
8628
8294
  if test "$hard_links" = no; then
8629
 
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
8295
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8630
8296
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8631
8297
    need_locks=warn
8632
8298
  fi
8639
8305
 
8640
8306
 
8641
8307
 
8642
 
  { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
8308
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8643
8309
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8644
8310
 
8645
8311
  runpath_var=
8702
8368
  esac
8703
8369
 
8704
8370
  ld_shlibs=yes
 
8371
 
 
8372
  # On some targets, GNU ld is compatible enough with the native linker
 
8373
  # that we're better off using the native interface for both.
 
8374
  lt_use_gnu_ld_interface=no
8705
8375
  if test "$with_gnu_ld" = yes; then
 
8376
    case $host_os in
 
8377
      aix*)
 
8378
        # The AIX port of GNU ld has always aspired to compatibility
 
8379
        # with the native linker.  However, as the warning in the GNU ld
 
8380
        # block says, versions before 2.19.5* couldn't really create working
 
8381
        # shared libraries, regardless of the interface used.
 
8382
        case `$LD -v 2>&1` in
 
8383
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
 
8384
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
 
8385
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
 
8386
          *)
 
8387
            lt_use_gnu_ld_interface=yes
 
8388
            ;;
 
8389
        esac
 
8390
        ;;
 
8391
      *)
 
8392
        lt_use_gnu_ld_interface=yes
 
8393
        ;;
 
8394
    esac
 
8395
  fi
 
8396
 
 
8397
  if test "$lt_use_gnu_ld_interface" = yes; then
8706
8398
    # If archive_cmds runs LD, not CC, wlarc should be empty
8707
8399
    wlarc='${wl}'
8708
8400
 
8720
8412
    fi
8721
8413
    supports_anon_versioning=no
8722
8414
    case `$LD -v 2>&1` in
 
8415
      *GNU\ gold*) supports_anon_versioning=yes ;;
8723
8416
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8724
8417
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8725
8418
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8735
8428
        ld_shlibs=no
8736
8429
        cat <<_LT_EOF 1>&2
8737
8430
 
8738
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
8431
*** Warning: the GNU linker, at least up to release 2.19, is reported
8739
8432
*** to be unable to reliably create shared libraries on AIX.
8740
8433
*** Therefore, libtool is disabling shared libraries support.  If you
8741
 
*** really care for shared libraries, you may want to modify your PATH
8742
 
*** so that a non-GNU linker is found, and then restart.
 
8434
*** really care for shared libraries, you may want to install binutils
 
8435
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
 
8436
*** You will then need to restart the configuration process.
8743
8437
 
8744
8438
_LT_EOF
8745
8439
      fi
8775
8469
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8776
8470
      # as there is no search path for DLLs.
8777
8471
      hardcode_libdir_flag_spec='-L$libdir'
 
8472
      export_dynamic_flag_spec='${wl}--export-all-symbols'
8778
8473
      allow_undefined_flag=unsupported
8779
8474
      always_export_symbols=no
8780
8475
      enable_shared_with_static_runtimes=yes
8796
8491
      fi
8797
8492
      ;;
8798
8493
 
 
8494
    haiku*)
 
8495
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8496
      link_all_deplibs=yes
 
8497
      ;;
 
8498
 
8799
8499
    interix[3-9]*)
8800
8500
      hardcode_direct=no
8801
8501
      hardcode_shlibpath_var=no
8811
8511
      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'
8812
8512
      ;;
8813
8513
 
8814
 
    gnu* | linux* | tpf* | k*bsd*-gnu)
 
8514
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8815
8515
      tmp_diet=no
8816
8516
      if test "$host_os" = linux-dietlibc; then
8817
8517
        case $cc_basename in
8825
8525
        tmp_sharedflag='-shared'
8826
8526
        case $cc_basename,$host_cpu in
8827
8527
        pgcc*)                          # Portland Group C compiler
8828
 
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
8528
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8829
8529
          tmp_addflag=' $pic_flag'
8830
8530
          ;;
8831
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
8832
 
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
8531
        pgf77* | pgf90* | pgf95* | pgfortran*)
 
8532
                                        # Portland Group f77 and f90 compilers
 
8533
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8833
8534
          tmp_addflag=' $pic_flag -Mnomain' ;;
8834
8535
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8835
8536
          tmp_addflag=' -i_dynamic' ;;
8840
8541
        lf95*)                          # Lahey Fortran 8.1
8841
8542
          whole_archive_flag_spec=
8842
8543
          tmp_sharedflag='--shared' ;;
8843
 
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
8544
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8844
8545
          tmp_sharedflag='-qmkshrobj'
8845
8546
          tmp_addflag= ;;
 
8547
        nvcc*)  # Cuda Compiler Driver 2.2
 
8548
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 
8549
          compiler_needs_object=yes
 
8550
          ;;
8846
8551
        esac
8847
8552
        case `$CC -V 2>&1 | sed 5q` in
8848
8553
        *Sun\ C*)                       # Sun C 5.9
8849
 
          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'
 
8554
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8850
8555
          compiler_needs_object=yes
8851
8556
          tmp_sharedflag='-G' ;;
8852
8557
        *Sun\ F*)                       # Sun Fortran 8.3
8862
8567
        fi
8863
8568
 
8864
8569
        case $cc_basename in
8865
 
        xlf*)
 
8570
        xlf* | bgf* | bgxlf* | mpixlf*)
8866
8571
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8867
8572
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8868
8573
          hardcode_libdir_flag_spec=
8869
8574
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
8870
 
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
8575
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8871
8576
          if test "x$supports_anon_versioning" = xyes; then
8872
8577
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8873
8578
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8874
8579
              echo "local: *; };" >> $output_objdir/$libname.ver~
8875
 
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
8580
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8876
8581
          fi
8877
8582
          ;;
8878
8583
        esac
8993
8698
      else
8994
8699
        # If we're using GNU nm, then we don't want the "-C" option.
8995
8700
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
8701
        # Also, AIX nm treats weak defined symbols like other global
 
8702
        # defined symbols, whereas GNU nm marks them as "W".
8996
8703
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8997
 
          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
 
8704
          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8998
8705
        else
8999
8706
          export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9000
8707
        fi
9081
8788
        allow_undefined_flag='-berok'
9082
8789
        # Determine the default libpath from the value encoded in an
9083
8790
        # empty executable.
9084
 
        cat >conftest.$ac_ext <<_ACEOF
9085
 
/* confdefs.h.  */
9086
 
_ACEOF
9087
 
cat confdefs.h >>conftest.$ac_ext
9088
 
cat >>conftest.$ac_ext <<_ACEOF
 
8791
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9089
8792
/* end confdefs.h.  */
9090
8793
 
9091
8794
int
9096
8799
  return 0;
9097
8800
}
9098
8801
_ACEOF
9099
 
rm -f conftest.$ac_objext conftest$ac_exeext
9100
 
if { (ac_try="$ac_link"
9101
 
case "(($ac_try" in
9102
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9103
 
  *) ac_try_echo=$ac_try;;
9104
 
esac
9105
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9106
 
$as_echo "$ac_try_echo") >&5
9107
 
  (eval "$ac_link") 2>conftest.er1
9108
 
  ac_status=$?
9109
 
  grep -v '^ *+' conftest.er1 >conftest.err
9110
 
  rm -f conftest.er1
9111
 
  cat conftest.err >&5
9112
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9113
 
  (exit $ac_status); } && {
9114
 
         test -z "$ac_c_werror_flag" ||
9115
 
         test ! -s conftest.err
9116
 
       } && test -s conftest$ac_exeext && {
9117
 
         test "$cross_compiling" = yes ||
9118
 
         $as_test_x conftest$ac_exeext
9119
 
       }; then
 
8802
if ac_fn_c_try_link "$LINENO"; then :
9120
8803
 
9121
8804
lt_aix_libpath_sed='
9122
8805
    /Import File Strings/,/^$/ {
9130
8813
if test -z "$aix_libpath"; then
9131
8814
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9132
8815
fi
9133
 
else
9134
 
  $as_echo "$as_me: failed program was:" >&5
9135
 
sed 's/^/| /' conftest.$ac_ext >&5
9136
 
 
9137
 
 
9138
8816
fi
9139
 
 
9140
 
rm -rf conftest.dSYM
9141
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9142
 
      conftest$ac_exeext conftest.$ac_ext
 
8817
rm -f core conftest.err conftest.$ac_objext \
 
8818
    conftest$ac_exeext conftest.$ac_ext
9143
8819
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9144
8820
 
9145
8821
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9146
 
        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
8822
        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9147
8823
      else
9148
8824
        if test "$host_cpu" = ia64; then
9149
8825
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9152
8828
        else
9153
8829
         # Determine the default libpath from the value encoded in an
9154
8830
         # empty executable.
9155
 
         cat >conftest.$ac_ext <<_ACEOF
9156
 
/* confdefs.h.  */
9157
 
_ACEOF
9158
 
cat confdefs.h >>conftest.$ac_ext
9159
 
cat >>conftest.$ac_ext <<_ACEOF
 
8831
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9160
8832
/* end confdefs.h.  */
9161
8833
 
9162
8834
int
9167
8839
  return 0;
9168
8840
}
9169
8841
_ACEOF
9170
 
rm -f conftest.$ac_objext conftest$ac_exeext
9171
 
if { (ac_try="$ac_link"
9172
 
case "(($ac_try" in
9173
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9174
 
  *) ac_try_echo=$ac_try;;
9175
 
esac
9176
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9177
 
$as_echo "$ac_try_echo") >&5
9178
 
  (eval "$ac_link") 2>conftest.er1
9179
 
  ac_status=$?
9180
 
  grep -v '^ *+' conftest.er1 >conftest.err
9181
 
  rm -f conftest.er1
9182
 
  cat conftest.err >&5
9183
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9184
 
  (exit $ac_status); } && {
9185
 
         test -z "$ac_c_werror_flag" ||
9186
 
         test ! -s conftest.err
9187
 
       } && test -s conftest$ac_exeext && {
9188
 
         test "$cross_compiling" = yes ||
9189
 
         $as_test_x conftest$ac_exeext
9190
 
       }; then
 
8842
if ac_fn_c_try_link "$LINENO"; then :
9191
8843
 
9192
8844
lt_aix_libpath_sed='
9193
8845
    /Import File Strings/,/^$/ {
9201
8853
if test -z "$aix_libpath"; then
9202
8854
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9203
8855
fi
9204
 
else
9205
 
  $as_echo "$as_me: failed program was:" >&5
9206
 
sed 's/^/| /' conftest.$ac_ext >&5
9207
 
 
9208
 
 
9209
8856
fi
9210
 
 
9211
 
rm -rf conftest.dSYM
9212
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9213
 
      conftest$ac_exeext conftest.$ac_ext
 
8857
rm -f core conftest.err conftest.$ac_objext \
 
8858
    conftest$ac_exeext conftest.$ac_ext
9214
8859
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9215
8860
 
9216
8861
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9218
8863
          # -berok will link without error, but may produce a broken library.
9219
8864
          no_undefined_flag=' ${wl}-bernotok'
9220
8865
          allow_undefined_flag=' ${wl}-berok'
9221
 
          # Exported symbols can be pulled into shared objects from archives
9222
 
          whole_archive_flag_spec='$convenience'
 
8866
          if test "$with_gnu_ld" = yes; then
 
8867
            # We only use this code for GNU lds that support --whole-archive.
 
8868
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
8869
          else
 
8870
            # Exported symbols can be pulled into shared objects from archives
 
8871
            whole_archive_flag_spec='$convenience'
 
8872
          fi
9223
8873
          archive_cmds_need_lc=yes
9224
8874
          # This is similar to how AIX traditionally builds its shared libraries.
9225
8875
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9258
8908
      # Tell ltmain to make .dll files, not .so files.
9259
8909
      shrext_cmds=".dll"
9260
8910
      # FIXME: Setting linknames here is a bad hack.
9261
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
8911
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9262
8912
      # The linker will automatically build a .lib file if we build a DLL.
9263
8913
      old_archive_from_new_cmds='true'
9264
8914
      # FIXME: Should let the user specify the lib program.
9274
8924
  hardcode_direct=no
9275
8925
  hardcode_automatic=yes
9276
8926
  hardcode_shlibpath_var=unsupported
9277
 
  whole_archive_flag_spec=''
 
8927
  if test "$lt_cv_ld_force_load" = "yes"; then
 
8928
    whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
 
8929
  else
 
8930
    whole_archive_flag_spec=''
 
8931
  fi
9278
8932
  link_all_deplibs=yes
9279
8933
  allow_undefined_flag="$_lt_dar_allow_undefined"
9280
8934
  case $cc_basename in
9282
8936
     *) _lt_dar_can_shared=$GCC ;;
9283
8937
  esac
9284
8938
  if test "$_lt_dar_can_shared" = "yes"; then
9285
 
    output_verbose_link_cmd=echo
 
8939
    output_verbose_link_cmd=func_echo_all
9286
8940
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9287
8941
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9288
8942
    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}"
9348
9002
      ;;
9349
9003
 
9350
9004
    hpux10*)
9351
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
9005
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9352
9006
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9353
9007
      else
9354
9008
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9367
9021
      ;;
9368
9022
 
9369
9023
    hpux11*)
9370
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
9024
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9371
9025
        case $host_cpu in
9372
9026
        hppa*64*)
9373
9027
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9388
9042
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9389
9043
          ;;
9390
9044
        *)
9391
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9045
 
 
9046
          # Older versions of the 11.00 compiler do not understand -b yet
 
9047
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
 
9048
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
 
9049
$as_echo_n "checking if $CC understands -b... " >&6; }
 
9050
if test "${lt_cv_prog_compiler__b+set}" = set; then :
 
9051
  $as_echo_n "(cached) " >&6
 
9052
else
 
9053
  lt_cv_prog_compiler__b=no
 
9054
   save_LDFLAGS="$LDFLAGS"
 
9055
   LDFLAGS="$LDFLAGS -b"
 
9056
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
9057
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
9058
     # The linker can only warn and ignore the option if not recognized
 
9059
     # So say no if there are warnings
 
9060
     if test -s conftest.err; then
 
9061
       # Append any errors to the config.log.
 
9062
       cat conftest.err 1>&5
 
9063
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
9064
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
9065
       if diff conftest.exp conftest.er2 >/dev/null; then
 
9066
         lt_cv_prog_compiler__b=yes
 
9067
       fi
 
9068
     else
 
9069
       lt_cv_prog_compiler__b=yes
 
9070
     fi
 
9071
   fi
 
9072
   $RM -r conftest*
 
9073
   LDFLAGS="$save_LDFLAGS"
 
9074
 
 
9075
fi
 
9076
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
 
9077
$as_echo "$lt_cv_prog_compiler__b" >&6; }
 
9078
 
 
9079
if test x"$lt_cv_prog_compiler__b" = xyes; then
 
9080
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9081
else
 
9082
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
9083
fi
 
9084
 
9392
9085
          ;;
9393
9086
        esac
9394
9087
      fi
9416
9109
 
9417
9110
    irix5* | irix6* | nonstopux*)
9418
9111
      if test "$GCC" = yes; then
9419
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
9112
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9420
9113
        # Try to use the -exported_symbol ld option, if it does not
9421
9114
        # work, assume that -exports_file does not work either and
9422
9115
        # implicitly export all symbols.
9423
9116
        save_LDFLAGS="$LDFLAGS"
9424
9117
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9425
 
        cat >conftest.$ac_ext <<_ACEOF
 
9118
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9119
/* end confdefs.h.  */
9426
9120
int foo(void) {}
9427
9121
_ACEOF
9428
 
rm -f conftest.$ac_objext conftest$ac_exeext
9429
 
if { (ac_try="$ac_link"
9430
 
case "(($ac_try" in
9431
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9432
 
  *) ac_try_echo=$ac_try;;
9433
 
esac
9434
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9435
 
$as_echo "$ac_try_echo") >&5
9436
 
  (eval "$ac_link") 2>conftest.er1
9437
 
  ac_status=$?
9438
 
  grep -v '^ *+' conftest.er1 >conftest.err
9439
 
  rm -f conftest.er1
9440
 
  cat conftest.err >&5
9441
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9442
 
  (exit $ac_status); } && {
9443
 
         test -z "$ac_c_werror_flag" ||
9444
 
         test ! -s conftest.err
9445
 
       } && test -s conftest$ac_exeext && {
9446
 
         test "$cross_compiling" = yes ||
9447
 
         $as_test_x conftest$ac_exeext
9448
 
       }; then
9449
 
  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9450
 
 
9451
 
else
9452
 
  $as_echo "$as_me: failed program was:" >&5
9453
 
sed 's/^/| /' conftest.$ac_ext >&5
9454
 
 
 
9122
if ac_fn_c_try_link "$LINENO"; then :
 
9123
  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9455
9124
 
9456
9125
fi
9457
 
 
9458
 
rm -rf conftest.dSYM
9459
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9460
 
      conftest$ac_exeext conftest.$ac_ext
 
9126
rm -f core conftest.err conftest.$ac_objext \
 
9127
    conftest$ac_exeext conftest.$ac_ext
9461
9128
        LDFLAGS="$save_LDFLAGS"
9462
9129
      else
9463
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9464
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
 
9130
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 
9131
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9465
9132
      fi
9466
9133
      archive_cmds_need_lc='no'
9467
9134
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9523
9190
      hardcode_libdir_flag_spec='-L$libdir'
9524
9191
      hardcode_minus_L=yes
9525
9192
      allow_undefined_flag=unsupported
9526
 
      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
 
9193
      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9527
9194
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9528
9195
      ;;
9529
9196
 
9530
9197
    osf3*)
9531
9198
      if test "$GCC" = yes; then
9532
9199
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9533
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
9200
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9534
9201
      else
9535
9202
        allow_undefined_flag=' -expect_unresolved \*'
9536
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
9203
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9537
9204
      fi
9538
9205
      archive_cmds_need_lc='no'
9539
9206
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9543
9210
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
9544
9211
      if test "$GCC" = yes; then
9545
9212
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9546
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
9213
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9547
9214
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9548
9215
      else
9549
9216
        allow_undefined_flag=' -expect_unresolved \*'
9550
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
9217
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9551
9218
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
9552
 
        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
 
9219
        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9553
9220
 
9554
9221
        # Both c and cxx compiler support -rpath directly
9555
9222
        hardcode_libdir_flag_spec='-rpath $libdir'
9713
9380
    fi
9714
9381
  fi
9715
9382
 
9716
 
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
9383
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9717
9384
$as_echo "$ld_shlibs" >&6; }
9718
9385
test "$ld_shlibs" = no && can_build_shared=no
9719
9386
 
9750
9417
      # Test whether the compiler implicitly links with -lc since on some
9751
9418
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
9752
9419
      # to ld, don't add -lc before -lgcc.
9753
 
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
9420
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9754
9421
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9755
 
      $RM conftest*
9756
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9422
if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
 
9423
  $as_echo_n "(cached) " >&6
 
9424
else
 
9425
  $RM conftest*
 
9426
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9757
9427
 
9758
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
9428
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9759
9429
  (eval $ac_compile) 2>&5
9760
9430
  ac_status=$?
9761
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9762
 
  (exit $ac_status); } 2>conftest.err; then
9763
 
        soname=conftest
9764
 
        lib=conftest
9765
 
        libobjs=conftest.$ac_objext
9766
 
        deplibs=
9767
 
        wl=$lt_prog_compiler_wl
9768
 
        pic_flag=$lt_prog_compiler_pic
9769
 
        compiler_flags=-v
9770
 
        linker_flags=-v
9771
 
        verstring=
9772
 
        output_objdir=.
9773
 
        libname=conftest
9774
 
        lt_save_allow_undefined_flag=$allow_undefined_flag
9775
 
        allow_undefined_flag=
9776
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
9431
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
9432
  test $ac_status = 0; } 2>conftest.err; then
 
9433
          soname=conftest
 
9434
          lib=conftest
 
9435
          libobjs=conftest.$ac_objext
 
9436
          deplibs=
 
9437
          wl=$lt_prog_compiler_wl
 
9438
          pic_flag=$lt_prog_compiler_pic
 
9439
          compiler_flags=-v
 
9440
          linker_flags=-v
 
9441
          verstring=
 
9442
          output_objdir=.
 
9443
          libname=conftest
 
9444
          lt_save_allow_undefined_flag=$allow_undefined_flag
 
9445
          allow_undefined_flag=
 
9446
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9777
9447
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9778
9448
  ac_status=$?
9779
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9780
 
  (exit $ac_status); }
9781
 
        then
9782
 
          archive_cmds_need_lc=no
9783
 
        else
9784
 
          archive_cmds_need_lc=yes
9785
 
        fi
9786
 
        allow_undefined_flag=$lt_save_allow_undefined_flag
9787
 
      else
9788
 
        cat conftest.err 1>&5
9789
 
      fi
9790
 
      $RM conftest*
9791
 
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9792
 
$as_echo "$archive_cmds_need_lc" >&6; }
 
9449
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
9450
  test $ac_status = 0; }
 
9451
          then
 
9452
            lt_cv_archive_cmds_need_lc=no
 
9453
          else
 
9454
            lt_cv_archive_cmds_need_lc=yes
 
9455
          fi
 
9456
          allow_undefined_flag=$lt_save_allow_undefined_flag
 
9457
        else
 
9458
          cat conftest.err 1>&5
 
9459
        fi
 
9460
        $RM conftest*
 
9461
 
 
9462
fi
 
9463
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
 
9464
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
 
9465
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9793
9466
      ;;
9794
9467
    esac
9795
9468
  fi
9952
9625
 
9953
9626
 
9954
9627
 
9955
 
  { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
9628
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9956
9629
$as_echo_n "checking dynamic linker characteristics... " >&6; }
9957
9630
 
9958
9631
if test "$GCC" = yes; then
9960
9633
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9961
9634
    *) lt_awk_arg="/^libraries:/" ;;
9962
9635
  esac
9963
 
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9964
 
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
 
9636
  case $host_os in
 
9637
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
 
9638
    *) lt_sed_strip_eq="s,=/,/,g" ;;
 
9639
  esac
 
9640
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
 
9641
  case $lt_search_path_spec in
 
9642
  *\;*)
9965
9643
    # if the path contains ";" then we assume it to be the separator
9966
9644
    # otherwise default to the standard path separator (i.e. ":") - it is
9967
9645
    # assumed that no part of a normal pathname contains ";" but that should
9968
9646
    # okay in the real world where ";" in dirpaths is itself problematic.
9969
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9970
 
  else
9971
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9972
 
  fi
 
9647
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
 
9648
    ;;
 
9649
  *)
 
9650
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
 
9651
    ;;
 
9652
  esac
9973
9653
  # Ok, now we have the path, separated by spaces, we can step through it
9974
9654
  # and add multilib dir if necessary.
9975
9655
  lt_tmp_lt_search_path_spec=
9982
9662
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9983
9663
    fi
9984
9664
  done
9985
 
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
 
9665
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9986
9666
BEGIN {RS=" "; FS="/|\n";} {
9987
9667
  lt_foo="";
9988
9668
  lt_count=0;
10002
9682
  if (lt_foo != "") { lt_freq[lt_foo]++; }
10003
9683
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10004
9684
}'`
10005
 
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
 
9685
  # AWK program above erroneously prepends '/' to C:/dos/paths
 
9686
  # for these hosts.
 
9687
  case $host_os in
 
9688
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
 
9689
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
 
9690
  esac
 
9691
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10006
9692
else
10007
9693
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10008
9694
fi
10090
9776
  m68k)
10091
9777
    library_names_spec='$libname.ixlibrary $libname.a'
10092
9778
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
10093
 
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
 
9779
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10094
9780
    ;;
10095
9781
  esac
10096
9782
  ;;
10143
9829
    cygwin*)
10144
9830
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10145
9831
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10146
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
9832
 
 
9833
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10147
9834
      ;;
10148
9835
    mingw* | cegcc*)
10149
9836
      # MinGW DLLs use traditional 'lib' prefix
10150
9837
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10151
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10152
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10153
 
        # It is most probably a Windows format PATH printed by
10154
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
10155
 
        # path with ; separators, and with drive letters. We can handle the
10156
 
        # drive letters (cygwin fileutils understands them), so leave them,
10157
 
        # especially as we might pass files found there to a mingw objdump,
10158
 
        # which wouldn't understand a cygwinified path. Ahh.
10159
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10160
 
      else
10161
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10162
 
      fi
10163
9838
      ;;
10164
9839
    pw32*)
10165
9840
      # pw32 DLLs use 'pw' prefix rather than 'lib'
10259
9934
  hardcode_into_libs=yes
10260
9935
  ;;
10261
9936
 
 
9937
haiku*)
 
9938
  version_type=linux
 
9939
  need_lib_prefix=no
 
9940
  need_version=no
 
9941
  dynamic_linker="$host_os runtime_loader"
 
9942
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
9943
  soname_spec='${libname}${release}${shared_ext}$major'
 
9944
  shlibpath_var=LIBRARY_PATH
 
9945
  shlibpath_overrides_runpath=yes
 
9946
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
 
9947
  hardcode_into_libs=yes
 
9948
  ;;
 
9949
 
10262
9950
hpux9* | hpux10* | hpux11*)
10263
9951
  # Give a soname corresponding to the major version so that dld.sl refuses to
10264
9952
  # link against other versions.
10301
9989
    soname_spec='${libname}${release}${shared_ext}$major'
10302
9990
    ;;
10303
9991
  esac
10304
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
9992
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10305
9993
  postinstall_cmds='chmod 555 $lib'
 
9994
  # or fails outright, so override atomically:
 
9995
  install_override_mode=555
10306
9996
  ;;
10307
9997
 
10308
9998
interix[3-9]*)
10360
10050
  ;;
10361
10051
 
10362
10052
# This must be Linux ELF.
10363
 
linux* | k*bsd*-gnu)
 
10053
linux* | k*bsd*-gnu | kopensolaris*-gnu)
10364
10054
  version_type=linux
10365
10055
  need_lib_prefix=no
10366
10056
  need_version=no
10369
10059
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10370
10060
  shlibpath_var=LD_LIBRARY_PATH
10371
10061
  shlibpath_overrides_runpath=no
 
10062
 
10372
10063
  # Some binutils ld are patched to set DT_RUNPATH
10373
 
  save_LDFLAGS=$LDFLAGS
10374
 
  save_libdir=$libdir
10375
 
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10376
 
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10377
 
  cat >conftest.$ac_ext <<_ACEOF
10378
 
/* confdefs.h.  */
10379
 
_ACEOF
10380
 
cat confdefs.h >>conftest.$ac_ext
10381
 
cat >>conftest.$ac_ext <<_ACEOF
 
10064
  if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
 
10065
  $as_echo_n "(cached) " >&6
 
10066
else
 
10067
  lt_cv_shlibpath_overrides_runpath=no
 
10068
    save_LDFLAGS=$LDFLAGS
 
10069
    save_libdir=$libdir
 
10070
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
10071
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
10072
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10382
10073
/* end confdefs.h.  */
10383
10074
 
10384
10075
int
10389
10080
  return 0;
10390
10081
}
10391
10082
_ACEOF
10392
 
rm -f conftest.$ac_objext conftest$ac_exeext
10393
 
if { (ac_try="$ac_link"
10394
 
case "(($ac_try" in
10395
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10396
 
  *) ac_try_echo=$ac_try;;
10397
 
esac
10398
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10399
 
$as_echo "$ac_try_echo") >&5
10400
 
  (eval "$ac_link") 2>conftest.er1
10401
 
  ac_status=$?
10402
 
  grep -v '^ *+' conftest.er1 >conftest.err
10403
 
  rm -f conftest.er1
10404
 
  cat conftest.err >&5
10405
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10406
 
  (exit $ac_status); } && {
10407
 
         test -z "$ac_c_werror_flag" ||
10408
 
         test ! -s conftest.err
10409
 
       } && test -s conftest$ac_exeext && {
10410
 
         test "$cross_compiling" = yes ||
10411
 
         $as_test_x conftest$ac_exeext
10412
 
       }; then
10413
 
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
10414
 
  shlibpath_overrides_runpath=yes
10415
 
fi
10416
 
 
10417
 
else
10418
 
  $as_echo "$as_me: failed program was:" >&5
10419
 
sed 's/^/| /' conftest.$ac_ext >&5
10420
 
 
10421
 
 
10422
 
fi
10423
 
 
10424
 
rm -rf conftest.dSYM
10425
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10426
 
      conftest$ac_exeext conftest.$ac_ext
10427
 
  LDFLAGS=$save_LDFLAGS
10428
 
  libdir=$save_libdir
 
10083
if ac_fn_c_try_link "$LINENO"; then :
 
10084
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
 
10085
  lt_cv_shlibpath_overrides_runpath=yes
 
10086
fi
 
10087
fi
 
10088
rm -f core conftest.err conftest.$ac_objext \
 
10089
    conftest$ac_exeext conftest.$ac_ext
 
10090
    LDFLAGS=$save_LDFLAGS
 
10091
    libdir=$save_libdir
 
10092
 
 
10093
fi
 
10094
 
 
10095
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10429
10096
 
10430
10097
  # This implies no fast_install, which is unacceptable.
10431
10098
  # Some rework will be needed to allow for fast_install
10437
10104
 
10438
10105
  # Append ld.so.conf contents to the search path
10439
10106
  if test -f /etc/ld.so.conf; then
10440
 
    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' ' '`
 
10107
    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;s/"//g;/^$/d' | tr '\n' ' '`
10441
10108
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
 
10109
 
10442
10110
  fi
10443
10111
 
10444
10112
  # We used to test for /lib/ld.so.1 and disable shared libraries on
10638
10306
  dynamic_linker=no
10639
10307
  ;;
10640
10308
esac
10641
 
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
10309
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10642
10310
$as_echo "$dynamic_linker" >&6; }
10643
10311
test "$dynamic_linker" = no && can_build_shared=no
10644
10312
 
10740
10408
 
10741
10409
 
10742
10410
 
10743
 
  { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
10411
 
 
10412
 
 
10413
 
 
10414
 
 
10415
 
 
10416
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10744
10417
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10745
10418
hardcode_action=
10746
10419
if test -n "$hardcode_libdir_flag_spec" ||
10765
10438
  # directories.
10766
10439
  hardcode_action=unsupported
10767
10440
fi
10768
 
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
10441
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10769
10442
$as_echo "$hardcode_action" >&6; }
10770
10443
 
10771
10444
if test "$hardcode_action" = relink ||
10810
10483
 
10811
10484
  darwin*)
10812
10485
  # if libdl is installed we need to link against it
10813
 
    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
10486
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10814
10487
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10815
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 
10488
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10816
10489
  $as_echo_n "(cached) " >&6
10817
10490
else
10818
10491
  ac_check_lib_save_LIBS=$LIBS
10819
10492
LIBS="-ldl  $LIBS"
10820
 
cat >conftest.$ac_ext <<_ACEOF
10821
 
/* confdefs.h.  */
10822
 
_ACEOF
10823
 
cat confdefs.h >>conftest.$ac_ext
10824
 
cat >>conftest.$ac_ext <<_ACEOF
 
10493
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10825
10494
/* end confdefs.h.  */
10826
10495
 
10827
10496
/* Override any GCC internal prototype to avoid an error.
10839
10508
  return 0;
10840
10509
}
10841
10510
_ACEOF
10842
 
rm -f conftest.$ac_objext conftest$ac_exeext
10843
 
if { (ac_try="$ac_link"
10844
 
case "(($ac_try" in
10845
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10846
 
  *) ac_try_echo=$ac_try;;
10847
 
esac
10848
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10849
 
$as_echo "$ac_try_echo") >&5
10850
 
  (eval "$ac_link") 2>conftest.er1
10851
 
  ac_status=$?
10852
 
  grep -v '^ *+' conftest.er1 >conftest.err
10853
 
  rm -f conftest.er1
10854
 
  cat conftest.err >&5
10855
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10856
 
  (exit $ac_status); } && {
10857
 
         test -z "$ac_c_werror_flag" ||
10858
 
         test ! -s conftest.err
10859
 
       } && test -s conftest$ac_exeext && {
10860
 
         test "$cross_compiling" = yes ||
10861
 
         $as_test_x conftest$ac_exeext
10862
 
       }; then
 
10511
if ac_fn_c_try_link "$LINENO"; then :
10863
10512
  ac_cv_lib_dl_dlopen=yes
10864
10513
else
10865
 
  $as_echo "$as_me: failed program was:" >&5
10866
 
sed 's/^/| /' conftest.$ac_ext >&5
10867
 
 
10868
 
        ac_cv_lib_dl_dlopen=no
 
10514
  ac_cv_lib_dl_dlopen=no
10869
10515
fi
10870
 
 
10871
 
rm -rf conftest.dSYM
10872
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10873
 
      conftest$ac_exeext conftest.$ac_ext
 
10516
rm -f core conftest.err conftest.$ac_objext \
 
10517
    conftest$ac_exeext conftest.$ac_ext
10874
10518
LIBS=$ac_check_lib_save_LIBS
10875
10519
fi
10876
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
10520
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10877
10521
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10878
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
 
10522
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10879
10523
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10880
10524
else
10881
10525
 
10888
10532
    ;;
10889
10533
 
10890
10534
  *)
10891
 
    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
10892
 
$as_echo_n "checking for shl_load... " >&6; }
10893
 
if test "${ac_cv_func_shl_load+set}" = set; then
10894
 
  $as_echo_n "(cached) " >&6
10895
 
else
10896
 
  cat >conftest.$ac_ext <<_ACEOF
10897
 
/* confdefs.h.  */
10898
 
_ACEOF
10899
 
cat confdefs.h >>conftest.$ac_ext
10900
 
cat >>conftest.$ac_ext <<_ACEOF
10901
 
/* end confdefs.h.  */
10902
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10903
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10904
 
#define shl_load innocuous_shl_load
10905
 
 
10906
 
/* System header to define __stub macros and hopefully few prototypes,
10907
 
    which can conflict with char shl_load (); below.
10908
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10909
 
    <limits.h> exists even on freestanding compilers.  */
10910
 
 
10911
 
#ifdef __STDC__
10912
 
# include <limits.h>
10913
 
#else
10914
 
# include <assert.h>
10915
 
#endif
10916
 
 
10917
 
#undef shl_load
10918
 
 
10919
 
/* Override any GCC internal prototype to avoid an error.
10920
 
   Use char because int might match the return type of a GCC
10921
 
   builtin and then its argument prototype would still apply.  */
10922
 
#ifdef __cplusplus
10923
 
extern "C"
10924
 
#endif
10925
 
char shl_load ();
10926
 
/* The GNU C library defines this for functions which it implements
10927
 
    to always fail with ENOSYS.  Some functions are actually named
10928
 
    something starting with __ and the normal name is an alias.  */
10929
 
#if defined __stub_shl_load || defined __stub___shl_load
10930
 
choke me
10931
 
#endif
10932
 
 
10933
 
int
10934
 
main ()
10935
 
{
10936
 
return shl_load ();
10937
 
  ;
10938
 
  return 0;
10939
 
}
10940
 
_ACEOF
10941
 
rm -f conftest.$ac_objext conftest$ac_exeext
10942
 
if { (ac_try="$ac_link"
10943
 
case "(($ac_try" in
10944
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10945
 
  *) ac_try_echo=$ac_try;;
10946
 
esac
10947
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10948
 
$as_echo "$ac_try_echo") >&5
10949
 
  (eval "$ac_link") 2>conftest.er1
10950
 
  ac_status=$?
10951
 
  grep -v '^ *+' conftest.er1 >conftest.err
10952
 
  rm -f conftest.er1
10953
 
  cat conftest.err >&5
10954
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10955
 
  (exit $ac_status); } && {
10956
 
         test -z "$ac_c_werror_flag" ||
10957
 
         test ! -s conftest.err
10958
 
       } && test -s conftest$ac_exeext && {
10959
 
         test "$cross_compiling" = yes ||
10960
 
         $as_test_x conftest$ac_exeext
10961
 
       }; then
10962
 
  ac_cv_func_shl_load=yes
10963
 
else
10964
 
  $as_echo "$as_me: failed program was:" >&5
10965
 
sed 's/^/| /' conftest.$ac_ext >&5
10966
 
 
10967
 
        ac_cv_func_shl_load=no
10968
 
fi
10969
 
 
10970
 
rm -rf conftest.dSYM
10971
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10972
 
      conftest$ac_exeext conftest.$ac_ext
10973
 
fi
10974
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10975
 
$as_echo "$ac_cv_func_shl_load" >&6; }
10976
 
if test "x$ac_cv_func_shl_load" = x""yes; then
 
10535
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
 
10536
if test "x$ac_cv_func_shl_load" = x""yes; then :
10977
10537
  lt_cv_dlopen="shl_load"
10978
10538
else
10979
 
  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
10539
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10980
10540
$as_echo_n "checking for shl_load in -ldld... " >&6; }
10981
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
 
10541
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10982
10542
  $as_echo_n "(cached) " >&6
10983
10543
else
10984
10544
  ac_check_lib_save_LIBS=$LIBS
10985
10545
LIBS="-ldld  $LIBS"
10986
 
cat >conftest.$ac_ext <<_ACEOF
10987
 
/* confdefs.h.  */
10988
 
_ACEOF
10989
 
cat confdefs.h >>conftest.$ac_ext
10990
 
cat >>conftest.$ac_ext <<_ACEOF
 
10546
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10991
10547
/* end confdefs.h.  */
10992
10548
 
10993
10549
/* Override any GCC internal prototype to avoid an error.
11005
10561
  return 0;
11006
10562
}
11007
10563
_ACEOF
11008
 
rm -f conftest.$ac_objext conftest$ac_exeext
11009
 
if { (ac_try="$ac_link"
11010
 
case "(($ac_try" in
11011
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11012
 
  *) ac_try_echo=$ac_try;;
11013
 
esac
11014
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11015
 
$as_echo "$ac_try_echo") >&5
11016
 
  (eval "$ac_link") 2>conftest.er1
11017
 
  ac_status=$?
11018
 
  grep -v '^ *+' conftest.er1 >conftest.err
11019
 
  rm -f conftest.er1
11020
 
  cat conftest.err >&5
11021
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11022
 
  (exit $ac_status); } && {
11023
 
         test -z "$ac_c_werror_flag" ||
11024
 
         test ! -s conftest.err
11025
 
       } && test -s conftest$ac_exeext && {
11026
 
         test "$cross_compiling" = yes ||
11027
 
         $as_test_x conftest$ac_exeext
11028
 
       }; then
 
10564
if ac_fn_c_try_link "$LINENO"; then :
11029
10565
  ac_cv_lib_dld_shl_load=yes
11030
10566
else
11031
 
  $as_echo "$as_me: failed program was:" >&5
11032
 
sed 's/^/| /' conftest.$ac_ext >&5
11033
 
 
11034
 
        ac_cv_lib_dld_shl_load=no
 
10567
  ac_cv_lib_dld_shl_load=no
11035
10568
fi
11036
 
 
11037
 
rm -rf conftest.dSYM
11038
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11039
 
      conftest$ac_exeext conftest.$ac_ext
 
10569
rm -f core conftest.err conftest.$ac_objext \
 
10570
    conftest$ac_exeext conftest.$ac_ext
11040
10571
LIBS=$ac_check_lib_save_LIBS
11041
10572
fi
11042
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
10573
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11043
10574
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11044
 
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
 
10575
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11045
10576
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11046
10577
else
11047
 
  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
11048
 
$as_echo_n "checking for dlopen... " >&6; }
11049
 
if test "${ac_cv_func_dlopen+set}" = set; then
11050
 
  $as_echo_n "(cached) " >&6
11051
 
else
11052
 
  cat >conftest.$ac_ext <<_ACEOF
11053
 
/* confdefs.h.  */
11054
 
_ACEOF
11055
 
cat confdefs.h >>conftest.$ac_ext
11056
 
cat >>conftest.$ac_ext <<_ACEOF
11057
 
/* end confdefs.h.  */
11058
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11059
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11060
 
#define dlopen innocuous_dlopen
11061
 
 
11062
 
/* System header to define __stub macros and hopefully few prototypes,
11063
 
    which can conflict with char dlopen (); below.
11064
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11065
 
    <limits.h> exists even on freestanding compilers.  */
11066
 
 
11067
 
#ifdef __STDC__
11068
 
# include <limits.h>
11069
 
#else
11070
 
# include <assert.h>
11071
 
#endif
11072
 
 
11073
 
#undef dlopen
11074
 
 
11075
 
/* Override any GCC internal prototype to avoid an error.
11076
 
   Use char because int might match the return type of a GCC
11077
 
   builtin and then its argument prototype would still apply.  */
11078
 
#ifdef __cplusplus
11079
 
extern "C"
11080
 
#endif
11081
 
char dlopen ();
11082
 
/* The GNU C library defines this for functions which it implements
11083
 
    to always fail with ENOSYS.  Some functions are actually named
11084
 
    something starting with __ and the normal name is an alias.  */
11085
 
#if defined __stub_dlopen || defined __stub___dlopen
11086
 
choke me
11087
 
#endif
11088
 
 
11089
 
int
11090
 
main ()
11091
 
{
11092
 
return dlopen ();
11093
 
  ;
11094
 
  return 0;
11095
 
}
11096
 
_ACEOF
11097
 
rm -f conftest.$ac_objext conftest$ac_exeext
11098
 
if { (ac_try="$ac_link"
11099
 
case "(($ac_try" in
11100
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11101
 
  *) ac_try_echo=$ac_try;;
11102
 
esac
11103
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11104
 
$as_echo "$ac_try_echo") >&5
11105
 
  (eval "$ac_link") 2>conftest.er1
11106
 
  ac_status=$?
11107
 
  grep -v '^ *+' conftest.er1 >conftest.err
11108
 
  rm -f conftest.er1
11109
 
  cat conftest.err >&5
11110
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11111
 
  (exit $ac_status); } && {
11112
 
         test -z "$ac_c_werror_flag" ||
11113
 
         test ! -s conftest.err
11114
 
       } && test -s conftest$ac_exeext && {
11115
 
         test "$cross_compiling" = yes ||
11116
 
         $as_test_x conftest$ac_exeext
11117
 
       }; then
11118
 
  ac_cv_func_dlopen=yes
11119
 
else
11120
 
  $as_echo "$as_me: failed program was:" >&5
11121
 
sed 's/^/| /' conftest.$ac_ext >&5
11122
 
 
11123
 
        ac_cv_func_dlopen=no
11124
 
fi
11125
 
 
11126
 
rm -rf conftest.dSYM
11127
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11128
 
      conftest$ac_exeext conftest.$ac_ext
11129
 
fi
11130
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11131
 
$as_echo "$ac_cv_func_dlopen" >&6; }
11132
 
if test "x$ac_cv_func_dlopen" = x""yes; then
 
10578
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
 
10579
if test "x$ac_cv_func_dlopen" = x""yes; then :
11133
10580
  lt_cv_dlopen="dlopen"
11134
10581
else
11135
 
  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
10582
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11136
10583
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11137
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 
10584
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11138
10585
  $as_echo_n "(cached) " >&6
11139
10586
else
11140
10587
  ac_check_lib_save_LIBS=$LIBS
11141
10588
LIBS="-ldl  $LIBS"
11142
 
cat >conftest.$ac_ext <<_ACEOF
11143
 
/* confdefs.h.  */
11144
 
_ACEOF
11145
 
cat confdefs.h >>conftest.$ac_ext
11146
 
cat >>conftest.$ac_ext <<_ACEOF
 
10589
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11147
10590
/* end confdefs.h.  */
11148
10591
 
11149
10592
/* Override any GCC internal prototype to avoid an error.
11161
10604
  return 0;
11162
10605
}
11163
10606
_ACEOF
11164
 
rm -f conftest.$ac_objext conftest$ac_exeext
11165
 
if { (ac_try="$ac_link"
11166
 
case "(($ac_try" in
11167
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11168
 
  *) ac_try_echo=$ac_try;;
11169
 
esac
11170
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11171
 
$as_echo "$ac_try_echo") >&5
11172
 
  (eval "$ac_link") 2>conftest.er1
11173
 
  ac_status=$?
11174
 
  grep -v '^ *+' conftest.er1 >conftest.err
11175
 
  rm -f conftest.er1
11176
 
  cat conftest.err >&5
11177
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11178
 
  (exit $ac_status); } && {
11179
 
         test -z "$ac_c_werror_flag" ||
11180
 
         test ! -s conftest.err
11181
 
       } && test -s conftest$ac_exeext && {
11182
 
         test "$cross_compiling" = yes ||
11183
 
         $as_test_x conftest$ac_exeext
11184
 
       }; then
 
10607
if ac_fn_c_try_link "$LINENO"; then :
11185
10608
  ac_cv_lib_dl_dlopen=yes
11186
10609
else
11187
 
  $as_echo "$as_me: failed program was:" >&5
11188
 
sed 's/^/| /' conftest.$ac_ext >&5
11189
 
 
11190
 
        ac_cv_lib_dl_dlopen=no
 
10610
  ac_cv_lib_dl_dlopen=no
11191
10611
fi
11192
 
 
11193
 
rm -rf conftest.dSYM
11194
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11195
 
      conftest$ac_exeext conftest.$ac_ext
 
10612
rm -f core conftest.err conftest.$ac_objext \
 
10613
    conftest$ac_exeext conftest.$ac_ext
11196
10614
LIBS=$ac_check_lib_save_LIBS
11197
10615
fi
11198
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
10616
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11199
10617
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11200
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
 
10618
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11201
10619
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11202
10620
else
11203
 
  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
10621
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11204
10622
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11205
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
 
10623
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11206
10624
  $as_echo_n "(cached) " >&6
11207
10625
else
11208
10626
  ac_check_lib_save_LIBS=$LIBS
11209
10627
LIBS="-lsvld  $LIBS"
11210
 
cat >conftest.$ac_ext <<_ACEOF
11211
 
/* confdefs.h.  */
11212
 
_ACEOF
11213
 
cat confdefs.h >>conftest.$ac_ext
11214
 
cat >>conftest.$ac_ext <<_ACEOF
 
10628
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11215
10629
/* end confdefs.h.  */
11216
10630
 
11217
10631
/* Override any GCC internal prototype to avoid an error.
11229
10643
  return 0;
11230
10644
}
11231
10645
_ACEOF
11232
 
rm -f conftest.$ac_objext conftest$ac_exeext
11233
 
if { (ac_try="$ac_link"
11234
 
case "(($ac_try" in
11235
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11236
 
  *) ac_try_echo=$ac_try;;
11237
 
esac
11238
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11239
 
$as_echo "$ac_try_echo") >&5
11240
 
  (eval "$ac_link") 2>conftest.er1
11241
 
  ac_status=$?
11242
 
  grep -v '^ *+' conftest.er1 >conftest.err
11243
 
  rm -f conftest.er1
11244
 
  cat conftest.err >&5
11245
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11246
 
  (exit $ac_status); } && {
11247
 
         test -z "$ac_c_werror_flag" ||
11248
 
         test ! -s conftest.err
11249
 
       } && test -s conftest$ac_exeext && {
11250
 
         test "$cross_compiling" = yes ||
11251
 
         $as_test_x conftest$ac_exeext
11252
 
       }; then
 
10646
if ac_fn_c_try_link "$LINENO"; then :
11253
10647
  ac_cv_lib_svld_dlopen=yes
11254
10648
else
11255
 
  $as_echo "$as_me: failed program was:" >&5
11256
 
sed 's/^/| /' conftest.$ac_ext >&5
11257
 
 
11258
 
        ac_cv_lib_svld_dlopen=no
 
10649
  ac_cv_lib_svld_dlopen=no
11259
10650
fi
11260
 
 
11261
 
rm -rf conftest.dSYM
11262
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11263
 
      conftest$ac_exeext conftest.$ac_ext
 
10651
rm -f core conftest.err conftest.$ac_objext \
 
10652
    conftest$ac_exeext conftest.$ac_ext
11264
10653
LIBS=$ac_check_lib_save_LIBS
11265
10654
fi
11266
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
10655
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11267
10656
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11268
 
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
 
10657
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11269
10658
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11270
10659
else
11271
 
  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
10660
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11272
10661
$as_echo_n "checking for dld_link in -ldld... " >&6; }
11273
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
 
10662
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11274
10663
  $as_echo_n "(cached) " >&6
11275
10664
else
11276
10665
  ac_check_lib_save_LIBS=$LIBS
11277
10666
LIBS="-ldld  $LIBS"
11278
 
cat >conftest.$ac_ext <<_ACEOF
11279
 
/* confdefs.h.  */
11280
 
_ACEOF
11281
 
cat confdefs.h >>conftest.$ac_ext
11282
 
cat >>conftest.$ac_ext <<_ACEOF
 
10667
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11283
10668
/* end confdefs.h.  */
11284
10669
 
11285
10670
/* Override any GCC internal prototype to avoid an error.
11297
10682
  return 0;
11298
10683
}
11299
10684
_ACEOF
11300
 
rm -f conftest.$ac_objext conftest$ac_exeext
11301
 
if { (ac_try="$ac_link"
11302
 
case "(($ac_try" in
11303
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11304
 
  *) ac_try_echo=$ac_try;;
11305
 
esac
11306
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11307
 
$as_echo "$ac_try_echo") >&5
11308
 
  (eval "$ac_link") 2>conftest.er1
11309
 
  ac_status=$?
11310
 
  grep -v '^ *+' conftest.er1 >conftest.err
11311
 
  rm -f conftest.er1
11312
 
  cat conftest.err >&5
11313
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11314
 
  (exit $ac_status); } && {
11315
 
         test -z "$ac_c_werror_flag" ||
11316
 
         test ! -s conftest.err
11317
 
       } && test -s conftest$ac_exeext && {
11318
 
         test "$cross_compiling" = yes ||
11319
 
         $as_test_x conftest$ac_exeext
11320
 
       }; then
 
10685
if ac_fn_c_try_link "$LINENO"; then :
11321
10686
  ac_cv_lib_dld_dld_link=yes
11322
10687
else
11323
 
  $as_echo "$as_me: failed program was:" >&5
11324
 
sed 's/^/| /' conftest.$ac_ext >&5
11325
 
 
11326
 
        ac_cv_lib_dld_dld_link=no
 
10688
  ac_cv_lib_dld_dld_link=no
11327
10689
fi
11328
 
 
11329
 
rm -rf conftest.dSYM
11330
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11331
 
      conftest$ac_exeext conftest.$ac_ext
 
10690
rm -f core conftest.err conftest.$ac_objext \
 
10691
    conftest$ac_exeext conftest.$ac_ext
11332
10692
LIBS=$ac_check_lib_save_LIBS
11333
10693
fi
11334
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
10694
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11335
10695
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11336
 
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
 
10696
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11337
10697
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11338
10698
fi
11339
10699
 
11372
10732
    save_LIBS="$LIBS"
11373
10733
    LIBS="$lt_cv_dlopen_libs $LIBS"
11374
10734
 
11375
 
    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
10735
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11376
10736
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11377
 
if test "${lt_cv_dlopen_self+set}" = set; then
 
10737
if test "${lt_cv_dlopen_self+set}" = set; then :
11378
10738
  $as_echo_n "(cached) " >&6
11379
10739
else
11380
10740
          if test "$cross_compiling" = yes; then :
11383
10743
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11384
10744
  lt_status=$lt_dlunknown
11385
10745
  cat > conftest.$ac_ext <<_LT_EOF
11386
 
#line 11386 "configure"
 
10746
#line $LINENO "configure"
11387
10747
#include "confdefs.h"
11388
10748
 
11389
10749
#if HAVE_DLFCN_H
11424
10784
#  endif
11425
10785
#endif
11426
10786
 
11427
 
void fnord() { int i=42;}
 
10787
/* When -fvisbility=hidden is used, assume the code has been annotated
 
10788
   correspondingly for the symbols needed.  */
 
10789
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
10790
void fnord () __attribute__((visibility("default")));
 
10791
#endif
 
10792
 
 
10793
void fnord () { int i=42; }
11428
10794
int main ()
11429
10795
{
11430
10796
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11433
10799
  if (self)
11434
10800
    {
11435
10801
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11436
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
10802
      else
 
10803
        {
 
10804
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
10805
          else puts (dlerror ());
 
10806
        }
11437
10807
      /* dlclose (self); */
11438
10808
    }
11439
10809
  else
11442
10812
  return status;
11443
10813
}
11444
10814
_LT_EOF
11445
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
10815
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11446
10816
  (eval $ac_link) 2>&5
11447
10817
  ac_status=$?
11448
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11449
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
10818
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10819
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11450
10820
    (./conftest; exit; ) >&5 2>/dev/null
11451
10821
    lt_status=$?
11452
10822
    case x$lt_status in
11463
10833
 
11464
10834
 
11465
10835
fi
11466
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
10836
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11467
10837
$as_echo "$lt_cv_dlopen_self" >&6; }
11468
10838
 
11469
10839
    if test "x$lt_cv_dlopen_self" = xyes; then
11470
10840
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11471
 
      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
10841
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11472
10842
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11473
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
 
10843
if test "${lt_cv_dlopen_self_static+set}" = set; then :
11474
10844
  $as_echo_n "(cached) " >&6
11475
10845
else
11476
10846
          if test "$cross_compiling" = yes; then :
11479
10849
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11480
10850
  lt_status=$lt_dlunknown
11481
10851
  cat > conftest.$ac_ext <<_LT_EOF
11482
 
#line 11482 "configure"
 
10852
#line $LINENO "configure"
11483
10853
#include "confdefs.h"
11484
10854
 
11485
10855
#if HAVE_DLFCN_H
11520
10890
#  endif
11521
10891
#endif
11522
10892
 
11523
 
void fnord() { int i=42;}
 
10893
/* When -fvisbility=hidden is used, assume the code has been annotated
 
10894
   correspondingly for the symbols needed.  */
 
10895
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
10896
void fnord () __attribute__((visibility("default")));
 
10897
#endif
 
10898
 
 
10899
void fnord () { int i=42; }
11524
10900
int main ()
11525
10901
{
11526
10902
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11529
10905
  if (self)
11530
10906
    {
11531
10907
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11532
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
10908
      else
 
10909
        {
 
10910
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
10911
          else puts (dlerror ());
 
10912
        }
11533
10913
      /* dlclose (self); */
11534
10914
    }
11535
10915
  else
11538
10918
  return status;
11539
10919
}
11540
10920
_LT_EOF
11541
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
10921
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11542
10922
  (eval $ac_link) 2>&5
11543
10923
  ac_status=$?
11544
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11545
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
10924
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10925
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11546
10926
    (./conftest; exit; ) >&5 2>/dev/null
11547
10927
    lt_status=$?
11548
10928
    case x$lt_status in
11559
10939
 
11560
10940
 
11561
10941
fi
11562
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
10942
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11563
10943
$as_echo "$lt_cv_dlopen_self_static" >&6; }
11564
10944
    fi
11565
10945
 
11598
10978
 
11599
10979
striplib=
11600
10980
old_striplib=
11601
 
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
10981
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11602
10982
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11603
10983
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11604
10984
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11605
10985
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11606
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
10986
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11607
10987
$as_echo "yes" >&6; }
11608
10988
else
11609
10989
# FIXME - insert some real tests, host_os isn't really good enough
11612
10992
    if test -n "$STRIP" ; then
11613
10993
      striplib="$STRIP -x"
11614
10994
      old_striplib="$STRIP -S"
11615
 
      { $as_echo "$as_me:$LINENO: result: yes" >&5
 
10995
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11616
10996
$as_echo "yes" >&6; }
11617
10997
    else
11618
 
      { $as_echo "$as_me:$LINENO: result: no" >&5
 
10998
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11619
10999
$as_echo "no" >&6; }
11620
11000
    fi
11621
11001
    ;;
11622
11002
  *)
11623
 
    { $as_echo "$as_me:$LINENO: result: no" >&5
 
11003
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11624
11004
$as_echo "no" >&6; }
11625
11005
    ;;
11626
11006
  esac
11638
11018
 
11639
11019
 
11640
11020
  # Report which library types will actually be built
11641
 
  { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
11021
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11642
11022
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11643
 
  { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
11023
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11644
11024
$as_echo "$can_build_shared" >&6; }
11645
11025
 
11646
 
  { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
11026
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11647
11027
$as_echo_n "checking whether to build shared libraries... " >&6; }
11648
11028
  test "$can_build_shared" = "no" && enable_shared=no
11649
11029
 
11664
11044
    fi
11665
11045
    ;;
11666
11046
  esac
11667
 
  { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
 
11047
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11668
11048
$as_echo "$enable_shared" >&6; }
11669
11049
 
11670
 
  { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
11050
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11671
11051
$as_echo_n "checking whether to build static libraries... " >&6; }
11672
11052
  # Make sure either enable_shared or enable_static is yes.
11673
11053
  test "$enable_shared" = yes || enable_static=yes
11674
 
  { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
 
11054
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11675
11055
$as_echo "$enable_static" >&6; }
11676
11056
 
11677
11057
 
11719
11099
_ACEOF
11720
11100
 
11721
11101
 
11722
 
     { $as_echo "$as_me:$LINENO: checking for gcc 3.3 version of gcov file format" >&5
 
11102
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc 3.3 version of gcov file format" >&5
11723
11103
$as_echo_n "checking for gcc 3.3 version of gcov file format... " >&6; }
11724
11104
     have_gcc33_gcov=no
11725
 
     if test "$cross_compiling" = yes; then
11726
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
11105
     if test "$cross_compiling" = yes; then :
 
11106
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11727
11107
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11728
 
{ { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
11729
 
See \`config.log' for more details." >&5
11730
 
$as_echo "$as_me: error: cannot run test program while cross compiling
11731
 
See \`config.log' for more details." >&2;}
11732
 
   { (exit 1); exit 1; }; }; }
 
11108
as_fn_error $? "cannot run test program while cross compiling
 
11109
See \`config.log' for more details" "$LINENO" 5; }
11733
11110
else
11734
 
  cat >conftest.$ac_ext <<_ACEOF
11735
 
/* confdefs.h.  */
11736
 
_ACEOF
11737
 
cat confdefs.h >>conftest.$ac_ext
11738
 
cat >>conftest.$ac_ext <<_ACEOF
 
11111
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11739
11112
/* end confdefs.h.  */
11740
11113
 
11741
11114
int
11746
11119
  return 0;
11747
11120
}
11748
11121
_ACEOF
11749
 
rm -f conftest$ac_exeext
11750
 
if { (ac_try="$ac_link"
11751
 
case "(($ac_try" in
11752
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11753
 
  *) ac_try_echo=$ac_try;;
11754
 
esac
11755
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11756
 
$as_echo "$ac_try_echo") >&5
11757
 
  (eval "$ac_link") 2>&5
11758
 
  ac_status=$?
11759
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11760
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11761
 
  { (case "(($ac_try" in
11762
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11763
 
  *) ac_try_echo=$ac_try;;
11764
 
esac
11765
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11766
 
$as_echo "$ac_try_echo") >&5
11767
 
  (eval "$ac_try") 2>&5
11768
 
  ac_status=$?
11769
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11770
 
  (exit $ac_status); }; }; then
 
11122
if ac_fn_c_try_run "$LINENO"; then :
11771
11123
  have_gcc33_gcov=yes
11772
 
else
11773
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
11774
 
$as_echo "$as_me: failed program was:" >&5
11775
 
sed 's/^/| /' conftest.$ac_ext >&5
11776
 
 
11777
 
fi
11778
 
rm -rf conftest.dSYM
11779
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11780
 
fi
11781
 
 
 
11124
fi
 
11125
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
11126
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
11127
fi
11782
11128
 
11783
11129
     if test x$have_gcc33_gcov = xyes ; then
11784
11130
 
11787
11133
_ACEOF
11788
11134
 
11789
11135
     fi
11790
 
     { $as_echo "$as_me:$LINENO: result: $have_gcc33_gcov" >&5
 
11136
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gcc33_gcov" >&5
11791
11137
$as_echo "$have_gcc33_gcov" >&6; }
11792
11138
fi
11793
11139
 if test x$enable_gcov = xyes; then
11801
11147
 
11802
11148
 
11803
11149
#### Various functions
11804
 
{ $as_echo "$as_me:$LINENO: checking for library containing socket" >&5
 
11150
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
11805
11151
$as_echo_n "checking for library containing socket... " >&6; }
11806
 
if test "${ac_cv_search_socket+set}" = set; then
 
11152
if test "${ac_cv_search_socket+set}" = set; then :
11807
11153
  $as_echo_n "(cached) " >&6
11808
11154
else
11809
11155
  ac_func_search_save_LIBS=$LIBS
11810
 
cat >conftest.$ac_ext <<_ACEOF
11811
 
/* confdefs.h.  */
11812
 
_ACEOF
11813
 
cat confdefs.h >>conftest.$ac_ext
11814
 
cat >>conftest.$ac_ext <<_ACEOF
 
11156
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11815
11157
/* end confdefs.h.  */
11816
11158
 
11817
11159
/* Override any GCC internal prototype to avoid an error.
11836
11178
    ac_res=-l$ac_lib
11837
11179
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
11838
11180
  fi
11839
 
  rm -f conftest.$ac_objext conftest$ac_exeext
11840
 
if { (ac_try="$ac_link"
11841
 
case "(($ac_try" in
11842
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11843
 
  *) ac_try_echo=$ac_try;;
11844
 
esac
11845
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11846
 
$as_echo "$ac_try_echo") >&5
11847
 
  (eval "$ac_link") 2>conftest.er1
11848
 
  ac_status=$?
11849
 
  grep -v '^ *+' conftest.er1 >conftest.err
11850
 
  rm -f conftest.er1
11851
 
  cat conftest.err >&5
11852
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11853
 
  (exit $ac_status); } && {
11854
 
         test -z "$ac_c_werror_flag" ||
11855
 
         test ! -s conftest.err
11856
 
       } && test -s conftest$ac_exeext && {
11857
 
         test "$cross_compiling" = yes ||
11858
 
         $as_test_x conftest$ac_exeext
11859
 
       }; then
 
11181
  if ac_fn_c_try_link "$LINENO"; then :
11860
11182
  ac_cv_search_socket=$ac_res
11861
 
else
11862
 
  $as_echo "$as_me: failed program was:" >&5
11863
 
sed 's/^/| /' conftest.$ac_ext >&5
11864
 
 
11865
 
 
11866
11183
fi
11867
 
 
11868
 
rm -rf conftest.dSYM
11869
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11870
 
      conftest$ac_exeext
11871
 
  if test "${ac_cv_search_socket+set}" = set; then
 
11184
rm -f core conftest.err conftest.$ac_objext \
 
11185
    conftest$ac_exeext
 
11186
  if test "${ac_cv_search_socket+set}" = set; then :
11872
11187
  break
11873
11188
fi
11874
11189
done
11875
 
if test "${ac_cv_search_socket+set}" = set; then
11876
 
  :
 
11190
if test "${ac_cv_search_socket+set}" = set; then :
 
11191
 
11877
11192
else
11878
11193
  ac_cv_search_socket=no
11879
11194
fi
11880
11195
rm conftest.$ac_ext
11881
11196
LIBS=$ac_func_search_save_LIBS
11882
11197
fi
11883
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5
 
11198
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
11884
11199
$as_echo "$ac_cv_search_socket" >&6; }
11885
11200
ac_res=$ac_cv_search_socket
11886
 
if test "$ac_res" != no; then
 
11201
if test "$ac_res" != no; then :
11887
11202
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
11888
11203
 
11889
11204
fi
11890
11205
 
11891
11206
 
11892
 
{ $as_echo "$as_me:$LINENO: checking whether socklen_t is defined" >&5
 
11207
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether socklen_t is defined" >&5
11893
11208
$as_echo_n "checking whether socklen_t is defined... " >&6; }
11894
 
cat >conftest.$ac_ext <<_ACEOF
11895
 
/* confdefs.h.  */
11896
 
_ACEOF
11897
 
cat confdefs.h >>conftest.$ac_ext
11898
 
cat >>conftest.$ac_ext <<_ACEOF
 
11209
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11899
11210
/* end confdefs.h.  */
11900
11211
 
11901
11212
#include <sys/types.h>
11913
11224
  return 0;
11914
11225
}
11915
11226
_ACEOF
11916
 
rm -f conftest.$ac_objext
11917
 
if { (ac_try="$ac_compile"
11918
 
case "(($ac_try" in
11919
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11920
 
  *) ac_try_echo=$ac_try;;
11921
 
esac
11922
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11923
 
$as_echo "$ac_try_echo") >&5
11924
 
  (eval "$ac_compile") 2>conftest.er1
11925
 
  ac_status=$?
11926
 
  grep -v '^ *+' conftest.er1 >conftest.err
11927
 
  rm -f conftest.er1
11928
 
  cat conftest.err >&5
11929
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11930
 
  (exit $ac_status); } && {
11931
 
         test -z "$ac_c_werror_flag" ||
11932
 
         test ! -s conftest.err
11933
 
       } && test -s conftest.$ac_objext; then
 
11227
if ac_fn_c_try_compile "$LINENO"; then :
11934
11228
  dbus_have_socklen_t=yes
11935
11229
else
11936
 
  $as_echo "$as_me: failed program was:" >&5
11937
 
sed 's/^/| /' conftest.$ac_ext >&5
11938
 
 
11939
 
        dbus_have_socklen_t=no
 
11230
  dbus_have_socklen_t=no
11940
11231
fi
11941
 
 
11942
11232
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11943
 
{ $as_echo "$as_me:$LINENO: result: $dbus_have_socklen_t" >&5
 
11233
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus_have_socklen_t" >&5
11944
11234
$as_echo "$dbus_have_socklen_t" >&6; }
11945
11235
 
11946
11236
if test "x$dbus_have_socklen_t" = "xyes"; then
11947
11237
 
11948
 
cat >>confdefs.h <<\_ACEOF
11949
 
#define HAVE_SOCKLEN_T 1
11950
 
_ACEOF
 
11238
$as_echo "#define HAVE_SOCKLEN_T 1" >>confdefs.h
11951
11239
 
11952
11240
fi
11953
11241
 
11959
11247
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11960
11248
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11961
11249
 
11962
 
{ $as_echo "$as_me:$LINENO: checking abstract socket namespace" >&5
 
11250
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking abstract socket namespace" >&5
11963
11251
$as_echo_n "checking abstract socket namespace... " >&6; }
11964
 
if test "${ac_cv_have_abstract_sockets+set}" = set; then
 
11252
if test "${ac_cv_have_abstract_sockets+set}" = set; then :
11965
11253
  $as_echo_n "(cached) " >&6
11966
11254
else
11967
 
  if test "$cross_compiling" = yes; then
11968
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
11255
  if test "$cross_compiling" = yes; then :
 
11256
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11969
11257
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11970
 
{ { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
11971
 
See \`config.log' for more details." >&5
11972
 
$as_echo "$as_me: error: cannot run test program while cross compiling
11973
 
See \`config.log' for more details." >&2;}
11974
 
   { (exit 1); exit 1; }; }; }
 
11258
as_fn_error $? "cannot run test program while cross compiling
 
11259
See \`config.log' for more details" "$LINENO" 5; }
11975
11260
else
11976
 
  cat >conftest.$ac_ext <<_ACEOF
11977
 
/* confdefs.h.  */
11978
 
_ACEOF
11979
 
cat confdefs.h >>conftest.$ac_ext
11980
 
cat >>conftest.$ac_ext <<_ACEOF
 
11261
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11981
11262
/* end confdefs.h.  */
11982
11263
 
11983
11264
#include <sys/types.h>
12021
11302
  return 0;
12022
11303
}
12023
11304
_ACEOF
12024
 
rm -f conftest$ac_exeext
12025
 
if { (ac_try="$ac_link"
12026
 
case "(($ac_try" in
12027
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12028
 
  *) ac_try_echo=$ac_try;;
12029
 
esac
12030
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12031
 
$as_echo "$ac_try_echo") >&5
12032
 
  (eval "$ac_link") 2>&5
12033
 
  ac_status=$?
12034
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12035
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12036
 
  { (case "(($ac_try" in
12037
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12038
 
  *) ac_try_echo=$ac_try;;
12039
 
esac
12040
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12041
 
$as_echo "$ac_try_echo") >&5
12042
 
  (eval "$ac_try") 2>&5
12043
 
  ac_status=$?
12044
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12045
 
  (exit $ac_status); }; }; then
 
11305
if ac_fn_c_try_run "$LINENO"; then :
12046
11306
  ac_cv_have_abstract_sockets=yes
12047
11307
else
12048
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
12049
 
$as_echo "$as_me: failed program was:" >&5
12050
 
sed 's/^/| /' conftest.$ac_ext >&5
12051
 
 
12052
 
( exit $ac_status )
12053
 
ac_cv_have_abstract_sockets=no
12054
 
 
12055
 
fi
12056
 
rm -rf conftest.dSYM
12057
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12058
 
fi
12059
 
 
12060
 
 
12061
 
fi
12062
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_abstract_sockets" >&5
 
11308
  ac_cv_have_abstract_sockets=no
 
11309
 
 
11310
fi
 
11311
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
11312
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
11313
fi
 
11314
 
 
11315
fi
 
11316
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_abstract_sockets" >&5
12063
11317
$as_echo "$ac_cv_have_abstract_sockets" >&6; }
12064
11318
ac_ext=c
12065
11319
ac_cpp='$CPP $CPPFLAGS'
12070
11324
 
12071
11325
if test x$enable_abstract_sockets = xyes; then
12072
11326
    if test x$ac_cv_have_abstract_sockets = xno; then
12073
 
        { { $as_echo "$as_me:$LINENO: error: Abstract sockets explicitly required, and support not detected." >&5
12074
 
$as_echo "$as_me: error: Abstract sockets explicitly required, and support not detected." >&2;}
12075
 
   { (exit 1); exit 1; }; }
 
11327
        as_fn_error $? "Abstract sockets explicitly required, and support not detected." "$LINENO" 5
12076
11328
    fi
12077
11329
fi
12078
11330
 
12083
11335
if test x$ac_cv_have_abstract_sockets = xyes ; then
12084
11336
   DBUS_PATH_OR_ABSTRACT=abstract
12085
11337
 
12086
 
cat >>confdefs.h <<\_ACEOF
12087
 
#define HAVE_ABSTRACT_SOCKETS 1
12088
 
_ACEOF
 
11338
$as_echo "#define HAVE_ABSTRACT_SOCKETS 1" >>confdefs.h
12089
11339
 
12090
11340
else
12091
11341
   DBUS_PATH_OR_ABSTRACT=path
12100
11350
# this makes us require GLib to run autoconf, but not at runtime
12101
11351
ALL_LINGUAS=""
12102
11352
 
12103
 
 
12104
 
for ac_header in locale.h
12105
 
do
12106
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12107
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12108
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12109
 
$as_echo_n "checking for $ac_header... " >&6; }
12110
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12111
 
  $as_echo_n "(cached) " >&6
12112
 
fi
12113
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
12114
 
                 $as_echo "$as_val"'`
12115
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12116
 
$as_echo "$ac_res" >&6; }
12117
 
else
12118
 
  # Is the header compilable?
12119
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12120
 
$as_echo_n "checking $ac_header usability... " >&6; }
12121
 
cat >conftest.$ac_ext <<_ACEOF
12122
 
/* confdefs.h.  */
12123
 
_ACEOF
12124
 
cat confdefs.h >>conftest.$ac_ext
12125
 
cat >>conftest.$ac_ext <<_ACEOF
12126
 
/* end confdefs.h.  */
12127
 
$ac_includes_default
12128
 
#include <$ac_header>
12129
 
_ACEOF
12130
 
rm -f conftest.$ac_objext
12131
 
if { (ac_try="$ac_compile"
12132
 
case "(($ac_try" in
12133
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12134
 
  *) ac_try_echo=$ac_try;;
12135
 
esac
12136
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12137
 
$as_echo "$ac_try_echo") >&5
12138
 
  (eval "$ac_compile") 2>conftest.er1
12139
 
  ac_status=$?
12140
 
  grep -v '^ *+' conftest.er1 >conftest.err
12141
 
  rm -f conftest.er1
12142
 
  cat conftest.err >&5
12143
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12144
 
  (exit $ac_status); } && {
12145
 
         test -z "$ac_c_werror_flag" ||
12146
 
         test ! -s conftest.err
12147
 
       } && test -s conftest.$ac_objext; then
12148
 
  ac_header_compiler=yes
12149
 
else
12150
 
  $as_echo "$as_me: failed program was:" >&5
12151
 
sed 's/^/| /' conftest.$ac_ext >&5
12152
 
 
12153
 
        ac_header_compiler=no
12154
 
fi
12155
 
 
12156
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12157
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12158
 
$as_echo "$ac_header_compiler" >&6; }
12159
 
 
12160
 
# Is the header present?
12161
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12162
 
$as_echo_n "checking $ac_header presence... " >&6; }
12163
 
cat >conftest.$ac_ext <<_ACEOF
12164
 
/* confdefs.h.  */
12165
 
_ACEOF
12166
 
cat confdefs.h >>conftest.$ac_ext
12167
 
cat >>conftest.$ac_ext <<_ACEOF
12168
 
/* end confdefs.h.  */
12169
 
#include <$ac_header>
12170
 
_ACEOF
12171
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
12172
 
case "(($ac_try" in
12173
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12174
 
  *) ac_try_echo=$ac_try;;
12175
 
esac
12176
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12177
 
$as_echo "$ac_try_echo") >&5
12178
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12179
 
  ac_status=$?
12180
 
  grep -v '^ *+' conftest.er1 >conftest.err
12181
 
  rm -f conftest.er1
12182
 
  cat conftest.err >&5
12183
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12184
 
  (exit $ac_status); } >/dev/null && {
12185
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12186
 
         test ! -s conftest.err
12187
 
       }; then
12188
 
  ac_header_preproc=yes
12189
 
else
12190
 
  $as_echo "$as_me: failed program was:" >&5
12191
 
sed 's/^/| /' conftest.$ac_ext >&5
12192
 
 
12193
 
  ac_header_preproc=no
12194
 
fi
12195
 
 
12196
 
rm -f conftest.err conftest.$ac_ext
12197
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12198
 
$as_echo "$ac_header_preproc" >&6; }
12199
 
 
12200
 
# So?  What about this header?
12201
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12202
 
  yes:no: )
12203
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12204
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12205
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12206
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12207
 
    ac_header_preproc=yes
12208
 
    ;;
12209
 
  no:yes:* )
12210
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12211
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12212
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
12213
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
12214
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12215
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12216
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
12217
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
12218
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12219
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12220
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12221
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12222
 
    ( cat <<\_ASBOX
12223
 
## ---------------------------------------------------------------------- ##
12224
 
## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=dbus ##
12225
 
## ---------------------------------------------------------------------- ##
12226
 
_ASBOX
12227
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
12228
 
    ;;
12229
 
esac
12230
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12231
 
$as_echo_n "checking for $ac_header... " >&6; }
12232
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12233
 
  $as_echo_n "(cached) " >&6
12234
 
else
12235
 
  eval "$as_ac_Header=\$ac_header_preproc"
12236
 
fi
12237
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
12238
 
                 $as_echo "$as_val"'`
12239
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12240
 
$as_echo "$ac_res" >&6; }
12241
 
 
12242
 
fi
12243
 
as_val=`eval 'as_val=${'$as_ac_Header'}
12244
 
                 $as_echo "$as_val"'`
12245
 
   if test "x$as_val" = x""yes; then
 
11353
   for ac_header in locale.h
 
11354
do :
 
11355
  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
 
11356
if test "x$ac_cv_header_locale_h" = x""yes; then :
12246
11357
  cat >>confdefs.h <<_ACEOF
12247
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
11358
#define HAVE_LOCALE_H 1
12248
11359
_ACEOF
12249
11360
 
12250
11361
fi
12252
11363
done
12253
11364
 
12254
11365
    if test $ac_cv_header_locale_h = yes; then
12255
 
    { $as_echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
 
11366
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
12256
11367
$as_echo_n "checking for LC_MESSAGES... " >&6; }
12257
 
if test "${am_cv_val_LC_MESSAGES+set}" = set; then
 
11368
if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
12258
11369
  $as_echo_n "(cached) " >&6
12259
11370
else
12260
 
  cat >conftest.$ac_ext <<_ACEOF
12261
 
/* confdefs.h.  */
12262
 
_ACEOF
12263
 
cat confdefs.h >>conftest.$ac_ext
12264
 
cat >>conftest.$ac_ext <<_ACEOF
 
11371
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12265
11372
/* end confdefs.h.  */
12266
11373
#include <locale.h>
12267
11374
int
12272
11379
  return 0;
12273
11380
}
12274
11381
_ACEOF
12275
 
rm -f conftest.$ac_objext conftest$ac_exeext
12276
 
if { (ac_try="$ac_link"
12277
 
case "(($ac_try" in
12278
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12279
 
  *) ac_try_echo=$ac_try;;
12280
 
esac
12281
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12282
 
$as_echo "$ac_try_echo") >&5
12283
 
  (eval "$ac_link") 2>conftest.er1
12284
 
  ac_status=$?
12285
 
  grep -v '^ *+' conftest.er1 >conftest.err
12286
 
  rm -f conftest.er1
12287
 
  cat conftest.err >&5
12288
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12289
 
  (exit $ac_status); } && {
12290
 
         test -z "$ac_c_werror_flag" ||
12291
 
         test ! -s conftest.err
12292
 
       } && test -s conftest$ac_exeext && {
12293
 
         test "$cross_compiling" = yes ||
12294
 
         $as_test_x conftest$ac_exeext
12295
 
       }; then
 
11382
if ac_fn_c_try_link "$LINENO"; then :
12296
11383
  am_cv_val_LC_MESSAGES=yes
12297
11384
else
12298
 
  $as_echo "$as_me: failed program was:" >&5
12299
 
sed 's/^/| /' conftest.$ac_ext >&5
12300
 
 
12301
 
        am_cv_val_LC_MESSAGES=no
12302
 
fi
12303
 
 
12304
 
rm -rf conftest.dSYM
12305
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12306
 
      conftest$ac_exeext conftest.$ac_ext
12307
 
fi
12308
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
 
11385
  am_cv_val_LC_MESSAGES=no
 
11386
fi
 
11387
rm -f core conftest.err conftest.$ac_objext \
 
11388
    conftest$ac_exeext conftest.$ac_ext
 
11389
fi
 
11390
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
12309
11391
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
12310
11392
    if test $am_cv_val_LC_MESSAGES = yes; then
12311
11393
 
12312
 
cat >>confdefs.h <<\_ACEOF
12313
 
#define HAVE_LC_MESSAGES 1
12314
 
_ACEOF
 
11394
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
12315
11395
 
12316
11396
    fi
12317
11397
  fi
12324
11404
    XGETTEXT=:
12325
11405
    INTLLIBS=
12326
11406
 
12327
 
    if test "${ac_cv_header_libintl_h+set}" = set; then
12328
 
  { $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
12329
 
$as_echo_n "checking for libintl.h... " >&6; }
12330
 
if test "${ac_cv_header_libintl_h+set}" = set; then
12331
 
  $as_echo_n "(cached) " >&6
12332
 
fi
12333
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
12334
 
$as_echo "$ac_cv_header_libintl_h" >&6; }
12335
 
else
12336
 
  # Is the header compilable?
12337
 
{ $as_echo "$as_me:$LINENO: checking libintl.h usability" >&5
12338
 
$as_echo_n "checking libintl.h usability... " >&6; }
12339
 
cat >conftest.$ac_ext <<_ACEOF
12340
 
/* confdefs.h.  */
12341
 
_ACEOF
12342
 
cat confdefs.h >>conftest.$ac_ext
12343
 
cat >>conftest.$ac_ext <<_ACEOF
12344
 
/* end confdefs.h.  */
12345
 
$ac_includes_default
12346
 
#include <libintl.h>
12347
 
_ACEOF
12348
 
rm -f conftest.$ac_objext
12349
 
if { (ac_try="$ac_compile"
12350
 
case "(($ac_try" in
12351
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12352
 
  *) ac_try_echo=$ac_try;;
12353
 
esac
12354
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12355
 
$as_echo "$ac_try_echo") >&5
12356
 
  (eval "$ac_compile") 2>conftest.er1
12357
 
  ac_status=$?
12358
 
  grep -v '^ *+' conftest.er1 >conftest.err
12359
 
  rm -f conftest.er1
12360
 
  cat conftest.err >&5
12361
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12362
 
  (exit $ac_status); } && {
12363
 
         test -z "$ac_c_werror_flag" ||
12364
 
         test ! -s conftest.err
12365
 
       } && test -s conftest.$ac_objext; then
12366
 
  ac_header_compiler=yes
12367
 
else
12368
 
  $as_echo "$as_me: failed program was:" >&5
12369
 
sed 's/^/| /' conftest.$ac_ext >&5
12370
 
 
12371
 
        ac_header_compiler=no
12372
 
fi
12373
 
 
12374
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12375
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12376
 
$as_echo "$ac_header_compiler" >&6; }
12377
 
 
12378
 
# Is the header present?
12379
 
{ $as_echo "$as_me:$LINENO: checking libintl.h presence" >&5
12380
 
$as_echo_n "checking libintl.h presence... " >&6; }
12381
 
cat >conftest.$ac_ext <<_ACEOF
12382
 
/* confdefs.h.  */
12383
 
_ACEOF
12384
 
cat confdefs.h >>conftest.$ac_ext
12385
 
cat >>conftest.$ac_ext <<_ACEOF
12386
 
/* end confdefs.h.  */
12387
 
#include <libintl.h>
12388
 
_ACEOF
12389
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
12390
 
case "(($ac_try" in
12391
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12392
 
  *) ac_try_echo=$ac_try;;
12393
 
esac
12394
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12395
 
$as_echo "$ac_try_echo") >&5
12396
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12397
 
  ac_status=$?
12398
 
  grep -v '^ *+' conftest.er1 >conftest.err
12399
 
  rm -f conftest.er1
12400
 
  cat conftest.err >&5
12401
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12402
 
  (exit $ac_status); } >/dev/null && {
12403
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12404
 
         test ! -s conftest.err
12405
 
       }; then
12406
 
  ac_header_preproc=yes
12407
 
else
12408
 
  $as_echo "$as_me: failed program was:" >&5
12409
 
sed 's/^/| /' conftest.$ac_ext >&5
12410
 
 
12411
 
  ac_header_preproc=no
12412
 
fi
12413
 
 
12414
 
rm -f conftest.err conftest.$ac_ext
12415
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12416
 
$as_echo "$ac_header_preproc" >&6; }
12417
 
 
12418
 
# So?  What about this header?
12419
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12420
 
  yes:no: )
12421
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
12422
 
$as_echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12423
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
12424
 
$as_echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
12425
 
    ac_header_preproc=yes
12426
 
    ;;
12427
 
  no:yes:* )
12428
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
12429
 
$as_echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
12430
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h:     check for missing prerequisite headers?" >&5
12431
 
$as_echo "$as_me: WARNING: libintl.h:     check for missing prerequisite headers?" >&2;}
12432
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
12433
 
$as_echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
12434
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&5
12435
 
$as_echo "$as_me: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
12436
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
12437
 
$as_echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
12438
 
    { $as_echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
12439
 
$as_echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
12440
 
    ( cat <<\_ASBOX
12441
 
## ---------------------------------------------------------------------- ##
12442
 
## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=dbus ##
12443
 
## ---------------------------------------------------------------------- ##
12444
 
_ASBOX
12445
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
12446
 
    ;;
12447
 
esac
12448
 
{ $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
12449
 
$as_echo_n "checking for libintl.h... " >&6; }
12450
 
if test "${ac_cv_header_libintl_h+set}" = set; then
12451
 
  $as_echo_n "(cached) " >&6
12452
 
else
12453
 
  ac_cv_header_libintl_h=$ac_header_preproc
12454
 
fi
12455
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
12456
 
$as_echo "$ac_cv_header_libintl_h" >&6; }
12457
 
 
12458
 
fi
12459
 
if test "x$ac_cv_header_libintl_h" = x""yes; then
 
11407
    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
 
11408
if test "x$ac_cv_header_libintl_h" = x""yes; then :
12460
11409
  gt_cv_func_dgettext_libintl="no"
12461
11410
      libintl_extra_libs=""
12462
11411
 
12463
11412
      #
12464
11413
      # First check in libc
12465
11414
      #
12466
 
      { $as_echo "$as_me:$LINENO: checking for ngettext in libc" >&5
 
11415
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
12467
11416
$as_echo_n "checking for ngettext in libc... " >&6; }
12468
 
if test "${gt_cv_func_ngettext_libc+set}" = set; then
 
11417
if test "${gt_cv_func_ngettext_libc+set}" = set; then :
12469
11418
  $as_echo_n "(cached) " >&6
12470
11419
else
12471
 
  cat >conftest.$ac_ext <<_ACEOF
12472
 
/* confdefs.h.  */
12473
 
_ACEOF
12474
 
cat confdefs.h >>conftest.$ac_ext
12475
 
cat >>conftest.$ac_ext <<_ACEOF
 
11420
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12476
11421
/* end confdefs.h.  */
12477
11422
 
12478
11423
#include <libintl.h>
12485
11430
  return 0;
12486
11431
}
12487
11432
_ACEOF
12488
 
rm -f conftest.$ac_objext conftest$ac_exeext
12489
 
if { (ac_try="$ac_link"
12490
 
case "(($ac_try" in
12491
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12492
 
  *) ac_try_echo=$ac_try;;
12493
 
esac
12494
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12495
 
$as_echo "$ac_try_echo") >&5
12496
 
  (eval "$ac_link") 2>conftest.er1
12497
 
  ac_status=$?
12498
 
  grep -v '^ *+' conftest.er1 >conftest.err
12499
 
  rm -f conftest.er1
12500
 
  cat conftest.err >&5
12501
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12502
 
  (exit $ac_status); } && {
12503
 
         test -z "$ac_c_werror_flag" ||
12504
 
         test ! -s conftest.err
12505
 
       } && test -s conftest$ac_exeext && {
12506
 
         test "$cross_compiling" = yes ||
12507
 
         $as_test_x conftest$ac_exeext
12508
 
       }; then
 
11433
if ac_fn_c_try_link "$LINENO"; then :
12509
11434
  gt_cv_func_ngettext_libc=yes
12510
11435
else
12511
 
  $as_echo "$as_me: failed program was:" >&5
12512
 
sed 's/^/| /' conftest.$ac_ext >&5
12513
 
 
12514
 
        gt_cv_func_ngettext_libc=no
12515
 
fi
12516
 
 
12517
 
rm -rf conftest.dSYM
12518
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12519
 
      conftest$ac_exeext conftest.$ac_ext
12520
 
 
12521
 
fi
12522
 
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
 
11436
  gt_cv_func_ngettext_libc=no
 
11437
fi
 
11438
rm -f core conftest.err conftest.$ac_objext \
 
11439
    conftest$ac_exeext conftest.$ac_ext
 
11440
 
 
11441
fi
 
11442
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
12523
11443
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
12524
11444
 
12525
11445
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
12526
 
              { $as_echo "$as_me:$LINENO: checking for dgettext in libc" >&5
 
11446
              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
12527
11447
$as_echo_n "checking for dgettext in libc... " >&6; }
12528
 
if test "${gt_cv_func_dgettext_libc+set}" = set; then
 
11448
if test "${gt_cv_func_dgettext_libc+set}" = set; then :
12529
11449
  $as_echo_n "(cached) " >&6
12530
11450
else
12531
 
  cat >conftest.$ac_ext <<_ACEOF
12532
 
/* confdefs.h.  */
12533
 
_ACEOF
12534
 
cat confdefs.h >>conftest.$ac_ext
12535
 
cat >>conftest.$ac_ext <<_ACEOF
 
11451
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12536
11452
/* end confdefs.h.  */
12537
11453
 
12538
11454
#include <libintl.h>
12545
11461
  return 0;
12546
11462
}
12547
11463
_ACEOF
12548
 
rm -f conftest.$ac_objext conftest$ac_exeext
12549
 
if { (ac_try="$ac_link"
12550
 
case "(($ac_try" in
12551
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12552
 
  *) ac_try_echo=$ac_try;;
12553
 
esac
12554
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12555
 
$as_echo "$ac_try_echo") >&5
12556
 
  (eval "$ac_link") 2>conftest.er1
12557
 
  ac_status=$?
12558
 
  grep -v '^ *+' conftest.er1 >conftest.err
12559
 
  rm -f conftest.er1
12560
 
  cat conftest.err >&5
12561
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12562
 
  (exit $ac_status); } && {
12563
 
         test -z "$ac_c_werror_flag" ||
12564
 
         test ! -s conftest.err
12565
 
       } && test -s conftest$ac_exeext && {
12566
 
         test "$cross_compiling" = yes ||
12567
 
         $as_test_x conftest$ac_exeext
12568
 
       }; then
 
11464
if ac_fn_c_try_link "$LINENO"; then :
12569
11465
  gt_cv_func_dgettext_libc=yes
12570
11466
else
12571
 
  $as_echo "$as_me: failed program was:" >&5
12572
 
sed 's/^/| /' conftest.$ac_ext >&5
12573
 
 
12574
 
        gt_cv_func_dgettext_libc=no
12575
 
fi
12576
 
 
12577
 
rm -rf conftest.dSYM
12578
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12579
 
      conftest$ac_exeext conftest.$ac_ext
12580
 
 
12581
 
fi
12582
 
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
 
11467
  gt_cv_func_dgettext_libc=no
 
11468
fi
 
11469
rm -f core conftest.err conftest.$ac_objext \
 
11470
    conftest$ac_exeext conftest.$ac_ext
 
11471
 
 
11472
fi
 
11473
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
12583
11474
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
12584
11475
      fi
12585
11476
 
12586
11477
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
12587
 
 
12588
 
for ac_func in bind_textdomain_codeset
12589
 
do
12590
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12591
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
12592
 
$as_echo_n "checking for $ac_func... " >&6; }
12593
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12594
 
  $as_echo_n "(cached) " >&6
12595
 
else
12596
 
  cat >conftest.$ac_ext <<_ACEOF
12597
 
/* confdefs.h.  */
12598
 
_ACEOF
12599
 
cat confdefs.h >>conftest.$ac_ext
12600
 
cat >>conftest.$ac_ext <<_ACEOF
12601
 
/* end confdefs.h.  */
12602
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12603
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12604
 
#define $ac_func innocuous_$ac_func
12605
 
 
12606
 
/* System header to define __stub macros and hopefully few prototypes,
12607
 
    which can conflict with char $ac_func (); below.
12608
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12609
 
    <limits.h> exists even on freestanding compilers.  */
12610
 
 
12611
 
#ifdef __STDC__
12612
 
# include <limits.h>
12613
 
#else
12614
 
# include <assert.h>
12615
 
#endif
12616
 
 
12617
 
#undef $ac_func
12618
 
 
12619
 
/* Override any GCC internal prototype to avoid an error.
12620
 
   Use char because int might match the return type of a GCC
12621
 
   builtin and then its argument prototype would still apply.  */
12622
 
#ifdef __cplusplus
12623
 
extern "C"
12624
 
#endif
12625
 
char $ac_func ();
12626
 
/* The GNU C library defines this for functions which it implements
12627
 
    to always fail with ENOSYS.  Some functions are actually named
12628
 
    something starting with __ and the normal name is an alias.  */
12629
 
#if defined __stub_$ac_func || defined __stub___$ac_func
12630
 
choke me
12631
 
#endif
12632
 
 
12633
 
int
12634
 
main ()
12635
 
{
12636
 
return $ac_func ();
12637
 
  ;
12638
 
  return 0;
12639
 
}
12640
 
_ACEOF
12641
 
rm -f conftest.$ac_objext conftest$ac_exeext
12642
 
if { (ac_try="$ac_link"
12643
 
case "(($ac_try" in
12644
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12645
 
  *) ac_try_echo=$ac_try;;
12646
 
esac
12647
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12648
 
$as_echo "$ac_try_echo") >&5
12649
 
  (eval "$ac_link") 2>conftest.er1
12650
 
  ac_status=$?
12651
 
  grep -v '^ *+' conftest.er1 >conftest.err
12652
 
  rm -f conftest.er1
12653
 
  cat conftest.err >&5
12654
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12655
 
  (exit $ac_status); } && {
12656
 
         test -z "$ac_c_werror_flag" ||
12657
 
         test ! -s conftest.err
12658
 
       } && test -s conftest$ac_exeext && {
12659
 
         test "$cross_compiling" = yes ||
12660
 
         $as_test_x conftest$ac_exeext
12661
 
       }; then
12662
 
  eval "$as_ac_var=yes"
12663
 
else
12664
 
  $as_echo "$as_me: failed program was:" >&5
12665
 
sed 's/^/| /' conftest.$ac_ext >&5
12666
 
 
12667
 
        eval "$as_ac_var=no"
12668
 
fi
12669
 
 
12670
 
rm -rf conftest.dSYM
12671
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12672
 
      conftest$ac_exeext conftest.$ac_ext
12673
 
fi
12674
 
ac_res=`eval 'as_val=${'$as_ac_var'}
12675
 
                 $as_echo "$as_val"'`
12676
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12677
 
$as_echo "$ac_res" >&6; }
12678
 
as_val=`eval 'as_val=${'$as_ac_var'}
12679
 
                 $as_echo "$as_val"'`
12680
 
   if test "x$as_val" = x""yes; then
 
11478
        for ac_func in bind_textdomain_codeset
 
11479
do :
 
11480
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
11481
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
12681
11482
  cat >>confdefs.h <<_ACEOF
12682
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
11483
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
12683
11484
_ACEOF
12684
11485
 
12685
11486
fi
12694
11495
         || test "$gt_cv_func_ngettext_libc" != "yes" \
12695
11496
         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
12696
11497
 
12697
 
        { $as_echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
 
11498
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
12698
11499
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
12699
 
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
 
11500
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then :
12700
11501
  $as_echo_n "(cached) " >&6
12701
11502
else
12702
11503
  ac_check_lib_save_LIBS=$LIBS
12703
11504
LIBS="-lintl  $LIBS"
12704
 
cat >conftest.$ac_ext <<_ACEOF
12705
 
/* confdefs.h.  */
12706
 
_ACEOF
12707
 
cat confdefs.h >>conftest.$ac_ext
12708
 
cat >>conftest.$ac_ext <<_ACEOF
 
11505
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12709
11506
/* end confdefs.h.  */
12710
11507
 
12711
11508
/* Override any GCC internal prototype to avoid an error.
12723
11520
  return 0;
12724
11521
}
12725
11522
_ACEOF
12726
 
rm -f conftest.$ac_objext conftest$ac_exeext
12727
 
if { (ac_try="$ac_link"
12728
 
case "(($ac_try" in
12729
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12730
 
  *) ac_try_echo=$ac_try;;
12731
 
esac
12732
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12733
 
$as_echo "$ac_try_echo") >&5
12734
 
  (eval "$ac_link") 2>conftest.er1
12735
 
  ac_status=$?
12736
 
  grep -v '^ *+' conftest.er1 >conftest.err
12737
 
  rm -f conftest.er1
12738
 
  cat conftest.err >&5
12739
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12740
 
  (exit $ac_status); } && {
12741
 
         test -z "$ac_c_werror_flag" ||
12742
 
         test ! -s conftest.err
12743
 
       } && test -s conftest$ac_exeext && {
12744
 
         test "$cross_compiling" = yes ||
12745
 
         $as_test_x conftest$ac_exeext
12746
 
       }; then
 
11523
if ac_fn_c_try_link "$LINENO"; then :
12747
11524
  ac_cv_lib_intl_bindtextdomain=yes
12748
11525
else
12749
 
  $as_echo "$as_me: failed program was:" >&5
12750
 
sed 's/^/| /' conftest.$ac_ext >&5
12751
 
 
12752
 
        ac_cv_lib_intl_bindtextdomain=no
 
11526
  ac_cv_lib_intl_bindtextdomain=no
12753
11527
fi
12754
 
 
12755
 
rm -rf conftest.dSYM
12756
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12757
 
      conftest$ac_exeext conftest.$ac_ext
 
11528
rm -f core conftest.err conftest.$ac_objext \
 
11529
    conftest$ac_exeext conftest.$ac_ext
12758
11530
LIBS=$ac_check_lib_save_LIBS
12759
11531
fi
12760
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
 
11532
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
12761
11533
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
12762
 
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then
12763
 
  { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
 
11534
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then :
 
11535
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
12764
11536
$as_echo_n "checking for ngettext in -lintl... " >&6; }
12765
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
 
11537
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
12766
11538
  $as_echo_n "(cached) " >&6
12767
11539
else
12768
11540
  ac_check_lib_save_LIBS=$LIBS
12769
11541
LIBS="-lintl  $LIBS"
12770
 
cat >conftest.$ac_ext <<_ACEOF
12771
 
/* confdefs.h.  */
12772
 
_ACEOF
12773
 
cat confdefs.h >>conftest.$ac_ext
12774
 
cat >>conftest.$ac_ext <<_ACEOF
 
11542
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12775
11543
/* end confdefs.h.  */
12776
11544
 
12777
11545
/* Override any GCC internal prototype to avoid an error.
12789
11557
  return 0;
12790
11558
}
12791
11559
_ACEOF
12792
 
rm -f conftest.$ac_objext conftest$ac_exeext
12793
 
if { (ac_try="$ac_link"
12794
 
case "(($ac_try" in
12795
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12796
 
  *) ac_try_echo=$ac_try;;
12797
 
esac
12798
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12799
 
$as_echo "$ac_try_echo") >&5
12800
 
  (eval "$ac_link") 2>conftest.er1
12801
 
  ac_status=$?
12802
 
  grep -v '^ *+' conftest.er1 >conftest.err
12803
 
  rm -f conftest.er1
12804
 
  cat conftest.err >&5
12805
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12806
 
  (exit $ac_status); } && {
12807
 
         test -z "$ac_c_werror_flag" ||
12808
 
         test ! -s conftest.err
12809
 
       } && test -s conftest$ac_exeext && {
12810
 
         test "$cross_compiling" = yes ||
12811
 
         $as_test_x conftest$ac_exeext
12812
 
       }; then
 
11560
if ac_fn_c_try_link "$LINENO"; then :
12813
11561
  ac_cv_lib_intl_ngettext=yes
12814
11562
else
12815
 
  $as_echo "$as_me: failed program was:" >&5
12816
 
sed 's/^/| /' conftest.$ac_ext >&5
12817
 
 
12818
 
        ac_cv_lib_intl_ngettext=no
 
11563
  ac_cv_lib_intl_ngettext=no
12819
11564
fi
12820
 
 
12821
 
rm -rf conftest.dSYM
12822
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12823
 
      conftest$ac_exeext conftest.$ac_ext
 
11565
rm -f core conftest.err conftest.$ac_objext \
 
11566
    conftest$ac_exeext conftest.$ac_ext
12824
11567
LIBS=$ac_check_lib_save_LIBS
12825
11568
fi
12826
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
 
11569
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
12827
11570
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
12828
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
12829
 
  { $as_echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
 
11571
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
 
11572
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
12830
11573
$as_echo_n "checking for dgettext in -lintl... " >&6; }
12831
 
if test "${ac_cv_lib_intl_dgettext+set}" = set; then
 
11574
if test "${ac_cv_lib_intl_dgettext+set}" = set; then :
12832
11575
  $as_echo_n "(cached) " >&6
12833
11576
else
12834
11577
  ac_check_lib_save_LIBS=$LIBS
12835
11578
LIBS="-lintl  $LIBS"
12836
 
cat >conftest.$ac_ext <<_ACEOF
12837
 
/* confdefs.h.  */
12838
 
_ACEOF
12839
 
cat confdefs.h >>conftest.$ac_ext
12840
 
cat >>conftest.$ac_ext <<_ACEOF
 
11579
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12841
11580
/* end confdefs.h.  */
12842
11581
 
12843
11582
/* Override any GCC internal prototype to avoid an error.
12855
11594
  return 0;
12856
11595
}
12857
11596
_ACEOF
12858
 
rm -f conftest.$ac_objext conftest$ac_exeext
12859
 
if { (ac_try="$ac_link"
12860
 
case "(($ac_try" in
12861
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12862
 
  *) ac_try_echo=$ac_try;;
12863
 
esac
12864
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12865
 
$as_echo "$ac_try_echo") >&5
12866
 
  (eval "$ac_link") 2>conftest.er1
12867
 
  ac_status=$?
12868
 
  grep -v '^ *+' conftest.er1 >conftest.err
12869
 
  rm -f conftest.er1
12870
 
  cat conftest.err >&5
12871
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12872
 
  (exit $ac_status); } && {
12873
 
         test -z "$ac_c_werror_flag" ||
12874
 
         test ! -s conftest.err
12875
 
       } && test -s conftest$ac_exeext && {
12876
 
         test "$cross_compiling" = yes ||
12877
 
         $as_test_x conftest$ac_exeext
12878
 
       }; then
 
11597
if ac_fn_c_try_link "$LINENO"; then :
12879
11598
  ac_cv_lib_intl_dgettext=yes
12880
11599
else
12881
 
  $as_echo "$as_me: failed program was:" >&5
12882
 
sed 's/^/| /' conftest.$ac_ext >&5
12883
 
 
12884
 
        ac_cv_lib_intl_dgettext=no
 
11600
  ac_cv_lib_intl_dgettext=no
12885
11601
fi
12886
 
 
12887
 
rm -rf conftest.dSYM
12888
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12889
 
      conftest$ac_exeext conftest.$ac_ext
 
11602
rm -f core conftest.err conftest.$ac_objext \
 
11603
    conftest$ac_exeext conftest.$ac_ext
12890
11604
LIBS=$ac_check_lib_save_LIBS
12891
11605
fi
12892
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
 
11606
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
12893
11607
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
12894
 
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then
 
11608
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then :
12895
11609
  gt_cv_func_dgettext_libintl=yes
12896
11610
fi
12897
11611
 
12901
11615
 
12902
11616
 
12903
11617
        if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
12904
 
          { $as_echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
 
11618
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
12905
11619
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
12906
 
          { $as_echo "$as_me:$LINENO: result: " >&5
 
11620
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
12907
11621
$as_echo "" >&6; }
12908
 
          { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
 
11622
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
12909
11623
$as_echo_n "checking for ngettext in -lintl... " >&6; }
12910
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
 
11624
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
12911
11625
  $as_echo_n "(cached) " >&6
12912
11626
else
12913
11627
  ac_check_lib_save_LIBS=$LIBS
12914
11628
LIBS="-lintl -liconv $LIBS"
12915
 
cat >conftest.$ac_ext <<_ACEOF
12916
 
/* confdefs.h.  */
12917
 
_ACEOF
12918
 
cat confdefs.h >>conftest.$ac_ext
12919
 
cat >>conftest.$ac_ext <<_ACEOF
 
11629
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12920
11630
/* end confdefs.h.  */
12921
11631
 
12922
11632
/* Override any GCC internal prototype to avoid an error.
12934
11644
  return 0;
12935
11645
}
12936
11646
_ACEOF
12937
 
rm -f conftest.$ac_objext conftest$ac_exeext
12938
 
if { (ac_try="$ac_link"
12939
 
case "(($ac_try" in
12940
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12941
 
  *) ac_try_echo=$ac_try;;
12942
 
esac
12943
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12944
 
$as_echo "$ac_try_echo") >&5
12945
 
  (eval "$ac_link") 2>conftest.er1
12946
 
  ac_status=$?
12947
 
  grep -v '^ *+' conftest.er1 >conftest.err
12948
 
  rm -f conftest.er1
12949
 
  cat conftest.err >&5
12950
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12951
 
  (exit $ac_status); } && {
12952
 
         test -z "$ac_c_werror_flag" ||
12953
 
         test ! -s conftest.err
12954
 
       } && test -s conftest$ac_exeext && {
12955
 
         test "$cross_compiling" = yes ||
12956
 
         $as_test_x conftest$ac_exeext
12957
 
       }; then
 
11647
if ac_fn_c_try_link "$LINENO"; then :
12958
11648
  ac_cv_lib_intl_ngettext=yes
12959
11649
else
12960
 
  $as_echo "$as_me: failed program was:" >&5
12961
 
sed 's/^/| /' conftest.$ac_ext >&5
12962
 
 
12963
 
        ac_cv_lib_intl_ngettext=no
 
11650
  ac_cv_lib_intl_ngettext=no
12964
11651
fi
12965
 
 
12966
 
rm -rf conftest.dSYM
12967
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12968
 
      conftest$ac_exeext conftest.$ac_ext
 
11652
rm -f core conftest.err conftest.$ac_objext \
 
11653
    conftest$ac_exeext conftest.$ac_ext
12969
11654
LIBS=$ac_check_lib_save_LIBS
12970
11655
fi
12971
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
 
11656
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
12972
11657
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
12973
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then
12974
 
  { $as_echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
 
11658
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
 
11659
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
12975
11660
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
12976
 
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
 
11661
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then :
12977
11662
  $as_echo_n "(cached) " >&6
12978
11663
else
12979
11664
  ac_check_lib_save_LIBS=$LIBS
12980
11665
LIBS="-lintl -liconv $LIBS"
12981
 
cat >conftest.$ac_ext <<_ACEOF
12982
 
/* confdefs.h.  */
12983
 
_ACEOF
12984
 
cat confdefs.h >>conftest.$ac_ext
12985
 
cat >>conftest.$ac_ext <<_ACEOF
 
11666
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12986
11667
/* end confdefs.h.  */
12987
11668
 
12988
11669
/* Override any GCC internal prototype to avoid an error.
13000
11681
  return 0;
13001
11682
}
13002
11683
_ACEOF
13003
 
rm -f conftest.$ac_objext conftest$ac_exeext
13004
 
if { (ac_try="$ac_link"
13005
 
case "(($ac_try" in
13006
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13007
 
  *) ac_try_echo=$ac_try;;
13008
 
esac
13009
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13010
 
$as_echo "$ac_try_echo") >&5
13011
 
  (eval "$ac_link") 2>conftest.er1
13012
 
  ac_status=$?
13013
 
  grep -v '^ *+' conftest.er1 >conftest.err
13014
 
  rm -f conftest.er1
13015
 
  cat conftest.err >&5
13016
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13017
 
  (exit $ac_status); } && {
13018
 
         test -z "$ac_c_werror_flag" ||
13019
 
         test ! -s conftest.err
13020
 
       } && test -s conftest$ac_exeext && {
13021
 
         test "$cross_compiling" = yes ||
13022
 
         $as_test_x conftest$ac_exeext
13023
 
       }; then
 
11684
if ac_fn_c_try_link "$LINENO"; then :
13024
11685
  ac_cv_lib_intl_dcgettext=yes
13025
11686
else
13026
 
  $as_echo "$as_me: failed program was:" >&5
13027
 
sed 's/^/| /' conftest.$ac_ext >&5
13028
 
 
13029
 
        ac_cv_lib_intl_dcgettext=no
 
11687
  ac_cv_lib_intl_dcgettext=no
13030
11688
fi
13031
 
 
13032
 
rm -rf conftest.dSYM
13033
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13034
 
      conftest$ac_exeext conftest.$ac_ext
 
11689
rm -f core conftest.err conftest.$ac_objext \
 
11690
    conftest$ac_exeext conftest.$ac_ext
13035
11691
LIBS=$ac_check_lib_save_LIBS
13036
11692
fi
13037
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
 
11693
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
13038
11694
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
13039
 
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then
 
11695
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then :
13040
11696
  gt_cv_func_dgettext_libintl=yes
13041
11697
                        libintl_extra_libs=-liconv
13042
11698
else
13058
11714
          glib_save_LIBS="$LIBS"
13059
11715
          LIBS="$LIBS -lintl $libintl_extra_libs"
13060
11716
          unset ac_cv_func_bind_textdomain_codeset
13061
 
 
13062
 
for ac_func in bind_textdomain_codeset
13063
 
do
13064
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13065
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
13066
 
$as_echo_n "checking for $ac_func... " >&6; }
13067
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13068
 
  $as_echo_n "(cached) " >&6
13069
 
else
13070
 
  cat >conftest.$ac_ext <<_ACEOF
13071
 
/* confdefs.h.  */
13072
 
_ACEOF
13073
 
cat confdefs.h >>conftest.$ac_ext
13074
 
cat >>conftest.$ac_ext <<_ACEOF
13075
 
/* end confdefs.h.  */
13076
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13077
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13078
 
#define $ac_func innocuous_$ac_func
13079
 
 
13080
 
/* System header to define __stub macros and hopefully few prototypes,
13081
 
    which can conflict with char $ac_func (); below.
13082
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13083
 
    <limits.h> exists even on freestanding compilers.  */
13084
 
 
13085
 
#ifdef __STDC__
13086
 
# include <limits.h>
13087
 
#else
13088
 
# include <assert.h>
13089
 
#endif
13090
 
 
13091
 
#undef $ac_func
13092
 
 
13093
 
/* Override any GCC internal prototype to avoid an error.
13094
 
   Use char because int might match the return type of a GCC
13095
 
   builtin and then its argument prototype would still apply.  */
13096
 
#ifdef __cplusplus
13097
 
extern "C"
13098
 
#endif
13099
 
char $ac_func ();
13100
 
/* The GNU C library defines this for functions which it implements
13101
 
    to always fail with ENOSYS.  Some functions are actually named
13102
 
    something starting with __ and the normal name is an alias.  */
13103
 
#if defined __stub_$ac_func || defined __stub___$ac_func
13104
 
choke me
13105
 
#endif
13106
 
 
13107
 
int
13108
 
main ()
13109
 
{
13110
 
return $ac_func ();
13111
 
  ;
13112
 
  return 0;
13113
 
}
13114
 
_ACEOF
13115
 
rm -f conftest.$ac_objext conftest$ac_exeext
13116
 
if { (ac_try="$ac_link"
13117
 
case "(($ac_try" in
13118
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13119
 
  *) ac_try_echo=$ac_try;;
13120
 
esac
13121
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13122
 
$as_echo "$ac_try_echo") >&5
13123
 
  (eval "$ac_link") 2>conftest.er1
13124
 
  ac_status=$?
13125
 
  grep -v '^ *+' conftest.er1 >conftest.err
13126
 
  rm -f conftest.er1
13127
 
  cat conftest.err >&5
13128
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13129
 
  (exit $ac_status); } && {
13130
 
         test -z "$ac_c_werror_flag" ||
13131
 
         test ! -s conftest.err
13132
 
       } && test -s conftest$ac_exeext && {
13133
 
         test "$cross_compiling" = yes ||
13134
 
         $as_test_x conftest$ac_exeext
13135
 
       }; then
13136
 
  eval "$as_ac_var=yes"
13137
 
else
13138
 
  $as_echo "$as_me: failed program was:" >&5
13139
 
sed 's/^/| /' conftest.$ac_ext >&5
13140
 
 
13141
 
        eval "$as_ac_var=no"
13142
 
fi
13143
 
 
13144
 
rm -rf conftest.dSYM
13145
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13146
 
      conftest$ac_exeext conftest.$ac_ext
13147
 
fi
13148
 
ac_res=`eval 'as_val=${'$as_ac_var'}
13149
 
                 $as_echo "$as_val"'`
13150
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13151
 
$as_echo "$ac_res" >&6; }
13152
 
as_val=`eval 'as_val=${'$as_ac_var'}
13153
 
                 $as_echo "$as_val"'`
13154
 
   if test "x$as_val" = x""yes; then
 
11717
          for ac_func in bind_textdomain_codeset
 
11718
do :
 
11719
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
11720
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
13155
11721
  cat >>confdefs.h <<_ACEOF
13156
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
11722
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
13157
11723
_ACEOF
13158
11724
 
13159
11725
fi
13183
11749
 
13184
11750
      if test "$gt_cv_have_gettext" = "yes"; then
13185
11751
 
13186
 
cat >>confdefs.h <<\_ACEOF
13187
 
#define HAVE_GETTEXT 1
13188
 
_ACEOF
 
11752
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
13189
11753
 
13190
11754
        # Extract the first word of "msgfmt", so it can be a program name with args.
13191
11755
set dummy msgfmt; ac_word=$2
13192
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11756
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13193
11757
$as_echo_n "checking for $ac_word... " >&6; }
13194
 
if test "${ac_cv_path_MSGFMT+set}" = set; then
 
11758
if test "${ac_cv_path_MSGFMT+set}" = set; then :
13195
11759
  $as_echo_n "(cached) " >&6
13196
11760
else
13197
11761
  case "$MSGFMT" in
13216
11780
fi
13217
11781
MSGFMT="$ac_cv_path_MSGFMT"
13218
11782
if test "$MSGFMT" != "no"; then
13219
 
  { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
 
11783
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13220
11784
$as_echo "$MSGFMT" >&6; }
13221
11785
else
13222
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11786
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13223
11787
$as_echo "no" >&6; }
13224
11788
fi
13225
11789
        if test "$MSGFMT" != "no"; then
13226
11790
          glib_save_LIBS="$LIBS"
13227
11791
          LIBS="$LIBS $INTLLIBS"
13228
 
 
13229
 
for ac_func in dcgettext
13230
 
do
13231
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13232
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
13233
 
$as_echo_n "checking for $ac_func... " >&6; }
13234
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13235
 
  $as_echo_n "(cached) " >&6
13236
 
else
13237
 
  cat >conftest.$ac_ext <<_ACEOF
13238
 
/* confdefs.h.  */
13239
 
_ACEOF
13240
 
cat confdefs.h >>conftest.$ac_ext
13241
 
cat >>conftest.$ac_ext <<_ACEOF
13242
 
/* end confdefs.h.  */
13243
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13244
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13245
 
#define $ac_func innocuous_$ac_func
13246
 
 
13247
 
/* System header to define __stub macros and hopefully few prototypes,
13248
 
    which can conflict with char $ac_func (); below.
13249
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13250
 
    <limits.h> exists even on freestanding compilers.  */
13251
 
 
13252
 
#ifdef __STDC__
13253
 
# include <limits.h>
13254
 
#else
13255
 
# include <assert.h>
13256
 
#endif
13257
 
 
13258
 
#undef $ac_func
13259
 
 
13260
 
/* Override any GCC internal prototype to avoid an error.
13261
 
   Use char because int might match the return type of a GCC
13262
 
   builtin and then its argument prototype would still apply.  */
13263
 
#ifdef __cplusplus
13264
 
extern "C"
13265
 
#endif
13266
 
char $ac_func ();
13267
 
/* The GNU C library defines this for functions which it implements
13268
 
    to always fail with ENOSYS.  Some functions are actually named
13269
 
    something starting with __ and the normal name is an alias.  */
13270
 
#if defined __stub_$ac_func || defined __stub___$ac_func
13271
 
choke me
13272
 
#endif
13273
 
 
13274
 
int
13275
 
main ()
13276
 
{
13277
 
return $ac_func ();
13278
 
  ;
13279
 
  return 0;
13280
 
}
13281
 
_ACEOF
13282
 
rm -f conftest.$ac_objext conftest$ac_exeext
13283
 
if { (ac_try="$ac_link"
13284
 
case "(($ac_try" in
13285
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13286
 
  *) ac_try_echo=$ac_try;;
13287
 
esac
13288
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13289
 
$as_echo "$ac_try_echo") >&5
13290
 
  (eval "$ac_link") 2>conftest.er1
13291
 
  ac_status=$?
13292
 
  grep -v '^ *+' conftest.er1 >conftest.err
13293
 
  rm -f conftest.er1
13294
 
  cat conftest.err >&5
13295
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13296
 
  (exit $ac_status); } && {
13297
 
         test -z "$ac_c_werror_flag" ||
13298
 
         test ! -s conftest.err
13299
 
       } && test -s conftest$ac_exeext && {
13300
 
         test "$cross_compiling" = yes ||
13301
 
         $as_test_x conftest$ac_exeext
13302
 
       }; then
13303
 
  eval "$as_ac_var=yes"
13304
 
else
13305
 
  $as_echo "$as_me: failed program was:" >&5
13306
 
sed 's/^/| /' conftest.$ac_ext >&5
13307
 
 
13308
 
        eval "$as_ac_var=no"
13309
 
fi
13310
 
 
13311
 
rm -rf conftest.dSYM
13312
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13313
 
      conftest$ac_exeext conftest.$ac_ext
13314
 
fi
13315
 
ac_res=`eval 'as_val=${'$as_ac_var'}
13316
 
                 $as_echo "$as_val"'`
13317
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13318
 
$as_echo "$ac_res" >&6; }
13319
 
as_val=`eval 'as_val=${'$as_ac_var'}
13320
 
                 $as_echo "$as_val"'`
13321
 
   if test "x$as_val" = x""yes; then
 
11792
          for ac_func in dcgettext
 
11793
do :
 
11794
  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
 
11795
if test "x$ac_cv_func_dcgettext" = x""yes; then :
13322
11796
  cat >>confdefs.h <<_ACEOF
13323
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
11797
#define HAVE_DCGETTEXT 1
13324
11798
_ACEOF
13325
11799
 
13326
11800
fi
13327
11801
done
13328
11802
 
13329
11803
          MSGFMT_OPTS=
13330
 
          { $as_echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
 
11804
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
13331
11805
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
13332
11806
          cat >conftest.foo <<_ACEOF
13333
11807
 
13342
11816
"Content-Transfer-Encoding: 8bit\n"
13343
11817
 
13344
11818
_ACEOF
13345
 
if { ($as_echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
 
11819
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
13346
11820
  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
13347
11821
  ac_status=$?
13348
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13349
 
  (exit $ac_status); }; then
13350
 
  MSGFMT_OPTS=-c; { $as_echo "$as_me:$LINENO: result: yes" >&5
 
11822
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11823
  test $ac_status = 0; }; then
 
11824
  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13351
11825
$as_echo "yes" >&6; }
13352
 
else { $as_echo "$as_me:$LINENO: result: no" >&5
 
11826
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13353
11827
$as_echo "no" >&6; }
13354
11828
echo "$as_me: failed input was:" >&5
13355
11829
sed 's/^/| /' conftest.foo >&5
13357
11831
 
13358
11832
          # Extract the first word of "gmsgfmt", so it can be a program name with args.
13359
11833
set dummy gmsgfmt; ac_word=$2
13360
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11834
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13361
11835
$as_echo_n "checking for $ac_word... " >&6; }
13362
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then
 
11836
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
13363
11837
  $as_echo_n "(cached) " >&6
13364
11838
else
13365
11839
  case $GMSGFMT in
13372
11846
do
13373
11847
  IFS=$as_save_IFS
13374
11848
  test -z "$as_dir" && as_dir=.
13375
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
11849
    for ac_exec_ext in '' $ac_executable_extensions; do
13376
11850
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13377
11851
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
13378
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11852
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13379
11853
    break 2
13380
11854
  fi
13381
11855
done
13382
 
done
 
11856
  done
13383
11857
IFS=$as_save_IFS
13384
11858
 
13385
11859
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
13388
11862
fi
13389
11863
GMSGFMT=$ac_cv_path_GMSGFMT
13390
11864
if test -n "$GMSGFMT"; then
13391
 
  { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
 
11865
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13392
11866
$as_echo "$GMSGFMT" >&6; }
13393
11867
else
13394
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11868
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13395
11869
$as_echo "no" >&6; }
13396
11870
fi
13397
11871
 
13398
11872
 
13399
11873
          # Extract the first word of "xgettext", so it can be a program name with args.
13400
11874
set dummy xgettext; ac_word=$2
13401
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
11875
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13402
11876
$as_echo_n "checking for $ac_word... " >&6; }
13403
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then
 
11877
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
13404
11878
  $as_echo_n "(cached) " >&6
13405
11879
else
13406
11880
  case "$XGETTEXT" in
13425
11899
fi
13426
11900
XGETTEXT="$ac_cv_path_XGETTEXT"
13427
11901
if test "$XGETTEXT" != ":"; then
13428
 
  { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
 
11902
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13429
11903
$as_echo "$XGETTEXT" >&6; }
13430
11904
else
13431
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11905
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13432
11906
$as_echo "no" >&6; }
13433
11907
fi
13434
11908
 
13435
 
          cat >conftest.$ac_ext <<_ACEOF
13436
 
/* confdefs.h.  */
13437
 
_ACEOF
13438
 
cat confdefs.h >>conftest.$ac_ext
13439
 
cat >>conftest.$ac_ext <<_ACEOF
 
11909
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13440
11910
/* end confdefs.h.  */
13441
11911
 
13442
11912
int
13448
11918
  return 0;
13449
11919
}
13450
11920
_ACEOF
13451
 
rm -f conftest.$ac_objext conftest$ac_exeext
13452
 
if { (ac_try="$ac_link"
13453
 
case "(($ac_try" in
13454
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13455
 
  *) ac_try_echo=$ac_try;;
13456
 
esac
13457
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13458
 
$as_echo "$ac_try_echo") >&5
13459
 
  (eval "$ac_link") 2>conftest.er1
13460
 
  ac_status=$?
13461
 
  grep -v '^ *+' conftest.er1 >conftest.err
13462
 
  rm -f conftest.er1
13463
 
  cat conftest.err >&5
13464
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13465
 
  (exit $ac_status); } && {
13466
 
         test -z "$ac_c_werror_flag" ||
13467
 
         test ! -s conftest.err
13468
 
       } && test -s conftest$ac_exeext && {
13469
 
         test "$cross_compiling" = yes ||
13470
 
         $as_test_x conftest$ac_exeext
13471
 
       }; then
 
11921
if ac_fn_c_try_link "$LINENO"; then :
13472
11922
  CATOBJEXT=.gmo
13473
11923
             DATADIRNAME=share
13474
11924
else
13475
 
  $as_echo "$as_me: failed program was:" >&5
13476
 
sed 's/^/| /' conftest.$ac_ext >&5
13477
 
 
13478
 
        case $host in
 
11925
  case $host in
13479
11926
            *-*-solaris*)
13480
 
                                                                { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
13481
 
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
13482
 
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
13483
 
  $as_echo_n "(cached) " >&6
13484
 
else
13485
 
  cat >conftest.$ac_ext <<_ACEOF
13486
 
/* confdefs.h.  */
13487
 
_ACEOF
13488
 
cat confdefs.h >>conftest.$ac_ext
13489
 
cat >>conftest.$ac_ext <<_ACEOF
13490
 
/* end confdefs.h.  */
13491
 
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
13492
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13493
 
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
13494
 
 
13495
 
/* System header to define __stub macros and hopefully few prototypes,
13496
 
    which can conflict with char bind_textdomain_codeset (); below.
13497
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13498
 
    <limits.h> exists even on freestanding compilers.  */
13499
 
 
13500
 
#ifdef __STDC__
13501
 
# include <limits.h>
13502
 
#else
13503
 
# include <assert.h>
13504
 
#endif
13505
 
 
13506
 
#undef bind_textdomain_codeset
13507
 
 
13508
 
/* Override any GCC internal prototype to avoid an error.
13509
 
   Use char because int might match the return type of a GCC
13510
 
   builtin and then its argument prototype would still apply.  */
13511
 
#ifdef __cplusplus
13512
 
extern "C"
13513
 
#endif
13514
 
char bind_textdomain_codeset ();
13515
 
/* The GNU C library defines this for functions which it implements
13516
 
    to always fail with ENOSYS.  Some functions are actually named
13517
 
    something starting with __ and the normal name is an alias.  */
13518
 
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
13519
 
choke me
13520
 
#endif
13521
 
 
13522
 
int
13523
 
main ()
13524
 
{
13525
 
return bind_textdomain_codeset ();
13526
 
  ;
13527
 
  return 0;
13528
 
}
13529
 
_ACEOF
13530
 
rm -f conftest.$ac_objext conftest$ac_exeext
13531
 
if { (ac_try="$ac_link"
13532
 
case "(($ac_try" in
13533
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13534
 
  *) ac_try_echo=$ac_try;;
13535
 
esac
13536
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13537
 
$as_echo "$ac_try_echo") >&5
13538
 
  (eval "$ac_link") 2>conftest.er1
13539
 
  ac_status=$?
13540
 
  grep -v '^ *+' conftest.er1 >conftest.err
13541
 
  rm -f conftest.er1
13542
 
  cat conftest.err >&5
13543
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13544
 
  (exit $ac_status); } && {
13545
 
         test -z "$ac_c_werror_flag" ||
13546
 
         test ! -s conftest.err
13547
 
       } && test -s conftest$ac_exeext && {
13548
 
         test "$cross_compiling" = yes ||
13549
 
         $as_test_x conftest$ac_exeext
13550
 
       }; then
13551
 
  ac_cv_func_bind_textdomain_codeset=yes
13552
 
else
13553
 
  $as_echo "$as_me: failed program was:" >&5
13554
 
sed 's/^/| /' conftest.$ac_ext >&5
13555
 
 
13556
 
        ac_cv_func_bind_textdomain_codeset=no
13557
 
fi
13558
 
 
13559
 
rm -rf conftest.dSYM
13560
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13561
 
      conftest$ac_exeext conftest.$ac_ext
13562
 
fi
13563
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
13564
 
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
13565
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
 
11927
                                                                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
11928
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
13566
11929
  CATOBJEXT=.gmo
13567
11930
               DATADIRNAME=share
13568
11931
else
13577
11940
            ;;
13578
11941
            esac
13579
11942
fi
13580
 
 
13581
 
rm -rf conftest.dSYM
13582
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13583
 
      conftest$ac_exeext conftest.$ac_ext
 
11943
rm -f core conftest.err conftest.$ac_objext \
 
11944
    conftest$ac_exeext conftest.$ac_ext
13584
11945
          LIBS="$glib_save_LIBS"
13585
11946
          INSTOBJEXT=.mo
13586
11947
        else
13594
11955
 
13595
11956
    if test "$gt_cv_have_gettext" = "yes" ; then
13596
11957
 
13597
 
cat >>confdefs.h <<\_ACEOF
13598
 
#define ENABLE_NLS 1
13599
 
_ACEOF
 
11958
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
13600
11959
 
13601
11960
    fi
13602
11961
 
13604
11963
                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
13605
11964
        : ;
13606
11965
      else
13607
 
        { $as_echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
 
11966
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
13608
11967
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
13609
11968
        XGETTEXT=":"
13610
11969
      fi
13637
11996
     if test "x$ALL_LINGUAS" = "x"; then
13638
11997
       LINGUAS=
13639
11998
     else
13640
 
       { $as_echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
 
11999
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
13641
12000
$as_echo_n "checking for catalogs to be installed... " >&6; }
13642
12001
       NEW_LINGUAS=
13643
12002
       for presentlang in $ALL_LINGUAS; do
13662
12021
         fi
13663
12022
       done
13664
12023
       LINGUAS=$NEW_LINGUAS
13665
 
       { $as_echo "$as_me:$LINENO: result: $LINGUAS" >&5
 
12024
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
13666
12025
$as_echo "$LINGUAS" >&6; }
13667
12026
     fi
13668
12027
 
13701
12060
#  conditional with #ifdef ENABLE_NLS then go crazy and send us a patch,
13702
12061
#  but right now we won't build without gettext)
13703
12062
if test "$gt_cv_have_gettext" != "yes" ; then
13704
 
  { { $as_echo "$as_me:$LINENO: error:
13705
 
*** You must have either have gettext support in your C library, or use the
13706
 
*** GNU gettext library. (http://www.gnu.org/software/gettext/gettext.html
13707
 
" >&5
13708
 
$as_echo "$as_me: error:
13709
 
*** You must have either have gettext support in your C library, or use the
13710
 
*** GNU gettext library. (http://www.gnu.org/software/gettext/gettext.html
13711
 
" >&2;}
13712
 
   { (exit 1); exit 1; }; }
 
12063
  as_fn_error $? "
 
12064
*** You must have either have gettext support in your C library, or use the
 
12065
*** GNU gettext library. (http://www.gnu.org/software/gettext/gettext.html
 
12066
" "$LINENO" 5
13713
12067
fi
13714
12068
 
13715
12069
#### Sort out XML library
13716
12070
 
13717
12071
# see what we have
13718
 
{ $as_echo "$as_me:$LINENO: checking for XML_ParserCreate_MM in -lexpat" >&5
 
12072
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate_MM in -lexpat" >&5
13719
12073
$as_echo_n "checking for XML_ParserCreate_MM in -lexpat... " >&6; }
13720
 
if test "${ac_cv_lib_expat_XML_ParserCreate_MM+set}" = set; then
 
12074
if test "${ac_cv_lib_expat_XML_ParserCreate_MM+set}" = set; then :
13721
12075
  $as_echo_n "(cached) " >&6
13722
12076
else
13723
12077
  ac_check_lib_save_LIBS=$LIBS
13724
12078
LIBS="-lexpat  $LIBS"
13725
 
cat >conftest.$ac_ext <<_ACEOF
13726
 
/* confdefs.h.  */
13727
 
_ACEOF
13728
 
cat confdefs.h >>conftest.$ac_ext
13729
 
cat >>conftest.$ac_ext <<_ACEOF
 
12079
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13730
12080
/* end confdefs.h.  */
13731
12081
 
13732
12082
/* Override any GCC internal prototype to avoid an error.
13744
12094
  return 0;
13745
12095
}
13746
12096
_ACEOF
13747
 
rm -f conftest.$ac_objext conftest$ac_exeext
13748
 
if { (ac_try="$ac_link"
13749
 
case "(($ac_try" in
13750
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13751
 
  *) ac_try_echo=$ac_try;;
13752
 
esac
13753
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13754
 
$as_echo "$ac_try_echo") >&5
13755
 
  (eval "$ac_link") 2>conftest.er1
13756
 
  ac_status=$?
13757
 
  grep -v '^ *+' conftest.er1 >conftest.err
13758
 
  rm -f conftest.er1
13759
 
  cat conftest.err >&5
13760
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13761
 
  (exit $ac_status); } && {
13762
 
         test -z "$ac_c_werror_flag" ||
13763
 
         test ! -s conftest.err
13764
 
       } && test -s conftest$ac_exeext && {
13765
 
         test "$cross_compiling" = yes ||
13766
 
         $as_test_x conftest$ac_exeext
13767
 
       }; then
 
12097
if ac_fn_c_try_link "$LINENO"; then :
13768
12098
  ac_cv_lib_expat_XML_ParserCreate_MM=yes
13769
12099
else
13770
 
  $as_echo "$as_me: failed program was:" >&5
13771
 
sed 's/^/| /' conftest.$ac_ext >&5
13772
 
 
13773
 
        ac_cv_lib_expat_XML_ParserCreate_MM=no
 
12100
  ac_cv_lib_expat_XML_ParserCreate_MM=no
13774
12101
fi
13775
 
 
13776
 
rm -rf conftest.dSYM
13777
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13778
 
      conftest$ac_exeext conftest.$ac_ext
 
12102
rm -f core conftest.err conftest.$ac_objext \
 
12103
    conftest$ac_exeext conftest.$ac_ext
13779
12104
LIBS=$ac_check_lib_save_LIBS
13780
12105
fi
13781
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate_MM" >&5
 
12106
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreate_MM" >&5
13782
12107
$as_echo "$ac_cv_lib_expat_XML_ParserCreate_MM" >&6; }
13783
 
if test "x$ac_cv_lib_expat_XML_ParserCreate_MM" = x""yes; then
13784
 
 
13785
 
for ac_header in expat.h
13786
 
do
13787
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13788
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13789
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13790
 
$as_echo_n "checking for $ac_header... " >&6; }
13791
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13792
 
  $as_echo_n "(cached) " >&6
13793
 
fi
13794
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
13795
 
                 $as_echo "$as_val"'`
13796
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13797
 
$as_echo "$ac_res" >&6; }
13798
 
else
13799
 
  # Is the header compilable?
13800
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13801
 
$as_echo_n "checking $ac_header usability... " >&6; }
13802
 
cat >conftest.$ac_ext <<_ACEOF
13803
 
/* confdefs.h.  */
13804
 
_ACEOF
13805
 
cat confdefs.h >>conftest.$ac_ext
13806
 
cat >>conftest.$ac_ext <<_ACEOF
13807
 
/* end confdefs.h.  */
13808
 
$ac_includes_default
13809
 
#include <$ac_header>
13810
 
_ACEOF
13811
 
rm -f conftest.$ac_objext
13812
 
if { (ac_try="$ac_compile"
13813
 
case "(($ac_try" in
13814
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13815
 
  *) ac_try_echo=$ac_try;;
13816
 
esac
13817
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13818
 
$as_echo "$ac_try_echo") >&5
13819
 
  (eval "$ac_compile") 2>conftest.er1
13820
 
  ac_status=$?
13821
 
  grep -v '^ *+' conftest.er1 >conftest.err
13822
 
  rm -f conftest.er1
13823
 
  cat conftest.err >&5
13824
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13825
 
  (exit $ac_status); } && {
13826
 
         test -z "$ac_c_werror_flag" ||
13827
 
         test ! -s conftest.err
13828
 
       } && test -s conftest.$ac_objext; then
13829
 
  ac_header_compiler=yes
13830
 
else
13831
 
  $as_echo "$as_me: failed program was:" >&5
13832
 
sed 's/^/| /' conftest.$ac_ext >&5
13833
 
 
13834
 
        ac_header_compiler=no
13835
 
fi
13836
 
 
13837
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13838
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13839
 
$as_echo "$ac_header_compiler" >&6; }
13840
 
 
13841
 
# Is the header present?
13842
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13843
 
$as_echo_n "checking $ac_header presence... " >&6; }
13844
 
cat >conftest.$ac_ext <<_ACEOF
13845
 
/* confdefs.h.  */
13846
 
_ACEOF
13847
 
cat confdefs.h >>conftest.$ac_ext
13848
 
cat >>conftest.$ac_ext <<_ACEOF
13849
 
/* end confdefs.h.  */
13850
 
#include <$ac_header>
13851
 
_ACEOF
13852
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
13853
 
case "(($ac_try" in
13854
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13855
 
  *) ac_try_echo=$ac_try;;
13856
 
esac
13857
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13858
 
$as_echo "$ac_try_echo") >&5
13859
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13860
 
  ac_status=$?
13861
 
  grep -v '^ *+' conftest.er1 >conftest.err
13862
 
  rm -f conftest.er1
13863
 
  cat conftest.err >&5
13864
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13865
 
  (exit $ac_status); } >/dev/null && {
13866
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13867
 
         test ! -s conftest.err
13868
 
       }; then
13869
 
  ac_header_preproc=yes
13870
 
else
13871
 
  $as_echo "$as_me: failed program was:" >&5
13872
 
sed 's/^/| /' conftest.$ac_ext >&5
13873
 
 
13874
 
  ac_header_preproc=no
13875
 
fi
13876
 
 
13877
 
rm -f conftest.err conftest.$ac_ext
13878
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13879
 
$as_echo "$ac_header_preproc" >&6; }
13880
 
 
13881
 
# So?  What about this header?
13882
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13883
 
  yes:no: )
13884
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13885
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13886
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13887
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13888
 
    ac_header_preproc=yes
13889
 
    ;;
13890
 
  no:yes:* )
13891
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13892
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13893
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
13894
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
13895
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13896
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13897
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
13898
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
13899
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13900
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13901
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13902
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13903
 
    ( cat <<\_ASBOX
13904
 
## ---------------------------------------------------------------------- ##
13905
 
## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=dbus ##
13906
 
## ---------------------------------------------------------------------- ##
13907
 
_ASBOX
13908
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
13909
 
    ;;
13910
 
esac
13911
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13912
 
$as_echo_n "checking for $ac_header... " >&6; }
13913
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13914
 
  $as_echo_n "(cached) " >&6
13915
 
else
13916
 
  eval "$as_ac_Header=\$ac_header_preproc"
13917
 
fi
13918
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
13919
 
                 $as_echo "$as_val"'`
13920
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13921
 
$as_echo "$ac_res" >&6; }
13922
 
 
13923
 
fi
13924
 
as_val=`eval 'as_val=${'$as_ac_Header'}
13925
 
                 $as_echo "$as_val"'`
13926
 
   if test "x$as_val" = x""yes; then
 
12108
if test "x$ac_cv_lib_expat_XML_ParserCreate_MM" = x""yes; then :
 
12109
   for ac_header in expat.h
 
12110
do :
 
12111
  ac_fn_c_check_header_mongrel "$LINENO" "expat.h" "ac_cv_header_expat_h" "$ac_includes_default"
 
12112
if test "x$ac_cv_header_expat_h" = x""yes; then :
13927
12113
  cat >>confdefs.h <<_ACEOF
13928
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
12114
#define HAVE_EXPAT_H 1
13929
12115
_ACEOF
13930
12116
 have_expat=true
13931
12117
else
13940
12126
 
13941
12127
 
13942
12128
if ! $have_expat ; then
13943
 
  { { $as_echo "$as_me:$LINENO: error: expat library not found, check config.log for failed attempts" >&5
13944
 
$as_echo "$as_me: error: expat library not found, check config.log for failed attempts" >&2;}
13945
 
   { (exit 1); exit 1; }; }
 
12129
  as_fn_error $? "expat library not found, check config.log for failed attempts" "$LINENO" 5
13946
12130
fi
13947
12131
 
13948
12132
XML_LIBS=-lexpat
13953
12137
 
13954
12138
 
13955
12139
 
 
12140
 
 
12141
 
 
12142
 
 
12143
 
13956
12144
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13957
12145
        if test -n "$ac_tool_prefix"; then
13958
12146
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13959
12147
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13960
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12148
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13961
12149
$as_echo_n "checking for $ac_word... " >&6; }
13962
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
 
12150
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
13963
12151
  $as_echo_n "(cached) " >&6
13964
12152
else
13965
12153
  case $PKG_CONFIG in
13972
12160
do
13973
12161
  IFS=$as_save_IFS
13974
12162
  test -z "$as_dir" && as_dir=.
13975
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12163
    for ac_exec_ext in '' $ac_executable_extensions; do
13976
12164
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13977
12165
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13978
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12166
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13979
12167
    break 2
13980
12168
  fi
13981
12169
done
13982
 
done
 
12170
  done
13983
12171
IFS=$as_save_IFS
13984
12172
 
13985
12173
  ;;
13987
12175
fi
13988
12176
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13989
12177
if test -n "$PKG_CONFIG"; then
13990
 
  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
12178
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13991
12179
$as_echo "$PKG_CONFIG" >&6; }
13992
12180
else
13993
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12181
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13994
12182
$as_echo "no" >&6; }
13995
12183
fi
13996
12184
 
14000
12188
  ac_pt_PKG_CONFIG=$PKG_CONFIG
14001
12189
  # Extract the first word of "pkg-config", so it can be a program name with args.
14002
12190
set dummy pkg-config; ac_word=$2
14003
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12191
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14004
12192
$as_echo_n "checking for $ac_word... " >&6; }
14005
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
 
12193
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
14006
12194
  $as_echo_n "(cached) " >&6
14007
12195
else
14008
12196
  case $ac_pt_PKG_CONFIG in
14015
12203
do
14016
12204
  IFS=$as_save_IFS
14017
12205
  test -z "$as_dir" && as_dir=.
14018
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12206
    for ac_exec_ext in '' $ac_executable_extensions; do
14019
12207
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14020
12208
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14021
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12209
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14022
12210
    break 2
14023
12211
  fi
14024
12212
done
14025
 
done
 
12213
  done
14026
12214
IFS=$as_save_IFS
14027
12215
 
14028
12216
  ;;
14030
12218
fi
14031
12219
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14032
12220
if test -n "$ac_pt_PKG_CONFIG"; then
14033
 
  { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
 
12221
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14034
12222
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
14035
12223
else
14036
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12224
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14037
12225
$as_echo "no" >&6; }
14038
12226
fi
14039
12227
 
14042
12230
  else
14043
12231
    case $cross_compiling:$ac_tool_warned in
14044
12232
yes:)
14045
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
12233
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14046
12234
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14047
12235
ac_tool_warned=yes ;;
14048
12236
esac
14055
12243
fi
14056
12244
if test -n "$PKG_CONFIG"; then
14057
12245
        _pkg_min_version=0.9.0
14058
 
        { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
 
12246
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14059
12247
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14060
12248
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14061
 
                { $as_echo "$as_me:$LINENO: result: yes" >&5
 
12249
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14062
12250
$as_echo "yes" >&6; }
14063
12251
        else
14064
 
                { $as_echo "$as_me:$LINENO: result: no" >&5
 
12252
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14065
12253
$as_echo "no" >&6; }
14066
12254
                PKG_CONFIG=""
14067
12255
        fi
14068
 
 
14069
12256
fi
14070
12257
 
14071
12258
pkg_failed=no
14072
 
{ $as_echo "$as_me:$LINENO: checking for DBUS" >&5
 
12259
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
14073
12260
$as_echo_n "checking for DBUS... " >&6; }
14074
12261
 
14075
12262
if test -n "$DBUS_CFLAGS"; then
14076
12263
    pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
14077
12264
 elif test -n "$PKG_CONFIG"; then
14078
12265
    if test -n "$PKG_CONFIG" && \
14079
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 1.1\"") >&5
 
12266
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 1.1\""; } >&5
14080
12267
  ($PKG_CONFIG --exists --print-errors "dbus-1 >= 1.1") 2>&5
14081
12268
  ac_status=$?
14082
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14083
 
  (exit $ac_status); }; then
 
12269
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12270
  test $ac_status = 0; }; then
14084
12271
  pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 1.1" 2>/dev/null`
14085
12272
else
14086
12273
  pkg_failed=yes
14092
12279
    pkg_cv_DBUS_LIBS="$DBUS_LIBS"
14093
12280
 elif test -n "$PKG_CONFIG"; then
14094
12281
    if test -n "$PKG_CONFIG" && \
14095
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 1.1\"") >&5
 
12282
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 1.1\""; } >&5
14096
12283
  ($PKG_CONFIG --exists --print-errors "dbus-1 >= 1.1") 2>&5
14097
12284
  ac_status=$?
14098
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14099
 
  (exit $ac_status); }; then
 
12285
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12286
  test $ac_status = 0; }; then
14100
12287
  pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 1.1" 2>/dev/null`
14101
12288
else
14102
12289
  pkg_failed=yes
14108
12295
 
14109
12296
 
14110
12297
if test $pkg_failed = yes; then
 
12298
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12299
$as_echo "no" >&6; }
14111
12300
 
14112
12301
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14113
12302
        _pkg_short_errors_supported=yes
14122
12311
        # Put the nasty error message in config.log where it belongs
14123
12312
        echo "$DBUS_PKG_ERRORS" >&5
14124
12313
 
14125
 
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
12314
        have_dbus=no
 
12315
elif test $pkg_failed = untried; then
 
12316
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14126
12317
$as_echo "no" >&6; }
14127
 
                have_dbus=no
14128
 
elif test $pkg_failed = untried; then
14129
12318
        have_dbus=no
14130
12319
else
14131
12320
        DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
14132
12321
        DBUS_LIBS=$pkg_cv_DBUS_LIBS
14133
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
12322
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14134
12323
$as_echo "yes" >&6; }
14135
12324
        have_dbus=yes
14136
12325
fi
14137
12326
 
14138
12327
if test x$have_dbus = xno ; then
14139
 
    { { $as_echo "$as_me:$LINENO: error: DBus development libraries not found" >&5
14140
 
$as_echo "$as_me: error: DBus development libraries not found" >&2;}
14141
 
   { (exit 1); exit 1; }; }
 
12328
    as_fn_error $? "DBus development libraries not found" "$LINENO" 5
14142
12329
fi
14143
12330
 if test x$have_dbus = xyes; then
14144
12331
  HAVE_DBUS_TRUE=
14167
12354
# Glib detection
14168
12355
 
14169
12356
pkg_failed=no
14170
 
{ $as_echo "$as_me:$LINENO: checking for DBUS_GLIB" >&5
 
12357
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS_GLIB" >&5
14171
12358
$as_echo_n "checking for DBUS_GLIB... " >&6; }
14172
12359
 
14173
12360
if test -n "$DBUS_GLIB_CFLAGS"; then
14174
12361
    pkg_cv_DBUS_GLIB_CFLAGS="$DBUS_GLIB_CFLAGS"
14175
12362
 elif test -n "$PKG_CONFIG"; then
14176
12363
    if test -n "$PKG_CONFIG" && \
14177
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 >= 2.10\"") >&5
14178
 
  ($PKG_CONFIG --exists --print-errors "gobject-2.0 >= 2.10") 2>&5
 
12364
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 >= 2.24\""; } >&5
 
12365
  ($PKG_CONFIG --exists --print-errors "gobject-2.0 >= 2.24") 2>&5
14179
12366
  ac_status=$?
14180
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14181
 
  (exit $ac_status); }; then
14182
 
  pkg_cv_DBUS_GLIB_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0 >= 2.10" 2>/dev/null`
 
12367
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12368
  test $ac_status = 0; }; then
 
12369
  pkg_cv_DBUS_GLIB_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0 >= 2.24" 2>/dev/null`
14183
12370
else
14184
12371
  pkg_failed=yes
14185
12372
fi
14190
12377
    pkg_cv_DBUS_GLIB_LIBS="$DBUS_GLIB_LIBS"
14191
12378
 elif test -n "$PKG_CONFIG"; then
14192
12379
    if test -n "$PKG_CONFIG" && \
14193
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 >= 2.10\"") >&5
14194
 
  ($PKG_CONFIG --exists --print-errors "gobject-2.0 >= 2.10") 2>&5
 
12380
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 >= 2.24\""; } >&5
 
12381
  ($PKG_CONFIG --exists --print-errors "gobject-2.0 >= 2.24") 2>&5
14195
12382
  ac_status=$?
14196
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14197
 
  (exit $ac_status); }; then
14198
 
  pkg_cv_DBUS_GLIB_LIBS=`$PKG_CONFIG --libs "gobject-2.0 >= 2.10" 2>/dev/null`
 
12383
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12384
  test $ac_status = 0; }; then
 
12385
  pkg_cv_DBUS_GLIB_LIBS=`$PKG_CONFIG --libs "gobject-2.0 >= 2.24" 2>/dev/null`
14199
12386
else
14200
12387
  pkg_failed=yes
14201
12388
fi
14206
12393
 
14207
12394
 
14208
12395
if test $pkg_failed = yes; then
 
12396
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12397
$as_echo "no" >&6; }
14209
12398
 
14210
12399
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14211
12400
        _pkg_short_errors_supported=yes
14213
12402
        _pkg_short_errors_supported=no
14214
12403
fi
14215
12404
        if test $_pkg_short_errors_supported = yes; then
14216
 
                DBUS_GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gobject-2.0 >= 2.10" 2>&1`
 
12405
                DBUS_GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gobject-2.0 >= 2.24" 2>&1`
14217
12406
        else
14218
 
                DBUS_GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "gobject-2.0 >= 2.10" 2>&1`
 
12407
                DBUS_GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "gobject-2.0 >= 2.24" 2>&1`
14219
12408
        fi
14220
12409
        # Put the nasty error message in config.log where it belongs
14221
12410
        echo "$DBUS_GLIB_PKG_ERRORS" >&5
14222
12411
 
14223
 
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
12412
        have_glib=no
 
12413
elif test $pkg_failed = untried; then
 
12414
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14224
12415
$as_echo "no" >&6; }
14225
 
                have_glib=no
14226
 
elif test $pkg_failed = untried; then
14227
12416
        have_glib=no
14228
12417
else
14229
12418
        DBUS_GLIB_CFLAGS=$pkg_cv_DBUS_GLIB_CFLAGS
14230
12419
        DBUS_GLIB_LIBS=$pkg_cv_DBUS_GLIB_LIBS
14231
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
12420
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14232
12421
$as_echo "yes" >&6; }
14233
12422
        have_glib=yes
14234
12423
fi
14235
12424
 
14236
12425
pkg_failed=no
14237
 
{ $as_echo "$as_me:$LINENO: checking for DBUS_GLIB_THREADS" >&5
 
12426
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS_GLIB_THREADS" >&5
14238
12427
$as_echo_n "checking for DBUS_GLIB_THREADS... " >&6; }
14239
12428
 
14240
12429
if test -n "$DBUS_GLIB_THREADS_CFLAGS"; then
14241
12430
    pkg_cv_DBUS_GLIB_THREADS_CFLAGS="$DBUS_GLIB_THREADS_CFLAGS"
14242
12431
 elif test -n "$PKG_CONFIG"; then
14243
12432
    if test -n "$PKG_CONFIG" && \
14244
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gthread-2.0 >= 2.6\"") >&5
 
12433
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gthread-2.0 >= 2.6\""; } >&5
14245
12434
  ($PKG_CONFIG --exists --print-errors "gthread-2.0 >= 2.6") 2>&5
14246
12435
  ac_status=$?
14247
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14248
 
  (exit $ac_status); }; then
 
12436
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12437
  test $ac_status = 0; }; then
14249
12438
  pkg_cv_DBUS_GLIB_THREADS_CFLAGS=`$PKG_CONFIG --cflags "gthread-2.0 >= 2.6" 2>/dev/null`
14250
12439
else
14251
12440
  pkg_failed=yes
14257
12446
    pkg_cv_DBUS_GLIB_THREADS_LIBS="$DBUS_GLIB_THREADS_LIBS"
14258
12447
 elif test -n "$PKG_CONFIG"; then
14259
12448
    if test -n "$PKG_CONFIG" && \
14260
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gthread-2.0 >= 2.6\"") >&5
 
12449
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gthread-2.0 >= 2.6\""; } >&5
14261
12450
  ($PKG_CONFIG --exists --print-errors "gthread-2.0 >= 2.6") 2>&5
14262
12451
  ac_status=$?
14263
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14264
 
  (exit $ac_status); }; then
 
12452
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12453
  test $ac_status = 0; }; then
14265
12454
  pkg_cv_DBUS_GLIB_THREADS_LIBS=`$PKG_CONFIG --libs "gthread-2.0 >= 2.6" 2>/dev/null`
14266
12455
else
14267
12456
  pkg_failed=yes
14273
12462
 
14274
12463
 
14275
12464
if test $pkg_failed = yes; then
 
12465
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12466
$as_echo "no" >&6; }
14276
12467
 
14277
12468
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14278
12469
        _pkg_short_errors_supported=yes
14287
12478
        # Put the nasty error message in config.log where it belongs
14288
12479
        echo "$DBUS_GLIB_THREADS_PKG_ERRORS" >&5
14289
12480
 
14290
 
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
12481
        have_glib_threads=no
 
12482
elif test $pkg_failed = untried; then
 
12483
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14291
12484
$as_echo "no" >&6; }
14292
 
                have_glib_threads=no
14293
 
elif test $pkg_failed = untried; then
14294
12485
        have_glib_threads=no
14295
12486
else
14296
12487
        DBUS_GLIB_THREADS_CFLAGS=$pkg_cv_DBUS_GLIB_THREADS_CFLAGS
14297
12488
        DBUS_GLIB_THREADS_LIBS=$pkg_cv_DBUS_GLIB_THREADS_LIBS
14298
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
12489
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14299
12490
$as_echo "yes" >&6; }
14300
12491
        have_glib_threads=yes
14301
12492
fi
14302
12493
 
14303
12494
if test x$have_glib = xno ; then
14304
 
    { { $as_echo "$as_me:$LINENO: error: GLib development libraries not found" >&5
14305
 
$as_echo "$as_me: error: GLib development libraries not found" >&2;}
14306
 
   { (exit 1); exit 1; }; }
 
12495
    as_fn_error $? "GLib development libraries not found" "$LINENO" 5
14307
12496
fi
14308
12497
 
14309
12498
 if test x$have_glib = xyes; then
14338
12527
### gtk-doc Documentation
14339
12528
 
14340
12529
 
 
12530
    # Extract the first word of "gtkdoc-check", so it can be a program name with args.
 
12531
set dummy gtkdoc-check; ac_word=$2
 
12532
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12533
$as_echo_n "checking for $ac_word... " >&6; }
 
12534
if test "${ac_cv_path_GTKDOC_CHECK+set}" = set; then :
 
12535
  $as_echo_n "(cached) " >&6
 
12536
else
 
12537
  case $GTKDOC_CHECK in
 
12538
  [\\/]* | ?:[\\/]*)
 
12539
  ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
 
12540
  ;;
 
12541
  *)
 
12542
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12543
for as_dir in $PATH
 
12544
do
 
12545
  IFS=$as_save_IFS
 
12546
  test -z "$as_dir" && as_dir=.
 
12547
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12548
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12549
    ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
 
12550
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12551
    break 2
 
12552
  fi
 
12553
done
 
12554
  done
 
12555
IFS=$as_save_IFS
 
12556
 
 
12557
  ;;
 
12558
esac
 
12559
fi
 
12560
GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
 
12561
if test -n "$GTKDOC_CHECK"; then
 
12562
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
 
12563
$as_echo "$GTKDOC_CHECK" >&6; }
 
12564
else
 
12565
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12566
$as_echo "no" >&6; }
 
12567
fi
 
12568
 
 
12569
 
 
12570
  for ac_prog in gtkdoc-rebase
 
12571
do
 
12572
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
12573
set dummy $ac_prog; ac_word=$2
 
12574
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12575
$as_echo_n "checking for $ac_word... " >&6; }
 
12576
if test "${ac_cv_path_GTKDOC_REBASE+set}" = set; then :
 
12577
  $as_echo_n "(cached) " >&6
 
12578
else
 
12579
  case $GTKDOC_REBASE in
 
12580
  [\\/]* | ?:[\\/]*)
 
12581
  ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
 
12582
  ;;
 
12583
  *)
 
12584
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12585
for as_dir in $PATH
 
12586
do
 
12587
  IFS=$as_save_IFS
 
12588
  test -z "$as_dir" && as_dir=.
 
12589
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12590
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12591
    ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
 
12592
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12593
    break 2
 
12594
  fi
 
12595
done
 
12596
  done
 
12597
IFS=$as_save_IFS
 
12598
 
 
12599
  ;;
 
12600
esac
 
12601
fi
 
12602
GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
 
12603
if test -n "$GTKDOC_REBASE"; then
 
12604
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
 
12605
$as_echo "$GTKDOC_REBASE" >&6; }
 
12606
else
 
12607
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12608
$as_echo "no" >&6; }
 
12609
fi
 
12610
 
 
12611
 
 
12612
  test -n "$GTKDOC_REBASE" && break
 
12613
done
 
12614
test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
 
12615
 
 
12616
  # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
 
12617
set dummy gtkdoc-mkpdf; ac_word=$2
 
12618
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12619
$as_echo_n "checking for $ac_word... " >&6; }
 
12620
if test "${ac_cv_path_GTKDOC_MKPDF+set}" = set; then :
 
12621
  $as_echo_n "(cached) " >&6
 
12622
else
 
12623
  case $GTKDOC_MKPDF in
 
12624
  [\\/]* | ?:[\\/]*)
 
12625
  ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
 
12626
  ;;
 
12627
  *)
 
12628
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12629
for as_dir in $PATH
 
12630
do
 
12631
  IFS=$as_save_IFS
 
12632
  test -z "$as_dir" && as_dir=.
 
12633
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12634
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12635
    ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
 
12636
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12637
    break 2
 
12638
  fi
 
12639
done
 
12640
  done
 
12641
IFS=$as_save_IFS
 
12642
 
 
12643
  ;;
 
12644
esac
 
12645
fi
 
12646
GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
 
12647
if test -n "$GTKDOC_MKPDF"; then
 
12648
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
 
12649
$as_echo "$GTKDOC_MKPDF" >&6; }
 
12650
else
 
12651
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12652
$as_echo "no" >&6; }
 
12653
fi
 
12654
 
 
12655
 
 
12656
 
 
12657
 
14341
12658
# Check whether --with-html-dir was given.
14342
 
if test "${with_html_dir+set}" = set; then
 
12659
if test "${with_html_dir+set}" = set; then :
14343
12660
  withval=$with_html_dir;
14344
12661
else
14345
12662
  with_html_dir='${datadir}/gtk-doc/html'
14349
12666
 
14350
12667
 
14351
12668
    # Check whether --enable-gtk-doc was given.
14352
 
if test "${enable_gtk_doc+set}" = set; then
 
12669
if test "${enable_gtk_doc+set}" = set; then :
14353
12670
  enableval=$enable_gtk_doc;
14354
12671
else
14355
12672
  enable_gtk_doc=no
14358
12675
 
14359
12676
  if test x$enable_gtk_doc = xyes; then
14360
12677
    if test -n "$PKG_CONFIG" && \
14361
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.4\"") >&5
 
12678
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.4\""; } >&5
14362
12679
  ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.4") 2>&5
14363
12680
  ac_status=$?
14364
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14365
 
  (exit $ac_status); }; then
 
12681
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12682
  test $ac_status = 0; }; then
14366
12683
  :
14367
12684
else
14368
 
  { { $as_echo "$as_me:$LINENO: error: You need to have gtk-doc >= 1.4 installed to build gtk-doc" >&5
14369
 
$as_echo "$as_me: error: You need to have gtk-doc >= 1.4 installed to build gtk-doc" >&2;}
14370
 
   { (exit 1); exit 1; }; }
 
12685
  as_fn_error $? "You need to have gtk-doc >= 1.4 installed to build $PACKAGE_NAME" "$LINENO" 5
14371
12686
fi
14372
12687
  fi
14373
12688
 
14374
 
  { $as_echo "$as_me:$LINENO: checking whether to build gtk-doc documentation" >&5
 
12689
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
14375
12690
$as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
14376
 
  { $as_echo "$as_me:$LINENO: result: $enable_gtk_doc" >&5
 
12691
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
14377
12692
$as_echo "$enable_gtk_doc" >&6; }
14378
12693
 
14379
 
  for ac_prog in gtkdoc-check
14380
 
do
14381
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
14382
 
set dummy $ac_prog; ac_word=$2
14383
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
14384
 
$as_echo_n "checking for $ac_word... " >&6; }
14385
 
if test "${ac_cv_path_GTKDOC_CHECK+set}" = set; then
14386
 
  $as_echo_n "(cached) " >&6
14387
 
else
14388
 
  case $GTKDOC_CHECK in
14389
 
  [\\/]* | ?:[\\/]*)
14390
 
  ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
14391
 
  ;;
14392
 
  *)
14393
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14394
 
for as_dir in $PATH
14395
 
do
14396
 
  IFS=$as_save_IFS
14397
 
  test -z "$as_dir" && as_dir=.
14398
 
  for ac_exec_ext in '' $ac_executable_extensions; do
14399
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14400
 
    ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
14401
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14402
 
    break 2
 
12694
    # Check whether --enable-gtk-doc-html was given.
 
12695
if test "${enable_gtk_doc_html+set}" = set; then :
 
12696
  enableval=$enable_gtk_doc_html;
 
12697
else
 
12698
  enable_gtk_doc_html=yes
 
12699
fi
 
12700
 
 
12701
    # Check whether --enable-gtk-doc-pdf was given.
 
12702
if test "${enable_gtk_doc_pdf+set}" = set; then :
 
12703
  enableval=$enable_gtk_doc_pdf;
 
12704
else
 
12705
  enable_gtk_doc_pdf=no
 
12706
fi
 
12707
 
 
12708
 
 
12709
  if test -z "$GTKDOC_MKPDF"; then
 
12710
    enable_gtk_doc_pdf=no
14403
12711
  fi
14404
 
done
14405
 
done
14406
 
IFS=$as_save_IFS
14407
 
 
14408
 
  ;;
14409
 
esac
14410
 
fi
14411
 
GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
14412
 
if test -n "$GTKDOC_CHECK"; then
14413
 
  { $as_echo "$as_me:$LINENO: result: $GTKDOC_CHECK" >&5
14414
 
$as_echo "$GTKDOC_CHECK" >&6; }
14415
 
else
14416
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
14417
 
$as_echo "no" >&6; }
14418
 
fi
14419
 
 
14420
 
 
14421
 
  test -n "$GTKDOC_CHECK" && break
14422
 
done
14423
12712
 
14424
12713
 
14425
12714
   if test x$enable_gtk_doc = xyes; then
14430
12719
  ENABLE_GTK_DOC_FALSE=
14431
12720
fi
14432
12721
 
 
12722
   if test x$enable_gtk_doc_html = xyes; then
 
12723
  GTK_DOC_BUILD_HTML_TRUE=
 
12724
  GTK_DOC_BUILD_HTML_FALSE='#'
 
12725
else
 
12726
  GTK_DOC_BUILD_HTML_TRUE='#'
 
12727
  GTK_DOC_BUILD_HTML_FALSE=
 
12728
fi
 
12729
 
 
12730
   if test x$enable_gtk_doc_pdf = xyes; then
 
12731
  GTK_DOC_BUILD_PDF_TRUE=
 
12732
  GTK_DOC_BUILD_PDF_FALSE='#'
 
12733
else
 
12734
  GTK_DOC_BUILD_PDF_TRUE='#'
 
12735
  GTK_DOC_BUILD_PDF_FALSE=
 
12736
fi
 
12737
 
14433
12738
   if test -n "$LIBTOOL"; then
14434
12739
  GTK_DOC_USE_LIBTOOL_TRUE=
14435
12740
  GTK_DOC_USE_LIBTOOL_FALSE='#'
14438
12743
  GTK_DOC_USE_LIBTOOL_FALSE=
14439
12744
fi
14440
12745
 
 
12746
   if test -n "$GTKDOC_REBASE"; then
 
12747
  GTK_DOC_USE_REBASE_TRUE=
 
12748
  GTK_DOC_USE_REBASE_FALSE='#'
 
12749
else
 
12750
  GTK_DOC_USE_REBASE_TRUE='#'
 
12751
  GTK_DOC_USE_REBASE_FALSE=
 
12752
fi
 
12753
 
14441
12754
 
14442
12755
 
14443
12756
### Doxygen Documentation
14444
12757
 
14445
12758
# Extract the first word of "doxygen", so it can be a program name with args.
14446
12759
set dummy doxygen; ac_word=$2
14447
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12760
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14448
12761
$as_echo_n "checking for $ac_word... " >&6; }
14449
 
if test "${ac_cv_path_DOXYGEN+set}" = set; then
 
12762
if test "${ac_cv_path_DOXYGEN+set}" = set; then :
14450
12763
  $as_echo_n "(cached) " >&6
14451
12764
else
14452
12765
  case $DOXYGEN in
14459
12772
do
14460
12773
  IFS=$as_save_IFS
14461
12774
  test -z "$as_dir" && as_dir=.
14462
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12775
    for ac_exec_ext in '' $ac_executable_extensions; do
14463
12776
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14464
12777
    ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
14465
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12778
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14466
12779
    break 2
14467
12780
  fi
14468
12781
done
14469
 
done
 
12782
  done
14470
12783
IFS=$as_save_IFS
14471
12784
 
14472
12785
  test -z "$ac_cv_path_DOXYGEN" && ac_cv_path_DOXYGEN="no"
14475
12788
fi
14476
12789
DOXYGEN=$ac_cv_path_DOXYGEN
14477
12790
if test -n "$DOXYGEN"; then
14478
 
  { $as_echo "$as_me:$LINENO: result: $DOXYGEN" >&5
 
12791
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
14479
12792
$as_echo "$DOXYGEN" >&6; }
14480
12793
else
14481
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12794
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14482
12795
$as_echo "no" >&6; }
14483
12796
fi
14484
12797
 
14485
12798
 
14486
12799
 
14487
 
{ $as_echo "$as_me:$LINENO: checking whether to build Doxygen documentation" >&5
 
12800
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Doxygen documentation" >&5
14488
12801
$as_echo_n "checking whether to build Doxygen documentation... " >&6; }
14489
12802
 
14490
12803
if test x$DOXYGEN = xno ; then
14503
12816
 
14504
12817
if test x$enable_doxygen_docs = xyes; then
14505
12818
    if test x$have_doxygen = xno; then
14506
 
        { { $as_echo "$as_me:$LINENO: error: Building Doxygen docs explicitly required, but Doxygen not found" >&5
14507
 
$as_echo "$as_me: error: Building Doxygen docs explicitly required, but Doxygen not found" >&2;}
14508
 
   { (exit 1); exit 1; }; }
 
12819
        as_fn_error $? "Building Doxygen docs explicitly required, but Doxygen not found" "$LINENO" 5
14509
12820
    fi
14510
12821
fi
14511
12822
 
14517
12828
  DBUS_DOXYGEN_DOCS_ENABLED_FALSE=
14518
12829
fi
14519
12830
 
14520
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
12831
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14521
12832
$as_echo "yes" >&6; }
14522
12833
 
14523
12834
#### Have to go $localstatedir->$prefix/var->/usr/local/var
14690
13001
    case $ac_val in #(
14691
13002
    *${as_nl}*)
14692
13003
      case $ac_var in #(
14693
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
13004
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14694
13005
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14695
13006
      esac
14696
13007
      case $ac_var in #(
14697
13008
      _ | IFS | as_nl) ;; #(
14698
13009
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14699
 
      *) $as_unset $ac_var ;;
 
13010
      *) { eval $ac_var=; unset $ac_var;} ;;
14700
13011
      esac ;;
14701
13012
    esac
14702
13013
  done
14704
13015
  (set) 2>&1 |
14705
13016
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
14706
13017
    *${as_nl}ac_space=\ *)
14707
 
      # `set' does not quote correctly, so add quotes (double-quote
14708
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
13018
      # `set' does not quote correctly, so add quotes: double-quote
 
13019
      # substitution turns \\\\ into \\, and sed turns \\ into \.
14709
13020
      sed -n \
14710
13021
        "s/'/'\\\\''/g;
14711
13022
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14728
13039
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14729
13040
  if test -w "$cache_file"; then
14730
13041
    test "x$cache_file" != "x/dev/null" &&
14731
 
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
13042
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14732
13043
$as_echo "$as_me: updating cache $cache_file" >&6;}
14733
13044
    cat confcache >$cache_file
14734
13045
  else
14735
 
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
13046
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14736
13047
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14737
13048
  fi
14738
13049
fi
14746
13057
 
14747
13058
ac_libobjs=
14748
13059
ac_ltlibobjs=
 
13060
U=
14749
13061
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14750
13062
  # 1. Remove the extension, and $U if already installed.
14751
13063
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14752
13064
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14753
13065
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
14754
13066
  #    will be set to the directory where LIBOBJS objects are built.
14755
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14756
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
13067
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
13068
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14757
13069
done
14758
13070
LIBOBJS=$ac_libobjs
14759
13071
 
14769
13081
fi
14770
13082
 
14771
13083
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14772
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
14773
 
Usually this means the macro was only invoked conditionally." >&5
14774
 
$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
14775
 
Usually this means the macro was only invoked conditionally." >&2;}
14776
 
   { (exit 1); exit 1; }; }
 
13084
  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
 
13085
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14777
13086
fi
14778
13087
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14779
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
14780
 
Usually this means the macro was only invoked conditionally." >&5
14781
 
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
14782
 
Usually this means the macro was only invoked conditionally." >&2;}
14783
 
   { (exit 1); exit 1; }; }
 
13088
  as_fn_error $? "conditional \"AMDEP\" was never defined.
 
13089
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14784
13090
fi
14785
13091
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14786
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
14787
 
Usually this means the macro was only invoked conditionally." >&5
14788
 
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
14789
 
Usually this means the macro was only invoked conditionally." >&2;}
14790
 
   { (exit 1); exit 1; }; }
 
13092
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
13093
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14791
13094
fi
14792
13095
if test -z "${DBUS_BASH_COMPLETION_TRUE}" && test -z "${DBUS_BASH_COMPLETION_FALSE}"; then
14793
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"DBUS_BASH_COMPLETION\" was never defined.
14794
 
Usually this means the macro was only invoked conditionally." >&5
14795
 
$as_echo "$as_me: error: conditional \"DBUS_BASH_COMPLETION\" was never defined.
14796
 
Usually this means the macro was only invoked conditionally." >&2;}
14797
 
   { (exit 1); exit 1; }; }
 
13096
  as_fn_error $? "conditional \"DBUS_BASH_COMPLETION\" was never defined.
 
13097
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14798
13098
fi
14799
13099
if test -z "${DBUS_BUILD_TESTS_TRUE}" && test -z "${DBUS_BUILD_TESTS_FALSE}"; then
14800
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"DBUS_BUILD_TESTS\" was never defined.
14801
 
Usually this means the macro was only invoked conditionally." >&5
14802
 
$as_echo "$as_me: error: conditional \"DBUS_BUILD_TESTS\" was never defined.
14803
 
Usually this means the macro was only invoked conditionally." >&2;}
14804
 
   { (exit 1); exit 1; }; }
 
13100
  as_fn_error $? "conditional \"DBUS_BUILD_TESTS\" was never defined.
 
13101
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14805
13102
fi
14806
13103
if test -z "${DBUS_GCOV_ENABLED_TRUE}" && test -z "${DBUS_GCOV_ENABLED_FALSE}"; then
14807
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"DBUS_GCOV_ENABLED\" was never defined.
14808
 
Usually this means the macro was only invoked conditionally." >&5
14809
 
$as_echo "$as_me: error: conditional \"DBUS_GCOV_ENABLED\" was never defined.
14810
 
Usually this means the macro was only invoked conditionally." >&2;}
14811
 
   { (exit 1); exit 1; }; }
 
13104
  as_fn_error $? "conditional \"DBUS_GCOV_ENABLED\" was never defined.
 
13105
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14812
13106
fi
14813
13107
if test -z "${HAVE_DBUS_TRUE}" && test -z "${HAVE_DBUS_FALSE}"; then
14814
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_DBUS\" was never defined.
14815
 
Usually this means the macro was only invoked conditionally." >&5
14816
 
$as_echo "$as_me: error: conditional \"HAVE_DBUS\" was never defined.
14817
 
Usually this means the macro was only invoked conditionally." >&2;}
14818
 
   { (exit 1); exit 1; }; }
 
13108
  as_fn_error $? "conditional \"HAVE_DBUS\" was never defined.
 
13109
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14819
13110
fi
14820
13111
if test -z "${HAVE_GLIB_TRUE}" && test -z "${HAVE_GLIB_FALSE}"; then
14821
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_GLIB\" was never defined.
14822
 
Usually this means the macro was only invoked conditionally." >&5
14823
 
$as_echo "$as_me: error: conditional \"HAVE_GLIB\" was never defined.
14824
 
Usually this means the macro was only invoked conditionally." >&2;}
14825
 
   { (exit 1); exit 1; }; }
 
13112
  as_fn_error $? "conditional \"HAVE_GLIB\" was never defined.
 
13113
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14826
13114
fi
14827
13115
if test -z "${HAVE_GLIB_THREADS_TRUE}" && test -z "${HAVE_GLIB_THREADS_FALSE}"; then
14828
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_GLIB_THREADS\" was never defined.
14829
 
Usually this means the macro was only invoked conditionally." >&5
14830
 
$as_echo "$as_me: error: conditional \"HAVE_GLIB_THREADS\" was never defined.
14831
 
Usually this means the macro was only invoked conditionally." >&2;}
14832
 
   { (exit 1); exit 1; }; }
 
13116
  as_fn_error $? "conditional \"HAVE_GLIB_THREADS\" was never defined.
 
13117
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14833
13118
fi
14834
13119
if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
14835
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_GTK_DOC\" was never defined.
14836
 
Usually this means the macro was only invoked conditionally." >&5
14837
 
$as_echo "$as_me: error: conditional \"ENABLE_GTK_DOC\" was never defined.
14838
 
Usually this means the macro was only invoked conditionally." >&2;}
14839
 
   { (exit 1); exit 1; }; }
 
13120
  as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
 
13121
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13122
fi
 
13123
if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
 
13124
  as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
 
13125
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13126
fi
 
13127
if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
 
13128
  as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
 
13129
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14840
13130
fi
14841
13131
if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
14842
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
14843
 
Usually this means the macro was only invoked conditionally." >&5
14844
 
$as_echo "$as_me: error: conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
14845
 
Usually this means the macro was only invoked conditionally." >&2;}
14846
 
   { (exit 1); exit 1; }; }
 
13132
  as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
 
13133
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13134
fi
 
13135
if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
 
13136
  as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
 
13137
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14847
13138
fi
14848
13139
if test -z "${DBUS_DOXYGEN_DOCS_ENABLED_TRUE}" && test -z "${DBUS_DOXYGEN_DOCS_ENABLED_FALSE}"; then
14849
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"DBUS_DOXYGEN_DOCS_ENABLED\" was never defined.
14850
 
Usually this means the macro was only invoked conditionally." >&5
14851
 
$as_echo "$as_me: error: conditional \"DBUS_DOXYGEN_DOCS_ENABLED\" was never defined.
14852
 
Usually this means the macro was only invoked conditionally." >&2;}
14853
 
   { (exit 1); exit 1; }; }
 
13140
  as_fn_error $? "conditional \"DBUS_DOXYGEN_DOCS_ENABLED\" was never defined.
 
13141
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14854
13142
fi
14855
13143
 
14856
13144
: ${CONFIG_STATUS=./config.status}
14857
13145
ac_write_fail=0
14858
13146
ac_clean_files_save=$ac_clean_files
14859
13147
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14860
 
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
13148
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14861
13149
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14862
 
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
13150
as_write_fail=0
 
13151
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14863
13152
#! $SHELL
14864
13153
# Generated by $as_me.
14865
13154
# Run this file to recreate the current configuration.
14869
13158
debug=false
14870
13159
ac_cs_recheck=false
14871
13160
ac_cs_silent=false
 
13161
 
14872
13162
SHELL=\${CONFIG_SHELL-$SHELL}
14873
 
_ACEOF
14874
 
 
14875
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14876
 
## --------------------- ##
14877
 
## M4sh Initialization.  ##
14878
 
## --------------------- ##
 
13163
export SHELL
 
13164
_ASEOF
 
13165
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
13166
## -------------------- ##
 
13167
## M4sh Initialization. ##
 
13168
## -------------------- ##
14879
13169
 
14880
13170
# Be more Bourne compatible
14881
13171
DUALCASE=1; export DUALCASE # for MKS sh
14882
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
13172
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14883
13173
  emulate sh
14884
13174
  NULLCMD=:
14885
13175
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14887
13177
  alias -g '${1+"$@"}'='"$@"'
14888
13178
  setopt NO_GLOB_SUBST
14889
13179
else
14890
 
  case `(set -o) 2>/dev/null` in
14891
 
  *posix*) set -o posix ;;
 
13180
  case `(set -o) 2>/dev/null` in #(
 
13181
  *posix*) :
 
13182
    set -o posix ;; #(
 
13183
  *) :
 
13184
     ;;
14892
13185
esac
14893
 
 
14894
13186
fi
14895
13187
 
14896
13188
 
14897
 
 
14898
 
 
14899
 
# PATH needs CR
14900
 
# Avoid depending upon Character Ranges.
14901
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14902
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14903
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14904
 
as_cr_digits='0123456789'
14905
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
14906
 
 
14907
13189
as_nl='
14908
13190
'
14909
13191
export as_nl
14911
13193
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14912
13194
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14913
13195
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14914
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
13196
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
13197
# but without wasting forks for bash or zsh.
 
13198
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
13199
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
13200
  as_echo='print -r --'
 
13201
  as_echo_n='print -rn --'
 
13202
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14915
13203
  as_echo='printf %s\n'
14916
13204
  as_echo_n='printf %s'
14917
13205
else
14922
13210
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14923
13211
    as_echo_n_body='eval
14924
13212
      arg=$1;
14925
 
      case $arg in
 
13213
      case $arg in #(
14926
13214
      *"$as_nl"*)
14927
13215
        expr "X$arg" : "X\\(.*\\)$as_nl";
14928
13216
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14945
13233
  }
14946
13234
fi
14947
13235
 
14948
 
# Support unset when possible.
14949
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
14950
 
  as_unset=unset
14951
 
else
14952
 
  as_unset=false
14953
 
fi
14954
 
 
14955
13236
 
14956
13237
# IFS
14957
13238
# We need space, tab and new line, in precisely that order.  Quoting is
14961
13242
IFS=" ""        $as_nl"
14962
13243
 
14963
13244
# Find who we are.  Look in the path if we contain no directory separator.
14964
 
case $0 in
 
13245
case $0 in #((
14965
13246
  *[\\/]* ) as_myself=$0 ;;
14966
13247
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14967
13248
for as_dir in $PATH
14968
13249
do
14969
13250
  IFS=$as_save_IFS
14970
13251
  test -z "$as_dir" && as_dir=.
14971
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14972
 
done
 
13252
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
13253
  done
14973
13254
IFS=$as_save_IFS
14974
13255
 
14975
13256
     ;;
14981
13262
fi
14982
13263
if test ! -f "$as_myself"; then
14983
13264
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14984
 
  { (exit 1); exit 1; }
 
13265
  exit 1
14985
13266
fi
14986
13267
 
14987
 
# Work around bugs in pre-3.0 UWIN ksh.
14988
 
for as_var in ENV MAIL MAILPATH
14989
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
13268
# Unset variables that we do not need and which cause bugs (e.g. in
 
13269
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
13270
# suppresses any "Segmentation fault" message there.  '((' could
 
13271
# trigger a bug in pdksh 5.2.14.
 
13272
for as_var in BASH_ENV ENV MAIL MAILPATH
 
13273
do eval test x\${$as_var+set} = xset \
 
13274
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14990
13275
done
14991
13276
PS1='$ '
14992
13277
PS2='> '
14998
13283
LANGUAGE=C
14999
13284
export LANGUAGE
15000
13285
 
15001
 
# Required to use basename.
 
13286
# CDPATH.
 
13287
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
13288
 
 
13289
 
 
13290
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
13291
# ----------------------------------------
 
13292
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
13293
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
13294
# script with STATUS, using 1 if that was 0.
 
13295
as_fn_error ()
 
13296
{
 
13297
  as_status=$1; test $as_status -eq 0 && as_status=1
 
13298
  if test "$4"; then
 
13299
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
13300
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
13301
  fi
 
13302
  $as_echo "$as_me: error: $2" >&2
 
13303
  as_fn_exit $as_status
 
13304
} # as_fn_error
 
13305
 
 
13306
 
 
13307
# as_fn_set_status STATUS
 
13308
# -----------------------
 
13309
# Set $? to STATUS, without forking.
 
13310
as_fn_set_status ()
 
13311
{
 
13312
  return $1
 
13313
} # as_fn_set_status
 
13314
 
 
13315
# as_fn_exit STATUS
 
13316
# -----------------
 
13317
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
13318
as_fn_exit ()
 
13319
{
 
13320
  set +e
 
13321
  as_fn_set_status $1
 
13322
  exit $1
 
13323
} # as_fn_exit
 
13324
 
 
13325
# as_fn_unset VAR
 
13326
# ---------------
 
13327
# Portably unset VAR.
 
13328
as_fn_unset ()
 
13329
{
 
13330
  { eval $1=; unset $1;}
 
13331
}
 
13332
as_unset=as_fn_unset
 
13333
# as_fn_append VAR VALUE
 
13334
# ----------------------
 
13335
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
13336
# advantage of any shell optimizations that allow amortized linear growth over
 
13337
# repeated appends, instead of the typical quadratic growth present in naive
 
13338
# implementations.
 
13339
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
13340
  eval 'as_fn_append ()
 
13341
  {
 
13342
    eval $1+=\$2
 
13343
  }'
 
13344
else
 
13345
  as_fn_append ()
 
13346
  {
 
13347
    eval $1=\$$1\$2
 
13348
  }
 
13349
fi # as_fn_append
 
13350
 
 
13351
# as_fn_arith ARG...
 
13352
# ------------------
 
13353
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
13354
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
13355
# must be portable across $(()) and expr.
 
13356
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
13357
  eval 'as_fn_arith ()
 
13358
  {
 
13359
    as_val=$(( $* ))
 
13360
  }'
 
13361
else
 
13362
  as_fn_arith ()
 
13363
  {
 
13364
    as_val=`expr "$@" || test $? -eq 1`
 
13365
  }
 
13366
fi # as_fn_arith
 
13367
 
 
13368
 
15002
13369
if expr a : '\(a\)' >/dev/null 2>&1 &&
15003
13370
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
15004
13371
  as_expr=expr
15012
13379
  as_basename=false
15013
13380
fi
15014
13381
 
 
13382
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
13383
  as_dirname=dirname
 
13384
else
 
13385
  as_dirname=false
 
13386
fi
15015
13387
 
15016
 
# Name of the executable.
15017
13388
as_me=`$as_basename -- "$0" ||
15018
13389
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15019
13390
         X"$0" : 'X\(//\)$' \| \
15033
13404
          }
15034
13405
          s/.*/./; q'`
15035
13406
 
15036
 
# CDPATH.
15037
 
$as_unset CDPATH
15038
 
 
15039
 
 
15040
 
 
15041
 
  as_lineno_1=$LINENO
15042
 
  as_lineno_2=$LINENO
15043
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
15044
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
15045
 
 
15046
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
15047
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
15048
 
  # line-number line after each line using $LINENO; the second 'sed'
15049
 
  # does the real work.  The second script uses 'N' to pair each
15050
 
  # line-number line with the line containing $LINENO, and appends
15051
 
  # trailing '-' during substitution so that $LINENO is not a special
15052
 
  # case at line end.
15053
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
15054
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
15055
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
15056
 
  sed -n '
15057
 
    p
15058
 
    /[$]LINENO/=
15059
 
  ' <$as_myself |
15060
 
    sed '
15061
 
      s/[$]LINENO.*/&-/
15062
 
      t lineno
15063
 
      b
15064
 
      :lineno
15065
 
      N
15066
 
      :loop
15067
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
15068
 
      t loop
15069
 
      s/-\n.*//
15070
 
    ' >$as_me.lineno &&
15071
 
  chmod +x "$as_me.lineno" ||
15072
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
15073
 
   { (exit 1); exit 1; }; }
15074
 
 
15075
 
  # Don't try to exec as it changes $[0], causing all sort of problems
15076
 
  # (the dirname of $[0] is not the place where we might find the
15077
 
  # original and so on.  Autoconf is especially sensitive to this).
15078
 
  . "./$as_me.lineno"
15079
 
  # Exit status is that of the last command.
15080
 
  exit
15081
 
}
15082
 
 
15083
 
 
15084
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15085
 
  as_dirname=dirname
15086
 
else
15087
 
  as_dirname=false
15088
 
fi
 
13407
# Avoid depending upon Character Ranges.
 
13408
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
13409
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
13410
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
13411
as_cr_digits='0123456789'
 
13412
as_cr_alnum=$as_cr_Letters$as_cr_digits
15089
13413
 
15090
13414
ECHO_C= ECHO_N= ECHO_T=
15091
 
case `echo -n x` in
 
13415
case `echo -n x` in #(((((
15092
13416
-n*)
15093
 
  case `echo 'x\c'` in
 
13417
  case `echo 'xy\c'` in
15094
13418
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
15095
 
  *)   ECHO_C='\c';;
 
13419
  xy)  ECHO_C='\c';;
 
13420
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
13421
       ECHO_T=' ';;
15096
13422
  esac;;
15097
13423
*)
15098
13424
  ECHO_N='-n';;
15099
13425
esac
15100
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
15101
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
15102
 
  as_expr=expr
15103
 
else
15104
 
  as_expr=false
15105
 
fi
15106
13426
 
15107
13427
rm -f conf$$ conf$$.exe conf$$.file
15108
13428
if test -d conf$$.dir; then
15131
13451
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15132
13452
rmdir conf$$.dir 2>/dev/null
15133
13453
 
 
13454
 
 
13455
# as_fn_mkdir_p
 
13456
# -------------
 
13457
# Create "$as_dir" as a directory, including parents if necessary.
 
13458
as_fn_mkdir_p ()
 
13459
{
 
13460
 
 
13461
  case $as_dir in #(
 
13462
  -*) as_dir=./$as_dir;;
 
13463
  esac
 
13464
  test -d "$as_dir" || eval $as_mkdir_p || {
 
13465
    as_dirs=
 
13466
    while :; do
 
13467
      case $as_dir in #(
 
13468
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
13469
      *) as_qdir=$as_dir;;
 
13470
      esac
 
13471
      as_dirs="'$as_qdir' $as_dirs"
 
13472
      as_dir=`$as_dirname -- "$as_dir" ||
 
13473
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
13474
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
13475
         X"$as_dir" : 'X\(//\)$' \| \
 
13476
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
13477
$as_echo X"$as_dir" |
 
13478
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
13479
            s//\1/
 
13480
            q
 
13481
          }
 
13482
          /^X\(\/\/\)[^/].*/{
 
13483
            s//\1/
 
13484
            q
 
13485
          }
 
13486
          /^X\(\/\/\)$/{
 
13487
            s//\1/
 
13488
            q
 
13489
          }
 
13490
          /^X\(\/\).*/{
 
13491
            s//\1/
 
13492
            q
 
13493
          }
 
13494
          s/.*/./; q'`
 
13495
      test -d "$as_dir" && break
 
13496
    done
 
13497
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
13498
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
13499
 
 
13500
 
 
13501
} # as_fn_mkdir_p
15134
13502
if mkdir -p . 2>/dev/null; then
15135
 
  as_mkdir_p=:
 
13503
  as_mkdir_p='mkdir -p "$as_dir"'
15136
13504
else
15137
13505
  test -d ./-p && rmdir ./-p
15138
13506
  as_mkdir_p=false
15151
13519
      if test -d "$1"; then
15152
13520
        test -d "$1/.";
15153
13521
      else
15154
 
        case $1 in
 
13522
        case $1 in #(
15155
13523
        -*)set "./$1";;
15156
13524
        esac;
15157
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
13525
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15158
13526
        ???[sx]*):;;*)false;;esac;fi
15159
13527
    '\'' sh
15160
13528
  '
15169
13537
 
15170
13538
 
15171
13539
exec 6>&1
 
13540
## ----------------------------------- ##
 
13541
## Main body of $CONFIG_STATUS script. ##
 
13542
## ----------------------------------- ##
 
13543
_ASEOF
 
13544
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15172
13545
 
15173
 
# Save the log message, to keep $[0] and so on meaningful, and to
 
13546
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
13547
# Save the log message, to keep $0 and so on meaningful, and to
15174
13548
# report actual input values of CONFIG_FILES etc. instead of their
15175
13549
# values after options handling.
15176
13550
ac_log="
15177
 
This file was extended by dbus-glib $as_me 0.86, which was
15178
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
13551
This file was extended by dbus-glib $as_me 0.88, which was
 
13552
generated by GNU Autoconf 2.66.  Invocation command line was
15179
13553
 
15180
13554
  CONFIG_FILES    = $CONFIG_FILES
15181
13555
  CONFIG_HEADERS  = $CONFIG_HEADERS
15207
13581
 
15208
13582
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15209
13583
ac_cs_usage="\
15210
 
\`$as_me' instantiates files from templates according to the
15211
 
current configuration.
 
13584
\`$as_me' instantiates files and other configuration actions
 
13585
from templates according to the current configuration.  Unless the files
 
13586
and actions are specified as TAGs, all are instantiated by default.
15212
13587
 
15213
 
Usage: $0 [OPTION]... [FILE]...
 
13588
Usage: $0 [OPTION]... [TAG]...
15214
13589
 
15215
13590
  -h, --help       print this help, then exit
15216
13591
  -V, --version    print version number and configuration settings, then exit
 
13592
      --config     print configuration, then exit
15217
13593
  -q, --quiet, --silent
15218
13594
                   do not print progress messages
15219
13595
  -d, --debug      don't remove temporary files
15232
13608
Configuration commands:
15233
13609
$config_commands
15234
13610
 
15235
 
Report bugs to <bug-autoconf@gnu.org>."
 
13611
Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=dbus>."
15236
13612
 
15237
13613
_ACEOF
15238
13614
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
13615
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15239
13616
ac_cs_version="\\
15240
 
dbus-glib config.status 0.86
15241
 
configured by $0, generated by GNU Autoconf 2.63,
15242
 
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
13617
dbus-glib config.status 0.88
 
13618
configured by $0, generated by GNU Autoconf 2.66,
 
13619
  with options \\"\$ac_cs_config\\"
15243
13620
 
15244
 
Copyright (C) 2008 Free Software Foundation, Inc.
 
13621
Copyright (C) 2010 Free Software Foundation, Inc.
15245
13622
This config.status script is free software; the Free Software Foundation
15246
13623
gives unlimited permission to copy, distribute and modify it."
15247
13624
 
15277
13654
    ac_cs_recheck=: ;;
15278
13655
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15279
13656
    $as_echo "$ac_cs_version"; exit ;;
 
13657
  --config | --confi | --conf | --con | --co | --c )
 
13658
    $as_echo "$ac_cs_config"; exit ;;
15280
13659
  --debug | --debu | --deb | --de | --d | -d )
15281
13660
    debug=: ;;
15282
13661
  --file | --fil | --fi | --f )
15284
13663
    case $ac_optarg in
15285
13664
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15286
13665
    esac
15287
 
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
 
13666
    as_fn_append CONFIG_FILES " '$ac_optarg'"
15288
13667
    ac_need_defaults=false;;
15289
13668
  --header | --heade | --head | --hea )
15290
13669
    $ac_shift
15291
13670
    case $ac_optarg in
15292
13671
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15293
13672
    esac
15294
 
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
 
13673
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15295
13674
    ac_need_defaults=false;;
15296
13675
  --he | --h)
15297
13676
    # Conflict between --help and --header
15298
 
    { $as_echo "$as_me: error: ambiguous option: $1
15299
 
Try \`$0 --help' for more information." >&2
15300
 
   { (exit 1); exit 1; }; };;
 
13677
    as_fn_error $? "ambiguous option: \`$1'
 
13678
Try \`$0 --help' for more information.";;
15301
13679
  --help | --hel | -h )
15302
13680
    $as_echo "$ac_cs_usage"; exit ;;
15303
13681
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15305
13683
    ac_cs_silent=: ;;
15306
13684
 
15307
13685
  # This is an error.
15308
 
  -*) { $as_echo "$as_me: error: unrecognized option: $1
15309
 
Try \`$0 --help' for more information." >&2
15310
 
   { (exit 1); exit 1; }; } ;;
 
13686
  -*) as_fn_error $? "unrecognized option: \`$1'
 
13687
Try \`$0 --help' for more information." ;;
15311
13688
 
15312
 
  *) ac_config_targets="$ac_config_targets $1"
 
13689
  *) as_fn_append ac_config_targets " $1"
15313
13690
     ac_need_defaults=false ;;
15314
13691
 
15315
13692
  esac
15360
13737
sed_quote_subst='$sed_quote_subst'
15361
13738
double_quote_subst='$double_quote_subst'
15362
13739
delay_variable_subst='$delay_variable_subst'
15363
 
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
15364
 
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
15365
 
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
15366
 
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
15367
 
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
15368
 
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
15369
 
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
15370
 
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
15371
 
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
15372
 
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
15373
 
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
15374
 
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
15375
 
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
15376
 
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
15377
 
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
15378
 
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
15379
 
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
15380
 
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
15381
 
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
15382
 
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
15383
 
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
15384
 
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
15385
 
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
15386
 
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
15387
 
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
15388
 
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
15389
 
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
15390
 
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15391
 
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
15392
 
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
15393
 
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
15394
 
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
15395
 
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15396
 
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
15397
 
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
15398
 
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15399
 
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15400
 
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15401
 
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
15402
 
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15403
 
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
15404
 
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
15405
 
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
15406
 
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
15407
 
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
15408
 
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15409
 
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
15410
 
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
15411
 
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
15412
 
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
15413
 
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
15414
 
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
15415
 
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
15416
 
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
15417
 
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
15418
 
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
15419
 
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
15420
 
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
15421
 
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
15422
 
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
15423
 
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
15424
 
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
15425
 
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15426
 
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15427
 
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
15428
 
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
15429
 
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15430
 
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15431
 
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
15432
 
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15433
 
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15434
 
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15435
 
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15436
 
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15437
 
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15438
 
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
15439
 
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15440
 
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15441
 
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15442
 
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
15443
 
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
15444
 
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
15445
 
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
15446
 
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
15447
 
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15448
 
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
15449
 
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
15450
 
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
15451
 
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
15452
 
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
15453
 
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15454
 
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15455
 
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15456
 
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15457
 
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
15458
 
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
15459
 
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15460
 
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
15461
 
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
15462
 
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15463
 
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15464
 
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
15465
 
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15466
 
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
15467
 
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15468
 
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15469
 
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15470
 
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15471
 
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
15472
 
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
15473
 
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15474
 
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15475
 
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
15476
 
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
15477
 
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
15478
 
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
15479
 
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
15480
 
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
13740
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
 
13741
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
 
13742
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
 
13743
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
 
13744
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
 
13745
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
 
13746
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
 
13747
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
 
13748
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
 
13749
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
 
13750
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
 
13751
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
 
13752
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
 
13753
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
 
13754
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
 
13755
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
 
13756
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
 
13757
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
 
13758
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
 
13759
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
 
13760
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
 
13761
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
 
13762
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
 
13763
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
 
13764
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
 
13765
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
 
13766
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
 
13767
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
 
13768
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
 
13769
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
 
13770
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
 
13771
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
 
13772
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
 
13773
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
 
13774
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
 
13775
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
 
13776
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
 
13777
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
13778
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
13779
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
 
13780
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
 
13781
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
 
13782
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
 
13783
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
 
13784
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
 
13785
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
 
13786
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
 
13787
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
 
13788
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
13789
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
 
13790
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
 
13791
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
 
13792
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
 
13793
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
 
13794
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
 
13795
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
 
13796
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
 
13797
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
 
13798
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
 
13799
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
 
13800
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
 
13801
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
 
13802
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
 
13803
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
 
13804
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
13805
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
 
13806
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
 
13807
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
 
13808
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
 
13809
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
 
13810
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
 
13811
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
13812
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
 
13813
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
13814
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
 
13815
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
13816
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
 
13817
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
13818
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
13819
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
 
13820
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
 
13821
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
 
13822
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
 
13823
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
 
13824
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
 
13825
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
13826
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
 
13827
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
 
13828
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
 
13829
fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
 
13830
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
 
13831
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
 
13832
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
 
13833
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
 
13834
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
 
13835
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
 
13836
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
 
13837
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
13838
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
 
13839
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
 
13840
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
 
13841
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
13842
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
 
13843
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
 
13844
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
 
13845
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
 
13846
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
 
13847
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
13848
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
13849
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
 
13850
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
 
13851
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
 
13852
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
 
13853
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
 
13854
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
 
13855
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
 
13856
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
 
13857
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
 
13858
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
 
13859
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15481
13860
 
15482
13861
LTCC='$LTCC'
15483
13862
LTCFLAGS='$LTCFLAGS'
15484
13863
compiler='$compiler_DEFAULT'
15485
13864
 
 
13865
# A function that is used when there is no print builtin or printf.
 
13866
func_fallback_echo ()
 
13867
{
 
13868
  eval 'cat <<_LTECHO_EOF
 
13869
\$1
 
13870
_LTECHO_EOF'
 
13871
}
 
13872
 
15486
13873
# Quote evaled strings.
15487
 
for var in SED \
 
13874
for var in SHELL \
 
13875
ECHO \
 
13876
SED \
15488
13877
GREP \
15489
13878
EGREP \
15490
13879
FGREP \
15508
13897
lt_cv_sys_global_symbol_to_cdecl \
15509
13898
lt_cv_sys_global_symbol_to_c_name_address \
15510
13899
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15511
 
SHELL \
15512
 
ECHO \
15513
13900
lt_prog_compiler_no_builtin_flag \
15514
13901
lt_prog_compiler_wl \
15515
13902
lt_prog_compiler_pic \
15539
13926
libname_spec \
15540
13927
library_names_spec \
15541
13928
soname_spec \
 
13929
install_override_mode \
15542
13930
finish_eval \
15543
13931
old_striplib \
15544
13932
striplib; do
15545
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
13933
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15546
13934
    *[\\\\\\\`\\"\\\$]*)
15547
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
13935
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15548
13936
      ;;
15549
13937
    *)
15550
13938
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15571
13959
finish_cmds \
15572
13960
sys_lib_search_path_spec \
15573
13961
sys_lib_dlsearch_path_spec; do
15574
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
13962
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15575
13963
    *[\\\\\\\`\\"\\\$]*)
15576
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
13964
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15577
13965
      ;;
15578
13966
    *)
15579
13967
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15581
13969
    esac
15582
13970
done
15583
13971
 
15584
 
# Fix-up fallback echo if it was mangled by the above quoting rules.
15585
 
case \$lt_ECHO in
15586
 
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
15587
 
  ;;
15588
 
esac
15589
 
 
15590
13972
ac_aux_dir='$ac_aux_dir'
15591
13973
xsi_shell='$xsi_shell'
15592
13974
lt_shell_append='$lt_shell_append'
15639
14021
    "dbus-glib-1-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES dbus-glib-1-uninstalled.pc" ;;
15640
14022
    "Doxyfile") CONFIG_FILES="$CONFIG_FILES Doxyfile" ;;
15641
14023
 
15642
 
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
15643
 
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
15644
 
   { (exit 1); exit 1; }; };;
 
14024
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15645
14025
  esac
15646
14026
done
15647
14027
 
15668
14048
  trap 'exit_status=$?
15669
14049
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15670
14050
' 0
15671
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
14051
  trap 'as_fn_exit 1' 1 2 13 15
15672
14052
}
15673
14053
# Create a (secure) tmp directory for tmp files.
15674
14054
 
15679
14059
{
15680
14060
  tmp=./conf$$-$RANDOM
15681
14061
  (umask 077 && mkdir "$tmp")
15682
 
} ||
15683
 
{
15684
 
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
15685
 
   { (exit 1); exit 1; }
15686
 
}
 
14062
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15687
14063
 
15688
14064
# Set up the scripts for CONFIG_FILES section.
15689
14065
# No need to generate them if there are no CONFIG_FILES.
15691
14067
if test -n "$CONFIG_FILES"; then
15692
14068
 
15693
14069
 
15694
 
ac_cr='
 
 
b"'"
 
14070
ac_cr=`echo X | tr X '\015'`
 
14071
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
14072
# But we know of no other shell where ac_cr would be empty at this
 
14073
# point, so we can use a bashism as a fallback.
 
14074
if test "x$ac_cr" = x; then
 
14075
  eval ac_cr=\$\'\\r\'
 
14076
fi
15695
14077
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15696
14078
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15697
14079
  ac_cs_awk_cr='\\r'
15708
14090
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15709
14091
  echo "_ACEOF"
15710
14092
} >conf$$subs.sh ||
15711
 
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
15712
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
15713
 
   { (exit 1); exit 1; }; }
15714
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
14093
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
14094
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15715
14095
ac_delim='%!_!# '
15716
14096
for ac_last_try in false false false false false :; do
15717
14097
  . ./conf$$subs.sh ||
15718
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
15719
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
15720
 
   { (exit 1); exit 1; }; }
 
14098
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15721
14099
 
15722
14100
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15723
14101
  if test $ac_delim_n = $ac_delim_num; then
15724
14102
    break
15725
14103
  elif $ac_last_try; then
15726
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
15727
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
15728
 
   { (exit 1); exit 1; }; }
 
14104
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15729
14105
  else
15730
14106
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15731
14107
  fi
15747
14123
t delim
15748
14124
:nl
15749
14125
h
15750
 
s/\(.\{148\}\).*/\1/
 
14126
s/\(.\{148\}\)..*/\1/
15751
14127
t more1
15752
14128
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15753
14129
p
15761
14137
t nl
15762
14138
:delim
15763
14139
h
15764
 
s/\(.\{148\}\).*/\1/
 
14140
s/\(.\{148\}\)..*/\1/
15765
14141
t more2
15766
14142
s/["\\]/\\&/g; s/^/"/; s/$/"/
15767
14143
p
15814
14190
else
15815
14191
  cat
15816
14192
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
15817
 
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
15818
 
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
15819
 
   { (exit 1); exit 1; }; }
 
14193
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15820
14194
_ACEOF
15821
14195
 
15822
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
15823
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
14196
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 
14197
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15824
14198
# trailing colons and then remove the whole line if VPATH becomes empty
15825
14199
# (actually we leave an empty line to preserve line numbers).
15826
14200
if test "x$srcdir" = x.; then
15827
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
15828
 
s/:*\$(srcdir):*/:/
15829
 
s/:*\${srcdir}:*/:/
15830
 
s/:*@srcdir@:*/:/
15831
 
s/^\([^=]*=[     ]*\):*/\1/
 
14201
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 
14202
h
 
14203
s///
 
14204
s/^/:/
 
14205
s/[      ]*$/:/
 
14206
s/:\$(srcdir):/:/g
 
14207
s/:\${srcdir}:/:/g
 
14208
s/:@srcdir@:/:/g
 
14209
s/^:*//
15832
14210
s/:*$//
 
14211
x
 
14212
s/\(=[   ]*\).*/\1/
 
14213
G
 
14214
s/\n//
15833
14215
s/^[^=]*=[       ]*$//
15834
14216
}'
15835
14217
fi
15857
14239
  if test -z "$ac_t"; then
15858
14240
    break
15859
14241
  elif $ac_last_try; then
15860
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
15861
 
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
15862
 
   { (exit 1); exit 1; }; }
 
14242
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15863
14243
  else
15864
14244
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15865
14245
  fi
15944
14324
_ACAWK
15945
14325
_ACEOF
15946
14326
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15947
 
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
15948
 
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
15949
 
   { (exit 1); exit 1; }; }
 
14327
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15950
14328
fi # test -n "$CONFIG_HEADERS"
15951
14329
 
15952
14330
 
15959
14337
  esac
15960
14338
  case $ac_mode$ac_tag in
15961
14339
  :[FHL]*:*);;
15962
 
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
15963
 
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
15964
 
   { (exit 1); exit 1; }; };;
 
14340
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15965
14341
  :[FH]-) ac_tag=-:-;;
15966
14342
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15967
14343
  esac
15989
14365
           [\\/$]*) false;;
15990
14366
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15991
14367
           esac ||
15992
 
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
15993
 
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
15994
 
   { (exit 1); exit 1; }; };;
 
14368
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15995
14369
      esac
15996
14370
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15997
 
      ac_file_inputs="$ac_file_inputs '$ac_f'"
 
14371
      as_fn_append ac_file_inputs " '$ac_f'"
15998
14372
    done
15999
14373
 
16000
14374
    # Let's still pretend it is `configure' which instantiates (i.e., don't
16005
14379
        `' by configure.'
16006
14380
    if test x"$ac_file" != x-; then
16007
14381
      configure_input="$ac_file.  $configure_input"
16008
 
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
14382
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16009
14383
$as_echo "$as_me: creating $ac_file" >&6;}
16010
14384
    fi
16011
14385
    # Neutralize special characters interpreted by sed in replacement strings.
16018
14392
 
16019
14393
    case $ac_tag in
16020
14394
    *:-:* | *:-) cat >"$tmp/stdin" \
16021
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16022
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
16023
 
   { (exit 1); exit 1; }; } ;;
 
14395
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16024
14396
    esac
16025
14397
    ;;
16026
14398
  esac
16048
14420
            q
16049
14421
          }
16050
14422
          s/.*/./; q'`
16051
 
  { as_dir="$ac_dir"
16052
 
  case $as_dir in #(
16053
 
  -*) as_dir=./$as_dir;;
16054
 
  esac
16055
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
16056
 
    as_dirs=
16057
 
    while :; do
16058
 
      case $as_dir in #(
16059
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16060
 
      *) as_qdir=$as_dir;;
16061
 
      esac
16062
 
      as_dirs="'$as_qdir' $as_dirs"
16063
 
      as_dir=`$as_dirname -- "$as_dir" ||
16064
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16065
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
16066
 
         X"$as_dir" : 'X\(//\)$' \| \
16067
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16068
 
$as_echo X"$as_dir" |
16069
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16070
 
            s//\1/
16071
 
            q
16072
 
          }
16073
 
          /^X\(\/\/\)[^/].*/{
16074
 
            s//\1/
16075
 
            q
16076
 
          }
16077
 
          /^X\(\/\/\)$/{
16078
 
            s//\1/
16079
 
            q
16080
 
          }
16081
 
          /^X\(\/\).*/{
16082
 
            s//\1/
16083
 
            q
16084
 
          }
16085
 
          s/.*/./; q'`
16086
 
      test -d "$as_dir" && break
16087
 
    done
16088
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
16089
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
16090
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
16091
 
   { (exit 1); exit 1; }; }; }
 
14423
  as_dir="$ac_dir"; as_fn_mkdir_p
16092
14424
  ac_builddir=.
16093
14425
 
16094
14426
case "$ac_dir" in
16145
14477
# If the template does not know about datarootdir, expand it.
16146
14478
# FIXME: This hack should be removed a few years after 2.60.
16147
14479
ac_datarootdir_hack=; ac_datarootdir_seen=
16148
 
 
16149
14480
ac_sed_dataroot='
16150
14481
/datarootdir/ {
16151
14482
  p
16155
14486
/@docdir@/p
16156
14487
/@infodir@/p
16157
14488
/@localedir@/p
16158
 
/@mandir@/p
16159
 
'
 
14489
/@mandir@/p'
16160
14490
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16161
14491
*datarootdir*) ac_datarootdir_seen=yes;;
16162
14492
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16163
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
14493
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16164
14494
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16165
14495
_ACEOF
16166
14496
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16170
14500
  s&@infodir@&$infodir&g
16171
14501
  s&@localedir@&$localedir&g
16172
14502
  s&@mandir@&$mandir&g
16173
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
14503
  s&\\\${datarootdir}&$datarootdir&g' ;;
16174
14504
esac
16175
14505
_ACEOF
16176
14506
 
16199
14529
$ac_datarootdir_hack
16200
14530
"
16201
14531
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
16202
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16203
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
16204
 
   { (exit 1); exit 1; }; }
 
14532
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16205
14533
 
16206
14534
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16207
14535
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
16208
14536
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
16209
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16210
 
which seems to be undefined.  Please make sure it is defined." >&5
 
14537
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
14538
which seems to be undefined.  Please make sure it is defined" >&5
16211
14539
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16212
 
which seems to be undefined.  Please make sure it is defined." >&2;}
 
14540
which seems to be undefined.  Please make sure it is defined" >&2;}
16213
14541
 
16214
14542
  rm -f "$tmp/stdin"
16215
14543
  case $ac_file in
16216
14544
  -) cat "$tmp/out" && rm -f "$tmp/out";;
16217
14545
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16218
14546
  esac \
16219
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16220
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
16221
 
   { (exit 1); exit 1; }; }
 
14547
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16222
14548
 ;;
16223
14549
  :H)
16224
14550
  #
16229
14555
      $as_echo "/* $configure_input  */" \
16230
14556
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16231
14557
    } >"$tmp/config.h" \
16232
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16233
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
16234
 
   { (exit 1); exit 1; }; }
 
14558
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16235
14559
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16236
 
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
14560
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16237
14561
$as_echo "$as_me: $ac_file is unchanged" >&6;}
16238
14562
    else
16239
14563
      rm -f "$ac_file"
16240
14564
      mv "$tmp/config.h" "$ac_file" \
16241
 
        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16242
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
16243
 
   { (exit 1); exit 1; }; }
 
14565
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16244
14566
    fi
16245
14567
  else
16246
14568
    $as_echo "/* $configure_input  */" \
16247
14569
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16248
 
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
16249
 
$as_echo "$as_me: error: could not create -" >&2;}
16250
 
   { (exit 1); exit 1; }; }
 
14570
      || as_fn_error $? "could not create -" "$LINENO" 5
16251
14571
  fi
16252
14572
# Compute "$ac_file"'s index in $config_headers.
16253
14573
_am_arg="$ac_file"
16285
14605
          s/.*/./; q'`/stamp-h$_am_stamp_count
16286
14606
 ;;
16287
14607
 
16288
 
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
14608
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16289
14609
$as_echo "$as_me: executing $ac_file commands" >&6;}
16290
14610
 ;;
16291
14611
  esac
16380
14700
            q
16381
14701
          }
16382
14702
          s/.*/./; q'`
16383
 
      { as_dir=$dirpart/$fdir
16384
 
  case $as_dir in #(
16385
 
  -*) as_dir=./$as_dir;;
16386
 
  esac
16387
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
16388
 
    as_dirs=
16389
 
    while :; do
16390
 
      case $as_dir in #(
16391
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16392
 
      *) as_qdir=$as_dir;;
16393
 
      esac
16394
 
      as_dirs="'$as_qdir' $as_dirs"
16395
 
      as_dir=`$as_dirname -- "$as_dir" ||
16396
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16397
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
16398
 
         X"$as_dir" : 'X\(//\)$' \| \
16399
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16400
 
$as_echo X"$as_dir" |
16401
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16402
 
            s//\1/
16403
 
            q
16404
 
          }
16405
 
          /^X\(\/\/\)[^/].*/{
16406
 
            s//\1/
16407
 
            q
16408
 
          }
16409
 
          /^X\(\/\/\)$/{
16410
 
            s//\1/
16411
 
            q
16412
 
          }
16413
 
          /^X\(\/\).*/{
16414
 
            s//\1/
16415
 
            q
16416
 
          }
16417
 
          s/.*/./; q'`
16418
 
      test -d "$as_dir" && break
16419
 
    done
16420
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
16421
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
16422
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
16423
 
   { (exit 1); exit 1; }; }; }
 
14703
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
16424
14704
      # echo "creating $dirpart/$file"
16425
14705
      echo '# dummy' > "$dirpart/$file"
16426
14706
    done
16448
14728
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
16449
14729
#
16450
14730
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16451
 
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
14731
#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
 
14732
#                 Inc.
16452
14733
#   Written by Gordon Matzigkeit, 1996
16453
14734
#
16454
14735
#   This file is part of GNU Libtool.
16496
14777
# Whether or not to optimize for fast installation.
16497
14778
fast_install=$enable_fast_install
16498
14779
 
 
14780
# Shell to use when invoking shell scripts.
 
14781
SHELL=$lt_SHELL
 
14782
 
 
14783
# An echo program that protects backslashes.
 
14784
ECHO=$lt_ECHO
 
14785
 
16499
14786
# The host system.
16500
14787
host_alias=$host_alias
16501
14788
host=$host
16545
14832
# turn newlines into spaces.
16546
14833
NL2SP=$lt_lt_NL2SP
16547
14834
 
16548
 
# How to create reloadable object files.
16549
 
reload_flag=$lt_reload_flag
16550
 
reload_cmds=$lt_reload_cmds
16551
 
 
16552
14835
# An object symbol dumper.
16553
14836
OBJDUMP=$lt_OBJDUMP
16554
14837
 
16570
14853
old_postinstall_cmds=$lt_old_postinstall_cmds
16571
14854
old_postuninstall_cmds=$lt_old_postuninstall_cmds
16572
14855
 
 
14856
# Whether to use a lock for old archive extraction.
 
14857
lock_old_archive_extraction=$lock_old_archive_extraction
 
14858
 
16573
14859
# A C compiler.
16574
14860
LTCC=$lt_CC
16575
14861
 
16591
14877
# The name of the directory that contains temporary libtool files.
16592
14878
objdir=$objdir
16593
14879
 
16594
 
# Shell to use when invoking shell scripts.
16595
 
SHELL=$lt_SHELL
16596
 
 
16597
 
# An echo program that does not interpret backslashes.
16598
 
ECHO=$lt_ECHO
16599
 
 
16600
14880
# Used to examine libraries when file_magic_cmd begins with "file".
16601
14881
MAGIC_CMD=$MAGIC_CMD
16602
14882
 
16659
14939
# The coded name of the library, if different from the real name.
16660
14940
soname_spec=$lt_soname_spec
16661
14941
 
 
14942
# Permission mode override for installation of shared libraries.
 
14943
install_override_mode=$lt_install_override_mode
 
14944
 
16662
14945
# Command to use after installation of a shared archive.
16663
14946
postinstall_cmds=$lt_postinstall_cmds
16664
14947
 
16698
14981
# The linker used to build libraries.
16699
14982
LD=$lt_LD
16700
14983
 
 
14984
# How to create reloadable object files.
 
14985
reload_flag=$lt_reload_flag
 
14986
reload_cmds=$lt_reload_cmds
 
14987
 
16701
14988
# Commands used to build an old-style archive.
16702
14989
old_archive_cmds=$lt_old_archive_cmds
16703
14990
 
16957
15244
func_dirname ()
16958
15245
{
16959
15246
  # Extract subdirectory from the argument.
16960
 
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
 
15247
  func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
16961
15248
  if test "X$func_dirname_result" = "X${1}"; then
16962
15249
    func_dirname_result="${3}"
16963
15250
  else
16968
15255
# func_basename file
16969
15256
func_basename ()
16970
15257
{
16971
 
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
 
15258
  func_basename_result=`$ECHO "${1}" | $SED "$basename"`
16972
15259
}
16973
15260
 
16974
15261
 
16981
15268
func_stripname ()
16982
15269
{
16983
15270
  case ${2} in
16984
 
    .*) func_stripname_result=`$ECHO "X${3}" \
16985
 
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
16986
 
    *)  func_stripname_result=`$ECHO "X${3}" \
16987
 
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
 
15271
    .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
 
15272
    *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
16988
15273
  esac
16989
15274
}
16990
15275
 
16995
15280
# func_opt_split
16996
15281
func_opt_split ()
16997
15282
{
16998
 
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
16999
 
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
 
15283
  func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
 
15284
  func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
17000
15285
}
17001
15286
 
17002
15287
# func_lo2o object
17003
15288
func_lo2o ()
17004
15289
{
17005
 
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
 
15290
  func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
17006
15291
}
17007
15292
 
17008
15293
# func_xform libobj-or-source
17009
15294
func_xform ()
17010
15295
{
17011
 
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
 
15296
  func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
17012
15297
}
17013
15298
 
17014
15299
# func_arith arithmetic-term...
17070
15355
done # for ac_tag
17071
15356
 
17072
15357
 
17073
 
{ (exit 0); exit 0; }
 
15358
as_fn_exit 0
17074
15359
_ACEOF
17075
 
chmod +x $CONFIG_STATUS
17076
15360
ac_clean_files=$ac_clean_files_save
17077
15361
 
17078
15362
test $ac_write_fail = 0 ||
17079
 
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
17080
 
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
17081
 
   { (exit 1); exit 1; }; }
 
15363
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17082
15364
 
17083
15365
 
17084
15366
# configure is writing to config.log, and then calls config.status.
17099
15381
  exec 5>>config.log
17100
15382
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17101
15383
  # would make configure fail if this is the last instruction.
17102
 
  $ac_cs_success || { (exit 1); exit 1; }
 
15384
  $ac_cs_success || as_fn_exit 1
17103
15385
fi
17104
15386
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17105
 
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
15387
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17106
15388
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17107
15389
fi
17108
15390