~ubuntu-branches/ubuntu/trusty/rhythmbox/trusty-updates

« back to all changes in this revision

Viewing changes to .pc/99_ppc64el_support.patch/configure

  • Committer: Package Import Robot
  • Author(s): Adam Conrad
  • Date: 2013-12-30 22:25:02 UTC
  • Revision ID: package-import@ubuntu.com-20131230222502-8gbg2ld6rljufmyw
Tags: 3.0.1-1ubuntu8
99_ppc64el_support.patch: patch libtool.m4 and configure for ppc64el

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh
 
2
# Guess values for system-dependent variables and create Makefiles.
 
3
# Generated by GNU Autoconf 2.69 for rhythmbox 3.0.1.
 
4
#
 
5
# Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=rhythmbox>.
 
6
#
 
7
#
 
8
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
 
9
#
 
10
#
 
11
# This configure script is free software; the Free Software Foundation
 
12
# gives unlimited permission to copy, distribute and modify it.
 
13
## -------------------- ##
 
14
## M4sh Initialization. ##
 
15
## -------------------- ##
 
16
 
 
17
# Be more Bourne compatible
 
18
DUALCASE=1; export DUALCASE # for MKS sh
 
19
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 
20
  emulate sh
 
21
  NULLCMD=:
 
22
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
23
  # is contrary to our usage.  Disable this feature.
 
24
  alias -g '${1+"$@"}'='"$@"'
 
25
  setopt NO_GLOB_SUBST
 
26
else
 
27
  case `(set -o) 2>/dev/null` in #(
 
28
  *posix*) :
 
29
    set -o posix ;; #(
 
30
  *) :
 
31
     ;;
 
32
esac
 
33
fi
 
34
 
 
35
 
 
36
as_nl='
 
37
'
 
38
export as_nl
 
39
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
40
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
41
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
42
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
43
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
44
# but without wasting forks for bash or zsh.
 
45
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
46
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
47
  as_echo='print -r --'
 
48
  as_echo_n='print -rn --'
 
49
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
50
  as_echo='printf %s\n'
 
51
  as_echo_n='printf %s'
 
52
else
 
53
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
54
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
55
    as_echo_n='/usr/ucb/echo -n'
 
56
  else
 
57
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
58
    as_echo_n_body='eval
 
59
      arg=$1;
 
60
      case $arg in #(
 
61
      *"$as_nl"*)
 
62
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
63
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
64
      esac;
 
65
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
66
    '
 
67
    export as_echo_n_body
 
68
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
69
  fi
 
70
  export as_echo_body
 
71
  as_echo='sh -c $as_echo_body as_echo'
 
72
fi
 
73
 
 
74
# The user is always right.
 
75
if test "${PATH_SEPARATOR+set}" != set; then
 
76
  PATH_SEPARATOR=:
 
77
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
78
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
79
      PATH_SEPARATOR=';'
 
80
  }
 
81
fi
 
82
 
 
83
 
 
84
# IFS
 
85
# We need space, tab and new line, in precisely that order.  Quoting is
 
86
# there to prevent editors from complaining about space-tab.
 
87
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
88
# splitting by setting IFS to empty value.)
 
89
IFS=" ""        $as_nl"
 
90
 
 
91
# Find who we are.  Look in the path if we contain no directory separator.
 
92
as_myself=
 
93
case $0 in #((
 
94
  *[\\/]* ) as_myself=$0 ;;
 
95
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
96
for as_dir in $PATH
 
97
do
 
98
  IFS=$as_save_IFS
 
99
  test -z "$as_dir" && as_dir=.
 
100
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
101
  done
 
102
IFS=$as_save_IFS
 
103
 
 
104
     ;;
 
105
esac
 
106
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
107
# in which case we are not to be found in the path.
 
108
if test "x$as_myself" = x; then
 
109
  as_myself=$0
 
110
fi
 
111
if test ! -f "$as_myself"; then
 
112
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
113
  exit 1
 
114
fi
 
115
 
 
116
# Unset variables that we do not need and which cause bugs (e.g. in
 
117
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
118
# suppresses any "Segmentation fault" message there.  '((' could
 
119
# trigger a bug in pdksh 5.2.14.
 
120
for as_var in BASH_ENV ENV MAIL MAILPATH
 
121
do eval test x\${$as_var+set} = xset \
 
122
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 
123
done
 
124
PS1='$ '
 
125
PS2='> '
 
126
PS4='+ '
 
127
 
 
128
# NLS nuisances.
 
129
LC_ALL=C
 
130
export LC_ALL
 
131
LANGUAGE=C
 
132
export LANGUAGE
 
133
 
 
134
# CDPATH.
 
135
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
136
 
 
137
# Use a proper internal environment variable to ensure we don't fall
 
138
  # into an infinite loop, continuously re-executing ourselves.
 
139
  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
 
140
    _as_can_reexec=no; export _as_can_reexec;
 
141
    # We cannot yet assume a decent shell, so we have to provide a
 
142
# neutralization value for shells without unset; and this also
 
143
# works around shells that cannot unset nonexistent variables.
 
144
# Preserve -v and -x to the replacement shell.
 
145
BASH_ENV=/dev/null
 
146
ENV=/dev/null
 
147
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
148
case $- in # ((((
 
149
  *v*x* | *x*v* ) as_opts=-vx ;;
 
150
  *v* ) as_opts=-v ;;
 
151
  *x* ) as_opts=-x ;;
 
152
  * ) as_opts= ;;
 
153
esac
 
154
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
 
155
# Admittedly, this is quite paranoid, since all the known shells bail
 
156
# out after a failed `exec'.
 
157
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
 
158
as_fn_exit 255
 
159
  fi
 
160
  # We don't want this to propagate to other subprocesses.
 
161
          { _as_can_reexec=; unset _as_can_reexec;}
 
162
if test "x$CONFIG_SHELL" = x; then
 
163
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
164
  emulate sh
 
165
  NULLCMD=:
 
166
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
167
  # is contrary to our usage.  Disable this feature.
 
168
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
169
  setopt NO_GLOB_SUBST
 
170
else
 
171
  case \`(set -o) 2>/dev/null\` in #(
 
172
  *posix*) :
 
173
    set -o posix ;; #(
 
174
  *) :
 
175
     ;;
 
176
esac
 
177
fi
 
178
"
 
179
  as_required="as_fn_return () { (exit \$1); }
 
180
as_fn_success () { as_fn_return 0; }
 
181
as_fn_failure () { as_fn_return 1; }
 
182
as_fn_ret_success () { return 0; }
 
183
as_fn_ret_failure () { return 1; }
 
184
 
 
185
exitcode=0
 
186
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
187
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
188
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
189
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
190
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
191
 
 
192
else
 
193
  exitcode=1; echo positional parameters were not saved.
 
194
fi
 
195
test x\$exitcode = x0 || exit 1
 
196
test -x / || exit 1"
 
197
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
198
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
199
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
200
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
201
test \$(( 1 + 1 )) = 2 || exit 1
 
202
 
 
203
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
 
204
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
205
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
206
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
207
    PATH=/empty FPATH=/empty; export PATH FPATH
 
208
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
 
209
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
 
210
  if (eval "$as_required") 2>/dev/null; then :
 
211
  as_have_required=yes
 
212
else
 
213
  as_have_required=no
 
214
fi
 
215
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
216
 
 
217
else
 
218
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
219
as_found=false
 
220
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
221
do
 
222
  IFS=$as_save_IFS
 
223
  test -z "$as_dir" && as_dir=.
 
224
  as_found=:
 
225
  case $as_dir in #(
 
226
         /*)
 
227
           for as_base in sh bash ksh sh5; do
 
228
             # Try only shells that exist, to save several forks.
 
229
             as_shell=$as_dir/$as_base
 
230
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
231
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
232
  CONFIG_SHELL=$as_shell as_have_required=yes
 
233
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
234
  break 2
 
235
fi
 
236
fi
 
237
           done;;
 
238
       esac
 
239
  as_found=false
 
240
done
 
241
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
242
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
243
  CONFIG_SHELL=$SHELL as_have_required=yes
 
244
fi; }
 
245
IFS=$as_save_IFS
 
246
 
 
247
 
 
248
      if test "x$CONFIG_SHELL" != x; then :
 
249
  export CONFIG_SHELL
 
250
             # We cannot yet assume a decent shell, so we have to provide a
 
251
# neutralization value for shells without unset; and this also
 
252
# works around shells that cannot unset nonexistent variables.
 
253
# Preserve -v and -x to the replacement shell.
 
254
BASH_ENV=/dev/null
 
255
ENV=/dev/null
 
256
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
257
case $- in # ((((
 
258
  *v*x* | *x*v* ) as_opts=-vx ;;
 
259
  *v* ) as_opts=-v ;;
 
260
  *x* ) as_opts=-x ;;
 
261
  * ) as_opts= ;;
 
262
esac
 
263
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
 
264
# Admittedly, this is quite paranoid, since all the known shells bail
 
265
# out after a failed `exec'.
 
266
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
 
267
exit 255
 
268
fi
 
269
 
 
270
    if test x$as_have_required = xno; then :
 
271
  $as_echo "$0: This script requires a shell more modern than all"
 
272
  $as_echo "$0: the shells that I found on your system."
 
273
  if test x${ZSH_VERSION+set} = xset ; then
 
274
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
275
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 
276
  else
 
277
    $as_echo "$0: Please tell bug-autoconf@gnu.org and
 
278
$0: https://bugzilla.gnome.org/enter_bug.cgi?product=rhythmbox
 
279
$0: about your system, including any error possibly output
 
280
$0: before this message. Then install a modern shell, or
 
281
$0: manually run the script under such a shell if you do
 
282
$0: have one."
 
283
  fi
 
284
  exit 1
 
285
fi
 
286
fi
 
287
fi
 
288
SHELL=${CONFIG_SHELL-/bin/sh}
 
289
export SHELL
 
290
# Unset more variables known to interfere with behavior of common tools.
 
291
CLICOLOR_FORCE= GREP_OPTIONS=
 
292
unset CLICOLOR_FORCE GREP_OPTIONS
 
293
 
 
294
## --------------------- ##
 
295
## M4sh Shell Functions. ##
 
296
## --------------------- ##
 
297
# as_fn_unset VAR
 
298
# ---------------
 
299
# Portably unset VAR.
 
300
as_fn_unset ()
 
301
{
 
302
  { eval $1=; unset $1;}
 
303
}
 
304
as_unset=as_fn_unset
 
305
 
 
306
# as_fn_set_status STATUS
 
307
# -----------------------
 
308
# Set $? to STATUS, without forking.
 
309
as_fn_set_status ()
 
310
{
 
311
  return $1
 
312
} # as_fn_set_status
 
313
 
 
314
# as_fn_exit STATUS
 
315
# -----------------
 
316
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
317
as_fn_exit ()
 
318
{
 
319
  set +e
 
320
  as_fn_set_status $1
 
321
  exit $1
 
322
} # as_fn_exit
 
323
 
 
324
# as_fn_mkdir_p
 
325
# -------------
 
326
# Create "$as_dir" as a directory, including parents if necessary.
 
327
as_fn_mkdir_p ()
 
328
{
 
329
 
 
330
  case $as_dir in #(
 
331
  -*) as_dir=./$as_dir;;
 
332
  esac
 
333
  test -d "$as_dir" || eval $as_mkdir_p || {
 
334
    as_dirs=
 
335
    while :; do
 
336
      case $as_dir in #(
 
337
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
338
      *) as_qdir=$as_dir;;
 
339
      esac
 
340
      as_dirs="'$as_qdir' $as_dirs"
 
341
      as_dir=`$as_dirname -- "$as_dir" ||
 
342
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
343
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
344
         X"$as_dir" : 'X\(//\)$' \| \
 
345
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
346
$as_echo X"$as_dir" |
 
347
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
348
            s//\1/
 
349
            q
 
350
          }
 
351
          /^X\(\/\/\)[^/].*/{
 
352
            s//\1/
 
353
            q
 
354
          }
 
355
          /^X\(\/\/\)$/{
 
356
            s//\1/
 
357
            q
 
358
          }
 
359
          /^X\(\/\).*/{
 
360
            s//\1/
 
361
            q
 
362
          }
 
363
          s/.*/./; q'`
 
364
      test -d "$as_dir" && break
 
365
    done
 
366
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
367
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
368
 
 
369
 
 
370
} # as_fn_mkdir_p
 
371
 
 
372
# as_fn_executable_p FILE
 
373
# -----------------------
 
374
# Test if FILE is an executable regular file.
 
375
as_fn_executable_p ()
 
376
{
 
377
  test -f "$1" && test -x "$1"
 
378
} # as_fn_executable_p
 
379
# as_fn_append VAR VALUE
 
380
# ----------------------
 
381
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
382
# advantage of any shell optimizations that allow amortized linear growth over
 
383
# repeated appends, instead of the typical quadratic growth present in naive
 
384
# implementations.
 
385
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
386
  eval 'as_fn_append ()
 
387
  {
 
388
    eval $1+=\$2
 
389
  }'
 
390
else
 
391
  as_fn_append ()
 
392
  {
 
393
    eval $1=\$$1\$2
 
394
  }
 
395
fi # as_fn_append
 
396
 
 
397
# as_fn_arith ARG...
 
398
# ------------------
 
399
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
400
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
401
# must be portable across $(()) and expr.
 
402
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
403
  eval 'as_fn_arith ()
 
404
  {
 
405
    as_val=$(( $* ))
 
406
  }'
 
407
else
 
408
  as_fn_arith ()
 
409
  {
 
410
    as_val=`expr "$@" || test $? -eq 1`
 
411
  }
 
412
fi # as_fn_arith
 
413
 
 
414
 
 
415
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
416
# ----------------------------------------
 
417
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
418
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
419
# script with STATUS, using 1 if that was 0.
 
420
as_fn_error ()
 
421
{
 
422
  as_status=$1; test $as_status -eq 0 && as_status=1
 
423
  if test "$4"; then
 
424
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
425
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
426
  fi
 
427
  $as_echo "$as_me: error: $2" >&2
 
428
  as_fn_exit $as_status
 
429
} # as_fn_error
 
430
 
 
431
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
432
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
433
  as_expr=expr
 
434
else
 
435
  as_expr=false
 
436
fi
 
437
 
 
438
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
439
  as_basename=basename
 
440
else
 
441
  as_basename=false
 
442
fi
 
443
 
 
444
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
445
  as_dirname=dirname
 
446
else
 
447
  as_dirname=false
 
448
fi
 
449
 
 
450
as_me=`$as_basename -- "$0" ||
 
451
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
452
         X"$0" : 'X\(//\)$' \| \
 
453
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
454
$as_echo X/"$0" |
 
455
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
456
            s//\1/
 
457
            q
 
458
          }
 
459
          /^X\/\(\/\/\)$/{
 
460
            s//\1/
 
461
            q
 
462
          }
 
463
          /^X\/\(\/\).*/{
 
464
            s//\1/
 
465
            q
 
466
          }
 
467
          s/.*/./; q'`
 
468
 
 
469
# Avoid depending upon Character Ranges.
 
470
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
471
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
472
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
473
as_cr_digits='0123456789'
 
474
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
475
 
 
476
 
 
477
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
478
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
479
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
480
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
481
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
 
482
  sed -n '
 
483
    p
 
484
    /[$]LINENO/=
 
485
  ' <$as_myself |
 
486
    sed '
 
487
      s/[$]LINENO.*/&-/
 
488
      t lineno
 
489
      b
 
490
      :lineno
 
491
      N
 
492
      :loop
 
493
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 
494
      t loop
 
495
      s/-\n.*//
 
496
    ' >$as_me.lineno &&
 
497
  chmod +x "$as_me.lineno" ||
 
498
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
 
499
 
 
500
  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
 
501
  # already done that, so ensure we don't try to do so again and fall
 
502
  # in an infinite loop.  This has already happened in practice.
 
503
  _as_can_reexec=no; export _as_can_reexec
 
504
  # Don't try to exec as it changes $[0], causing all sort of problems
 
505
  # (the dirname of $[0] is not the place where we might find the
 
506
  # original and so on.  Autoconf is especially sensitive to this).
 
507
  . "./$as_me.lineno"
 
508
  # Exit status is that of the last command.
 
509
  exit
 
510
}
 
511
 
 
512
ECHO_C= ECHO_N= ECHO_T=
 
513
case `echo -n x` in #(((((
 
514
-n*)
 
515
  case `echo 'xy\c'` in
 
516
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
517
  xy)  ECHO_C='\c';;
 
518
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
519
       ECHO_T=' ';;
 
520
  esac;;
 
521
*)
 
522
  ECHO_N='-n';;
 
523
esac
 
524
 
 
525
rm -f conf$$ conf$$.exe conf$$.file
 
526
if test -d conf$$.dir; then
 
527
  rm -f conf$$.dir/conf$$.file
 
528
else
 
529
  rm -f conf$$.dir
 
530
  mkdir conf$$.dir 2>/dev/null
 
531
fi
 
532
if (echo >conf$$.file) 2>/dev/null; then
 
533
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
534
    as_ln_s='ln -s'
 
535
    # ... but there are two gotchas:
 
536
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
537
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
538
    # In both cases, we have to default to `cp -pR'.
 
539
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
540
      as_ln_s='cp -pR'
 
541
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
542
    as_ln_s=ln
 
543
  else
 
544
    as_ln_s='cp -pR'
 
545
  fi
 
546
else
 
547
  as_ln_s='cp -pR'
 
548
fi
 
549
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
550
rmdir conf$$.dir 2>/dev/null
 
551
 
 
552
if mkdir -p . 2>/dev/null; then
 
553
  as_mkdir_p='mkdir -p "$as_dir"'
 
554
else
 
555
  test -d ./-p && rmdir ./-p
 
556
  as_mkdir_p=false
 
557
fi
 
558
 
 
559
as_test_x='test -x'
 
560
as_executable_p=as_fn_executable_p
 
561
 
 
562
# Sed expression to map a string onto a valid CPP name.
 
563
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
564
 
 
565
# Sed expression to map a string onto a valid variable name.
 
566
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
567
 
 
568
SHELL=${CONFIG_SHELL-/bin/sh}
 
569
 
 
570
as_awk_strverscmp='
 
571
  # Use only awk features that work with 7th edition Unix awk (1978).
 
572
  # My, what an old awk you have, Mr. Solaris!
 
573
  END {
 
574
    while (length(v1) && length(v2)) {
 
575
      # Set d1 to be the next thing to compare from v1, and likewise for d2.
 
576
      # Normally this is a single character, but if v1 and v2 contain digits,
 
577
      # compare them as integers and fractions as strverscmp does.
 
578
      if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
 
579
        # Split v1 and v2 into their leading digit string components d1 and d2,
 
580
        # and advance v1 and v2 past the leading digit strings.
 
581
        for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
 
582
        for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
 
583
        d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
 
584
        d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
 
585
        if (d1 ~ /^0/) {
 
586
          if (d2 ~ /^0/) {
 
587
            # Compare two fractions.
 
588
            while (d1 ~ /^0/ && d2 ~ /^0/) {
 
589
              d1 = substr(d1, 2); len1--
 
590
              d2 = substr(d2, 2); len2--
 
591
            }
 
592
            if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
 
593
              # The two components differ in length, and the common prefix
 
594
              # contains only leading zeros.  Consider the longer to be less.
 
595
              d1 = -len1
 
596
              d2 = -len2
 
597
            } else {
 
598
              # Otherwise, compare as strings.
 
599
              d1 = "x" d1
 
600
              d2 = "x" d2
 
601
            }
 
602
          } else {
 
603
            # A fraction is less than an integer.
 
604
            exit 1
 
605
          }
 
606
        } else {
 
607
          if (d2 ~ /^0/) {
 
608
            # An integer is greater than a fraction.
 
609
            exit 2
 
610
          } else {
 
611
            # Compare two integers.
 
612
            d1 += 0
 
613
            d2 += 0
 
614
          }
 
615
        }
 
616
      } else {
 
617
        # The normal case, without worrying about digits.
 
618
        d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
 
619
        d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
 
620
      }
 
621
      if (d1 < d2) exit 1
 
622
      if (d1 > d2) exit 2
 
623
    }
 
624
    # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
 
625
    # which mishandles some comparisons of empty strings to integers.
 
626
    if (length(v2)) exit 1
 
627
    if (length(v1)) exit 2
 
628
  }
 
629
'
 
630
 
 
631
test -n "$DJDIR" || exec 7<&0 </dev/null
 
632
exec 6>&1
 
633
 
 
634
# Name of the host.
 
635
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
 
636
# so uname gets run too.
 
637
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
 
638
 
 
639
#
 
640
# Initializations.
 
641
#
 
642
ac_default_prefix=/usr/local
 
643
ac_clean_files=
 
644
ac_config_libobj_dir=.
 
645
LIBOBJS=
 
646
cross_compiling=no
 
647
subdirs=
 
648
MFLAGS=
 
649
MAKEFLAGS=
 
650
 
 
651
# Identity of this package.
 
652
PACKAGE_NAME='rhythmbox'
 
653
PACKAGE_TARNAME='rhythmbox'
 
654
PACKAGE_VERSION='3.0.1'
 
655
PACKAGE_STRING='rhythmbox 3.0.1'
 
656
PACKAGE_BUGREPORT='https://bugzilla.gnome.org/enter_bug.cgi?product=rhythmbox'
 
657
PACKAGE_URL=''
 
658
 
 
659
ac_unique_file="rhythmbox.pc.in"
 
660
# Factoring default headers for most tests.
 
661
ac_includes_default="\
 
662
#include <stdio.h>
 
663
#ifdef HAVE_SYS_TYPES_H
 
664
# include <sys/types.h>
 
665
#endif
 
666
#ifdef HAVE_SYS_STAT_H
 
667
# include <sys/stat.h>
 
668
#endif
 
669
#ifdef STDC_HEADERS
 
670
# include <stdlib.h>
 
671
# include <stddef.h>
 
672
#else
 
673
# ifdef HAVE_STDLIB_H
 
674
#  include <stdlib.h>
 
675
# endif
 
676
#endif
 
677
#ifdef HAVE_STRING_H
 
678
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
 
679
#  include <memory.h>
 
680
# endif
 
681
# include <string.h>
 
682
#endif
 
683
#ifdef HAVE_STRINGS_H
 
684
# include <strings.h>
 
685
#endif
 
686
#ifdef HAVE_INTTYPES_H
 
687
# include <inttypes.h>
 
688
#endif
 
689
#ifdef HAVE_STDINT_H
 
690
# include <stdint.h>
 
691
#endif
 
692
#ifdef HAVE_UNISTD_H
 
693
# include <unistd.h>
 
694
#endif"
 
695
 
 
696
gt_needs=
 
697
ac_subst_vars='am__EXEEXT_FALSE
 
698
am__EXEEXT_TRUE
 
699
LTLIBOBJS
 
700
LIBOBJS
 
701
ENABLE_GRILO_FALSE
 
702
ENABLE_GRILO_TRUE
 
703
GRILO_LIBS
 
704
GRILO_CFLAGS
 
705
USE_CLUTTER_FALSE
 
706
USE_CLUTTER_TRUE
 
707
CLUTTER_LIBS
 
708
CLUTTER_CFLAGS
 
709
USE_LIBDMAPSHARING_FALSE
 
710
USE_LIBDMAPSHARING_TRUE
 
711
DMAPSHARING_LIBS
 
712
DMAPSHARING_CFLAGS
 
713
ITMS_HANDLER
 
714
ENABLE_BROWSER_PLUGIN_FALSE
 
715
ENABLE_BROWSER_PLUGIN_TRUE
 
716
MOZILLA_PLUGINDIR
 
717
HAVE_CHECK_FALSE
 
718
HAVE_CHECK_TRUE
 
719
CHECK_LIBS
 
720
CHECK_CFLAGS
 
721
ENABLE_FM_RADIO_FALSE
 
722
ENABLE_FM_RADIO_TRUE
 
723
ENABLE_VALA_FALSE
 
724
ENABLE_VALA_TRUE
 
725
VAPIGEN
 
726
VAPIDIR
 
727
VALAC
 
728
ENABLE_PYTHON_FALSE
 
729
ENABLE_PYTHON_TRUE
 
730
pyoverridesdir
 
731
PYTHON_LIBS
 
732
PYTHON_CFLAGS
 
733
pkgpyexecdir
 
734
pyexecdir
 
735
pkgpythondir
 
736
pythondir
 
737
PYTHON_PLATFORM
 
738
PYTHON_EXEC_PREFIX
 
739
PYTHON_PREFIX
 
740
PYTHON_VERSION
 
741
PYTHON
 
742
SAMPLEPLUGINDIR
 
743
PLUGINDATADIR
 
744
PLUGINDIR
 
745
PLUGIN_LIBTOOL_FLAGS
 
746
YELP_HELP_RULES
 
747
XMLLINT
 
748
ITSTOOL
 
749
HELP_DIR
 
750
GTK_DOC_USE_REBASE_FALSE
 
751
GTK_DOC_USE_REBASE_TRUE
 
752
GTK_DOC_USE_LIBTOOL_FALSE
 
753
GTK_DOC_USE_LIBTOOL_TRUE
 
754
GTK_DOC_BUILD_PDF_FALSE
 
755
GTK_DOC_BUILD_PDF_TRUE
 
756
GTK_DOC_BUILD_HTML_FALSE
 
757
GTK_DOC_BUILD_HTML_TRUE
 
758
ENABLE_GTK_DOC_FALSE
 
759
ENABLE_GTK_DOC_TRUE
 
760
GTKDOC_DEPS_LIBS
 
761
GTKDOC_DEPS_CFLAGS
 
762
HTML_DIR
 
763
GTKDOC_MKPDF
 
764
GTKDOC_REBASE
 
765
GTKDOC_CHECK_PATH
 
766
GTKDOC_CHECK
 
767
NO_STRICT_ALIASING_CFLAGS
 
768
WNOERROR_CFLAGS
 
769
WARN_CFLAGS
 
770
RHYTHMBOX_CFLAGS_NOWARN
 
771
ROOT_UNINSTALLED_DIR
 
772
WITH_WEBKIT_FALSE
 
773
WITH_WEBKIT_TRUE
 
774
WEBKIT_LIBS
 
775
WEBKIT_CFLAGS
 
776
WITH_LIRC_FALSE
 
777
WITH_LIRC_TRUE
 
778
MKINSTALLDIRS
 
779
GETTEXT_PACKAGE
 
780
POSUB
 
781
LTLIBINTL
 
782
LIBINTL
 
783
INTLLIBS
 
784
LTLIBICONV
 
785
LIBICONV
 
786
INTL_MACOSX_LIBS
 
787
XGETTEXT_EXTRA_OPTIONS
 
788
XGETTEXT_015
 
789
GMSGFMT_015
 
790
MSGFMT_015
 
791
GETTEXT_MACRO_VERSION
 
792
GDK_PIXBUF_CSOURCE
 
793
GLIB_GENMARSHAL
 
794
HAVE_LIBBRASERO_MEDIA
 
795
HAVE_LIBBRASERO_MEDIA_FALSE
 
796
HAVE_LIBBRASERO_MEDIA_TRUE
 
797
LIBBRASERO_MEDIA_LIBS
 
798
LIBBRASERO_MEDIA_CFLAGS
 
799
X_EXTRA_LIBS
 
800
X_LIBS
 
801
X_PRE_LIBS
 
802
X_CFLAGS
 
803
XMKMF
 
804
USE_NOTIFY_FALSE
 
805
USE_NOTIFY_TRUE
 
806
NOTIFY_LIBS
 
807
NOTIFY_CFLAGS
 
808
GSTREAMER_LIBS
 
809
GSTREAMER_CFLAGS
 
810
USE_TREEDB_FALSE
 
811
USE_TREEDB_TRUE
 
812
USE_LIBSECRET_FALSE
 
813
USE_LIBSECRET_TRUE
 
814
PY_LIBSECRET_ENABLED
 
815
LIBSECRET_LIBS
 
816
LIBSECRET_CFLAGS
 
817
USE_MTP_FALSE
 
818
USE_MTP_TRUE
 
819
MTP_LIBS
 
820
MTP_CFLAGS
 
821
USE_IPOD_FALSE
 
822
USE_IPOD_TRUE
 
823
IPOD_LIBS
 
824
IPOD_CFLAGS
 
825
HAVE_HAL_FALSE
 
826
HAVE_HAL_TRUE
 
827
HAL_LIBS
 
828
HAL_CFLAGS
 
829
USE_GUDEV_FALSE
 
830
USE_GUDEV_TRUE
 
831
GUDEV_LIBS
 
832
GUDEV_CFLAGS
 
833
TOTEM_PLPARSER_LIBS
 
834
TOTEM_PLPARSER_CFLAGS
 
835
RHYTHMBOX_LIBS
 
836
RHYTHMBOX_CFLAGS
 
837
RB_CLIENT_LIBS
 
838
RB_CLIENT_CFLAGS
 
839
GSETTINGS_RULES
 
840
GLIB_COMPILE_SCHEMAS
 
841
gsettingsschemadir
 
842
GSETTINGS_DISABLE_SCHEMAS_COMPILE
 
843
OTOOL64
 
844
OTOOL
 
845
LIPO
 
846
NMEDIT
 
847
DSYMUTIL
 
848
MANIFEST_TOOL
 
849
RANLIB
 
850
ac_ct_AR
 
851
AR
 
852
DLLTOOL
 
853
OBJDUMP
 
854
LN_S
 
855
NM
 
856
ac_ct_DUMPBIN
 
857
DUMPBIN
 
858
LD
 
859
FGREP
 
860
SED
 
861
host_os
 
862
host_vendor
 
863
host_cpu
 
864
host
 
865
build_os
 
866
build_vendor
 
867
build_cpu
 
868
build
 
869
LIBTOOL
 
870
EGREP
 
871
GREP
 
872
CPP
 
873
DATADIRNAME
 
874
am__fastdepCC_FALSE
 
875
am__fastdepCC_TRUE
 
876
CCDEPMODE
 
877
am__nodep
 
878
AMDEPBACKSLASH
 
879
AMDEP_FALSE
 
880
AMDEP_TRUE
 
881
am__quote
 
882
am__include
 
883
DEPDIR
 
884
OBJEXT
 
885
EXEEXT
 
886
ac_ct_CC
 
887
CPPFLAGS
 
888
LDFLAGS
 
889
CFLAGS
 
890
CC
 
891
ALL_LINGUAS
 
892
INTLTOOL_PERL
 
893
GMSGFMT
 
894
MSGFMT
 
895
MSGMERGE
 
896
XGETTEXT
 
897
INTLTOOL_POLICY_RULE
 
898
INTLTOOL_SERVICE_RULE
 
899
INTLTOOL_THEME_RULE
 
900
INTLTOOL_SCHEMAS_RULE
 
901
INTLTOOL_CAVES_RULE
 
902
INTLTOOL_XML_NOMERGE_RULE
 
903
INTLTOOL_XML_RULE
 
904
INTLTOOL_KBD_RULE
 
905
INTLTOOL_XAM_RULE
 
906
INTLTOOL_UI_RULE
 
907
INTLTOOL_SOUNDLIST_RULE
 
908
INTLTOOL_SHEET_RULE
 
909
INTLTOOL_SERVER_RULE
 
910
INTLTOOL_PONG_RULE
 
911
INTLTOOL_OAF_RULE
 
912
INTLTOOL_PROP_RULE
 
913
INTLTOOL_KEYS_RULE
 
914
INTLTOOL_DIRECTORY_RULE
 
915
INTLTOOL_DESKTOP_RULE
 
916
intltool__v_merge_options_0
 
917
intltool__v_merge_options_
 
918
INTLTOOL_V_MERGE_OPTIONS
 
919
INTLTOOL__v_MERGE_0
 
920
INTLTOOL__v_MERGE_
 
921
INTLTOOL_V_MERGE
 
922
INTLTOOL_EXTRACT
 
923
INTLTOOL_MERGE
 
924
INTLTOOL_UPDATE
 
925
USE_NLS
 
926
HAVE_INTROSPECTION_FALSE
 
927
HAVE_INTROSPECTION_TRUE
 
928
INTROSPECTION_MAKEFILE
 
929
INTROSPECTION_LIBS
 
930
INTROSPECTION_CFLAGS
 
931
INTROSPECTION_TYPELIBDIR
 
932
INTROSPECTION_GIRDIR
 
933
INTROSPECTION_GENERATE
 
934
INTROSPECTION_COMPILER
 
935
INTROSPECTION_SCANNER
 
936
PKG_CONFIG_LIBDIR
 
937
PKG_CONFIG_PATH
 
938
PKG_CONFIG
 
939
RHYTHMBOX_CORE_REVISION
 
940
RHYTHMBOX_CORE_CURRENT
 
941
RHYTHMBOX_CORE_AGE
 
942
DISABLE_DEPRECATED
 
943
MAINT
 
944
MAINTAINER_MODE_FALSE
 
945
MAINTAINER_MODE_TRUE
 
946
AM_BACKSLASH
 
947
AM_DEFAULT_VERBOSITY
 
948
AM_DEFAULT_V
 
949
AM_V
 
950
am__untar
 
951
am__tar
 
952
AMTAR
 
953
am__leading_dot
 
954
SET_MAKE
 
955
AWK
 
956
mkdir_p
 
957
MKDIR_P
 
958
INSTALL_STRIP_PROGRAM
 
959
STRIP
 
960
install_sh
 
961
MAKEINFO
 
962
AUTOHEADER
 
963
AUTOMAKE
 
964
AUTOCONF
 
965
ACLOCAL
 
966
VERSION
 
967
PACKAGE
 
968
CYGPATH_W
 
969
am__isrc
 
970
INSTALL_DATA
 
971
INSTALL_SCRIPT
 
972
INSTALL_PROGRAM
 
973
target_alias
 
974
host_alias
 
975
build_alias
 
976
LIBS
 
977
ECHO_T
 
978
ECHO_N
 
979
ECHO_C
 
980
DEFS
 
981
mandir
 
982
localedir
 
983
libdir
 
984
psdir
 
985
pdfdir
 
986
dvidir
 
987
htmldir
 
988
infodir
 
989
docdir
 
990
oldincludedir
 
991
includedir
 
992
localstatedir
 
993
sharedstatedir
 
994
sysconfdir
 
995
datadir
 
996
datarootdir
 
997
libexecdir
 
998
sbindir
 
999
bindir
 
1000
program_transform_name
 
1001
prefix
 
1002
exec_prefix
 
1003
PACKAGE_URL
 
1004
PACKAGE_BUGREPORT
 
1005
PACKAGE_STRING
 
1006
PACKAGE_VERSION
 
1007
PACKAGE_TARNAME
 
1008
PACKAGE_NAME
 
1009
PATH_SEPARATOR
 
1010
SHELL'
 
1011
ac_subst_files=''
 
1012
ac_user_opts='
 
1013
enable_option_checking
 
1014
enable_silent_rules
 
1015
enable_maintainer_mode
 
1016
enable_nls
 
1017
enable_dependency_tracking
 
1018
enable_static
 
1019
enable_shared
 
1020
with_pic
 
1021
enable_fast_install
 
1022
with_gnu_ld
 
1023
with_sysroot
 
1024
enable_libtool_lock
 
1025
enable_schemas_compile
 
1026
with_gudev
 
1027
with_hal
 
1028
with_ipod
 
1029
with_mtp
 
1030
with_libsecret
 
1031
with_database
 
1032
with_rhythmdb_debug
 
1033
enable_libnotify
 
1034
with_x
 
1035
enable_mmkeys
 
1036
with_brasero
 
1037
enable_rpath
 
1038
with_libiconv_prefix
 
1039
with_libintl_prefix
 
1040
enable_lirc
 
1041
with_webkit
 
1042
enable_uninstalled_build
 
1043
enable_more_warnings
 
1044
with_html_dir
 
1045
enable_gtk_doc
 
1046
enable_gtk_doc_html
 
1047
enable_gtk_doc_pdf
 
1048
with_help_dir
 
1049
enable_python
 
1050
enable_vala
 
1051
enable_fm_radio
 
1052
enable_browser_plugin
 
1053
enable_daap
 
1054
enable_visualizer
 
1055
enable_grilo
 
1056
'
 
1057
      ac_precious_vars='build_alias
 
1058
host_alias
 
1059
target_alias
 
1060
PKG_CONFIG
 
1061
PKG_CONFIG_PATH
 
1062
PKG_CONFIG_LIBDIR
 
1063
CC
 
1064
CFLAGS
 
1065
LDFLAGS
 
1066
LIBS
 
1067
CPPFLAGS
 
1068
CPP
 
1069
RB_CLIENT_CFLAGS
 
1070
RB_CLIENT_LIBS
 
1071
RHYTHMBOX_CFLAGS
 
1072
RHYTHMBOX_LIBS
 
1073
TOTEM_PLPARSER_CFLAGS
 
1074
TOTEM_PLPARSER_LIBS
 
1075
GUDEV_CFLAGS
 
1076
GUDEV_LIBS
 
1077
HAL_CFLAGS
 
1078
HAL_LIBS
 
1079
IPOD_CFLAGS
 
1080
IPOD_LIBS
 
1081
MTP_CFLAGS
 
1082
MTP_LIBS
 
1083
LIBSECRET_CFLAGS
 
1084
LIBSECRET_LIBS
 
1085
GSTREAMER_CFLAGS
 
1086
GSTREAMER_LIBS
 
1087
NOTIFY_CFLAGS
 
1088
NOTIFY_LIBS
 
1089
XMKMF
 
1090
LIBBRASERO_MEDIA_CFLAGS
 
1091
LIBBRASERO_MEDIA_LIBS
 
1092
WEBKIT_CFLAGS
 
1093
WEBKIT_LIBS
 
1094
GTKDOC_DEPS_CFLAGS
 
1095
GTKDOC_DEPS_LIBS
 
1096
ITSTOOL
 
1097
XMLLINT
 
1098
PYTHON
 
1099
PYTHON_CFLAGS
 
1100
PYTHON_LIBS
 
1101
CHECK_CFLAGS
 
1102
CHECK_LIBS
 
1103
MOZILLA_PLUGINDIR
 
1104
DMAPSHARING_CFLAGS
 
1105
DMAPSHARING_LIBS
 
1106
CLUTTER_CFLAGS
 
1107
CLUTTER_LIBS
 
1108
GRILO_CFLAGS
 
1109
GRILO_LIBS'
 
1110
 
 
1111
 
 
1112
# Initialize some variables set by options.
 
1113
ac_init_help=
 
1114
ac_init_version=false
 
1115
ac_unrecognized_opts=
 
1116
ac_unrecognized_sep=
 
1117
# The variables have the same names as the options, with
 
1118
# dashes changed to underlines.
 
1119
cache_file=/dev/null
 
1120
exec_prefix=NONE
 
1121
no_create=
 
1122
no_recursion=
 
1123
prefix=NONE
 
1124
program_prefix=NONE
 
1125
program_suffix=NONE
 
1126
program_transform_name=s,x,x,
 
1127
silent=
 
1128
site=
 
1129
srcdir=
 
1130
verbose=
 
1131
x_includes=NONE
 
1132
x_libraries=NONE
 
1133
 
 
1134
# Installation directory options.
 
1135
# These are left unexpanded so users can "make install exec_prefix=/foo"
 
1136
# and all the variables that are supposed to be based on exec_prefix
 
1137
# by default will actually change.
 
1138
# Use braces instead of parens because sh, perl, etc. also accept them.
 
1139
# (The list follows the same order as the GNU Coding Standards.)
 
1140
bindir='${exec_prefix}/bin'
 
1141
sbindir='${exec_prefix}/sbin'
 
1142
libexecdir='${exec_prefix}/libexec'
 
1143
datarootdir='${prefix}/share'
 
1144
datadir='${datarootdir}'
 
1145
sysconfdir='${prefix}/etc'
 
1146
sharedstatedir='${prefix}/com'
 
1147
localstatedir='${prefix}/var'
 
1148
includedir='${prefix}/include'
 
1149
oldincludedir='/usr/include'
 
1150
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 
1151
infodir='${datarootdir}/info'
 
1152
htmldir='${docdir}'
 
1153
dvidir='${docdir}'
 
1154
pdfdir='${docdir}'
 
1155
psdir='${docdir}'
 
1156
libdir='${exec_prefix}/lib'
 
1157
localedir='${datarootdir}/locale'
 
1158
mandir='${datarootdir}/man'
 
1159
 
 
1160
ac_prev=
 
1161
ac_dashdash=
 
1162
for ac_option
 
1163
do
 
1164
  # If the previous option needs an argument, assign it.
 
1165
  if test -n "$ac_prev"; then
 
1166
    eval $ac_prev=\$ac_option
 
1167
    ac_prev=
 
1168
    continue
 
1169
  fi
 
1170
 
 
1171
  case $ac_option in
 
1172
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
1173
  *=)   ac_optarg= ;;
 
1174
  *)    ac_optarg=yes ;;
 
1175
  esac
 
1176
 
 
1177
  # Accept the important Cygnus configure options, so we can diagnose typos.
 
1178
 
 
1179
  case $ac_dashdash$ac_option in
 
1180
  --)
 
1181
    ac_dashdash=yes ;;
 
1182
 
 
1183
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
 
1184
    ac_prev=bindir ;;
 
1185
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
 
1186
    bindir=$ac_optarg ;;
 
1187
 
 
1188
  -build | --build | --buil | --bui | --bu)
 
1189
    ac_prev=build_alias ;;
 
1190
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
 
1191
    build_alias=$ac_optarg ;;
 
1192
 
 
1193
  -cache-file | --cache-file | --cache-fil | --cache-fi \
 
1194
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
 
1195
    ac_prev=cache_file ;;
 
1196
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
 
1197
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
 
1198
    cache_file=$ac_optarg ;;
 
1199
 
 
1200
  --config-cache | -C)
 
1201
    cache_file=config.cache ;;
 
1202
 
 
1203
  -datadir | --datadir | --datadi | --datad)
 
1204
    ac_prev=datadir ;;
 
1205
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
 
1206
    datadir=$ac_optarg ;;
 
1207
 
 
1208
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
1209
  | --dataroo | --dataro | --datar)
 
1210
    ac_prev=datarootdir ;;
 
1211
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
1212
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
1213
    datarootdir=$ac_optarg ;;
 
1214
 
 
1215
  -disable-* | --disable-*)
 
1216
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
1217
    # Reject names that are not valid shell variable names.
 
1218
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1219
      as_fn_error $? "invalid feature name: $ac_useropt"
 
1220
    ac_useropt_orig=$ac_useropt
 
1221
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1222
    case $ac_user_opts in
 
1223
      *"
 
1224
"enable_$ac_useropt"
 
1225
"*) ;;
 
1226
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
1227
         ac_unrecognized_sep=', ';;
 
1228
    esac
 
1229
    eval enable_$ac_useropt=no ;;
 
1230
 
 
1231
  -docdir | --docdir | --docdi | --doc | --do)
 
1232
    ac_prev=docdir ;;
 
1233
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
1234
    docdir=$ac_optarg ;;
 
1235
 
 
1236
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
1237
    ac_prev=dvidir ;;
 
1238
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
1239
    dvidir=$ac_optarg ;;
 
1240
 
 
1241
  -enable-* | --enable-*)
 
1242
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
1243
    # Reject names that are not valid shell variable names.
 
1244
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1245
      as_fn_error $? "invalid feature name: $ac_useropt"
 
1246
    ac_useropt_orig=$ac_useropt
 
1247
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1248
    case $ac_user_opts in
 
1249
      *"
 
1250
"enable_$ac_useropt"
 
1251
"*) ;;
 
1252
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
1253
         ac_unrecognized_sep=', ';;
 
1254
    esac
 
1255
    eval enable_$ac_useropt=\$ac_optarg ;;
 
1256
 
 
1257
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 
1258
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 
1259
  | --exec | --exe | --ex)
 
1260
    ac_prev=exec_prefix ;;
 
1261
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 
1262
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 
1263
  | --exec=* | --exe=* | --ex=*)
 
1264
    exec_prefix=$ac_optarg ;;
 
1265
 
 
1266
  -gas | --gas | --ga | --g)
 
1267
    # Obsolete; use --with-gas.
 
1268
    with_gas=yes ;;
 
1269
 
 
1270
  -help | --help | --hel | --he | -h)
 
1271
    ac_init_help=long ;;
 
1272
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
 
1273
    ac_init_help=recursive ;;
 
1274
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
 
1275
    ac_init_help=short ;;
 
1276
 
 
1277
  -host | --host | --hos | --ho)
 
1278
    ac_prev=host_alias ;;
 
1279
  -host=* | --host=* | --hos=* | --ho=*)
 
1280
    host_alias=$ac_optarg ;;
 
1281
 
 
1282
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
1283
    ac_prev=htmldir ;;
 
1284
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
1285
  | --ht=*)
 
1286
    htmldir=$ac_optarg ;;
 
1287
 
 
1288
  -includedir | --includedir | --includedi | --included | --include \
 
1289
  | --includ | --inclu | --incl | --inc)
 
1290
    ac_prev=includedir ;;
 
1291
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 
1292
  | --includ=* | --inclu=* | --incl=* | --inc=*)
 
1293
    includedir=$ac_optarg ;;
 
1294
 
 
1295
  -infodir | --infodir | --infodi | --infod | --info | --inf)
 
1296
    ac_prev=infodir ;;
 
1297
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 
1298
    infodir=$ac_optarg ;;
 
1299
 
 
1300
  -libdir | --libdir | --libdi | --libd)
 
1301
    ac_prev=libdir ;;
 
1302
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
 
1303
    libdir=$ac_optarg ;;
 
1304
 
 
1305
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 
1306
  | --libexe | --libex | --libe)
 
1307
    ac_prev=libexecdir ;;
 
1308
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 
1309
  | --libexe=* | --libex=* | --libe=*)
 
1310
    libexecdir=$ac_optarg ;;
 
1311
 
 
1312
  -localedir | --localedir | --localedi | --localed | --locale)
 
1313
    ac_prev=localedir ;;
 
1314
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
1315
    localedir=$ac_optarg ;;
 
1316
 
 
1317
  -localstatedir | --localstatedir | --localstatedi | --localstated \
 
1318
  | --localstate | --localstat | --localsta | --localst | --locals)
 
1319
    ac_prev=localstatedir ;;
 
1320
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 
1321
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 
1322
    localstatedir=$ac_optarg ;;
 
1323
 
 
1324
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 
1325
    ac_prev=mandir ;;
 
1326
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 
1327
    mandir=$ac_optarg ;;
 
1328
 
 
1329
  -nfp | --nfp | --nf)
 
1330
    # Obsolete; use --without-fp.
 
1331
    with_fp=no ;;
 
1332
 
 
1333
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 
1334
  | --no-cr | --no-c | -n)
 
1335
    no_create=yes ;;
 
1336
 
 
1337
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 
1338
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 
1339
    no_recursion=yes ;;
 
1340
 
 
1341
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 
1342
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 
1343
  | --oldin | --oldi | --old | --ol | --o)
 
1344
    ac_prev=oldincludedir ;;
 
1345
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 
1346
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 
1347
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 
1348
    oldincludedir=$ac_optarg ;;
 
1349
 
 
1350
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 
1351
    ac_prev=prefix ;;
 
1352
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 
1353
    prefix=$ac_optarg ;;
 
1354
 
 
1355
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
 
1356
  | --program-pre | --program-pr | --program-p)
 
1357
    ac_prev=program_prefix ;;
 
1358
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
 
1359
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 
1360
    program_prefix=$ac_optarg ;;
 
1361
 
 
1362
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
 
1363
  | --program-suf | --program-su | --program-s)
 
1364
    ac_prev=program_suffix ;;
 
1365
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
 
1366
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 
1367
    program_suffix=$ac_optarg ;;
 
1368
 
 
1369
  -program-transform-name | --program-transform-name \
 
1370
  | --program-transform-nam | --program-transform-na \
 
1371
  | --program-transform-n | --program-transform- \
 
1372
  | --program-transform | --program-transfor \
 
1373
  | --program-transfo | --program-transf \
 
1374
  | --program-trans | --program-tran \
 
1375
  | --progr-tra | --program-tr | --program-t)
 
1376
    ac_prev=program_transform_name ;;
 
1377
  -program-transform-name=* | --program-transform-name=* \
 
1378
  | --program-transform-nam=* | --program-transform-na=* \
 
1379
  | --program-transform-n=* | --program-transform-=* \
 
1380
  | --program-transform=* | --program-transfor=* \
 
1381
  | --program-transfo=* | --program-transf=* \
 
1382
  | --program-trans=* | --program-tran=* \
 
1383
  | --progr-tra=* | --program-tr=* | --program-t=*)
 
1384
    program_transform_name=$ac_optarg ;;
 
1385
 
 
1386
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1387
    ac_prev=pdfdir ;;
 
1388
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1389
    pdfdir=$ac_optarg ;;
 
1390
 
 
1391
  -psdir | --psdir | --psdi | --psd | --ps)
 
1392
    ac_prev=psdir ;;
 
1393
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1394
    psdir=$ac_optarg ;;
 
1395
 
 
1396
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
1397
  | -silent | --silent | --silen | --sile | --sil)
 
1398
    silent=yes ;;
 
1399
 
 
1400
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 
1401
    ac_prev=sbindir ;;
 
1402
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 
1403
  | --sbi=* | --sb=*)
 
1404
    sbindir=$ac_optarg ;;
 
1405
 
 
1406
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
 
1407
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 
1408
  | --sharedst | --shareds | --shared | --share | --shar \
 
1409
  | --sha | --sh)
 
1410
    ac_prev=sharedstatedir ;;
 
1411
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 
1412
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 
1413
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 
1414
  | --sha=* | --sh=*)
 
1415
    sharedstatedir=$ac_optarg ;;
 
1416
 
 
1417
  -site | --site | --sit)
 
1418
    ac_prev=site ;;
 
1419
  -site=* | --site=* | --sit=*)
 
1420
    site=$ac_optarg ;;
 
1421
 
 
1422
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 
1423
    ac_prev=srcdir ;;
 
1424
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 
1425
    srcdir=$ac_optarg ;;
 
1426
 
 
1427
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 
1428
  | --syscon | --sysco | --sysc | --sys | --sy)
 
1429
    ac_prev=sysconfdir ;;
 
1430
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 
1431
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 
1432
    sysconfdir=$ac_optarg ;;
 
1433
 
 
1434
  -target | --target | --targe | --targ | --tar | --ta | --t)
 
1435
    ac_prev=target_alias ;;
 
1436
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 
1437
    target_alias=$ac_optarg ;;
 
1438
 
 
1439
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
 
1440
    verbose=yes ;;
 
1441
 
 
1442
  -version | --version | --versio | --versi | --vers | -V)
 
1443
    ac_init_version=: ;;
 
1444
 
 
1445
  -with-* | --with-*)
 
1446
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1447
    # Reject names that are not valid shell variable names.
 
1448
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1449
      as_fn_error $? "invalid package name: $ac_useropt"
 
1450
    ac_useropt_orig=$ac_useropt
 
1451
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1452
    case $ac_user_opts in
 
1453
      *"
 
1454
"with_$ac_useropt"
 
1455
"*) ;;
 
1456
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1457
         ac_unrecognized_sep=', ';;
 
1458
    esac
 
1459
    eval with_$ac_useropt=\$ac_optarg ;;
 
1460
 
 
1461
  -without-* | --without-*)
 
1462
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1463
    # Reject names that are not valid shell variable names.
 
1464
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1465
      as_fn_error $? "invalid package name: $ac_useropt"
 
1466
    ac_useropt_orig=$ac_useropt
 
1467
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1468
    case $ac_user_opts in
 
1469
      *"
 
1470
"with_$ac_useropt"
 
1471
"*) ;;
 
1472
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1473
         ac_unrecognized_sep=', ';;
 
1474
    esac
 
1475
    eval with_$ac_useropt=no ;;
 
1476
 
 
1477
  --x)
 
1478
    # Obsolete; use --with-x.
 
1479
    with_x=yes ;;
 
1480
 
 
1481
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 
1482
  | --x-incl | --x-inc | --x-in | --x-i)
 
1483
    ac_prev=x_includes ;;
 
1484
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 
1485
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 
1486
    x_includes=$ac_optarg ;;
 
1487
 
 
1488
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
 
1489
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 
1490
    ac_prev=x_libraries ;;
 
1491
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 
1492
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 
1493
    x_libraries=$ac_optarg ;;
 
1494
 
 
1495
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 
1496
Try \`$0 --help' for more information"
 
1497
    ;;
 
1498
 
 
1499
  *=*)
 
1500
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 
1501
    # Reject names that are not valid shell variable names.
 
1502
    case $ac_envvar in #(
 
1503
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1504
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 
1505
    esac
 
1506
    eval $ac_envvar=\$ac_optarg
 
1507
    export $ac_envvar ;;
 
1508
 
 
1509
  *)
 
1510
    # FIXME: should be removed in autoconf 3.0.
 
1511
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1512
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
1513
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1514
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
 
1515
    ;;
 
1516
 
 
1517
  esac
 
1518
done
 
1519
 
 
1520
if test -n "$ac_prev"; then
 
1521
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 
1522
  as_fn_error $? "missing argument to $ac_option"
 
1523
fi
 
1524
 
 
1525
if test -n "$ac_unrecognized_opts"; then
 
1526
  case $enable_option_checking in
 
1527
    no) ;;
 
1528
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
 
1529
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1530
  esac
 
1531
fi
 
1532
 
 
1533
# Check all directory arguments for consistency.
 
1534
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1535
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1536
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1537
                libdir localedir mandir
 
1538
do
 
1539
  eval ac_val=\$$ac_var
 
1540
  # Remove trailing slashes.
 
1541
  case $ac_val in
 
1542
    */ )
 
1543
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1544
      eval $ac_var=\$ac_val;;
 
1545
  esac
 
1546
  # Be sure to have absolute directory names.
 
1547
  case $ac_val in
 
1548
    [\\/$]* | ?:[\\/]* )  continue;;
 
1549
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1550
  esac
 
1551
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
 
1552
done
 
1553
 
 
1554
# There might be people who depend on the old broken behavior: `$host'
 
1555
# used to hold the argument of --host etc.
 
1556
# FIXME: To remove some day.
 
1557
build=$build_alias
 
1558
host=$host_alias
 
1559
target=$target_alias
 
1560
 
 
1561
# FIXME: To remove some day.
 
1562
if test "x$host_alias" != x; then
 
1563
  if test "x$build_alias" = x; then
 
1564
    cross_compiling=maybe
 
1565
  elif test "x$build_alias" != "x$host_alias"; then
 
1566
    cross_compiling=yes
 
1567
  fi
 
1568
fi
 
1569
 
 
1570
ac_tool_prefix=
 
1571
test -n "$host_alias" && ac_tool_prefix=$host_alias-
 
1572
 
 
1573
test "$silent" = yes && exec 6>/dev/null
 
1574
 
 
1575
 
 
1576
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1577
ac_ls_di=`ls -di .` &&
 
1578
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1579
  as_fn_error $? "working directory cannot be determined"
 
1580
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1581
  as_fn_error $? "pwd does not report name of working directory"
 
1582
 
 
1583
 
 
1584
# Find the source files, if location was not specified.
 
1585
if test -z "$srcdir"; then
 
1586
  ac_srcdir_defaulted=yes
 
1587
  # Try the directory containing this script, then the parent directory.
 
1588
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1589
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1590
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1591
         X"$as_myself" : 'X\(//\)$' \| \
 
1592
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1593
$as_echo X"$as_myself" |
 
1594
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1595
            s//\1/
 
1596
            q
 
1597
          }
 
1598
          /^X\(\/\/\)[^/].*/{
 
1599
            s//\1/
 
1600
            q
 
1601
          }
 
1602
          /^X\(\/\/\)$/{
 
1603
            s//\1/
 
1604
            q
 
1605
          }
 
1606
          /^X\(\/\).*/{
 
1607
            s//\1/
 
1608
            q
 
1609
          }
 
1610
          s/.*/./; q'`
 
1611
  srcdir=$ac_confdir
 
1612
  if test ! -r "$srcdir/$ac_unique_file"; then
 
1613
    srcdir=..
 
1614
  fi
 
1615
else
 
1616
  ac_srcdir_defaulted=no
 
1617
fi
 
1618
if test ! -r "$srcdir/$ac_unique_file"; then
 
1619
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1620
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
 
1621
fi
 
1622
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1623
ac_abs_confdir=`(
 
1624
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
 
1625
        pwd)`
 
1626
# When building in place, set srcdir=.
 
1627
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1628
  srcdir=.
 
1629
fi
 
1630
# Remove unnecessary trailing slashes from srcdir.
 
1631
# Double slashes in file names in object file debugging info
 
1632
# mess up M-x gdb in Emacs.
 
1633
case $srcdir in
 
1634
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1635
esac
 
1636
for ac_var in $ac_precious_vars; do
 
1637
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1638
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1639
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1640
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1641
done
 
1642
 
 
1643
#
 
1644
# Report the --help message.
 
1645
#
 
1646
if test "$ac_init_help" = "long"; then
 
1647
  # Omit some internal or obsolete options to make the list less imposing.
 
1648
  # This message is too long to be a string in the A/UX 3.1 sh.
 
1649
  cat <<_ACEOF
 
1650
\`configure' configures rhythmbox 3.0.1 to adapt to many kinds of systems.
 
1651
 
 
1652
Usage: $0 [OPTION]... [VAR=VALUE]...
 
1653
 
 
1654
To assign environment variables (e.g., CC, CFLAGS...), specify them as
 
1655
VAR=VALUE.  See below for descriptions of some of the useful variables.
 
1656
 
 
1657
Defaults for the options are specified in brackets.
 
1658
 
 
1659
Configuration:
 
1660
  -h, --help              display this help and exit
 
1661
      --help=short        display options specific to this package
 
1662
      --help=recursive    display the short help of all the included packages
 
1663
  -V, --version           display version information and exit
 
1664
  -q, --quiet, --silent   do not print \`checking ...' messages
 
1665
      --cache-file=FILE   cache test results in FILE [disabled]
 
1666
  -C, --config-cache      alias for \`--cache-file=config.cache'
 
1667
  -n, --no-create         do not create output files
 
1668
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 
1669
 
 
1670
Installation directories:
 
1671
  --prefix=PREFIX         install architecture-independent files in PREFIX
 
1672
                          [$ac_default_prefix]
 
1673
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 
1674
                          [PREFIX]
 
1675
 
 
1676
By default, \`make install' will install all the files in
 
1677
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 
1678
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 
1679
for instance \`--prefix=\$HOME'.
 
1680
 
 
1681
For better control, use the options below.
 
1682
 
 
1683
Fine tuning of the installation directories:
 
1684
  --bindir=DIR            user executables [EPREFIX/bin]
 
1685
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1686
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1687
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1688
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1689
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1690
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1691
  --includedir=DIR        C header files [PREFIX/include]
 
1692
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1693
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1694
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1695
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1696
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1697
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1698
  --docdir=DIR            documentation root [DATAROOTDIR/doc/rhythmbox]
 
1699
  --htmldir=DIR           html documentation [DOCDIR]
 
1700
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1701
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1702
  --psdir=DIR             ps documentation [DOCDIR]
 
1703
_ACEOF
 
1704
 
 
1705
  cat <<\_ACEOF
 
1706
 
 
1707
Program names:
 
1708
  --program-prefix=PREFIX            prepend PREFIX to installed program names
 
1709
  --program-suffix=SUFFIX            append SUFFIX to installed program names
 
1710
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 
1711
 
 
1712
X features:
 
1713
  --x-includes=DIR    X include files are in DIR
 
1714
  --x-libraries=DIR   X library files are in DIR
 
1715
 
 
1716
System types:
 
1717
  --build=BUILD     configure for building on BUILD [guessed]
 
1718
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 
1719
_ACEOF
 
1720
fi
 
1721
 
 
1722
if test -n "$ac_init_help"; then
 
1723
  case $ac_init_help in
 
1724
     short | recursive ) echo "Configuration of rhythmbox 3.0.1:";;
 
1725
   esac
 
1726
  cat <<\_ACEOF
 
1727
 
 
1728
Optional Features:
 
1729
  --disable-option-checking  ignore unrecognized --enable/--with options
 
1730
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 
1731
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 
1732
  --enable-silent-rules   less verbose build output (undo: "make V=1")
 
1733
  --disable-silent-rules  verbose build output (undo: "make V=0")
 
1734
  --disable-maintainer-mode
 
1735
                          disable make rules and dependencies not useful (and
 
1736
                          sometimes confusing) to the casual installer
 
1737
  --disable-nls           do not use Native Language Support
 
1738
  --enable-dependency-tracking
 
1739
                          do not reject slow dependency extractors
 
1740
  --disable-dependency-tracking
 
1741
                          speeds up one-time build
 
1742
  --enable-static[=PKGS]  build static libraries [default=no]
 
1743
  --enable-shared[=PKGS]  build shared libraries [default=yes]
 
1744
  --enable-fast-install[=PKGS]
 
1745
                          optimize for fast installation [default=yes]
 
1746
  --disable-libtool-lock  avoid locking (might break parallel builds)
 
1747
  --disable-schemas-compile
 
1748
                          Disable regeneration of gschemas.compiled on install
 
1749
  --disable-libnotify     Disable libnotify support
 
1750
  --disable-mmkeys        don't build with Multimedia Keys support
 
1751
  --disable-rpath         do not hardcode runtime library paths
 
1752
  --enable-lirc           enable lirc support
 
1753
  --enable-uninstalled-build
 
1754
                          Search for files in build directory as well
 
1755
  --enable-more-warnings  Maximum compiler warnings
 
1756
  --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
 
1757
  --enable-gtk-doc-html   build documentation in html format [[default=yes]]
 
1758
  --enable-gtk-doc-pdf    build documentation in pdf format [[default=no]]
 
1759
  --enable-python=[no/auto/yes]
 
1760
                          Build with python support
 
1761
  --enable-vala           Enable Vala plugin support
 
1762
  --disable-fm-radio      Disable FM radio support
 
1763
  --enable-browser-plugin compile the iTunes detection browser plugin
 
1764
  --disable-daap          Disable DAAP support
 
1765
  --disable-visualizer    Disable visualizer plugin support
 
1766
  --disable-grilo         Disable Grilo support
 
1767
 
 
1768
Optional Packages:
 
1769
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 
1770
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 
1771
  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
 
1772
                          both]
 
1773
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
1774
  --with-sysroot=DIR Search for dependent libraries within DIR
 
1775
                        (or the compiler's sysroot if not specified).
 
1776
  --with-gudev            Enable GUdev for hardware detection
 
1777
  --without-hal           Disable HAL support
 
1778
  --with-ipod             Enable iPod support
 
1779
  --with-mtp              Enable MTP support
 
1780
  --with-libsecret        Enable keyring support using libsecret
 
1781
  --with-database=tree    Select the database to use (default tree)
 
1782
  --with-rhythmdb-debug=0|1|2
 
1783
                          Level of RhythmDB sanity checking
 
1784
  --with-x                use the X Window System
 
1785
  --with-brasero          Build with libbrasero-media support
 
1786
  --with-gnu-ld           assume the C compiler uses GNU ld default=no
 
1787
  --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
 
1788
  --without-libiconv-prefix     don't search for libiconv in includedir and libdir
 
1789
  --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
 
1790
  --without-libintl-prefix     don't search for libintl in includedir and libdir
 
1791
  --with-webkit           Use WebKit to display HTML
 
1792
  --with-html-dir=PATH    path to installed docs
 
1793
  --with-help-dir=DIR     path where help files are installed
 
1794
 
 
1795
Some influential environment variables:
 
1796
  PKG_CONFIG  path to pkg-config utility
 
1797
  PKG_CONFIG_PATH
 
1798
              directories to add to pkg-config's search path
 
1799
  PKG_CONFIG_LIBDIR
 
1800
              path overriding pkg-config's built-in search path
 
1801
  CC          C compiler command
 
1802
  CFLAGS      C compiler flags
 
1803
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 
1804
              nonstandard directory <lib dir>
 
1805
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1806
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
 
1807
              you have headers in a nonstandard directory <include dir>
 
1808
  CPP         C preprocessor
 
1809
  RB_CLIENT_CFLAGS
 
1810
              C compiler flags for RB_CLIENT, overriding pkg-config
 
1811
  RB_CLIENT_LIBS
 
1812
              linker flags for RB_CLIENT, overriding pkg-config
 
1813
  RHYTHMBOX_CFLAGS
 
1814
              C compiler flags for RHYTHMBOX, overriding pkg-config
 
1815
  RHYTHMBOX_LIBS
 
1816
              linker flags for RHYTHMBOX, overriding pkg-config
 
1817
  TOTEM_PLPARSER_CFLAGS
 
1818
              C compiler flags for TOTEM_PLPARSER, overriding pkg-config
 
1819
  TOTEM_PLPARSER_LIBS
 
1820
              linker flags for TOTEM_PLPARSER, overriding pkg-config
 
1821
  GUDEV_CFLAGS
 
1822
              C compiler flags for GUDEV, overriding pkg-config
 
1823
  GUDEV_LIBS  linker flags for GUDEV, overriding pkg-config
 
1824
  HAL_CFLAGS  C compiler flags for HAL, overriding pkg-config
 
1825
  HAL_LIBS    linker flags for HAL, overriding pkg-config
 
1826
  IPOD_CFLAGS C compiler flags for IPOD, overriding pkg-config
 
1827
  IPOD_LIBS   linker flags for IPOD, overriding pkg-config
 
1828
  MTP_CFLAGS  C compiler flags for MTP, overriding pkg-config
 
1829
  MTP_LIBS    linker flags for MTP, overriding pkg-config
 
1830
  LIBSECRET_CFLAGS
 
1831
              C compiler flags for LIBSECRET, overriding pkg-config
 
1832
  LIBSECRET_LIBS
 
1833
              linker flags for LIBSECRET, overriding pkg-config
 
1834
  GSTREAMER_CFLAGS
 
1835
              C compiler flags for GSTREAMER, overriding pkg-config
 
1836
  GSTREAMER_LIBS
 
1837
              linker flags for GSTREAMER, overriding pkg-config
 
1838
  NOTIFY_CFLAGS
 
1839
              C compiler flags for NOTIFY, overriding pkg-config
 
1840
  NOTIFY_LIBS linker flags for NOTIFY, overriding pkg-config
 
1841
  XMKMF       Path to xmkmf, Makefile generator for X Window System
 
1842
  LIBBRASERO_MEDIA_CFLAGS
 
1843
              C compiler flags for LIBBRASERO_MEDIA, overriding pkg-config
 
1844
  LIBBRASERO_MEDIA_LIBS
 
1845
              linker flags for LIBBRASERO_MEDIA, overriding pkg-config
 
1846
  WEBKIT_CFLAGS
 
1847
              C compiler flags for WEBKIT, overriding pkg-config
 
1848
  WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
 
1849
  GTKDOC_DEPS_CFLAGS
 
1850
              C compiler flags for GTKDOC_DEPS, overriding pkg-config
 
1851
  GTKDOC_DEPS_LIBS
 
1852
              linker flags for GTKDOC_DEPS, overriding pkg-config
 
1853
  ITSTOOL     Path to the `itstool` command
 
1854
  XMLLINT     Path to the `xmllint` command
 
1855
  PYTHON      the Python interpreter
 
1856
  PYTHON_CFLAGS
 
1857
              C compiler flags for PYTHON, overriding pkg-config
 
1858
  PYTHON_LIBS linker flags for PYTHON, overriding pkg-config
 
1859
  CHECK_CFLAGS
 
1860
              C compiler flags for CHECK, overriding pkg-config
 
1861
  CHECK_LIBS  linker flags for CHECK, overriding pkg-config
 
1862
  MOZILLA_PLUGINDIR
 
1863
              Where to install the browser plugin to
 
1864
  DMAPSHARING_CFLAGS
 
1865
              C compiler flags for DMAPSHARING, overriding pkg-config
 
1866
  DMAPSHARING_LIBS
 
1867
              linker flags for DMAPSHARING, overriding pkg-config
 
1868
  CLUTTER_CFLAGS
 
1869
              C compiler flags for CLUTTER, overriding pkg-config
 
1870
  CLUTTER_LIBS
 
1871
              linker flags for CLUTTER, overriding pkg-config
 
1872
  GRILO_CFLAGS
 
1873
              C compiler flags for GRILO, overriding pkg-config
 
1874
  GRILO_LIBS  linker flags for GRILO, overriding pkg-config
 
1875
 
 
1876
Use these variables to override the choices made by `configure' or to help
 
1877
it to find libraries and programs with nonstandard names/locations.
 
1878
 
 
1879
Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=rhythmbox>.
 
1880
_ACEOF
 
1881
ac_status=$?
 
1882
fi
 
1883
 
 
1884
if test "$ac_init_help" = "recursive"; then
 
1885
  # If there are subdirs, report their specific --help.
 
1886
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 
1887
    test -d "$ac_dir" ||
 
1888
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1889
      continue
 
1890
    ac_builddir=.
 
1891
 
 
1892
case "$ac_dir" in
 
1893
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1894
*)
 
1895
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
1896
  # A ".." for each directory in $ac_dir_suffix.
 
1897
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
1898
  case $ac_top_builddir_sub in
 
1899
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1900
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1901
  esac ;;
 
1902
esac
 
1903
ac_abs_top_builddir=$ac_pwd
 
1904
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1905
# for backward compatibility:
 
1906
ac_top_builddir=$ac_top_build_prefix
 
1907
 
 
1908
case $srcdir in
 
1909
  .)  # We are building in place.
 
1910
    ac_srcdir=.
 
1911
    ac_top_srcdir=$ac_top_builddir_sub
 
1912
    ac_abs_top_srcdir=$ac_pwd ;;
 
1913
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
1914
    ac_srcdir=$srcdir$ac_dir_suffix;
 
1915
    ac_top_srcdir=$srcdir
 
1916
    ac_abs_top_srcdir=$srcdir ;;
 
1917
  *) # Relative name.
 
1918
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1919
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1920
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1921
esac
 
1922
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1923
 
 
1924
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1925
    # Check for guested configure.
 
1926
    if test -f "$ac_srcdir/configure.gnu"; then
 
1927
      echo &&
 
1928
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1929
    elif test -f "$ac_srcdir/configure"; then
 
1930
      echo &&
 
1931
      $SHELL "$ac_srcdir/configure" --help=recursive
 
1932
    else
 
1933
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1934
    fi || ac_status=$?
 
1935
    cd "$ac_pwd" || { ac_status=$?; break; }
 
1936
  done
 
1937
fi
 
1938
 
 
1939
test -n "$ac_init_help" && exit $ac_status
 
1940
if $ac_init_version; then
 
1941
  cat <<\_ACEOF
 
1942
rhythmbox configure 3.0.1
 
1943
generated by GNU Autoconf 2.69
 
1944
 
 
1945
Copyright (C) 2012 Free Software Foundation, Inc.
 
1946
This configure script is free software; the Free Software Foundation
 
1947
gives unlimited permission to copy, distribute and modify it.
 
1948
_ACEOF
 
1949
  exit
 
1950
fi
 
1951
 
 
1952
## ------------------------ ##
 
1953
## Autoconf initialization. ##
 
1954
## ------------------------ ##
 
1955
 
 
1956
# ac_fn_c_try_compile LINENO
 
1957
# --------------------------
 
1958
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1959
ac_fn_c_try_compile ()
 
1960
{
 
1961
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1962
  rm -f conftest.$ac_objext
 
1963
  if { { ac_try="$ac_compile"
 
1964
case "(($ac_try" in
 
1965
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1966
  *) ac_try_echo=$ac_try;;
 
1967
esac
 
1968
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1969
$as_echo "$ac_try_echo"; } >&5
 
1970
  (eval "$ac_compile") 2>conftest.err
 
1971
  ac_status=$?
 
1972
  if test -s conftest.err; then
 
1973
    grep -v '^ *+' conftest.err >conftest.er1
 
1974
    cat conftest.er1 >&5
 
1975
    mv -f conftest.er1 conftest.err
 
1976
  fi
 
1977
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1978
  test $ac_status = 0; } && {
 
1979
         test -z "$ac_c_werror_flag" ||
 
1980
         test ! -s conftest.err
 
1981
       } && test -s conftest.$ac_objext; then :
 
1982
  ac_retval=0
 
1983
else
 
1984
  $as_echo "$as_me: failed program was:" >&5
 
1985
sed 's/^/| /' conftest.$ac_ext >&5
 
1986
 
 
1987
        ac_retval=1
 
1988
fi
 
1989
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1990
  as_fn_set_status $ac_retval
 
1991
 
 
1992
} # ac_fn_c_try_compile
 
1993
 
 
1994
# ac_fn_c_try_link LINENO
 
1995
# -----------------------
 
1996
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1997
ac_fn_c_try_link ()
 
1998
{
 
1999
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2000
  rm -f conftest.$ac_objext conftest$ac_exeext
 
2001
  if { { ac_try="$ac_link"
 
2002
case "(($ac_try" in
 
2003
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2004
  *) ac_try_echo=$ac_try;;
 
2005
esac
 
2006
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2007
$as_echo "$ac_try_echo"; } >&5
 
2008
  (eval "$ac_link") 2>conftest.err
 
2009
  ac_status=$?
 
2010
  if test -s conftest.err; then
 
2011
    grep -v '^ *+' conftest.err >conftest.er1
 
2012
    cat conftest.er1 >&5
 
2013
    mv -f conftest.er1 conftest.err
 
2014
  fi
 
2015
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2016
  test $ac_status = 0; } && {
 
2017
         test -z "$ac_c_werror_flag" ||
 
2018
         test ! -s conftest.err
 
2019
       } && test -s conftest$ac_exeext && {
 
2020
         test "$cross_compiling" = yes ||
 
2021
         test -x conftest$ac_exeext
 
2022
       }; then :
 
2023
  ac_retval=0
 
2024
else
 
2025
  $as_echo "$as_me: failed program was:" >&5
 
2026
sed 's/^/| /' conftest.$ac_ext >&5
 
2027
 
 
2028
        ac_retval=1
 
2029
fi
 
2030
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
2031
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
2032
  # interfere with the next link command; also delete a directory that is
 
2033
  # left behind by Apple's compiler.  We do this before executing the actions.
 
2034
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
2035
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
2036
  as_fn_set_status $ac_retval
 
2037
 
 
2038
} # ac_fn_c_try_link
 
2039
 
 
2040
# ac_fn_c_check_func LINENO FUNC VAR
 
2041
# ----------------------------------
 
2042
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
2043
ac_fn_c_check_func ()
 
2044
{
 
2045
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2046
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2047
$as_echo_n "checking for $2... " >&6; }
 
2048
if eval \${$3+:} false; then :
 
2049
  $as_echo_n "(cached) " >&6
 
2050
else
 
2051
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2052
/* end confdefs.h.  */
 
2053
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
2054
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
2055
#define $2 innocuous_$2
 
2056
 
 
2057
/* System header to define __stub macros and hopefully few prototypes,
 
2058
    which can conflict with char $2 (); below.
 
2059
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
2060
    <limits.h> exists even on freestanding compilers.  */
 
2061
 
 
2062
#ifdef __STDC__
 
2063
# include <limits.h>
 
2064
#else
 
2065
# include <assert.h>
 
2066
#endif
 
2067
 
 
2068
#undef $2
 
2069
 
 
2070
/* Override any GCC internal prototype to avoid an error.
 
2071
   Use char because int might match the return type of a GCC
 
2072
   builtin and then its argument prototype would still apply.  */
 
2073
#ifdef __cplusplus
 
2074
extern "C"
 
2075
#endif
 
2076
char $2 ();
 
2077
/* The GNU C library defines this for functions which it implements
 
2078
    to always fail with ENOSYS.  Some functions are actually named
 
2079
    something starting with __ and the normal name is an alias.  */
 
2080
#if defined __stub_$2 || defined __stub___$2
 
2081
choke me
 
2082
#endif
 
2083
 
 
2084
int
 
2085
main ()
 
2086
{
 
2087
return $2 ();
 
2088
  ;
 
2089
  return 0;
 
2090
}
 
2091
_ACEOF
 
2092
if ac_fn_c_try_link "$LINENO"; then :
 
2093
  eval "$3=yes"
 
2094
else
 
2095
  eval "$3=no"
 
2096
fi
 
2097
rm -f core conftest.err conftest.$ac_objext \
 
2098
    conftest$ac_exeext conftest.$ac_ext
 
2099
fi
 
2100
eval ac_res=\$$3
 
2101
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2102
$as_echo "$ac_res" >&6; }
 
2103
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
2104
 
 
2105
} # ac_fn_c_check_func
 
2106
 
 
2107
# ac_fn_c_try_cpp LINENO
 
2108
# ----------------------
 
2109
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
2110
ac_fn_c_try_cpp ()
 
2111
{
 
2112
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2113
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
2114
case "(($ac_try" in
 
2115
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2116
  *) ac_try_echo=$ac_try;;
 
2117
esac
 
2118
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2119
$as_echo "$ac_try_echo"; } >&5
 
2120
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
2121
  ac_status=$?
 
2122
  if test -s conftest.err; then
 
2123
    grep -v '^ *+' conftest.err >conftest.er1
 
2124
    cat conftest.er1 >&5
 
2125
    mv -f conftest.er1 conftest.err
 
2126
  fi
 
2127
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2128
  test $ac_status = 0; } > conftest.i && {
 
2129
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
2130
         test ! -s conftest.err
 
2131
       }; then :
 
2132
  ac_retval=0
 
2133
else
 
2134
  $as_echo "$as_me: failed program was:" >&5
 
2135
sed 's/^/| /' conftest.$ac_ext >&5
 
2136
 
 
2137
    ac_retval=1
 
2138
fi
 
2139
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
2140
  as_fn_set_status $ac_retval
 
2141
 
 
2142
} # ac_fn_c_try_cpp
 
2143
 
 
2144
# ac_fn_c_try_run LINENO
 
2145
# ----------------------
 
2146
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
2147
# that executables *can* be run.
 
2148
ac_fn_c_try_run ()
 
2149
{
 
2150
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2151
  if { { ac_try="$ac_link"
 
2152
case "(($ac_try" in
 
2153
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2154
  *) ac_try_echo=$ac_try;;
 
2155
esac
 
2156
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2157
$as_echo "$ac_try_echo"; } >&5
 
2158
  (eval "$ac_link") 2>&5
 
2159
  ac_status=$?
 
2160
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2161
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
2162
  { { case "(($ac_try" in
 
2163
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2164
  *) ac_try_echo=$ac_try;;
 
2165
esac
 
2166
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2167
$as_echo "$ac_try_echo"; } >&5
 
2168
  (eval "$ac_try") 2>&5
 
2169
  ac_status=$?
 
2170
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2171
  test $ac_status = 0; }; }; then :
 
2172
  ac_retval=0
 
2173
else
 
2174
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
2175
       $as_echo "$as_me: failed program was:" >&5
 
2176
sed 's/^/| /' conftest.$ac_ext >&5
 
2177
 
 
2178
       ac_retval=$ac_status
 
2179
fi
 
2180
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
2181
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
2182
  as_fn_set_status $ac_retval
 
2183
 
 
2184
} # ac_fn_c_try_run
 
2185
 
 
2186
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
2187
# -------------------------------------------------------
 
2188
# Tests whether HEADER exists and can be compiled using the include files in
 
2189
# INCLUDES, setting the cache variable VAR accordingly.
 
2190
ac_fn_c_check_header_compile ()
 
2191
{
 
2192
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2193
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2194
$as_echo_n "checking for $2... " >&6; }
 
2195
if eval \${$3+:} false; then :
 
2196
  $as_echo_n "(cached) " >&6
 
2197
else
 
2198
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2199
/* end confdefs.h.  */
 
2200
$4
 
2201
#include <$2>
 
2202
_ACEOF
 
2203
if ac_fn_c_try_compile "$LINENO"; then :
 
2204
  eval "$3=yes"
 
2205
else
 
2206
  eval "$3=no"
 
2207
fi
 
2208
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2209
fi
 
2210
eval ac_res=\$$3
 
2211
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2212
$as_echo "$ac_res" >&6; }
 
2213
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
2214
 
 
2215
} # ac_fn_c_check_header_compile
 
2216
 
 
2217
# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
 
2218
# --------------------------------------------
 
2219
# Tries to find the compile-time value of EXPR in a program that includes
 
2220
# INCLUDES, setting VAR accordingly. Returns whether the value could be
 
2221
# computed
 
2222
ac_fn_c_compute_int ()
 
2223
{
 
2224
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2225
  if test "$cross_compiling" = yes; then
 
2226
    # Depending upon the size, compute the lo and hi bounds.
 
2227
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2228
/* end confdefs.h.  */
 
2229
$4
 
2230
int
 
2231
main ()
 
2232
{
 
2233
static int test_array [1 - 2 * !(($2) >= 0)];
 
2234
test_array [0] = 0;
 
2235
return test_array [0];
 
2236
 
 
2237
  ;
 
2238
  return 0;
 
2239
}
 
2240
_ACEOF
 
2241
if ac_fn_c_try_compile "$LINENO"; then :
 
2242
  ac_lo=0 ac_mid=0
 
2243
  while :; do
 
2244
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2245
/* end confdefs.h.  */
 
2246
$4
 
2247
int
 
2248
main ()
 
2249
{
 
2250
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
 
2251
test_array [0] = 0;
 
2252
return test_array [0];
 
2253
 
 
2254
  ;
 
2255
  return 0;
 
2256
}
 
2257
_ACEOF
 
2258
if ac_fn_c_try_compile "$LINENO"; then :
 
2259
  ac_hi=$ac_mid; break
 
2260
else
 
2261
  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
 
2262
                        if test $ac_lo -le $ac_mid; then
 
2263
                          ac_lo= ac_hi=
 
2264
                          break
 
2265
                        fi
 
2266
                        as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
 
2267
fi
 
2268
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2269
  done
 
2270
else
 
2271
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2272
/* end confdefs.h.  */
 
2273
$4
 
2274
int
 
2275
main ()
 
2276
{
 
2277
static int test_array [1 - 2 * !(($2) < 0)];
 
2278
test_array [0] = 0;
 
2279
return test_array [0];
 
2280
 
 
2281
  ;
 
2282
  return 0;
 
2283
}
 
2284
_ACEOF
 
2285
if ac_fn_c_try_compile "$LINENO"; then :
 
2286
  ac_hi=-1 ac_mid=-1
 
2287
  while :; do
 
2288
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2289
/* end confdefs.h.  */
 
2290
$4
 
2291
int
 
2292
main ()
 
2293
{
 
2294
static int test_array [1 - 2 * !(($2) >= $ac_mid)];
 
2295
test_array [0] = 0;
 
2296
return test_array [0];
 
2297
 
 
2298
  ;
 
2299
  return 0;
 
2300
}
 
2301
_ACEOF
 
2302
if ac_fn_c_try_compile "$LINENO"; then :
 
2303
  ac_lo=$ac_mid; break
 
2304
else
 
2305
  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
 
2306
                        if test $ac_mid -le $ac_hi; then
 
2307
                          ac_lo= ac_hi=
 
2308
                          break
 
2309
                        fi
 
2310
                        as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
 
2311
fi
 
2312
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2313
  done
 
2314
else
 
2315
  ac_lo= ac_hi=
 
2316
fi
 
2317
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2318
fi
 
2319
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2320
# Binary search between lo and hi bounds.
 
2321
while test "x$ac_lo" != "x$ac_hi"; do
 
2322
  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
 
2323
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2324
/* end confdefs.h.  */
 
2325
$4
 
2326
int
 
2327
main ()
 
2328
{
 
2329
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
 
2330
test_array [0] = 0;
 
2331
return test_array [0];
 
2332
 
 
2333
  ;
 
2334
  return 0;
 
2335
}
 
2336
_ACEOF
 
2337
if ac_fn_c_try_compile "$LINENO"; then :
 
2338
  ac_hi=$ac_mid
 
2339
else
 
2340
  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
 
2341
fi
 
2342
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2343
done
 
2344
case $ac_lo in #((
 
2345
?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
 
2346
'') ac_retval=1 ;;
 
2347
esac
 
2348
  else
 
2349
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2350
/* end confdefs.h.  */
 
2351
$4
 
2352
static long int longval () { return $2; }
 
2353
static unsigned long int ulongval () { return $2; }
 
2354
#include <stdio.h>
 
2355
#include <stdlib.h>
 
2356
int
 
2357
main ()
 
2358
{
 
2359
 
 
2360
  FILE *f = fopen ("conftest.val", "w");
 
2361
  if (! f)
 
2362
    return 1;
 
2363
  if (($2) < 0)
 
2364
    {
 
2365
      long int i = longval ();
 
2366
      if (i != ($2))
 
2367
        return 1;
 
2368
      fprintf (f, "%ld", i);
 
2369
    }
 
2370
  else
 
2371
    {
 
2372
      unsigned long int i = ulongval ();
 
2373
      if (i != ($2))
 
2374
        return 1;
 
2375
      fprintf (f, "%lu", i);
 
2376
    }
 
2377
  /* Do not output a trailing newline, as this causes \r\n confusion
 
2378
     on some platforms.  */
 
2379
  return ferror (f) || fclose (f) != 0;
 
2380
 
 
2381
  ;
 
2382
  return 0;
 
2383
}
 
2384
_ACEOF
 
2385
if ac_fn_c_try_run "$LINENO"; then :
 
2386
  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
 
2387
else
 
2388
  ac_retval=1
 
2389
fi
 
2390
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
2391
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
2392
rm -f conftest.val
 
2393
 
 
2394
  fi
 
2395
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
2396
  as_fn_set_status $ac_retval
 
2397
 
 
2398
} # ac_fn_c_compute_int
 
2399
 
 
2400
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 
2401
# -------------------------------------------------------
 
2402
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
2403
# the include files in INCLUDES and setting the cache variable VAR
 
2404
# accordingly.
 
2405
ac_fn_c_check_header_mongrel ()
 
2406
{
 
2407
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2408
  if eval \${$3+:} false; then :
 
2409
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2410
$as_echo_n "checking for $2... " >&6; }
 
2411
if eval \${$3+:} false; then :
 
2412
  $as_echo_n "(cached) " >&6
 
2413
fi
 
2414
eval ac_res=\$$3
 
2415
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2416
$as_echo "$ac_res" >&6; }
 
2417
else
 
2418
  # Is the header compilable?
 
2419
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
2420
$as_echo_n "checking $2 usability... " >&6; }
 
2421
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2422
/* end confdefs.h.  */
 
2423
$4
 
2424
#include <$2>
 
2425
_ACEOF
 
2426
if ac_fn_c_try_compile "$LINENO"; then :
 
2427
  ac_header_compiler=yes
 
2428
else
 
2429
  ac_header_compiler=no
 
2430
fi
 
2431
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2432
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
2433
$as_echo "$ac_header_compiler" >&6; }
 
2434
 
 
2435
# Is the header present?
 
2436
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
2437
$as_echo_n "checking $2 presence... " >&6; }
 
2438
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2439
/* end confdefs.h.  */
 
2440
#include <$2>
 
2441
_ACEOF
 
2442
if ac_fn_c_try_cpp "$LINENO"; then :
 
2443
  ac_header_preproc=yes
 
2444
else
 
2445
  ac_header_preproc=no
 
2446
fi
 
2447
rm -f conftest.err conftest.i conftest.$ac_ext
 
2448
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
2449
$as_echo "$ac_header_preproc" >&6; }
 
2450
 
 
2451
# So?  What about this header?
 
2452
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 
2453
  yes:no: )
 
2454
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
2455
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
2456
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2457
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2458
    ;;
 
2459
  no:yes:* )
 
2460
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
2461
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
2462
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
2463
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
2464
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
2465
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
2466
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
2467
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
2468
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2469
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2470
( $as_echo "## ------------------------------------------------------------------------- ##
 
2471
## Report this to https://bugzilla.gnome.org/enter_bug.cgi?product=rhythmbox ##
 
2472
## ------------------------------------------------------------------------- ##"
 
2473
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
2474
    ;;
 
2475
esac
 
2476
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2477
$as_echo_n "checking for $2... " >&6; }
 
2478
if eval \${$3+:} false; then :
 
2479
  $as_echo_n "(cached) " >&6
 
2480
else
 
2481
  eval "$3=\$ac_header_compiler"
 
2482
fi
 
2483
eval ac_res=\$$3
 
2484
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2485
$as_echo "$ac_res" >&6; }
 
2486
fi
 
2487
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
2488
 
 
2489
} # ac_fn_c_check_header_mongrel
 
2490
cat >config.log <<_ACEOF
 
2491
This file contains any messages produced by compilers while
 
2492
running configure, to aid debugging if configure makes a mistake.
 
2493
 
 
2494
It was created by rhythmbox $as_me 3.0.1, which was
 
2495
generated by GNU Autoconf 2.69.  Invocation command line was
 
2496
 
 
2497
  $ $0 $@
 
2498
 
 
2499
_ACEOF
 
2500
exec 5>>config.log
 
2501
{
 
2502
cat <<_ASUNAME
 
2503
## --------- ##
 
2504
## Platform. ##
 
2505
## --------- ##
 
2506
 
 
2507
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 
2508
uname -m = `(uname -m) 2>/dev/null || echo unknown`
 
2509
uname -r = `(uname -r) 2>/dev/null || echo unknown`
 
2510
uname -s = `(uname -s) 2>/dev/null || echo unknown`
 
2511
uname -v = `(uname -v) 2>/dev/null || echo unknown`
 
2512
 
 
2513
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 
2514
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 
2515
 
 
2516
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 
2517
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 
2518
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 
2519
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 
2520
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 
2521
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 
2522
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 
2523
 
 
2524
_ASUNAME
 
2525
 
 
2526
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2527
for as_dir in $PATH
 
2528
do
 
2529
  IFS=$as_save_IFS
 
2530
  test -z "$as_dir" && as_dir=.
 
2531
    $as_echo "PATH: $as_dir"
 
2532
  done
 
2533
IFS=$as_save_IFS
 
2534
 
 
2535
} >&5
 
2536
 
 
2537
cat >&5 <<_ACEOF
 
2538
 
 
2539
 
 
2540
## ----------- ##
 
2541
## Core tests. ##
 
2542
## ----------- ##
 
2543
 
 
2544
_ACEOF
 
2545
 
 
2546
 
 
2547
# Keep a trace of the command line.
 
2548
# Strip out --no-create and --no-recursion so they do not pile up.
 
2549
# Strip out --silent because we don't want to record it for future runs.
 
2550
# Also quote any args containing shell meta-characters.
 
2551
# Make two passes to allow for proper duplicate-argument suppression.
 
2552
ac_configure_args=
 
2553
ac_configure_args0=
 
2554
ac_configure_args1=
 
2555
ac_must_keep_next=false
 
2556
for ac_pass in 1 2
 
2557
do
 
2558
  for ac_arg
 
2559
  do
 
2560
    case $ac_arg in
 
2561
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 
2562
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
2563
    | -silent | --silent | --silen | --sile | --sil)
 
2564
      continue ;;
 
2565
    *\'*)
 
2566
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2567
    esac
 
2568
    case $ac_pass in
 
2569
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
 
2570
    2)
 
2571
      as_fn_append ac_configure_args1 " '$ac_arg'"
 
2572
      if test $ac_must_keep_next = true; then
 
2573
        ac_must_keep_next=false # Got value, back to normal.
 
2574
      else
 
2575
        case $ac_arg in
 
2576
          *=* | --config-cache | -C | -disable-* | --disable-* \
 
2577
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 
2578
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 
2579
          | -with-* | --with-* | -without-* | --without-* | --x)
 
2580
            case "$ac_configure_args0 " in
 
2581
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 
2582
            esac
 
2583
            ;;
 
2584
          -* ) ac_must_keep_next=true ;;
 
2585
        esac
 
2586
      fi
 
2587
      as_fn_append ac_configure_args " '$ac_arg'"
 
2588
      ;;
 
2589
    esac
 
2590
  done
 
2591
done
 
2592
{ ac_configure_args0=; unset ac_configure_args0;}
 
2593
{ ac_configure_args1=; unset ac_configure_args1;}
 
2594
 
 
2595
# When interrupted or exit'd, cleanup temporary files, and complete
 
2596
# config.log.  We remove comments because anyway the quotes in there
 
2597
# would cause problems or look ugly.
 
2598
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
2599
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 
2600
trap 'exit_status=$?
 
2601
  # Save into config.log some information that might help in debugging.
 
2602
  {
 
2603
    echo
 
2604
 
 
2605
    $as_echo "## ---------------- ##
 
2606
## Cache variables. ##
 
2607
## ---------------- ##"
 
2608
    echo
 
2609
    # The following way of writing the cache mishandles newlines in values,
 
2610
(
 
2611
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
2612
    eval ac_val=\$$ac_var
 
2613
    case $ac_val in #(
 
2614
    *${as_nl}*)
 
2615
      case $ac_var in #(
 
2616
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
2617
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
2618
      esac
 
2619
      case $ac_var in #(
 
2620
      _ | IFS | as_nl) ;; #(
 
2621
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
2622
      *) { eval $ac_var=; unset $ac_var;} ;;
 
2623
      esac ;;
 
2624
    esac
 
2625
  done
 
2626
  (set) 2>&1 |
 
2627
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
2628
    *${as_nl}ac_space=\ *)
 
2629
      sed -n \
 
2630
        "s/'\''/'\''\\\\'\'''\''/g;
 
2631
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
2632
      ;; #(
 
2633
    *)
 
2634
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
2635
      ;;
 
2636
    esac |
 
2637
    sort
 
2638
)
 
2639
    echo
 
2640
 
 
2641
    $as_echo "## ----------------- ##
 
2642
## Output variables. ##
 
2643
## ----------------- ##"
 
2644
    echo
 
2645
    for ac_var in $ac_subst_vars
 
2646
    do
 
2647
      eval ac_val=\$$ac_var
 
2648
      case $ac_val in
 
2649
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2650
      esac
 
2651
      $as_echo "$ac_var='\''$ac_val'\''"
 
2652
    done | sort
 
2653
    echo
 
2654
 
 
2655
    if test -n "$ac_subst_files"; then
 
2656
      $as_echo "## ------------------- ##
 
2657
## File substitutions. ##
 
2658
## ------------------- ##"
 
2659
      echo
 
2660
      for ac_var in $ac_subst_files
 
2661
      do
 
2662
        eval ac_val=\$$ac_var
 
2663
        case $ac_val in
 
2664
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2665
        esac
 
2666
        $as_echo "$ac_var='\''$ac_val'\''"
 
2667
      done | sort
 
2668
      echo
 
2669
    fi
 
2670
 
 
2671
    if test -s confdefs.h; then
 
2672
      $as_echo "## ----------- ##
 
2673
## confdefs.h. ##
 
2674
## ----------- ##"
 
2675
      echo
 
2676
      cat confdefs.h
 
2677
      echo
 
2678
    fi
 
2679
    test "$ac_signal" != 0 &&
 
2680
      $as_echo "$as_me: caught signal $ac_signal"
 
2681
    $as_echo "$as_me: exit $exit_status"
 
2682
  } >&5
 
2683
  rm -f core *.core core.conftest.* &&
 
2684
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 
2685
    exit $exit_status
 
2686
' 0
 
2687
for ac_signal in 1 2 13 15; do
 
2688
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
 
2689
done
 
2690
ac_signal=0
 
2691
 
 
2692
# confdefs.h avoids OS command line length limits that DEFS can exceed.
 
2693
rm -f -r conftest* confdefs.h
 
2694
 
 
2695
$as_echo "/* confdefs.h */" > confdefs.h
 
2696
 
 
2697
# Predefined preprocessor variables.
 
2698
 
 
2699
cat >>confdefs.h <<_ACEOF
 
2700
#define PACKAGE_NAME "$PACKAGE_NAME"
 
2701
_ACEOF
 
2702
 
 
2703
cat >>confdefs.h <<_ACEOF
 
2704
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 
2705
_ACEOF
 
2706
 
 
2707
cat >>confdefs.h <<_ACEOF
 
2708
#define PACKAGE_VERSION "$PACKAGE_VERSION"
 
2709
_ACEOF
 
2710
 
 
2711
cat >>confdefs.h <<_ACEOF
 
2712
#define PACKAGE_STRING "$PACKAGE_STRING"
 
2713
_ACEOF
 
2714
 
 
2715
cat >>confdefs.h <<_ACEOF
 
2716
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 
2717
_ACEOF
 
2718
 
 
2719
cat >>confdefs.h <<_ACEOF
 
2720
#define PACKAGE_URL "$PACKAGE_URL"
 
2721
_ACEOF
 
2722
 
 
2723
 
 
2724
# Let the site file select an alternate cache file if it wants to.
 
2725
# Prefer an explicitly selected file to automatically selected ones.
 
2726
ac_site_file1=NONE
 
2727
ac_site_file2=NONE
 
2728
if test -n "$CONFIG_SITE"; then
 
2729
  # We do not want a PATH search for config.site.
 
2730
  case $CONFIG_SITE in #((
 
2731
    -*)  ac_site_file1=./$CONFIG_SITE;;
 
2732
    */*) ac_site_file1=$CONFIG_SITE;;
 
2733
    *)   ac_site_file1=./$CONFIG_SITE;;
 
2734
  esac
 
2735
elif test "x$prefix" != xNONE; then
 
2736
  ac_site_file1=$prefix/share/config.site
 
2737
  ac_site_file2=$prefix/etc/config.site
 
2738
else
 
2739
  ac_site_file1=$ac_default_prefix/share/config.site
 
2740
  ac_site_file2=$ac_default_prefix/etc/config.site
 
2741
fi
 
2742
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 
2743
do
 
2744
  test "x$ac_site_file" = xNONE && continue
 
2745
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
2746
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 
2747
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
 
2748
    sed 's/^/| /' "$ac_site_file" >&5
 
2749
    . "$ac_site_file" \
 
2750
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2751
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2752
as_fn_error $? "failed to load site script $ac_site_file
 
2753
See \`config.log' for more details" "$LINENO" 5; }
 
2754
  fi
 
2755
done
 
2756
 
 
2757
if test -r "$cache_file"; then
 
2758
  # Some versions of bash will fail to source /dev/null (special files
 
2759
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
2760
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
2761
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 
2762
$as_echo "$as_me: loading cache $cache_file" >&6;}
 
2763
    case $cache_file in
 
2764
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
2765
      *)                      . "./$cache_file";;
 
2766
    esac
 
2767
  fi
 
2768
else
 
2769
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 
2770
$as_echo "$as_me: creating cache $cache_file" >&6;}
 
2771
  >$cache_file
 
2772
fi
 
2773
 
 
2774
gt_needs="$gt_needs "
 
2775
# Check that the precious variables saved in the cache have kept the same
 
2776
# value.
 
2777
ac_cache_corrupted=false
 
2778
for ac_var in $ac_precious_vars; do
 
2779
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
 
2780
  eval ac_new_set=\$ac_env_${ac_var}_set
 
2781
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
2782
  eval ac_new_val=\$ac_env_${ac_var}_value
 
2783
  case $ac_old_set,$ac_new_set in
 
2784
    set,)
 
2785
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2786
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
2787
      ac_cache_corrupted=: ;;
 
2788
    ,set)
 
2789
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 
2790
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
2791
      ac_cache_corrupted=: ;;
 
2792
    ,);;
 
2793
    *)
 
2794
      if test "x$ac_old_val" != "x$ac_new_val"; then
 
2795
        # differences in whitespace do not lead to failure.
 
2796
        ac_old_val_w=`echo x $ac_old_val`
 
2797
        ac_new_val_w=`echo x $ac_new_val`
 
2798
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
2799
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 
2800
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
2801
          ac_cache_corrupted=:
 
2802
        else
 
2803
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2804
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
2805
          eval $ac_var=\$ac_old_val
 
2806
        fi
 
2807
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 
2808
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
2809
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 
2810
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 
2811
      fi;;
 
2812
  esac
 
2813
  # Pass precious variables to config.status.
 
2814
  if test "$ac_new_set" = set; then
 
2815
    case $ac_new_val in
 
2816
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2817
    *) ac_arg=$ac_var=$ac_new_val ;;
 
2818
    esac
 
2819
    case " $ac_configure_args " in
 
2820
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 
2821
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
 
2822
    esac
 
2823
  fi
 
2824
done
 
2825
if $ac_cache_corrupted; then
 
2826
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2827
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2828
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 
2829
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
2830
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 
2831
fi
 
2832
## -------------------- ##
 
2833
## Main body of script. ##
 
2834
## -------------------- ##
 
2835
 
 
2836
ac_ext=c
 
2837
ac_cpp='$CPP $CPPFLAGS'
 
2838
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2839
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2840
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2841
 
 
2842
 
 
2843
 
 
2844
 
 
2845
ac_config_headers="$ac_config_headers config.h"
 
2846
 
 
2847
am__api_version='1.13'
 
2848
 
 
2849
ac_aux_dir=
 
2850
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
2851
  if test -f "$ac_dir/install-sh"; then
 
2852
    ac_aux_dir=$ac_dir
 
2853
    ac_install_sh="$ac_aux_dir/install-sh -c"
 
2854
    break
 
2855
  elif test -f "$ac_dir/install.sh"; then
 
2856
    ac_aux_dir=$ac_dir
 
2857
    ac_install_sh="$ac_aux_dir/install.sh -c"
 
2858
    break
 
2859
  elif test -f "$ac_dir/shtool"; then
 
2860
    ac_aux_dir=$ac_dir
 
2861
    ac_install_sh="$ac_aux_dir/shtool install -c"
 
2862
    break
 
2863
  fi
 
2864
done
 
2865
if test -z "$ac_aux_dir"; then
 
2866
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 
2867
fi
 
2868
 
 
2869
# These three variables are undocumented and unsupported,
 
2870
# and are intended to be withdrawn in a future Autoconf release.
 
2871
# They can cause serious problems if a builder's source tree is in a directory
 
2872
# whose full name contains unusual characters.
 
2873
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
2874
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
2875
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
2876
 
 
2877
 
 
2878
# Find a good install program.  We prefer a C program (faster),
 
2879
# so one script is as good as another.  But avoid the broken or
 
2880
# incompatible versions:
 
2881
# SysV /etc/install, /usr/sbin/install
 
2882
# SunOS /usr/etc/install
 
2883
# IRIX /sbin/install
 
2884
# AIX /bin/install
 
2885
# AmigaOS /C/install, which installs bootblocks on floppy discs
 
2886
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 
2887
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
 
2888
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
2889
# OS/2's system install, which has a completely different semantic
 
2890
# ./install, which can be erroneously created by make from ./install.sh.
 
2891
# Reject install programs that cannot install multiple files.
 
2892
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 
2893
$as_echo_n "checking for a BSD-compatible install... " >&6; }
 
2894
if test -z "$INSTALL"; then
 
2895
if ${ac_cv_path_install+:} false; then :
 
2896
  $as_echo_n "(cached) " >&6
 
2897
else
 
2898
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2899
for as_dir in $PATH
 
2900
do
 
2901
  IFS=$as_save_IFS
 
2902
  test -z "$as_dir" && as_dir=.
 
2903
    # Account for people who put trailing slashes in PATH elements.
 
2904
case $as_dir/ in #((
 
2905
  ./ | .// | /[cC]/* | \
 
2906
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
2907
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
 
2908
  /usr/ucb/* ) ;;
 
2909
  *)
 
2910
    # OSF1 and SCO ODT 3.0 have their own names for install.
 
2911
    # Don't use installbsd from OSF since it installs stuff as root
 
2912
    # by default.
 
2913
    for ac_prog in ginstall scoinst install; do
 
2914
      for ac_exec_ext in '' $ac_executable_extensions; do
 
2915
        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
2916
          if test $ac_prog = install &&
 
2917
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
2918
            # AIX install.  It has an incompatible calling convention.
 
2919
            :
 
2920
          elif test $ac_prog = install &&
 
2921
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
2922
            # program-specific install script used by HP pwplus--don't use.
 
2923
            :
 
2924
          else
 
2925
            rm -rf conftest.one conftest.two conftest.dir
 
2926
            echo one > conftest.one
 
2927
            echo two > conftest.two
 
2928
            mkdir conftest.dir
 
2929
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
2930
              test -s conftest.one && test -s conftest.two &&
 
2931
              test -s conftest.dir/conftest.one &&
 
2932
              test -s conftest.dir/conftest.two
 
2933
            then
 
2934
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
2935
              break 3
 
2936
            fi
 
2937
          fi
 
2938
        fi
 
2939
      done
 
2940
    done
 
2941
    ;;
 
2942
esac
 
2943
 
 
2944
  done
 
2945
IFS=$as_save_IFS
 
2946
 
 
2947
rm -rf conftest.one conftest.two conftest.dir
 
2948
 
 
2949
fi
 
2950
  if test "${ac_cv_path_install+set}" = set; then
 
2951
    INSTALL=$ac_cv_path_install
 
2952
  else
 
2953
    # As a last resort, use the slow shell script.  Don't cache a
 
2954
    # value for INSTALL within a source directory, because that will
 
2955
    # break other packages using the cache if that directory is
 
2956
    # removed, or if the value is a relative name.
 
2957
    INSTALL=$ac_install_sh
 
2958
  fi
 
2959
fi
 
2960
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 
2961
$as_echo "$INSTALL" >&6; }
 
2962
 
 
2963
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 
2964
# It thinks the first close brace ends the variable substitution.
 
2965
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 
2966
 
 
2967
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 
2968
 
 
2969
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
2970
 
 
2971
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 
2972
$as_echo_n "checking whether build environment is sane... " >&6; }
 
2973
# Reject unsafe characters in $srcdir or the absolute working directory
 
2974
# name.  Accept space and tab only in the latter.
 
2975
am_lf='
 
2976
'
 
2977
case `pwd` in
 
2978
  *[\\\"\#\$\&\'\`$am_lf]*)
 
2979
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
 
2980
esac
 
2981
case $srcdir in
 
2982
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 
2983
    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
 
2984
esac
 
2985
 
 
2986
# Do 'set' in a subshell so we don't clobber the current shell's
 
2987
# arguments.  Must try -L first in case configure is actually a
 
2988
# symlink; some systems play weird games with the mod time of symlinks
 
2989
# (eg FreeBSD returns the mod time of the symlink's containing
 
2990
# directory).
 
2991
if (
 
2992
   am_has_slept=no
 
2993
   for am_try in 1 2; do
 
2994
     echo "timestamp, slept: $am_has_slept" > conftest.file
 
2995
     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
 
2996
     if test "$*" = "X"; then
 
2997
        # -L didn't work.
 
2998
        set X `ls -t "$srcdir/configure" conftest.file`
 
2999
     fi
 
3000
     if test "$*" != "X $srcdir/configure conftest.file" \
 
3001
        && test "$*" != "X conftest.file $srcdir/configure"; then
 
3002
 
 
3003
        # If neither matched, then we have a broken ls.  This can happen
 
3004
        # if, for instance, CONFIG_SHELL is bash and it inherits a
 
3005
        # broken ls alias from the environment.  This has actually
 
3006
        # happened.  Such a system could not be considered "sane".
 
3007
        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 
3008
  alias in your environment" "$LINENO" 5
 
3009
     fi
 
3010
     if test "$2" = conftest.file || test $am_try -eq 2; then
 
3011
       break
 
3012
     fi
 
3013
     # Just in case.
 
3014
     sleep 1
 
3015
     am_has_slept=yes
 
3016
   done
 
3017
   test "$2" = conftest.file
 
3018
   )
 
3019
then
 
3020
   # Ok.
 
3021
   :
 
3022
else
 
3023
   as_fn_error $? "newly created file is older than distributed files!
 
3024
Check your system clock" "$LINENO" 5
 
3025
fi
 
3026
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3027
$as_echo "yes" >&6; }
 
3028
# If we didn't sleep, we still need to ensure time stamps of config.status and
 
3029
# generated files are strictly newer.
 
3030
am_sleep_pid=
 
3031
if grep 'slept: no' conftest.file >/dev/null 2>&1; then
 
3032
  ( sleep 1 ) &
 
3033
  am_sleep_pid=$!
 
3034
fi
 
3035
 
 
3036
rm -f conftest.file
 
3037
 
 
3038
test "$program_prefix" != NONE &&
 
3039
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
 
3040
# Use a double $ so make ignores it.
 
3041
test "$program_suffix" != NONE &&
 
3042
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 
3043
# Double any \ or $.
 
3044
# By default was `s,x,x', remove it if useless.
 
3045
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
3046
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
 
3047
 
 
3048
# expand $ac_aux_dir to an absolute path
 
3049
am_aux_dir=`cd $ac_aux_dir && pwd`
 
3050
 
 
3051
if test x"${MISSING+set}" != xset; then
 
3052
  case $am_aux_dir in
 
3053
  *\ * | *\     *)
 
3054
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
3055
  *)
 
3056
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
3057
  esac
 
3058
fi
 
3059
# Use eval to expand $SHELL
 
3060
if eval "$MISSING --is-lightweight"; then
 
3061
  am_missing_run="$MISSING "
 
3062
else
 
3063
  am_missing_run=
 
3064
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
 
3065
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
 
3066
fi
 
3067
 
 
3068
if test x"${install_sh}" != xset; then
 
3069
  case $am_aux_dir in
 
3070
  *\ * | *\     *)
 
3071
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
3072
  *)
 
3073
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
3074
  esac
 
3075
fi
 
3076
 
 
3077
# Installed binaries are usually stripped using 'strip' when the user
 
3078
# run "make install-strip".  However 'strip' might not be the right
 
3079
# tool to use in cross-compilation environments, therefore Automake
 
3080
# will honor the 'STRIP' environment variable to overrule this program.
 
3081
if test "$cross_compiling" != no; then
 
3082
  if test -n "$ac_tool_prefix"; then
 
3083
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
3084
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
3085
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3086
$as_echo_n "checking for $ac_word... " >&6; }
 
3087
if ${ac_cv_prog_STRIP+:} false; then :
 
3088
  $as_echo_n "(cached) " >&6
 
3089
else
 
3090
  if test -n "$STRIP"; then
 
3091
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
3092
else
 
3093
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3094
for as_dir in $PATH
 
3095
do
 
3096
  IFS=$as_save_IFS
 
3097
  test -z "$as_dir" && as_dir=.
 
3098
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3099
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3100
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
3101
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3102
    break 2
 
3103
  fi
 
3104
done
 
3105
  done
 
3106
IFS=$as_save_IFS
 
3107
 
 
3108
fi
 
3109
fi
 
3110
STRIP=$ac_cv_prog_STRIP
 
3111
if test -n "$STRIP"; then
 
3112
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
3113
$as_echo "$STRIP" >&6; }
 
3114
else
 
3115
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3116
$as_echo "no" >&6; }
 
3117
fi
 
3118
 
 
3119
 
 
3120
fi
 
3121
if test -z "$ac_cv_prog_STRIP"; then
 
3122
  ac_ct_STRIP=$STRIP
 
3123
  # Extract the first word of "strip", so it can be a program name with args.
 
3124
set dummy strip; ac_word=$2
 
3125
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3126
$as_echo_n "checking for $ac_word... " >&6; }
 
3127
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 
3128
  $as_echo_n "(cached) " >&6
 
3129
else
 
3130
  if test -n "$ac_ct_STRIP"; then
 
3131
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
3132
else
 
3133
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3134
for as_dir in $PATH
 
3135
do
 
3136
  IFS=$as_save_IFS
 
3137
  test -z "$as_dir" && as_dir=.
 
3138
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3139
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3140
    ac_cv_prog_ac_ct_STRIP="strip"
 
3141
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3142
    break 2
 
3143
  fi
 
3144
done
 
3145
  done
 
3146
IFS=$as_save_IFS
 
3147
 
 
3148
fi
 
3149
fi
 
3150
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
3151
if test -n "$ac_ct_STRIP"; then
 
3152
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
3153
$as_echo "$ac_ct_STRIP" >&6; }
 
3154
else
 
3155
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3156
$as_echo "no" >&6; }
 
3157
fi
 
3158
 
 
3159
  if test "x$ac_ct_STRIP" = x; then
 
3160
    STRIP=":"
 
3161
  else
 
3162
    case $cross_compiling:$ac_tool_warned in
 
3163
yes:)
 
3164
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3165
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3166
ac_tool_warned=yes ;;
 
3167
esac
 
3168
    STRIP=$ac_ct_STRIP
 
3169
  fi
 
3170
else
 
3171
  STRIP="$ac_cv_prog_STRIP"
 
3172
fi
 
3173
 
 
3174
fi
 
3175
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
3176
 
 
3177
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 
3178
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 
3179
if test -z "$MKDIR_P"; then
 
3180
  if ${ac_cv_path_mkdir+:} false; then :
 
3181
  $as_echo_n "(cached) " >&6
 
3182
else
 
3183
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3184
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 
3185
do
 
3186
  IFS=$as_save_IFS
 
3187
  test -z "$as_dir" && as_dir=.
 
3188
    for ac_prog in mkdir gmkdir; do
 
3189
         for ac_exec_ext in '' $ac_executable_extensions; do
 
3190
           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
 
3191
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 
3192
             'mkdir (GNU coreutils) '* | \
 
3193
             'mkdir (coreutils) '* | \
 
3194
             'mkdir (fileutils) '4.1*)
 
3195
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 
3196
               break 3;;
 
3197
           esac
 
3198
         done
 
3199
       done
 
3200
  done
 
3201
IFS=$as_save_IFS
 
3202
 
 
3203
fi
 
3204
 
 
3205
  test -d ./--version && rmdir ./--version
 
3206
  if test "${ac_cv_path_mkdir+set}" = set; then
 
3207
    MKDIR_P="$ac_cv_path_mkdir -p"
 
3208
  else
 
3209
    # As a last resort, use the slow shell script.  Don't cache a
 
3210
    # value for MKDIR_P within a source directory, because that will
 
3211
    # break other packages using the cache if that directory is
 
3212
    # removed, or if the value is a relative name.
 
3213
    MKDIR_P="$ac_install_sh -d"
 
3214
  fi
 
3215
fi
 
3216
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 
3217
$as_echo "$MKDIR_P" >&6; }
 
3218
 
 
3219
for ac_prog in gawk mawk nawk awk
 
3220
do
 
3221
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
3222
set dummy $ac_prog; ac_word=$2
 
3223
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3224
$as_echo_n "checking for $ac_word... " >&6; }
 
3225
if ${ac_cv_prog_AWK+:} false; then :
 
3226
  $as_echo_n "(cached) " >&6
 
3227
else
 
3228
  if test -n "$AWK"; then
 
3229
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
 
3230
else
 
3231
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3232
for as_dir in $PATH
 
3233
do
 
3234
  IFS=$as_save_IFS
 
3235
  test -z "$as_dir" && as_dir=.
 
3236
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3237
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3238
    ac_cv_prog_AWK="$ac_prog"
 
3239
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3240
    break 2
 
3241
  fi
 
3242
done
 
3243
  done
 
3244
IFS=$as_save_IFS
 
3245
 
 
3246
fi
 
3247
fi
 
3248
AWK=$ac_cv_prog_AWK
 
3249
if test -n "$AWK"; then
 
3250
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 
3251
$as_echo "$AWK" >&6; }
 
3252
else
 
3253
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3254
$as_echo "no" >&6; }
 
3255
fi
 
3256
 
 
3257
 
 
3258
  test -n "$AWK" && break
 
3259
done
 
3260
 
 
3261
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
3262
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
3263
set x ${MAKE-make}
 
3264
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
3265
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
 
3266
  $as_echo_n "(cached) " >&6
 
3267
else
 
3268
  cat >conftest.make <<\_ACEOF
 
3269
SHELL = /bin/sh
 
3270
all:
 
3271
        @echo '@@@%%%=$(MAKE)=@@@%%%'
 
3272
_ACEOF
 
3273
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 
3274
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
3275
  *@@@%%%=?*=@@@%%%*)
 
3276
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
3277
  *)
 
3278
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
3279
esac
 
3280
rm -f conftest.make
 
3281
fi
 
3282
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
3283
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3284
$as_echo "yes" >&6; }
 
3285
  SET_MAKE=
 
3286
else
 
3287
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3288
$as_echo "no" >&6; }
 
3289
  SET_MAKE="MAKE=${MAKE-make}"
 
3290
fi
 
3291
 
 
3292
rm -rf .tst 2>/dev/null
 
3293
mkdir .tst 2>/dev/null
 
3294
if test -d .tst; then
 
3295
  am__leading_dot=.
 
3296
else
 
3297
  am__leading_dot=_
 
3298
fi
 
3299
rmdir .tst 2>/dev/null
 
3300
 
 
3301
# Check whether --enable-silent-rules was given.
 
3302
if test "${enable_silent_rules+set}" = set; then :
 
3303
  enableval=$enable_silent_rules;
 
3304
fi
 
3305
 
 
3306
case $enable_silent_rules in # (((
 
3307
  yes) AM_DEFAULT_VERBOSITY=0;;
 
3308
   no) AM_DEFAULT_VERBOSITY=1;;
 
3309
    *) AM_DEFAULT_VERBOSITY=1;;
 
3310
esac
 
3311
am_make=${MAKE-make}
 
3312
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
 
3313
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
 
3314
if ${am_cv_make_support_nested_variables+:} false; then :
 
3315
  $as_echo_n "(cached) " >&6
 
3316
else
 
3317
  if $as_echo 'TRUE=$(BAR$(V))
 
3318
BAR0=false
 
3319
BAR1=true
 
3320
V=1
 
3321
am__doit:
 
3322
        @$(TRUE)
 
3323
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
 
3324
  am_cv_make_support_nested_variables=yes
 
3325
else
 
3326
  am_cv_make_support_nested_variables=no
 
3327
fi
 
3328
fi
 
3329
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
 
3330
$as_echo "$am_cv_make_support_nested_variables" >&6; }
 
3331
if test $am_cv_make_support_nested_variables = yes; then
 
3332
    AM_V='$(V)'
 
3333
  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
 
3334
else
 
3335
  AM_V=$AM_DEFAULT_VERBOSITY
 
3336
  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
 
3337
fi
 
3338
AM_BACKSLASH='\'
 
3339
 
 
3340
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
3341
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
3342
  # is not polluted with repeated "-I."
 
3343
  am__isrc=' -I$(srcdir)'
 
3344
  # test to see if srcdir already configured
 
3345
  if test -f $srcdir/config.status; then
 
3346
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 
3347
  fi
 
3348
fi
 
3349
 
 
3350
# test whether we have cygpath
 
3351
if test -z "$CYGPATH_W"; then
 
3352
  if (cygpath --version) >/dev/null 2>/dev/null; then
 
3353
    CYGPATH_W='cygpath -w'
 
3354
  else
 
3355
    CYGPATH_W=echo
 
3356
  fi
 
3357
fi
 
3358
 
 
3359
 
 
3360
# Define the identity of the package.
 
3361
 PACKAGE='rhythmbox'
 
3362
 VERSION='3.0.1'
 
3363
 
 
3364
 
 
3365
cat >>confdefs.h <<_ACEOF
 
3366
#define PACKAGE "$PACKAGE"
 
3367
_ACEOF
 
3368
 
 
3369
 
 
3370
cat >>confdefs.h <<_ACEOF
 
3371
#define VERSION "$VERSION"
 
3372
_ACEOF
 
3373
 
 
3374
# Some tools Automake needs.
 
3375
 
 
3376
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 
3377
 
 
3378
 
 
3379
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 
3380
 
 
3381
 
 
3382
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 
3383
 
 
3384
 
 
3385
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 
3386
 
 
3387
 
 
3388
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 
3389
 
 
3390
# For better backward compatibility.  To be removed once Automake 1.9.x
 
3391
# dies out for good.  For more background, see:
 
3392
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
 
3393
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
 
3394
mkdir_p='$(MKDIR_P)'
 
3395
 
 
3396
# We need awk for the "check" target.  The system "awk" is bad on
 
3397
# some platforms.
 
3398
# Always define AMTAR for backward compatibility.  Yes, it's still used
 
3399
# in the wild :-(  We should find a proper way to deprecate it ...
 
3400
AMTAR='$${TAR-tar}'
 
3401
 
 
3402
 
 
3403
# We'll loop over all known methods to create a tar archive until one works.
 
3404
_am_tools='gnutar plaintar pax cpio none'
 
3405
 
 
3406
# The POSIX 1988 'ustar' format is defined with fixed-size fields.
 
3407
      # There is notably a 21 bits limit for the UID and the GID.  In fact,
 
3408
      # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
 
3409
      # and bug#13588).
 
3410
      am_max_uid=2097151 # 2^21 - 1
 
3411
      am_max_gid=$am_max_uid
 
3412
      # The $UID and $GID variables are not portable, so we need to resort
 
3413
      # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
 
3414
      # below are definitely unexpected, so allow the users to see them
 
3415
      # (that is, avoid stderr redirection).
 
3416
      am_uid=`id -u || echo unknown`
 
3417
      am_gid=`id -g || echo unknown`
 
3418
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
 
3419
$as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
 
3420
      if test $am_uid -le $am_max_uid; then
 
3421
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3422
$as_echo "yes" >&6; }
 
3423
      else
 
3424
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3425
$as_echo "no" >&6; }
 
3426
         _am_tools=none
 
3427
      fi
 
3428
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
 
3429
$as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
 
3430
      if test $am_gid -le $am_max_gid; then
 
3431
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3432
$as_echo "yes" >&6; }
 
3433
      else
 
3434
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3435
$as_echo "no" >&6; }
 
3436
        _am_tools=none
 
3437
      fi
 
3438
 
 
3439
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
 
3440
$as_echo_n "checking how to create a ustar tar archive... " >&6; }
 
3441
 
 
3442
  # Go ahead even if we have the value already cached.  We do so because we
 
3443
  # need to set the values for the 'am__tar' and 'am__untar' variables.
 
3444
  _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
 
3445
 
 
3446
  for _am_tool in $_am_tools; do
 
3447
    case $_am_tool in
 
3448
    gnutar)
 
3449
      for _am_tar in tar gnutar gtar; do
 
3450
        { echo "$as_me:$LINENO: $_am_tar --version" >&5
 
3451
   ($_am_tar --version) >&5 2>&5
 
3452
   ac_status=$?
 
3453
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3454
   (exit $ac_status); } && break
 
3455
      done
 
3456
      am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
 
3457
      am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
 
3458
      am__untar="$_am_tar -xf -"
 
3459
      ;;
 
3460
    plaintar)
 
3461
      # Must skip GNU tar: if it does not support --format= it doesn't create
 
3462
      # ustar tarball either.
 
3463
      (tar --version) >/dev/null 2>&1 && continue
 
3464
      am__tar='tar chf - "$$tardir"'
 
3465
      am__tar_='tar chf - "$tardir"'
 
3466
      am__untar='tar xf -'
 
3467
      ;;
 
3468
    pax)
 
3469
      am__tar='pax -L -x ustar -w "$$tardir"'
 
3470
      am__tar_='pax -L -x ustar -w "$tardir"'
 
3471
      am__untar='pax -r'
 
3472
      ;;
 
3473
    cpio)
 
3474
      am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
 
3475
      am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
 
3476
      am__untar='cpio -i -H ustar -d'
 
3477
      ;;
 
3478
    none)
 
3479
      am__tar=false
 
3480
      am__tar_=false
 
3481
      am__untar=false
 
3482
      ;;
 
3483
    esac
 
3484
 
 
3485
    # If the value was cached, stop now.  We just wanted to have am__tar
 
3486
    # and am__untar set.
 
3487
    test -n "${am_cv_prog_tar_ustar}" && break
 
3488
 
 
3489
    # tar/untar a dummy directory, and stop if the command works.
 
3490
    rm -rf conftest.dir
 
3491
    mkdir conftest.dir
 
3492
    echo GrepMe > conftest.dir/file
 
3493
    { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
 
3494
   (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
 
3495
   ac_status=$?
 
3496
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3497
   (exit $ac_status); }
 
3498
    rm -rf conftest.dir
 
3499
    if test -s conftest.tar; then
 
3500
      { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
 
3501
   ($am__untar <conftest.tar) >&5 2>&5
 
3502
   ac_status=$?
 
3503
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3504
   (exit $ac_status); }
 
3505
      { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
 
3506
   (cat conftest.dir/file) >&5 2>&5
 
3507
   ac_status=$?
 
3508
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3509
   (exit $ac_status); }
 
3510
      grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
 
3511
    fi
 
3512
  done
 
3513
  rm -rf conftest.dir
 
3514
 
 
3515
  if ${am_cv_prog_tar_ustar+:} false; then :
 
3516
  $as_echo_n "(cached) " >&6
 
3517
else
 
3518
  am_cv_prog_tar_ustar=$_am_tool
 
3519
fi
 
3520
 
 
3521
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
 
3522
$as_echo "$am_cv_prog_tar_ustar" >&6; }
 
3523
 
 
3524
 
 
3525
 
 
3526
 
 
3527
 
 
3528
 
 
3529
 
 
3530
 
 
3531
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
3532
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
 
3533
    # Check whether --enable-maintainer-mode was given.
 
3534
if test "${enable_maintainer_mode+set}" = set; then :
 
3535
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
 
3536
else
 
3537
  USE_MAINTAINER_MODE=yes
 
3538
fi
 
3539
 
 
3540
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
 
3541
$as_echo "$USE_MAINTAINER_MODE" >&6; }
 
3542
   if test $USE_MAINTAINER_MODE = yes; then
 
3543
  MAINTAINER_MODE_TRUE=
 
3544
  MAINTAINER_MODE_FALSE='#'
 
3545
else
 
3546
  MAINTAINER_MODE_TRUE='#'
 
3547
  MAINTAINER_MODE_FALSE=
 
3548
fi
 
3549
 
 
3550
  MAINT=$MAINTAINER_MODE_TRUE
 
3551
 
 
3552
 
 
3553
 
 
3554
 
 
3555
 
 
3556
        DISABLE_DEPRECATED=""
 
3557
        if test $USE_MAINTAINER_MODE = yes; then
 
3558
                DOMAINS="GCONF BONOBO BONOBO_UI GNOME LIBGLADE GNOME_VFS WNCK LIBSOUP"
 
3559
                for DOMAIN in $DOMAINS; do
 
3560
                       DISABLE_DEPRECATED="$DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_SINGLE_INCLUDES"
 
3561
                done
 
3562
        fi
 
3563
 
 
3564
 
 
3565
 
 
3566
 
 
3567
# plugin API versioning
 
3568
# Increment on interface addition, reset on removal
 
3569
RHYTHMBOX_CORE_AGE=0
 
3570
# Increment on interface add, remove, or change
 
3571
RHYTHMBOX_CORE_CURRENT=8
 
3572
# Increment on source change, reset when CURRENT changes.
 
3573
RHYTHMBOX_CORE_REVISION=0
 
3574
 
 
3575
 
 
3576
 
 
3577
 
 
3578
 
 
3579
# Check whether --enable-silent-rules was given.
 
3580
if test "${enable_silent_rules+set}" = set; then :
 
3581
  enableval=$enable_silent_rules;
 
3582
fi
 
3583
 
 
3584
case $enable_silent_rules in # (((
 
3585
  yes) AM_DEFAULT_VERBOSITY=0;;
 
3586
   no) AM_DEFAULT_VERBOSITY=1;;
 
3587
    *) AM_DEFAULT_VERBOSITY=0;;
 
3588
esac
 
3589
am_make=${MAKE-make}
 
3590
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
 
3591
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
 
3592
if ${am_cv_make_support_nested_variables+:} false; then :
 
3593
  $as_echo_n "(cached) " >&6
 
3594
else
 
3595
  if $as_echo 'TRUE=$(BAR$(V))
 
3596
BAR0=false
 
3597
BAR1=true
 
3598
V=1
 
3599
am__doit:
 
3600
        @$(TRUE)
 
3601
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
 
3602
  am_cv_make_support_nested_variables=yes
 
3603
else
 
3604
  am_cv_make_support_nested_variables=no
 
3605
fi
 
3606
fi
 
3607
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
 
3608
$as_echo "$am_cv_make_support_nested_variables" >&6; }
 
3609
if test $am_cv_make_support_nested_variables = yes; then
 
3610
    AM_V='$(V)'
 
3611
  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
 
3612
else
 
3613
  AM_V=$AM_DEFAULT_VERBOSITY
 
3614
  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
 
3615
fi
 
3616
AM_BACKSLASH='\'
 
3617
 
 
3618
 
 
3619
 
 
3620
 
 
3621
GOBJECT_INTROSPECTION_REQS=0.10.0
 
3622
 
 
3623
 
 
3624
 
 
3625
 
 
3626
 
 
3627
 
 
3628
 
 
3629
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
 
3630
        if test -n "$ac_tool_prefix"; then
 
3631
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
 
3632
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
 
3633
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3634
$as_echo_n "checking for $ac_word... " >&6; }
 
3635
if ${ac_cv_path_PKG_CONFIG+:} false; then :
 
3636
  $as_echo_n "(cached) " >&6
 
3637
else
 
3638
  case $PKG_CONFIG in
 
3639
  [\\/]* | ?:[\\/]*)
 
3640
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 
3641
  ;;
 
3642
  *)
 
3643
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3644
for as_dir in $PATH
 
3645
do
 
3646
  IFS=$as_save_IFS
 
3647
  test -z "$as_dir" && as_dir=.
 
3648
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3649
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3650
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
3651
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3652
    break 2
 
3653
  fi
 
3654
done
 
3655
  done
 
3656
IFS=$as_save_IFS
 
3657
 
 
3658
  ;;
 
3659
esac
 
3660
fi
 
3661
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 
3662
if test -n "$PKG_CONFIG"; then
 
3663
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
 
3664
$as_echo "$PKG_CONFIG" >&6; }
 
3665
else
 
3666
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3667
$as_echo "no" >&6; }
 
3668
fi
 
3669
 
 
3670
 
 
3671
fi
 
3672
if test -z "$ac_cv_path_PKG_CONFIG"; then
 
3673
  ac_pt_PKG_CONFIG=$PKG_CONFIG
 
3674
  # Extract the first word of "pkg-config", so it can be a program name with args.
 
3675
set dummy pkg-config; ac_word=$2
 
3676
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3677
$as_echo_n "checking for $ac_word... " >&6; }
 
3678
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
 
3679
  $as_echo_n "(cached) " >&6
 
3680
else
 
3681
  case $ac_pt_PKG_CONFIG in
 
3682
  [\\/]* | ?:[\\/]*)
 
3683
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
 
3684
  ;;
 
3685
  *)
 
3686
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3687
for as_dir in $PATH
 
3688
do
 
3689
  IFS=$as_save_IFS
 
3690
  test -z "$as_dir" && as_dir=.
 
3691
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3692
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3693
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
3694
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3695
    break 2
 
3696
  fi
 
3697
done
 
3698
  done
 
3699
IFS=$as_save_IFS
 
3700
 
 
3701
  ;;
 
3702
esac
 
3703
fi
 
3704
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
 
3705
if test -n "$ac_pt_PKG_CONFIG"; then
 
3706
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
 
3707
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
 
3708
else
 
3709
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3710
$as_echo "no" >&6; }
 
3711
fi
 
3712
 
 
3713
  if test "x$ac_pt_PKG_CONFIG" = x; then
 
3714
    PKG_CONFIG=""
 
3715
  else
 
3716
    case $cross_compiling:$ac_tool_warned in
 
3717
yes:)
 
3718
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3719
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3720
ac_tool_warned=yes ;;
 
3721
esac
 
3722
    PKG_CONFIG=$ac_pt_PKG_CONFIG
 
3723
  fi
 
3724
else
 
3725
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
 
3726
fi
 
3727
 
 
3728
fi
 
3729
if test -n "$PKG_CONFIG"; then
 
3730
        _pkg_min_version=0.9.0
 
3731
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
 
3732
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
 
3733
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
 
3734
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3735
$as_echo "yes" >&6; }
 
3736
        else
 
3737
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3738
$as_echo "no" >&6; }
 
3739
                PKG_CONFIG=""
 
3740
        fi
 
3741
fi
 
3742
 
 
3743
 
 
3744
 
 
3745
                enable_introspection=yes
 
3746
 
 
3747
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
 
3748
$as_echo_n "checking for gobject-introspection... " >&6; }
 
3749
 
 
3750
        case $enable_introspection in #(
 
3751
  no) :
 
3752
            found_introspection="no (disabled, use --enable-introspection to enable)"
 
3753
     ;; #(
 
3754
      yes) :
 
3755
            if test -n "$PKG_CONFIG" && \
 
3756
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
 
3757
  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
 
3758
  ac_status=$?
 
3759
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3760
  test $ac_status = 0; }; then
 
3761
  :
 
3762
else
 
3763
  as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
 
3764
fi
 
3765
        if test -n "$PKG_CONFIG" && \
 
3766
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= \$GOBJECT_INTROSPECTION_REQS\""; } >&5
 
3767
  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQS") 2>&5
 
3768
  ac_status=$?
 
3769
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3770
  test $ac_status = 0; }; then
 
3771
  found_introspection=yes
 
3772
else
 
3773
  as_fn_error $? "You need to have gobject-introspection >= $GOBJECT_INTROSPECTION_REQS installed to build rhythmbox" "$LINENO" 5
 
3774
fi
 
3775
     ;; #(
 
3776
      auto) :
 
3777
            if test -n "$PKG_CONFIG" && \
 
3778
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= \$GOBJECT_INTROSPECTION_REQS\""; } >&5
 
3779
  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQS") 2>&5
 
3780
  ac_status=$?
 
3781
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3782
  test $ac_status = 0; }; then
 
3783
  found_introspection=yes
 
3784
else
 
3785
  found_introspection=no
 
3786
fi
 
3787
                enable_introspection=$found_introspection
 
3788
     ;; #(
 
3789
  *) :
 
3790
                as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
 
3791
     ;;
 
3792
esac
 
3793
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
 
3794
$as_echo "$found_introspection" >&6; }
 
3795
 
 
3796
    INTROSPECTION_SCANNER=
 
3797
    INTROSPECTION_COMPILER=
 
3798
    INTROSPECTION_GENERATE=
 
3799
    INTROSPECTION_GIRDIR=
 
3800
    INTROSPECTION_TYPELIBDIR=
 
3801
    if test "x$found_introspection" = "xyes"; then
 
3802
       INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
 
3803
       INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
 
3804
       INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
 
3805
       INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
 
3806
       INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
 
3807
       INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
 
3808
       INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
 
3809
       INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
 
3810
    fi
 
3811
 
 
3812
 
 
3813
 
 
3814
 
 
3815
 
 
3816
 
 
3817
 
 
3818
 
 
3819
 
 
3820
     if test "x$found_introspection" = "xyes"; then
 
3821
  HAVE_INTROSPECTION_TRUE=
 
3822
  HAVE_INTROSPECTION_FALSE='#'
 
3823
else
 
3824
  HAVE_INTROSPECTION_TRUE='#'
 
3825
  HAVE_INTROSPECTION_FALSE=
 
3826
fi
 
3827
 
 
3828
 
 
3829
 
 
3830
 
 
3831
 
 
3832
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
 
3833
$as_echo_n "checking whether NLS is requested... " >&6; }
 
3834
    # Check whether --enable-nls was given.
 
3835
if test "${enable_nls+set}" = set; then :
 
3836
  enableval=$enable_nls; USE_NLS=$enableval
 
3837
else
 
3838
  USE_NLS=yes
 
3839
fi
 
3840
 
 
3841
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
 
3842
$as_echo "$USE_NLS" >&6; }
 
3843
 
 
3844
 
 
3845
DEPDIR="${am__leading_dot}deps"
 
3846
 
 
3847
ac_config_commands="$ac_config_commands depfiles"
 
3848
 
 
3849
 
 
3850
am_make=${MAKE-make}
 
3851
cat > confinc << 'END'
 
3852
am__doit:
 
3853
        @echo this is the am__doit target
 
3854
.PHONY: am__doit
 
3855
END
 
3856
# If we don't find an include directive, just comment out the code.
 
3857
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 
3858
$as_echo_n "checking for style of include used by $am_make... " >&6; }
 
3859
am__include="#"
 
3860
am__quote=
 
3861
_am_result=none
 
3862
# First try GNU make style include.
 
3863
echo "include confinc" > confmf
 
3864
# Ignore all kinds of additional output from 'make'.
 
3865
case `$am_make -s -f confmf 2> /dev/null` in #(
 
3866
*the\ am__doit\ target*)
 
3867
  am__include=include
 
3868
  am__quote=
 
3869
  _am_result=GNU
 
3870
  ;;
 
3871
esac
 
3872
# Now try BSD make style include.
 
3873
if test "$am__include" = "#"; then
 
3874
   echo '.include "confinc"' > confmf
 
3875
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
3876
   *the\ am__doit\ target*)
 
3877
     am__include=.include
 
3878
     am__quote="\""
 
3879
     _am_result=BSD
 
3880
     ;;
 
3881
   esac
 
3882
fi
 
3883
 
 
3884
 
 
3885
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 
3886
$as_echo "$_am_result" >&6; }
 
3887
rm -f confinc confmf
 
3888
 
 
3889
# Check whether --enable-dependency-tracking was given.
 
3890
if test "${enable_dependency_tracking+set}" = set; then :
 
3891
  enableval=$enable_dependency_tracking;
 
3892
fi
 
3893
 
 
3894
if test "x$enable_dependency_tracking" != xno; then
 
3895
  am_depcomp="$ac_aux_dir/depcomp"
 
3896
  AMDEPBACKSLASH='\'
 
3897
  am__nodep='_no'
 
3898
fi
 
3899
 if test "x$enable_dependency_tracking" != xno; then
 
3900
  AMDEP_TRUE=
 
3901
  AMDEP_FALSE='#'
 
3902
else
 
3903
  AMDEP_TRUE='#'
 
3904
  AMDEP_FALSE=
 
3905
fi
 
3906
 
 
3907
 
 
3908
ac_ext=c
 
3909
ac_cpp='$CPP $CPPFLAGS'
 
3910
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3911
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3912
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3913
if test -n "$ac_tool_prefix"; then
 
3914
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
3915
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
3916
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3917
$as_echo_n "checking for $ac_word... " >&6; }
 
3918
if ${ac_cv_prog_CC+:} false; then :
 
3919
  $as_echo_n "(cached) " >&6
 
3920
else
 
3921
  if test -n "$CC"; then
 
3922
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3923
else
 
3924
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3925
for as_dir in $PATH
 
3926
do
 
3927
  IFS=$as_save_IFS
 
3928
  test -z "$as_dir" && as_dir=.
 
3929
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3930
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3931
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
3932
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3933
    break 2
 
3934
  fi
 
3935
done
 
3936
  done
 
3937
IFS=$as_save_IFS
 
3938
 
 
3939
fi
 
3940
fi
 
3941
CC=$ac_cv_prog_CC
 
3942
if test -n "$CC"; then
 
3943
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3944
$as_echo "$CC" >&6; }
 
3945
else
 
3946
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3947
$as_echo "no" >&6; }
 
3948
fi
 
3949
 
 
3950
 
 
3951
fi
 
3952
if test -z "$ac_cv_prog_CC"; then
 
3953
  ac_ct_CC=$CC
 
3954
  # Extract the first word of "gcc", so it can be a program name with args.
 
3955
set dummy gcc; ac_word=$2
 
3956
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3957
$as_echo_n "checking for $ac_word... " >&6; }
 
3958
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
3959
  $as_echo_n "(cached) " >&6
 
3960
else
 
3961
  if test -n "$ac_ct_CC"; then
 
3962
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
3963
else
 
3964
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3965
for as_dir in $PATH
 
3966
do
 
3967
  IFS=$as_save_IFS
 
3968
  test -z "$as_dir" && as_dir=.
 
3969
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3970
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3971
    ac_cv_prog_ac_ct_CC="gcc"
 
3972
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3973
    break 2
 
3974
  fi
 
3975
done
 
3976
  done
 
3977
IFS=$as_save_IFS
 
3978
 
 
3979
fi
 
3980
fi
 
3981
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
3982
if test -n "$ac_ct_CC"; then
 
3983
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
3984
$as_echo "$ac_ct_CC" >&6; }
 
3985
else
 
3986
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3987
$as_echo "no" >&6; }
 
3988
fi
 
3989
 
 
3990
  if test "x$ac_ct_CC" = x; then
 
3991
    CC=""
 
3992
  else
 
3993
    case $cross_compiling:$ac_tool_warned in
 
3994
yes:)
 
3995
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3996
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3997
ac_tool_warned=yes ;;
 
3998
esac
 
3999
    CC=$ac_ct_CC
 
4000
  fi
 
4001
else
 
4002
  CC="$ac_cv_prog_CC"
 
4003
fi
 
4004
 
 
4005
if test -z "$CC"; then
 
4006
          if test -n "$ac_tool_prefix"; then
 
4007
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
4008
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
4009
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4010
$as_echo_n "checking for $ac_word... " >&6; }
 
4011
if ${ac_cv_prog_CC+:} false; then :
 
4012
  $as_echo_n "(cached) " >&6
 
4013
else
 
4014
  if test -n "$CC"; then
 
4015
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
4016
else
 
4017
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4018
for as_dir in $PATH
 
4019
do
 
4020
  IFS=$as_save_IFS
 
4021
  test -z "$as_dir" && as_dir=.
 
4022
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4023
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4024
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
4025
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4026
    break 2
 
4027
  fi
 
4028
done
 
4029
  done
 
4030
IFS=$as_save_IFS
 
4031
 
 
4032
fi
 
4033
fi
 
4034
CC=$ac_cv_prog_CC
 
4035
if test -n "$CC"; then
 
4036
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4037
$as_echo "$CC" >&6; }
 
4038
else
 
4039
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4040
$as_echo "no" >&6; }
 
4041
fi
 
4042
 
 
4043
 
 
4044
  fi
 
4045
fi
 
4046
if test -z "$CC"; then
 
4047
  # Extract the first word of "cc", so it can be a program name with args.
 
4048
set dummy cc; ac_word=$2
 
4049
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4050
$as_echo_n "checking for $ac_word... " >&6; }
 
4051
if ${ac_cv_prog_CC+:} false; then :
 
4052
  $as_echo_n "(cached) " >&6
 
4053
else
 
4054
  if test -n "$CC"; then
 
4055
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
4056
else
 
4057
  ac_prog_rejected=no
 
4058
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4059
for as_dir in $PATH
 
4060
do
 
4061
  IFS=$as_save_IFS
 
4062
  test -z "$as_dir" && as_dir=.
 
4063
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4064
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4065
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
4066
       ac_prog_rejected=yes
 
4067
       continue
 
4068
     fi
 
4069
    ac_cv_prog_CC="cc"
 
4070
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4071
    break 2
 
4072
  fi
 
4073
done
 
4074
  done
 
4075
IFS=$as_save_IFS
 
4076
 
 
4077
if test $ac_prog_rejected = yes; then
 
4078
  # We found a bogon in the path, so make sure we never use it.
 
4079
  set dummy $ac_cv_prog_CC
 
4080
  shift
 
4081
  if test $# != 0; then
 
4082
    # We chose a different compiler from the bogus one.
 
4083
    # However, it has the same basename, so the bogon will be chosen
 
4084
    # first if we set CC to just the basename; use the full file name.
 
4085
    shift
 
4086
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
4087
  fi
 
4088
fi
 
4089
fi
 
4090
fi
 
4091
CC=$ac_cv_prog_CC
 
4092
if test -n "$CC"; then
 
4093
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4094
$as_echo "$CC" >&6; }
 
4095
else
 
4096
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4097
$as_echo "no" >&6; }
 
4098
fi
 
4099
 
 
4100
 
 
4101
fi
 
4102
if test -z "$CC"; then
 
4103
  if test -n "$ac_tool_prefix"; then
 
4104
  for ac_prog in cl.exe
 
4105
  do
 
4106
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
4107
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
4108
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4109
$as_echo_n "checking for $ac_word... " >&6; }
 
4110
if ${ac_cv_prog_CC+:} false; then :
 
4111
  $as_echo_n "(cached) " >&6
 
4112
else
 
4113
  if test -n "$CC"; then
 
4114
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
4115
else
 
4116
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4117
for as_dir in $PATH
 
4118
do
 
4119
  IFS=$as_save_IFS
 
4120
  test -z "$as_dir" && as_dir=.
 
4121
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4122
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4123
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
4124
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4125
    break 2
 
4126
  fi
 
4127
done
 
4128
  done
 
4129
IFS=$as_save_IFS
 
4130
 
 
4131
fi
 
4132
fi
 
4133
CC=$ac_cv_prog_CC
 
4134
if test -n "$CC"; then
 
4135
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4136
$as_echo "$CC" >&6; }
 
4137
else
 
4138
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4139
$as_echo "no" >&6; }
 
4140
fi
 
4141
 
 
4142
 
 
4143
    test -n "$CC" && break
 
4144
  done
 
4145
fi
 
4146
if test -z "$CC"; then
 
4147
  ac_ct_CC=$CC
 
4148
  for ac_prog in cl.exe
 
4149
do
 
4150
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
4151
set dummy $ac_prog; ac_word=$2
 
4152
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4153
$as_echo_n "checking for $ac_word... " >&6; }
 
4154
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
4155
  $as_echo_n "(cached) " >&6
 
4156
else
 
4157
  if test -n "$ac_ct_CC"; then
 
4158
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
4159
else
 
4160
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4161
for as_dir in $PATH
 
4162
do
 
4163
  IFS=$as_save_IFS
 
4164
  test -z "$as_dir" && as_dir=.
 
4165
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4166
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4167
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
4168
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4169
    break 2
 
4170
  fi
 
4171
done
 
4172
  done
 
4173
IFS=$as_save_IFS
 
4174
 
 
4175
fi
 
4176
fi
 
4177
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
4178
if test -n "$ac_ct_CC"; then
 
4179
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
4180
$as_echo "$ac_ct_CC" >&6; }
 
4181
else
 
4182
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4183
$as_echo "no" >&6; }
 
4184
fi
 
4185
 
 
4186
 
 
4187
  test -n "$ac_ct_CC" && break
 
4188
done
 
4189
 
 
4190
  if test "x$ac_ct_CC" = x; then
 
4191
    CC=""
 
4192
  else
 
4193
    case $cross_compiling:$ac_tool_warned in
 
4194
yes:)
 
4195
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4196
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4197
ac_tool_warned=yes ;;
 
4198
esac
 
4199
    CC=$ac_ct_CC
 
4200
  fi
 
4201
fi
 
4202
 
 
4203
fi
 
4204
 
 
4205
 
 
4206
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4207
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4208
as_fn_error $? "no acceptable C compiler found in \$PATH
 
4209
See \`config.log' for more details" "$LINENO" 5; }
 
4210
 
 
4211
# Provide some information about the compiler.
 
4212
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
4213
set X $ac_compile
 
4214
ac_compiler=$2
 
4215
for ac_option in --version -v -V -qversion; do
 
4216
  { { ac_try="$ac_compiler $ac_option >&5"
 
4217
case "(($ac_try" in
 
4218
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4219
  *) ac_try_echo=$ac_try;;
 
4220
esac
 
4221
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4222
$as_echo "$ac_try_echo"; } >&5
 
4223
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
4224
  ac_status=$?
 
4225
  if test -s conftest.err; then
 
4226
    sed '10a\
 
4227
... rest of stderr output deleted ...
 
4228
         10q' conftest.err >conftest.er1
 
4229
    cat conftest.er1 >&5
 
4230
  fi
 
4231
  rm -f conftest.er1 conftest.err
 
4232
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4233
  test $ac_status = 0; }
 
4234
done
 
4235
 
 
4236
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4237
/* end confdefs.h.  */
 
4238
 
 
4239
int
 
4240
main ()
 
4241
{
 
4242
 
 
4243
  ;
 
4244
  return 0;
 
4245
}
 
4246
_ACEOF
 
4247
ac_clean_files_save=$ac_clean_files
 
4248
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 
4249
# Try to create an executable without -o first, disregard a.out.
 
4250
# It will help us diagnose broken compilers, and finding out an intuition
 
4251
# of exeext.
 
4252
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
4253
$as_echo_n "checking whether the C compiler works... " >&6; }
 
4254
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
4255
 
 
4256
# The possible output files:
 
4257
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
4258
 
 
4259
ac_rmfiles=
 
4260
for ac_file in $ac_files
 
4261
do
 
4262
  case $ac_file in
 
4263
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
4264
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
4265
  esac
 
4266
done
 
4267
rm -f $ac_rmfiles
 
4268
 
 
4269
if { { ac_try="$ac_link_default"
 
4270
case "(($ac_try" in
 
4271
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4272
  *) ac_try_echo=$ac_try;;
 
4273
esac
 
4274
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4275
$as_echo "$ac_try_echo"; } >&5
 
4276
  (eval "$ac_link_default") 2>&5
 
4277
  ac_status=$?
 
4278
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4279
  test $ac_status = 0; }; then :
 
4280
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
4281
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
4282
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
4283
# so that the user can short-circuit this test for compilers unknown to
 
4284
# Autoconf.
 
4285
for ac_file in $ac_files ''
 
4286
do
 
4287
  test -f "$ac_file" || continue
 
4288
  case $ac_file in
 
4289
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 
4290
        ;;
 
4291
    [ab].out )
 
4292
        # We found the default executable, but exeext='' is most
 
4293
        # certainly right.
 
4294
        break;;
 
4295
    *.* )
 
4296
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
4297
        then :; else
 
4298
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
4299
        fi
 
4300
        # We set ac_cv_exeext here because the later test for it is not
 
4301
        # safe: cross compilers may not add the suffix if given an `-o'
 
4302
        # argument, so we may need to know it at that point already.
 
4303
        # Even if this section looks crufty: it has the advantage of
 
4304
        # actually working.
 
4305
        break;;
 
4306
    * )
 
4307
        break;;
 
4308
  esac
 
4309
done
 
4310
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
4311
 
 
4312
else
 
4313
  ac_file=''
 
4314
fi
 
4315
if test -z "$ac_file"; then :
 
4316
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4317
$as_echo "no" >&6; }
 
4318
$as_echo "$as_me: failed program was:" >&5
 
4319
sed 's/^/| /' conftest.$ac_ext >&5
 
4320
 
 
4321
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4322
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4323
as_fn_error 77 "C compiler cannot create executables
 
4324
See \`config.log' for more details" "$LINENO" 5; }
 
4325
else
 
4326
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
4327
$as_echo "yes" >&6; }
 
4328
fi
 
4329
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
4330
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
4331
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 
4332
$as_echo "$ac_file" >&6; }
 
4333
ac_exeext=$ac_cv_exeext
 
4334
 
 
4335
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 
4336
ac_clean_files=$ac_clean_files_save
 
4337
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 
4338
$as_echo_n "checking for suffix of executables... " >&6; }
 
4339
if { { ac_try="$ac_link"
 
4340
case "(($ac_try" in
 
4341
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4342
  *) ac_try_echo=$ac_try;;
 
4343
esac
 
4344
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4345
$as_echo "$ac_try_echo"; } >&5
 
4346
  (eval "$ac_link") 2>&5
 
4347
  ac_status=$?
 
4348
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4349
  test $ac_status = 0; }; then :
 
4350
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
 
4351
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 
4352
# work properly (i.e., refer to `conftest.exe'), while it won't with
 
4353
# `rm'.
 
4354
for ac_file in conftest.exe conftest conftest.*; do
 
4355
  test -f "$ac_file" || continue
 
4356
  case $ac_file in
 
4357
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
4358
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
4359
          break;;
 
4360
    * ) break;;
 
4361
  esac
 
4362
done
 
4363
else
 
4364
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4365
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4366
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 
4367
See \`config.log' for more details" "$LINENO" 5; }
 
4368
fi
 
4369
rm -f conftest conftest$ac_cv_exeext
 
4370
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 
4371
$as_echo "$ac_cv_exeext" >&6; }
 
4372
 
 
4373
rm -f conftest.$ac_ext
 
4374
EXEEXT=$ac_cv_exeext
 
4375
ac_exeext=$EXEEXT
 
4376
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4377
/* end confdefs.h.  */
 
4378
#include <stdio.h>
 
4379
int
 
4380
main ()
 
4381
{
 
4382
FILE *f = fopen ("conftest.out", "w");
 
4383
 return ferror (f) || fclose (f) != 0;
 
4384
 
 
4385
  ;
 
4386
  return 0;
 
4387
}
 
4388
_ACEOF
 
4389
ac_clean_files="$ac_clean_files conftest.out"
 
4390
# Check that the compiler produces executables we can run.  If not, either
 
4391
# the compiler is broken, or we cross compile.
 
4392
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
4393
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
4394
if test "$cross_compiling" != yes; then
 
4395
  { { ac_try="$ac_link"
 
4396
case "(($ac_try" in
 
4397
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4398
  *) ac_try_echo=$ac_try;;
 
4399
esac
 
4400
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4401
$as_echo "$ac_try_echo"; } >&5
 
4402
  (eval "$ac_link") 2>&5
 
4403
  ac_status=$?
 
4404
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4405
  test $ac_status = 0; }
 
4406
  if { ac_try='./conftest$ac_cv_exeext'
 
4407
  { { case "(($ac_try" in
 
4408
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4409
  *) ac_try_echo=$ac_try;;
 
4410
esac
 
4411
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4412
$as_echo "$ac_try_echo"; } >&5
 
4413
  (eval "$ac_try") 2>&5
 
4414
  ac_status=$?
 
4415
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4416
  test $ac_status = 0; }; }; then
 
4417
    cross_compiling=no
 
4418
  else
 
4419
    if test "$cross_compiling" = maybe; then
 
4420
        cross_compiling=yes
 
4421
    else
 
4422
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4423
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4424
as_fn_error $? "cannot run C compiled programs.
 
4425
If you meant to cross compile, use \`--host'.
 
4426
See \`config.log' for more details" "$LINENO" 5; }
 
4427
    fi
 
4428
  fi
 
4429
fi
 
4430
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
4431
$as_echo "$cross_compiling" >&6; }
 
4432
 
 
4433
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
4434
ac_clean_files=$ac_clean_files_save
 
4435
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 
4436
$as_echo_n "checking for suffix of object files... " >&6; }
 
4437
if ${ac_cv_objext+:} false; then :
 
4438
  $as_echo_n "(cached) " >&6
 
4439
else
 
4440
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4441
/* end confdefs.h.  */
 
4442
 
 
4443
int
 
4444
main ()
 
4445
{
 
4446
 
 
4447
  ;
 
4448
  return 0;
 
4449
}
 
4450
_ACEOF
 
4451
rm -f conftest.o conftest.obj
 
4452
if { { ac_try="$ac_compile"
 
4453
case "(($ac_try" in
 
4454
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4455
  *) ac_try_echo=$ac_try;;
 
4456
esac
 
4457
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4458
$as_echo "$ac_try_echo"; } >&5
 
4459
  (eval "$ac_compile") 2>&5
 
4460
  ac_status=$?
 
4461
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4462
  test $ac_status = 0; }; then :
 
4463
  for ac_file in conftest.o conftest.obj conftest.*; do
 
4464
  test -f "$ac_file" || continue;
 
4465
  case $ac_file in
 
4466
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 
4467
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 
4468
       break;;
 
4469
  esac
 
4470
done
 
4471
else
 
4472
  $as_echo "$as_me: failed program was:" >&5
 
4473
sed 's/^/| /' conftest.$ac_ext >&5
 
4474
 
 
4475
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4476
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4477
as_fn_error $? "cannot compute suffix of object files: cannot compile
 
4478
See \`config.log' for more details" "$LINENO" 5; }
 
4479
fi
 
4480
rm -f conftest.$ac_cv_objext conftest.$ac_ext
 
4481
fi
 
4482
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 
4483
$as_echo "$ac_cv_objext" >&6; }
 
4484
OBJEXT=$ac_cv_objext
 
4485
ac_objext=$OBJEXT
 
4486
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
4487
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
4488
if ${ac_cv_c_compiler_gnu+:} false; then :
 
4489
  $as_echo_n "(cached) " >&6
 
4490
else
 
4491
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4492
/* end confdefs.h.  */
 
4493
 
 
4494
int
 
4495
main ()
 
4496
{
 
4497
#ifndef __GNUC__
 
4498
       choke me
 
4499
#endif
 
4500
 
 
4501
  ;
 
4502
  return 0;
 
4503
}
 
4504
_ACEOF
 
4505
if ac_fn_c_try_compile "$LINENO"; then :
 
4506
  ac_compiler_gnu=yes
 
4507
else
 
4508
  ac_compiler_gnu=no
 
4509
fi
 
4510
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4511
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
4512
 
 
4513
fi
 
4514
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
4515
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
4516
if test $ac_compiler_gnu = yes; then
 
4517
  GCC=yes
 
4518
else
 
4519
  GCC=
 
4520
fi
 
4521
ac_test_CFLAGS=${CFLAGS+set}
 
4522
ac_save_CFLAGS=$CFLAGS
 
4523
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
4524
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
4525
if ${ac_cv_prog_cc_g+:} false; then :
 
4526
  $as_echo_n "(cached) " >&6
 
4527
else
 
4528
  ac_save_c_werror_flag=$ac_c_werror_flag
 
4529
   ac_c_werror_flag=yes
 
4530
   ac_cv_prog_cc_g=no
 
4531
   CFLAGS="-g"
 
4532
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4533
/* end confdefs.h.  */
 
4534
 
 
4535
int
 
4536
main ()
 
4537
{
 
4538
 
 
4539
  ;
 
4540
  return 0;
 
4541
}
 
4542
_ACEOF
 
4543
if ac_fn_c_try_compile "$LINENO"; then :
 
4544
  ac_cv_prog_cc_g=yes
 
4545
else
 
4546
  CFLAGS=""
 
4547
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4548
/* end confdefs.h.  */
 
4549
 
 
4550
int
 
4551
main ()
 
4552
{
 
4553
 
 
4554
  ;
 
4555
  return 0;
 
4556
}
 
4557
_ACEOF
 
4558
if ac_fn_c_try_compile "$LINENO"; then :
 
4559
 
 
4560
else
 
4561
  ac_c_werror_flag=$ac_save_c_werror_flag
 
4562
         CFLAGS="-g"
 
4563
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4564
/* end confdefs.h.  */
 
4565
 
 
4566
int
 
4567
main ()
 
4568
{
 
4569
 
 
4570
  ;
 
4571
  return 0;
 
4572
}
 
4573
_ACEOF
 
4574
if ac_fn_c_try_compile "$LINENO"; then :
 
4575
  ac_cv_prog_cc_g=yes
 
4576
fi
 
4577
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4578
fi
 
4579
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4580
fi
 
4581
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4582
   ac_c_werror_flag=$ac_save_c_werror_flag
 
4583
fi
 
4584
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
4585
$as_echo "$ac_cv_prog_cc_g" >&6; }
 
4586
if test "$ac_test_CFLAGS" = set; then
 
4587
  CFLAGS=$ac_save_CFLAGS
 
4588
elif test $ac_cv_prog_cc_g = yes; then
 
4589
  if test "$GCC" = yes; then
 
4590
    CFLAGS="-g -O2"
 
4591
  else
 
4592
    CFLAGS="-g"
 
4593
  fi
 
4594
else
 
4595
  if test "$GCC" = yes; then
 
4596
    CFLAGS="-O2"
 
4597
  else
 
4598
    CFLAGS=
 
4599
  fi
 
4600
fi
 
4601
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
4602
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
4603
if ${ac_cv_prog_cc_c89+:} false; then :
 
4604
  $as_echo_n "(cached) " >&6
 
4605
else
 
4606
  ac_cv_prog_cc_c89=no
 
4607
ac_save_CC=$CC
 
4608
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4609
/* end confdefs.h.  */
 
4610
#include <stdarg.h>
 
4611
#include <stdio.h>
 
4612
struct stat;
 
4613
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
4614
struct buf { int x; };
 
4615
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
4616
static char *e (p, i)
 
4617
     char **p;
 
4618
     int i;
 
4619
{
 
4620
  return p[i];
 
4621
}
 
4622
static char *f (char * (*g) (char **, int), char **p, ...)
 
4623
{
 
4624
  char *s;
 
4625
  va_list v;
 
4626
  va_start (v,p);
 
4627
  s = g (p, va_arg (v,int));
 
4628
  va_end (v);
 
4629
  return s;
 
4630
}
 
4631
 
 
4632
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
4633
   function prototypes and stuff, but not '\xHH' hex character constants.
 
4634
   These don't provoke an error unfortunately, instead are silently treated
 
4635
   as 'x'.  The following induces an error, until -std is added to get
 
4636
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
4637
   array size at least.  It's necessary to write '\x00'==0 to get something
 
4638
   that's true only with -std.  */
 
4639
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
4640
 
 
4641
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
4642
   inside strings and character constants.  */
 
4643
#define FOO(x) 'x'
 
4644
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
4645
 
 
4646
int test (int i, double x);
 
4647
struct s1 {int (*f) (int a);};
 
4648
struct s2 {int (*f) (double a);};
 
4649
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
4650
int argc;
 
4651
char **argv;
 
4652
int
 
4653
main ()
 
4654
{
 
4655
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
4656
  ;
 
4657
  return 0;
 
4658
}
 
4659
_ACEOF
 
4660
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
4661
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
4662
do
 
4663
  CC="$ac_save_CC $ac_arg"
 
4664
  if ac_fn_c_try_compile "$LINENO"; then :
 
4665
  ac_cv_prog_cc_c89=$ac_arg
 
4666
fi
 
4667
rm -f core conftest.err conftest.$ac_objext
 
4668
  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
4669
done
 
4670
rm -f conftest.$ac_ext
 
4671
CC=$ac_save_CC
 
4672
 
 
4673
fi
 
4674
# AC_CACHE_VAL
 
4675
case "x$ac_cv_prog_cc_c89" in
 
4676
  x)
 
4677
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
4678
$as_echo "none needed" >&6; } ;;
 
4679
  xno)
 
4680
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
4681
$as_echo "unsupported" >&6; } ;;
 
4682
  *)
 
4683
    CC="$CC $ac_cv_prog_cc_c89"
 
4684
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
4685
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 
4686
esac
 
4687
if test "x$ac_cv_prog_cc_c89" != xno; then :
 
4688
 
 
4689
fi
 
4690
 
 
4691
ac_ext=c
 
4692
ac_cpp='$CPP $CPPFLAGS'
 
4693
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
4694
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
4695
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
4696
 
 
4697
depcc="$CC"   am_compiler_list=
 
4698
 
 
4699
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
4700
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
4701
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
 
4702
  $as_echo_n "(cached) " >&6
 
4703
else
 
4704
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
4705
  # We make a subdir and do the tests there.  Otherwise we can end up
 
4706
  # making bogus files that we don't know about and never remove.  For
 
4707
  # instance it was reported that on HP-UX the gcc test will end up
 
4708
  # making a dummy file named 'D' -- because '-MD' means "put the output
 
4709
  # in D".
 
4710
  rm -rf conftest.dir
 
4711
  mkdir conftest.dir
 
4712
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
4713
  # using a relative directory.
 
4714
  cp "$am_depcomp" conftest.dir
 
4715
  cd conftest.dir
 
4716
  # We will build objects and dependencies in a subdirectory because
 
4717
  # it helps to detect inapplicable dependency modes.  For instance
 
4718
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
4719
  # side effect of compilation, but ICC will put the dependencies in
 
4720
  # the current directory while Tru64 will put them in the object
 
4721
  # directory.
 
4722
  mkdir sub
 
4723
 
 
4724
  am_cv_CC_dependencies_compiler_type=none
 
4725
  if test "$am_compiler_list" = ""; then
 
4726
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
4727
  fi
 
4728
  am__universal=false
 
4729
  case " $depcc " in #(
 
4730
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
4731
     esac
 
4732
 
 
4733
  for depmode in $am_compiler_list; do
 
4734
    # Setup a source with many dependencies, because some compilers
 
4735
    # like to wrap large dependency lists on column 80 (with \), and
 
4736
    # we should not choose a depcomp mode which is confused by this.
 
4737
    #
 
4738
    # We need to recreate these files for each test, as the compiler may
 
4739
    # overwrite some of them when testing with obscure command lines.
 
4740
    # This happens at least with the AIX C compiler.
 
4741
    : > sub/conftest.c
 
4742
    for i in 1 2 3 4 5 6; do
 
4743
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
4744
      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
 
4745
      # Solaris 10 /bin/sh.
 
4746
      echo '/* dummy */' > sub/conftst$i.h
 
4747
    done
 
4748
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
4749
 
 
4750
    # We check with '-c' and '-o' for the sake of the "dashmstdout"
 
4751
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
4752
    # handle '-M -o', and we need to detect this.  Also, some Intel
 
4753
    # versions had trouble with output in subdirs.
 
4754
    am__obj=sub/conftest.${OBJEXT-o}
 
4755
    am__minus_obj="-o $am__obj"
 
4756
    case $depmode in
 
4757
    gcc)
 
4758
      # This depmode causes a compiler race in universal mode.
 
4759
      test "$am__universal" = false || continue
 
4760
      ;;
 
4761
    nosideeffect)
 
4762
      # After this tag, mechanisms are not by side-effect, so they'll
 
4763
      # only be used when explicitly requested.
 
4764
      if test "x$enable_dependency_tracking" = xyes; then
 
4765
        continue
 
4766
      else
 
4767
        break
 
4768
      fi
 
4769
      ;;
 
4770
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
 
4771
      # This compiler won't grok '-c -o', but also, the minuso test has
 
4772
      # not run yet.  These depmodes are late enough in the game, and
 
4773
      # so weak that their functioning should not be impacted.
 
4774
      am__obj=conftest.${OBJEXT-o}
 
4775
      am__minus_obj=
 
4776
      ;;
 
4777
    none) break ;;
 
4778
    esac
 
4779
    if depmode=$depmode \
 
4780
       source=sub/conftest.c object=$am__obj \
 
4781
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
4782
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 
4783
         >/dev/null 2>conftest.err &&
 
4784
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
4785
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
4786
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 
4787
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
4788
      # icc doesn't choke on unknown options, it will just issue warnings
 
4789
      # or remarks (even with -Werror).  So we grep stderr for any message
 
4790
      # that says an option was ignored or not supported.
 
4791
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
4792
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
4793
      # The diagnosis changed in icc 8.0:
 
4794
      #   icc: Command line remark: option '-MP' not supported
 
4795
      if (grep 'ignoring option' conftest.err ||
 
4796
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
4797
        am_cv_CC_dependencies_compiler_type=$depmode
 
4798
        break
 
4799
      fi
 
4800
    fi
 
4801
  done
 
4802
 
 
4803
  cd ..
 
4804
  rm -rf conftest.dir
 
4805
else
 
4806
  am_cv_CC_dependencies_compiler_type=none
 
4807
fi
 
4808
 
 
4809
fi
 
4810
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 
4811
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 
4812
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
4813
 
 
4814
 if
 
4815
  test "x$enable_dependency_tracking" != xno \
 
4816
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
4817
  am__fastdepCC_TRUE=
 
4818
  am__fastdepCC_FALSE='#'
 
4819
else
 
4820
  am__fastdepCC_TRUE='#'
 
4821
  am__fastdepCC_FALSE=
 
4822
fi
 
4823
 
 
4824
 
 
4825
 
 
4826
 
 
4827
 
 
4828
case "$am__api_version" in
 
4829
    1.01234)
 
4830
        as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
 
4831
    ;;
 
4832
    *)
 
4833
    ;;
 
4834
esac
 
4835
 
 
4836
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
 
4837
INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
 
4838
INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
 
4839
if test -n "0.35.0"; then
 
4840
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
 
4841
$as_echo_n "checking for intltool >= 0.35.0... " >&6; }
 
4842
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
 
4843
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
 
4844
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
 
4845
        as_fn_error $? "Your intltool is too old.  You need intltool 0.35.0 or later." "$LINENO" 5
 
4846
fi
 
4847
 
 
4848
# Extract the first word of "intltool-update", so it can be a program name with args.
 
4849
set dummy intltool-update; ac_word=$2
 
4850
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4851
$as_echo_n "checking for $ac_word... " >&6; }
 
4852
if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
 
4853
  $as_echo_n "(cached) " >&6
 
4854
else
 
4855
  case $INTLTOOL_UPDATE in
 
4856
  [\\/]* | ?:[\\/]*)
 
4857
  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
 
4858
  ;;
 
4859
  *)
 
4860
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4861
for as_dir in $PATH
 
4862
do
 
4863
  IFS=$as_save_IFS
 
4864
  test -z "$as_dir" && as_dir=.
 
4865
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4866
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4867
    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
 
4868
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4869
    break 2
 
4870
  fi
 
4871
done
 
4872
  done
 
4873
IFS=$as_save_IFS
 
4874
 
 
4875
  ;;
 
4876
esac
 
4877
fi
 
4878
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
 
4879
if test -n "$INTLTOOL_UPDATE"; then
 
4880
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
 
4881
$as_echo "$INTLTOOL_UPDATE" >&6; }
 
4882
else
 
4883
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4884
$as_echo "no" >&6; }
 
4885
fi
 
4886
 
 
4887
 
 
4888
# Extract the first word of "intltool-merge", so it can be a program name with args.
 
4889
set dummy intltool-merge; ac_word=$2
 
4890
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4891
$as_echo_n "checking for $ac_word... " >&6; }
 
4892
if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
 
4893
  $as_echo_n "(cached) " >&6
 
4894
else
 
4895
  case $INTLTOOL_MERGE in
 
4896
  [\\/]* | ?:[\\/]*)
 
4897
  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
 
4898
  ;;
 
4899
  *)
 
4900
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4901
for as_dir in $PATH
 
4902
do
 
4903
  IFS=$as_save_IFS
 
4904
  test -z "$as_dir" && as_dir=.
 
4905
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4906
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4907
    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
 
4908
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4909
    break 2
 
4910
  fi
 
4911
done
 
4912
  done
 
4913
IFS=$as_save_IFS
 
4914
 
 
4915
  ;;
 
4916
esac
 
4917
fi
 
4918
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
 
4919
if test -n "$INTLTOOL_MERGE"; then
 
4920
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
 
4921
$as_echo "$INTLTOOL_MERGE" >&6; }
 
4922
else
 
4923
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4924
$as_echo "no" >&6; }
 
4925
fi
 
4926
 
 
4927
 
 
4928
# Extract the first word of "intltool-extract", so it can be a program name with args.
 
4929
set dummy intltool-extract; ac_word=$2
 
4930
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4931
$as_echo_n "checking for $ac_word... " >&6; }
 
4932
if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
 
4933
  $as_echo_n "(cached) " >&6
 
4934
else
 
4935
  case $INTLTOOL_EXTRACT in
 
4936
  [\\/]* | ?:[\\/]*)
 
4937
  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
 
4938
  ;;
 
4939
  *)
 
4940
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4941
for as_dir in $PATH
 
4942
do
 
4943
  IFS=$as_save_IFS
 
4944
  test -z "$as_dir" && as_dir=.
 
4945
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4946
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4947
    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
 
4948
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4949
    break 2
 
4950
  fi
 
4951
done
 
4952
  done
 
4953
IFS=$as_save_IFS
 
4954
 
 
4955
  ;;
 
4956
esac
 
4957
fi
 
4958
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
 
4959
if test -n "$INTLTOOL_EXTRACT"; then
 
4960
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
 
4961
$as_echo "$INTLTOOL_EXTRACT" >&6; }
 
4962
else
 
4963
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4964
$as_echo "no" >&6; }
 
4965
fi
 
4966
 
 
4967
 
 
4968
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
 
4969
    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
 
4970
fi
 
4971
 
 
4972
if test -z "$AM_DEFAULT_VERBOSITY"; then
 
4973
  AM_DEFAULT_VERBOSITY=1
 
4974
fi
 
4975
 
 
4976
 
 
4977
INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
 
4978
INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
 
4979
INTLTOOL__v_MERGE_0='@echo "  ITMRG " $@;'
 
4980
 
 
4981
 
 
4982
 
 
4983
 
 
4984
INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
 
4985
intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
 
4986
intltool__v_merge_options_0='-q'
 
4987
 
 
4988
 
 
4989
 
 
4990
 
 
4991
  INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
4992
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
4993
     INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
4994
     INTLTOOL_PROP_RULE='%.prop:      %.prop.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
4995
      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@'
 
4996
     INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
4997
   INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
4998
    INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
4999
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
5000
       INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
5001
      INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
5002
if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
 
5003
      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@'
 
5004
else
 
5005
      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir'
 
5006
fi
 
5007
      INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
5008
      INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
5009
    INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
5010
  INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
5011
    INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
5012
    INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
5013
   INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
5014
 
 
5015
 
 
5016
 
 
5017
 
 
5018
 
 
5019
 
 
5020
 
 
5021
 
 
5022
 
 
5023
 
 
5024
 
 
5025
 
 
5026
 
 
5027
 
 
5028
 
 
5029
 
 
5030
 
 
5031
 
 
5032
 
 
5033
 
 
5034
 
 
5035
 
 
5036
 
 
5037
 
 
5038
 
 
5039
 
 
5040
 
 
5041
 
 
5042
 
 
5043
 
 
5044
 
 
5045
 
 
5046
 
 
5047
 
 
5048
 
 
5049
 
 
5050
 
 
5051
 
 
5052
 
 
5053
 
 
5054
 
 
5055
 
 
5056
 
 
5057
 
 
5058
 
 
5059
 
 
5060
 
 
5061
 
 
5062
 
 
5063
 
 
5064
 
 
5065
 
 
5066
 
 
5067
 
 
5068
 
 
5069
 
 
5070
 
 
5071
 
 
5072
 
 
5073
 
 
5074
 
 
5075
 
 
5076
 
 
5077
 
 
5078
 
 
5079
 
 
5080
 
 
5081
 
 
5082
 
 
5083
 
 
5084
 
 
5085
 
 
5086
 
 
5087
 
 
5088
 
 
5089
 
 
5090
 
 
5091
 
 
5092
 
 
5093
 
 
5094
 
 
5095
 
 
5096
 
 
5097
 
 
5098
 
 
5099
 
 
5100
 
 
5101
 
 
5102
 
 
5103
 
 
5104
 
 
5105
 
 
5106
 
 
5107
 
 
5108
 
 
5109
 
 
5110
 
 
5111
# Check the gettext tools to make sure they are GNU
 
5112
# Extract the first word of "xgettext", so it can be a program name with args.
 
5113
set dummy xgettext; ac_word=$2
 
5114
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5115
$as_echo_n "checking for $ac_word... " >&6; }
 
5116
if ${ac_cv_path_XGETTEXT+:} false; then :
 
5117
  $as_echo_n "(cached) " >&6
 
5118
else
 
5119
  case $XGETTEXT in
 
5120
  [\\/]* | ?:[\\/]*)
 
5121
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
 
5122
  ;;
 
5123
  *)
 
5124
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5125
for as_dir in $PATH
 
5126
do
 
5127
  IFS=$as_save_IFS
 
5128
  test -z "$as_dir" && as_dir=.
 
5129
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5130
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5131
    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
 
5132
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5133
    break 2
 
5134
  fi
 
5135
done
 
5136
  done
 
5137
IFS=$as_save_IFS
 
5138
 
 
5139
  ;;
 
5140
esac
 
5141
fi
 
5142
XGETTEXT=$ac_cv_path_XGETTEXT
 
5143
if test -n "$XGETTEXT"; then
 
5144
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
 
5145
$as_echo "$XGETTEXT" >&6; }
 
5146
else
 
5147
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5148
$as_echo "no" >&6; }
 
5149
fi
 
5150
 
 
5151
 
 
5152
# Extract the first word of "msgmerge", so it can be a program name with args.
 
5153
set dummy msgmerge; ac_word=$2
 
5154
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5155
$as_echo_n "checking for $ac_word... " >&6; }
 
5156
if ${ac_cv_path_MSGMERGE+:} false; then :
 
5157
  $as_echo_n "(cached) " >&6
 
5158
else
 
5159
  case $MSGMERGE in
 
5160
  [\\/]* | ?:[\\/]*)
 
5161
  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
 
5162
  ;;
 
5163
  *)
 
5164
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5165
for as_dir in $PATH
 
5166
do
 
5167
  IFS=$as_save_IFS
 
5168
  test -z "$as_dir" && as_dir=.
 
5169
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5170
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5171
    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
 
5172
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5173
    break 2
 
5174
  fi
 
5175
done
 
5176
  done
 
5177
IFS=$as_save_IFS
 
5178
 
 
5179
  ;;
 
5180
esac
 
5181
fi
 
5182
MSGMERGE=$ac_cv_path_MSGMERGE
 
5183
if test -n "$MSGMERGE"; then
 
5184
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
 
5185
$as_echo "$MSGMERGE" >&6; }
 
5186
else
 
5187
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5188
$as_echo "no" >&6; }
 
5189
fi
 
5190
 
 
5191
 
 
5192
# Extract the first word of "msgfmt", so it can be a program name with args.
 
5193
set dummy msgfmt; ac_word=$2
 
5194
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5195
$as_echo_n "checking for $ac_word... " >&6; }
 
5196
if ${ac_cv_path_MSGFMT+:} false; then :
 
5197
  $as_echo_n "(cached) " >&6
 
5198
else
 
5199
  case $MSGFMT in
 
5200
  [\\/]* | ?:[\\/]*)
 
5201
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
 
5202
  ;;
 
5203
  *)
 
5204
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5205
for as_dir in $PATH
 
5206
do
 
5207
  IFS=$as_save_IFS
 
5208
  test -z "$as_dir" && as_dir=.
 
5209
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5210
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5211
    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
5212
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5213
    break 2
 
5214
  fi
 
5215
done
 
5216
  done
 
5217
IFS=$as_save_IFS
 
5218
 
 
5219
  ;;
 
5220
esac
 
5221
fi
 
5222
MSGFMT=$ac_cv_path_MSGFMT
 
5223
if test -n "$MSGFMT"; then
 
5224
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
 
5225
$as_echo "$MSGFMT" >&6; }
 
5226
else
 
5227
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5228
$as_echo "no" >&6; }
 
5229
fi
 
5230
 
 
5231
 
 
5232
# Extract the first word of "gmsgfmt", so it can be a program name with args.
 
5233
set dummy gmsgfmt; ac_word=$2
 
5234
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5235
$as_echo_n "checking for $ac_word... " >&6; }
 
5236
if ${ac_cv_path_GMSGFMT+:} false; then :
 
5237
  $as_echo_n "(cached) " >&6
 
5238
else
 
5239
  case $GMSGFMT in
 
5240
  [\\/]* | ?:[\\/]*)
 
5241
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
 
5242
  ;;
 
5243
  *)
 
5244
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5245
for as_dir in $PATH
 
5246
do
 
5247
  IFS=$as_save_IFS
 
5248
  test -z "$as_dir" && as_dir=.
 
5249
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5250
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5251
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
5252
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5253
    break 2
 
5254
  fi
 
5255
done
 
5256
  done
 
5257
IFS=$as_save_IFS
 
5258
 
 
5259
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
 
5260
  ;;
 
5261
esac
 
5262
fi
 
5263
GMSGFMT=$ac_cv_path_GMSGFMT
 
5264
if test -n "$GMSGFMT"; then
 
5265
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
 
5266
$as_echo "$GMSGFMT" >&6; }
 
5267
else
 
5268
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5269
$as_echo "no" >&6; }
 
5270
fi
 
5271
 
 
5272
 
 
5273
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
 
5274
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
 
5275
fi
 
5276
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
 
5277
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
 
5278
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
 
5279
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
 
5280
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
 
5281
fi
 
5282
 
 
5283
# Extract the first word of "perl", so it can be a program name with args.
 
5284
set dummy perl; ac_word=$2
 
5285
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5286
$as_echo_n "checking for $ac_word... " >&6; }
 
5287
if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
 
5288
  $as_echo_n "(cached) " >&6
 
5289
else
 
5290
  case $INTLTOOL_PERL in
 
5291
  [\\/]* | ?:[\\/]*)
 
5292
  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
 
5293
  ;;
 
5294
  *)
 
5295
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5296
for as_dir in $PATH
 
5297
do
 
5298
  IFS=$as_save_IFS
 
5299
  test -z "$as_dir" && as_dir=.
 
5300
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5301
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5302
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
 
5303
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5304
    break 2
 
5305
  fi
 
5306
done
 
5307
  done
 
5308
IFS=$as_save_IFS
 
5309
 
 
5310
  ;;
 
5311
esac
 
5312
fi
 
5313
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
 
5314
if test -n "$INTLTOOL_PERL"; then
 
5315
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
 
5316
$as_echo "$INTLTOOL_PERL" >&6; }
 
5317
else
 
5318
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5319
$as_echo "no" >&6; }
 
5320
fi
 
5321
 
 
5322
 
 
5323
if test -z "$INTLTOOL_PERL"; then
 
5324
   as_fn_error $? "perl not found" "$LINENO" 5
 
5325
fi
 
5326
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
 
5327
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
 
5328
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
 
5329
if test $? -ne 0; then
 
5330
   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
 
5331
else
 
5332
   IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
 
5333
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
 
5334
$as_echo "$IT_PERL_VERSION" >&6; }
 
5335
fi
 
5336
if test "x" != "xno-xml"; then
 
5337
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
 
5338
$as_echo_n "checking for XML::Parser... " >&6; }
 
5339
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
 
5340
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 
5341
$as_echo "ok" >&6; }
 
5342
   else
 
5343
       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
 
5344
   fi
 
5345
fi
 
5346
 
 
5347
# Substitute ALL_LINGUAS so we can use it in po/Makefile
 
5348
 
 
5349
 
 
5350
# Set DATADIRNAME correctly if it is not set yet
 
5351
# (copied from glib-gettext.m4)
 
5352
if test -z "$DATADIRNAME"; then
 
5353
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5354
/* end confdefs.h.  */
 
5355
 
 
5356
int
 
5357
main ()
 
5358
{
 
5359
extern int _nl_msg_cat_cntr;
 
5360
                       return _nl_msg_cat_cntr
 
5361
  ;
 
5362
  return 0;
 
5363
}
 
5364
_ACEOF
 
5365
if ac_fn_c_try_link "$LINENO"; then :
 
5366
  DATADIRNAME=share
 
5367
else
 
5368
  case $host in
 
5369
    *-*-solaris*)
 
5370
                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
5371
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
 
5372
  DATADIRNAME=share
 
5373
else
 
5374
  DATADIRNAME=lib
 
5375
fi
 
5376
 
 
5377
    ;;
 
5378
    *)
 
5379
    DATADIRNAME=lib
 
5380
    ;;
 
5381
    esac
 
5382
fi
 
5383
rm -f core conftest.err conftest.$ac_objext \
 
5384
    conftest$ac_exeext conftest.$ac_ext
 
5385
fi
 
5386
 
 
5387
 
 
5388
 
 
5389
 
 
5390
 
 
5391
 
 
5392
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
 
5393
$as_echo_n "checking for library containing strerror... " >&6; }
 
5394
if ${ac_cv_search_strerror+:} false; then :
 
5395
  $as_echo_n "(cached) " >&6
 
5396
else
 
5397
  ac_func_search_save_LIBS=$LIBS
 
5398
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5399
/* end confdefs.h.  */
 
5400
 
 
5401
/* Override any GCC internal prototype to avoid an error.
 
5402
   Use char because int might match the return type of a GCC
 
5403
   builtin and then its argument prototype would still apply.  */
 
5404
#ifdef __cplusplus
 
5405
extern "C"
 
5406
#endif
 
5407
char strerror ();
 
5408
int
 
5409
main ()
 
5410
{
 
5411
return strerror ();
 
5412
  ;
 
5413
  return 0;
 
5414
}
 
5415
_ACEOF
 
5416
for ac_lib in '' cposix; do
 
5417
  if test -z "$ac_lib"; then
 
5418
    ac_res="none required"
 
5419
  else
 
5420
    ac_res=-l$ac_lib
 
5421
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 
5422
  fi
 
5423
  if ac_fn_c_try_link "$LINENO"; then :
 
5424
  ac_cv_search_strerror=$ac_res
 
5425
fi
 
5426
rm -f core conftest.err conftest.$ac_objext \
 
5427
    conftest$ac_exeext
 
5428
  if ${ac_cv_search_strerror+:} false; then :
 
5429
  break
 
5430
fi
 
5431
done
 
5432
if ${ac_cv_search_strerror+:} false; then :
 
5433
 
 
5434
else
 
5435
  ac_cv_search_strerror=no
 
5436
fi
 
5437
rm conftest.$ac_ext
 
5438
LIBS=$ac_func_search_save_LIBS
 
5439
fi
 
5440
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
 
5441
$as_echo "$ac_cv_search_strerror" >&6; }
 
5442
ac_res=$ac_cv_search_strerror
 
5443
if test "$ac_res" != no; then :
 
5444
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
5445
 
 
5446
fi
 
5447
 
 
5448
ac_ext=c
 
5449
ac_cpp='$CPP $CPPFLAGS'
 
5450
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
5451
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
5452
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
5453
if test -n "$ac_tool_prefix"; then
 
5454
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
5455
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
5456
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5457
$as_echo_n "checking for $ac_word... " >&6; }
 
5458
if ${ac_cv_prog_CC+:} false; then :
 
5459
  $as_echo_n "(cached) " >&6
 
5460
else
 
5461
  if test -n "$CC"; then
 
5462
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
5463
else
 
5464
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5465
for as_dir in $PATH
 
5466
do
 
5467
  IFS=$as_save_IFS
 
5468
  test -z "$as_dir" && as_dir=.
 
5469
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5470
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5471
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
5472
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5473
    break 2
 
5474
  fi
 
5475
done
 
5476
  done
 
5477
IFS=$as_save_IFS
 
5478
 
 
5479
fi
 
5480
fi
 
5481
CC=$ac_cv_prog_CC
 
5482
if test -n "$CC"; then
 
5483
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
5484
$as_echo "$CC" >&6; }
 
5485
else
 
5486
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5487
$as_echo "no" >&6; }
 
5488
fi
 
5489
 
 
5490
 
 
5491
fi
 
5492
if test -z "$ac_cv_prog_CC"; then
 
5493
  ac_ct_CC=$CC
 
5494
  # Extract the first word of "gcc", so it can be a program name with args.
 
5495
set dummy gcc; ac_word=$2
 
5496
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5497
$as_echo_n "checking for $ac_word... " >&6; }
 
5498
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
5499
  $as_echo_n "(cached) " >&6
 
5500
else
 
5501
  if test -n "$ac_ct_CC"; then
 
5502
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
5503
else
 
5504
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5505
for as_dir in $PATH
 
5506
do
 
5507
  IFS=$as_save_IFS
 
5508
  test -z "$as_dir" && as_dir=.
 
5509
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5510
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5511
    ac_cv_prog_ac_ct_CC="gcc"
 
5512
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5513
    break 2
 
5514
  fi
 
5515
done
 
5516
  done
 
5517
IFS=$as_save_IFS
 
5518
 
 
5519
fi
 
5520
fi
 
5521
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
5522
if test -n "$ac_ct_CC"; then
 
5523
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
5524
$as_echo "$ac_ct_CC" >&6; }
 
5525
else
 
5526
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5527
$as_echo "no" >&6; }
 
5528
fi
 
5529
 
 
5530
  if test "x$ac_ct_CC" = x; then
 
5531
    CC=""
 
5532
  else
 
5533
    case $cross_compiling:$ac_tool_warned in
 
5534
yes:)
 
5535
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5536
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5537
ac_tool_warned=yes ;;
 
5538
esac
 
5539
    CC=$ac_ct_CC
 
5540
  fi
 
5541
else
 
5542
  CC="$ac_cv_prog_CC"
 
5543
fi
 
5544
 
 
5545
if test -z "$CC"; then
 
5546
          if test -n "$ac_tool_prefix"; then
 
5547
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
5548
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
5549
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5550
$as_echo_n "checking for $ac_word... " >&6; }
 
5551
if ${ac_cv_prog_CC+:} false; then :
 
5552
  $as_echo_n "(cached) " >&6
 
5553
else
 
5554
  if test -n "$CC"; then
 
5555
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
5556
else
 
5557
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5558
for as_dir in $PATH
 
5559
do
 
5560
  IFS=$as_save_IFS
 
5561
  test -z "$as_dir" && as_dir=.
 
5562
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5563
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5564
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
5565
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5566
    break 2
 
5567
  fi
 
5568
done
 
5569
  done
 
5570
IFS=$as_save_IFS
 
5571
 
 
5572
fi
 
5573
fi
 
5574
CC=$ac_cv_prog_CC
 
5575
if test -n "$CC"; then
 
5576
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
5577
$as_echo "$CC" >&6; }
 
5578
else
 
5579
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5580
$as_echo "no" >&6; }
 
5581
fi
 
5582
 
 
5583
 
 
5584
  fi
 
5585
fi
 
5586
if test -z "$CC"; then
 
5587
  # Extract the first word of "cc", so it can be a program name with args.
 
5588
set dummy cc; ac_word=$2
 
5589
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5590
$as_echo_n "checking for $ac_word... " >&6; }
 
5591
if ${ac_cv_prog_CC+:} false; then :
 
5592
  $as_echo_n "(cached) " >&6
 
5593
else
 
5594
  if test -n "$CC"; then
 
5595
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
5596
else
 
5597
  ac_prog_rejected=no
 
5598
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5599
for as_dir in $PATH
 
5600
do
 
5601
  IFS=$as_save_IFS
 
5602
  test -z "$as_dir" && as_dir=.
 
5603
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5604
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5605
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
5606
       ac_prog_rejected=yes
 
5607
       continue
 
5608
     fi
 
5609
    ac_cv_prog_CC="cc"
 
5610
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5611
    break 2
 
5612
  fi
 
5613
done
 
5614
  done
 
5615
IFS=$as_save_IFS
 
5616
 
 
5617
if test $ac_prog_rejected = yes; then
 
5618
  # We found a bogon in the path, so make sure we never use it.
 
5619
  set dummy $ac_cv_prog_CC
 
5620
  shift
 
5621
  if test $# != 0; then
 
5622
    # We chose a different compiler from the bogus one.
 
5623
    # However, it has the same basename, so the bogon will be chosen
 
5624
    # first if we set CC to just the basename; use the full file name.
 
5625
    shift
 
5626
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
5627
  fi
 
5628
fi
 
5629
fi
 
5630
fi
 
5631
CC=$ac_cv_prog_CC
 
5632
if test -n "$CC"; then
 
5633
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
5634
$as_echo "$CC" >&6; }
 
5635
else
 
5636
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5637
$as_echo "no" >&6; }
 
5638
fi
 
5639
 
 
5640
 
 
5641
fi
 
5642
if test -z "$CC"; then
 
5643
  if test -n "$ac_tool_prefix"; then
 
5644
  for ac_prog in cl.exe
 
5645
  do
 
5646
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
5647
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
5648
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5649
$as_echo_n "checking for $ac_word... " >&6; }
 
5650
if ${ac_cv_prog_CC+:} false; then :
 
5651
  $as_echo_n "(cached) " >&6
 
5652
else
 
5653
  if test -n "$CC"; then
 
5654
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
5655
else
 
5656
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5657
for as_dir in $PATH
 
5658
do
 
5659
  IFS=$as_save_IFS
 
5660
  test -z "$as_dir" && as_dir=.
 
5661
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5662
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5663
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
5664
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5665
    break 2
 
5666
  fi
 
5667
done
 
5668
  done
 
5669
IFS=$as_save_IFS
 
5670
 
 
5671
fi
 
5672
fi
 
5673
CC=$ac_cv_prog_CC
 
5674
if test -n "$CC"; then
 
5675
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
5676
$as_echo "$CC" >&6; }
 
5677
else
 
5678
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5679
$as_echo "no" >&6; }
 
5680
fi
 
5681
 
 
5682
 
 
5683
    test -n "$CC" && break
 
5684
  done
 
5685
fi
 
5686
if test -z "$CC"; then
 
5687
  ac_ct_CC=$CC
 
5688
  for ac_prog in cl.exe
 
5689
do
 
5690
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
5691
set dummy $ac_prog; ac_word=$2
 
5692
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5693
$as_echo_n "checking for $ac_word... " >&6; }
 
5694
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
5695
  $as_echo_n "(cached) " >&6
 
5696
else
 
5697
  if test -n "$ac_ct_CC"; then
 
5698
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
5699
else
 
5700
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5701
for as_dir in $PATH
 
5702
do
 
5703
  IFS=$as_save_IFS
 
5704
  test -z "$as_dir" && as_dir=.
 
5705
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5706
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5707
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
5708
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5709
    break 2
 
5710
  fi
 
5711
done
 
5712
  done
 
5713
IFS=$as_save_IFS
 
5714
 
 
5715
fi
 
5716
fi
 
5717
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
5718
if test -n "$ac_ct_CC"; then
 
5719
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
5720
$as_echo "$ac_ct_CC" >&6; }
 
5721
else
 
5722
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5723
$as_echo "no" >&6; }
 
5724
fi
 
5725
 
 
5726
 
 
5727
  test -n "$ac_ct_CC" && break
 
5728
done
 
5729
 
 
5730
  if test "x$ac_ct_CC" = x; then
 
5731
    CC=""
 
5732
  else
 
5733
    case $cross_compiling:$ac_tool_warned in
 
5734
yes:)
 
5735
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5736
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5737
ac_tool_warned=yes ;;
 
5738
esac
 
5739
    CC=$ac_ct_CC
 
5740
  fi
 
5741
fi
 
5742
 
 
5743
fi
 
5744
 
 
5745
 
 
5746
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
5747
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
5748
as_fn_error $? "no acceptable C compiler found in \$PATH
 
5749
See \`config.log' for more details" "$LINENO" 5; }
 
5750
 
 
5751
# Provide some information about the compiler.
 
5752
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
5753
set X $ac_compile
 
5754
ac_compiler=$2
 
5755
for ac_option in --version -v -V -qversion; do
 
5756
  { { ac_try="$ac_compiler $ac_option >&5"
 
5757
case "(($ac_try" in
 
5758
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5759
  *) ac_try_echo=$ac_try;;
 
5760
esac
 
5761
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
5762
$as_echo "$ac_try_echo"; } >&5
 
5763
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
5764
  ac_status=$?
 
5765
  if test -s conftest.err; then
 
5766
    sed '10a\
 
5767
... rest of stderr output deleted ...
 
5768
         10q' conftest.err >conftest.er1
 
5769
    cat conftest.er1 >&5
 
5770
  fi
 
5771
  rm -f conftest.er1 conftest.err
 
5772
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5773
  test $ac_status = 0; }
 
5774
done
 
5775
 
 
5776
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
5777
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
5778
if ${ac_cv_c_compiler_gnu+:} false; then :
 
5779
  $as_echo_n "(cached) " >&6
 
5780
else
 
5781
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5782
/* end confdefs.h.  */
 
5783
 
 
5784
int
 
5785
main ()
 
5786
{
 
5787
#ifndef __GNUC__
 
5788
       choke me
 
5789
#endif
 
5790
 
 
5791
  ;
 
5792
  return 0;
 
5793
}
 
5794
_ACEOF
 
5795
if ac_fn_c_try_compile "$LINENO"; then :
 
5796
  ac_compiler_gnu=yes
 
5797
else
 
5798
  ac_compiler_gnu=no
 
5799
fi
 
5800
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5801
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
5802
 
 
5803
fi
 
5804
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
5805
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
5806
if test $ac_compiler_gnu = yes; then
 
5807
  GCC=yes
 
5808
else
 
5809
  GCC=
 
5810
fi
 
5811
ac_test_CFLAGS=${CFLAGS+set}
 
5812
ac_save_CFLAGS=$CFLAGS
 
5813
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
5814
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
5815
if ${ac_cv_prog_cc_g+:} false; then :
 
5816
  $as_echo_n "(cached) " >&6
 
5817
else
 
5818
  ac_save_c_werror_flag=$ac_c_werror_flag
 
5819
   ac_c_werror_flag=yes
 
5820
   ac_cv_prog_cc_g=no
 
5821
   CFLAGS="-g"
 
5822
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5823
/* end confdefs.h.  */
 
5824
 
 
5825
int
 
5826
main ()
 
5827
{
 
5828
 
 
5829
  ;
 
5830
  return 0;
 
5831
}
 
5832
_ACEOF
 
5833
if ac_fn_c_try_compile "$LINENO"; then :
 
5834
  ac_cv_prog_cc_g=yes
 
5835
else
 
5836
  CFLAGS=""
 
5837
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5838
/* end confdefs.h.  */
 
5839
 
 
5840
int
 
5841
main ()
 
5842
{
 
5843
 
 
5844
  ;
 
5845
  return 0;
 
5846
}
 
5847
_ACEOF
 
5848
if ac_fn_c_try_compile "$LINENO"; then :
 
5849
 
 
5850
else
 
5851
  ac_c_werror_flag=$ac_save_c_werror_flag
 
5852
         CFLAGS="-g"
 
5853
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5854
/* end confdefs.h.  */
 
5855
 
 
5856
int
 
5857
main ()
 
5858
{
 
5859
 
 
5860
  ;
 
5861
  return 0;
 
5862
}
 
5863
_ACEOF
 
5864
if ac_fn_c_try_compile "$LINENO"; then :
 
5865
  ac_cv_prog_cc_g=yes
 
5866
fi
 
5867
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5868
fi
 
5869
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5870
fi
 
5871
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5872
   ac_c_werror_flag=$ac_save_c_werror_flag
 
5873
fi
 
5874
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
5875
$as_echo "$ac_cv_prog_cc_g" >&6; }
 
5876
if test "$ac_test_CFLAGS" = set; then
 
5877
  CFLAGS=$ac_save_CFLAGS
 
5878
elif test $ac_cv_prog_cc_g = yes; then
 
5879
  if test "$GCC" = yes; then
 
5880
    CFLAGS="-g -O2"
 
5881
  else
 
5882
    CFLAGS="-g"
 
5883
  fi
 
5884
else
 
5885
  if test "$GCC" = yes; then
 
5886
    CFLAGS="-O2"
 
5887
  else
 
5888
    CFLAGS=
 
5889
  fi
 
5890
fi
 
5891
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
5892
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
5893
if ${ac_cv_prog_cc_c89+:} false; then :
 
5894
  $as_echo_n "(cached) " >&6
 
5895
else
 
5896
  ac_cv_prog_cc_c89=no
 
5897
ac_save_CC=$CC
 
5898
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5899
/* end confdefs.h.  */
 
5900
#include <stdarg.h>
 
5901
#include <stdio.h>
 
5902
struct stat;
 
5903
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
5904
struct buf { int x; };
 
5905
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
5906
static char *e (p, i)
 
5907
     char **p;
 
5908
     int i;
 
5909
{
 
5910
  return p[i];
 
5911
}
 
5912
static char *f (char * (*g) (char **, int), char **p, ...)
 
5913
{
 
5914
  char *s;
 
5915
  va_list v;
 
5916
  va_start (v,p);
 
5917
  s = g (p, va_arg (v,int));
 
5918
  va_end (v);
 
5919
  return s;
 
5920
}
 
5921
 
 
5922
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
5923
   function prototypes and stuff, but not '\xHH' hex character constants.
 
5924
   These don't provoke an error unfortunately, instead are silently treated
 
5925
   as 'x'.  The following induces an error, until -std is added to get
 
5926
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
5927
   array size at least.  It's necessary to write '\x00'==0 to get something
 
5928
   that's true only with -std.  */
 
5929
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
5930
 
 
5931
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
5932
   inside strings and character constants.  */
 
5933
#define FOO(x) 'x'
 
5934
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
5935
 
 
5936
int test (int i, double x);
 
5937
struct s1 {int (*f) (int a);};
 
5938
struct s2 {int (*f) (double a);};
 
5939
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
5940
int argc;
 
5941
char **argv;
 
5942
int
 
5943
main ()
 
5944
{
 
5945
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
5946
  ;
 
5947
  return 0;
 
5948
}
 
5949
_ACEOF
 
5950
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
5951
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
5952
do
 
5953
  CC="$ac_save_CC $ac_arg"
 
5954
  if ac_fn_c_try_compile "$LINENO"; then :
 
5955
  ac_cv_prog_cc_c89=$ac_arg
 
5956
fi
 
5957
rm -f core conftest.err conftest.$ac_objext
 
5958
  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
5959
done
 
5960
rm -f conftest.$ac_ext
 
5961
CC=$ac_save_CC
 
5962
 
 
5963
fi
 
5964
# AC_CACHE_VAL
 
5965
case "x$ac_cv_prog_cc_c89" in
 
5966
  x)
 
5967
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
5968
$as_echo "none needed" >&6; } ;;
 
5969
  xno)
 
5970
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
5971
$as_echo "unsupported" >&6; } ;;
 
5972
  *)
 
5973
    CC="$CC $ac_cv_prog_cc_c89"
 
5974
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
5975
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 
5976
esac
 
5977
if test "x$ac_cv_prog_cc_c89" != xno; then :
 
5978
 
 
5979
fi
 
5980
 
 
5981
ac_ext=c
 
5982
ac_cpp='$CPP $CPPFLAGS'
 
5983
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
5984
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
5985
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
5986
 
 
5987
depcc="$CC"   am_compiler_list=
 
5988
 
 
5989
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
5990
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
5991
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
 
5992
  $as_echo_n "(cached) " >&6
 
5993
else
 
5994
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
5995
  # We make a subdir and do the tests there.  Otherwise we can end up
 
5996
  # making bogus files that we don't know about and never remove.  For
 
5997
  # instance it was reported that on HP-UX the gcc test will end up
 
5998
  # making a dummy file named 'D' -- because '-MD' means "put the output
 
5999
  # in D".
 
6000
  rm -rf conftest.dir
 
6001
  mkdir conftest.dir
 
6002
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
6003
  # using a relative directory.
 
6004
  cp "$am_depcomp" conftest.dir
 
6005
  cd conftest.dir
 
6006
  # We will build objects and dependencies in a subdirectory because
 
6007
  # it helps to detect inapplicable dependency modes.  For instance
 
6008
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
6009
  # side effect of compilation, but ICC will put the dependencies in
 
6010
  # the current directory while Tru64 will put them in the object
 
6011
  # directory.
 
6012
  mkdir sub
 
6013
 
 
6014
  am_cv_CC_dependencies_compiler_type=none
 
6015
  if test "$am_compiler_list" = ""; then
 
6016
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
6017
  fi
 
6018
  am__universal=false
 
6019
  case " $depcc " in #(
 
6020
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
6021
     esac
 
6022
 
 
6023
  for depmode in $am_compiler_list; do
 
6024
    # Setup a source with many dependencies, because some compilers
 
6025
    # like to wrap large dependency lists on column 80 (with \), and
 
6026
    # we should not choose a depcomp mode which is confused by this.
 
6027
    #
 
6028
    # We need to recreate these files for each test, as the compiler may
 
6029
    # overwrite some of them when testing with obscure command lines.
 
6030
    # This happens at least with the AIX C compiler.
 
6031
    : > sub/conftest.c
 
6032
    for i in 1 2 3 4 5 6; do
 
6033
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
6034
      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
 
6035
      # Solaris 10 /bin/sh.
 
6036
      echo '/* dummy */' > sub/conftst$i.h
 
6037
    done
 
6038
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
6039
 
 
6040
    # We check with '-c' and '-o' for the sake of the "dashmstdout"
 
6041
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
6042
    # handle '-M -o', and we need to detect this.  Also, some Intel
 
6043
    # versions had trouble with output in subdirs.
 
6044
    am__obj=sub/conftest.${OBJEXT-o}
 
6045
    am__minus_obj="-o $am__obj"
 
6046
    case $depmode in
 
6047
    gcc)
 
6048
      # This depmode causes a compiler race in universal mode.
 
6049
      test "$am__universal" = false || continue
 
6050
      ;;
 
6051
    nosideeffect)
 
6052
      # After this tag, mechanisms are not by side-effect, so they'll
 
6053
      # only be used when explicitly requested.
 
6054
      if test "x$enable_dependency_tracking" = xyes; then
 
6055
        continue
 
6056
      else
 
6057
        break
 
6058
      fi
 
6059
      ;;
 
6060
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
 
6061
      # This compiler won't grok '-c -o', but also, the minuso test has
 
6062
      # not run yet.  These depmodes are late enough in the game, and
 
6063
      # so weak that their functioning should not be impacted.
 
6064
      am__obj=conftest.${OBJEXT-o}
 
6065
      am__minus_obj=
 
6066
      ;;
 
6067
    none) break ;;
 
6068
    esac
 
6069
    if depmode=$depmode \
 
6070
       source=sub/conftest.c object=$am__obj \
 
6071
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
6072
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 
6073
         >/dev/null 2>conftest.err &&
 
6074
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
6075
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
6076
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 
6077
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
6078
      # icc doesn't choke on unknown options, it will just issue warnings
 
6079
      # or remarks (even with -Werror).  So we grep stderr for any message
 
6080
      # that says an option was ignored or not supported.
 
6081
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
6082
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
6083
      # The diagnosis changed in icc 8.0:
 
6084
      #   icc: Command line remark: option '-MP' not supported
 
6085
      if (grep 'ignoring option' conftest.err ||
 
6086
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
6087
        am_cv_CC_dependencies_compiler_type=$depmode
 
6088
        break
 
6089
      fi
 
6090
    fi
 
6091
  done
 
6092
 
 
6093
  cd ..
 
6094
  rm -rf conftest.dir
 
6095
else
 
6096
  am_cv_CC_dependencies_compiler_type=none
 
6097
fi
 
6098
 
 
6099
fi
 
6100
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 
6101
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 
6102
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
6103
 
 
6104
 if
 
6105
  test "x$enable_dependency_tracking" != xno \
 
6106
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
6107
  am__fastdepCC_TRUE=
 
6108
  am__fastdepCC_FALSE='#'
 
6109
else
 
6110
  am__fastdepCC_TRUE='#'
 
6111
  am__fastdepCC_FALSE=
 
6112
fi
 
6113
 
 
6114
 
 
6115
ac_ext=c
 
6116
ac_cpp='$CPP $CPPFLAGS'
 
6117
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6118
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6119
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6120
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 
6121
$as_echo_n "checking how to run the C preprocessor... " >&6; }
 
6122
# On Suns, sometimes $CPP names a directory.
 
6123
if test -n "$CPP" && test -d "$CPP"; then
 
6124
  CPP=
 
6125
fi
 
6126
if test -z "$CPP"; then
 
6127
  if ${ac_cv_prog_CPP+:} false; then :
 
6128
  $as_echo_n "(cached) " >&6
 
6129
else
 
6130
      # Double quotes because CPP needs to be expanded
 
6131
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
6132
    do
 
6133
      ac_preproc_ok=false
 
6134
for ac_c_preproc_warn_flag in '' yes
 
6135
do
 
6136
  # Use a header file that comes with gcc, so configuring glibc
 
6137
  # with a fresh cross-compiler works.
 
6138
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
6139
  # <limits.h> exists even on freestanding compilers.
 
6140
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
6141
  # not just through cpp. "Syntax error" is here to catch this case.
 
6142
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6143
/* end confdefs.h.  */
 
6144
#ifdef __STDC__
 
6145
# include <limits.h>
 
6146
#else
 
6147
# include <assert.h>
 
6148
#endif
 
6149
                     Syntax error
 
6150
_ACEOF
 
6151
if ac_fn_c_try_cpp "$LINENO"; then :
 
6152
 
 
6153
else
 
6154
  # Broken: fails on valid input.
 
6155
continue
 
6156
fi
 
6157
rm -f conftest.err conftest.i conftest.$ac_ext
 
6158
 
 
6159
  # OK, works on sane cases.  Now check whether nonexistent headers
 
6160
  # can be detected and how.
 
6161
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6162
/* end confdefs.h.  */
 
6163
#include <ac_nonexistent.h>
 
6164
_ACEOF
 
6165
if ac_fn_c_try_cpp "$LINENO"; then :
 
6166
  # Broken: success on invalid input.
 
6167
continue
 
6168
else
 
6169
  # Passes both tests.
 
6170
ac_preproc_ok=:
 
6171
break
 
6172
fi
 
6173
rm -f conftest.err conftest.i conftest.$ac_ext
 
6174
 
 
6175
done
 
6176
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
6177
rm -f conftest.i conftest.err conftest.$ac_ext
 
6178
if $ac_preproc_ok; then :
 
6179
  break
 
6180
fi
 
6181
 
 
6182
    done
 
6183
    ac_cv_prog_CPP=$CPP
 
6184
 
 
6185
fi
 
6186
  CPP=$ac_cv_prog_CPP
 
6187
else
 
6188
  ac_cv_prog_CPP=$CPP
 
6189
fi
 
6190
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 
6191
$as_echo "$CPP" >&6; }
 
6192
ac_preproc_ok=false
 
6193
for ac_c_preproc_warn_flag in '' yes
 
6194
do
 
6195
  # Use a header file that comes with gcc, so configuring glibc
 
6196
  # with a fresh cross-compiler works.
 
6197
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
6198
  # <limits.h> exists even on freestanding compilers.
 
6199
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
6200
  # not just through cpp. "Syntax error" is here to catch this case.
 
6201
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6202
/* end confdefs.h.  */
 
6203
#ifdef __STDC__
 
6204
# include <limits.h>
 
6205
#else
 
6206
# include <assert.h>
 
6207
#endif
 
6208
                     Syntax error
 
6209
_ACEOF
 
6210
if ac_fn_c_try_cpp "$LINENO"; then :
 
6211
 
 
6212
else
 
6213
  # Broken: fails on valid input.
 
6214
continue
 
6215
fi
 
6216
rm -f conftest.err conftest.i conftest.$ac_ext
 
6217
 
 
6218
  # OK, works on sane cases.  Now check whether nonexistent headers
 
6219
  # can be detected and how.
 
6220
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6221
/* end confdefs.h.  */
 
6222
#include <ac_nonexistent.h>
 
6223
_ACEOF
 
6224
if ac_fn_c_try_cpp "$LINENO"; then :
 
6225
  # Broken: success on invalid input.
 
6226
continue
 
6227
else
 
6228
  # Passes both tests.
 
6229
ac_preproc_ok=:
 
6230
break
 
6231
fi
 
6232
rm -f conftest.err conftest.i conftest.$ac_ext
 
6233
 
 
6234
done
 
6235
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
6236
rm -f conftest.i conftest.err conftest.$ac_ext
 
6237
if $ac_preproc_ok; then :
 
6238
 
 
6239
else
 
6240
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
6241
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
6242
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 
6243
See \`config.log' for more details" "$LINENO" 5; }
 
6244
fi
 
6245
 
 
6246
ac_ext=c
 
6247
ac_cpp='$CPP $CPPFLAGS'
 
6248
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6249
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6250
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6251
 
 
6252
 
 
6253
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 
6254
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
6255
if ${ac_cv_path_GREP+:} false; then :
 
6256
  $as_echo_n "(cached) " >&6
 
6257
else
 
6258
  if test -z "$GREP"; then
 
6259
  ac_path_GREP_found=false
 
6260
  # Loop through the user's path and test for each of PROGNAME-LIST
 
6261
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6262
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
6263
do
 
6264
  IFS=$as_save_IFS
 
6265
  test -z "$as_dir" && as_dir=.
 
6266
    for ac_prog in grep ggrep; do
 
6267
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6268
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
6269
      as_fn_executable_p "$ac_path_GREP" || continue
 
6270
# Check for GNU ac_path_GREP and select it if it is found.
 
6271
  # Check for GNU $ac_path_GREP
 
6272
case `"$ac_path_GREP" --version 2>&1` in
 
6273
*GNU*)
 
6274
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
6275
*)
 
6276
  ac_count=0
 
6277
  $as_echo_n 0123456789 >"conftest.in"
 
6278
  while :
 
6279
  do
 
6280
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
6281
    mv "conftest.tmp" "conftest.in"
 
6282
    cp "conftest.in" "conftest.nl"
 
6283
    $as_echo 'GREP' >> "conftest.nl"
 
6284
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
6285
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
6286
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
6287
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
6288
      # Best one so far, save it but keep looking for a better one
 
6289
      ac_cv_path_GREP="$ac_path_GREP"
 
6290
      ac_path_GREP_max=$ac_count
 
6291
    fi
 
6292
    # 10*(2^10) chars as input seems more than enough
 
6293
    test $ac_count -gt 10 && break
 
6294
  done
 
6295
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
6296
esac
 
6297
 
 
6298
      $ac_path_GREP_found && break 3
 
6299
    done
 
6300
  done
 
6301
  done
 
6302
IFS=$as_save_IFS
 
6303
  if test -z "$ac_cv_path_GREP"; then
 
6304
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
6305
  fi
 
6306
else
 
6307
  ac_cv_path_GREP=$GREP
 
6308
fi
 
6309
 
 
6310
fi
 
6311
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 
6312
$as_echo "$ac_cv_path_GREP" >&6; }
 
6313
 GREP="$ac_cv_path_GREP"
 
6314
 
 
6315
 
 
6316
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 
6317
$as_echo_n "checking for egrep... " >&6; }
 
6318
if ${ac_cv_path_EGREP+:} false; then :
 
6319
  $as_echo_n "(cached) " >&6
 
6320
else
 
6321
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
6322
   then ac_cv_path_EGREP="$GREP -E"
 
6323
   else
 
6324
     if test -z "$EGREP"; then
 
6325
  ac_path_EGREP_found=false
 
6326
  # Loop through the user's path and test for each of PROGNAME-LIST
 
6327
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6328
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
6329
do
 
6330
  IFS=$as_save_IFS
 
6331
  test -z "$as_dir" && as_dir=.
 
6332
    for ac_prog in egrep; do
 
6333
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6334
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
6335
      as_fn_executable_p "$ac_path_EGREP" || continue
 
6336
# Check for GNU ac_path_EGREP and select it if it is found.
 
6337
  # Check for GNU $ac_path_EGREP
 
6338
case `"$ac_path_EGREP" --version 2>&1` in
 
6339
*GNU*)
 
6340
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
6341
*)
 
6342
  ac_count=0
 
6343
  $as_echo_n 0123456789 >"conftest.in"
 
6344
  while :
 
6345
  do
 
6346
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
6347
    mv "conftest.tmp" "conftest.in"
 
6348
    cp "conftest.in" "conftest.nl"
 
6349
    $as_echo 'EGREP' >> "conftest.nl"
 
6350
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
6351
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
6352
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
6353
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
6354
      # Best one so far, save it but keep looking for a better one
 
6355
      ac_cv_path_EGREP="$ac_path_EGREP"
 
6356
      ac_path_EGREP_max=$ac_count
 
6357
    fi
 
6358
    # 10*(2^10) chars as input seems more than enough
 
6359
    test $ac_count -gt 10 && break
 
6360
  done
 
6361
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
6362
esac
 
6363
 
 
6364
      $ac_path_EGREP_found && break 3
 
6365
    done
 
6366
  done
 
6367
  done
 
6368
IFS=$as_save_IFS
 
6369
  if test -z "$ac_cv_path_EGREP"; then
 
6370
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
6371
  fi
 
6372
else
 
6373
  ac_cv_path_EGREP=$EGREP
 
6374
fi
 
6375
 
 
6376
   fi
 
6377
fi
 
6378
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 
6379
$as_echo "$ac_cv_path_EGREP" >&6; }
 
6380
 EGREP="$ac_cv_path_EGREP"
 
6381
 
 
6382
 
 
6383
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 
6384
$as_echo_n "checking for ANSI C header files... " >&6; }
 
6385
if ${ac_cv_header_stdc+:} false; then :
 
6386
  $as_echo_n "(cached) " >&6
 
6387
else
 
6388
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6389
/* end confdefs.h.  */
 
6390
#include <stdlib.h>
 
6391
#include <stdarg.h>
 
6392
#include <string.h>
 
6393
#include <float.h>
 
6394
 
 
6395
int
 
6396
main ()
 
6397
{
 
6398
 
 
6399
  ;
 
6400
  return 0;
 
6401
}
 
6402
_ACEOF
 
6403
if ac_fn_c_try_compile "$LINENO"; then :
 
6404
  ac_cv_header_stdc=yes
 
6405
else
 
6406
  ac_cv_header_stdc=no
 
6407
fi
 
6408
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6409
 
 
6410
if test $ac_cv_header_stdc = yes; then
 
6411
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
6412
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6413
/* end confdefs.h.  */
 
6414
#include <string.h>
 
6415
 
 
6416
_ACEOF
 
6417
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
6418
  $EGREP "memchr" >/dev/null 2>&1; then :
 
6419
 
 
6420
else
 
6421
  ac_cv_header_stdc=no
 
6422
fi
 
6423
rm -f conftest*
 
6424
 
 
6425
fi
 
6426
 
 
6427
if test $ac_cv_header_stdc = yes; then
 
6428
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
6429
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6430
/* end confdefs.h.  */
 
6431
#include <stdlib.h>
 
6432
 
 
6433
_ACEOF
 
6434
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
6435
  $EGREP "free" >/dev/null 2>&1; then :
 
6436
 
 
6437
else
 
6438
  ac_cv_header_stdc=no
 
6439
fi
 
6440
rm -f conftest*
 
6441
 
 
6442
fi
 
6443
 
 
6444
if test $ac_cv_header_stdc = yes; then
 
6445
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
6446
  if test "$cross_compiling" = yes; then :
 
6447
  :
 
6448
else
 
6449
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6450
/* end confdefs.h.  */
 
6451
#include <ctype.h>
 
6452
#include <stdlib.h>
 
6453
#if ((' ' & 0x0FF) == 0x020)
 
6454
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
6455
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
6456
#else
 
6457
# define ISLOWER(c) \
 
6458
                   (('a' <= (c) && (c) <= 'i') \
 
6459
                     || ('j' <= (c) && (c) <= 'r') \
 
6460
                     || ('s' <= (c) && (c) <= 'z'))
 
6461
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
6462
#endif
 
6463
 
 
6464
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
6465
int
 
6466
main ()
 
6467
{
 
6468
  int i;
 
6469
  for (i = 0; i < 256; i++)
 
6470
    if (XOR (islower (i), ISLOWER (i))
 
6471
        || toupper (i) != TOUPPER (i))
 
6472
      return 2;
 
6473
  return 0;
 
6474
}
 
6475
_ACEOF
 
6476
if ac_fn_c_try_run "$LINENO"; then :
 
6477
 
 
6478
else
 
6479
  ac_cv_header_stdc=no
 
6480
fi
 
6481
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
6482
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
6483
fi
 
6484
 
 
6485
fi
 
6486
fi
 
6487
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 
6488
$as_echo "$ac_cv_header_stdc" >&6; }
 
6489
if test $ac_cv_header_stdc = yes; then
 
6490
 
 
6491
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
 
6492
 
 
6493
fi
 
6494
 
 
6495
case `pwd` in
 
6496
  *\ * | *\     *)
 
6497
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
6498
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
6499
esac
 
6500
 
 
6501
 
 
6502
 
 
6503
macro_version='2.4.2'
 
6504
macro_revision='1.3337'
 
6505
 
 
6506
 
 
6507
 
 
6508
 
 
6509
 
 
6510
 
 
6511
 
 
6512
 
 
6513
 
 
6514
 
 
6515
 
 
6516
 
 
6517
 
 
6518
ltmain="$ac_aux_dir/ltmain.sh"
 
6519
 
 
6520
# Make sure we can run config.sub.
 
6521
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
6522
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 
6523
 
 
6524
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 
6525
$as_echo_n "checking build system type... " >&6; }
 
6526
if ${ac_cv_build+:} false; then :
 
6527
  $as_echo_n "(cached) " >&6
 
6528
else
 
6529
  ac_build_alias=$build_alias
 
6530
test "x$ac_build_alias" = x &&
 
6531
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
6532
test "x$ac_build_alias" = x &&
 
6533
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
 
6534
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
6535
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 
6536
 
 
6537
fi
 
6538
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 
6539
$as_echo "$ac_cv_build" >&6; }
 
6540
case $ac_cv_build in
 
6541
*-*-*) ;;
 
6542
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
 
6543
esac
 
6544
build=$ac_cv_build
 
6545
ac_save_IFS=$IFS; IFS='-'
 
6546
set x $ac_cv_build
 
6547
shift
 
6548
build_cpu=$1
 
6549
build_vendor=$2
 
6550
shift; shift
 
6551
# Remember, the first character of IFS is used to create $*,
 
6552
# except with old shells:
 
6553
build_os=$*
 
6554
IFS=$ac_save_IFS
 
6555
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
6556
 
 
6557
 
 
6558
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 
6559
$as_echo_n "checking host system type... " >&6; }
 
6560
if ${ac_cv_host+:} false; then :
 
6561
  $as_echo_n "(cached) " >&6
 
6562
else
 
6563
  if test "x$host_alias" = x; then
 
6564
  ac_cv_host=$ac_cv_build
 
6565
else
 
6566
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
6567
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 
6568
fi
 
6569
 
 
6570
fi
 
6571
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 
6572
$as_echo "$ac_cv_host" >&6; }
 
6573
case $ac_cv_host in
 
6574
*-*-*) ;;
 
6575
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
 
6576
esac
 
6577
host=$ac_cv_host
 
6578
ac_save_IFS=$IFS; IFS='-'
 
6579
set x $ac_cv_host
 
6580
shift
 
6581
host_cpu=$1
 
6582
host_vendor=$2
 
6583
shift; shift
 
6584
# Remember, the first character of IFS is used to create $*,
 
6585
# except with old shells:
 
6586
host_os=$*
 
6587
IFS=$ac_save_IFS
 
6588
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
6589
 
 
6590
 
 
6591
# Backslashify metacharacters that are still active within
 
6592
# double-quoted strings.
 
6593
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
6594
 
 
6595
# Same as above, but do not quote variable references.
 
6596
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
6597
 
 
6598
# Sed substitution to delay expansion of an escaped shell variable in a
 
6599
# double_quote_subst'ed string.
 
6600
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
6601
 
 
6602
# Sed substitution to delay expansion of an escaped single quote.
 
6603
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
6604
 
 
6605
# Sed substitution to avoid accidental globbing in evaled expressions
 
6606
no_glob_subst='s/\*/\\\*/g'
 
6607
 
 
6608
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
6609
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 
6610
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 
6611
 
 
6612
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
 
6613
$as_echo_n "checking how to print strings... " >&6; }
 
6614
# Test print first, because it will be a builtin if present.
 
6615
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
 
6616
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
 
6617
  ECHO='print -r --'
 
6618
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
 
6619
  ECHO='printf %s\n'
 
6620
else
 
6621
  # Use this function as a fallback that always works.
 
6622
  func_fallback_echo ()
 
6623
  {
 
6624
    eval 'cat <<_LTECHO_EOF
 
6625
$1
 
6626
_LTECHO_EOF'
 
6627
  }
 
6628
  ECHO='func_fallback_echo'
 
6629
fi
 
6630
 
 
6631
# func_echo_all arg...
 
6632
# Invoke $ECHO with all args, space-separated.
 
6633
func_echo_all ()
 
6634
{
 
6635
    $ECHO ""
 
6636
}
 
6637
 
 
6638
case "$ECHO" in
 
6639
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
 
6640
$as_echo "printf" >&6; } ;;
 
6641
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
 
6642
$as_echo "print -r" >&6; } ;;
 
6643
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
 
6644
$as_echo "cat" >&6; } ;;
 
6645
esac
 
6646
 
 
6647
 
 
6648
 
 
6649
 
 
6650
 
 
6651
 
 
6652
 
 
6653
 
 
6654
 
 
6655
 
 
6656
 
 
6657
 
 
6658
 
 
6659
 
 
6660
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 
6661
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
6662
if ${ac_cv_path_SED+:} false; then :
 
6663
  $as_echo_n "(cached) " >&6
 
6664
else
 
6665
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
6666
     for ac_i in 1 2 3 4 5 6 7; do
 
6667
       ac_script="$ac_script$as_nl$ac_script"
 
6668
     done
 
6669
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
6670
     { ac_script=; unset ac_script;}
 
6671
     if test -z "$SED"; then
 
6672
  ac_path_SED_found=false
 
6673
  # Loop through the user's path and test for each of PROGNAME-LIST
 
6674
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6675
for as_dir in $PATH
 
6676
do
 
6677
  IFS=$as_save_IFS
 
6678
  test -z "$as_dir" && as_dir=.
 
6679
    for ac_prog in sed gsed; do
 
6680
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6681
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
6682
      as_fn_executable_p "$ac_path_SED" || continue
 
6683
# Check for GNU ac_path_SED and select it if it is found.
 
6684
  # Check for GNU $ac_path_SED
 
6685
case `"$ac_path_SED" --version 2>&1` in
 
6686
*GNU*)
 
6687
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
6688
*)
 
6689
  ac_count=0
 
6690
  $as_echo_n 0123456789 >"conftest.in"
 
6691
  while :
 
6692
  do
 
6693
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
6694
    mv "conftest.tmp" "conftest.in"
 
6695
    cp "conftest.in" "conftest.nl"
 
6696
    $as_echo '' >> "conftest.nl"
 
6697
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
6698
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
6699
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
6700
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
6701
      # Best one so far, save it but keep looking for a better one
 
6702
      ac_cv_path_SED="$ac_path_SED"
 
6703
      ac_path_SED_max=$ac_count
 
6704
    fi
 
6705
    # 10*(2^10) chars as input seems more than enough
 
6706
    test $ac_count -gt 10 && break
 
6707
  done
 
6708
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
6709
esac
 
6710
 
 
6711
      $ac_path_SED_found && break 3
 
6712
    done
 
6713
  done
 
6714
  done
 
6715
IFS=$as_save_IFS
 
6716
  if test -z "$ac_cv_path_SED"; then
 
6717
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
6718
  fi
 
6719
else
 
6720
  ac_cv_path_SED=$SED
 
6721
fi
 
6722
 
 
6723
fi
 
6724
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 
6725
$as_echo "$ac_cv_path_SED" >&6; }
 
6726
 SED="$ac_cv_path_SED"
 
6727
  rm -f conftest.sed
 
6728
 
 
6729
test -z "$SED" && SED=sed
 
6730
Xsed="$SED -e 1s/^X//"
 
6731
 
 
6732
 
 
6733
 
 
6734
 
 
6735
 
 
6736
 
 
6737
 
 
6738
 
 
6739
 
 
6740
 
 
6741
 
 
6742
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
 
6743
$as_echo_n "checking for fgrep... " >&6; }
 
6744
if ${ac_cv_path_FGREP+:} false; then :
 
6745
  $as_echo_n "(cached) " >&6
 
6746
else
 
6747
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 
6748
   then ac_cv_path_FGREP="$GREP -F"
 
6749
   else
 
6750
     if test -z "$FGREP"; then
 
6751
  ac_path_FGREP_found=false
 
6752
  # Loop through the user's path and test for each of PROGNAME-LIST
 
6753
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6754
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
6755
do
 
6756
  IFS=$as_save_IFS
 
6757
  test -z "$as_dir" && as_dir=.
 
6758
    for ac_prog in fgrep; do
 
6759
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6760
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 
6761
      as_fn_executable_p "$ac_path_FGREP" || continue
 
6762
# Check for GNU ac_path_FGREP and select it if it is found.
 
6763
  # Check for GNU $ac_path_FGREP
 
6764
case `"$ac_path_FGREP" --version 2>&1` in
 
6765
*GNU*)
 
6766
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 
6767
*)
 
6768
  ac_count=0
 
6769
  $as_echo_n 0123456789 >"conftest.in"
 
6770
  while :
 
6771
  do
 
6772
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
6773
    mv "conftest.tmp" "conftest.in"
 
6774
    cp "conftest.in" "conftest.nl"
 
6775
    $as_echo 'FGREP' >> "conftest.nl"
 
6776
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
6777
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
6778
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
6779
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 
6780
      # Best one so far, save it but keep looking for a better one
 
6781
      ac_cv_path_FGREP="$ac_path_FGREP"
 
6782
      ac_path_FGREP_max=$ac_count
 
6783
    fi
 
6784
    # 10*(2^10) chars as input seems more than enough
 
6785
    test $ac_count -gt 10 && break
 
6786
  done
 
6787
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
6788
esac
 
6789
 
 
6790
      $ac_path_FGREP_found && break 3
 
6791
    done
 
6792
  done
 
6793
  done
 
6794
IFS=$as_save_IFS
 
6795
  if test -z "$ac_cv_path_FGREP"; then
 
6796
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
6797
  fi
 
6798
else
 
6799
  ac_cv_path_FGREP=$FGREP
 
6800
fi
 
6801
 
 
6802
   fi
 
6803
fi
 
6804
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
 
6805
$as_echo "$ac_cv_path_FGREP" >&6; }
 
6806
 FGREP="$ac_cv_path_FGREP"
 
6807
 
 
6808
 
 
6809
test -z "$GREP" && GREP=grep
 
6810
 
 
6811
 
 
6812
 
 
6813
 
 
6814
 
 
6815
 
 
6816
 
 
6817
 
 
6818
 
 
6819
 
 
6820
 
 
6821
 
 
6822
 
 
6823
 
 
6824
 
 
6825
 
 
6826
 
 
6827
 
 
6828
 
 
6829
# Check whether --with-gnu-ld was given.
 
6830
if test "${with_gnu_ld+set}" = set; then :
 
6831
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 
6832
else
 
6833
  with_gnu_ld=no
 
6834
fi
 
6835
 
 
6836
ac_prog=ld
 
6837
if test "$GCC" = yes; then
 
6838
  # Check if gcc -print-prog-name=ld gives a path.
 
6839
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
 
6840
$as_echo_n "checking for ld used by $CC... " >&6; }
 
6841
  case $host in
 
6842
  *-*-mingw*)
 
6843
    # gcc leaves a trailing carriage return which upsets mingw
 
6844
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 
6845
  *)
 
6846
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 
6847
  esac
 
6848
  case $ac_prog in
 
6849
    # Accept absolute paths.
 
6850
    [\\/]* | ?:[\\/]*)
 
6851
      re_direlt='/[^/][^/]*/\.\./'
 
6852
      # Canonicalize the pathname of ld
 
6853
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
6854
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
6855
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
 
6856
      done
 
6857
      test -z "$LD" && LD="$ac_prog"
 
6858
      ;;
 
6859
  "")
 
6860
    # If it fails, then pretend we aren't using GCC.
 
6861
    ac_prog=ld
 
6862
    ;;
 
6863
  *)
 
6864
    # If it is relative, then search for the first ld in PATH.
 
6865
    with_gnu_ld=unknown
 
6866
    ;;
 
6867
  esac
 
6868
elif test "$with_gnu_ld" = yes; then
 
6869
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 
6870
$as_echo_n "checking for GNU ld... " >&6; }
 
6871
else
 
6872
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 
6873
$as_echo_n "checking for non-GNU ld... " >&6; }
 
6874
fi
 
6875
if ${lt_cv_path_LD+:} false; then :
 
6876
  $as_echo_n "(cached) " >&6
 
6877
else
 
6878
  if test -z "$LD"; then
 
6879
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
6880
  for ac_dir in $PATH; do
 
6881
    IFS="$lt_save_ifs"
 
6882
    test -z "$ac_dir" && ac_dir=.
 
6883
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 
6884
      lt_cv_path_LD="$ac_dir/$ac_prog"
 
6885
      # Check to see if the program is GNU ld.  I'd rather use --version,
 
6886
      # but apparently some variants of GNU ld only accept -v.
 
6887
      # Break only if it was the GNU/non-GNU ld that we prefer.
 
6888
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 
6889
      *GNU* | *'with BFD'*)
 
6890
        test "$with_gnu_ld" != no && break
 
6891
        ;;
 
6892
      *)
 
6893
        test "$with_gnu_ld" != yes && break
 
6894
        ;;
 
6895
      esac
 
6896
    fi
 
6897
  done
 
6898
  IFS="$lt_save_ifs"
 
6899
else
 
6900
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
 
6901
fi
 
6902
fi
 
6903
 
 
6904
LD="$lt_cv_path_LD"
 
6905
if test -n "$LD"; then
 
6906
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 
6907
$as_echo "$LD" >&6; }
 
6908
else
 
6909
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6910
$as_echo "no" >&6; }
 
6911
fi
 
6912
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
 
6913
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 
6914
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 
6915
if ${lt_cv_prog_gnu_ld+:} false; then :
 
6916
  $as_echo_n "(cached) " >&6
 
6917
else
 
6918
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
 
6919
case `$LD -v 2>&1 </dev/null` in
 
6920
*GNU* | *'with BFD'*)
 
6921
  lt_cv_prog_gnu_ld=yes
 
6922
  ;;
 
6923
*)
 
6924
  lt_cv_prog_gnu_ld=no
 
6925
  ;;
 
6926
esac
 
6927
fi
 
6928
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
 
6929
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
 
6930
with_gnu_ld=$lt_cv_prog_gnu_ld
 
6931
 
 
6932
 
 
6933
 
 
6934
 
 
6935
 
 
6936
 
 
6937
 
 
6938
 
 
6939
 
 
6940
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
 
6941
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
 
6942
if ${lt_cv_path_NM+:} false; then :
 
6943
  $as_echo_n "(cached) " >&6
 
6944
else
 
6945
  if test -n "$NM"; then
 
6946
  # Let the user override the test.
 
6947
  lt_cv_path_NM="$NM"
 
6948
else
 
6949
  lt_nm_to_check="${ac_tool_prefix}nm"
 
6950
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 
6951
    lt_nm_to_check="$lt_nm_to_check nm"
 
6952
  fi
 
6953
  for lt_tmp_nm in $lt_nm_to_check; do
 
6954
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
6955
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 
6956
      IFS="$lt_save_ifs"
 
6957
      test -z "$ac_dir" && ac_dir=.
 
6958
      tmp_nm="$ac_dir/$lt_tmp_nm"
 
6959
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 
6960
        # Check to see if the nm accepts a BSD-compat flag.
 
6961
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
 
6962
        #   nm: unknown option "B" ignored
 
6963
        # Tru64's nm complains that /dev/null is an invalid object file
 
6964
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 
6965
        */dev/null* | *'Invalid file or object type'*)
 
6966
          lt_cv_path_NM="$tmp_nm -B"
 
6967
          break
 
6968
          ;;
 
6969
        *)
 
6970
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 
6971
          */dev/null*)
 
6972
            lt_cv_path_NM="$tmp_nm -p"
 
6973
            break
 
6974
            ;;
 
6975
          *)
 
6976
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 
6977
            continue # so that we can try to find one that supports BSD flags
 
6978
            ;;
 
6979
          esac
 
6980
          ;;
 
6981
        esac
 
6982
      fi
 
6983
    done
 
6984
    IFS="$lt_save_ifs"
 
6985
  done
 
6986
  : ${lt_cv_path_NM=no}
 
6987
fi
 
6988
fi
 
6989
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
 
6990
$as_echo "$lt_cv_path_NM" >&6; }
 
6991
if test "$lt_cv_path_NM" != "no"; then
 
6992
  NM="$lt_cv_path_NM"
 
6993
else
 
6994
  # Didn't find any BSD compatible name lister, look for dumpbin.
 
6995
  if test -n "$DUMPBIN"; then :
 
6996
    # Let the user override the test.
 
6997
  else
 
6998
    if test -n "$ac_tool_prefix"; then
 
6999
  for ac_prog in dumpbin "link -dump"
 
7000
  do
 
7001
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
7002
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
7003
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7004
$as_echo_n "checking for $ac_word... " >&6; }
 
7005
if ${ac_cv_prog_DUMPBIN+:} false; then :
 
7006
  $as_echo_n "(cached) " >&6
 
7007
else
 
7008
  if test -n "$DUMPBIN"; then
 
7009
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 
7010
else
 
7011
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7012
for as_dir in $PATH
 
7013
do
 
7014
  IFS=$as_save_IFS
 
7015
  test -z "$as_dir" && as_dir=.
 
7016
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7017
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7018
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 
7019
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7020
    break 2
 
7021
  fi
 
7022
done
 
7023
  done
 
7024
IFS=$as_save_IFS
 
7025
 
 
7026
fi
 
7027
fi
 
7028
DUMPBIN=$ac_cv_prog_DUMPBIN
 
7029
if test -n "$DUMPBIN"; then
 
7030
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
 
7031
$as_echo "$DUMPBIN" >&6; }
 
7032
else
 
7033
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7034
$as_echo "no" >&6; }
 
7035
fi
 
7036
 
 
7037
 
 
7038
    test -n "$DUMPBIN" && break
 
7039
  done
 
7040
fi
 
7041
if test -z "$DUMPBIN"; then
 
7042
  ac_ct_DUMPBIN=$DUMPBIN
 
7043
  for ac_prog in dumpbin "link -dump"
 
7044
do
 
7045
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
7046
set dummy $ac_prog; ac_word=$2
 
7047
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7048
$as_echo_n "checking for $ac_word... " >&6; }
 
7049
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
 
7050
  $as_echo_n "(cached) " >&6
 
7051
else
 
7052
  if test -n "$ac_ct_DUMPBIN"; then
 
7053
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 
7054
else
 
7055
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7056
for as_dir in $PATH
 
7057
do
 
7058
  IFS=$as_save_IFS
 
7059
  test -z "$as_dir" && as_dir=.
 
7060
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7061
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7062
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 
7063
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7064
    break 2
 
7065
  fi
 
7066
done
 
7067
  done
 
7068
IFS=$as_save_IFS
 
7069
 
 
7070
fi
 
7071
fi
 
7072
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 
7073
if test -n "$ac_ct_DUMPBIN"; then
 
7074
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
 
7075
$as_echo "$ac_ct_DUMPBIN" >&6; }
 
7076
else
 
7077
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7078
$as_echo "no" >&6; }
 
7079
fi
 
7080
 
 
7081
 
 
7082
  test -n "$ac_ct_DUMPBIN" && break
 
7083
done
 
7084
 
 
7085
  if test "x$ac_ct_DUMPBIN" = x; then
 
7086
    DUMPBIN=":"
 
7087
  else
 
7088
    case $cross_compiling:$ac_tool_warned in
 
7089
yes:)
 
7090
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7091
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7092
ac_tool_warned=yes ;;
 
7093
esac
 
7094
    DUMPBIN=$ac_ct_DUMPBIN
 
7095
  fi
 
7096
fi
 
7097
 
 
7098
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
 
7099
    *COFF*)
 
7100
      DUMPBIN="$DUMPBIN -symbols"
 
7101
      ;;
 
7102
    *)
 
7103
      DUMPBIN=:
 
7104
      ;;
 
7105
    esac
 
7106
  fi
 
7107
 
 
7108
  if test "$DUMPBIN" != ":"; then
 
7109
    NM="$DUMPBIN"
 
7110
  fi
 
7111
fi
 
7112
test -z "$NM" && NM=nm
 
7113
 
 
7114
 
 
7115
 
 
7116
 
 
7117
 
 
7118
 
 
7119
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
 
7120
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
 
7121
if ${lt_cv_nm_interface+:} false; then :
 
7122
  $as_echo_n "(cached) " >&6
 
7123
else
 
7124
  lt_cv_nm_interface="BSD nm"
 
7125
  echo "int some_variable = 0;" > conftest.$ac_ext
 
7126
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
 
7127
  (eval "$ac_compile" 2>conftest.err)
 
7128
  cat conftest.err >&5
 
7129
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
7130
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 
7131
  cat conftest.err >&5
 
7132
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
 
7133
  cat conftest.out >&5
 
7134
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 
7135
    lt_cv_nm_interface="MS dumpbin"
 
7136
  fi
 
7137
  rm -f conftest*
 
7138
fi
 
7139
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
 
7140
$as_echo "$lt_cv_nm_interface" >&6; }
 
7141
 
 
7142
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 
7143
$as_echo_n "checking whether ln -s works... " >&6; }
 
7144
LN_S=$as_ln_s
 
7145
if test "$LN_S" = "ln -s"; then
 
7146
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
7147
$as_echo "yes" >&6; }
 
7148
else
 
7149
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
 
7150
$as_echo "no, using $LN_S" >&6; }
 
7151
fi
 
7152
 
 
7153
# find the maximum length of command line arguments
 
7154
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
 
7155
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
 
7156
if ${lt_cv_sys_max_cmd_len+:} false; then :
 
7157
  $as_echo_n "(cached) " >&6
 
7158
else
 
7159
    i=0
 
7160
  teststring="ABCD"
 
7161
 
 
7162
  case $build_os in
 
7163
  msdosdjgpp*)
 
7164
    # On DJGPP, this test can blow up pretty badly due to problems in libc
 
7165
    # (any single argument exceeding 2000 bytes causes a buffer overrun
 
7166
    # during glob expansion).  Even if it were fixed, the result of this
 
7167
    # check would be larger than it should be.
 
7168
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 
7169
    ;;
 
7170
 
 
7171
  gnu*)
 
7172
    # Under GNU Hurd, this test is not required because there is
 
7173
    # no limit to the length of command line arguments.
 
7174
    # Libtool will interpret -1 as no limit whatsoever
 
7175
    lt_cv_sys_max_cmd_len=-1;
 
7176
    ;;
 
7177
 
 
7178
  cygwin* | mingw* | cegcc*)
 
7179
    # On Win9x/ME, this test blows up -- it succeeds, but takes
 
7180
    # about 5 minutes as the teststring grows exponentially.
 
7181
    # Worse, since 9x/ME are not pre-emptively multitasking,
 
7182
    # you end up with a "frozen" computer, even though with patience
 
7183
    # the test eventually succeeds (with a max line length of 256k).
 
7184
    # Instead, let's just punt: use the minimum linelength reported by
 
7185
    # all of the supported platforms: 8192 (on NT/2K/XP).
 
7186
    lt_cv_sys_max_cmd_len=8192;
 
7187
    ;;
 
7188
 
 
7189
  mint*)
 
7190
    # On MiNT this can take a long time and run out of memory.
 
7191
    lt_cv_sys_max_cmd_len=8192;
 
7192
    ;;
 
7193
 
 
7194
  amigaos*)
 
7195
    # On AmigaOS with pdksh, this test takes hours, literally.
 
7196
    # So we just punt and use a minimum line length of 8192.
 
7197
    lt_cv_sys_max_cmd_len=8192;
 
7198
    ;;
 
7199
 
 
7200
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
7201
    # This has been around since 386BSD, at least.  Likely further.
 
7202
    if test -x /sbin/sysctl; then
 
7203
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
7204
    elif test -x /usr/sbin/sysctl; then
 
7205
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
7206
    else
 
7207
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
7208
    fi
 
7209
    # And add a safety zone
 
7210
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
7211
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
7212
    ;;
 
7213
 
 
7214
  interix*)
 
7215
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
7216
    lt_cv_sys_max_cmd_len=196608
 
7217
    ;;
 
7218
 
 
7219
  os2*)
 
7220
    # The test takes a long time on OS/2.
 
7221
    lt_cv_sys_max_cmd_len=8192
 
7222
    ;;
 
7223
 
 
7224
  osf*)
 
7225
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
7226
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
7227
    # nice to cause kernel panics so lets avoid the loop below.
 
7228
    # First set a reasonable default.
 
7229
    lt_cv_sys_max_cmd_len=16384
 
7230
    #
 
7231
    if test -x /sbin/sysconfig; then
 
7232
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
7233
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
7234
      esac
 
7235
    fi
 
7236
    ;;
 
7237
  sco3.2v5*)
 
7238
    lt_cv_sys_max_cmd_len=102400
 
7239
    ;;
 
7240
  sysv5* | sco5v6* | sysv4.2uw2*)
 
7241
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
7242
    if test -n "$kargmax"; then
 
7243
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
 
7244
    else
 
7245
      lt_cv_sys_max_cmd_len=32768
 
7246
    fi
 
7247
    ;;
 
7248
  *)
 
7249
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
7250
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
7251
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
7252
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
7253
    else
 
7254
      # Make teststring a little bigger before we do anything with it.
 
7255
      # a 1K string should be a reasonable start.
 
7256
      for i in 1 2 3 4 5 6 7 8 ; do
 
7257
        teststring=$teststring$teststring
 
7258
      done
 
7259
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
7260
      # If test is not a shell built-in, we'll probably end up computing a
 
7261
      # maximum length that is only half of the actual maximum length, but
 
7262
      # we can't tell.
 
7263
      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
 
7264
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
 
7265
              test $i != 17 # 1/2 MB should be enough
 
7266
      do
 
7267
        i=`expr $i + 1`
 
7268
        teststring=$teststring$teststring
 
7269
      done
 
7270
      # Only check the string length outside the loop.
 
7271
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 
7272
      teststring=
 
7273
      # Add a significant safety factor because C++ compilers can tack on
 
7274
      # massive amounts of additional arguments before passing them to the
 
7275
      # linker.  It appears as though 1/2 is a usable value.
 
7276
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
7277
    fi
 
7278
    ;;
 
7279
  esac
 
7280
 
 
7281
fi
 
7282
 
 
7283
if test -n $lt_cv_sys_max_cmd_len ; then
 
7284
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
 
7285
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
 
7286
else
 
7287
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
 
7288
$as_echo "none" >&6; }
 
7289
fi
 
7290
max_cmd_len=$lt_cv_sys_max_cmd_len
 
7291
 
 
7292
 
 
7293
 
 
7294
 
 
7295
 
 
7296
 
 
7297
: ${CP="cp -f"}
 
7298
: ${MV="mv -f"}
 
7299
: ${RM="rm -f"}
 
7300
 
 
7301
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
 
7302
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
 
7303
# Try some XSI features
 
7304
xsi_shell=no
 
7305
( _lt_dummy="a/b/c"
 
7306
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
 
7307
      = c,a/b,b/c, \
 
7308
    && eval 'test $(( 1 + 1 )) -eq 2 \
 
7309
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 
7310
  && xsi_shell=yes
 
7311
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
 
7312
$as_echo "$xsi_shell" >&6; }
 
7313
 
 
7314
 
 
7315
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
 
7316
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
 
7317
lt_shell_append=no
 
7318
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
 
7319
    >/dev/null 2>&1 \
 
7320
  && lt_shell_append=yes
 
7321
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
 
7322
$as_echo "$lt_shell_append" >&6; }
 
7323
 
 
7324
 
 
7325
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
7326
  lt_unset=unset
 
7327
else
 
7328
  lt_unset=false
 
7329
fi
 
7330
 
 
7331
 
 
7332
 
 
7333
 
 
7334
 
 
7335
# test EBCDIC or ASCII
 
7336
case `echo X|tr X '\101'` in
 
7337
 A) # ASCII based system
 
7338
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 
7339
  lt_SP2NL='tr \040 \012'
 
7340
  lt_NL2SP='tr \015\012 \040\040'
 
7341
  ;;
 
7342
 *) # EBCDIC based system
 
7343
  lt_SP2NL='tr \100 \n'
 
7344
  lt_NL2SP='tr \r\n \100\100'
 
7345
  ;;
 
7346
esac
 
7347
 
 
7348
 
 
7349
 
 
7350
 
 
7351
 
 
7352
 
 
7353
 
 
7354
 
 
7355
 
 
7356
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
 
7357
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
 
7358
if ${lt_cv_to_host_file_cmd+:} false; then :
 
7359
  $as_echo_n "(cached) " >&6
 
7360
else
 
7361
  case $host in
 
7362
  *-*-mingw* )
 
7363
    case $build in
 
7364
      *-*-mingw* ) # actually msys
 
7365
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
 
7366
        ;;
 
7367
      *-*-cygwin* )
 
7368
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
 
7369
        ;;
 
7370
      * ) # otherwise, assume *nix
 
7371
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
 
7372
        ;;
 
7373
    esac
 
7374
    ;;
 
7375
  *-*-cygwin* )
 
7376
    case $build in
 
7377
      *-*-mingw* ) # actually msys
 
7378
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
 
7379
        ;;
 
7380
      *-*-cygwin* )
 
7381
        lt_cv_to_host_file_cmd=func_convert_file_noop
 
7382
        ;;
 
7383
      * ) # otherwise, assume *nix
 
7384
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
 
7385
        ;;
 
7386
    esac
 
7387
    ;;
 
7388
  * ) # unhandled hosts (and "normal" native builds)
 
7389
    lt_cv_to_host_file_cmd=func_convert_file_noop
 
7390
    ;;
 
7391
esac
 
7392
 
 
7393
fi
 
7394
 
 
7395
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
7396
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
 
7397
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
 
7398
 
 
7399
 
 
7400
 
 
7401
 
 
7402
 
 
7403
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
 
7404
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
 
7405
if ${lt_cv_to_tool_file_cmd+:} false; then :
 
7406
  $as_echo_n "(cached) " >&6
 
7407
else
 
7408
  #assume ordinary cross tools, or native build.
 
7409
lt_cv_to_tool_file_cmd=func_convert_file_noop
 
7410
case $host in
 
7411
  *-*-mingw* )
 
7412
    case $build in
 
7413
      *-*-mingw* ) # actually msys
 
7414
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
 
7415
        ;;
 
7416
    esac
 
7417
    ;;
 
7418
esac
 
7419
 
 
7420
fi
 
7421
 
 
7422
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
7423
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
 
7424
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
 
7425
 
 
7426
 
 
7427
 
 
7428
 
 
7429
 
 
7430
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
 
7431
$as_echo_n "checking for $LD option to reload object files... " >&6; }
 
7432
if ${lt_cv_ld_reload_flag+:} false; then :
 
7433
  $as_echo_n "(cached) " >&6
 
7434
else
 
7435
  lt_cv_ld_reload_flag='-r'
 
7436
fi
 
7437
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
 
7438
$as_echo "$lt_cv_ld_reload_flag" >&6; }
 
7439
reload_flag=$lt_cv_ld_reload_flag
 
7440
case $reload_flag in
 
7441
"" | " "*) ;;
 
7442
*) reload_flag=" $reload_flag" ;;
 
7443
esac
 
7444
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
7445
case $host_os in
 
7446
  cygwin* | mingw* | pw32* | cegcc*)
 
7447
    if test "$GCC" != yes; then
 
7448
      reload_cmds=false
 
7449
    fi
 
7450
    ;;
 
7451
  darwin*)
 
7452
    if test "$GCC" = yes; then
 
7453
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
7454
    else
 
7455
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
7456
    fi
 
7457
    ;;
 
7458
esac
 
7459
 
 
7460
 
 
7461
 
 
7462
 
 
7463
 
 
7464
 
 
7465
 
 
7466
 
 
7467
 
 
7468
if test -n "$ac_tool_prefix"; then
 
7469
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
7470
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
7471
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7472
$as_echo_n "checking for $ac_word... " >&6; }
 
7473
if ${ac_cv_prog_OBJDUMP+:} false; then :
 
7474
  $as_echo_n "(cached) " >&6
 
7475
else
 
7476
  if test -n "$OBJDUMP"; then
 
7477
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
7478
else
 
7479
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7480
for as_dir in $PATH
 
7481
do
 
7482
  IFS=$as_save_IFS
 
7483
  test -z "$as_dir" && as_dir=.
 
7484
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7485
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7486
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
7487
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7488
    break 2
 
7489
  fi
 
7490
done
 
7491
  done
 
7492
IFS=$as_save_IFS
 
7493
 
 
7494
fi
 
7495
fi
 
7496
OBJDUMP=$ac_cv_prog_OBJDUMP
 
7497
if test -n "$OBJDUMP"; then
 
7498
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
 
7499
$as_echo "$OBJDUMP" >&6; }
 
7500
else
 
7501
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7502
$as_echo "no" >&6; }
 
7503
fi
 
7504
 
 
7505
 
 
7506
fi
 
7507
if test -z "$ac_cv_prog_OBJDUMP"; then
 
7508
  ac_ct_OBJDUMP=$OBJDUMP
 
7509
  # Extract the first word of "objdump", so it can be a program name with args.
 
7510
set dummy objdump; ac_word=$2
 
7511
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7512
$as_echo_n "checking for $ac_word... " >&6; }
 
7513
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
 
7514
  $as_echo_n "(cached) " >&6
 
7515
else
 
7516
  if test -n "$ac_ct_OBJDUMP"; then
 
7517
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
7518
else
 
7519
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7520
for as_dir in $PATH
 
7521
do
 
7522
  IFS=$as_save_IFS
 
7523
  test -z "$as_dir" && as_dir=.
 
7524
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7525
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7526
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
7527
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7528
    break 2
 
7529
  fi
 
7530
done
 
7531
  done
 
7532
IFS=$as_save_IFS
 
7533
 
 
7534
fi
 
7535
fi
 
7536
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
7537
if test -n "$ac_ct_OBJDUMP"; then
 
7538
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
 
7539
$as_echo "$ac_ct_OBJDUMP" >&6; }
 
7540
else
 
7541
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7542
$as_echo "no" >&6; }
 
7543
fi
 
7544
 
 
7545
  if test "x$ac_ct_OBJDUMP" = x; then
 
7546
    OBJDUMP="false"
 
7547
  else
 
7548
    case $cross_compiling:$ac_tool_warned in
 
7549
yes:)
 
7550
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7551
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7552
ac_tool_warned=yes ;;
 
7553
esac
 
7554
    OBJDUMP=$ac_ct_OBJDUMP
 
7555
  fi
 
7556
else
 
7557
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
7558
fi
 
7559
 
 
7560
test -z "$OBJDUMP" && OBJDUMP=objdump
 
7561
 
 
7562
 
 
7563
 
 
7564
 
 
7565
 
 
7566
 
 
7567
 
 
7568
 
 
7569
 
 
7570
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
 
7571
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
 
7572
if ${lt_cv_deplibs_check_method+:} false; then :
 
7573
  $as_echo_n "(cached) " >&6
 
7574
else
 
7575
  lt_cv_file_magic_cmd='$MAGIC_CMD'
 
7576
lt_cv_file_magic_test_file=
 
7577
lt_cv_deplibs_check_method='unknown'
 
7578
# Need to set the preceding variable on all platforms that support
 
7579
# interlibrary dependencies.
 
7580
# 'none' -- dependencies not supported.
 
7581
# `unknown' -- same as none, but documents that we really don't know.
 
7582
# 'pass_all' -- all dependencies passed with no checks.
 
7583
# 'test_compile' -- check by making test program.
 
7584
# 'file_magic [[regex]]' -- check by looking for files in library path
 
7585
# which responds to the $file_magic_cmd with a given extended regex.
 
7586
# If you have `file' or equivalent on your system and you're not sure
 
7587
# whether `pass_all' will *always* work, you probably want this one.
 
7588
 
 
7589
case $host_os in
 
7590
aix[4-9]*)
 
7591
  lt_cv_deplibs_check_method=pass_all
 
7592
  ;;
 
7593
 
 
7594
beos*)
 
7595
  lt_cv_deplibs_check_method=pass_all
 
7596
  ;;
 
7597
 
 
7598
bsdi[45]*)
 
7599
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
 
7600
  lt_cv_file_magic_cmd='/usr/bin/file -L'
 
7601
  lt_cv_file_magic_test_file=/shlib/libc.so
 
7602
  ;;
 
7603
 
 
7604
cygwin*)
 
7605
  # func_win32_libid is a shell function defined in ltmain.sh
 
7606
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
7607
  lt_cv_file_magic_cmd='func_win32_libid'
 
7608
  ;;
 
7609
 
 
7610
mingw* | pw32*)
 
7611
  # Base MSYS/MinGW do not provide the 'file' command needed by
 
7612
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 
7613
  # unless we find 'file', for example because we are cross-compiling.
 
7614
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
 
7615
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
 
7616
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
7617
    lt_cv_file_magic_cmd='func_win32_libid'
 
7618
  else
 
7619
    # Keep this pattern in sync with the one in func_win32_libid.
 
7620
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
 
7621
    lt_cv_file_magic_cmd='$OBJDUMP -f'
 
7622
  fi
 
7623
  ;;
 
7624
 
 
7625
cegcc*)
 
7626
  # use the weaker test based on 'objdump'. See mingw*.
 
7627
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 
7628
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
7629
  ;;
 
7630
 
 
7631
darwin* | rhapsody*)
 
7632
  lt_cv_deplibs_check_method=pass_all
 
7633
  ;;
 
7634
 
 
7635
freebsd* | dragonfly*)
 
7636
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
7637
    case $host_cpu in
 
7638
    i*86 )
 
7639
      # Not sure whether the presence of OpenBSD here was a mistake.
 
7640
      # Let's accept both of them until this is cleared up.
 
7641
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
 
7642
      lt_cv_file_magic_cmd=/usr/bin/file
 
7643
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 
7644
      ;;
 
7645
    esac
 
7646
  else
 
7647
    lt_cv_deplibs_check_method=pass_all
 
7648
  fi
 
7649
  ;;
 
7650
 
 
7651
gnu*)
 
7652
  lt_cv_deplibs_check_method=pass_all
 
7653
  ;;
 
7654
 
 
7655
haiku*)
 
7656
  lt_cv_deplibs_check_method=pass_all
 
7657
  ;;
 
7658
 
 
7659
hpux10.20* | hpux11*)
 
7660
  lt_cv_file_magic_cmd=/usr/bin/file
 
7661
  case $host_cpu in
 
7662
  ia64*)
 
7663
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
 
7664
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
 
7665
    ;;
 
7666
  hppa*64*)
 
7667
    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]'
 
7668
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
 
7669
    ;;
 
7670
  *)
 
7671
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
 
7672
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
 
7673
    ;;
 
7674
  esac
 
7675
  ;;
 
7676
 
 
7677
interix[3-9]*)
 
7678
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 
7679
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
 
7680
  ;;
 
7681
 
 
7682
irix5* | irix6* | nonstopux*)
 
7683
  case $LD in
 
7684
  *-32|*"-32 ") libmagic=32-bit;;
 
7685
  *-n32|*"-n32 ") libmagic=N32;;
 
7686
  *-64|*"-64 ") libmagic=64-bit;;
 
7687
  *) libmagic=never-match;;
 
7688
  esac
 
7689
  lt_cv_deplibs_check_method=pass_all
 
7690
  ;;
 
7691
 
 
7692
# This must be glibc/ELF.
 
7693
linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
7694
  lt_cv_deplibs_check_method=pass_all
 
7695
  ;;
 
7696
 
 
7697
netbsd*)
 
7698
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
7699
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 
7700
  else
 
7701
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
 
7702
  fi
 
7703
  ;;
 
7704
 
 
7705
newos6*)
 
7706
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
 
7707
  lt_cv_file_magic_cmd=/usr/bin/file
 
7708
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
 
7709
  ;;
 
7710
 
 
7711
*nto* | *qnx*)
 
7712
  lt_cv_deplibs_check_method=pass_all
 
7713
  ;;
 
7714
 
 
7715
openbsd*)
 
7716
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
7717
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
 
7718
  else
 
7719
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 
7720
  fi
 
7721
  ;;
 
7722
 
 
7723
osf3* | osf4* | osf5*)
 
7724
  lt_cv_deplibs_check_method=pass_all
 
7725
  ;;
 
7726
 
 
7727
rdos*)
 
7728
  lt_cv_deplibs_check_method=pass_all
 
7729
  ;;
 
7730
 
 
7731
solaris*)
 
7732
  lt_cv_deplibs_check_method=pass_all
 
7733
  ;;
 
7734
 
 
7735
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
7736
  lt_cv_deplibs_check_method=pass_all
 
7737
  ;;
 
7738
 
 
7739
sysv4 | sysv4.3*)
 
7740
  case $host_vendor in
 
7741
  motorola)
 
7742
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
 
7743
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
 
7744
    ;;
 
7745
  ncr)
 
7746
    lt_cv_deplibs_check_method=pass_all
 
7747
    ;;
 
7748
  sequent)
 
7749
    lt_cv_file_magic_cmd='/bin/file'
 
7750
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
 
7751
    ;;
 
7752
  sni)
 
7753
    lt_cv_file_magic_cmd='/bin/file'
 
7754
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
 
7755
    lt_cv_file_magic_test_file=/lib/libc.so
 
7756
    ;;
 
7757
  siemens)
 
7758
    lt_cv_deplibs_check_method=pass_all
 
7759
    ;;
 
7760
  pc)
 
7761
    lt_cv_deplibs_check_method=pass_all
 
7762
    ;;
 
7763
  esac
 
7764
  ;;
 
7765
 
 
7766
tpf*)
 
7767
  lt_cv_deplibs_check_method=pass_all
 
7768
  ;;
 
7769
esac
 
7770
 
 
7771
fi
 
7772
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
 
7773
$as_echo "$lt_cv_deplibs_check_method" >&6; }
 
7774
 
 
7775
file_magic_glob=
 
7776
want_nocaseglob=no
 
7777
if test "$build" = "$host"; then
 
7778
  case $host_os in
 
7779
  mingw* | pw32*)
 
7780
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
 
7781
      want_nocaseglob=yes
 
7782
    else
 
7783
      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
 
7784
    fi
 
7785
    ;;
 
7786
  esac
 
7787
fi
 
7788
 
 
7789
file_magic_cmd=$lt_cv_file_magic_cmd
 
7790
deplibs_check_method=$lt_cv_deplibs_check_method
 
7791
test -z "$deplibs_check_method" && deplibs_check_method=unknown
 
7792
 
 
7793
 
 
7794
 
 
7795
 
 
7796
 
 
7797
 
 
7798
 
 
7799
 
 
7800
 
 
7801
 
 
7802
 
 
7803
 
 
7804
 
 
7805
 
 
7806
 
 
7807
 
 
7808
 
 
7809
 
 
7810
 
 
7811
 
 
7812
 
 
7813
 
 
7814
if test -n "$ac_tool_prefix"; then
 
7815
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 
7816
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 
7817
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7818
$as_echo_n "checking for $ac_word... " >&6; }
 
7819
if ${ac_cv_prog_DLLTOOL+:} false; then :
 
7820
  $as_echo_n "(cached) " >&6
 
7821
else
 
7822
  if test -n "$DLLTOOL"; then
 
7823
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 
7824
else
 
7825
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7826
for as_dir in $PATH
 
7827
do
 
7828
  IFS=$as_save_IFS
 
7829
  test -z "$as_dir" && as_dir=.
 
7830
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7831
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7832
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 
7833
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7834
    break 2
 
7835
  fi
 
7836
done
 
7837
  done
 
7838
IFS=$as_save_IFS
 
7839
 
 
7840
fi
 
7841
fi
 
7842
DLLTOOL=$ac_cv_prog_DLLTOOL
 
7843
if test -n "$DLLTOOL"; then
 
7844
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 
7845
$as_echo "$DLLTOOL" >&6; }
 
7846
else
 
7847
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7848
$as_echo "no" >&6; }
 
7849
fi
 
7850
 
 
7851
 
 
7852
fi
 
7853
if test -z "$ac_cv_prog_DLLTOOL"; then
 
7854
  ac_ct_DLLTOOL=$DLLTOOL
 
7855
  # Extract the first word of "dlltool", so it can be a program name with args.
 
7856
set dummy dlltool; ac_word=$2
 
7857
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7858
$as_echo_n "checking for $ac_word... " >&6; }
 
7859
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
 
7860
  $as_echo_n "(cached) " >&6
 
7861
else
 
7862
  if test -n "$ac_ct_DLLTOOL"; then
 
7863
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 
7864
else
 
7865
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7866
for as_dir in $PATH
 
7867
do
 
7868
  IFS=$as_save_IFS
 
7869
  test -z "$as_dir" && as_dir=.
 
7870
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7871
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7872
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 
7873
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7874
    break 2
 
7875
  fi
 
7876
done
 
7877
  done
 
7878
IFS=$as_save_IFS
 
7879
 
 
7880
fi
 
7881
fi
 
7882
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 
7883
if test -n "$ac_ct_DLLTOOL"; then
 
7884
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 
7885
$as_echo "$ac_ct_DLLTOOL" >&6; }
 
7886
else
 
7887
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7888
$as_echo "no" >&6; }
 
7889
fi
 
7890
 
 
7891
  if test "x$ac_ct_DLLTOOL" = x; then
 
7892
    DLLTOOL="false"
 
7893
  else
 
7894
    case $cross_compiling:$ac_tool_warned in
 
7895
yes:)
 
7896
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7897
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7898
ac_tool_warned=yes ;;
 
7899
esac
 
7900
    DLLTOOL=$ac_ct_DLLTOOL
 
7901
  fi
 
7902
else
 
7903
  DLLTOOL="$ac_cv_prog_DLLTOOL"
 
7904
fi
 
7905
 
 
7906
test -z "$DLLTOOL" && DLLTOOL=dlltool
 
7907
 
 
7908
 
 
7909
 
 
7910
 
 
7911
 
 
7912
 
 
7913
 
 
7914
 
 
7915
 
 
7916
 
 
7917
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
 
7918
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
 
7919
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
 
7920
  $as_echo_n "(cached) " >&6
 
7921
else
 
7922
  lt_cv_sharedlib_from_linklib_cmd='unknown'
 
7923
 
 
7924
case $host_os in
 
7925
cygwin* | mingw* | pw32* | cegcc*)
 
7926
  # two different shell functions defined in ltmain.sh
 
7927
  # decide which to use based on capabilities of $DLLTOOL
 
7928
  case `$DLLTOOL --help 2>&1` in
 
7929
  *--identify-strict*)
 
7930
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
 
7931
    ;;
 
7932
  *)
 
7933
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
 
7934
    ;;
 
7935
  esac
 
7936
  ;;
 
7937
*)
 
7938
  # fallback: assume linklib IS sharedlib
 
7939
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
 
7940
  ;;
 
7941
esac
 
7942
 
 
7943
fi
 
7944
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
 
7945
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
 
7946
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
 
7947
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
 
7948
 
 
7949
 
 
7950
 
 
7951
 
 
7952
 
 
7953
 
 
7954
 
 
7955
if test -n "$ac_tool_prefix"; then
 
7956
  for ac_prog in ar
 
7957
  do
 
7958
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
7959
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
7960
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7961
$as_echo_n "checking for $ac_word... " >&6; }
 
7962
if ${ac_cv_prog_AR+:} false; then :
 
7963
  $as_echo_n "(cached) " >&6
 
7964
else
 
7965
  if test -n "$AR"; then
 
7966
  ac_cv_prog_AR="$AR" # Let the user override the test.
 
7967
else
 
7968
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7969
for as_dir in $PATH
 
7970
do
 
7971
  IFS=$as_save_IFS
 
7972
  test -z "$as_dir" && as_dir=.
 
7973
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7974
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7975
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
 
7976
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7977
    break 2
 
7978
  fi
 
7979
done
 
7980
  done
 
7981
IFS=$as_save_IFS
 
7982
 
 
7983
fi
 
7984
fi
 
7985
AR=$ac_cv_prog_AR
 
7986
if test -n "$AR"; then
 
7987
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
 
7988
$as_echo "$AR" >&6; }
 
7989
else
 
7990
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7991
$as_echo "no" >&6; }
 
7992
fi
 
7993
 
 
7994
 
 
7995
    test -n "$AR" && break
 
7996
  done
 
7997
fi
 
7998
if test -z "$AR"; then
 
7999
  ac_ct_AR=$AR
 
8000
  for ac_prog in ar
 
8001
do
 
8002
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
8003
set dummy $ac_prog; ac_word=$2
 
8004
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8005
$as_echo_n "checking for $ac_word... " >&6; }
 
8006
if ${ac_cv_prog_ac_ct_AR+:} false; then :
 
8007
  $as_echo_n "(cached) " >&6
 
8008
else
 
8009
  if test -n "$ac_ct_AR"; then
 
8010
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 
8011
else
 
8012
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8013
for as_dir in $PATH
 
8014
do
 
8015
  IFS=$as_save_IFS
 
8016
  test -z "$as_dir" && as_dir=.
 
8017
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8018
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8019
    ac_cv_prog_ac_ct_AR="$ac_prog"
 
8020
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8021
    break 2
 
8022
  fi
 
8023
done
 
8024
  done
 
8025
IFS=$as_save_IFS
 
8026
 
 
8027
fi
 
8028
fi
 
8029
ac_ct_AR=$ac_cv_prog_ac_ct_AR
 
8030
if test -n "$ac_ct_AR"; then
 
8031
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
 
8032
$as_echo "$ac_ct_AR" >&6; }
 
8033
else
 
8034
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8035
$as_echo "no" >&6; }
 
8036
fi
 
8037
 
 
8038
 
 
8039
  test -n "$ac_ct_AR" && break
 
8040
done
 
8041
 
 
8042
  if test "x$ac_ct_AR" = x; then
 
8043
    AR="false"
 
8044
  else
 
8045
    case $cross_compiling:$ac_tool_warned in
 
8046
yes:)
 
8047
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8048
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8049
ac_tool_warned=yes ;;
 
8050
esac
 
8051
    AR=$ac_ct_AR
 
8052
  fi
 
8053
fi
 
8054
 
 
8055
: ${AR=ar}
 
8056
: ${AR_FLAGS=cru}
 
8057
 
 
8058
 
 
8059
 
 
8060
 
 
8061
 
 
8062
 
 
8063
 
 
8064
 
 
8065
 
 
8066
 
 
8067
 
 
8068
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
 
8069
$as_echo_n "checking for archiver @FILE support... " >&6; }
 
8070
if ${lt_cv_ar_at_file+:} false; then :
 
8071
  $as_echo_n "(cached) " >&6
 
8072
else
 
8073
  lt_cv_ar_at_file=no
 
8074
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
8075
/* end confdefs.h.  */
 
8076
 
 
8077
int
 
8078
main ()
 
8079
{
 
8080
 
 
8081
  ;
 
8082
  return 0;
 
8083
}
 
8084
_ACEOF
 
8085
if ac_fn_c_try_compile "$LINENO"; then :
 
8086
  echo conftest.$ac_objext > conftest.lst
 
8087
      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
 
8088
      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
8089
  (eval $lt_ar_try) 2>&5
 
8090
  ac_status=$?
 
8091
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8092
  test $ac_status = 0; }
 
8093
      if test "$ac_status" -eq 0; then
 
8094
        # Ensure the archiver fails upon bogus file names.
 
8095
        rm -f conftest.$ac_objext libconftest.a
 
8096
        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
8097
  (eval $lt_ar_try) 2>&5
 
8098
  ac_status=$?
 
8099
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8100
  test $ac_status = 0; }
 
8101
        if test "$ac_status" -ne 0; then
 
8102
          lt_cv_ar_at_file=@
 
8103
        fi
 
8104
      fi
 
8105
      rm -f conftest.* libconftest.a
 
8106
 
 
8107
fi
 
8108
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
8109
 
 
8110
fi
 
8111
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
 
8112
$as_echo "$lt_cv_ar_at_file" >&6; }
 
8113
 
 
8114
if test "x$lt_cv_ar_at_file" = xno; then
 
8115
  archiver_list_spec=
 
8116
else
 
8117
  archiver_list_spec=$lt_cv_ar_at_file
 
8118
fi
 
8119
 
 
8120
 
 
8121
 
 
8122
 
 
8123
 
 
8124
 
 
8125
 
 
8126
if test -n "$ac_tool_prefix"; then
 
8127
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
8128
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
8129
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8130
$as_echo_n "checking for $ac_word... " >&6; }
 
8131
if ${ac_cv_prog_STRIP+:} false; then :
 
8132
  $as_echo_n "(cached) " >&6
 
8133
else
 
8134
  if test -n "$STRIP"; then
 
8135
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
8136
else
 
8137
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8138
for as_dir in $PATH
 
8139
do
 
8140
  IFS=$as_save_IFS
 
8141
  test -z "$as_dir" && as_dir=.
 
8142
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8143
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8144
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
8145
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8146
    break 2
 
8147
  fi
 
8148
done
 
8149
  done
 
8150
IFS=$as_save_IFS
 
8151
 
 
8152
fi
 
8153
fi
 
8154
STRIP=$ac_cv_prog_STRIP
 
8155
if test -n "$STRIP"; then
 
8156
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
8157
$as_echo "$STRIP" >&6; }
 
8158
else
 
8159
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8160
$as_echo "no" >&6; }
 
8161
fi
 
8162
 
 
8163
 
 
8164
fi
 
8165
if test -z "$ac_cv_prog_STRIP"; then
 
8166
  ac_ct_STRIP=$STRIP
 
8167
  # Extract the first word of "strip", so it can be a program name with args.
 
8168
set dummy strip; ac_word=$2
 
8169
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8170
$as_echo_n "checking for $ac_word... " >&6; }
 
8171
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 
8172
  $as_echo_n "(cached) " >&6
 
8173
else
 
8174
  if test -n "$ac_ct_STRIP"; then
 
8175
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
8176
else
 
8177
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8178
for as_dir in $PATH
 
8179
do
 
8180
  IFS=$as_save_IFS
 
8181
  test -z "$as_dir" && as_dir=.
 
8182
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8183
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8184
    ac_cv_prog_ac_ct_STRIP="strip"
 
8185
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8186
    break 2
 
8187
  fi
 
8188
done
 
8189
  done
 
8190
IFS=$as_save_IFS
 
8191
 
 
8192
fi
 
8193
fi
 
8194
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
8195
if test -n "$ac_ct_STRIP"; then
 
8196
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
8197
$as_echo "$ac_ct_STRIP" >&6; }
 
8198
else
 
8199
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8200
$as_echo "no" >&6; }
 
8201
fi
 
8202
 
 
8203
  if test "x$ac_ct_STRIP" = x; then
 
8204
    STRIP=":"
 
8205
  else
 
8206
    case $cross_compiling:$ac_tool_warned in
 
8207
yes:)
 
8208
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8209
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8210
ac_tool_warned=yes ;;
 
8211
esac
 
8212
    STRIP=$ac_ct_STRIP
 
8213
  fi
 
8214
else
 
8215
  STRIP="$ac_cv_prog_STRIP"
 
8216
fi
 
8217
 
 
8218
test -z "$STRIP" && STRIP=:
 
8219
 
 
8220
 
 
8221
 
 
8222
 
 
8223
 
 
8224
 
 
8225
if test -n "$ac_tool_prefix"; then
 
8226
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
8227
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
8228
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8229
$as_echo_n "checking for $ac_word... " >&6; }
 
8230
if ${ac_cv_prog_RANLIB+:} false; then :
 
8231
  $as_echo_n "(cached) " >&6
 
8232
else
 
8233
  if test -n "$RANLIB"; then
 
8234
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
8235
else
 
8236
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8237
for as_dir in $PATH
 
8238
do
 
8239
  IFS=$as_save_IFS
 
8240
  test -z "$as_dir" && as_dir=.
 
8241
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8242
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8243
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
8244
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8245
    break 2
 
8246
  fi
 
8247
done
 
8248
  done
 
8249
IFS=$as_save_IFS
 
8250
 
 
8251
fi
 
8252
fi
 
8253
RANLIB=$ac_cv_prog_RANLIB
 
8254
if test -n "$RANLIB"; then
 
8255
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 
8256
$as_echo "$RANLIB" >&6; }
 
8257
else
 
8258
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8259
$as_echo "no" >&6; }
 
8260
fi
 
8261
 
 
8262
 
 
8263
fi
 
8264
if test -z "$ac_cv_prog_RANLIB"; then
 
8265
  ac_ct_RANLIB=$RANLIB
 
8266
  # Extract the first word of "ranlib", so it can be a program name with args.
 
8267
set dummy ranlib; ac_word=$2
 
8268
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8269
$as_echo_n "checking for $ac_word... " >&6; }
 
8270
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
 
8271
  $as_echo_n "(cached) " >&6
 
8272
else
 
8273
  if test -n "$ac_ct_RANLIB"; then
 
8274
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
8275
else
 
8276
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8277
for as_dir in $PATH
 
8278
do
 
8279
  IFS=$as_save_IFS
 
8280
  test -z "$as_dir" && as_dir=.
 
8281
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8282
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8283
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
8284
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8285
    break 2
 
8286
  fi
 
8287
done
 
8288
  done
 
8289
IFS=$as_save_IFS
 
8290
 
 
8291
fi
 
8292
fi
 
8293
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
8294
if test -n "$ac_ct_RANLIB"; then
 
8295
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 
8296
$as_echo "$ac_ct_RANLIB" >&6; }
 
8297
else
 
8298
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8299
$as_echo "no" >&6; }
 
8300
fi
 
8301
 
 
8302
  if test "x$ac_ct_RANLIB" = x; then
 
8303
    RANLIB=":"
 
8304
  else
 
8305
    case $cross_compiling:$ac_tool_warned in
 
8306
yes:)
 
8307
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8308
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8309
ac_tool_warned=yes ;;
 
8310
esac
 
8311
    RANLIB=$ac_ct_RANLIB
 
8312
  fi
 
8313
else
 
8314
  RANLIB="$ac_cv_prog_RANLIB"
 
8315
fi
 
8316
 
 
8317
test -z "$RANLIB" && RANLIB=:
 
8318
 
 
8319
 
 
8320
 
 
8321
 
 
8322
 
 
8323
 
 
8324
# Determine commands to create old-style static archives.
 
8325
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 
8326
old_postinstall_cmds='chmod 644 $oldlib'
 
8327
old_postuninstall_cmds=
 
8328
 
 
8329
if test -n "$RANLIB"; then
 
8330
  case $host_os in
 
8331
  openbsd*)
 
8332
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
 
8333
    ;;
 
8334
  *)
 
8335
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
 
8336
    ;;
 
8337
  esac
 
8338
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
 
8339
fi
 
8340
 
 
8341
case $host_os in
 
8342
  darwin*)
 
8343
    lock_old_archive_extraction=yes ;;
 
8344
  *)
 
8345
    lock_old_archive_extraction=no ;;
 
8346
esac
 
8347
 
 
8348
 
 
8349
 
 
8350
 
 
8351
 
 
8352
 
 
8353
 
 
8354
 
 
8355
 
 
8356
 
 
8357
 
 
8358
 
 
8359
 
 
8360
 
 
8361
 
 
8362
 
 
8363
 
 
8364
 
 
8365
 
 
8366
 
 
8367
 
 
8368
 
 
8369
 
 
8370
 
 
8371
 
 
8372
 
 
8373
 
 
8374
 
 
8375
 
 
8376
 
 
8377
 
 
8378
 
 
8379
 
 
8380
 
 
8381
 
 
8382
 
 
8383
 
 
8384
 
 
8385
 
 
8386
# If no C compiler was specified, use CC.
 
8387
LTCC=${LTCC-"$CC"}
 
8388
 
 
8389
# If no C compiler flags were specified, use CFLAGS.
 
8390
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
8391
 
 
8392
# Allow CC to be a program name with arguments.
 
8393
compiler=$CC
 
8394
 
 
8395
 
 
8396
# Check for command to grab the raw symbol name followed by C symbol from nm.
 
8397
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
 
8398
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
 
8399
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
 
8400
  $as_echo_n "(cached) " >&6
 
8401
else
 
8402
 
 
8403
# These are sane defaults that work on at least a few old systems.
 
8404
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
 
8405
 
 
8406
# Character class describing NM global symbol codes.
 
8407
symcode='[BCDEGRST]'
 
8408
 
 
8409
# Regexp to match symbols that can be accessed directly from C.
 
8410
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
 
8411
 
 
8412
# Define system-specific variables.
 
8413
case $host_os in
 
8414
aix*)
 
8415
  symcode='[BCDT]'
 
8416
  ;;
 
8417
cygwin* | mingw* | pw32* | cegcc*)
 
8418
  symcode='[ABCDGISTW]'
 
8419
  ;;
 
8420
hpux*)
 
8421
  if test "$host_cpu" = ia64; then
 
8422
    symcode='[ABCDEGRST]'
 
8423
  fi
 
8424
  ;;
 
8425
irix* | nonstopux*)
 
8426
  symcode='[BCDEGRST]'
 
8427
  ;;
 
8428
osf*)
 
8429
  symcode='[BCDEGQRST]'
 
8430
  ;;
 
8431
solaris*)
 
8432
  symcode='[BDRT]'
 
8433
  ;;
 
8434
sco3.2v5*)
 
8435
  symcode='[DT]'
 
8436
  ;;
 
8437
sysv4.2uw2*)
 
8438
  symcode='[DT]'
 
8439
  ;;
 
8440
sysv5* | sco5v6* | unixware* | OpenUNIX*)
 
8441
  symcode='[ABDT]'
 
8442
  ;;
 
8443
sysv4)
 
8444
  symcode='[DFNSTU]'
 
8445
  ;;
 
8446
esac
 
8447
 
 
8448
# If we're using GNU nm, then use its standard symbol codes.
 
8449
case `$NM -V 2>&1` in
 
8450
*GNU* | *'with BFD'*)
 
8451
  symcode='[ABCDGIRSTW]' ;;
 
8452
esac
 
8453
 
 
8454
# Transform an extracted symbol line into a proper C declaration.
 
8455
# Some systems (esp. on ia64) link data and code symbols differently,
 
8456
# so use this general approach.
 
8457
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
8458
 
 
8459
# Transform an extracted symbol line into symbol name and symbol address
 
8460
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
8461
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
 
8462
 
 
8463
# Handle CRLF in mingw tool chain
 
8464
opt_cr=
 
8465
case $build_os in
 
8466
mingw*)
 
8467
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
8468
  ;;
 
8469
esac
 
8470
 
 
8471
# Try without a prefix underscore, then with it.
 
8472
for ac_symprfx in "" "_"; do
 
8473
 
 
8474
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
 
8475
  symxfrm="\\1 $ac_symprfx\\2 \\2"
 
8476
 
 
8477
  # Write the raw and C identifiers.
 
8478
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
8479
    # Fake it for dumpbin and say T for any non-static function
 
8480
    # and D for any global variable.
 
8481
    # Also find C++ and __fastcall symbols from MSVC++,
 
8482
    # which start with @ or ?.
 
8483
    lt_cv_sys_global_symbol_pipe="$AWK '"\
 
8484
"     {last_section=section; section=\$ 3};"\
 
8485
"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
 
8486
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 
8487
"     \$ 0!~/External *\|/{next};"\
 
8488
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 
8489
"     {if(hide[section]) next};"\
 
8490
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 
8491
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 
8492
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 
8493
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 
8494
"     ' prfx=^$ac_symprfx"
 
8495
  else
 
8496
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
8497
  fi
 
8498
  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
 
8499
 
 
8500
  # Check to see that the pipe works correctly.
 
8501
  pipe_works=no
 
8502
 
 
8503
  rm -f conftest*
 
8504
  cat > conftest.$ac_ext <<_LT_EOF
 
8505
#ifdef __cplusplus
 
8506
extern "C" {
 
8507
#endif
 
8508
char nm_test_var;
 
8509
void nm_test_func(void);
 
8510
void nm_test_func(void){}
 
8511
#ifdef __cplusplus
 
8512
}
 
8513
#endif
 
8514
int main(){nm_test_var='a';nm_test_func();return(0);}
 
8515
_LT_EOF
 
8516
 
 
8517
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
8518
  (eval $ac_compile) 2>&5
 
8519
  ac_status=$?
 
8520
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8521
  test $ac_status = 0; }; then
 
8522
    # Now try to grab the symbols.
 
8523
    nlist=conftest.nm
 
8524
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
 
8525
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
 
8526
  ac_status=$?
 
8527
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8528
  test $ac_status = 0; } && test -s "$nlist"; then
 
8529
      # Try sorting and uniquifying the output.
 
8530
      if sort "$nlist" | uniq > "$nlist"T; then
 
8531
        mv -f "$nlist"T "$nlist"
 
8532
      else
 
8533
        rm -f "$nlist"T
 
8534
      fi
 
8535
 
 
8536
      # Make sure that we snagged all the symbols we need.
 
8537
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 
8538
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 
8539
          cat <<_LT_EOF > conftest.$ac_ext
 
8540
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
 
8541
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
 
8542
/* DATA imports from DLLs on WIN32 con't be const, because runtime
 
8543
   relocations are performed -- see ld's documentation on pseudo-relocs.  */
 
8544
# define LT_DLSYM_CONST
 
8545
#elif defined(__osf__)
 
8546
/* This system does not cope well with relocations in const data.  */
 
8547
# define LT_DLSYM_CONST
 
8548
#else
 
8549
# define LT_DLSYM_CONST const
 
8550
#endif
 
8551
 
 
8552
#ifdef __cplusplus
 
8553
extern "C" {
 
8554
#endif
 
8555
 
 
8556
_LT_EOF
 
8557
          # Now generate the symbol file.
 
8558
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 
8559
 
 
8560
          cat <<_LT_EOF >> conftest.$ac_ext
 
8561
 
 
8562
/* The mapping between symbol names and symbols.  */
 
8563
LT_DLSYM_CONST struct {
 
8564
  const char *name;
 
8565
  void       *address;
 
8566
}
 
8567
lt__PROGRAM__LTX_preloaded_symbols[] =
 
8568
{
 
8569
  { "@PROGRAM@", (void *) 0 },
 
8570
_LT_EOF
 
8571
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 
8572
          cat <<\_LT_EOF >> conftest.$ac_ext
 
8573
  {0, (void *) 0}
 
8574
};
 
8575
 
 
8576
/* This works around a problem in FreeBSD linker */
 
8577
#ifdef FREEBSD_WORKAROUND
 
8578
static const void *lt_preloaded_setup() {
 
8579
  return lt__PROGRAM__LTX_preloaded_symbols;
 
8580
}
 
8581
#endif
 
8582
 
 
8583
#ifdef __cplusplus
 
8584
}
 
8585
#endif
 
8586
_LT_EOF
 
8587
          # Now try linking the two files.
 
8588
          mv conftest.$ac_objext conftstm.$ac_objext
 
8589
          lt_globsym_save_LIBS=$LIBS
 
8590
          lt_globsym_save_CFLAGS=$CFLAGS
 
8591
          LIBS="conftstm.$ac_objext"
 
8592
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
 
8593
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
8594
  (eval $ac_link) 2>&5
 
8595
  ac_status=$?
 
8596
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8597
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
 
8598
            pipe_works=yes
 
8599
          fi
 
8600
          LIBS=$lt_globsym_save_LIBS
 
8601
          CFLAGS=$lt_globsym_save_CFLAGS
 
8602
        else
 
8603
          echo "cannot find nm_test_func in $nlist" >&5
 
8604
        fi
 
8605
      else
 
8606
        echo "cannot find nm_test_var in $nlist" >&5
 
8607
      fi
 
8608
    else
 
8609
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
 
8610
    fi
 
8611
  else
 
8612
    echo "$progname: failed program was:" >&5
 
8613
    cat conftest.$ac_ext >&5
 
8614
  fi
 
8615
  rm -rf conftest* conftst*
 
8616
 
 
8617
  # Do not use the global_symbol_pipe unless it works.
 
8618
  if test "$pipe_works" = yes; then
 
8619
    break
 
8620
  else
 
8621
    lt_cv_sys_global_symbol_pipe=
 
8622
  fi
 
8623
done
 
8624
 
 
8625
fi
 
8626
 
 
8627
if test -z "$lt_cv_sys_global_symbol_pipe"; then
 
8628
  lt_cv_sys_global_symbol_to_cdecl=
 
8629
fi
 
8630
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
 
8631
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
 
8632
$as_echo "failed" >&6; }
 
8633
else
 
8634
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 
8635
$as_echo "ok" >&6; }
 
8636
fi
 
8637
 
 
8638
# Response file support.
 
8639
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
8640
  nm_file_list_spec='@'
 
8641
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
 
8642
  nm_file_list_spec='@'
 
8643
fi
 
8644
 
 
8645
 
 
8646
 
 
8647
 
 
8648
 
 
8649
 
 
8650
 
 
8651
 
 
8652
 
 
8653
 
 
8654
 
 
8655
 
 
8656
 
 
8657
 
 
8658
 
 
8659
 
 
8660
 
 
8661
 
 
8662
 
 
8663
 
 
8664
 
 
8665
 
 
8666
 
 
8667
 
 
8668
 
 
8669
 
 
8670
 
 
8671
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
 
8672
$as_echo_n "checking for sysroot... " >&6; }
 
8673
 
 
8674
# Check whether --with-sysroot was given.
 
8675
if test "${with_sysroot+set}" = set; then :
 
8676
  withval=$with_sysroot;
 
8677
else
 
8678
  with_sysroot=no
 
8679
fi
 
8680
 
 
8681
 
 
8682
lt_sysroot=
 
8683
case ${with_sysroot} in #(
 
8684
 yes)
 
8685
   if test "$GCC" = yes; then
 
8686
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
 
8687
   fi
 
8688
   ;; #(
 
8689
 /*)
 
8690
   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
 
8691
   ;; #(
 
8692
 no|'')
 
8693
   ;; #(
 
8694
 *)
 
8695
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
 
8696
$as_echo "${with_sysroot}" >&6; }
 
8697
   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
 
8698
   ;;
 
8699
esac
 
8700
 
 
8701
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 
8702
$as_echo "${lt_sysroot:-no}" >&6; }
 
8703
 
 
8704
 
 
8705
 
 
8706
 
 
8707
 
 
8708
# Check whether --enable-libtool-lock was given.
 
8709
if test "${enable_libtool_lock+set}" = set; then :
 
8710
  enableval=$enable_libtool_lock;
 
8711
fi
 
8712
 
 
8713
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
8714
 
 
8715
# Some flags need to be propagated to the compiler or linker for good
 
8716
# libtool support.
 
8717
case $host in
 
8718
ia64-*-hpux*)
 
8719
  # Find out which ABI we are using.
 
8720
  echo 'int i;' > conftest.$ac_ext
 
8721
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
8722
  (eval $ac_compile) 2>&5
 
8723
  ac_status=$?
 
8724
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8725
  test $ac_status = 0; }; then
 
8726
    case `/usr/bin/file conftest.$ac_objext` in
 
8727
      *ELF-32*)
 
8728
        HPUX_IA64_MODE="32"
 
8729
        ;;
 
8730
      *ELF-64*)
 
8731
        HPUX_IA64_MODE="64"
 
8732
        ;;
 
8733
    esac
 
8734
  fi
 
8735
  rm -rf conftest*
 
8736
  ;;
 
8737
*-*-irix6*)
 
8738
  # Find out which ABI we are using.
 
8739
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
 
8740
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
8741
  (eval $ac_compile) 2>&5
 
8742
  ac_status=$?
 
8743
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8744
  test $ac_status = 0; }; then
 
8745
    if test "$lt_cv_prog_gnu_ld" = yes; then
 
8746
      case `/usr/bin/file conftest.$ac_objext` in
 
8747
        *32-bit*)
 
8748
          LD="${LD-ld} -melf32bsmip"
 
8749
          ;;
 
8750
        *N32*)
 
8751
          LD="${LD-ld} -melf32bmipn32"
 
8752
          ;;
 
8753
        *64-bit*)
 
8754
          LD="${LD-ld} -melf64bmip"
 
8755
        ;;
 
8756
      esac
 
8757
    else
 
8758
      case `/usr/bin/file conftest.$ac_objext` in
 
8759
        *32-bit*)
 
8760
          LD="${LD-ld} -32"
 
8761
          ;;
 
8762
        *N32*)
 
8763
          LD="${LD-ld} -n32"
 
8764
          ;;
 
8765
        *64-bit*)
 
8766
          LD="${LD-ld} -64"
 
8767
          ;;
 
8768
      esac
 
8769
    fi
 
8770
  fi
 
8771
  rm -rf conftest*
 
8772
  ;;
 
8773
 
 
8774
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
8775
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 
8776
  # Find out which ABI we are using.
 
8777
  echo 'int i;' > conftest.$ac_ext
 
8778
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
8779
  (eval $ac_compile) 2>&5
 
8780
  ac_status=$?
 
8781
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8782
  test $ac_status = 0; }; then
 
8783
    case `/usr/bin/file conftest.o` in
 
8784
      *32-bit*)
 
8785
        case $host in
 
8786
          x86_64-*kfreebsd*-gnu)
 
8787
            LD="${LD-ld} -m elf_i386_fbsd"
 
8788
            ;;
 
8789
          x86_64-*linux*)
 
8790
            LD="${LD-ld} -m elf_i386"
 
8791
            ;;
 
8792
          ppc64-*linux*|powerpc64-*linux*)
 
8793
            LD="${LD-ld} -m elf32ppclinux"
 
8794
            ;;
 
8795
          s390x-*linux*)
 
8796
            LD="${LD-ld} -m elf_s390"
 
8797
            ;;
 
8798
          sparc64-*linux*)
 
8799
            LD="${LD-ld} -m elf32_sparc"
 
8800
            ;;
 
8801
        esac
 
8802
        ;;
 
8803
      *64-bit*)
 
8804
        case $host in
 
8805
          x86_64-*kfreebsd*-gnu)
 
8806
            LD="${LD-ld} -m elf_x86_64_fbsd"
 
8807
            ;;
 
8808
          x86_64-*linux*)
 
8809
            LD="${LD-ld} -m elf_x86_64"
 
8810
            ;;
 
8811
          ppc*-*linux*|powerpc*-*linux*)
 
8812
            LD="${LD-ld} -m elf64ppc"
 
8813
            ;;
 
8814
          s390*-*linux*|s390*-*tpf*)
 
8815
            LD="${LD-ld} -m elf64_s390"
 
8816
            ;;
 
8817
          sparc*-*linux*)
 
8818
            LD="${LD-ld} -m elf64_sparc"
 
8819
            ;;
 
8820
        esac
 
8821
        ;;
 
8822
    esac
 
8823
  fi
 
8824
  rm -rf conftest*
 
8825
  ;;
 
8826
 
 
8827
*-*-sco3.2v5*)
 
8828
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
8829
  SAVE_CFLAGS="$CFLAGS"
 
8830
  CFLAGS="$CFLAGS -belf"
 
8831
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
 
8832
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 
8833
if ${lt_cv_cc_needs_belf+:} false; then :
 
8834
  $as_echo_n "(cached) " >&6
 
8835
else
 
8836
  ac_ext=c
 
8837
ac_cpp='$CPP $CPPFLAGS'
 
8838
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
8839
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
8840
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
8841
 
 
8842
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
8843
/* end confdefs.h.  */
 
8844
 
 
8845
int
 
8846
main ()
 
8847
{
 
8848
 
 
8849
  ;
 
8850
  return 0;
 
8851
}
 
8852
_ACEOF
 
8853
if ac_fn_c_try_link "$LINENO"; then :
 
8854
  lt_cv_cc_needs_belf=yes
 
8855
else
 
8856
  lt_cv_cc_needs_belf=no
 
8857
fi
 
8858
rm -f core conftest.err conftest.$ac_objext \
 
8859
    conftest$ac_exeext conftest.$ac_ext
 
8860
     ac_ext=c
 
8861
ac_cpp='$CPP $CPPFLAGS'
 
8862
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
8863
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
8864
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
8865
 
 
8866
fi
 
8867
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
 
8868
$as_echo "$lt_cv_cc_needs_belf" >&6; }
 
8869
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
8870
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
8871
    CFLAGS="$SAVE_CFLAGS"
 
8872
  fi
 
8873
  ;;
 
8874
*-*solaris*)
 
8875
  # Find out which ABI we are using.
 
8876
  echo 'int i;' > conftest.$ac_ext
 
8877
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
8878
  (eval $ac_compile) 2>&5
 
8879
  ac_status=$?
 
8880
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8881
  test $ac_status = 0; }; then
 
8882
    case `/usr/bin/file conftest.o` in
 
8883
    *64-bit*)
 
8884
      case $lt_cv_prog_gnu_ld in
 
8885
      yes*)
 
8886
        case $host in
 
8887
        i?86-*-solaris*)
 
8888
          LD="${LD-ld} -m elf_x86_64"
 
8889
          ;;
 
8890
        sparc*-*-solaris*)
 
8891
          LD="${LD-ld} -m elf64_sparc"
 
8892
          ;;
 
8893
        esac
 
8894
        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
 
8895
        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
 
8896
          LD="${LD-ld}_sol2"
 
8897
        fi
 
8898
        ;;
 
8899
      *)
 
8900
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
8901
          LD="${LD-ld} -64"
 
8902
        fi
 
8903
        ;;
 
8904
      esac
 
8905
      ;;
 
8906
    esac
 
8907
  fi
 
8908
  rm -rf conftest*
 
8909
  ;;
 
8910
esac
 
8911
 
 
8912
need_locks="$enable_libtool_lock"
 
8913
 
 
8914
if test -n "$ac_tool_prefix"; then
 
8915
  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
 
8916
set dummy ${ac_tool_prefix}mt; ac_word=$2
 
8917
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8918
$as_echo_n "checking for $ac_word... " >&6; }
 
8919
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
 
8920
  $as_echo_n "(cached) " >&6
 
8921
else
 
8922
  if test -n "$MANIFEST_TOOL"; then
 
8923
  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
 
8924
else
 
8925
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8926
for as_dir in $PATH
 
8927
do
 
8928
  IFS=$as_save_IFS
 
8929
  test -z "$as_dir" && as_dir=.
 
8930
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8931
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8932
    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
 
8933
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8934
    break 2
 
8935
  fi
 
8936
done
 
8937
  done
 
8938
IFS=$as_save_IFS
 
8939
 
 
8940
fi
 
8941
fi
 
8942
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
 
8943
if test -n "$MANIFEST_TOOL"; then
 
8944
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
 
8945
$as_echo "$MANIFEST_TOOL" >&6; }
 
8946
else
 
8947
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8948
$as_echo "no" >&6; }
 
8949
fi
 
8950
 
 
8951
 
 
8952
fi
 
8953
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
 
8954
  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
 
8955
  # Extract the first word of "mt", so it can be a program name with args.
 
8956
set dummy mt; ac_word=$2
 
8957
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8958
$as_echo_n "checking for $ac_word... " >&6; }
 
8959
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
 
8960
  $as_echo_n "(cached) " >&6
 
8961
else
 
8962
  if test -n "$ac_ct_MANIFEST_TOOL"; then
 
8963
  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
 
8964
else
 
8965
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8966
for as_dir in $PATH
 
8967
do
 
8968
  IFS=$as_save_IFS
 
8969
  test -z "$as_dir" && as_dir=.
 
8970
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8971
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
8972
    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
 
8973
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8974
    break 2
 
8975
  fi
 
8976
done
 
8977
  done
 
8978
IFS=$as_save_IFS
 
8979
 
 
8980
fi
 
8981
fi
 
8982
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
 
8983
if test -n "$ac_ct_MANIFEST_TOOL"; then
 
8984
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
 
8985
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
 
8986
else
 
8987
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8988
$as_echo "no" >&6; }
 
8989
fi
 
8990
 
 
8991
  if test "x$ac_ct_MANIFEST_TOOL" = x; then
 
8992
    MANIFEST_TOOL=":"
 
8993
  else
 
8994
    case $cross_compiling:$ac_tool_warned in
 
8995
yes:)
 
8996
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8997
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8998
ac_tool_warned=yes ;;
 
8999
esac
 
9000
    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
 
9001
  fi
 
9002
else
 
9003
  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
 
9004
fi
 
9005
 
 
9006
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
 
9007
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
 
9008
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
 
9009
if ${lt_cv_path_mainfest_tool+:} false; then :
 
9010
  $as_echo_n "(cached) " >&6
 
9011
else
 
9012
  lt_cv_path_mainfest_tool=no
 
9013
  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
 
9014
  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
 
9015
  cat conftest.err >&5
 
9016
  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
 
9017
    lt_cv_path_mainfest_tool=yes
 
9018
  fi
 
9019
  rm -f conftest*
 
9020
fi
 
9021
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
 
9022
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
 
9023
if test "x$lt_cv_path_mainfest_tool" != xyes; then
 
9024
  MANIFEST_TOOL=:
 
9025
fi
 
9026
 
 
9027
 
 
9028
 
 
9029
 
 
9030
 
 
9031
 
 
9032
  case $host_os in
 
9033
    rhapsody* | darwin*)
 
9034
    if test -n "$ac_tool_prefix"; then
 
9035
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
 
9036
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 
9037
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9038
$as_echo_n "checking for $ac_word... " >&6; }
 
9039
if ${ac_cv_prog_DSYMUTIL+:} false; then :
 
9040
  $as_echo_n "(cached) " >&6
 
9041
else
 
9042
  if test -n "$DSYMUTIL"; then
 
9043
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
 
9044
else
 
9045
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9046
for as_dir in $PATH
 
9047
do
 
9048
  IFS=$as_save_IFS
 
9049
  test -z "$as_dir" && as_dir=.
 
9050
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9051
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
9052
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
 
9053
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9054
    break 2
 
9055
  fi
 
9056
done
 
9057
  done
 
9058
IFS=$as_save_IFS
 
9059
 
 
9060
fi
 
9061
fi
 
9062
DSYMUTIL=$ac_cv_prog_DSYMUTIL
 
9063
if test -n "$DSYMUTIL"; then
 
9064
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
 
9065
$as_echo "$DSYMUTIL" >&6; }
 
9066
else
 
9067
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9068
$as_echo "no" >&6; }
 
9069
fi
 
9070
 
 
9071
 
 
9072
fi
 
9073
if test -z "$ac_cv_prog_DSYMUTIL"; then
 
9074
  ac_ct_DSYMUTIL=$DSYMUTIL
 
9075
  # Extract the first word of "dsymutil", so it can be a program name with args.
 
9076
set dummy dsymutil; ac_word=$2
 
9077
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9078
$as_echo_n "checking for $ac_word... " >&6; }
 
9079
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
 
9080
  $as_echo_n "(cached) " >&6
 
9081
else
 
9082
  if test -n "$ac_ct_DSYMUTIL"; then
 
9083
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
 
9084
else
 
9085
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9086
for as_dir in $PATH
 
9087
do
 
9088
  IFS=$as_save_IFS
 
9089
  test -z "$as_dir" && as_dir=.
 
9090
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9091
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
9092
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
 
9093
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9094
    break 2
 
9095
  fi
 
9096
done
 
9097
  done
 
9098
IFS=$as_save_IFS
 
9099
 
 
9100
fi
 
9101
fi
 
9102
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
 
9103
if test -n "$ac_ct_DSYMUTIL"; then
 
9104
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
 
9105
$as_echo "$ac_ct_DSYMUTIL" >&6; }
 
9106
else
 
9107
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9108
$as_echo "no" >&6; }
 
9109
fi
 
9110
 
 
9111
  if test "x$ac_ct_DSYMUTIL" = x; then
 
9112
    DSYMUTIL=":"
 
9113
  else
 
9114
    case $cross_compiling:$ac_tool_warned in
 
9115
yes:)
 
9116
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
9117
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
9118
ac_tool_warned=yes ;;
 
9119
esac
 
9120
    DSYMUTIL=$ac_ct_DSYMUTIL
 
9121
  fi
 
9122
else
 
9123
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
 
9124
fi
 
9125
 
 
9126
    if test -n "$ac_tool_prefix"; then
 
9127
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
 
9128
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 
9129
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9130
$as_echo_n "checking for $ac_word... " >&6; }
 
9131
if ${ac_cv_prog_NMEDIT+:} false; then :
 
9132
  $as_echo_n "(cached) " >&6
 
9133
else
 
9134
  if test -n "$NMEDIT"; then
 
9135
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
 
9136
else
 
9137
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9138
for as_dir in $PATH
 
9139
do
 
9140
  IFS=$as_save_IFS
 
9141
  test -z "$as_dir" && as_dir=.
 
9142
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9143
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
9144
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
 
9145
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9146
    break 2
 
9147
  fi
 
9148
done
 
9149
  done
 
9150
IFS=$as_save_IFS
 
9151
 
 
9152
fi
 
9153
fi
 
9154
NMEDIT=$ac_cv_prog_NMEDIT
 
9155
if test -n "$NMEDIT"; then
 
9156
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
 
9157
$as_echo "$NMEDIT" >&6; }
 
9158
else
 
9159
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9160
$as_echo "no" >&6; }
 
9161
fi
 
9162
 
 
9163
 
 
9164
fi
 
9165
if test -z "$ac_cv_prog_NMEDIT"; then
 
9166
  ac_ct_NMEDIT=$NMEDIT
 
9167
  # Extract the first word of "nmedit", so it can be a program name with args.
 
9168
set dummy nmedit; ac_word=$2
 
9169
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9170
$as_echo_n "checking for $ac_word... " >&6; }
 
9171
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
 
9172
  $as_echo_n "(cached) " >&6
 
9173
else
 
9174
  if test -n "$ac_ct_NMEDIT"; then
 
9175
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 
9176
else
 
9177
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9178
for as_dir in $PATH
 
9179
do
 
9180
  IFS=$as_save_IFS
 
9181
  test -z "$as_dir" && as_dir=.
 
9182
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9183
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
9184
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
 
9185
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9186
    break 2
 
9187
  fi
 
9188
done
 
9189
  done
 
9190
IFS=$as_save_IFS
 
9191
 
 
9192
fi
 
9193
fi
 
9194
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 
9195
if test -n "$ac_ct_NMEDIT"; then
 
9196
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
 
9197
$as_echo "$ac_ct_NMEDIT" >&6; }
 
9198
else
 
9199
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9200
$as_echo "no" >&6; }
 
9201
fi
 
9202
 
 
9203
  if test "x$ac_ct_NMEDIT" = x; then
 
9204
    NMEDIT=":"
 
9205
  else
 
9206
    case $cross_compiling:$ac_tool_warned in
 
9207
yes:)
 
9208
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
9209
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
9210
ac_tool_warned=yes ;;
 
9211
esac
 
9212
    NMEDIT=$ac_ct_NMEDIT
 
9213
  fi
 
9214
else
 
9215
  NMEDIT="$ac_cv_prog_NMEDIT"
 
9216
fi
 
9217
 
 
9218
    if test -n "$ac_tool_prefix"; then
 
9219
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 
9220
set dummy ${ac_tool_prefix}lipo; ac_word=$2
 
9221
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9222
$as_echo_n "checking for $ac_word... " >&6; }
 
9223
if ${ac_cv_prog_LIPO+:} false; then :
 
9224
  $as_echo_n "(cached) " >&6
 
9225
else
 
9226
  if test -n "$LIPO"; then
 
9227
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 
9228
else
 
9229
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9230
for as_dir in $PATH
 
9231
do
 
9232
  IFS=$as_save_IFS
 
9233
  test -z "$as_dir" && as_dir=.
 
9234
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9235
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
9236
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 
9237
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9238
    break 2
 
9239
  fi
 
9240
done
 
9241
  done
 
9242
IFS=$as_save_IFS
 
9243
 
 
9244
fi
 
9245
fi
 
9246
LIPO=$ac_cv_prog_LIPO
 
9247
if test -n "$LIPO"; then
 
9248
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
 
9249
$as_echo "$LIPO" >&6; }
 
9250
else
 
9251
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9252
$as_echo "no" >&6; }
 
9253
fi
 
9254
 
 
9255
 
 
9256
fi
 
9257
if test -z "$ac_cv_prog_LIPO"; then
 
9258
  ac_ct_LIPO=$LIPO
 
9259
  # Extract the first word of "lipo", so it can be a program name with args.
 
9260
set dummy lipo; ac_word=$2
 
9261
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9262
$as_echo_n "checking for $ac_word... " >&6; }
 
9263
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
 
9264
  $as_echo_n "(cached) " >&6
 
9265
else
 
9266
  if test -n "$ac_ct_LIPO"; then
 
9267
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 
9268
else
 
9269
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9270
for as_dir in $PATH
 
9271
do
 
9272
  IFS=$as_save_IFS
 
9273
  test -z "$as_dir" && as_dir=.
 
9274
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9275
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
9276
    ac_cv_prog_ac_ct_LIPO="lipo"
 
9277
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9278
    break 2
 
9279
  fi
 
9280
done
 
9281
  done
 
9282
IFS=$as_save_IFS
 
9283
 
 
9284
fi
 
9285
fi
 
9286
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 
9287
if test -n "$ac_ct_LIPO"; then
 
9288
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
 
9289
$as_echo "$ac_ct_LIPO" >&6; }
 
9290
else
 
9291
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9292
$as_echo "no" >&6; }
 
9293
fi
 
9294
 
 
9295
  if test "x$ac_ct_LIPO" = x; then
 
9296
    LIPO=":"
 
9297
  else
 
9298
    case $cross_compiling:$ac_tool_warned in
 
9299
yes:)
 
9300
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
9301
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
9302
ac_tool_warned=yes ;;
 
9303
esac
 
9304
    LIPO=$ac_ct_LIPO
 
9305
  fi
 
9306
else
 
9307
  LIPO="$ac_cv_prog_LIPO"
 
9308
fi
 
9309
 
 
9310
    if test -n "$ac_tool_prefix"; then
 
9311
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 
9312
set dummy ${ac_tool_prefix}otool; ac_word=$2
 
9313
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9314
$as_echo_n "checking for $ac_word... " >&6; }
 
9315
if ${ac_cv_prog_OTOOL+:} false; then :
 
9316
  $as_echo_n "(cached) " >&6
 
9317
else
 
9318
  if test -n "$OTOOL"; then
 
9319
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 
9320
else
 
9321
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9322
for as_dir in $PATH
 
9323
do
 
9324
  IFS=$as_save_IFS
 
9325
  test -z "$as_dir" && as_dir=.
 
9326
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9327
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
9328
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 
9329
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9330
    break 2
 
9331
  fi
 
9332
done
 
9333
  done
 
9334
IFS=$as_save_IFS
 
9335
 
 
9336
fi
 
9337
fi
 
9338
OTOOL=$ac_cv_prog_OTOOL
 
9339
if test -n "$OTOOL"; then
 
9340
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
 
9341
$as_echo "$OTOOL" >&6; }
 
9342
else
 
9343
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9344
$as_echo "no" >&6; }
 
9345
fi
 
9346
 
 
9347
 
 
9348
fi
 
9349
if test -z "$ac_cv_prog_OTOOL"; then
 
9350
  ac_ct_OTOOL=$OTOOL
 
9351
  # Extract the first word of "otool", so it can be a program name with args.
 
9352
set dummy otool; ac_word=$2
 
9353
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9354
$as_echo_n "checking for $ac_word... " >&6; }
 
9355
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
 
9356
  $as_echo_n "(cached) " >&6
 
9357
else
 
9358
  if test -n "$ac_ct_OTOOL"; then
 
9359
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 
9360
else
 
9361
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9362
for as_dir in $PATH
 
9363
do
 
9364
  IFS=$as_save_IFS
 
9365
  test -z "$as_dir" && as_dir=.
 
9366
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9367
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
9368
    ac_cv_prog_ac_ct_OTOOL="otool"
 
9369
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9370
    break 2
 
9371
  fi
 
9372
done
 
9373
  done
 
9374
IFS=$as_save_IFS
 
9375
 
 
9376
fi
 
9377
fi
 
9378
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 
9379
if test -n "$ac_ct_OTOOL"; then
 
9380
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
 
9381
$as_echo "$ac_ct_OTOOL" >&6; }
 
9382
else
 
9383
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9384
$as_echo "no" >&6; }
 
9385
fi
 
9386
 
 
9387
  if test "x$ac_ct_OTOOL" = x; then
 
9388
    OTOOL=":"
 
9389
  else
 
9390
    case $cross_compiling:$ac_tool_warned in
 
9391
yes:)
 
9392
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
9393
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
9394
ac_tool_warned=yes ;;
 
9395
esac
 
9396
    OTOOL=$ac_ct_OTOOL
 
9397
  fi
 
9398
else
 
9399
  OTOOL="$ac_cv_prog_OTOOL"
 
9400
fi
 
9401
 
 
9402
    if test -n "$ac_tool_prefix"; then
 
9403
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 
9404
set dummy ${ac_tool_prefix}otool64; ac_word=$2
 
9405
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9406
$as_echo_n "checking for $ac_word... " >&6; }
 
9407
if ${ac_cv_prog_OTOOL64+:} false; then :
 
9408
  $as_echo_n "(cached) " >&6
 
9409
else
 
9410
  if test -n "$OTOOL64"; then
 
9411
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 
9412
else
 
9413
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9414
for as_dir in $PATH
 
9415
do
 
9416
  IFS=$as_save_IFS
 
9417
  test -z "$as_dir" && as_dir=.
 
9418
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9419
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
9420
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 
9421
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9422
    break 2
 
9423
  fi
 
9424
done
 
9425
  done
 
9426
IFS=$as_save_IFS
 
9427
 
 
9428
fi
 
9429
fi
 
9430
OTOOL64=$ac_cv_prog_OTOOL64
 
9431
if test -n "$OTOOL64"; then
 
9432
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
 
9433
$as_echo "$OTOOL64" >&6; }
 
9434
else
 
9435
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9436
$as_echo "no" >&6; }
 
9437
fi
 
9438
 
 
9439
 
 
9440
fi
 
9441
if test -z "$ac_cv_prog_OTOOL64"; then
 
9442
  ac_ct_OTOOL64=$OTOOL64
 
9443
  # Extract the first word of "otool64", so it can be a program name with args.
 
9444
set dummy otool64; ac_word=$2
 
9445
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9446
$as_echo_n "checking for $ac_word... " >&6; }
 
9447
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
 
9448
  $as_echo_n "(cached) " >&6
 
9449
else
 
9450
  if test -n "$ac_ct_OTOOL64"; then
 
9451
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 
9452
else
 
9453
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9454
for as_dir in $PATH
 
9455
do
 
9456
  IFS=$as_save_IFS
 
9457
  test -z "$as_dir" && as_dir=.
 
9458
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9459
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
9460
    ac_cv_prog_ac_ct_OTOOL64="otool64"
 
9461
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9462
    break 2
 
9463
  fi
 
9464
done
 
9465
  done
 
9466
IFS=$as_save_IFS
 
9467
 
 
9468
fi
 
9469
fi
 
9470
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 
9471
if test -n "$ac_ct_OTOOL64"; then
 
9472
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
 
9473
$as_echo "$ac_ct_OTOOL64" >&6; }
 
9474
else
 
9475
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9476
$as_echo "no" >&6; }
 
9477
fi
 
9478
 
 
9479
  if test "x$ac_ct_OTOOL64" = x; then
 
9480
    OTOOL64=":"
 
9481
  else
 
9482
    case $cross_compiling:$ac_tool_warned in
 
9483
yes:)
 
9484
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
9485
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
9486
ac_tool_warned=yes ;;
 
9487
esac
 
9488
    OTOOL64=$ac_ct_OTOOL64
 
9489
  fi
 
9490
else
 
9491
  OTOOL64="$ac_cv_prog_OTOOL64"
 
9492
fi
 
9493
 
 
9494
 
 
9495
 
 
9496
 
 
9497
 
 
9498
 
 
9499
 
 
9500
 
 
9501
 
 
9502
 
 
9503
 
 
9504
 
 
9505
 
 
9506
 
 
9507
 
 
9508
 
 
9509
 
 
9510
 
 
9511
 
 
9512
 
 
9513
 
 
9514
 
 
9515
 
 
9516
 
 
9517
 
 
9518
 
 
9519
 
 
9520
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
 
9521
$as_echo_n "checking for -single_module linker flag... " >&6; }
 
9522
if ${lt_cv_apple_cc_single_mod+:} false; then :
 
9523
  $as_echo_n "(cached) " >&6
 
9524
else
 
9525
  lt_cv_apple_cc_single_mod=no
 
9526
      if test -z "${LT_MULTI_MODULE}"; then
 
9527
        # By default we will add the -single_module flag. You can override
 
9528
        # by either setting the environment variable LT_MULTI_MODULE
 
9529
        # non-empty at configure time, or by adding -multi_module to the
 
9530
        # link flags.
 
9531
        rm -rf libconftest.dylib*
 
9532
        echo "int foo(void){return 1;}" > conftest.c
 
9533
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
9534
-dynamiclib -Wl,-single_module conftest.c" >&5
 
9535
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
9536
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 
9537
        _lt_result=$?
 
9538
        # If there is a non-empty error log, and "single_module"
 
9539
        # appears in it, assume the flag caused a linker warning
 
9540
        if test -s conftest.err && $GREP single_module conftest.err; then
 
9541
          cat conftest.err >&5
 
9542
        # Otherwise, if the output was created with a 0 exit code from
 
9543
        # the compiler, it worked.
 
9544
        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
 
9545
          lt_cv_apple_cc_single_mod=yes
 
9546
        else
 
9547
          cat conftest.err >&5
 
9548
        fi
 
9549
        rm -rf libconftest.dylib*
 
9550
        rm -f conftest.*
 
9551
      fi
 
9552
fi
 
9553
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
 
9554
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
9555
 
 
9556
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
 
9557
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
 
9558
if ${lt_cv_ld_exported_symbols_list+:} false; then :
 
9559
  $as_echo_n "(cached) " >&6
 
9560
else
 
9561
  lt_cv_ld_exported_symbols_list=no
 
9562
      save_LDFLAGS=$LDFLAGS
 
9563
      echo "_main" > conftest.sym
 
9564
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 
9565
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9566
/* end confdefs.h.  */
 
9567
 
 
9568
int
 
9569
main ()
 
9570
{
 
9571
 
 
9572
  ;
 
9573
  return 0;
 
9574
}
 
9575
_ACEOF
 
9576
if ac_fn_c_try_link "$LINENO"; then :
 
9577
  lt_cv_ld_exported_symbols_list=yes
 
9578
else
 
9579
  lt_cv_ld_exported_symbols_list=no
 
9580
fi
 
9581
rm -f core conftest.err conftest.$ac_objext \
 
9582
    conftest$ac_exeext conftest.$ac_ext
 
9583
        LDFLAGS="$save_LDFLAGS"
 
9584
 
 
9585
fi
 
9586
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
 
9587
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
9588
 
 
9589
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
 
9590
$as_echo_n "checking for -force_load linker flag... " >&6; }
 
9591
if ${lt_cv_ld_force_load+:} false; then :
 
9592
  $as_echo_n "(cached) " >&6
 
9593
else
 
9594
  lt_cv_ld_force_load=no
 
9595
      cat > conftest.c << _LT_EOF
 
9596
int forced_loaded() { return 2;}
 
9597
_LT_EOF
 
9598
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
 
9599
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
 
9600
      echo "$AR cru libconftest.a conftest.o" >&5
 
9601
      $AR cru libconftest.a conftest.o 2>&5
 
9602
      echo "$RANLIB libconftest.a" >&5
 
9603
      $RANLIB libconftest.a 2>&5
 
9604
      cat > conftest.c << _LT_EOF
 
9605
int main() { return 0;}
 
9606
_LT_EOF
 
9607
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
 
9608
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
 
9609
      _lt_result=$?
 
9610
      if test -s conftest.err && $GREP force_load conftest.err; then
 
9611
        cat conftest.err >&5
 
9612
      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
 
9613
        lt_cv_ld_force_load=yes
 
9614
      else
 
9615
        cat conftest.err >&5
 
9616
      fi
 
9617
        rm -f conftest.err libconftest.a conftest conftest.c
 
9618
        rm -rf conftest.dSYM
 
9619
 
 
9620
fi
 
9621
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
 
9622
$as_echo "$lt_cv_ld_force_load" >&6; }
 
9623
    case $host_os in
 
9624
    rhapsody* | darwin1.[012])
 
9625
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 
9626
    darwin1.*)
 
9627
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
9628
    darwin*) # darwin 5.x on
 
9629
      # if running on 10.5 or later, the deployment target defaults
 
9630
      # to the OS version, if on x86, and 10.4, the deployment
 
9631
      # target defaults to 10.4. Don't you love it?
 
9632
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 
9633
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
9634
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
9635
        10.[012]*)
 
9636
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
9637
        10.*)
 
9638
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
9639
      esac
 
9640
    ;;
 
9641
  esac
 
9642
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 
9643
      _lt_dar_single_mod='$single_module'
 
9644
    fi
 
9645
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 
9646
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 
9647
    else
 
9648
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
9649
    fi
 
9650
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
 
9651
      _lt_dsymutil='~$DSYMUTIL $lib || :'
 
9652
    else
 
9653
      _lt_dsymutil=
 
9654
    fi
 
9655
    ;;
 
9656
  esac
 
9657
 
 
9658
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
9659
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
9660
                  inttypes.h stdint.h unistd.h
 
9661
do :
 
9662
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
9663
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
9664
"
 
9665
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
9666
  cat >>confdefs.h <<_ACEOF
 
9667
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
9668
_ACEOF
 
9669
 
 
9670
fi
 
9671
 
 
9672
done
 
9673
 
 
9674
 
 
9675
for ac_header in dlfcn.h
 
9676
do :
 
9677
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 
9678
"
 
9679
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
 
9680
  cat >>confdefs.h <<_ACEOF
 
9681
#define HAVE_DLFCN_H 1
 
9682
_ACEOF
 
9683
 
 
9684
fi
 
9685
 
 
9686
done
 
9687
 
 
9688
 
 
9689
 
 
9690
 
 
9691
 
 
9692
# Set options
 
9693
# Check whether --enable-static was given.
 
9694
if test "${enable_static+set}" = set; then :
 
9695
  enableval=$enable_static; p=${PACKAGE-default}
 
9696
    case $enableval in
 
9697
    yes) enable_static=yes ;;
 
9698
    no) enable_static=no ;;
 
9699
    *)
 
9700
     enable_static=no
 
9701
      # Look at the argument we got.  We use all the common list separators.
 
9702
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
9703
      for pkg in $enableval; do
 
9704
        IFS="$lt_save_ifs"
 
9705
        if test "X$pkg" = "X$p"; then
 
9706
          enable_static=yes
 
9707
        fi
 
9708
      done
 
9709
      IFS="$lt_save_ifs"
 
9710
      ;;
 
9711
    esac
 
9712
else
 
9713
  enable_static=no
 
9714
fi
 
9715
 
 
9716
 
 
9717
 
 
9718
 
 
9719
 
 
9720
 
 
9721
 
 
9722
 
 
9723
 
 
9724
 
 
9725
        enable_dlopen=no
 
9726
 
 
9727
 
 
9728
  enable_win32_dll=no
 
9729
 
 
9730
 
 
9731
            # Check whether --enable-shared was given.
 
9732
if test "${enable_shared+set}" = set; then :
 
9733
  enableval=$enable_shared; p=${PACKAGE-default}
 
9734
    case $enableval in
 
9735
    yes) enable_shared=yes ;;
 
9736
    no) enable_shared=no ;;
 
9737
    *)
 
9738
      enable_shared=no
 
9739
      # Look at the argument we got.  We use all the common list separators.
 
9740
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
9741
      for pkg in $enableval; do
 
9742
        IFS="$lt_save_ifs"
 
9743
        if test "X$pkg" = "X$p"; then
 
9744
          enable_shared=yes
 
9745
        fi
 
9746
      done
 
9747
      IFS="$lt_save_ifs"
 
9748
      ;;
 
9749
    esac
 
9750
else
 
9751
  enable_shared=yes
 
9752
fi
 
9753
 
 
9754
 
 
9755
 
 
9756
 
 
9757
 
 
9758
 
 
9759
 
 
9760
 
 
9761
 
 
9762
 
 
9763
 
 
9764
# Check whether --with-pic was given.
 
9765
if test "${with_pic+set}" = set; then :
 
9766
  withval=$with_pic; lt_p=${PACKAGE-default}
 
9767
    case $withval in
 
9768
    yes|no) pic_mode=$withval ;;
 
9769
    *)
 
9770
      pic_mode=default
 
9771
      # Look at the argument we got.  We use all the common list separators.
 
9772
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
9773
      for lt_pkg in $withval; do
 
9774
        IFS="$lt_save_ifs"
 
9775
        if test "X$lt_pkg" = "X$lt_p"; then
 
9776
          pic_mode=yes
 
9777
        fi
 
9778
      done
 
9779
      IFS="$lt_save_ifs"
 
9780
      ;;
 
9781
    esac
 
9782
else
 
9783
  pic_mode=default
 
9784
fi
 
9785
 
 
9786
 
 
9787
test -z "$pic_mode" && pic_mode=default
 
9788
 
 
9789
 
 
9790
 
 
9791
 
 
9792
 
 
9793
 
 
9794
 
 
9795
  # Check whether --enable-fast-install was given.
 
9796
if test "${enable_fast_install+set}" = set; then :
 
9797
  enableval=$enable_fast_install; p=${PACKAGE-default}
 
9798
    case $enableval in
 
9799
    yes) enable_fast_install=yes ;;
 
9800
    no) enable_fast_install=no ;;
 
9801
    *)
 
9802
      enable_fast_install=no
 
9803
      # Look at the argument we got.  We use all the common list separators.
 
9804
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
9805
      for pkg in $enableval; do
 
9806
        IFS="$lt_save_ifs"
 
9807
        if test "X$pkg" = "X$p"; then
 
9808
          enable_fast_install=yes
 
9809
        fi
 
9810
      done
 
9811
      IFS="$lt_save_ifs"
 
9812
      ;;
 
9813
    esac
 
9814
else
 
9815
  enable_fast_install=yes
 
9816
fi
 
9817
 
 
9818
 
 
9819
 
 
9820
 
 
9821
 
 
9822
 
 
9823
 
 
9824
 
 
9825
 
 
9826
 
 
9827
 
 
9828
# This can be used to rebuild libtool when needed
 
9829
LIBTOOL_DEPS="$ltmain"
 
9830
 
 
9831
# Always use our own libtool.
 
9832
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
9833
 
 
9834
 
 
9835
 
 
9836
 
 
9837
 
 
9838
 
 
9839
 
 
9840
 
 
9841
 
 
9842
 
 
9843
 
 
9844
 
 
9845
 
 
9846
 
 
9847
 
 
9848
 
 
9849
 
 
9850
 
 
9851
 
 
9852
 
 
9853
 
 
9854
 
 
9855
 
 
9856
 
 
9857
 
 
9858
 
 
9859
 
 
9860
 
 
9861
 
 
9862
 
 
9863
test -z "$LN_S" && LN_S="ln -s"
 
9864
 
 
9865
 
 
9866
 
 
9867
 
 
9868
 
 
9869
 
 
9870
 
 
9871
 
 
9872
 
 
9873
 
 
9874
 
 
9875
 
 
9876
 
 
9877
 
 
9878
if test -n "${ZSH_VERSION+set}" ; then
 
9879
   setopt NO_GLOB_SUBST
 
9880
fi
 
9881
 
 
9882
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
 
9883
$as_echo_n "checking for objdir... " >&6; }
 
9884
if ${lt_cv_objdir+:} false; then :
 
9885
  $as_echo_n "(cached) " >&6
 
9886
else
 
9887
  rm -f .libs 2>/dev/null
 
9888
mkdir .libs 2>/dev/null
 
9889
if test -d .libs; then
 
9890
  lt_cv_objdir=.libs
 
9891
else
 
9892
  # MS-DOS does not allow filenames that begin with a dot.
 
9893
  lt_cv_objdir=_libs
 
9894
fi
 
9895
rmdir .libs 2>/dev/null
 
9896
fi
 
9897
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
 
9898
$as_echo "$lt_cv_objdir" >&6; }
 
9899
objdir=$lt_cv_objdir
 
9900
 
 
9901
 
 
9902
 
 
9903
 
 
9904
 
 
9905
cat >>confdefs.h <<_ACEOF
 
9906
#define LT_OBJDIR "$lt_cv_objdir/"
 
9907
_ACEOF
 
9908
 
 
9909
 
 
9910
 
 
9911
 
 
9912
case $host_os in
 
9913
aix3*)
 
9914
  # AIX sometimes has problems with the GCC collect2 program.  For some
 
9915
  # reason, if we set the COLLECT_NAMES environment variable, the problems
 
9916
  # vanish in a puff of smoke.
 
9917
  if test "X${COLLECT_NAMES+set}" != Xset; then
 
9918
    COLLECT_NAMES=
 
9919
    export COLLECT_NAMES
 
9920
  fi
 
9921
  ;;
 
9922
esac
 
9923
 
 
9924
# Global variables:
 
9925
ofile=libtool
 
9926
can_build_shared=yes
 
9927
 
 
9928
# All known linkers require a `.a' archive for static linking (except MSVC,
 
9929
# which needs '.lib').
 
9930
libext=a
 
9931
 
 
9932
with_gnu_ld="$lt_cv_prog_gnu_ld"
 
9933
 
 
9934
old_CC="$CC"
 
9935
old_CFLAGS="$CFLAGS"
 
9936
 
 
9937
# Set sane defaults for various variables
 
9938
test -z "$CC" && CC=cc
 
9939
test -z "$LTCC" && LTCC=$CC
 
9940
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 
9941
test -z "$LD" && LD=ld
 
9942
test -z "$ac_objext" && ac_objext=o
 
9943
 
 
9944
for cc_temp in $compiler""; do
 
9945
  case $cc_temp in
 
9946
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
9947
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
9948
    \-*) ;;
 
9949
    *) break;;
 
9950
  esac
 
9951
done
 
9952
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
 
9953
 
 
9954
 
 
9955
# Only perform the check for file, if the check method requires it
 
9956
test -z "$MAGIC_CMD" && MAGIC_CMD=file
 
9957
case $deplibs_check_method in
 
9958
file_magic*)
 
9959
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 
9960
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
 
9961
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
 
9962
if ${lt_cv_path_MAGIC_CMD+:} false; then :
 
9963
  $as_echo_n "(cached) " >&6
 
9964
else
 
9965
  case $MAGIC_CMD in
 
9966
[\\/*] |  ?:[\\/]*)
 
9967
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
9968
  ;;
 
9969
*)
 
9970
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
9971
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
9972
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
9973
  for ac_dir in $ac_dummy; do
 
9974
    IFS="$lt_save_ifs"
 
9975
    test -z "$ac_dir" && ac_dir=.
 
9976
    if test -f $ac_dir/${ac_tool_prefix}file; then
 
9977
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
 
9978
      if test -n "$file_magic_test_file"; then
 
9979
        case $deplibs_check_method in
 
9980
        "file_magic "*)
 
9981
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
9982
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
9983
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
9984
            $EGREP "$file_magic_regex" > /dev/null; then
 
9985
            :
 
9986
          else
 
9987
            cat <<_LT_EOF 1>&2
 
9988
 
 
9989
*** Warning: the command libtool uses to detect shared libraries,
 
9990
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
9991
*** The result is that libtool may fail to recognize shared libraries
 
9992
*** as such.  This will affect the creation of libtool libraries that
 
9993
*** depend on shared libraries, but programs linked with such libtool
 
9994
*** libraries will work regardless of this problem.  Nevertheless, you
 
9995
*** may want to report the problem to your system manager and/or to
 
9996
*** bug-libtool@gnu.org
 
9997
 
 
9998
_LT_EOF
 
9999
          fi ;;
 
10000
        esac
 
10001
      fi
 
10002
      break
 
10003
    fi
 
10004
  done
 
10005
  IFS="$lt_save_ifs"
 
10006
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
10007
  ;;
 
10008
esac
 
10009
fi
 
10010
 
 
10011
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
10012
if test -n "$MAGIC_CMD"; then
 
10013
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
10014
$as_echo "$MAGIC_CMD" >&6; }
 
10015
else
 
10016
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10017
$as_echo "no" >&6; }
 
10018
fi
 
10019
 
 
10020
 
 
10021
 
 
10022
 
 
10023
 
 
10024
if test -z "$lt_cv_path_MAGIC_CMD"; then
 
10025
  if test -n "$ac_tool_prefix"; then
 
10026
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
 
10027
$as_echo_n "checking for file... " >&6; }
 
10028
if ${lt_cv_path_MAGIC_CMD+:} false; then :
 
10029
  $as_echo_n "(cached) " >&6
 
10030
else
 
10031
  case $MAGIC_CMD in
 
10032
[\\/*] |  ?:[\\/]*)
 
10033
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
10034
  ;;
 
10035
*)
 
10036
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
10037
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
10038
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
10039
  for ac_dir in $ac_dummy; do
 
10040
    IFS="$lt_save_ifs"
 
10041
    test -z "$ac_dir" && ac_dir=.
 
10042
    if test -f $ac_dir/file; then
 
10043
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
 
10044
      if test -n "$file_magic_test_file"; then
 
10045
        case $deplibs_check_method in
 
10046
        "file_magic "*)
 
10047
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
10048
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
10049
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
10050
            $EGREP "$file_magic_regex" > /dev/null; then
 
10051
            :
 
10052
          else
 
10053
            cat <<_LT_EOF 1>&2
 
10054
 
 
10055
*** Warning: the command libtool uses to detect shared libraries,
 
10056
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
10057
*** The result is that libtool may fail to recognize shared libraries
 
10058
*** as such.  This will affect the creation of libtool libraries that
 
10059
*** depend on shared libraries, but programs linked with such libtool
 
10060
*** libraries will work regardless of this problem.  Nevertheless, you
 
10061
*** may want to report the problem to your system manager and/or to
 
10062
*** bug-libtool@gnu.org
 
10063
 
 
10064
_LT_EOF
 
10065
          fi ;;
 
10066
        esac
 
10067
      fi
 
10068
      break
 
10069
    fi
 
10070
  done
 
10071
  IFS="$lt_save_ifs"
 
10072
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
10073
  ;;
 
10074
esac
 
10075
fi
 
10076
 
 
10077
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
10078
if test -n "$MAGIC_CMD"; then
 
10079
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
10080
$as_echo "$MAGIC_CMD" >&6; }
 
10081
else
 
10082
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10083
$as_echo "no" >&6; }
 
10084
fi
 
10085
 
 
10086
 
 
10087
  else
 
10088
    MAGIC_CMD=:
 
10089
  fi
 
10090
fi
 
10091
 
 
10092
  fi
 
10093
  ;;
 
10094
esac
 
10095
 
 
10096
# Use C for the default configuration in the libtool script
 
10097
 
 
10098
lt_save_CC="$CC"
 
10099
ac_ext=c
 
10100
ac_cpp='$CPP $CPPFLAGS'
 
10101
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
10102
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
10103
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
10104
 
 
10105
 
 
10106
# Source file extension for C test sources.
 
10107
ac_ext=c
 
10108
 
 
10109
# Object file extension for compiled C test sources.
 
10110
objext=o
 
10111
objext=$objext
 
10112
 
 
10113
# Code to be used in simple compile tests
 
10114
lt_simple_compile_test_code="int some_variable = 0;"
 
10115
 
 
10116
# Code to be used in simple link tests
 
10117
lt_simple_link_test_code='int main(){return(0);}'
 
10118
 
 
10119
 
 
10120
 
 
10121
 
 
10122
 
 
10123
 
 
10124
 
 
10125
# If no C compiler was specified, use CC.
 
10126
LTCC=${LTCC-"$CC"}
 
10127
 
 
10128
# If no C compiler flags were specified, use CFLAGS.
 
10129
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
10130
 
 
10131
# Allow CC to be a program name with arguments.
 
10132
compiler=$CC
 
10133
 
 
10134
# Save the default compiler, since it gets overwritten when the other
 
10135
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 
10136
compiler_DEFAULT=$CC
 
10137
 
 
10138
# save warnings/boilerplate of simple test code
 
10139
ac_outfile=conftest.$ac_objext
 
10140
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
10141
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
10142
_lt_compiler_boilerplate=`cat conftest.err`
 
10143
$RM conftest*
 
10144
 
 
10145
ac_outfile=conftest.$ac_objext
 
10146
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
10147
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
10148
_lt_linker_boilerplate=`cat conftest.err`
 
10149
$RM -r conftest*
 
10150
 
 
10151
 
 
10152
## CAVEAT EMPTOR:
 
10153
## There is no encapsulation within the following macros, do not change
 
10154
## the running order or otherwise move them around unless you know exactly
 
10155
## what you are doing...
 
10156
if test -n "$compiler"; then
 
10157
 
 
10158
lt_prog_compiler_no_builtin_flag=
 
10159
 
 
10160
if test "$GCC" = yes; then
 
10161
  case $cc_basename in
 
10162
  nvcc*)
 
10163
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
 
10164
  *)
 
10165
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
 
10166
  esac
 
10167
 
 
10168
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
10169
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
 
10170
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
 
10171
  $as_echo_n "(cached) " >&6
 
10172
else
 
10173
  lt_cv_prog_compiler_rtti_exceptions=no
 
10174
   ac_outfile=conftest.$ac_objext
 
10175
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
10176
   lt_compiler_flag="-fno-rtti -fno-exceptions"
 
10177
   # Insert the option either (1) after the last *FLAGS variable, or
 
10178
   # (2) before a word containing "conftest.", or (3) at the end.
 
10179
   # Note that $ac_compile itself does not contain backslashes and begins
 
10180
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
10181
   # The option is referenced via a variable to avoid confusing sed.
 
10182
   lt_compile=`echo "$ac_compile" | $SED \
 
10183
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
10184
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
10185
   -e 's:$: $lt_compiler_flag:'`
 
10186
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
10187
   (eval "$lt_compile" 2>conftest.err)
 
10188
   ac_status=$?
 
10189
   cat conftest.err >&5
 
10190
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10191
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
10192
     # The compiler can only warn and ignore the option if not recognized
 
10193
     # So say no if there are warnings other than the usual output.
 
10194
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
 
10195
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
10196
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
10197
       lt_cv_prog_compiler_rtti_exceptions=yes
 
10198
     fi
 
10199
   fi
 
10200
   $RM conftest*
 
10201
 
 
10202
fi
 
10203
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
10204
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 
10205
 
 
10206
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
 
10207
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
 
10208
else
 
10209
    :
 
10210
fi
 
10211
 
 
10212
fi
 
10213
 
 
10214
 
 
10215
 
 
10216
 
 
10217
 
 
10218
 
 
10219
  lt_prog_compiler_wl=
 
10220
lt_prog_compiler_pic=
 
10221
lt_prog_compiler_static=
 
10222
 
 
10223
 
 
10224
  if test "$GCC" = yes; then
 
10225
    lt_prog_compiler_wl='-Wl,'
 
10226
    lt_prog_compiler_static='-static'
 
10227
 
 
10228
    case $host_os in
 
10229
      aix*)
 
10230
      # All AIX code is PIC.
 
10231
      if test "$host_cpu" = ia64; then
 
10232
        # AIX 5 now supports IA64 processor
 
10233
        lt_prog_compiler_static='-Bstatic'
 
10234
      fi
 
10235
      ;;
 
10236
 
 
10237
    amigaos*)
 
10238
      case $host_cpu in
 
10239
      powerpc)
 
10240
            # see comment about AmigaOS4 .so support
 
10241
            lt_prog_compiler_pic='-fPIC'
 
10242
        ;;
 
10243
      m68k)
 
10244
            # FIXME: we need at least 68020 code to build shared libraries, but
 
10245
            # adding the `-m68020' flag to GCC prevents building anything better,
 
10246
            # like `-m68040'.
 
10247
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
10248
        ;;
 
10249
      esac
 
10250
      ;;
 
10251
 
 
10252
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
10253
      # PIC is the default for these OSes.
 
10254
      ;;
 
10255
 
 
10256
    mingw* | cygwin* | pw32* | os2* | cegcc*)
 
10257
      # This hack is so that the source file can tell whether it is being
 
10258
      # built for inclusion in a dll (and should export symbols for example).
 
10259
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
10260
      # (--disable-auto-import) libraries
 
10261
      lt_prog_compiler_pic='-DDLL_EXPORT'
 
10262
      ;;
 
10263
 
 
10264
    darwin* | rhapsody*)
 
10265
      # PIC is the default on this platform
 
10266
      # Common symbols not allowed in MH_DYLIB files
 
10267
      lt_prog_compiler_pic='-fno-common'
 
10268
      ;;
 
10269
 
 
10270
    haiku*)
 
10271
      # PIC is the default for Haiku.
 
10272
      # The "-static" flag exists, but is broken.
 
10273
      lt_prog_compiler_static=
 
10274
      ;;
 
10275
 
 
10276
    hpux*)
 
10277
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
10278
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
10279
      # sets the default TLS model and affects inlining.
 
10280
      case $host_cpu in
 
10281
      hppa*64*)
 
10282
        # +Z the default
 
10283
        ;;
 
10284
      *)
 
10285
        lt_prog_compiler_pic='-fPIC'
 
10286
        ;;
 
10287
      esac
 
10288
      ;;
 
10289
 
 
10290
    interix[3-9]*)
 
10291
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
10292
      # Instead, we relocate shared libraries at runtime.
 
10293
      ;;
 
10294
 
 
10295
    msdosdjgpp*)
 
10296
      # Just because we use GCC doesn't mean we suddenly get shared libraries
 
10297
      # on systems that don't support them.
 
10298
      lt_prog_compiler_can_build_shared=no
 
10299
      enable_shared=no
 
10300
      ;;
 
10301
 
 
10302
    *nto* | *qnx*)
 
10303
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
10304
      # it will coredump.
 
10305
      lt_prog_compiler_pic='-fPIC -shared'
 
10306
      ;;
 
10307
 
 
10308
    sysv4*MP*)
 
10309
      if test -d /usr/nec; then
 
10310
        lt_prog_compiler_pic=-Kconform_pic
 
10311
      fi
 
10312
      ;;
 
10313
 
 
10314
    *)
 
10315
      lt_prog_compiler_pic='-fPIC'
 
10316
      ;;
 
10317
    esac
 
10318
 
 
10319
    case $cc_basename in
 
10320
    nvcc*) # Cuda Compiler Driver 2.2
 
10321
      lt_prog_compiler_wl='-Xlinker '
 
10322
      if test -n "$lt_prog_compiler_pic"; then
 
10323
        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
 
10324
      fi
 
10325
      ;;
 
10326
    esac
 
10327
  else
 
10328
    # PORTME Check for flag to pass linker flags through the system compiler.
 
10329
    case $host_os in
 
10330
    aix*)
 
10331
      lt_prog_compiler_wl='-Wl,'
 
10332
      if test "$host_cpu" = ia64; then
 
10333
        # AIX 5 now supports IA64 processor
 
10334
        lt_prog_compiler_static='-Bstatic'
 
10335
      else
 
10336
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
 
10337
      fi
 
10338
      ;;
 
10339
 
 
10340
    mingw* | cygwin* | pw32* | os2* | cegcc*)
 
10341
      # This hack is so that the source file can tell whether it is being
 
10342
      # built for inclusion in a dll (and should export symbols for example).
 
10343
      lt_prog_compiler_pic='-DDLL_EXPORT'
 
10344
      ;;
 
10345
 
 
10346
    hpux9* | hpux10* | hpux11*)
 
10347
      lt_prog_compiler_wl='-Wl,'
 
10348
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 
10349
      # not for PA HP-UX.
 
10350
      case $host_cpu in
 
10351
      hppa*64*|ia64*)
 
10352
        # +Z the default
 
10353
        ;;
 
10354
      *)
 
10355
        lt_prog_compiler_pic='+Z'
 
10356
        ;;
 
10357
      esac
 
10358
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
 
10359
      lt_prog_compiler_static='${wl}-a ${wl}archive'
 
10360
      ;;
 
10361
 
 
10362
    irix5* | irix6* | nonstopux*)
 
10363
      lt_prog_compiler_wl='-Wl,'
 
10364
      # PIC (with -KPIC) is the default.
 
10365
      lt_prog_compiler_static='-non_shared'
 
10366
      ;;
 
10367
 
 
10368
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
10369
      case $cc_basename in
 
10370
      # old Intel for x86_64 which still supported -KPIC.
 
10371
      ecc*)
 
10372
        lt_prog_compiler_wl='-Wl,'
 
10373
        lt_prog_compiler_pic='-KPIC'
 
10374
        lt_prog_compiler_static='-static'
 
10375
        ;;
 
10376
      # icc used to be incompatible with GCC.
 
10377
      # ICC 10 doesn't accept -KPIC any more.
 
10378
      icc* | ifort*)
 
10379
        lt_prog_compiler_wl='-Wl,'
 
10380
        lt_prog_compiler_pic='-fPIC'
 
10381
        lt_prog_compiler_static='-static'
 
10382
        ;;
 
10383
      # Lahey Fortran 8.1.
 
10384
      lf95*)
 
10385
        lt_prog_compiler_wl='-Wl,'
 
10386
        lt_prog_compiler_pic='--shared'
 
10387
        lt_prog_compiler_static='--static'
 
10388
        ;;
 
10389
      nagfor*)
 
10390
        # NAG Fortran compiler
 
10391
        lt_prog_compiler_wl='-Wl,-Wl,,'
 
10392
        lt_prog_compiler_pic='-PIC'
 
10393
        lt_prog_compiler_static='-Bstatic'
 
10394
        ;;
 
10395
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
 
10396
        # Portland Group compilers (*not* the Pentium gcc compiler,
 
10397
        # which looks to be a dead project)
 
10398
        lt_prog_compiler_wl='-Wl,'
 
10399
        lt_prog_compiler_pic='-fpic'
 
10400
        lt_prog_compiler_static='-Bstatic'
 
10401
        ;;
 
10402
      ccc*)
 
10403
        lt_prog_compiler_wl='-Wl,'
 
10404
        # All Alpha code is PIC.
 
10405
        lt_prog_compiler_static='-non_shared'
 
10406
        ;;
 
10407
      xl* | bgxl* | bgf* | mpixl*)
 
10408
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
 
10409
        lt_prog_compiler_wl='-Wl,'
 
10410
        lt_prog_compiler_pic='-qpic'
 
10411
        lt_prog_compiler_static='-qstaticlink'
 
10412
        ;;
 
10413
      *)
 
10414
        case `$CC -V 2>&1 | sed 5q` in
 
10415
        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
 
10416
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
10417
          lt_prog_compiler_pic='-KPIC'
 
10418
          lt_prog_compiler_static='-Bstatic'
 
10419
          lt_prog_compiler_wl=''
 
10420
          ;;
 
10421
        *Sun\ F* | *Sun*Fortran*)
 
10422
          lt_prog_compiler_pic='-KPIC'
 
10423
          lt_prog_compiler_static='-Bstatic'
 
10424
          lt_prog_compiler_wl='-Qoption ld '
 
10425
          ;;
 
10426
        *Sun\ C*)
 
10427
          # Sun C 5.9
 
10428
          lt_prog_compiler_pic='-KPIC'
 
10429
          lt_prog_compiler_static='-Bstatic'
 
10430
          lt_prog_compiler_wl='-Wl,'
 
10431
          ;;
 
10432
        *Intel*\ [CF]*Compiler*)
 
10433
          lt_prog_compiler_wl='-Wl,'
 
10434
          lt_prog_compiler_pic='-fPIC'
 
10435
          lt_prog_compiler_static='-static'
 
10436
          ;;
 
10437
        *Portland\ Group*)
 
10438
          lt_prog_compiler_wl='-Wl,'
 
10439
          lt_prog_compiler_pic='-fpic'
 
10440
          lt_prog_compiler_static='-Bstatic'
 
10441
          ;;
 
10442
        esac
 
10443
        ;;
 
10444
      esac
 
10445
      ;;
 
10446
 
 
10447
    newsos6)
 
10448
      lt_prog_compiler_pic='-KPIC'
 
10449
      lt_prog_compiler_static='-Bstatic'
 
10450
      ;;
 
10451
 
 
10452
    *nto* | *qnx*)
 
10453
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
10454
      # it will coredump.
 
10455
      lt_prog_compiler_pic='-fPIC -shared'
 
10456
      ;;
 
10457
 
 
10458
    osf3* | osf4* | osf5*)
 
10459
      lt_prog_compiler_wl='-Wl,'
 
10460
      # All OSF/1 code is PIC.
 
10461
      lt_prog_compiler_static='-non_shared'
 
10462
      ;;
 
10463
 
 
10464
    rdos*)
 
10465
      lt_prog_compiler_static='-non_shared'
 
10466
      ;;
 
10467
 
 
10468
    solaris*)
 
10469
      lt_prog_compiler_pic='-KPIC'
 
10470
      lt_prog_compiler_static='-Bstatic'
 
10471
      case $cc_basename in
 
10472
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
 
10473
        lt_prog_compiler_wl='-Qoption ld ';;
 
10474
      *)
 
10475
        lt_prog_compiler_wl='-Wl,';;
 
10476
      esac
 
10477
      ;;
 
10478
 
 
10479
    sunos4*)
 
10480
      lt_prog_compiler_wl='-Qoption ld '
 
10481
      lt_prog_compiler_pic='-PIC'
 
10482
      lt_prog_compiler_static='-Bstatic'
 
10483
      ;;
 
10484
 
 
10485
    sysv4 | sysv4.2uw2* | sysv4.3*)
 
10486
      lt_prog_compiler_wl='-Wl,'
 
10487
      lt_prog_compiler_pic='-KPIC'
 
10488
      lt_prog_compiler_static='-Bstatic'
 
10489
      ;;
 
10490
 
 
10491
    sysv4*MP*)
 
10492
      if test -d /usr/nec ;then
 
10493
        lt_prog_compiler_pic='-Kconform_pic'
 
10494
        lt_prog_compiler_static='-Bstatic'
 
10495
      fi
 
10496
      ;;
 
10497
 
 
10498
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
10499
      lt_prog_compiler_wl='-Wl,'
 
10500
      lt_prog_compiler_pic='-KPIC'
 
10501
      lt_prog_compiler_static='-Bstatic'
 
10502
      ;;
 
10503
 
 
10504
    unicos*)
 
10505
      lt_prog_compiler_wl='-Wl,'
 
10506
      lt_prog_compiler_can_build_shared=no
 
10507
      ;;
 
10508
 
 
10509
    uts4*)
 
10510
      lt_prog_compiler_pic='-pic'
 
10511
      lt_prog_compiler_static='-Bstatic'
 
10512
      ;;
 
10513
 
 
10514
    *)
 
10515
      lt_prog_compiler_can_build_shared=no
 
10516
      ;;
 
10517
    esac
 
10518
  fi
 
10519
 
 
10520
case $host_os in
 
10521
  # For platforms which do not support PIC, -DPIC is meaningless:
 
10522
  *djgpp*)
 
10523
    lt_prog_compiler_pic=
 
10524
    ;;
 
10525
  *)
 
10526
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 
10527
    ;;
 
10528
esac
 
10529
 
 
10530
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
10531
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
10532
if ${lt_cv_prog_compiler_pic+:} false; then :
 
10533
  $as_echo_n "(cached) " >&6
 
10534
else
 
10535
  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
 
10536
fi
 
10537
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
 
10538
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
 
10539
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
 
10540
 
 
10541
#
 
10542
# Check to make sure the PIC flag actually works.
 
10543
#
 
10544
if test -n "$lt_prog_compiler_pic"; then
 
10545
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
10546
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
 
10547
if ${lt_cv_prog_compiler_pic_works+:} false; then :
 
10548
  $as_echo_n "(cached) " >&6
 
10549
else
 
10550
  lt_cv_prog_compiler_pic_works=no
 
10551
   ac_outfile=conftest.$ac_objext
 
10552
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
10553
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
 
10554
   # Insert the option either (1) after the last *FLAGS variable, or
 
10555
   # (2) before a word containing "conftest.", or (3) at the end.
 
10556
   # Note that $ac_compile itself does not contain backslashes and begins
 
10557
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
10558
   # The option is referenced via a variable to avoid confusing sed.
 
10559
   lt_compile=`echo "$ac_compile" | $SED \
 
10560
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
10561
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
10562
   -e 's:$: $lt_compiler_flag:'`
 
10563
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
10564
   (eval "$lt_compile" 2>conftest.err)
 
10565
   ac_status=$?
 
10566
   cat conftest.err >&5
 
10567
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10568
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
10569
     # The compiler can only warn and ignore the option if not recognized
 
10570
     # So say no if there are warnings other than the usual output.
 
10571
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
 
10572
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
10573
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
10574
       lt_cv_prog_compiler_pic_works=yes
 
10575
     fi
 
10576
   fi
 
10577
   $RM conftest*
 
10578
 
 
10579
fi
 
10580
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
 
10581
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
 
10582
 
 
10583
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
 
10584
    case $lt_prog_compiler_pic in
 
10585
     "" | " "*) ;;
 
10586
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
 
10587
     esac
 
10588
else
 
10589
    lt_prog_compiler_pic=
 
10590
     lt_prog_compiler_can_build_shared=no
 
10591
fi
 
10592
 
 
10593
fi
 
10594
 
 
10595
 
 
10596
 
 
10597
 
 
10598
 
 
10599
 
 
10600
 
 
10601
 
 
10602
 
 
10603
 
 
10604
 
 
10605
#
 
10606
# Check to make sure the static flag actually works.
 
10607
#
 
10608
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
 
10609
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
10610
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
10611
if ${lt_cv_prog_compiler_static_works+:} false; then :
 
10612
  $as_echo_n "(cached) " >&6
 
10613
else
 
10614
  lt_cv_prog_compiler_static_works=no
 
10615
   save_LDFLAGS="$LDFLAGS"
 
10616
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
10617
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
10618
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
10619
     # The linker can only warn and ignore the option if not recognized
 
10620
     # So say no if there are warnings
 
10621
     if test -s conftest.err; then
 
10622
       # Append any errors to the config.log.
 
10623
       cat conftest.err 1>&5
 
10624
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
10625
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
10626
       if diff conftest.exp conftest.er2 >/dev/null; then
 
10627
         lt_cv_prog_compiler_static_works=yes
 
10628
       fi
 
10629
     else
 
10630
       lt_cv_prog_compiler_static_works=yes
 
10631
     fi
 
10632
   fi
 
10633
   $RM -r conftest*
 
10634
   LDFLAGS="$save_LDFLAGS"
 
10635
 
 
10636
fi
 
10637
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
 
10638
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
 
10639
 
 
10640
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
 
10641
    :
 
10642
else
 
10643
    lt_prog_compiler_static=
 
10644
fi
 
10645
 
 
10646
 
 
10647
 
 
10648
 
 
10649
 
 
10650
 
 
10651
 
 
10652
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
10653
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
10654
if ${lt_cv_prog_compiler_c_o+:} false; then :
 
10655
  $as_echo_n "(cached) " >&6
 
10656
else
 
10657
  lt_cv_prog_compiler_c_o=no
 
10658
   $RM -r conftest 2>/dev/null
 
10659
   mkdir conftest
 
10660
   cd conftest
 
10661
   mkdir out
 
10662
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
10663
 
 
10664
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
10665
   # Insert the option either (1) after the last *FLAGS variable, or
 
10666
   # (2) before a word containing "conftest.", or (3) at the end.
 
10667
   # Note that $ac_compile itself does not contain backslashes and begins
 
10668
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
10669
   lt_compile=`echo "$ac_compile" | $SED \
 
10670
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
10671
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
10672
   -e 's:$: $lt_compiler_flag:'`
 
10673
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
10674
   (eval "$lt_compile" 2>out/conftest.err)
 
10675
   ac_status=$?
 
10676
   cat out/conftest.err >&5
 
10677
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10678
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
10679
   then
 
10680
     # The compiler can only warn and ignore the option if not recognized
 
10681
     # So say no if there are warnings
 
10682
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 
10683
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
10684
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
10685
       lt_cv_prog_compiler_c_o=yes
 
10686
     fi
 
10687
   fi
 
10688
   chmod u+w . 2>&5
 
10689
   $RM conftest*
 
10690
   # SGI C++ compiler will create directory out/ii_files/ for
 
10691
   # template instantiation
 
10692
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
10693
   $RM out/* && rmdir out
 
10694
   cd ..
 
10695
   $RM -r conftest
 
10696
   $RM conftest*
 
10697
 
 
10698
fi
 
10699
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
10700
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
10701
 
 
10702
 
 
10703
 
 
10704
 
 
10705
 
 
10706
 
 
10707
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
10708
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
10709
if ${lt_cv_prog_compiler_c_o+:} false; then :
 
10710
  $as_echo_n "(cached) " >&6
 
10711
else
 
10712
  lt_cv_prog_compiler_c_o=no
 
10713
   $RM -r conftest 2>/dev/null
 
10714
   mkdir conftest
 
10715
   cd conftest
 
10716
   mkdir out
 
10717
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
10718
 
 
10719
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
10720
   # Insert the option either (1) after the last *FLAGS variable, or
 
10721
   # (2) before a word containing "conftest.", or (3) at the end.
 
10722
   # Note that $ac_compile itself does not contain backslashes and begins
 
10723
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
10724
   lt_compile=`echo "$ac_compile" | $SED \
 
10725
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
10726
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
10727
   -e 's:$: $lt_compiler_flag:'`
 
10728
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
10729
   (eval "$lt_compile" 2>out/conftest.err)
 
10730
   ac_status=$?
 
10731
   cat out/conftest.err >&5
 
10732
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10733
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
10734
   then
 
10735
     # The compiler can only warn and ignore the option if not recognized
 
10736
     # So say no if there are warnings
 
10737
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 
10738
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
10739
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
10740
       lt_cv_prog_compiler_c_o=yes
 
10741
     fi
 
10742
   fi
 
10743
   chmod u+w . 2>&5
 
10744
   $RM conftest*
 
10745
   # SGI C++ compiler will create directory out/ii_files/ for
 
10746
   # template instantiation
 
10747
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
10748
   $RM out/* && rmdir out
 
10749
   cd ..
 
10750
   $RM -r conftest
 
10751
   $RM conftest*
 
10752
 
 
10753
fi
 
10754
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
10755
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
10756
 
 
10757
 
 
10758
 
 
10759
 
 
10760
hard_links="nottested"
 
10761
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
 
10762
  # do not overwrite the value of need_locks provided by the user
 
10763
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
 
10764
$as_echo_n "checking if we can lock with hard links... " >&6; }
 
10765
  hard_links=yes
 
10766
  $RM conftest*
 
10767
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
10768
  touch conftest.a
 
10769
  ln conftest.a conftest.b 2>&5 || hard_links=no
 
10770
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
10771
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
 
10772
$as_echo "$hard_links" >&6; }
 
10773
  if test "$hard_links" = no; then
 
10774
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
10775
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
10776
    need_locks=warn
 
10777
  fi
 
10778
else
 
10779
  need_locks=no
 
10780
fi
 
10781
 
 
10782
 
 
10783
 
 
10784
 
 
10785
 
 
10786
 
 
10787
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
10788
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 
10789
 
 
10790
  runpath_var=
 
10791
  allow_undefined_flag=
 
10792
  always_export_symbols=no
 
10793
  archive_cmds=
 
10794
  archive_expsym_cmds=
 
10795
  compiler_needs_object=no
 
10796
  enable_shared_with_static_runtimes=no
 
10797
  export_dynamic_flag_spec=
 
10798
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
10799
  hardcode_automatic=no
 
10800
  hardcode_direct=no
 
10801
  hardcode_direct_absolute=no
 
10802
  hardcode_libdir_flag_spec=
 
10803
  hardcode_libdir_separator=
 
10804
  hardcode_minus_L=no
 
10805
  hardcode_shlibpath_var=unsupported
 
10806
  inherit_rpath=no
 
10807
  link_all_deplibs=unknown
 
10808
  module_cmds=
 
10809
  module_expsym_cmds=
 
10810
  old_archive_from_new_cmds=
 
10811
  old_archive_from_expsyms_cmds=
 
10812
  thread_safe_flag_spec=
 
10813
  whole_archive_flag_spec=
 
10814
  # include_expsyms should be a list of space-separated symbols to be *always*
 
10815
  # included in the symbol list
 
10816
  include_expsyms=
 
10817
  # exclude_expsyms can be an extended regexp of symbols to exclude
 
10818
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
 
10819
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
 
10820
  # as well as any symbol that contains `d'.
 
10821
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
 
10822
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 
10823
  # platforms (ab)use it in PIC code, but their linkers get confused if
 
10824
  # the symbol is explicitly referenced.  Since portable code cannot
 
10825
  # rely on this symbol name, it's probably fine to never include it in
 
10826
  # preloaded symbol tables.
 
10827
  # Exclude shared library initialization/finalization symbols.
 
10828
  extract_expsyms_cmds=
 
10829
 
 
10830
  case $host_os in
 
10831
  cygwin* | mingw* | pw32* | cegcc*)
 
10832
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
 
10833
    # When not using gcc, we currently assume that we are using
 
10834
    # Microsoft Visual C++.
 
10835
    if test "$GCC" != yes; then
 
10836
      with_gnu_ld=no
 
10837
    fi
 
10838
    ;;
 
10839
  interix*)
 
10840
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
10841
    with_gnu_ld=yes
 
10842
    ;;
 
10843
  openbsd*)
 
10844
    with_gnu_ld=no
 
10845
    ;;
 
10846
  esac
 
10847
 
 
10848
  ld_shlibs=yes
 
10849
 
 
10850
  # On some targets, GNU ld is compatible enough with the native linker
 
10851
  # that we're better off using the native interface for both.
 
10852
  lt_use_gnu_ld_interface=no
 
10853
  if test "$with_gnu_ld" = yes; then
 
10854
    case $host_os in
 
10855
      aix*)
 
10856
        # The AIX port of GNU ld has always aspired to compatibility
 
10857
        # with the native linker.  However, as the warning in the GNU ld
 
10858
        # block says, versions before 2.19.5* couldn't really create working
 
10859
        # shared libraries, regardless of the interface used.
 
10860
        case `$LD -v 2>&1` in
 
10861
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
 
10862
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
 
10863
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
 
10864
          *)
 
10865
            lt_use_gnu_ld_interface=yes
 
10866
            ;;
 
10867
        esac
 
10868
        ;;
 
10869
      *)
 
10870
        lt_use_gnu_ld_interface=yes
 
10871
        ;;
 
10872
    esac
 
10873
  fi
 
10874
 
 
10875
  if test "$lt_use_gnu_ld_interface" = yes; then
 
10876
    # If archive_cmds runs LD, not CC, wlarc should be empty
 
10877
    wlarc='${wl}'
 
10878
 
 
10879
    # Set some defaults for GNU ld with shared library support. These
 
10880
    # are reset later if shared libraries are not supported. Putting them
 
10881
    # here allows them to be overridden if necessary.
 
10882
    runpath_var=LD_RUN_PATH
 
10883
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
10884
    export_dynamic_flag_spec='${wl}--export-dynamic'
 
10885
    # ancient GNU ld didn't support --whole-archive et. al.
 
10886
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 
10887
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
10888
    else
 
10889
      whole_archive_flag_spec=
 
10890
    fi
 
10891
    supports_anon_versioning=no
 
10892
    case `$LD -v 2>&1` in
 
10893
      *GNU\ gold*) supports_anon_versioning=yes ;;
 
10894
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 
10895
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
10896
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
10897
      *\ 2.11.*) ;; # other 2.11 versions
 
10898
      *) supports_anon_versioning=yes ;;
 
10899
    esac
 
10900
 
 
10901
    # See if GNU ld supports shared libraries.
 
10902
    case $host_os in
 
10903
    aix[3-9]*)
 
10904
      # On AIX/PPC, the GNU linker is very broken
 
10905
      if test "$host_cpu" != ia64; then
 
10906
        ld_shlibs=no
 
10907
        cat <<_LT_EOF 1>&2
 
10908
 
 
10909
*** Warning: the GNU linker, at least up to release 2.19, is reported
 
10910
*** to be unable to reliably create shared libraries on AIX.
 
10911
*** Therefore, libtool is disabling shared libraries support.  If you
 
10912
*** really care for shared libraries, you may want to install binutils
 
10913
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
 
10914
*** You will then need to restart the configuration process.
 
10915
 
 
10916
_LT_EOF
 
10917
      fi
 
10918
      ;;
 
10919
 
 
10920
    amigaos*)
 
10921
      case $host_cpu in
 
10922
      powerpc)
 
10923
            # see comment about AmigaOS4 .so support
 
10924
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10925
            archive_expsym_cmds=''
 
10926
        ;;
 
10927
      m68k)
 
10928
            archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
 
10929
            hardcode_libdir_flag_spec='-L$libdir'
 
10930
            hardcode_minus_L=yes
 
10931
        ;;
 
10932
      esac
 
10933
      ;;
 
10934
 
 
10935
    beos*)
 
10936
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
10937
        allow_undefined_flag=unsupported
 
10938
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
10939
        # support --undefined.  This deserves some investigation.  FIXME
 
10940
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10941
      else
 
10942
        ld_shlibs=no
 
10943
      fi
 
10944
      ;;
 
10945
 
 
10946
    cygwin* | mingw* | pw32* | cegcc*)
 
10947
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 
10948
      # as there is no search path for DLLs.
 
10949
      hardcode_libdir_flag_spec='-L$libdir'
 
10950
      export_dynamic_flag_spec='${wl}--export-all-symbols'
 
10951
      allow_undefined_flag=unsupported
 
10952
      always_export_symbols=no
 
10953
      enable_shared_with_static_runtimes=yes
 
10954
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
 
10955
      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
 
10956
 
 
10957
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 
10958
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
10959
        # If the export-symbols file already is a .def file (1st line
 
10960
        # is EXPORTS), use it as is; otherwise, prepend...
 
10961
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
10962
          cp $export_symbols $output_objdir/$soname.def;
 
10963
        else
 
10964
          echo EXPORTS > $output_objdir/$soname.def;
 
10965
          cat $export_symbols >> $output_objdir/$soname.def;
 
10966
        fi~
 
10967
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
10968
      else
 
10969
        ld_shlibs=no
 
10970
      fi
 
10971
      ;;
 
10972
 
 
10973
    haiku*)
 
10974
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10975
      link_all_deplibs=yes
 
10976
      ;;
 
10977
 
 
10978
    interix[3-9]*)
 
10979
      hardcode_direct=no
 
10980
      hardcode_shlibpath_var=no
 
10981
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
10982
      export_dynamic_flag_spec='${wl}-E'
 
10983
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
10984
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
10985
      # default) and relocated if they conflict, which is a slow very memory
 
10986
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
10987
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
10988
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
10989
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
10990
      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'
 
10991
      ;;
 
10992
 
 
10993
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
 
10994
      tmp_diet=no
 
10995
      if test "$host_os" = linux-dietlibc; then
 
10996
        case $cc_basename in
 
10997
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
 
10998
        esac
 
10999
      fi
 
11000
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 
11001
         && test "$tmp_diet" = no
 
11002
      then
 
11003
        tmp_addflag=' $pic_flag'
 
11004
        tmp_sharedflag='-shared'
 
11005
        case $cc_basename,$host_cpu in
 
11006
        pgcc*)                          # Portland Group C compiler
 
11007
          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'
 
11008
          tmp_addflag=' $pic_flag'
 
11009
          ;;
 
11010
        pgf77* | pgf90* | pgf95* | pgfortran*)
 
11011
                                        # Portland Group f77 and f90 compilers
 
11012
          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'
 
11013
          tmp_addflag=' $pic_flag -Mnomain' ;;
 
11014
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
 
11015
          tmp_addflag=' -i_dynamic' ;;
 
11016
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
 
11017
          tmp_addflag=' -i_dynamic -nofor_main' ;;
 
11018
        ifc* | ifort*)                  # Intel Fortran compiler
 
11019
          tmp_addflag=' -nofor_main' ;;
 
11020
        lf95*)                          # Lahey Fortran 8.1
 
11021
          whole_archive_flag_spec=
 
11022
          tmp_sharedflag='--shared' ;;
 
11023
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
 
11024
          tmp_sharedflag='-qmkshrobj'
 
11025
          tmp_addflag= ;;
 
11026
        nvcc*)  # Cuda Compiler Driver 2.2
 
11027
          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'
 
11028
          compiler_needs_object=yes
 
11029
          ;;
 
11030
        esac
 
11031
        case `$CC -V 2>&1 | sed 5q` in
 
11032
        *Sun\ C*)                       # Sun C 5.9
 
11033
          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'
 
11034
          compiler_needs_object=yes
 
11035
          tmp_sharedflag='-G' ;;
 
11036
        *Sun\ F*)                       # Sun Fortran 8.3
 
11037
          tmp_sharedflag='-G' ;;
 
11038
        esac
 
11039
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11040
 
 
11041
        if test "x$supports_anon_versioning" = xyes; then
 
11042
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
11043
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
11044
            echo "local: *; };" >> $output_objdir/$libname.ver~
 
11045
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
11046
        fi
 
11047
 
 
11048
        case $cc_basename in
 
11049
        xlf* | bgf* | bgxlf* | mpixlf*)
 
11050
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 
11051
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
 
11052
          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
11053
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
 
11054
          if test "x$supports_anon_versioning" = xyes; then
 
11055
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
11056
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
11057
              echo "local: *; };" >> $output_objdir/$libname.ver~
 
11058
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
11059
          fi
 
11060
          ;;
 
11061
        esac
 
11062
      else
 
11063
        ld_shlibs=no
 
11064
      fi
 
11065
      ;;
 
11066
 
 
11067
    netbsd*)
 
11068
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
11069
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 
11070
        wlarc=
 
11071
      else
 
11072
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11073
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
11074
      fi
 
11075
      ;;
 
11076
 
 
11077
    solaris*)
 
11078
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
 
11079
        ld_shlibs=no
 
11080
        cat <<_LT_EOF 1>&2
 
11081
 
 
11082
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
 
11083
*** create shared libraries on Solaris systems.  Therefore, libtool
 
11084
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
11085
*** binutils to release 2.9.1 or newer.  Another option is to modify
 
11086
*** your PATH or compiler configuration so that the native linker is
 
11087
*** used, and then restart.
 
11088
 
 
11089
_LT_EOF
 
11090
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
11091
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11092
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
11093
      else
 
11094
        ld_shlibs=no
 
11095
      fi
 
11096
      ;;
 
11097
 
 
11098
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
11099
      case `$LD -v 2>&1` in
 
11100
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
11101
        ld_shlibs=no
 
11102
        cat <<_LT_EOF 1>&2
 
11103
 
 
11104
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
11105
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
11106
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
11107
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
11108
*** your PATH or compiler configuration so that the native linker is
 
11109
*** used, and then restart.
 
11110
 
 
11111
_LT_EOF
 
11112
        ;;
 
11113
        *)
 
11114
          # For security reasons, it is highly recommended that you always
 
11115
          # use absolute paths for naming shared libraries, and exclude the
 
11116
          # DT_RUNPATH tag from executables and libraries.  But doing so
 
11117
          # requires that you compile everything twice, which is a pain.
 
11118
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
11119
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
11120
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11121
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
11122
          else
 
11123
            ld_shlibs=no
 
11124
          fi
 
11125
        ;;
 
11126
      esac
 
11127
      ;;
 
11128
 
 
11129
    sunos4*)
 
11130
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
11131
      wlarc=
 
11132
      hardcode_direct=yes
 
11133
      hardcode_shlibpath_var=no
 
11134
      ;;
 
11135
 
 
11136
    *)
 
11137
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
11138
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11139
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
11140
      else
 
11141
        ld_shlibs=no
 
11142
      fi
 
11143
      ;;
 
11144
    esac
 
11145
 
 
11146
    if test "$ld_shlibs" = no; then
 
11147
      runpath_var=
 
11148
      hardcode_libdir_flag_spec=
 
11149
      export_dynamic_flag_spec=
 
11150
      whole_archive_flag_spec=
 
11151
    fi
 
11152
  else
 
11153
    # PORTME fill in a description of your system's linker (not GNU ld)
 
11154
    case $host_os in
 
11155
    aix3*)
 
11156
      allow_undefined_flag=unsupported
 
11157
      always_export_symbols=yes
 
11158
      archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
 
11159
      # Note: this linker hardcodes the directories in LIBPATH if there
 
11160
      # are no directories specified by -L.
 
11161
      hardcode_minus_L=yes
 
11162
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
 
11163
        # Neither direct hardcoding nor static linking is supported with a
 
11164
        # broken collect2.
 
11165
        hardcode_direct=unsupported
 
11166
      fi
 
11167
      ;;
 
11168
 
 
11169
    aix[4-9]*)
 
11170
      if test "$host_cpu" = ia64; then
 
11171
        # On IA64, the linker does run time linking by default, so we don't
 
11172
        # have to do anything special.
 
11173
        aix_use_runtimelinking=no
 
11174
        exp_sym_flag='-Bexport'
 
11175
        no_entry_flag=""
 
11176
      else
 
11177
        # If we're using GNU nm, then we don't want the "-C" option.
 
11178
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
11179
        # Also, AIX nm treats weak defined symbols like other global
 
11180
        # defined symbols, whereas GNU nm marks them as "W".
 
11181
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
11182
          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'
 
11183
        else
 
11184
          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'
 
11185
        fi
 
11186
        aix_use_runtimelinking=no
 
11187
 
 
11188
        # Test if we are trying to use run time linking or normal
 
11189
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 
11190
        # need to do runtime linking.
 
11191
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
 
11192
          for ld_flag in $LDFLAGS; do
 
11193
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
11194
            aix_use_runtimelinking=yes
 
11195
            break
 
11196
          fi
 
11197
          done
 
11198
          ;;
 
11199
        esac
 
11200
 
 
11201
        exp_sym_flag='-bexport'
 
11202
        no_entry_flag='-bnoentry'
 
11203
      fi
 
11204
 
 
11205
      # When large executables or shared objects are built, AIX ld can
 
11206
      # have problems creating the table of contents.  If linking a library
 
11207
      # or program results in "error TOC overflow" add -mminimal-toc to
 
11208
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 
11209
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
11210
 
 
11211
      archive_cmds=''
 
11212
      hardcode_direct=yes
 
11213
      hardcode_direct_absolute=yes
 
11214
      hardcode_libdir_separator=':'
 
11215
      link_all_deplibs=yes
 
11216
      file_list_spec='${wl}-f,'
 
11217
 
 
11218
      if test "$GCC" = yes; then
 
11219
        case $host_os in aix4.[012]|aix4.[012].*)
 
11220
        # We only want to do this on AIX 4.2 and lower, the check
 
11221
        # below for broken collect2 doesn't work under 4.3+
 
11222
          collect2name=`${CC} -print-prog-name=collect2`
 
11223
          if test -f "$collect2name" &&
 
11224
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
 
11225
          then
 
11226
          # We have reworked collect2
 
11227
          :
 
11228
          else
 
11229
          # We have old collect2
 
11230
          hardcode_direct=unsupported
 
11231
          # It fails to find uninstalled libraries when the uninstalled
 
11232
          # path is not listed in the libpath.  Setting hardcode_minus_L
 
11233
          # to unsupported forces relinking
 
11234
          hardcode_minus_L=yes
 
11235
          hardcode_libdir_flag_spec='-L$libdir'
 
11236
          hardcode_libdir_separator=
 
11237
          fi
 
11238
          ;;
 
11239
        esac
 
11240
        shared_flag='-shared'
 
11241
        if test "$aix_use_runtimelinking" = yes; then
 
11242
          shared_flag="$shared_flag "'${wl}-G'
 
11243
        fi
 
11244
      else
 
11245
        # not using gcc
 
11246
        if test "$host_cpu" = ia64; then
 
11247
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
11248
        # chokes on -Wl,-G. The following line is correct:
 
11249
          shared_flag='-G'
 
11250
        else
 
11251
          if test "$aix_use_runtimelinking" = yes; then
 
11252
            shared_flag='${wl}-G'
 
11253
          else
 
11254
            shared_flag='${wl}-bM:SRE'
 
11255
          fi
 
11256
        fi
 
11257
      fi
 
11258
 
 
11259
      export_dynamic_flag_spec='${wl}-bexpall'
 
11260
      # It seems that -bexpall does not export symbols beginning with
 
11261
      # underscore (_), so it is better to generate a list of symbols to export.
 
11262
      always_export_symbols=yes
 
11263
      if test "$aix_use_runtimelinking" = yes; then
 
11264
        # Warning - without using the other runtime loading flags (-brtl),
 
11265
        # -berok will link without error, but may produce a broken library.
 
11266
        allow_undefined_flag='-berok'
 
11267
        # Determine the default libpath from the value encoded in an
 
11268
        # empty executable.
 
11269
        if test "${lt_cv_aix_libpath+set}" = set; then
 
11270
  aix_libpath=$lt_cv_aix_libpath
 
11271
else
 
11272
  if ${lt_cv_aix_libpath_+:} false; then :
 
11273
  $as_echo_n "(cached) " >&6
 
11274
else
 
11275
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11276
/* end confdefs.h.  */
 
11277
 
 
11278
int
 
11279
main ()
 
11280
{
 
11281
 
 
11282
  ;
 
11283
  return 0;
 
11284
}
 
11285
_ACEOF
 
11286
if ac_fn_c_try_link "$LINENO"; then :
 
11287
 
 
11288
  lt_aix_libpath_sed='
 
11289
      /Import File Strings/,/^$/ {
 
11290
          /^0/ {
 
11291
              s/^0  *\([^ ]*\) *$/\1/
 
11292
              p
 
11293
          }
 
11294
      }'
 
11295
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
11296
  # Check for a 64-bit object if we didn't find anything.
 
11297
  if test -z "$lt_cv_aix_libpath_"; then
 
11298
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
11299
  fi
 
11300
fi
 
11301
rm -f core conftest.err conftest.$ac_objext \
 
11302
    conftest$ac_exeext conftest.$ac_ext
 
11303
  if test -z "$lt_cv_aix_libpath_"; then
 
11304
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
11305
  fi
 
11306
 
 
11307
fi
 
11308
 
 
11309
  aix_libpath=$lt_cv_aix_libpath_
 
11310
fi
 
11311
 
 
11312
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
11313
        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"
 
11314
      else
 
11315
        if test "$host_cpu" = ia64; then
 
11316
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
 
11317
          allow_undefined_flag="-z nodefs"
 
11318
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
 
11319
        else
 
11320
         # Determine the default libpath from the value encoded in an
 
11321
         # empty executable.
 
11322
         if test "${lt_cv_aix_libpath+set}" = set; then
 
11323
  aix_libpath=$lt_cv_aix_libpath
 
11324
else
 
11325
  if ${lt_cv_aix_libpath_+:} false; then :
 
11326
  $as_echo_n "(cached) " >&6
 
11327
else
 
11328
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11329
/* end confdefs.h.  */
 
11330
 
 
11331
int
 
11332
main ()
 
11333
{
 
11334
 
 
11335
  ;
 
11336
  return 0;
 
11337
}
 
11338
_ACEOF
 
11339
if ac_fn_c_try_link "$LINENO"; then :
 
11340
 
 
11341
  lt_aix_libpath_sed='
 
11342
      /Import File Strings/,/^$/ {
 
11343
          /^0/ {
 
11344
              s/^0  *\([^ ]*\) *$/\1/
 
11345
              p
 
11346
          }
 
11347
      }'
 
11348
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
11349
  # Check for a 64-bit object if we didn't find anything.
 
11350
  if test -z "$lt_cv_aix_libpath_"; then
 
11351
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
11352
  fi
 
11353
fi
 
11354
rm -f core conftest.err conftest.$ac_objext \
 
11355
    conftest$ac_exeext conftest.$ac_ext
 
11356
  if test -z "$lt_cv_aix_libpath_"; then
 
11357
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
11358
  fi
 
11359
 
 
11360
fi
 
11361
 
 
11362
  aix_libpath=$lt_cv_aix_libpath_
 
11363
fi
 
11364
 
 
11365
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
11366
          # Warning - without using the other run time loading flags,
 
11367
          # -berok will link without error, but may produce a broken library.
 
11368
          no_undefined_flag=' ${wl}-bernotok'
 
11369
          allow_undefined_flag=' ${wl}-berok'
 
11370
          if test "$with_gnu_ld" = yes; then
 
11371
            # We only use this code for GNU lds that support --whole-archive.
 
11372
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
11373
          else
 
11374
            # Exported symbols can be pulled into shared objects from archives
 
11375
            whole_archive_flag_spec='$convenience'
 
11376
          fi
 
11377
          archive_cmds_need_lc=yes
 
11378
          # This is similar to how AIX traditionally builds its shared libraries.
 
11379
          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'
 
11380
        fi
 
11381
      fi
 
11382
      ;;
 
11383
 
 
11384
    amigaos*)
 
11385
      case $host_cpu in
 
11386
      powerpc)
 
11387
            # see comment about AmigaOS4 .so support
 
11388
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11389
            archive_expsym_cmds=''
 
11390
        ;;
 
11391
      m68k)
 
11392
            archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
 
11393
            hardcode_libdir_flag_spec='-L$libdir'
 
11394
            hardcode_minus_L=yes
 
11395
        ;;
 
11396
      esac
 
11397
      ;;
 
11398
 
 
11399
    bsdi[45]*)
 
11400
      export_dynamic_flag_spec=-rdynamic
 
11401
      ;;
 
11402
 
 
11403
    cygwin* | mingw* | pw32* | cegcc*)
 
11404
      # When not using gcc, we currently assume that we are using
 
11405
      # Microsoft Visual C++.
 
11406
      # hardcode_libdir_flag_spec is actually meaningless, as there is
 
11407
      # no search path for DLLs.
 
11408
      case $cc_basename in
 
11409
      cl*)
 
11410
        # Native MSVC
 
11411
        hardcode_libdir_flag_spec=' '
 
11412
        allow_undefined_flag=unsupported
 
11413
        always_export_symbols=yes
 
11414
        file_list_spec='@'
 
11415
        # Tell ltmain to make .lib files, not .a files.
 
11416
        libext=lib
 
11417
        # Tell ltmain to make .dll files, not .so files.
 
11418
        shrext_cmds=".dll"
 
11419
        # FIXME: Setting linknames here is a bad hack.
 
11420
        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 
11421
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
11422
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 
11423
          else
 
11424
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 
11425
          fi~
 
11426
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
11427
          linknames='
 
11428
        # The linker will not automatically build a static lib if we build a DLL.
 
11429
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
 
11430
        enable_shared_with_static_runtimes=yes
 
11431
        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
 
11432
        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
11433
        # Don't use ranlib
 
11434
        old_postinstall_cmds='chmod 644 $oldlib'
 
11435
        postlink_cmds='lt_outputfile="@OUTPUT@"~
 
11436
          lt_tool_outputfile="@TOOL_OUTPUT@"~
 
11437
          case $lt_outputfile in
 
11438
            *.exe|*.EXE) ;;
 
11439
            *)
 
11440
              lt_outputfile="$lt_outputfile.exe"
 
11441
              lt_tool_outputfile="$lt_tool_outputfile.exe"
 
11442
              ;;
 
11443
          esac~
 
11444
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 
11445
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
11446
            $RM "$lt_outputfile.manifest";
 
11447
          fi'
 
11448
        ;;
 
11449
      *)
 
11450
        # Assume MSVC wrapper
 
11451
        hardcode_libdir_flag_spec=' '
 
11452
        allow_undefined_flag=unsupported
 
11453
        # Tell ltmain to make .lib files, not .a files.
 
11454
        libext=lib
 
11455
        # Tell ltmain to make .dll files, not .so files.
 
11456
        shrext_cmds=".dll"
 
11457
        # FIXME: Setting linknames here is a bad hack.
 
11458
        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
 
11459
        # The linker will automatically build a .lib file if we build a DLL.
 
11460
        old_archive_from_new_cmds='true'
 
11461
        # FIXME: Should let the user specify the lib program.
 
11462
        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
11463
        enable_shared_with_static_runtimes=yes
 
11464
        ;;
 
11465
      esac
 
11466
      ;;
 
11467
 
 
11468
    darwin* | rhapsody*)
 
11469
 
 
11470
 
 
11471
  archive_cmds_need_lc=no
 
11472
  hardcode_direct=no
 
11473
  hardcode_automatic=yes
 
11474
  hardcode_shlibpath_var=unsupported
 
11475
  if test "$lt_cv_ld_force_load" = "yes"; then
 
11476
    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\"`'
 
11477
 
 
11478
  else
 
11479
    whole_archive_flag_spec=''
 
11480
  fi
 
11481
  link_all_deplibs=yes
 
11482
  allow_undefined_flag="$_lt_dar_allow_undefined"
 
11483
  case $cc_basename in
 
11484
     ifort*) _lt_dar_can_shared=yes ;;
 
11485
     *) _lt_dar_can_shared=$GCC ;;
 
11486
  esac
 
11487
  if test "$_lt_dar_can_shared" = "yes"; then
 
11488
    output_verbose_link_cmd=func_echo_all
 
11489
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
11490
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
11491
    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}"
 
11492
    module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
 
11493
 
 
11494
  else
 
11495
  ld_shlibs=no
 
11496
  fi
 
11497
 
 
11498
      ;;
 
11499
 
 
11500
    dgux*)
 
11501
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11502
      hardcode_libdir_flag_spec='-L$libdir'
 
11503
      hardcode_shlibpath_var=no
 
11504
      ;;
 
11505
 
 
11506
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
 
11507
    # support.  Future versions do this automatically, but an explicit c++rt0.o
 
11508
    # does not break anything, and helps significantly (at the cost of a little
 
11509
    # extra space).
 
11510
    freebsd2.2*)
 
11511
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
 
11512
      hardcode_libdir_flag_spec='-R$libdir'
 
11513
      hardcode_direct=yes
 
11514
      hardcode_shlibpath_var=no
 
11515
      ;;
 
11516
 
 
11517
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
 
11518
    freebsd2.*)
 
11519
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
11520
      hardcode_direct=yes
 
11521
      hardcode_minus_L=yes
 
11522
      hardcode_shlibpath_var=no
 
11523
      ;;
 
11524
 
 
11525
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
 
11526
    freebsd* | dragonfly*)
 
11527
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
11528
      hardcode_libdir_flag_spec='-R$libdir'
 
11529
      hardcode_direct=yes
 
11530
      hardcode_shlibpath_var=no
 
11531
      ;;
 
11532
 
 
11533
    hpux9*)
 
11534
      if test "$GCC" = yes; then
 
11535
        archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
11536
      else
 
11537
        archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
11538
      fi
 
11539
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
11540
      hardcode_libdir_separator=:
 
11541
      hardcode_direct=yes
 
11542
 
 
11543
      # hardcode_minus_L: Not really in the search PATH,
 
11544
      # but as the default location of the library.
 
11545
      hardcode_minus_L=yes
 
11546
      export_dynamic_flag_spec='${wl}-E'
 
11547
      ;;
 
11548
 
 
11549
    hpux10*)
 
11550
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 
11551
        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
11552
      else
 
11553
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
11554
      fi
 
11555
      if test "$with_gnu_ld" = no; then
 
11556
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
11557
        hardcode_libdir_separator=:
 
11558
        hardcode_direct=yes
 
11559
        hardcode_direct_absolute=yes
 
11560
        export_dynamic_flag_spec='${wl}-E'
 
11561
        # hardcode_minus_L: Not really in the search PATH,
 
11562
        # but as the default location of the library.
 
11563
        hardcode_minus_L=yes
 
11564
      fi
 
11565
      ;;
 
11566
 
 
11567
    hpux11*)
 
11568
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 
11569
        case $host_cpu in
 
11570
        hppa*64*)
 
11571
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11572
          ;;
 
11573
        ia64*)
 
11574
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
11575
          ;;
 
11576
        *)
 
11577
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
11578
          ;;
 
11579
        esac
 
11580
      else
 
11581
        case $host_cpu in
 
11582
        hppa*64*)
 
11583
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11584
          ;;
 
11585
        ia64*)
 
11586
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
11587
          ;;
 
11588
        *)
 
11589
 
 
11590
          # Older versions of the 11.00 compiler do not understand -b yet
 
11591
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
 
11592
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
 
11593
$as_echo_n "checking if $CC understands -b... " >&6; }
 
11594
if ${lt_cv_prog_compiler__b+:} false; then :
 
11595
  $as_echo_n "(cached) " >&6
 
11596
else
 
11597
  lt_cv_prog_compiler__b=no
 
11598
   save_LDFLAGS="$LDFLAGS"
 
11599
   LDFLAGS="$LDFLAGS -b"
 
11600
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
11601
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
11602
     # The linker can only warn and ignore the option if not recognized
 
11603
     # So say no if there are warnings
 
11604
     if test -s conftest.err; then
 
11605
       # Append any errors to the config.log.
 
11606
       cat conftest.err 1>&5
 
11607
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
11608
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
11609
       if diff conftest.exp conftest.er2 >/dev/null; then
 
11610
         lt_cv_prog_compiler__b=yes
 
11611
       fi
 
11612
     else
 
11613
       lt_cv_prog_compiler__b=yes
 
11614
     fi
 
11615
   fi
 
11616
   $RM -r conftest*
 
11617
   LDFLAGS="$save_LDFLAGS"
 
11618
 
 
11619
fi
 
11620
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
 
11621
$as_echo "$lt_cv_prog_compiler__b" >&6; }
 
11622
 
 
11623
if test x"$lt_cv_prog_compiler__b" = xyes; then
 
11624
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
11625
else
 
11626
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
11627
fi
 
11628
 
 
11629
          ;;
 
11630
        esac
 
11631
      fi
 
11632
      if test "$with_gnu_ld" = no; then
 
11633
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
11634
        hardcode_libdir_separator=:
 
11635
 
 
11636
        case $host_cpu in
 
11637
        hppa*64*|ia64*)
 
11638
          hardcode_direct=no
 
11639
          hardcode_shlibpath_var=no
 
11640
          ;;
 
11641
        *)
 
11642
          hardcode_direct=yes
 
11643
          hardcode_direct_absolute=yes
 
11644
          export_dynamic_flag_spec='${wl}-E'
 
11645
 
 
11646
          # hardcode_minus_L: Not really in the search PATH,
 
11647
          # but as the default location of the library.
 
11648
          hardcode_minus_L=yes
 
11649
          ;;
 
11650
        esac
 
11651
      fi
 
11652
      ;;
 
11653
 
 
11654
    irix5* | irix6* | nonstopux*)
 
11655
      if test "$GCC" = yes; then
 
11656
        archive_cmds='$CC -shared $pic_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'
 
11657
        # Try to use the -exported_symbol ld option, if it does not
 
11658
        # work, assume that -exports_file does not work either and
 
11659
        # implicitly export all symbols.
 
11660
        # This should be the same for all languages, so no per-tag cache variable.
 
11661
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
 
11662
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
 
11663
if ${lt_cv_irix_exported_symbol+:} false; then :
 
11664
  $as_echo_n "(cached) " >&6
 
11665
else
 
11666
  save_LDFLAGS="$LDFLAGS"
 
11667
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
11668
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11669
/* end confdefs.h.  */
 
11670
int foo (void) { return 0; }
 
11671
_ACEOF
 
11672
if ac_fn_c_try_link "$LINENO"; then :
 
11673
  lt_cv_irix_exported_symbol=yes
 
11674
else
 
11675
  lt_cv_irix_exported_symbol=no
 
11676
fi
 
11677
rm -f core conftest.err conftest.$ac_objext \
 
11678
    conftest$ac_exeext conftest.$ac_ext
 
11679
           LDFLAGS="$save_LDFLAGS"
 
11680
fi
 
11681
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
 
11682
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
 
11683
        if test "$lt_cv_irix_exported_symbol" = yes; then
 
11684
          archive_expsym_cmds='$CC -shared $pic_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 ${wl}-exports_file ${wl}$export_symbols -o $lib'
 
11685
        fi
 
11686
      else
 
11687
        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'
 
11688
        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'
 
11689
      fi
 
11690
      archive_cmds_need_lc='no'
 
11691
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
11692
      hardcode_libdir_separator=:
 
11693
      inherit_rpath=yes
 
11694
      link_all_deplibs=yes
 
11695
      ;;
 
11696
 
 
11697
    netbsd*)
 
11698
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
11699
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 
11700
      else
 
11701
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 
11702
      fi
 
11703
      hardcode_libdir_flag_spec='-R$libdir'
 
11704
      hardcode_direct=yes
 
11705
      hardcode_shlibpath_var=no
 
11706
      ;;
 
11707
 
 
11708
    newsos6)
 
11709
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11710
      hardcode_direct=yes
 
11711
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
11712
      hardcode_libdir_separator=:
 
11713
      hardcode_shlibpath_var=no
 
11714
      ;;
 
11715
 
 
11716
    *nto* | *qnx*)
 
11717
      ;;
 
11718
 
 
11719
    openbsd*)
 
11720
      if test -f /usr/libexec/ld.so; then
 
11721
        hardcode_direct=yes
 
11722
        hardcode_shlibpath_var=no
 
11723
        hardcode_direct_absolute=yes
 
11724
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
11725
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
11726
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
11727
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
11728
          export_dynamic_flag_spec='${wl}-E'
 
11729
        else
 
11730
          case $host_os in
 
11731
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
11732
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
11733
             hardcode_libdir_flag_spec='-R$libdir'
 
11734
             ;;
 
11735
           *)
 
11736
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
11737
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
11738
             ;;
 
11739
          esac
 
11740
        fi
 
11741
      else
 
11742
        ld_shlibs=no
 
11743
      fi
 
11744
      ;;
 
11745
 
 
11746
    os2*)
 
11747
      hardcode_libdir_flag_spec='-L$libdir'
 
11748
      hardcode_minus_L=yes
 
11749
      allow_undefined_flag=unsupported
 
11750
      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'
 
11751
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
11752
      ;;
 
11753
 
 
11754
    osf3*)
 
11755
      if test "$GCC" = yes; then
 
11756
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
11757
        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'
 
11758
      else
 
11759
        allow_undefined_flag=' -expect_unresolved \*'
 
11760
        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'
 
11761
      fi
 
11762
      archive_cmds_need_lc='no'
 
11763
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
11764
      hardcode_libdir_separator=:
 
11765
      ;;
 
11766
 
 
11767
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
 
11768
      if test "$GCC" = yes; then
 
11769
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
11770
        archive_cmds='$CC -shared${allow_undefined_flag} $pic_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'
 
11771
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
11772
      else
 
11773
        allow_undefined_flag=' -expect_unresolved \*'
 
11774
        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'
 
11775
        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~
 
11776
        $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'
 
11777
 
 
11778
        # Both c and cxx compiler support -rpath directly
 
11779
        hardcode_libdir_flag_spec='-rpath $libdir'
 
11780
      fi
 
11781
      archive_cmds_need_lc='no'
 
11782
      hardcode_libdir_separator=:
 
11783
      ;;
 
11784
 
 
11785
    solaris*)
 
11786
      no_undefined_flag=' -z defs'
 
11787
      if test "$GCC" = yes; then
 
11788
        wlarc='${wl}'
 
11789
        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11790
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
11791
          $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
11792
      else
 
11793
        case `$CC -V 2>&1` in
 
11794
        *"Compilers 5.0"*)
 
11795
          wlarc=''
 
11796
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11797
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
11798
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 
11799
          ;;
 
11800
        *)
 
11801
          wlarc='${wl}'
 
11802
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
11803
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
11804
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
11805
          ;;
 
11806
        esac
 
11807
      fi
 
11808
      hardcode_libdir_flag_spec='-R$libdir'
 
11809
      hardcode_shlibpath_var=no
 
11810
      case $host_os in
 
11811
      solaris2.[0-5] | solaris2.[0-5].*) ;;
 
11812
      *)
 
11813
        # The compiler driver will combine and reorder linker options,
 
11814
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
11815
        # but is careful enough not to reorder.
 
11816
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
11817
        if test "$GCC" = yes; then
 
11818
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
11819
        else
 
11820
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
 
11821
        fi
 
11822
        ;;
 
11823
      esac
 
11824
      link_all_deplibs=yes
 
11825
      ;;
 
11826
 
 
11827
    sunos4*)
 
11828
      if test "x$host_vendor" = xsequent; then
 
11829
        # Use $CC to link under sequent, because it throws in some extra .o
 
11830
        # files that make .init and .fini sections work.
 
11831
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
11832
      else
 
11833
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 
11834
      fi
 
11835
      hardcode_libdir_flag_spec='-L$libdir'
 
11836
      hardcode_direct=yes
 
11837
      hardcode_minus_L=yes
 
11838
      hardcode_shlibpath_var=no
 
11839
      ;;
 
11840
 
 
11841
    sysv4)
 
11842
      case $host_vendor in
 
11843
        sni)
 
11844
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11845
          hardcode_direct=yes # is this really true???
 
11846
        ;;
 
11847
        siemens)
 
11848
          ## LD is ld it makes a PLAMLIB
 
11849
          ## CC just makes a GrossModule.
 
11850
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 
11851
          reload_cmds='$CC -r -o $output$reload_objs'
 
11852
          hardcode_direct=no
 
11853
        ;;
 
11854
        motorola)
 
11855
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11856
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
 
11857
        ;;
 
11858
      esac
 
11859
      runpath_var='LD_RUN_PATH'
 
11860
      hardcode_shlibpath_var=no
 
11861
      ;;
 
11862
 
 
11863
    sysv4.3*)
 
11864
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11865
      hardcode_shlibpath_var=no
 
11866
      export_dynamic_flag_spec='-Bexport'
 
11867
      ;;
 
11868
 
 
11869
    sysv4*MP*)
 
11870
      if test -d /usr/nec; then
 
11871
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11872
        hardcode_shlibpath_var=no
 
11873
        runpath_var=LD_RUN_PATH
 
11874
        hardcode_runpath_var=yes
 
11875
        ld_shlibs=yes
 
11876
      fi
 
11877
      ;;
 
11878
 
 
11879
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
11880
      no_undefined_flag='${wl}-z,text'
 
11881
      archive_cmds_need_lc=no
 
11882
      hardcode_shlibpath_var=no
 
11883
      runpath_var='LD_RUN_PATH'
 
11884
 
 
11885
      if test "$GCC" = yes; then
 
11886
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11887
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11888
      else
 
11889
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11890
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11891
      fi
 
11892
      ;;
 
11893
 
 
11894
    sysv5* | sco3.2v5* | sco5v6*)
 
11895
      # Note: We can NOT use -z defs as we might desire, because we do not
 
11896
      # link with -lc, and that would cause any symbols used from libc to
 
11897
      # always be unresolved, which means just about no library would
 
11898
      # ever link correctly.  If we're not using GNU ld we use -z text
 
11899
      # though, which does catch some bad symbols but isn't as heavy-handed
 
11900
      # as -z defs.
 
11901
      no_undefined_flag='${wl}-z,text'
 
11902
      allow_undefined_flag='${wl}-z,nodefs'
 
11903
      archive_cmds_need_lc=no
 
11904
      hardcode_shlibpath_var=no
 
11905
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
 
11906
      hardcode_libdir_separator=':'
 
11907
      link_all_deplibs=yes
 
11908
      export_dynamic_flag_spec='${wl}-Bexport'
 
11909
      runpath_var='LD_RUN_PATH'
 
11910
 
 
11911
      if test "$GCC" = yes; then
 
11912
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11913
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11914
      else
 
11915
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11916
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11917
      fi
 
11918
      ;;
 
11919
 
 
11920
    uts4*)
 
11921
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11922
      hardcode_libdir_flag_spec='-L$libdir'
 
11923
      hardcode_shlibpath_var=no
 
11924
      ;;
 
11925
 
 
11926
    *)
 
11927
      ld_shlibs=no
 
11928
      ;;
 
11929
    esac
 
11930
 
 
11931
    if test x$host_vendor = xsni; then
 
11932
      case $host in
 
11933
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
11934
        export_dynamic_flag_spec='${wl}-Blargedynsym'
 
11935
        ;;
 
11936
      esac
 
11937
    fi
 
11938
  fi
 
11939
 
 
11940
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
 
11941
$as_echo "$ld_shlibs" >&6; }
 
11942
test "$ld_shlibs" = no && can_build_shared=no
 
11943
 
 
11944
with_gnu_ld=$with_gnu_ld
 
11945
 
 
11946
 
 
11947
 
 
11948
 
 
11949
 
 
11950
 
 
11951
 
 
11952
 
 
11953
 
 
11954
 
 
11955
 
 
11956
 
 
11957
 
 
11958
 
 
11959
 
 
11960
#
 
11961
# Do we need to explicitly link libc?
 
11962
#
 
11963
case "x$archive_cmds_need_lc" in
 
11964
x|xyes)
 
11965
  # Assume -lc should be added
 
11966
  archive_cmds_need_lc=yes
 
11967
 
 
11968
  if test "$enable_shared" = yes && test "$GCC" = yes; then
 
11969
    case $archive_cmds in
 
11970
    *'~'*)
 
11971
      # FIXME: we may have to deal with multi-command sequences.
 
11972
      ;;
 
11973
    '$CC '*)
 
11974
      # Test whether the compiler implicitly links with -lc since on some
 
11975
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
 
11976
      # to ld, don't add -lc before -lgcc.
 
11977
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 
11978
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
11979
if ${lt_cv_archive_cmds_need_lc+:} false; then :
 
11980
  $as_echo_n "(cached) " >&6
 
11981
else
 
11982
  $RM conftest*
 
11983
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
11984
 
 
11985
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
11986
  (eval $ac_compile) 2>&5
 
11987
  ac_status=$?
 
11988
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11989
  test $ac_status = 0; } 2>conftest.err; then
 
11990
          soname=conftest
 
11991
          lib=conftest
 
11992
          libobjs=conftest.$ac_objext
 
11993
          deplibs=
 
11994
          wl=$lt_prog_compiler_wl
 
11995
          pic_flag=$lt_prog_compiler_pic
 
11996
          compiler_flags=-v
 
11997
          linker_flags=-v
 
11998
          verstring=
 
11999
          output_objdir=.
 
12000
          libname=conftest
 
12001
          lt_save_allow_undefined_flag=$allow_undefined_flag
 
12002
          allow_undefined_flag=
 
12003
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
12004
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
12005
  ac_status=$?
 
12006
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12007
  test $ac_status = 0; }
 
12008
          then
 
12009
            lt_cv_archive_cmds_need_lc=no
 
12010
          else
 
12011
            lt_cv_archive_cmds_need_lc=yes
 
12012
          fi
 
12013
          allow_undefined_flag=$lt_save_allow_undefined_flag
 
12014
        else
 
12015
          cat conftest.err 1>&5
 
12016
        fi
 
12017
        $RM conftest*
 
12018
 
 
12019
fi
 
12020
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
 
12021
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
 
12022
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
 
12023
      ;;
 
12024
    esac
 
12025
  fi
 
12026
  ;;
 
12027
esac
 
12028
 
 
12029
 
 
12030
 
 
12031
 
 
12032
 
 
12033
 
 
12034
 
 
12035
 
 
12036
 
 
12037
 
 
12038
 
 
12039
 
 
12040
 
 
12041
 
 
12042
 
 
12043
 
 
12044
 
 
12045
 
 
12046
 
 
12047
 
 
12048
 
 
12049
 
 
12050
 
 
12051
 
 
12052
 
 
12053
 
 
12054
 
 
12055
 
 
12056
 
 
12057
 
 
12058
 
 
12059
 
 
12060
 
 
12061
 
 
12062
 
 
12063
 
 
12064
 
 
12065
 
 
12066
 
 
12067
 
 
12068
 
 
12069
 
 
12070
 
 
12071
 
 
12072
 
 
12073
 
 
12074
 
 
12075
 
 
12076
 
 
12077
 
 
12078
 
 
12079
 
 
12080
 
 
12081
 
 
12082
 
 
12083
 
 
12084
 
 
12085
 
 
12086
 
 
12087
 
 
12088
 
 
12089
 
 
12090
 
 
12091
 
 
12092
 
 
12093
 
 
12094
 
 
12095
 
 
12096
 
 
12097
 
 
12098
 
 
12099
 
 
12100
 
 
12101
 
 
12102
 
 
12103
 
 
12104
 
 
12105
 
 
12106
 
 
12107
 
 
12108
 
 
12109
 
 
12110
 
 
12111
 
 
12112
 
 
12113
 
 
12114
 
 
12115
 
 
12116
 
 
12117
 
 
12118
 
 
12119
 
 
12120
 
 
12121
 
 
12122
 
 
12123
 
 
12124
 
 
12125
 
 
12126
 
 
12127
 
 
12128
 
 
12129
 
 
12130
 
 
12131
 
 
12132
 
 
12133
 
 
12134
 
 
12135
 
 
12136
 
 
12137
 
 
12138
 
 
12139
 
 
12140
 
 
12141
 
 
12142
 
 
12143
 
 
12144
 
 
12145
 
 
12146
 
 
12147
 
 
12148
 
 
12149
 
 
12150
 
 
12151
 
 
12152
 
 
12153
 
 
12154
 
 
12155
 
 
12156
 
 
12157
 
 
12158
 
 
12159
 
 
12160
 
 
12161
 
 
12162
 
 
12163
 
 
12164
 
 
12165
 
 
12166
 
 
12167
 
 
12168
 
 
12169
 
 
12170
 
 
12171
 
 
12172
 
 
12173
 
 
12174
 
 
12175
 
 
12176
 
 
12177
 
 
12178
 
 
12179
 
 
12180
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
 
12181
$as_echo_n "checking dynamic linker characteristics... " >&6; }
 
12182
 
 
12183
if test "$GCC" = yes; then
 
12184
  case $host_os in
 
12185
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 
12186
    *) lt_awk_arg="/^libraries:/" ;;
 
12187
  esac
 
12188
  case $host_os in
 
12189
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
 
12190
    *) lt_sed_strip_eq="s,=/,/,g" ;;
 
12191
  esac
 
12192
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
 
12193
  case $lt_search_path_spec in
 
12194
  *\;*)
 
12195
    # if the path contains ";" then we assume it to be the separator
 
12196
    # otherwise default to the standard path separator (i.e. ":") - it is
 
12197
    # assumed that no part of a normal pathname contains ";" but that should
 
12198
    # okay in the real world where ";" in dirpaths is itself problematic.
 
12199
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
 
12200
    ;;
 
12201
  *)
 
12202
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
 
12203
    ;;
 
12204
  esac
 
12205
  # Ok, now we have the path, separated by spaces, we can step through it
 
12206
  # and add multilib dir if necessary.
 
12207
  lt_tmp_lt_search_path_spec=
 
12208
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 
12209
  for lt_sys_path in $lt_search_path_spec; do
 
12210
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 
12211
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 
12212
    else
 
12213
      test -d "$lt_sys_path" && \
 
12214
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 
12215
    fi
 
12216
  done
 
12217
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
 
12218
BEGIN {RS=" "; FS="/|\n";} {
 
12219
  lt_foo="";
 
12220
  lt_count=0;
 
12221
  for (lt_i = NF; lt_i > 0; lt_i--) {
 
12222
    if ($lt_i != "" && $lt_i != ".") {
 
12223
      if ($lt_i == "..") {
 
12224
        lt_count++;
 
12225
      } else {
 
12226
        if (lt_count == 0) {
 
12227
          lt_foo="/" $lt_i lt_foo;
 
12228
        } else {
 
12229
          lt_count--;
 
12230
        }
 
12231
      }
 
12232
    }
 
12233
  }
 
12234
  if (lt_foo != "") { lt_freq[lt_foo]++; }
 
12235
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
 
12236
}'`
 
12237
  # AWK program above erroneously prepends '/' to C:/dos/paths
 
12238
  # for these hosts.
 
12239
  case $host_os in
 
12240
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
 
12241
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
 
12242
  esac
 
12243
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
 
12244
else
 
12245
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 
12246
fi
 
12247
library_names_spec=
 
12248
libname_spec='lib$name'
 
12249
soname_spec=
 
12250
shrext_cmds=".so"
 
12251
postinstall_cmds=
 
12252
postuninstall_cmds=
 
12253
finish_cmds=
 
12254
finish_eval=
 
12255
shlibpath_var=
 
12256
shlibpath_overrides_runpath=unknown
 
12257
version_type=none
 
12258
dynamic_linker="$host_os ld.so"
 
12259
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
12260
need_lib_prefix=unknown
 
12261
hardcode_into_libs=no
 
12262
 
 
12263
# when you set need_version to no, make sure it does not cause -set_version
 
12264
# flags to be left without arguments
 
12265
need_version=unknown
 
12266
 
 
12267
case $host_os in
 
12268
aix3*)
 
12269
  version_type=linux # correct to gnu/linux during the next big refactor
 
12270
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 
12271
  shlibpath_var=LIBPATH
 
12272
 
 
12273
  # AIX 3 has no versioning support, so we append a major version to the name.
 
12274
  soname_spec='${libname}${release}${shared_ext}$major'
 
12275
  ;;
 
12276
 
 
12277
aix[4-9]*)
 
12278
  version_type=linux # correct to gnu/linux during the next big refactor
 
12279
  need_lib_prefix=no
 
12280
  need_version=no
 
12281
  hardcode_into_libs=yes
 
12282
  if test "$host_cpu" = ia64; then
 
12283
    # AIX 5 supports IA64
 
12284
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 
12285
    shlibpath_var=LD_LIBRARY_PATH
 
12286
  else
 
12287
    # With GCC up to 2.95.x, collect2 would create an import file
 
12288
    # for dependence libraries.  The import file would start with
 
12289
    # the line `#! .'.  This would cause the generated library to
 
12290
    # depend on `.', always an invalid library.  This was fixed in
 
12291
    # development snapshots of GCC prior to 3.0.
 
12292
    case $host_os in
 
12293
      aix4 | aix4.[01] | aix4.[01].*)
 
12294
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 
12295
           echo ' yes '
 
12296
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
 
12297
        :
 
12298
      else
 
12299
        can_build_shared=no
 
12300
      fi
 
12301
      ;;
 
12302
    esac
 
12303
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 
12304
    # soname into executable. Probably we can add versioning support to
 
12305
    # collect2, so additional links can be useful in future.
 
12306
    if test "$aix_use_runtimelinking" = yes; then
 
12307
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 
12308
      # instead of lib<name>.a to let people know that these are not
 
12309
      # typical AIX shared libraries.
 
12310
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12311
    else
 
12312
      # We preserve .a as extension for shared libraries through AIX4.2
 
12313
      # and later when we are not doing run time linking.
 
12314
      library_names_spec='${libname}${release}.a $libname.a'
 
12315
      soname_spec='${libname}${release}${shared_ext}$major'
 
12316
    fi
 
12317
    shlibpath_var=LIBPATH
 
12318
  fi
 
12319
  ;;
 
12320
 
 
12321
amigaos*)
 
12322
  case $host_cpu in
 
12323
  powerpc)
 
12324
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
12325
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
12326
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12327
    ;;
 
12328
  m68k)
 
12329
    library_names_spec='$libname.ixlibrary $libname.a'
 
12330
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
12331
    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'
 
12332
    ;;
 
12333
  esac
 
12334
  ;;
 
12335
 
 
12336
beos*)
 
12337
  library_names_spec='${libname}${shared_ext}'
 
12338
  dynamic_linker="$host_os ld.so"
 
12339
  shlibpath_var=LIBRARY_PATH
 
12340
  ;;
 
12341
 
 
12342
bsdi[45]*)
 
12343
  version_type=linux # correct to gnu/linux during the next big refactor
 
12344
  need_version=no
 
12345
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12346
  soname_spec='${libname}${release}${shared_ext}$major'
 
12347
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 
12348
  shlibpath_var=LD_LIBRARY_PATH
 
12349
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 
12350
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 
12351
  # the default ld.so.conf also contains /usr/contrib/lib and
 
12352
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 
12353
  # libtool to hard-code these into programs
 
12354
  ;;
 
12355
 
 
12356
cygwin* | mingw* | pw32* | cegcc*)
 
12357
  version_type=windows
 
12358
  shrext_cmds=".dll"
 
12359
  need_version=no
 
12360
  need_lib_prefix=no
 
12361
 
 
12362
  case $GCC,$cc_basename in
 
12363
  yes,*)
 
12364
    # gcc
 
12365
    library_names_spec='$libname.dll.a'
 
12366
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
12367
    postinstall_cmds='base_file=`basename \${file}`~
 
12368
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
12369
      dldir=$destdir/`dirname \$dlpath`~
 
12370
      test -d \$dldir || mkdir -p \$dldir~
 
12371
      $install_prog $dir/$dlname \$dldir/$dlname~
 
12372
      chmod a+x \$dldir/$dlname~
 
12373
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
12374
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
12375
      fi'
 
12376
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
12377
      dlpath=$dir/\$dldll~
 
12378
       $RM \$dlpath'
 
12379
    shlibpath_overrides_runpath=yes
 
12380
 
 
12381
    case $host_os in
 
12382
    cygwin*)
 
12383
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 
12384
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
12385
 
 
12386
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
 
12387
      ;;
 
12388
    mingw* | cegcc*)
 
12389
      # MinGW DLLs use traditional 'lib' prefix
 
12390
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
12391
      ;;
 
12392
    pw32*)
 
12393
      # pw32 DLLs use 'pw' prefix rather than 'lib'
 
12394
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
12395
      ;;
 
12396
    esac
 
12397
    dynamic_linker='Win32 ld.exe'
 
12398
    ;;
 
12399
 
 
12400
  *,cl*)
 
12401
    # Native MSVC
 
12402
    libname_spec='$name'
 
12403
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
12404
    library_names_spec='${libname}.dll.lib'
 
12405
 
 
12406
    case $build_os in
 
12407
    mingw*)
 
12408
      sys_lib_search_path_spec=
 
12409
      lt_save_ifs=$IFS
 
12410
      IFS=';'
 
12411
      for lt_path in $LIB
 
12412
      do
 
12413
        IFS=$lt_save_ifs
 
12414
        # Let DOS variable expansion print the short 8.3 style file name.
 
12415
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 
12416
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 
12417
      done
 
12418
      IFS=$lt_save_ifs
 
12419
      # Convert to MSYS style.
 
12420
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 
12421
      ;;
 
12422
    cygwin*)
 
12423
      # Convert to unix form, then to dos form, then back to unix form
 
12424
      # but this time dos style (no spaces!) so that the unix form looks
 
12425
      # like /cygdrive/c/PROGRA~1:/cygdr...
 
12426
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 
12427
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 
12428
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
12429
      ;;
 
12430
    *)
 
12431
      sys_lib_search_path_spec="$LIB"
 
12432
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
12433
        # It is most probably a Windows format PATH.
 
12434
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
12435
      else
 
12436
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
12437
      fi
 
12438
      # FIXME: find the short name or the path components, as spaces are
 
12439
      # common. (e.g. "Program Files" -> "PROGRA~1")
 
12440
      ;;
 
12441
    esac
 
12442
 
 
12443
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
12444
    postinstall_cmds='base_file=`basename \${file}`~
 
12445
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
12446
      dldir=$destdir/`dirname \$dlpath`~
 
12447
      test -d \$dldir || mkdir -p \$dldir~
 
12448
      $install_prog $dir/$dlname \$dldir/$dlname'
 
12449
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
12450
      dlpath=$dir/\$dldll~
 
12451
       $RM \$dlpath'
 
12452
    shlibpath_overrides_runpath=yes
 
12453
    dynamic_linker='Win32 link.exe'
 
12454
    ;;
 
12455
 
 
12456
  *)
 
12457
    # Assume MSVC wrapper
 
12458
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
12459
    dynamic_linker='Win32 ld.exe'
 
12460
    ;;
 
12461
  esac
 
12462
  # FIXME: first we should search . and the directory the executable is in
 
12463
  shlibpath_var=PATH
 
12464
  ;;
 
12465
 
 
12466
darwin* | rhapsody*)
 
12467
  dynamic_linker="$host_os dyld"
 
12468
  version_type=darwin
 
12469
  need_lib_prefix=no
 
12470
  need_version=no
 
12471
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
12472
  soname_spec='${libname}${release}${major}$shared_ext'
 
12473
  shlibpath_overrides_runpath=yes
 
12474
  shlibpath_var=DYLD_LIBRARY_PATH
 
12475
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 
12476
 
 
12477
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
 
12478
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 
12479
  ;;
 
12480
 
 
12481
dgux*)
 
12482
  version_type=linux # correct to gnu/linux during the next big refactor
 
12483
  need_lib_prefix=no
 
12484
  need_version=no
 
12485
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 
12486
  soname_spec='${libname}${release}${shared_ext}$major'
 
12487
  shlibpath_var=LD_LIBRARY_PATH
 
12488
  ;;
 
12489
 
 
12490
freebsd* | dragonfly*)
 
12491
  # DragonFly does not have aout.  When/if they implement a new
 
12492
  # versioning mechanism, adjust this.
 
12493
  if test -x /usr/bin/objformat; then
 
12494
    objformat=`/usr/bin/objformat`
 
12495
  else
 
12496
    case $host_os in
 
12497
    freebsd[23].*) objformat=aout ;;
 
12498
    *) objformat=elf ;;
 
12499
    esac
 
12500
  fi
 
12501
  version_type=freebsd-$objformat
 
12502
  case $version_type in
 
12503
    freebsd-elf*)
 
12504
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
12505
      need_version=no
 
12506
      need_lib_prefix=no
 
12507
      ;;
 
12508
    freebsd-*)
 
12509
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 
12510
      need_version=yes
 
12511
      ;;
 
12512
  esac
 
12513
  shlibpath_var=LD_LIBRARY_PATH
 
12514
  case $host_os in
 
12515
  freebsd2.*)
 
12516
    shlibpath_overrides_runpath=yes
 
12517
    ;;
 
12518
  freebsd3.[01]* | freebsdelf3.[01]*)
 
12519
    shlibpath_overrides_runpath=yes
 
12520
    hardcode_into_libs=yes
 
12521
    ;;
 
12522
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
12523
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
 
12524
    shlibpath_overrides_runpath=no
 
12525
    hardcode_into_libs=yes
 
12526
    ;;
 
12527
  *) # from 4.6 on, and DragonFly
 
12528
    shlibpath_overrides_runpath=yes
 
12529
    hardcode_into_libs=yes
 
12530
    ;;
 
12531
  esac
 
12532
  ;;
 
12533
 
 
12534
gnu*)
 
12535
  version_type=linux # correct to gnu/linux during the next big refactor
 
12536
  need_lib_prefix=no
 
12537
  need_version=no
 
12538
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
12539
  soname_spec='${libname}${release}${shared_ext}$major'
 
12540
  shlibpath_var=LD_LIBRARY_PATH
 
12541
  shlibpath_overrides_runpath=no
 
12542
  hardcode_into_libs=yes
 
12543
  ;;
 
12544
 
 
12545
haiku*)
 
12546
  version_type=linux # correct to gnu/linux during the next big refactor
 
12547
  need_lib_prefix=no
 
12548
  need_version=no
 
12549
  dynamic_linker="$host_os runtime_loader"
 
12550
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
12551
  soname_spec='${libname}${release}${shared_ext}$major'
 
12552
  shlibpath_var=LIBRARY_PATH
 
12553
  shlibpath_overrides_runpath=yes
 
12554
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
 
12555
  hardcode_into_libs=yes
 
12556
  ;;
 
12557
 
 
12558
hpux9* | hpux10* | hpux11*)
 
12559
  # Give a soname corresponding to the major version so that dld.sl refuses to
 
12560
  # link against other versions.
 
12561
  version_type=sunos
 
12562
  need_lib_prefix=no
 
12563
  need_version=no
 
12564
  case $host_cpu in
 
12565
  ia64*)
 
12566
    shrext_cmds='.so'
 
12567
    hardcode_into_libs=yes
 
12568
    dynamic_linker="$host_os dld.so"
 
12569
    shlibpath_var=LD_LIBRARY_PATH
 
12570
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
12571
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12572
    soname_spec='${libname}${release}${shared_ext}$major'
 
12573
    if test "X$HPUX_IA64_MODE" = X32; then
 
12574
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 
12575
    else
 
12576
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 
12577
    fi
 
12578
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
12579
    ;;
 
12580
  hppa*64*)
 
12581
    shrext_cmds='.sl'
 
12582
    hardcode_into_libs=yes
 
12583
    dynamic_linker="$host_os dld.sl"
 
12584
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
12585
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
12586
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12587
    soname_spec='${libname}${release}${shared_ext}$major'
 
12588
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
12589
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
12590
    ;;
 
12591
  *)
 
12592
    shrext_cmds='.sl'
 
12593
    dynamic_linker="$host_os dld.sl"
 
12594
    shlibpath_var=SHLIB_PATH
 
12595
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 
12596
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12597
    soname_spec='${libname}${release}${shared_ext}$major'
 
12598
    ;;
 
12599
  esac
 
12600
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
 
12601
  postinstall_cmds='chmod 555 $lib'
 
12602
  # or fails outright, so override atomically:
 
12603
  install_override_mode=555
 
12604
  ;;
 
12605
 
 
12606
interix[3-9]*)
 
12607
  version_type=linux # correct to gnu/linux during the next big refactor
 
12608
  need_lib_prefix=no
 
12609
  need_version=no
 
12610
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
12611
  soname_spec='${libname}${release}${shared_ext}$major'
 
12612
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
12613
  shlibpath_var=LD_LIBRARY_PATH
 
12614
  shlibpath_overrides_runpath=no
 
12615
  hardcode_into_libs=yes
 
12616
  ;;
 
12617
 
 
12618
irix5* | irix6* | nonstopux*)
 
12619
  case $host_os in
 
12620
    nonstopux*) version_type=nonstopux ;;
 
12621
    *)
 
12622
        if test "$lt_cv_prog_gnu_ld" = yes; then
 
12623
                version_type=linux # correct to gnu/linux during the next big refactor
 
12624
        else
 
12625
                version_type=irix
 
12626
        fi ;;
 
12627
  esac
 
12628
  need_lib_prefix=no
 
12629
  need_version=no
 
12630
  soname_spec='${libname}${release}${shared_ext}$major'
 
12631
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 
12632
  case $host_os in
 
12633
  irix5* | nonstopux*)
 
12634
    libsuff= shlibsuff=
 
12635
    ;;
 
12636
  *)
 
12637
    case $LD in # libtool.m4 will add one of these switches to LD
 
12638
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 
12639
      libsuff= shlibsuff= libmagic=32-bit;;
 
12640
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 
12641
      libsuff=32 shlibsuff=N32 libmagic=N32;;
 
12642
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 
12643
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
 
12644
    *) libsuff= shlibsuff= libmagic=never-match;;
 
12645
    esac
 
12646
    ;;
 
12647
  esac
 
12648
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 
12649
  shlibpath_overrides_runpath=no
 
12650
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
12651
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 
12652
  hardcode_into_libs=yes
 
12653
  ;;
 
12654
 
 
12655
# No shared lib support for Linux oldld, aout, or coff.
 
12656
linux*oldld* | linux*aout* | linux*coff*)
 
12657
  dynamic_linker=no
 
12658
  ;;
 
12659
 
 
12660
# This must be glibc/ELF.
 
12661
linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
12662
  version_type=linux # correct to gnu/linux during the next big refactor
 
12663
  need_lib_prefix=no
 
12664
  need_version=no
 
12665
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12666
  soname_spec='${libname}${release}${shared_ext}$major'
 
12667
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 
12668
  shlibpath_var=LD_LIBRARY_PATH
 
12669
  shlibpath_overrides_runpath=no
 
12670
 
 
12671
  # Some binutils ld are patched to set DT_RUNPATH
 
12672
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
 
12673
  $as_echo_n "(cached) " >&6
 
12674
else
 
12675
  lt_cv_shlibpath_overrides_runpath=no
 
12676
    save_LDFLAGS=$LDFLAGS
 
12677
    save_libdir=$libdir
 
12678
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
12679
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
12680
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12681
/* end confdefs.h.  */
 
12682
 
 
12683
int
 
12684
main ()
 
12685
{
 
12686
 
 
12687
  ;
 
12688
  return 0;
 
12689
}
 
12690
_ACEOF
 
12691
if ac_fn_c_try_link "$LINENO"; then :
 
12692
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
 
12693
  lt_cv_shlibpath_overrides_runpath=yes
 
12694
fi
 
12695
fi
 
12696
rm -f core conftest.err conftest.$ac_objext \
 
12697
    conftest$ac_exeext conftest.$ac_ext
 
12698
    LDFLAGS=$save_LDFLAGS
 
12699
    libdir=$save_libdir
 
12700
 
 
12701
fi
 
12702
 
 
12703
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
 
12704
 
 
12705
  # This implies no fast_install, which is unacceptable.
 
12706
  # Some rework will be needed to allow for fast_install
 
12707
  # before this can be enabled.
 
12708
  hardcode_into_libs=yes
 
12709
 
 
12710
  # Add ABI-specific directories to the system library path.
 
12711
  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
 
12712
 
 
12713
  # Append ld.so.conf contents to the search path
 
12714
  if test -f /etc/ld.so.conf; then
 
12715
    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' ' '`
 
12716
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
 
12717
 
 
12718
  fi
 
12719
 
 
12720
  # We used to test for /lib/ld.so.1 and disable shared libraries on
 
12721
  # powerpc, because MkLinux only supported shared libraries with the
 
12722
  # GNU dynamic linker.  Since this was broken with cross compilers,
 
12723
  # most powerpc-linux boxes support dynamic linking these days and
 
12724
  # people can always --disable-shared, the test was removed, and we
 
12725
  # assume the GNU/Linux dynamic linker is in use.
 
12726
  dynamic_linker='GNU/Linux ld.so'
 
12727
  ;;
 
12728
 
 
12729
netbsd*)
 
12730
  version_type=sunos
 
12731
  need_lib_prefix=no
 
12732
  need_version=no
 
12733
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
12734
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
12735
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
12736
    dynamic_linker='NetBSD (a.out) ld.so'
 
12737
  else
 
12738
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
12739
    soname_spec='${libname}${release}${shared_ext}$major'
 
12740
    dynamic_linker='NetBSD ld.elf_so'
 
12741
  fi
 
12742
  shlibpath_var=LD_LIBRARY_PATH
 
12743
  shlibpath_overrides_runpath=yes
 
12744
  hardcode_into_libs=yes
 
12745
  ;;
 
12746
 
 
12747
newsos6)
 
12748
  version_type=linux # correct to gnu/linux during the next big refactor
 
12749
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12750
  shlibpath_var=LD_LIBRARY_PATH
 
12751
  shlibpath_overrides_runpath=yes
 
12752
  ;;
 
12753
 
 
12754
*nto* | *qnx*)
 
12755
  version_type=qnx
 
12756
  need_lib_prefix=no
 
12757
  need_version=no
 
12758
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12759
  soname_spec='${libname}${release}${shared_ext}$major'
 
12760
  shlibpath_var=LD_LIBRARY_PATH
 
12761
  shlibpath_overrides_runpath=no
 
12762
  hardcode_into_libs=yes
 
12763
  dynamic_linker='ldqnx.so'
 
12764
  ;;
 
12765
 
 
12766
openbsd*)
 
12767
  version_type=sunos
 
12768
  sys_lib_dlsearch_path_spec="/usr/lib"
 
12769
  need_lib_prefix=no
 
12770
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
12771
  case $host_os in
 
12772
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
12773
    *)                          need_version=no  ;;
 
12774
  esac
 
12775
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
12776
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
12777
  shlibpath_var=LD_LIBRARY_PATH
 
12778
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
12779
    case $host_os in
 
12780
      openbsd2.[89] | openbsd2.[89].*)
 
12781
        shlibpath_overrides_runpath=no
 
12782
        ;;
 
12783
      *)
 
12784
        shlibpath_overrides_runpath=yes
 
12785
        ;;
 
12786
      esac
 
12787
  else
 
12788
    shlibpath_overrides_runpath=yes
 
12789
  fi
 
12790
  ;;
 
12791
 
 
12792
os2*)
 
12793
  libname_spec='$name'
 
12794
  shrext_cmds=".dll"
 
12795
  need_lib_prefix=no
 
12796
  library_names_spec='$libname${shared_ext} $libname.a'
 
12797
  dynamic_linker='OS/2 ld.exe'
 
12798
  shlibpath_var=LIBPATH
 
12799
  ;;
 
12800
 
 
12801
osf3* | osf4* | osf5*)
 
12802
  version_type=osf
 
12803
  need_lib_prefix=no
 
12804
  need_version=no
 
12805
  soname_spec='${libname}${release}${shared_ext}$major'
 
12806
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12807
  shlibpath_var=LD_LIBRARY_PATH
 
12808
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 
12809
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 
12810
  ;;
 
12811
 
 
12812
rdos*)
 
12813
  dynamic_linker=no
 
12814
  ;;
 
12815
 
 
12816
solaris*)
 
12817
  version_type=linux # correct to gnu/linux during the next big refactor
 
12818
  need_lib_prefix=no
 
12819
  need_version=no
 
12820
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12821
  soname_spec='${libname}${release}${shared_ext}$major'
 
12822
  shlibpath_var=LD_LIBRARY_PATH
 
12823
  shlibpath_overrides_runpath=yes
 
12824
  hardcode_into_libs=yes
 
12825
  # ldd complains unless libraries are executable
 
12826
  postinstall_cmds='chmod +x $lib'
 
12827
  ;;
 
12828
 
 
12829
sunos4*)
 
12830
  version_type=sunos
 
12831
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
12832
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 
12833
  shlibpath_var=LD_LIBRARY_PATH
 
12834
  shlibpath_overrides_runpath=yes
 
12835
  if test "$with_gnu_ld" = yes; then
 
12836
    need_lib_prefix=no
 
12837
  fi
 
12838
  need_version=yes
 
12839
  ;;
 
12840
 
 
12841
sysv4 | sysv4.3*)
 
12842
  version_type=linux # correct to gnu/linux during the next big refactor
 
12843
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12844
  soname_spec='${libname}${release}${shared_ext}$major'
 
12845
  shlibpath_var=LD_LIBRARY_PATH
 
12846
  case $host_vendor in
 
12847
    sni)
 
12848
      shlibpath_overrides_runpath=no
 
12849
      need_lib_prefix=no
 
12850
      runpath_var=LD_RUN_PATH
 
12851
      ;;
 
12852
    siemens)
 
12853
      need_lib_prefix=no
 
12854
      ;;
 
12855
    motorola)
 
12856
      need_lib_prefix=no
 
12857
      need_version=no
 
12858
      shlibpath_overrides_runpath=no
 
12859
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 
12860
      ;;
 
12861
  esac
 
12862
  ;;
 
12863
 
 
12864
sysv4*MP*)
 
12865
  if test -d /usr/nec ;then
 
12866
    version_type=linux # correct to gnu/linux during the next big refactor
 
12867
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 
12868
    soname_spec='$libname${shared_ext}.$major'
 
12869
    shlibpath_var=LD_LIBRARY_PATH
 
12870
  fi
 
12871
  ;;
 
12872
 
 
12873
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
12874
  version_type=freebsd-elf
 
12875
  need_lib_prefix=no
 
12876
  need_version=no
 
12877
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
12878
  soname_spec='${libname}${release}${shared_ext}$major'
 
12879
  shlibpath_var=LD_LIBRARY_PATH
 
12880
  shlibpath_overrides_runpath=yes
 
12881
  hardcode_into_libs=yes
 
12882
  if test "$with_gnu_ld" = yes; then
 
12883
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
12884
  else
 
12885
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
12886
    case $host_os in
 
12887
      sco3.2v5*)
 
12888
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
12889
        ;;
 
12890
    esac
 
12891
  fi
 
12892
  sys_lib_dlsearch_path_spec='/usr/lib'
 
12893
  ;;
 
12894
 
 
12895
tpf*)
 
12896
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
12897
  version_type=linux # correct to gnu/linux during the next big refactor
 
12898
  need_lib_prefix=no
 
12899
  need_version=no
 
12900
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12901
  shlibpath_var=LD_LIBRARY_PATH
 
12902
  shlibpath_overrides_runpath=no
 
12903
  hardcode_into_libs=yes
 
12904
  ;;
 
12905
 
 
12906
uts4*)
 
12907
  version_type=linux # correct to gnu/linux during the next big refactor
 
12908
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12909
  soname_spec='${libname}${release}${shared_ext}$major'
 
12910
  shlibpath_var=LD_LIBRARY_PATH
 
12911
  ;;
 
12912
 
 
12913
*)
 
12914
  dynamic_linker=no
 
12915
  ;;
 
12916
esac
 
12917
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
 
12918
$as_echo "$dynamic_linker" >&6; }
 
12919
test "$dynamic_linker" = no && can_build_shared=no
 
12920
 
 
12921
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
12922
if test "$GCC" = yes; then
 
12923
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
12924
fi
 
12925
 
 
12926
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
12927
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
12928
fi
 
12929
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
12930
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
12931
fi
 
12932
 
 
12933
 
 
12934
 
 
12935
 
 
12936
 
 
12937
 
 
12938
 
 
12939
 
 
12940
 
 
12941
 
 
12942
 
 
12943
 
 
12944
 
 
12945
 
 
12946
 
 
12947
 
 
12948
 
 
12949
 
 
12950
 
 
12951
 
 
12952
 
 
12953
 
 
12954
 
 
12955
 
 
12956
 
 
12957
 
 
12958
 
 
12959
 
 
12960
 
 
12961
 
 
12962
 
 
12963
 
 
12964
 
 
12965
 
 
12966
 
 
12967
 
 
12968
 
 
12969
 
 
12970
 
 
12971
 
 
12972
 
 
12973
 
 
12974
 
 
12975
 
 
12976
 
 
12977
 
 
12978
 
 
12979
 
 
12980
 
 
12981
 
 
12982
 
 
12983
 
 
12984
 
 
12985
 
 
12986
 
 
12987
 
 
12988
 
 
12989
 
 
12990
 
 
12991
 
 
12992
 
 
12993
 
 
12994
 
 
12995
 
 
12996
 
 
12997
 
 
12998
 
 
12999
 
 
13000
 
 
13001
 
 
13002
 
 
13003
 
 
13004
 
 
13005
 
 
13006
 
 
13007
 
 
13008
 
 
13009
 
 
13010
 
 
13011
 
 
13012
 
 
13013
 
 
13014
 
 
13015
 
 
13016
 
 
13017
 
 
13018
 
 
13019
 
 
13020
 
 
13021
 
 
13022
 
 
13023
 
 
13024
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
 
13025
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
 
13026
hardcode_action=
 
13027
if test -n "$hardcode_libdir_flag_spec" ||
 
13028
   test -n "$runpath_var" ||
 
13029
   test "X$hardcode_automatic" = "Xyes" ; then
 
13030
 
 
13031
  # We can hardcode non-existent directories.
 
13032
  if test "$hardcode_direct" != no &&
 
13033
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
 
13034
     # have to relink, otherwise we might link with an installed library
 
13035
     # when we should be linking with a yet-to-be-installed one
 
13036
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
 
13037
     test "$hardcode_minus_L" != no; then
 
13038
    # Linking always hardcodes the temporary library directory.
 
13039
    hardcode_action=relink
 
13040
  else
 
13041
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
 
13042
    hardcode_action=immediate
 
13043
  fi
 
13044
else
 
13045
  # We cannot hardcode anything, or else we can only hardcode existing
 
13046
  # directories.
 
13047
  hardcode_action=unsupported
 
13048
fi
 
13049
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
 
13050
$as_echo "$hardcode_action" >&6; }
 
13051
 
 
13052
if test "$hardcode_action" = relink ||
 
13053
   test "$inherit_rpath" = yes; then
 
13054
  # Fast installation is not supported
 
13055
  enable_fast_install=no
 
13056
elif test "$shlibpath_overrides_runpath" = yes ||
 
13057
     test "$enable_shared" = no; then
 
13058
  # Fast installation is not necessary
 
13059
  enable_fast_install=needless
 
13060
fi
 
13061
 
 
13062
 
 
13063
 
 
13064
 
 
13065
 
 
13066
 
 
13067
  if test "x$enable_dlopen" != xyes; then
 
13068
  enable_dlopen=unknown
 
13069
  enable_dlopen_self=unknown
 
13070
  enable_dlopen_self_static=unknown
 
13071
else
 
13072
  lt_cv_dlopen=no
 
13073
  lt_cv_dlopen_libs=
 
13074
 
 
13075
  case $host_os in
 
13076
  beos*)
 
13077
    lt_cv_dlopen="load_add_on"
 
13078
    lt_cv_dlopen_libs=
 
13079
    lt_cv_dlopen_self=yes
 
13080
    ;;
 
13081
 
 
13082
  mingw* | pw32* | cegcc*)
 
13083
    lt_cv_dlopen="LoadLibrary"
 
13084
    lt_cv_dlopen_libs=
 
13085
    ;;
 
13086
 
 
13087
  cygwin*)
 
13088
    lt_cv_dlopen="dlopen"
 
13089
    lt_cv_dlopen_libs=
 
13090
    ;;
 
13091
 
 
13092
  darwin*)
 
13093
  # if libdl is installed we need to link against it
 
13094
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
13095
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
13096
if ${ac_cv_lib_dl_dlopen+:} false; then :
 
13097
  $as_echo_n "(cached) " >&6
 
13098
else
 
13099
  ac_check_lib_save_LIBS=$LIBS
 
13100
LIBS="-ldl  $LIBS"
 
13101
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13102
/* end confdefs.h.  */
 
13103
 
 
13104
/* Override any GCC internal prototype to avoid an error.
 
13105
   Use char because int might match the return type of a GCC
 
13106
   builtin and then its argument prototype would still apply.  */
 
13107
#ifdef __cplusplus
 
13108
extern "C"
 
13109
#endif
 
13110
char dlopen ();
 
13111
int
 
13112
main ()
 
13113
{
 
13114
return dlopen ();
 
13115
  ;
 
13116
  return 0;
 
13117
}
 
13118
_ACEOF
 
13119
if ac_fn_c_try_link "$LINENO"; then :
 
13120
  ac_cv_lib_dl_dlopen=yes
 
13121
else
 
13122
  ac_cv_lib_dl_dlopen=no
 
13123
fi
 
13124
rm -f core conftest.err conftest.$ac_objext \
 
13125
    conftest$ac_exeext conftest.$ac_ext
 
13126
LIBS=$ac_check_lib_save_LIBS
 
13127
fi
 
13128
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
13129
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
13130
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
 
13131
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
13132
else
 
13133
 
 
13134
    lt_cv_dlopen="dyld"
 
13135
    lt_cv_dlopen_libs=
 
13136
    lt_cv_dlopen_self=yes
 
13137
 
 
13138
fi
 
13139
 
 
13140
    ;;
 
13141
 
 
13142
  *)
 
13143
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
 
13144
if test "x$ac_cv_func_shl_load" = xyes; then :
 
13145
  lt_cv_dlopen="shl_load"
 
13146
else
 
13147
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
 
13148
$as_echo_n "checking for shl_load in -ldld... " >&6; }
 
13149
if ${ac_cv_lib_dld_shl_load+:} false; then :
 
13150
  $as_echo_n "(cached) " >&6
 
13151
else
 
13152
  ac_check_lib_save_LIBS=$LIBS
 
13153
LIBS="-ldld  $LIBS"
 
13154
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13155
/* end confdefs.h.  */
 
13156
 
 
13157
/* Override any GCC internal prototype to avoid an error.
 
13158
   Use char because int might match the return type of a GCC
 
13159
   builtin and then its argument prototype would still apply.  */
 
13160
#ifdef __cplusplus
 
13161
extern "C"
 
13162
#endif
 
13163
char shl_load ();
 
13164
int
 
13165
main ()
 
13166
{
 
13167
return shl_load ();
 
13168
  ;
 
13169
  return 0;
 
13170
}
 
13171
_ACEOF
 
13172
if ac_fn_c_try_link "$LINENO"; then :
 
13173
  ac_cv_lib_dld_shl_load=yes
 
13174
else
 
13175
  ac_cv_lib_dld_shl_load=no
 
13176
fi
 
13177
rm -f core conftest.err conftest.$ac_objext \
 
13178
    conftest$ac_exeext conftest.$ac_ext
 
13179
LIBS=$ac_check_lib_save_LIBS
 
13180
fi
 
13181
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
 
13182
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
 
13183
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
 
13184
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
 
13185
else
 
13186
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
 
13187
if test "x$ac_cv_func_dlopen" = xyes; then :
 
13188
  lt_cv_dlopen="dlopen"
 
13189
else
 
13190
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
13191
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
13192
if ${ac_cv_lib_dl_dlopen+:} false; then :
 
13193
  $as_echo_n "(cached) " >&6
 
13194
else
 
13195
  ac_check_lib_save_LIBS=$LIBS
 
13196
LIBS="-ldl  $LIBS"
 
13197
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13198
/* end confdefs.h.  */
 
13199
 
 
13200
/* Override any GCC internal prototype to avoid an error.
 
13201
   Use char because int might match the return type of a GCC
 
13202
   builtin and then its argument prototype would still apply.  */
 
13203
#ifdef __cplusplus
 
13204
extern "C"
 
13205
#endif
 
13206
char dlopen ();
 
13207
int
 
13208
main ()
 
13209
{
 
13210
return dlopen ();
 
13211
  ;
 
13212
  return 0;
 
13213
}
 
13214
_ACEOF
 
13215
if ac_fn_c_try_link "$LINENO"; then :
 
13216
  ac_cv_lib_dl_dlopen=yes
 
13217
else
 
13218
  ac_cv_lib_dl_dlopen=no
 
13219
fi
 
13220
rm -f core conftest.err conftest.$ac_objext \
 
13221
    conftest$ac_exeext conftest.$ac_ext
 
13222
LIBS=$ac_check_lib_save_LIBS
 
13223
fi
 
13224
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
13225
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
13226
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
 
13227
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
13228
else
 
13229
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
 
13230
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
 
13231
if ${ac_cv_lib_svld_dlopen+:} false; then :
 
13232
  $as_echo_n "(cached) " >&6
 
13233
else
 
13234
  ac_check_lib_save_LIBS=$LIBS
 
13235
LIBS="-lsvld  $LIBS"
 
13236
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13237
/* end confdefs.h.  */
 
13238
 
 
13239
/* Override any GCC internal prototype to avoid an error.
 
13240
   Use char because int might match the return type of a GCC
 
13241
   builtin and then its argument prototype would still apply.  */
 
13242
#ifdef __cplusplus
 
13243
extern "C"
 
13244
#endif
 
13245
char dlopen ();
 
13246
int
 
13247
main ()
 
13248
{
 
13249
return dlopen ();
 
13250
  ;
 
13251
  return 0;
 
13252
}
 
13253
_ACEOF
 
13254
if ac_fn_c_try_link "$LINENO"; then :
 
13255
  ac_cv_lib_svld_dlopen=yes
 
13256
else
 
13257
  ac_cv_lib_svld_dlopen=no
 
13258
fi
 
13259
rm -f core conftest.err conftest.$ac_objext \
 
13260
    conftest$ac_exeext conftest.$ac_ext
 
13261
LIBS=$ac_check_lib_save_LIBS
 
13262
fi
 
13263
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
 
13264
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
 
13265
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
 
13266
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
 
13267
else
 
13268
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
 
13269
$as_echo_n "checking for dld_link in -ldld... " >&6; }
 
13270
if ${ac_cv_lib_dld_dld_link+:} false; then :
 
13271
  $as_echo_n "(cached) " >&6
 
13272
else
 
13273
  ac_check_lib_save_LIBS=$LIBS
 
13274
LIBS="-ldld  $LIBS"
 
13275
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13276
/* end confdefs.h.  */
 
13277
 
 
13278
/* Override any GCC internal prototype to avoid an error.
 
13279
   Use char because int might match the return type of a GCC
 
13280
   builtin and then its argument prototype would still apply.  */
 
13281
#ifdef __cplusplus
 
13282
extern "C"
 
13283
#endif
 
13284
char dld_link ();
 
13285
int
 
13286
main ()
 
13287
{
 
13288
return dld_link ();
 
13289
  ;
 
13290
  return 0;
 
13291
}
 
13292
_ACEOF
 
13293
if ac_fn_c_try_link "$LINENO"; then :
 
13294
  ac_cv_lib_dld_dld_link=yes
 
13295
else
 
13296
  ac_cv_lib_dld_dld_link=no
 
13297
fi
 
13298
rm -f core conftest.err conftest.$ac_objext \
 
13299
    conftest$ac_exeext conftest.$ac_ext
 
13300
LIBS=$ac_check_lib_save_LIBS
 
13301
fi
 
13302
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
 
13303
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
 
13304
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
 
13305
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
 
13306
fi
 
13307
 
 
13308
 
 
13309
fi
 
13310
 
 
13311
 
 
13312
fi
 
13313
 
 
13314
 
 
13315
fi
 
13316
 
 
13317
 
 
13318
fi
 
13319
 
 
13320
 
 
13321
fi
 
13322
 
 
13323
    ;;
 
13324
  esac
 
13325
 
 
13326
  if test "x$lt_cv_dlopen" != xno; then
 
13327
    enable_dlopen=yes
 
13328
  else
 
13329
    enable_dlopen=no
 
13330
  fi
 
13331
 
 
13332
  case $lt_cv_dlopen in
 
13333
  dlopen)
 
13334
    save_CPPFLAGS="$CPPFLAGS"
 
13335
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
 
13336
 
 
13337
    save_LDFLAGS="$LDFLAGS"
 
13338
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 
13339
 
 
13340
    save_LIBS="$LIBS"
 
13341
    LIBS="$lt_cv_dlopen_libs $LIBS"
 
13342
 
 
13343
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
 
13344
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
 
13345
if ${lt_cv_dlopen_self+:} false; then :
 
13346
  $as_echo_n "(cached) " >&6
 
13347
else
 
13348
          if test "$cross_compiling" = yes; then :
 
13349
  lt_cv_dlopen_self=cross
 
13350
else
 
13351
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
13352
  lt_status=$lt_dlunknown
 
13353
  cat > conftest.$ac_ext <<_LT_EOF
 
13354
#line $LINENO "configure"
 
13355
#include "confdefs.h"
 
13356
 
 
13357
#if HAVE_DLFCN_H
 
13358
#include <dlfcn.h>
 
13359
#endif
 
13360
 
 
13361
#include <stdio.h>
 
13362
 
 
13363
#ifdef RTLD_GLOBAL
 
13364
#  define LT_DLGLOBAL           RTLD_GLOBAL
 
13365
#else
 
13366
#  ifdef DL_GLOBAL
 
13367
#    define LT_DLGLOBAL         DL_GLOBAL
 
13368
#  else
 
13369
#    define LT_DLGLOBAL         0
 
13370
#  endif
 
13371
#endif
 
13372
 
 
13373
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
13374
   find out it does not work in some platform. */
 
13375
#ifndef LT_DLLAZY_OR_NOW
 
13376
#  ifdef RTLD_LAZY
 
13377
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
 
13378
#  else
 
13379
#    ifdef DL_LAZY
 
13380
#      define LT_DLLAZY_OR_NOW          DL_LAZY
 
13381
#    else
 
13382
#      ifdef RTLD_NOW
 
13383
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
 
13384
#      else
 
13385
#        ifdef DL_NOW
 
13386
#          define LT_DLLAZY_OR_NOW      DL_NOW
 
13387
#        else
 
13388
#          define LT_DLLAZY_OR_NOW      0
 
13389
#        endif
 
13390
#      endif
 
13391
#    endif
 
13392
#  endif
 
13393
#endif
 
13394
 
 
13395
/* When -fvisbility=hidden is used, assume the code has been annotated
 
13396
   correspondingly for the symbols needed.  */
 
13397
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
13398
int fnord () __attribute__((visibility("default")));
 
13399
#endif
 
13400
 
 
13401
int fnord () { return 42; }
 
13402
int main ()
 
13403
{
 
13404
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
13405
  int status = $lt_dlunknown;
 
13406
 
 
13407
  if (self)
 
13408
    {
 
13409
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
13410
      else
 
13411
        {
 
13412
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
13413
          else puts (dlerror ());
 
13414
        }
 
13415
      /* dlclose (self); */
 
13416
    }
 
13417
  else
 
13418
    puts (dlerror ());
 
13419
 
 
13420
  return status;
 
13421
}
 
13422
_LT_EOF
 
13423
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
13424
  (eval $ac_link) 2>&5
 
13425
  ac_status=$?
 
13426
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13427
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
 
13428
    (./conftest; exit; ) >&5 2>/dev/null
 
13429
    lt_status=$?
 
13430
    case x$lt_status in
 
13431
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
 
13432
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
 
13433
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
 
13434
    esac
 
13435
  else :
 
13436
    # compilation failed
 
13437
    lt_cv_dlopen_self=no
 
13438
  fi
 
13439
fi
 
13440
rm -fr conftest*
 
13441
 
 
13442
 
 
13443
fi
 
13444
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
 
13445
$as_echo "$lt_cv_dlopen_self" >&6; }
 
13446
 
 
13447
    if test "x$lt_cv_dlopen_self" = xyes; then
 
13448
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
 
13449
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
 
13450
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
 
13451
if ${lt_cv_dlopen_self_static+:} false; then :
 
13452
  $as_echo_n "(cached) " >&6
 
13453
else
 
13454
          if test "$cross_compiling" = yes; then :
 
13455
  lt_cv_dlopen_self_static=cross
 
13456
else
 
13457
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
13458
  lt_status=$lt_dlunknown
 
13459
  cat > conftest.$ac_ext <<_LT_EOF
 
13460
#line $LINENO "configure"
 
13461
#include "confdefs.h"
 
13462
 
 
13463
#if HAVE_DLFCN_H
 
13464
#include <dlfcn.h>
 
13465
#endif
 
13466
 
 
13467
#include <stdio.h>
 
13468
 
 
13469
#ifdef RTLD_GLOBAL
 
13470
#  define LT_DLGLOBAL           RTLD_GLOBAL
 
13471
#else
 
13472
#  ifdef DL_GLOBAL
 
13473
#    define LT_DLGLOBAL         DL_GLOBAL
 
13474
#  else
 
13475
#    define LT_DLGLOBAL         0
 
13476
#  endif
 
13477
#endif
 
13478
 
 
13479
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
13480
   find out it does not work in some platform. */
 
13481
#ifndef LT_DLLAZY_OR_NOW
 
13482
#  ifdef RTLD_LAZY
 
13483
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
 
13484
#  else
 
13485
#    ifdef DL_LAZY
 
13486
#      define LT_DLLAZY_OR_NOW          DL_LAZY
 
13487
#    else
 
13488
#      ifdef RTLD_NOW
 
13489
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
 
13490
#      else
 
13491
#        ifdef DL_NOW
 
13492
#          define LT_DLLAZY_OR_NOW      DL_NOW
 
13493
#        else
 
13494
#          define LT_DLLAZY_OR_NOW      0
 
13495
#        endif
 
13496
#      endif
 
13497
#    endif
 
13498
#  endif
 
13499
#endif
 
13500
 
 
13501
/* When -fvisbility=hidden is used, assume the code has been annotated
 
13502
   correspondingly for the symbols needed.  */
 
13503
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
13504
int fnord () __attribute__((visibility("default")));
 
13505
#endif
 
13506
 
 
13507
int fnord () { return 42; }
 
13508
int main ()
 
13509
{
 
13510
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
13511
  int status = $lt_dlunknown;
 
13512
 
 
13513
  if (self)
 
13514
    {
 
13515
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
13516
      else
 
13517
        {
 
13518
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
13519
          else puts (dlerror ());
 
13520
        }
 
13521
      /* dlclose (self); */
 
13522
    }
 
13523
  else
 
13524
    puts (dlerror ());
 
13525
 
 
13526
  return status;
 
13527
}
 
13528
_LT_EOF
 
13529
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
13530
  (eval $ac_link) 2>&5
 
13531
  ac_status=$?
 
13532
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13533
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
 
13534
    (./conftest; exit; ) >&5 2>/dev/null
 
13535
    lt_status=$?
 
13536
    case x$lt_status in
 
13537
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
 
13538
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
 
13539
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
 
13540
    esac
 
13541
  else :
 
13542
    # compilation failed
 
13543
    lt_cv_dlopen_self_static=no
 
13544
  fi
 
13545
fi
 
13546
rm -fr conftest*
 
13547
 
 
13548
 
 
13549
fi
 
13550
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
 
13551
$as_echo "$lt_cv_dlopen_self_static" >&6; }
 
13552
    fi
 
13553
 
 
13554
    CPPFLAGS="$save_CPPFLAGS"
 
13555
    LDFLAGS="$save_LDFLAGS"
 
13556
    LIBS="$save_LIBS"
 
13557
    ;;
 
13558
  esac
 
13559
 
 
13560
  case $lt_cv_dlopen_self in
 
13561
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
 
13562
  *) enable_dlopen_self=unknown ;;
 
13563
  esac
 
13564
 
 
13565
  case $lt_cv_dlopen_self_static in
 
13566
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
 
13567
  *) enable_dlopen_self_static=unknown ;;
 
13568
  esac
 
13569
fi
 
13570
 
 
13571
 
 
13572
 
 
13573
 
 
13574
 
 
13575
 
 
13576
 
 
13577
 
 
13578
 
 
13579
 
 
13580
 
 
13581
 
 
13582
 
 
13583
 
 
13584
 
 
13585
 
 
13586
 
 
13587
striplib=
 
13588
old_striplib=
 
13589
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
 
13590
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
 
13591
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 
13592
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
13593
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
13594
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
13595
$as_echo "yes" >&6; }
 
13596
else
 
13597
# FIXME - insert some real tests, host_os isn't really good enough
 
13598
  case $host_os in
 
13599
  darwin*)
 
13600
    if test -n "$STRIP" ; then
 
13601
      striplib="$STRIP -x"
 
13602
      old_striplib="$STRIP -S"
 
13603
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
13604
$as_echo "yes" >&6; }
 
13605
    else
 
13606
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13607
$as_echo "no" >&6; }
 
13608
    fi
 
13609
    ;;
 
13610
  *)
 
13611
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13612
$as_echo "no" >&6; }
 
13613
    ;;
 
13614
  esac
 
13615
fi
 
13616
 
 
13617
 
 
13618
 
 
13619
 
 
13620
 
 
13621
 
 
13622
 
 
13623
 
 
13624
 
 
13625
 
 
13626
 
 
13627
 
 
13628
  # Report which library types will actually be built
 
13629
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
 
13630
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
13631
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
 
13632
$as_echo "$can_build_shared" >&6; }
 
13633
 
 
13634
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
 
13635
$as_echo_n "checking whether to build shared libraries... " >&6; }
 
13636
  test "$can_build_shared" = "no" && enable_shared=no
 
13637
 
 
13638
  # On AIX, shared libraries and static libraries use the same namespace, and
 
13639
  # are all built from PIC.
 
13640
  case $host_os in
 
13641
  aix3*)
 
13642
    test "$enable_shared" = yes && enable_static=no
 
13643
    if test -n "$RANLIB"; then
 
13644
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
13645
      postinstall_cmds='$RANLIB $lib'
 
13646
    fi
 
13647
    ;;
 
13648
 
 
13649
  aix[4-9]*)
 
13650
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
13651
      test "$enable_shared" = yes && enable_static=no
 
13652
    fi
 
13653
    ;;
 
13654
  esac
 
13655
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
 
13656
$as_echo "$enable_shared" >&6; }
 
13657
 
 
13658
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
 
13659
$as_echo_n "checking whether to build static libraries... " >&6; }
 
13660
  # Make sure either enable_shared or enable_static is yes.
 
13661
  test "$enable_shared" = yes || enable_static=yes
 
13662
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
 
13663
$as_echo "$enable_static" >&6; }
 
13664
 
 
13665
 
 
13666
 
 
13667
 
 
13668
fi
 
13669
ac_ext=c
 
13670
ac_cpp='$CPP $CPPFLAGS'
 
13671
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
13672
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
13673
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
13674
 
 
13675
CC="$lt_save_CC"
 
13676
 
 
13677
 
 
13678
 
 
13679
 
 
13680
 
 
13681
 
 
13682
 
 
13683
 
 
13684
 
 
13685
 
 
13686
 
 
13687
 
 
13688
 
 
13689
 
 
13690
 
 
13691
        ac_config_commands="$ac_config_commands libtool"
 
13692
 
 
13693
 
 
13694
 
 
13695
 
 
13696
# Only expand once:
 
13697
 
 
13698
 
 
13699
 
 
13700
: ${CONFIG_LT=./config.lt}
 
13701
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_LT" >&5
 
13702
$as_echo "$as_me: creating $CONFIG_LT" >&6;}
 
13703
as_write_fail=0
 
13704
cat >"$CONFIG_LT" <<_ASEOF || as_write_fail=1
 
13705
#! $SHELL
 
13706
# Generated by $as_me.
 
13707
# Run this file to recreate a libtool stub with the current configuration.
 
13708
SHELL=\${CONFIG_SHELL-$SHELL}
 
13709
export SHELL
 
13710
_ASEOF
 
13711
cat >>"$CONFIG_LT" <<\_ASEOF || as_write_fail=1
 
13712
## -------------------- ##
 
13713
## M4sh Initialization. ##
 
13714
## -------------------- ##
 
13715
 
 
13716
# Be more Bourne compatible
 
13717
DUALCASE=1; export DUALCASE # for MKS sh
 
13718
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 
13719
  emulate sh
 
13720
  NULLCMD=:
 
13721
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
13722
  # is contrary to our usage.  Disable this feature.
 
13723
  alias -g '${1+"$@"}'='"$@"'
 
13724
  setopt NO_GLOB_SUBST
 
13725
else
 
13726
  case `(set -o) 2>/dev/null` in #(
 
13727
  *posix*) :
 
13728
    set -o posix ;; #(
 
13729
  *) :
 
13730
     ;;
 
13731
esac
 
13732
fi
 
13733
 
 
13734
 
 
13735
as_nl='
 
13736
'
 
13737
export as_nl
 
13738
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
13739
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
13740
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
13741
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
13742
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
13743
# but without wasting forks for bash or zsh.
 
13744
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
13745
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
13746
  as_echo='print -r --'
 
13747
  as_echo_n='print -rn --'
 
13748
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
13749
  as_echo='printf %s\n'
 
13750
  as_echo_n='printf %s'
 
13751
else
 
13752
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
13753
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
13754
    as_echo_n='/usr/ucb/echo -n'
 
13755
  else
 
13756
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
13757
    as_echo_n_body='eval
 
13758
      arg=$1;
 
13759
      case $arg in #(
 
13760
      *"$as_nl"*)
 
13761
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
13762
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
13763
      esac;
 
13764
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
13765
    '
 
13766
    export as_echo_n_body
 
13767
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
13768
  fi
 
13769
  export as_echo_body
 
13770
  as_echo='sh -c $as_echo_body as_echo'
 
13771
fi
 
13772
 
 
13773
# The user is always right.
 
13774
if test "${PATH_SEPARATOR+set}" != set; then
 
13775
  PATH_SEPARATOR=:
 
13776
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
13777
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
13778
      PATH_SEPARATOR=';'
 
13779
  }
 
13780
fi
 
13781
 
 
13782
 
 
13783
# IFS
 
13784
# We need space, tab and new line, in precisely that order.  Quoting is
 
13785
# there to prevent editors from complaining about space-tab.
 
13786
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
13787
# splitting by setting IFS to empty value.)
 
13788
IFS=" ""        $as_nl"
 
13789
 
 
13790
# Find who we are.  Look in the path if we contain no directory separator.
 
13791
as_myself=
 
13792
case $0 in #((
 
13793
  *[\\/]* ) as_myself=$0 ;;
 
13794
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
13795
for as_dir in $PATH
 
13796
do
 
13797
  IFS=$as_save_IFS
 
13798
  test -z "$as_dir" && as_dir=.
 
13799
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
13800
  done
 
13801
IFS=$as_save_IFS
 
13802
 
 
13803
     ;;
 
13804
esac
 
13805
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
13806
# in which case we are not to be found in the path.
 
13807
if test "x$as_myself" = x; then
 
13808
  as_myself=$0
 
13809
fi
 
13810
if test ! -f "$as_myself"; then
 
13811
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
13812
  exit 1
 
13813
fi
 
13814
 
 
13815
# Unset variables that we do not need and which cause bugs (e.g. in
 
13816
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
13817
# suppresses any "Segmentation fault" message there.  '((' could
 
13818
# trigger a bug in pdksh 5.2.14.
 
13819
for as_var in BASH_ENV ENV MAIL MAILPATH
 
13820
do eval test x\${$as_var+set} = xset \
 
13821
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 
13822
done
 
13823
PS1='$ '
 
13824
PS2='> '
 
13825
PS4='+ '
 
13826
 
 
13827
# NLS nuisances.
 
13828
LC_ALL=C
 
13829
export LC_ALL
 
13830
LANGUAGE=C
 
13831
export LANGUAGE
 
13832
 
 
13833
# CDPATH.
 
13834
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
13835
 
 
13836
 
 
13837
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
13838
# ----------------------------------------
 
13839
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
13840
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
13841
# script with STATUS, using 1 if that was 0.
 
13842
as_fn_error ()
 
13843
{
 
13844
  as_status=$1; test $as_status -eq 0 && as_status=1
 
13845
  if test "$4"; then
 
13846
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
13847
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
13848
  fi
 
13849
  $as_echo "$as_me: error: $2" >&2
 
13850
  as_fn_exit $as_status
 
13851
} # as_fn_error
 
13852
 
 
13853
 
 
13854
# as_fn_set_status STATUS
 
13855
# -----------------------
 
13856
# Set $? to STATUS, without forking.
 
13857
as_fn_set_status ()
 
13858
{
 
13859
  return $1
 
13860
} # as_fn_set_status
 
13861
 
 
13862
# as_fn_exit STATUS
 
13863
# -----------------
 
13864
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
13865
as_fn_exit ()
 
13866
{
 
13867
  set +e
 
13868
  as_fn_set_status $1
 
13869
  exit $1
 
13870
} # as_fn_exit
 
13871
 
 
13872
# as_fn_unset VAR
 
13873
# ---------------
 
13874
# Portably unset VAR.
 
13875
as_fn_unset ()
 
13876
{
 
13877
  { eval $1=; unset $1;}
 
13878
}
 
13879
as_unset=as_fn_unset
 
13880
# as_fn_append VAR VALUE
 
13881
# ----------------------
 
13882
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
13883
# advantage of any shell optimizations that allow amortized linear growth over
 
13884
# repeated appends, instead of the typical quadratic growth present in naive
 
13885
# implementations.
 
13886
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
13887
  eval 'as_fn_append ()
 
13888
  {
 
13889
    eval $1+=\$2
 
13890
  }'
 
13891
else
 
13892
  as_fn_append ()
 
13893
  {
 
13894
    eval $1=\$$1\$2
 
13895
  }
 
13896
fi # as_fn_append
 
13897
 
 
13898
# as_fn_arith ARG...
 
13899
# ------------------
 
13900
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
13901
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
13902
# must be portable across $(()) and expr.
 
13903
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
13904
  eval 'as_fn_arith ()
 
13905
  {
 
13906
    as_val=$(( $* ))
 
13907
  }'
 
13908
else
 
13909
  as_fn_arith ()
 
13910
  {
 
13911
    as_val=`expr "$@" || test $? -eq 1`
 
13912
  }
 
13913
fi # as_fn_arith
 
13914
 
 
13915
 
 
13916
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
13917
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
13918
  as_expr=expr
 
13919
else
 
13920
  as_expr=false
 
13921
fi
 
13922
 
 
13923
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
13924
  as_basename=basename
 
13925
else
 
13926
  as_basename=false
 
13927
fi
 
13928
 
 
13929
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
13930
  as_dirname=dirname
 
13931
else
 
13932
  as_dirname=false
 
13933
fi
 
13934
 
 
13935
as_me=`$as_basename -- "$0" ||
 
13936
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
13937
         X"$0" : 'X\(//\)$' \| \
 
13938
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
13939
$as_echo X/"$0" |
 
13940
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
13941
            s//\1/
 
13942
            q
 
13943
          }
 
13944
          /^X\/\(\/\/\)$/{
 
13945
            s//\1/
 
13946
            q
 
13947
          }
 
13948
          /^X\/\(\/\).*/{
 
13949
            s//\1/
 
13950
            q
 
13951
          }
 
13952
          s/.*/./; q'`
 
13953
 
 
13954
# Avoid depending upon Character Ranges.
 
13955
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
13956
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
13957
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
13958
as_cr_digits='0123456789'
 
13959
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
13960
 
 
13961
ECHO_C= ECHO_N= ECHO_T=
 
13962
case `echo -n x` in #(((((
 
13963
-n*)
 
13964
  case `echo 'xy\c'` in
 
13965
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
13966
  xy)  ECHO_C='\c';;
 
13967
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
13968
       ECHO_T=' ';;
 
13969
  esac;;
 
13970
*)
 
13971
  ECHO_N='-n';;
 
13972
esac
 
13973
 
 
13974
rm -f conf$$ conf$$.exe conf$$.file
 
13975
if test -d conf$$.dir; then
 
13976
  rm -f conf$$.dir/conf$$.file
 
13977
else
 
13978
  rm -f conf$$.dir
 
13979
  mkdir conf$$.dir 2>/dev/null
 
13980
fi
 
13981
if (echo >conf$$.file) 2>/dev/null; then
 
13982
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
13983
    as_ln_s='ln -s'
 
13984
    # ... but there are two gotchas:
 
13985
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
13986
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
13987
    # In both cases, we have to default to `cp -pR'.
 
13988
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
13989
      as_ln_s='cp -pR'
 
13990
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
13991
    as_ln_s=ln
 
13992
  else
 
13993
    as_ln_s='cp -pR'
 
13994
  fi
 
13995
else
 
13996
  as_ln_s='cp -pR'
 
13997
fi
 
13998
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
13999
rmdir conf$$.dir 2>/dev/null
 
14000
 
 
14001
 
 
14002
# as_fn_mkdir_p
 
14003
# -------------
 
14004
# Create "$as_dir" as a directory, including parents if necessary.
 
14005
as_fn_mkdir_p ()
 
14006
{
 
14007
 
 
14008
  case $as_dir in #(
 
14009
  -*) as_dir=./$as_dir;;
 
14010
  esac
 
14011
  test -d "$as_dir" || eval $as_mkdir_p || {
 
14012
    as_dirs=
 
14013
    while :; do
 
14014
      case $as_dir in #(
 
14015
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
14016
      *) as_qdir=$as_dir;;
 
14017
      esac
 
14018
      as_dirs="'$as_qdir' $as_dirs"
 
14019
      as_dir=`$as_dirname -- "$as_dir" ||
 
14020
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
14021
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
14022
         X"$as_dir" : 'X\(//\)$' \| \
 
14023
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
14024
$as_echo X"$as_dir" |
 
14025
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
14026
            s//\1/
 
14027
            q
 
14028
          }
 
14029
          /^X\(\/\/\)[^/].*/{
 
14030
            s//\1/
 
14031
            q
 
14032
          }
 
14033
          /^X\(\/\/\)$/{
 
14034
            s//\1/
 
14035
            q
 
14036
          }
 
14037
          /^X\(\/\).*/{
 
14038
            s//\1/
 
14039
            q
 
14040
          }
 
14041
          s/.*/./; q'`
 
14042
      test -d "$as_dir" && break
 
14043
    done
 
14044
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
14045
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
14046
 
 
14047
 
 
14048
} # as_fn_mkdir_p
 
14049
if mkdir -p . 2>/dev/null; then
 
14050
  as_mkdir_p='mkdir -p "$as_dir"'
 
14051
else
 
14052
  test -d ./-p && rmdir ./-p
 
14053
  as_mkdir_p=false
 
14054
fi
 
14055
 
 
14056
 
 
14057
# as_fn_executable_p FILE
 
14058
# -----------------------
 
14059
# Test if FILE is an executable regular file.
 
14060
as_fn_executable_p ()
 
14061
{
 
14062
  test -f "$1" && test -x "$1"
 
14063
} # as_fn_executable_p
 
14064
as_test_x='test -x'
 
14065
as_executable_p=as_fn_executable_p
 
14066
 
 
14067
# Sed expression to map a string onto a valid CPP name.
 
14068
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
14069
 
 
14070
# Sed expression to map a string onto a valid variable name.
 
14071
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
14072
 
 
14073
 
 
14074
exec 6>&1
 
14075
## --------------------------------- ##
 
14076
## Main body of "$CONFIG_LT" script. ##
 
14077
## --------------------------------- ##
 
14078
_ASEOF
 
14079
test $as_write_fail = 0 && chmod +x "$CONFIG_LT"
 
14080
 
 
14081
cat >>"$CONFIG_LT" <<\_LTEOF
 
14082
lt_cl_silent=false
 
14083
exec 5>>config.log
 
14084
{
 
14085
  echo
 
14086
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
14087
## Running $as_me. ##
 
14088
_ASBOX
 
14089
} >&5
 
14090
 
 
14091
lt_cl_help="\
 
14092
\`$as_me' creates a local libtool stub from the current configuration,
 
14093
for use in further configure time tests before the real libtool is
 
14094
generated.
 
14095
 
 
14096
Usage: $0 [OPTIONS]
 
14097
 
 
14098
  -h, --help      print this help, then exit
 
14099
  -V, --version   print version number, then exit
 
14100
  -q, --quiet     do not print progress messages
 
14101
  -d, --debug     don't remove temporary files
 
14102
 
 
14103
Report bugs to <bug-libtool@gnu.org>."
 
14104
 
 
14105
lt_cl_version="\
 
14106
rhythmbox config.lt 3.0.1
 
14107
configured by $0, generated by GNU Autoconf 2.69.
 
14108
 
 
14109
Copyright (C) 2011 Free Software Foundation, Inc.
 
14110
This config.lt script is free software; the Free Software Foundation
 
14111
gives unlimited permision to copy, distribute and modify it."
 
14112
 
 
14113
while test $# != 0
 
14114
do
 
14115
  case $1 in
 
14116
    --version | --v* | -V )
 
14117
      echo "$lt_cl_version"; exit 0 ;;
 
14118
    --help | --h* | -h )
 
14119
      echo "$lt_cl_help"; exit 0 ;;
 
14120
    --debug | --d* | -d )
 
14121
      debug=: ;;
 
14122
    --quiet | --q* | --silent | --s* | -q )
 
14123
      lt_cl_silent=: ;;
 
14124
 
 
14125
    -*) as_fn_error $? "unrecognized option: $1
 
14126
Try \`$0 --help' for more information." "$LINENO" 5 ;;
 
14127
 
 
14128
    *) as_fn_error $? "unrecognized argument: $1
 
14129
Try \`$0 --help' for more information." "$LINENO" 5 ;;
 
14130
  esac
 
14131
  shift
 
14132
done
 
14133
 
 
14134
if $lt_cl_silent; then
 
14135
  exec 6>/dev/null
 
14136
fi
 
14137
_LTEOF
 
14138
 
 
14139
cat >>"$CONFIG_LT" <<_LTEOF
 
14140
 
 
14141
 
 
14142
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
14143
# if CDPATH is set.
 
14144
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
14145
 
 
14146
sed_quote_subst='$sed_quote_subst'
 
14147
double_quote_subst='$double_quote_subst'
 
14148
delay_variable_subst='$delay_variable_subst'
 
14149
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
 
14150
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
 
14151
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
 
14152
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
 
14153
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
 
14154
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
 
14155
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
 
14156
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
 
14157
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
 
14158
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
 
14159
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
 
14160
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
 
14161
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
 
14162
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
 
14163
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
 
14164
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
 
14165
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
 
14166
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
 
14167
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
 
14168
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
 
14169
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
 
14170
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
 
14171
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
 
14172
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
 
14173
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
 
14174
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
 
14175
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
 
14176
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
 
14177
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
 
14178
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
 
14179
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
 
14180
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
 
14181
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
 
14182
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
 
14183
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
 
14184
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
 
14185
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
 
14186
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
 
14187
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
 
14188
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
 
14189
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
 
14190
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
 
14191
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
 
14192
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
 
14193
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
 
14194
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
14195
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
14196
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
 
14197
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
 
14198
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
 
14199
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
 
14200
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
 
14201
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
 
14202
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
 
14203
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
 
14204
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
 
14205
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"`'
 
14206
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
 
14207
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
 
14208
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
 
14209
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
 
14210
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
 
14211
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
 
14212
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
 
14213
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
 
14214
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
 
14215
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
 
14216
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
 
14217
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
 
14218
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
 
14219
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
 
14220
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
 
14221
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
 
14222
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
 
14223
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
 
14224
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
14225
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
 
14226
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
 
14227
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
 
14228
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
 
14229
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
 
14230
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
 
14231
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
14232
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
 
14233
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
14234
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
 
14235
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
14236
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
 
14237
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
14238
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
14239
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
 
14240
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
 
14241
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
 
14242
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
 
14243
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
 
14244
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
14245
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
 
14246
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
 
14247
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
 
14248
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
 
14249
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
 
14250
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
 
14251
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
 
14252
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
 
14253
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
 
14254
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
 
14255
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
 
14256
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
14257
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
 
14258
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
 
14259
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
 
14260
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
14261
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
 
14262
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
 
14263
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
 
14264
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
 
14265
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
 
14266
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
14267
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
14268
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
 
14269
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
 
14270
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
 
14271
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
 
14272
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
 
14273
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
 
14274
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
 
14275
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
 
14276
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
 
14277
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
 
14278
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
 
14279
 
 
14280
LTCC='$LTCC'
 
14281
LTCFLAGS='$LTCFLAGS'
 
14282
compiler='$compiler_DEFAULT'
 
14283
 
 
14284
# A function that is used when there is no print builtin or printf.
 
14285
func_fallback_echo ()
 
14286
{
 
14287
  eval 'cat <<_LTECHO_EOF
 
14288
\$1
 
14289
_LTECHO_EOF'
 
14290
}
 
14291
 
 
14292
# Quote evaled strings.
 
14293
for var in SHELL \
 
14294
ECHO \
 
14295
PATH_SEPARATOR \
 
14296
SED \
 
14297
GREP \
 
14298
EGREP \
 
14299
FGREP \
 
14300
LD \
 
14301
NM \
 
14302
LN_S \
 
14303
lt_SP2NL \
 
14304
lt_NL2SP \
 
14305
reload_flag \
 
14306
OBJDUMP \
 
14307
deplibs_check_method \
 
14308
file_magic_cmd \
 
14309
file_magic_glob \
 
14310
want_nocaseglob \
 
14311
DLLTOOL \
 
14312
sharedlib_from_linklib_cmd \
 
14313
AR \
 
14314
AR_FLAGS \
 
14315
archiver_list_spec \
 
14316
STRIP \
 
14317
RANLIB \
 
14318
CC \
 
14319
CFLAGS \
 
14320
compiler \
 
14321
lt_cv_sys_global_symbol_pipe \
 
14322
lt_cv_sys_global_symbol_to_cdecl \
 
14323
lt_cv_sys_global_symbol_to_c_name_address \
 
14324
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
14325
nm_file_list_spec \
 
14326
lt_prog_compiler_no_builtin_flag \
 
14327
lt_prog_compiler_pic \
 
14328
lt_prog_compiler_wl \
 
14329
lt_prog_compiler_static \
 
14330
lt_cv_prog_compiler_c_o \
 
14331
need_locks \
 
14332
MANIFEST_TOOL \
 
14333
DSYMUTIL \
 
14334
NMEDIT \
 
14335
LIPO \
 
14336
OTOOL \
 
14337
OTOOL64 \
 
14338
shrext_cmds \
 
14339
export_dynamic_flag_spec \
 
14340
whole_archive_flag_spec \
 
14341
compiler_needs_object \
 
14342
with_gnu_ld \
 
14343
allow_undefined_flag \
 
14344
no_undefined_flag \
 
14345
hardcode_libdir_flag_spec \
 
14346
hardcode_libdir_separator \
 
14347
exclude_expsyms \
 
14348
include_expsyms \
 
14349
file_list_spec \
 
14350
variables_saved_for_relink \
 
14351
libname_spec \
 
14352
library_names_spec \
 
14353
soname_spec \
 
14354
install_override_mode \
 
14355
finish_eval \
 
14356
old_striplib \
 
14357
striplib; do
 
14358
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
 
14359
    *[\\\\\\\`\\"\\\$]*)
 
14360
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
14361
      ;;
 
14362
    *)
 
14363
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
14364
      ;;
 
14365
    esac
 
14366
done
 
14367
 
 
14368
# Double-quote double-evaled strings.
 
14369
for var in reload_cmds \
 
14370
old_postinstall_cmds \
 
14371
old_postuninstall_cmds \
 
14372
old_archive_cmds \
 
14373
extract_expsyms_cmds \
 
14374
old_archive_from_new_cmds \
 
14375
old_archive_from_expsyms_cmds \
 
14376
archive_cmds \
 
14377
archive_expsym_cmds \
 
14378
module_cmds \
 
14379
module_expsym_cmds \
 
14380
export_symbols_cmds \
 
14381
prelink_cmds \
 
14382
postlink_cmds \
 
14383
postinstall_cmds \
 
14384
postuninstall_cmds \
 
14385
finish_cmds \
 
14386
sys_lib_search_path_spec \
 
14387
sys_lib_dlsearch_path_spec; do
 
14388
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
 
14389
    *[\\\\\\\`\\"\\\$]*)
 
14390
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
14391
      ;;
 
14392
    *)
 
14393
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
14394
      ;;
 
14395
    esac
 
14396
done
 
14397
 
 
14398
ac_aux_dir='$ac_aux_dir'
 
14399
xsi_shell='$xsi_shell'
 
14400
lt_shell_append='$lt_shell_append'
 
14401
 
 
14402
# See if we are running on zsh, and set the options which allow our
 
14403
# commands through without removal of \ escapes INIT.
 
14404
if test -n "\${ZSH_VERSION+set}" ; then
 
14405
   setopt NO_GLOB_SUBST
 
14406
fi
 
14407
 
 
14408
 
 
14409
    PACKAGE='$PACKAGE'
 
14410
    VERSION='$VERSION'
 
14411
    TIMESTAMP='$TIMESTAMP'
 
14412
    RM='$RM'
 
14413
    ofile='$ofile'
 
14414
 
 
14415
 
 
14416
 
 
14417
_LTEOF
 
14418
 
 
14419
cat >>"$CONFIG_LT" <<\_LTEOF
 
14420
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ofile" >&5
 
14421
$as_echo "$as_me: creating $ofile" >&6;}
 
14422
 
 
14423
 
 
14424
    # See if we are running on zsh, and set the options which allow our
 
14425
    # commands through without removal of \ escapes.
 
14426
    if test -n "${ZSH_VERSION+set}" ; then
 
14427
      setopt NO_GLOB_SUBST
 
14428
    fi
 
14429
 
 
14430
    cfgfile="${ofile}T"
 
14431
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 
14432
    $RM "$cfgfile"
 
14433
 
 
14434
    cat <<_LT_EOF >> "$cfgfile"
 
14435
#! $SHELL
 
14436
 
 
14437
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
14438
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 
14439
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
14440
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
14441
#
 
14442
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
14443
#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
 
14444
#                 Foundation, Inc.
 
14445
#   Written by Gordon Matzigkeit, 1996
 
14446
#
 
14447
#   This file is part of GNU Libtool.
 
14448
#
 
14449
# GNU Libtool is free software; you can redistribute it and/or
 
14450
# modify it under the terms of the GNU General Public License as
 
14451
# published by the Free Software Foundation; either version 2 of
 
14452
# the License, or (at your option) any later version.
 
14453
#
 
14454
# As a special exception to the GNU General Public License,
 
14455
# if you distribute this file as part of a program or library that
 
14456
# is built using GNU Libtool, you may include this file under the
 
14457
# same distribution terms that you use for the rest of that program.
 
14458
#
 
14459
# GNU Libtool is distributed in the hope that it will be useful,
 
14460
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
14461
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
14462
# GNU General Public License for more details.
 
14463
#
 
14464
# You should have received a copy of the GNU General Public License
 
14465
# along with GNU Libtool; see the file COPYING.  If not, a copy
 
14466
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 
14467
# obtained by writing to the Free Software Foundation, Inc.,
 
14468
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
14469
 
 
14470
 
 
14471
# The names of the tagged configurations supported by this script.
 
14472
available_tags=""
 
14473
 
 
14474
# ### BEGIN LIBTOOL CONFIG
 
14475
 
 
14476
# Which release of libtool.m4 was used?
 
14477
macro_version=$macro_version
 
14478
macro_revision=$macro_revision
 
14479
 
 
14480
# Whether or not to build static libraries.
 
14481
build_old_libs=$enable_static
 
14482
 
 
14483
# Whether or not to build shared libraries.
 
14484
build_libtool_libs=$enable_shared
 
14485
 
 
14486
# What type of objects to build.
 
14487
pic_mode=$pic_mode
 
14488
 
 
14489
# Whether or not to optimize for fast installation.
 
14490
fast_install=$enable_fast_install
 
14491
 
 
14492
# Shell to use when invoking shell scripts.
 
14493
SHELL=$lt_SHELL
 
14494
 
 
14495
# An echo program that protects backslashes.
 
14496
ECHO=$lt_ECHO
 
14497
 
 
14498
# The PATH separator for the build system.
 
14499
PATH_SEPARATOR=$lt_PATH_SEPARATOR
 
14500
 
 
14501
# The host system.
 
14502
host_alias=$host_alias
 
14503
host=$host
 
14504
host_os=$host_os
 
14505
 
 
14506
# The build system.
 
14507
build_alias=$build_alias
 
14508
build=$build
 
14509
build_os=$build_os
 
14510
 
 
14511
# A sed program that does not truncate output.
 
14512
SED=$lt_SED
 
14513
 
 
14514
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
14515
Xsed="\$SED -e 1s/^X//"
 
14516
 
 
14517
# A grep program that handles long lines.
 
14518
GREP=$lt_GREP
 
14519
 
 
14520
# An ERE matcher.
 
14521
EGREP=$lt_EGREP
 
14522
 
 
14523
# A literal string matcher.
 
14524
FGREP=$lt_FGREP
 
14525
 
 
14526
# A BSD- or MS-compatible name lister.
 
14527
NM=$lt_NM
 
14528
 
 
14529
# Whether we need soft or hard links.
 
14530
LN_S=$lt_LN_S
 
14531
 
 
14532
# What is the maximum length of a command?
 
14533
max_cmd_len=$max_cmd_len
 
14534
 
 
14535
# Object file suffix (normally "o").
 
14536
objext=$ac_objext
 
14537
 
 
14538
# Executable file suffix (normally "").
 
14539
exeext=$exeext
 
14540
 
 
14541
# whether the shell understands "unset".
 
14542
lt_unset=$lt_unset
 
14543
 
 
14544
# turn spaces into newlines.
 
14545
SP2NL=$lt_lt_SP2NL
 
14546
 
 
14547
# turn newlines into spaces.
 
14548
NL2SP=$lt_lt_NL2SP
 
14549
 
 
14550
# convert \$build file names to \$host format.
 
14551
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
14552
 
 
14553
# convert \$build files to toolchain format.
 
14554
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
14555
 
 
14556
# An object symbol dumper.
 
14557
OBJDUMP=$lt_OBJDUMP
 
14558
 
 
14559
# Method to check whether dependent libraries are shared objects.
 
14560
deplibs_check_method=$lt_deplibs_check_method
 
14561
 
 
14562
# Command to use when deplibs_check_method = "file_magic".
 
14563
file_magic_cmd=$lt_file_magic_cmd
 
14564
 
 
14565
# How to find potential files when deplibs_check_method = "file_magic".
 
14566
file_magic_glob=$lt_file_magic_glob
 
14567
 
 
14568
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
 
14569
want_nocaseglob=$lt_want_nocaseglob
 
14570
 
 
14571
# DLL creation program.
 
14572
DLLTOOL=$lt_DLLTOOL
 
14573
 
 
14574
# Command to associate shared and link libraries.
 
14575
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
 
14576
 
 
14577
# The archiver.
 
14578
AR=$lt_AR
 
14579
 
 
14580
# Flags to create an archive.
 
14581
AR_FLAGS=$lt_AR_FLAGS
 
14582
 
 
14583
# How to feed a file listing to the archiver.
 
14584
archiver_list_spec=$lt_archiver_list_spec
 
14585
 
 
14586
# A symbol stripping program.
 
14587
STRIP=$lt_STRIP
 
14588
 
 
14589
# Commands used to install an old-style archive.
 
14590
RANLIB=$lt_RANLIB
 
14591
old_postinstall_cmds=$lt_old_postinstall_cmds
 
14592
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
14593
 
 
14594
# Whether to use a lock for old archive extraction.
 
14595
lock_old_archive_extraction=$lock_old_archive_extraction
 
14596
 
 
14597
# A C compiler.
 
14598
LTCC=$lt_CC
 
14599
 
 
14600
# LTCC compiler flags.
 
14601
LTCFLAGS=$lt_CFLAGS
 
14602
 
 
14603
# Take the output of nm and produce a listing of raw symbols and C names.
 
14604
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
14605
 
 
14606
# Transform the output of nm in a proper C declaration.
 
14607
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
14608
 
 
14609
# Transform the output of nm in a C name address pair.
 
14610
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
14611
 
 
14612
# Transform the output of nm in a C name address pair when lib prefix is needed.
 
14613
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 
14614
 
 
14615
# Specify filename containing input files for \$NM.
 
14616
nm_file_list_spec=$lt_nm_file_list_spec
 
14617
 
 
14618
# The root where to search for dependent libraries,and in which our libraries should be installed.
 
14619
lt_sysroot=$lt_sysroot
 
14620
 
 
14621
# The name of the directory that contains temporary libtool files.
 
14622
objdir=$objdir
 
14623
 
 
14624
# Used to examine libraries when file_magic_cmd begins with "file".
 
14625
MAGIC_CMD=$MAGIC_CMD
 
14626
 
 
14627
# Must we lock files when doing compilation?
 
14628
need_locks=$lt_need_locks
 
14629
 
 
14630
# Manifest tool.
 
14631
MANIFEST_TOOL=$lt_MANIFEST_TOOL
 
14632
 
 
14633
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 
14634
DSYMUTIL=$lt_DSYMUTIL
 
14635
 
 
14636
# Tool to change global to local symbols on Mac OS X.
 
14637
NMEDIT=$lt_NMEDIT
 
14638
 
 
14639
# Tool to manipulate fat objects and archives on Mac OS X.
 
14640
LIPO=$lt_LIPO
 
14641
 
 
14642
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
 
14643
OTOOL=$lt_OTOOL
 
14644
 
 
14645
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 
14646
OTOOL64=$lt_OTOOL64
 
14647
 
 
14648
# Old archive suffix (normally "a").
 
14649
libext=$libext
 
14650
 
 
14651
# Shared library suffix (normally ".so").
 
14652
shrext_cmds=$lt_shrext_cmds
 
14653
 
 
14654
# The commands to extract the exported symbol list from a shared archive.
 
14655
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
14656
 
 
14657
# Variables whose values should be saved in libtool wrapper scripts and
 
14658
# restored at link time.
 
14659
variables_saved_for_relink=$lt_variables_saved_for_relink
 
14660
 
 
14661
# Do we need the "lib" prefix for modules?
 
14662
need_lib_prefix=$need_lib_prefix
 
14663
 
 
14664
# Do we need a version for libraries?
 
14665
need_version=$need_version
 
14666
 
 
14667
# Library versioning type.
 
14668
version_type=$version_type
 
14669
 
 
14670
# Shared library runtime path variable.
 
14671
runpath_var=$runpath_var
 
14672
 
 
14673
# Shared library path variable.
 
14674
shlibpath_var=$shlibpath_var
 
14675
 
 
14676
# Is shlibpath searched before the hard-coded library search path?
 
14677
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
14678
 
 
14679
# Format of library name prefix.
 
14680
libname_spec=$lt_libname_spec
 
14681
 
 
14682
# List of archive names.  First name is the real one, the rest are links.
 
14683
# The last name is the one that the linker finds with -lNAME
 
14684
library_names_spec=$lt_library_names_spec
 
14685
 
 
14686
# The coded name of the library, if different from the real name.
 
14687
soname_spec=$lt_soname_spec
 
14688
 
 
14689
# Permission mode override for installation of shared libraries.
 
14690
install_override_mode=$lt_install_override_mode
 
14691
 
 
14692
# Command to use after installation of a shared archive.
 
14693
postinstall_cmds=$lt_postinstall_cmds
 
14694
 
 
14695
# Command to use after uninstallation of a shared archive.
 
14696
postuninstall_cmds=$lt_postuninstall_cmds
 
14697
 
 
14698
# Commands used to finish a libtool library installation in a directory.
 
14699
finish_cmds=$lt_finish_cmds
 
14700
 
 
14701
# As "finish_cmds", except a single script fragment to be evaled but
 
14702
# not shown.
 
14703
finish_eval=$lt_finish_eval
 
14704
 
 
14705
# Whether we should hardcode library paths into libraries.
 
14706
hardcode_into_libs=$hardcode_into_libs
 
14707
 
 
14708
# Compile-time system search path for libraries.
 
14709
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
14710
 
 
14711
# Run-time system search path for libraries.
 
14712
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
14713
 
 
14714
# Whether dlopen is supported.
 
14715
dlopen_support=$enable_dlopen
 
14716
 
 
14717
# Whether dlopen of programs is supported.
 
14718
dlopen_self=$enable_dlopen_self
 
14719
 
 
14720
# Whether dlopen of statically linked programs is supported.
 
14721
dlopen_self_static=$enable_dlopen_self_static
 
14722
 
 
14723
# Commands to strip libraries.
 
14724
old_striplib=$lt_old_striplib
 
14725
striplib=$lt_striplib
 
14726
 
 
14727
 
 
14728
# The linker used to build libraries.
 
14729
LD=$lt_LD
 
14730
 
 
14731
# How to create reloadable object files.
 
14732
reload_flag=$lt_reload_flag
 
14733
reload_cmds=$lt_reload_cmds
 
14734
 
 
14735
# Commands used to build an old-style archive.
 
14736
old_archive_cmds=$lt_old_archive_cmds
 
14737
 
 
14738
# A language specific compiler.
 
14739
CC=$lt_compiler
 
14740
 
 
14741
# Is the compiler the GNU compiler?
 
14742
with_gcc=$GCC
 
14743
 
 
14744
# Compiler flag to turn off builtin functions.
 
14745
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 
14746
 
 
14747
# Additional compiler flags for building library objects.
 
14748
pic_flag=$lt_lt_prog_compiler_pic
 
14749
 
 
14750
# How to pass a linker flag through the compiler.
 
14751
wl=$lt_lt_prog_compiler_wl
 
14752
 
 
14753
# Compiler flag to prevent dynamic linking.
 
14754
link_static_flag=$lt_lt_prog_compiler_static
 
14755
 
 
14756
# Does compiler simultaneously support -c and -o options?
 
14757
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 
14758
 
 
14759
# Whether or not to add -lc for building shared libraries.
 
14760
build_libtool_need_lc=$archive_cmds_need_lc
 
14761
 
 
14762
# Whether or not to disallow shared libs when runtime libs are static.
 
14763
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 
14764
 
 
14765
# Compiler flag to allow reflexive dlopens.
 
14766
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 
14767
 
 
14768
# Compiler flag to generate shared objects directly from archives.
 
14769
whole_archive_flag_spec=$lt_whole_archive_flag_spec
 
14770
 
 
14771
# Whether the compiler copes with passing no objects directly.
 
14772
compiler_needs_object=$lt_compiler_needs_object
 
14773
 
 
14774
# Create an old-style archive from a shared archive.
 
14775
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 
14776
 
 
14777
# Create a temporary old-style archive to link instead of a shared archive.
 
14778
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 
14779
 
 
14780
# Commands used to build a shared archive.
 
14781
archive_cmds=$lt_archive_cmds
 
14782
archive_expsym_cmds=$lt_archive_expsym_cmds
 
14783
 
 
14784
# Commands used to build a loadable module if different from building
 
14785
# a shared archive.
 
14786
module_cmds=$lt_module_cmds
 
14787
module_expsym_cmds=$lt_module_expsym_cmds
 
14788
 
 
14789
# Whether we are building with GNU ld or not.
 
14790
with_gnu_ld=$lt_with_gnu_ld
 
14791
 
 
14792
# Flag that allows shared libraries with undefined symbols to be built.
 
14793
allow_undefined_flag=$lt_allow_undefined_flag
 
14794
 
 
14795
# Flag that enforces no undefined symbols.
 
14796
no_undefined_flag=$lt_no_undefined_flag
 
14797
 
 
14798
# Flag to hardcode \$libdir into a binary during linking.
 
14799
# This must work even if \$libdir does not exist
 
14800
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
14801
 
 
14802
# Whether we need a single "-rpath" flag with a separated argument.
 
14803
hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
14804
 
 
14805
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
14806
# DIR into the resulting binary.
 
14807
hardcode_direct=$hardcode_direct
 
14808
 
 
14809
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
14810
# DIR into the resulting binary and the resulting library dependency is
 
14811
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
14812
# library is relocated.
 
14813
hardcode_direct_absolute=$hardcode_direct_absolute
 
14814
 
 
14815
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
14816
# into the resulting binary.
 
14817
hardcode_minus_L=$hardcode_minus_L
 
14818
 
 
14819
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
14820
# into the resulting binary.
 
14821
hardcode_shlibpath_var=$hardcode_shlibpath_var
 
14822
 
 
14823
# Set to "yes" if building a shared library automatically hardcodes DIR
 
14824
# into the library and all subsequent libraries and executables linked
 
14825
# against it.
 
14826
hardcode_automatic=$hardcode_automatic
 
14827
 
 
14828
# Set to yes if linker adds runtime paths of dependent libraries
 
14829
# to runtime path list.
 
14830
inherit_rpath=$inherit_rpath
 
14831
 
 
14832
# Whether libtool must link a program against all its dependency libraries.
 
14833
link_all_deplibs=$link_all_deplibs
 
14834
 
 
14835
# Set to "yes" if exported symbols are required.
 
14836
always_export_symbols=$always_export_symbols
 
14837
 
 
14838
# The commands to list exported symbols.
 
14839
export_symbols_cmds=$lt_export_symbols_cmds
 
14840
 
 
14841
# Symbols that should not be listed in the preloaded symbols.
 
14842
exclude_expsyms=$lt_exclude_expsyms
 
14843
 
 
14844
# Symbols that must always be exported.
 
14845
include_expsyms=$lt_include_expsyms
 
14846
 
 
14847
# Commands necessary for linking programs (against libraries) with templates.
 
14848
prelink_cmds=$lt_prelink_cmds
 
14849
 
 
14850
# Commands necessary for finishing linking programs.
 
14851
postlink_cmds=$lt_postlink_cmds
 
14852
 
 
14853
# Specify filename containing input files.
 
14854
file_list_spec=$lt_file_list_spec
 
14855
 
 
14856
# How to hardcode a shared library path into an executable.
 
14857
hardcode_action=$hardcode_action
 
14858
 
 
14859
# ### END LIBTOOL CONFIG
 
14860
 
 
14861
_LT_EOF
 
14862
 
 
14863
  case $host_os in
 
14864
  aix3*)
 
14865
    cat <<\_LT_EOF >> "$cfgfile"
 
14866
# AIX sometimes has problems with the GCC collect2 program.  For some
 
14867
# reason, if we set the COLLECT_NAMES environment variable, the problems
 
14868
# vanish in a puff of smoke.
 
14869
if test "X${COLLECT_NAMES+set}" != Xset; then
 
14870
  COLLECT_NAMES=
 
14871
  export COLLECT_NAMES
 
14872
fi
 
14873
_LT_EOF
 
14874
    ;;
 
14875
  esac
 
14876
 
 
14877
 
 
14878
ltmain="$ac_aux_dir/ltmain.sh"
 
14879
 
 
14880
 
 
14881
  # We use sed instead of cat because bash on DJGPP gets confused if
 
14882
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
14883
  # text mode, it properly converts lines to CR/LF.  This bash problem
 
14884
  # is reportedly fixed, but why not run on old versions too?
 
14885
  sed '$q' "$ltmain" >> "$cfgfile" \
 
14886
     || (rm -f "$cfgfile"; exit 1)
 
14887
 
 
14888
  if test x"$xsi_shell" = xyes; then
 
14889
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
 
14890
func_dirname ()\
 
14891
{\
 
14892
\    case ${1} in\
 
14893
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
14894
\      *  ) func_dirname_result="${3}" ;;\
 
14895
\    esac\
 
14896
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
 
14897
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
14898
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
14899
test 0 -eq $? || _lt_function_replace_fail=:
 
14900
 
 
14901
 
 
14902
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
 
14903
func_basename ()\
 
14904
{\
 
14905
\    func_basename_result="${1##*/}"\
 
14906
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
14907
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
14908
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
14909
test 0 -eq $? || _lt_function_replace_fail=:
 
14910
 
 
14911
 
 
14912
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
 
14913
func_dirname_and_basename ()\
 
14914
{\
 
14915
\    case ${1} in\
 
14916
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
14917
\      *  ) func_dirname_result="${3}" ;;\
 
14918
\    esac\
 
14919
\    func_basename_result="${1##*/}"\
 
14920
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
14921
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
14922
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
14923
test 0 -eq $? || _lt_function_replace_fail=:
 
14924
 
 
14925
 
 
14926
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
 
14927
func_stripname ()\
 
14928
{\
 
14929
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
 
14930
\    # positional parameters, so assign one to ordinary parameter first.\
 
14931
\    func_stripname_result=${3}\
 
14932
\    func_stripname_result=${func_stripname_result#"${1}"}\
 
14933
\    func_stripname_result=${func_stripname_result%"${2}"}\
 
14934
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
 
14935
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
14936
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
14937
test 0 -eq $? || _lt_function_replace_fail=:
 
14938
 
 
14939
 
 
14940
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
 
14941
func_split_long_opt ()\
 
14942
{\
 
14943
\    func_split_long_opt_name=${1%%=*}\
 
14944
\    func_split_long_opt_arg=${1#*=}\
 
14945
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
14946
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
14947
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
14948
test 0 -eq $? || _lt_function_replace_fail=:
 
14949
 
 
14950
 
 
14951
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
 
14952
func_split_short_opt ()\
 
14953
{\
 
14954
\    func_split_short_opt_arg=${1#??}\
 
14955
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
 
14956
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
14957
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
14958
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
14959
test 0 -eq $? || _lt_function_replace_fail=:
 
14960
 
 
14961
 
 
14962
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
 
14963
func_lo2o ()\
 
14964
{\
 
14965
\    case ${1} in\
 
14966
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
 
14967
\      *)    func_lo2o_result=${1} ;;\
 
14968
\    esac\
 
14969
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
 
14970
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
14971
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
14972
test 0 -eq $? || _lt_function_replace_fail=:
 
14973
 
 
14974
 
 
14975
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
 
14976
func_xform ()\
 
14977
{\
 
14978
    func_xform_result=${1%.*}.lo\
 
14979
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
 
14980
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
14981
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
14982
test 0 -eq $? || _lt_function_replace_fail=:
 
14983
 
 
14984
 
 
14985
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
 
14986
func_arith ()\
 
14987
{\
 
14988
    func_arith_result=$(( $* ))\
 
14989
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
 
14990
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
14991
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
14992
test 0 -eq $? || _lt_function_replace_fail=:
 
14993
 
 
14994
 
 
14995
  sed -e '/^func_len ()$/,/^} # func_len /c\
 
14996
func_len ()\
 
14997
{\
 
14998
    func_len_result=${#1}\
 
14999
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
 
15000
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15001
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15002
test 0 -eq $? || _lt_function_replace_fail=:
 
15003
 
 
15004
fi
 
15005
 
 
15006
if test x"$lt_shell_append" = xyes; then
 
15007
  sed -e '/^func_append ()$/,/^} # func_append /c\
 
15008
func_append ()\
 
15009
{\
 
15010
    eval "${1}+=\\${2}"\
 
15011
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
 
15012
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15013
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15014
test 0 -eq $? || _lt_function_replace_fail=:
 
15015
 
 
15016
 
 
15017
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
 
15018
func_append_quoted ()\
 
15019
{\
 
15020
\    func_quote_for_eval "${2}"\
 
15021
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
 
15022
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
 
15023
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15024
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15025
test 0 -eq $? || _lt_function_replace_fail=:
 
15026
 
 
15027
 
 
15028
  # Save a `func_append' function call where possible by direct use of '+='
 
15029
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
 
15030
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15031
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15032
  test 0 -eq $? || _lt_function_replace_fail=:
 
15033
else
 
15034
  # Save a `func_append' function call even when '+=' is not available
 
15035
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
 
15036
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15037
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15038
  test 0 -eq $? || _lt_function_replace_fail=:
 
15039
fi
 
15040
 
 
15041
if test x"$_lt_function_replace_fail" = x":"; then
 
15042
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
 
15043
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 
15044
fi
 
15045
 
 
15046
 
 
15047
   mv -f "$cfgfile" "$ofile" ||
 
15048
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
15049
  chmod +x "$ofile"
 
15050
 
 
15051
 
 
15052
as_fn_exit 0
 
15053
_LTEOF
 
15054
chmod +x "$CONFIG_LT"
 
15055
 
 
15056
# configure is writing to config.log, but config.lt does its own redirection,
 
15057
# appending to config.log, which fails on DOS, as config.log is still kept
 
15058
# open by configure.  Here we exec the FD to /dev/null, effectively closing
 
15059
# config.log, so it can be properly (re)opened and appended to by config.lt.
 
15060
lt_cl_success=:
 
15061
test "$silent" = yes &&
 
15062
  lt_config_lt_args="$lt_config_lt_args --quiet"
 
15063
exec 5>/dev/null
 
15064
$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
 
15065
exec 5>>config.log
 
15066
$lt_cl_success || as_fn_exit 1
 
15067
 
 
15068
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
 
15069
$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
 
15070
if ${ac_cv_c_bigendian+:} false; then :
 
15071
  $as_echo_n "(cached) " >&6
 
15072
else
 
15073
  ac_cv_c_bigendian=unknown
 
15074
    # See if we're dealing with a universal compiler.
 
15075
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15076
/* end confdefs.h.  */
 
15077
#ifndef __APPLE_CC__
 
15078
               not a universal capable compiler
 
15079
             #endif
 
15080
             typedef int dummy;
 
15081
 
 
15082
_ACEOF
 
15083
if ac_fn_c_try_compile "$LINENO"; then :
 
15084
 
 
15085
        # Check for potential -arch flags.  It is not universal unless
 
15086
        # there are at least two -arch flags with different values.
 
15087
        ac_arch=
 
15088
        ac_prev=
 
15089
        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
 
15090
         if test -n "$ac_prev"; then
 
15091
           case $ac_word in
 
15092
             i?86 | x86_64 | ppc | ppc64)
 
15093
               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
 
15094
                 ac_arch=$ac_word
 
15095
               else
 
15096
                 ac_cv_c_bigendian=universal
 
15097
                 break
 
15098
               fi
 
15099
               ;;
 
15100
           esac
 
15101
           ac_prev=
 
15102
         elif test "x$ac_word" = "x-arch"; then
 
15103
           ac_prev=arch
 
15104
         fi
 
15105
       done
 
15106
fi
 
15107
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
15108
    if test $ac_cv_c_bigendian = unknown; then
 
15109
      # See if sys/param.h defines the BYTE_ORDER macro.
 
15110
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15111
/* end confdefs.h.  */
 
15112
#include <sys/types.h>
 
15113
             #include <sys/param.h>
 
15114
 
 
15115
int
 
15116
main ()
 
15117
{
 
15118
#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
 
15119
                     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
 
15120
                     && LITTLE_ENDIAN)
 
15121
              bogus endian macros
 
15122
             #endif
 
15123
 
 
15124
  ;
 
15125
  return 0;
 
15126
}
 
15127
_ACEOF
 
15128
if ac_fn_c_try_compile "$LINENO"; then :
 
15129
  # It does; now see whether it defined to BIG_ENDIAN or not.
 
15130
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15131
/* end confdefs.h.  */
 
15132
#include <sys/types.h>
 
15133
                #include <sys/param.h>
 
15134
 
 
15135
int
 
15136
main ()
 
15137
{
 
15138
#if BYTE_ORDER != BIG_ENDIAN
 
15139
                 not big endian
 
15140
                #endif
 
15141
 
 
15142
  ;
 
15143
  return 0;
 
15144
}
 
15145
_ACEOF
 
15146
if ac_fn_c_try_compile "$LINENO"; then :
 
15147
  ac_cv_c_bigendian=yes
 
15148
else
 
15149
  ac_cv_c_bigendian=no
 
15150
fi
 
15151
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
15152
fi
 
15153
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
15154
    fi
 
15155
    if test $ac_cv_c_bigendian = unknown; then
 
15156
      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
 
15157
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15158
/* end confdefs.h.  */
 
15159
#include <limits.h>
 
15160
 
 
15161
int
 
15162
main ()
 
15163
{
 
15164
#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
 
15165
              bogus endian macros
 
15166
             #endif
 
15167
 
 
15168
  ;
 
15169
  return 0;
 
15170
}
 
15171
_ACEOF
 
15172
if ac_fn_c_try_compile "$LINENO"; then :
 
15173
  # It does; now see whether it defined to _BIG_ENDIAN or not.
 
15174
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15175
/* end confdefs.h.  */
 
15176
#include <limits.h>
 
15177
 
 
15178
int
 
15179
main ()
 
15180
{
 
15181
#ifndef _BIG_ENDIAN
 
15182
                 not big endian
 
15183
                #endif
 
15184
 
 
15185
  ;
 
15186
  return 0;
 
15187
}
 
15188
_ACEOF
 
15189
if ac_fn_c_try_compile "$LINENO"; then :
 
15190
  ac_cv_c_bigendian=yes
 
15191
else
 
15192
  ac_cv_c_bigendian=no
 
15193
fi
 
15194
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
15195
fi
 
15196
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
15197
    fi
 
15198
    if test $ac_cv_c_bigendian = unknown; then
 
15199
      # Compile a test program.
 
15200
      if test "$cross_compiling" = yes; then :
 
15201
  # Try to guess by grepping values from an object file.
 
15202
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15203
/* end confdefs.h.  */
 
15204
short int ascii_mm[] =
 
15205
                  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
 
15206
                short int ascii_ii[] =
 
15207
                  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
 
15208
                int use_ascii (int i) {
 
15209
                  return ascii_mm[i] + ascii_ii[i];
 
15210
                }
 
15211
                short int ebcdic_ii[] =
 
15212
                  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
 
15213
                short int ebcdic_mm[] =
 
15214
                  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
 
15215
                int use_ebcdic (int i) {
 
15216
                  return ebcdic_mm[i] + ebcdic_ii[i];
 
15217
                }
 
15218
                extern int foo;
 
15219
 
 
15220
int
 
15221
main ()
 
15222
{
 
15223
return use_ascii (foo) == use_ebcdic (foo);
 
15224
  ;
 
15225
  return 0;
 
15226
}
 
15227
_ACEOF
 
15228
if ac_fn_c_try_compile "$LINENO"; then :
 
15229
  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
 
15230
              ac_cv_c_bigendian=yes
 
15231
            fi
 
15232
            if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
 
15233
              if test "$ac_cv_c_bigendian" = unknown; then
 
15234
                ac_cv_c_bigendian=no
 
15235
              else
 
15236
                # finding both strings is unlikely to happen, but who knows?
 
15237
                ac_cv_c_bigendian=unknown
 
15238
              fi
 
15239
            fi
 
15240
fi
 
15241
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
15242
else
 
15243
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15244
/* end confdefs.h.  */
 
15245
$ac_includes_default
 
15246
int
 
15247
main ()
 
15248
{
 
15249
 
 
15250
             /* Are we little or big endian?  From Harbison&Steele.  */
 
15251
             union
 
15252
             {
 
15253
               long int l;
 
15254
               char c[sizeof (long int)];
 
15255
             } u;
 
15256
             u.l = 1;
 
15257
             return u.c[sizeof (long int) - 1] == 1;
 
15258
 
 
15259
  ;
 
15260
  return 0;
 
15261
}
 
15262
_ACEOF
 
15263
if ac_fn_c_try_run "$LINENO"; then :
 
15264
  ac_cv_c_bigendian=no
 
15265
else
 
15266
  ac_cv_c_bigendian=yes
 
15267
fi
 
15268
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
15269
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
15270
fi
 
15271
 
 
15272
    fi
 
15273
fi
 
15274
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
 
15275
$as_echo "$ac_cv_c_bigendian" >&6; }
 
15276
 case $ac_cv_c_bigendian in #(
 
15277
   yes)
 
15278
     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
 
15279
;; #(
 
15280
   no)
 
15281
      ;; #(
 
15282
   universal)
 
15283
 
 
15284
$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
 
15285
 
 
15286
     ;; #(
 
15287
   *)
 
15288
     as_fn_error $? "unknown endianness
 
15289
 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
 
15290
 esac
 
15291
 
 
15292
# The cast to long int works around a bug in the HP C Compiler
 
15293
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 
15294
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 
15295
# This bug is HP SR number 8606223364.
 
15296
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
 
15297
$as_echo_n "checking size of long... " >&6; }
 
15298
if ${ac_cv_sizeof_long+:} false; then :
 
15299
  $as_echo_n "(cached) " >&6
 
15300
else
 
15301
  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
 
15302
 
 
15303
else
 
15304
  if test "$ac_cv_type_long" = yes; then
 
15305
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
15306
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
15307
as_fn_error 77 "cannot compute sizeof (long)
 
15308
See \`config.log' for more details" "$LINENO" 5; }
 
15309
   else
 
15310
     ac_cv_sizeof_long=0
 
15311
   fi
 
15312
fi
 
15313
 
 
15314
fi
 
15315
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
 
15316
$as_echo "$ac_cv_sizeof_long" >&6; }
 
15317
 
 
15318
 
 
15319
 
 
15320
cat >>confdefs.h <<_ACEOF
 
15321
#define SIZEOF_LONG $ac_cv_sizeof_long
 
15322
_ACEOF
 
15323
 
 
15324
 
 
15325
 
 
15326
GTK_REQS=3.6.0
 
15327
 
 
15328
GST_REQS=1.0.0
 
15329
GDK_PIXBUF_REQS=2.18.0
 
15330
GLIB_REQS=2.32.0
 
15331
LIBGPOD_REQS=0.6
 
15332
TOTEM_PLPARSER_REQS=3.2.0
 
15333
VALA_REQS=0.9.4
 
15334
LIBSOUP_REQS=2.26.0
 
15335
GUDEV_REQS=143
 
15336
LIBMTP_REQS=0.3.0
 
15337
LIBPEAS_REQS=0.7.3
 
15338
GRILO_REQS=0.2.0
 
15339
LIBXML2_REQS=2.7.8
 
15340
LIBSECRET_REQS=0.14
 
15341
 
 
15342
LIBNOTIFY_REQS=0.7.0
 
15343
BRASERO_MIN_REQS=2.31.5
 
15344
WEBKIT_MIN_REQS=1.3.9
 
15345
PYGOBJECT_REQUIRED=3.0.0
 
15346
 
 
15347
 
 
15348
 
 
15349
  # Check whether --enable-schemas-compile was given.
 
15350
if test "${enable_schemas_compile+set}" = set; then :
 
15351
  enableval=$enable_schemas_compile; case ${enableval} in
 
15352
                  yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE=""  ;;
 
15353
                  no)  GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
 
15354
                  *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
 
15355
                 esac
 
15356
fi
 
15357
 
 
15358
 
 
15359
 
 
15360
 
 
15361
 
 
15362
 
 
15363
 
 
15364
 
 
15365
 
 
15366
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
 
15367
        if test -n "$ac_tool_prefix"; then
 
15368
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
 
15369
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
 
15370
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
15371
$as_echo_n "checking for $ac_word... " >&6; }
 
15372
if ${ac_cv_path_PKG_CONFIG+:} false; then :
 
15373
  $as_echo_n "(cached) " >&6
 
15374
else
 
15375
  case $PKG_CONFIG in
 
15376
  [\\/]* | ?:[\\/]*)
 
15377
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 
15378
  ;;
 
15379
  *)
 
15380
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15381
for as_dir in $PATH
 
15382
do
 
15383
  IFS=$as_save_IFS
 
15384
  test -z "$as_dir" && as_dir=.
 
15385
    for ac_exec_ext in '' $ac_executable_extensions; do
 
15386
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
15387
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
15388
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15389
    break 2
 
15390
  fi
 
15391
done
 
15392
  done
 
15393
IFS=$as_save_IFS
 
15394
 
 
15395
  ;;
 
15396
esac
 
15397
fi
 
15398
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 
15399
if test -n "$PKG_CONFIG"; then
 
15400
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
 
15401
$as_echo "$PKG_CONFIG" >&6; }
 
15402
else
 
15403
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15404
$as_echo "no" >&6; }
 
15405
fi
 
15406
 
 
15407
 
 
15408
fi
 
15409
if test -z "$ac_cv_path_PKG_CONFIG"; then
 
15410
  ac_pt_PKG_CONFIG=$PKG_CONFIG
 
15411
  # Extract the first word of "pkg-config", so it can be a program name with args.
 
15412
set dummy pkg-config; ac_word=$2
 
15413
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
15414
$as_echo_n "checking for $ac_word... " >&6; }
 
15415
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
 
15416
  $as_echo_n "(cached) " >&6
 
15417
else
 
15418
  case $ac_pt_PKG_CONFIG in
 
15419
  [\\/]* | ?:[\\/]*)
 
15420
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
 
15421
  ;;
 
15422
  *)
 
15423
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15424
for as_dir in $PATH
 
15425
do
 
15426
  IFS=$as_save_IFS
 
15427
  test -z "$as_dir" && as_dir=.
 
15428
    for ac_exec_ext in '' $ac_executable_extensions; do
 
15429
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
15430
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
15431
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15432
    break 2
 
15433
  fi
 
15434
done
 
15435
  done
 
15436
IFS=$as_save_IFS
 
15437
 
 
15438
  ;;
 
15439
esac
 
15440
fi
 
15441
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
 
15442
if test -n "$ac_pt_PKG_CONFIG"; then
 
15443
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
 
15444
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
 
15445
else
 
15446
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15447
$as_echo "no" >&6; }
 
15448
fi
 
15449
 
 
15450
  if test "x$ac_pt_PKG_CONFIG" = x; then
 
15451
    PKG_CONFIG=""
 
15452
  else
 
15453
    case $cross_compiling:$ac_tool_warned in
 
15454
yes:)
 
15455
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
15456
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
15457
ac_tool_warned=yes ;;
 
15458
esac
 
15459
    PKG_CONFIG=$ac_pt_PKG_CONFIG
 
15460
  fi
 
15461
else
 
15462
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
 
15463
fi
 
15464
 
 
15465
fi
 
15466
if test -n "$PKG_CONFIG"; then
 
15467
        _pkg_min_version=0.16
 
15468
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
 
15469
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
 
15470
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
 
15471
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
15472
$as_echo "yes" >&6; }
 
15473
        else
 
15474
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15475
$as_echo "no" >&6; }
 
15476
                PKG_CONFIG=""
 
15477
        fi
 
15478
fi
 
15479
  gsettingsschemadir=${datadir}/glib-2.0/schemas
 
15480
 
 
15481
  if test x$cross_compiling != xyes; then
 
15482
    GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
 
15483
  else
 
15484
    # Extract the first word of "glib-compile-schemas", so it can be a program name with args.
 
15485
set dummy glib-compile-schemas; ac_word=$2
 
15486
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
15487
$as_echo_n "checking for $ac_word... " >&6; }
 
15488
if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then :
 
15489
  $as_echo_n "(cached) " >&6
 
15490
else
 
15491
  case $GLIB_COMPILE_SCHEMAS in
 
15492
  [\\/]* | ?:[\\/]*)
 
15493
  ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
 
15494
  ;;
 
15495
  *)
 
15496
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15497
for as_dir in $PATH
 
15498
do
 
15499
  IFS=$as_save_IFS
 
15500
  test -z "$as_dir" && as_dir=.
 
15501
    for ac_exec_ext in '' $ac_executable_extensions; do
 
15502
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
15503
    ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext"
 
15504
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15505
    break 2
 
15506
  fi
 
15507
done
 
15508
  done
 
15509
IFS=$as_save_IFS
 
15510
 
 
15511
  ;;
 
15512
esac
 
15513
fi
 
15514
GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
 
15515
if test -n "$GLIB_COMPILE_SCHEMAS"; then
 
15516
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
 
15517
$as_echo "$GLIB_COMPILE_SCHEMAS" >&6; }
 
15518
else
 
15519
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15520
$as_echo "no" >&6; }
 
15521
fi
 
15522
 
 
15523
 
 
15524
  fi
 
15525
 
 
15526
  if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
 
15527
    as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
 
15528
  else
 
15529
    :
 
15530
  fi
 
15531
 
 
15532
  GSETTINGS_RULES='
 
15533
.PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
 
15534
 
 
15535
mostlyclean-am: clean-gsettings-schemas
 
15536
 
 
15537
gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
 
15538
 
 
15539
%.gschema.valid: %.gschema.xml $(gsettings__enum_file)
 
15540
        $(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$${d}$< && touch $@
 
15541
 
 
15542
all-am: $(gsettings_SCHEMAS:.xml=.valid)
 
15543
uninstall-am: uninstall-gsettings-schemas
 
15544
install-data-am: install-gsettings-schemas
 
15545
 
 
15546
.SECONDARY: $(gsettings_SCHEMAS)
 
15547
 
 
15548
install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
 
15549
        @$(NORMAL_INSTALL)
 
15550
        if test -n "$^"; then \
 
15551
                test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
 
15552
                $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
 
15553
                test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
 
15554
        fi
 
15555
 
 
15556
uninstall-gsettings-schemas:
 
15557
        @$(NORMAL_UNINSTALL)
 
15558
        @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
 
15559
        files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
 
15560
        test -n "$$files" || exit 0; \
 
15561
        echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
 
15562
        cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
 
15563
        test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
 
15564
 
 
15565
clean-gsettings-schemas:
 
15566
        rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
 
15567
 
 
15568
ifdef gsettings_ENUM_NAMESPACE
 
15569
$(gsettings__enum_file): $(gsettings_ENUM_FILES)
 
15570
        $(AM_V_GEN) glib-mkenums --comments '\''<!-- @comment@ -->'\'' --fhead "<schemalist>" --vhead "  <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod "    <value nick='\''@valuenick@'\'' value='\''@valuenum@'\''/>" --vtail "  </@type@>" --ftail "</schemalist>" $^ > $@.tmp && mv $@.tmp $@
 
15571
endif
 
15572
'
 
15573
 
 
15574
 
 
15575
 
 
15576
 
 
15577
 
 
15578
 
 
15579
 
 
15580
 
 
15581
 
 
15582
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU extension fwrite_unlocked" >&5
 
15583
$as_echo_n "checking for GNU extension fwrite_unlocked... " >&6; }
 
15584
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15585
/* end confdefs.h.  */
 
15586
 
 
15587
#define _GNU_SOURCE
 
15588
#include <stdio.h>
 
15589
 
 
15590
int
 
15591
main ()
 
15592
{
 
15593
fwrite_unlocked ("foo", 1, sizeof ("foo"), stdout);
 
15594
  ;
 
15595
  return 0;
 
15596
}
 
15597
_ACEOF
 
15598
if ac_fn_c_try_link "$LINENO"; then :
 
15599
  have_fwrite_unlocked=yes
 
15600
fi
 
15601
rm -f core conftest.err conftest.$ac_objext \
 
15602
    conftest$ac_exeext conftest.$ac_ext
 
15603
if test x"$have_fwrite_unlocked" = xyes; then
 
15604
 
 
15605
$as_echo "#define HAVE_GNU_FWRITE_UNLOCKED 1" >>confdefs.h
 
15606
 
 
15607
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
15608
$as_echo "yes" >&6; }
 
15609
else
 
15610
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15611
$as_echo "no" >&6; }
 
15612
fi
 
15613
 
 
15614
 
 
15615
 
 
15616
 
 
15617
 
 
15618
 
 
15619
 
 
15620
 
 
15621
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
 
15622
        if test -n "$ac_tool_prefix"; then
 
15623
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
 
15624
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
 
15625
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
15626
$as_echo_n "checking for $ac_word... " >&6; }
 
15627
if ${ac_cv_path_PKG_CONFIG+:} false; then :
 
15628
  $as_echo_n "(cached) " >&6
 
15629
else
 
15630
  case $PKG_CONFIG in
 
15631
  [\\/]* | ?:[\\/]*)
 
15632
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 
15633
  ;;
 
15634
  *)
 
15635
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15636
for as_dir in $PATH
 
15637
do
 
15638
  IFS=$as_save_IFS
 
15639
  test -z "$as_dir" && as_dir=.
 
15640
    for ac_exec_ext in '' $ac_executable_extensions; do
 
15641
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
15642
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
15643
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15644
    break 2
 
15645
  fi
 
15646
done
 
15647
  done
 
15648
IFS=$as_save_IFS
 
15649
 
 
15650
  ;;
 
15651
esac
 
15652
fi
 
15653
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 
15654
if test -n "$PKG_CONFIG"; then
 
15655
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
 
15656
$as_echo "$PKG_CONFIG" >&6; }
 
15657
else
 
15658
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15659
$as_echo "no" >&6; }
 
15660
fi
 
15661
 
 
15662
 
 
15663
fi
 
15664
if test -z "$ac_cv_path_PKG_CONFIG"; then
 
15665
  ac_pt_PKG_CONFIG=$PKG_CONFIG
 
15666
  # Extract the first word of "pkg-config", so it can be a program name with args.
 
15667
set dummy pkg-config; ac_word=$2
 
15668
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
15669
$as_echo_n "checking for $ac_word... " >&6; }
 
15670
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
 
15671
  $as_echo_n "(cached) " >&6
 
15672
else
 
15673
  case $ac_pt_PKG_CONFIG in
 
15674
  [\\/]* | ?:[\\/]*)
 
15675
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
 
15676
  ;;
 
15677
  *)
 
15678
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15679
for as_dir in $PATH
 
15680
do
 
15681
  IFS=$as_save_IFS
 
15682
  test -z "$as_dir" && as_dir=.
 
15683
    for ac_exec_ext in '' $ac_executable_extensions; do
 
15684
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
15685
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
15686
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15687
    break 2
 
15688
  fi
 
15689
done
 
15690
  done
 
15691
IFS=$as_save_IFS
 
15692
 
 
15693
  ;;
 
15694
esac
 
15695
fi
 
15696
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
 
15697
if test -n "$ac_pt_PKG_CONFIG"; then
 
15698
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
 
15699
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
 
15700
else
 
15701
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15702
$as_echo "no" >&6; }
 
15703
fi
 
15704
 
 
15705
  if test "x$ac_pt_PKG_CONFIG" = x; then
 
15706
    PKG_CONFIG=""
 
15707
  else
 
15708
    case $cross_compiling:$ac_tool_warned in
 
15709
yes:)
 
15710
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
15711
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
15712
ac_tool_warned=yes ;;
 
15713
esac
 
15714
    PKG_CONFIG=$ac_pt_PKG_CONFIG
 
15715
  fi
 
15716
else
 
15717
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
 
15718
fi
 
15719
 
 
15720
fi
 
15721
if test -n "$PKG_CONFIG"; then
 
15722
        _pkg_min_version=0.9.0
 
15723
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
 
15724
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
 
15725
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
 
15726
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
15727
$as_echo "yes" >&6; }
 
15728
        else
 
15729
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15730
$as_echo "no" >&6; }
 
15731
                PKG_CONFIG=""
 
15732
        fi
 
15733
fi
 
15734
 
 
15735
 
 
15736
pkg_failed=no
 
15737
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for RB_CLIENT" >&5
 
15738
$as_echo_n "checking for RB_CLIENT... " >&6; }
 
15739
 
 
15740
if test -n "$RB_CLIENT_CFLAGS"; then
 
15741
    pkg_cv_RB_CLIENT_CFLAGS="$RB_CLIENT_CFLAGS"
 
15742
 elif test -n "$PKG_CONFIG"; then
 
15743
    if test -n "$PKG_CONFIG" && \
 
15744
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQS gio-2.0 >= \$GLIB_REQS gio-unix-2.0 >= \$GLIB_REQS\""; } >&5
 
15745
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQS gio-2.0 >= $GLIB_REQS gio-unix-2.0 >= $GLIB_REQS") 2>&5
 
15746
  ac_status=$?
 
15747
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
15748
  test $ac_status = 0; }; then
 
15749
  pkg_cv_RB_CLIENT_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQS gio-2.0 >= $GLIB_REQS gio-unix-2.0 >= $GLIB_REQS" 2>/dev/null`
 
15750
                      test "x$?" != "x0" && pkg_failed=yes
 
15751
else
 
15752
  pkg_failed=yes
 
15753
fi
 
15754
 else
 
15755
    pkg_failed=untried
 
15756
fi
 
15757
if test -n "$RB_CLIENT_LIBS"; then
 
15758
    pkg_cv_RB_CLIENT_LIBS="$RB_CLIENT_LIBS"
 
15759
 elif test -n "$PKG_CONFIG"; then
 
15760
    if test -n "$PKG_CONFIG" && \
 
15761
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQS gio-2.0 >= \$GLIB_REQS gio-unix-2.0 >= \$GLIB_REQS\""; } >&5
 
15762
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQS gio-2.0 >= $GLIB_REQS gio-unix-2.0 >= $GLIB_REQS") 2>&5
 
15763
  ac_status=$?
 
15764
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
15765
  test $ac_status = 0; }; then
 
15766
  pkg_cv_RB_CLIENT_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQS gio-2.0 >= $GLIB_REQS gio-unix-2.0 >= $GLIB_REQS" 2>/dev/null`
 
15767
                      test "x$?" != "x0" && pkg_failed=yes
 
15768
else
 
15769
  pkg_failed=yes
 
15770
fi
 
15771
 else
 
15772
    pkg_failed=untried
 
15773
fi
 
15774
 
 
15775
 
 
15776
 
 
15777
if test $pkg_failed = yes; then
 
15778
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15779
$as_echo "no" >&6; }
 
15780
 
 
15781
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
15782
        _pkg_short_errors_supported=yes
 
15783
else
 
15784
        _pkg_short_errors_supported=no
 
15785
fi
 
15786
        if test $_pkg_short_errors_supported = yes; then
 
15787
                RB_CLIENT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= $GLIB_REQS gio-2.0 >= $GLIB_REQS gio-unix-2.0 >= $GLIB_REQS" 2>&1`
 
15788
        else
 
15789
                RB_CLIENT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= $GLIB_REQS gio-2.0 >= $GLIB_REQS gio-unix-2.0 >= $GLIB_REQS" 2>&1`
 
15790
        fi
 
15791
        # Put the nasty error message in config.log where it belongs
 
15792
        echo "$RB_CLIENT_PKG_ERRORS" >&5
 
15793
 
 
15794
        as_fn_error $? "Package requirements (glib-2.0 >= $GLIB_REQS gio-2.0 >= $GLIB_REQS gio-unix-2.0 >= $GLIB_REQS) were not met:
 
15795
 
 
15796
$RB_CLIENT_PKG_ERRORS
 
15797
 
 
15798
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
15799
installed software in a non-standard prefix.
 
15800
 
 
15801
Alternatively, you may set the environment variables RB_CLIENT_CFLAGS
 
15802
and RB_CLIENT_LIBS to avoid the need to call pkg-config.
 
15803
See the pkg-config man page for more details." "$LINENO" 5
 
15804
elif test $pkg_failed = untried; then
 
15805
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15806
$as_echo "no" >&6; }
 
15807
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
15808
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
15809
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
15810
is in your PATH or set the PKG_CONFIG environment variable to the full
 
15811
path to pkg-config.
 
15812
 
 
15813
Alternatively, you may set the environment variables RB_CLIENT_CFLAGS
 
15814
and RB_CLIENT_LIBS to avoid the need to call pkg-config.
 
15815
See the pkg-config man page for more details.
 
15816
 
 
15817
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
15818
See \`config.log' for more details" "$LINENO" 5; }
 
15819
else
 
15820
        RB_CLIENT_CFLAGS=$pkg_cv_RB_CLIENT_CFLAGS
 
15821
        RB_CLIENT_LIBS=$pkg_cv_RB_CLIENT_LIBS
 
15822
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
15823
$as_echo "yes" >&6; }
 
15824
 
 
15825
fi
 
15826
 
 
15827
X11_PKG=""
 
15828
gdk_targets=`$PKG_CONFIG --variable targets gdk-3.0`
 
15829
for target in $gdk_targets; do
 
15830
        case "$target" in
 
15831
                x11)
 
15832
                        X11_PKG=x11
 
15833
                        break
 
15834
                        ;;
 
15835
                *)
 
15836
                        ;;
 
15837
        esac
 
15838
done
 
15839
 
 
15840
 
 
15841
pkg_failed=no
 
15842
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for RHYTHMBOX" >&5
 
15843
$as_echo_n "checking for RHYTHMBOX... " >&6; }
 
15844
 
 
15845
if test -n "$RHYTHMBOX_CFLAGS"; then
 
15846
    pkg_cv_RHYTHMBOX_CFLAGS="$RHYTHMBOX_CFLAGS"
 
15847
 elif test -n "$PKG_CONFIG"; then
 
15848
    if test -n "$PKG_CONFIG" && \
 
15849
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
 
15850
                  gobject-introspection-1.0 >= \$GOBJECT_INTROSPECTION_REQS \\
 
15851
                  gtk+-3.0 >= \$GTK_REQS                        \\
 
15852
                  \$X11_PKG                             \\
 
15853
                  gdk-pixbuf-2.0 >= \$GDK_PIXBUF_REQS   \\
 
15854
                  glib-2.0 >= \$GLIB_REQS               \\
 
15855
                  gio-2.0 >= \$GLIB_REQS                        \\
 
15856
                  gio-unix-2.0 >= \$GLIB_REQS           \\
 
15857
                  libsoup-2.4 >= \$LIBSOUP_REQS         \\
 
15858
                  libsoup-gnome-2.4 >= \$LIBSOUP_REQS   \\
 
15859
                  libpeas-1.0 >= \$LIBPEAS_REQS         \\
 
15860
                  libpeas-gtk-1.0 >= \$LIBPEAS_REQS     \\
 
15861
                  libxml-2.0 >= \$LIBXML2_REQS          \\
 
15862
                  tdb >= 1.2.6                          \\
 
15863
                  json-glib-1.0\""; } >&5
 
15864
  ($PKG_CONFIG --exists --print-errors "\
 
15865
                  gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQS \
 
15866
                  gtk+-3.0 >= $GTK_REQS                 \
 
15867
                  $X11_PKG                              \
 
15868
                  gdk-pixbuf-2.0 >= $GDK_PIXBUF_REQS    \
 
15869
                  glib-2.0 >= $GLIB_REQS                \
 
15870
                  gio-2.0 >= $GLIB_REQS                 \
 
15871
                  gio-unix-2.0 >= $GLIB_REQS            \
 
15872
                  libsoup-2.4 >= $LIBSOUP_REQS          \
 
15873
                  libsoup-gnome-2.4 >= $LIBSOUP_REQS    \
 
15874
                  libpeas-1.0 >= $LIBPEAS_REQS          \
 
15875
                  libpeas-gtk-1.0 >= $LIBPEAS_REQS      \
 
15876
                  libxml-2.0 >= $LIBXML2_REQS           \
 
15877
                  tdb >= 1.2.6                          \
 
15878
                  json-glib-1.0") 2>&5
 
15879
  ac_status=$?
 
15880
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
15881
  test $ac_status = 0; }; then
 
15882
  pkg_cv_RHYTHMBOX_CFLAGS=`$PKG_CONFIG --cflags "\
 
15883
                  gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQS \
 
15884
                  gtk+-3.0 >= $GTK_REQS                 \
 
15885
                  $X11_PKG                              \
 
15886
                  gdk-pixbuf-2.0 >= $GDK_PIXBUF_REQS    \
 
15887
                  glib-2.0 >= $GLIB_REQS                \
 
15888
                  gio-2.0 >= $GLIB_REQS                 \
 
15889
                  gio-unix-2.0 >= $GLIB_REQS            \
 
15890
                  libsoup-2.4 >= $LIBSOUP_REQS          \
 
15891
                  libsoup-gnome-2.4 >= $LIBSOUP_REQS    \
 
15892
                  libpeas-1.0 >= $LIBPEAS_REQS          \
 
15893
                  libpeas-gtk-1.0 >= $LIBPEAS_REQS      \
 
15894
                  libxml-2.0 >= $LIBXML2_REQS           \
 
15895
                  tdb >= 1.2.6                          \
 
15896
                  json-glib-1.0" 2>/dev/null`
 
15897
                      test "x$?" != "x0" && pkg_failed=yes
 
15898
else
 
15899
  pkg_failed=yes
 
15900
fi
 
15901
 else
 
15902
    pkg_failed=untried
 
15903
fi
 
15904
if test -n "$RHYTHMBOX_LIBS"; then
 
15905
    pkg_cv_RHYTHMBOX_LIBS="$RHYTHMBOX_LIBS"
 
15906
 elif test -n "$PKG_CONFIG"; then
 
15907
    if test -n "$PKG_CONFIG" && \
 
15908
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
 
15909
                  gobject-introspection-1.0 >= \$GOBJECT_INTROSPECTION_REQS \\
 
15910
                  gtk+-3.0 >= \$GTK_REQS                        \\
 
15911
                  \$X11_PKG                             \\
 
15912
                  gdk-pixbuf-2.0 >= \$GDK_PIXBUF_REQS   \\
 
15913
                  glib-2.0 >= \$GLIB_REQS               \\
 
15914
                  gio-2.0 >= \$GLIB_REQS                        \\
 
15915
                  gio-unix-2.0 >= \$GLIB_REQS           \\
 
15916
                  libsoup-2.4 >= \$LIBSOUP_REQS         \\
 
15917
                  libsoup-gnome-2.4 >= \$LIBSOUP_REQS   \\
 
15918
                  libpeas-1.0 >= \$LIBPEAS_REQS         \\
 
15919
                  libpeas-gtk-1.0 >= \$LIBPEAS_REQS     \\
 
15920
                  libxml-2.0 >= \$LIBXML2_REQS          \\
 
15921
                  tdb >= 1.2.6                          \\
 
15922
                  json-glib-1.0\""; } >&5
 
15923
  ($PKG_CONFIG --exists --print-errors "\
 
15924
                  gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQS \
 
15925
                  gtk+-3.0 >= $GTK_REQS                 \
 
15926
                  $X11_PKG                              \
 
15927
                  gdk-pixbuf-2.0 >= $GDK_PIXBUF_REQS    \
 
15928
                  glib-2.0 >= $GLIB_REQS                \
 
15929
                  gio-2.0 >= $GLIB_REQS                 \
 
15930
                  gio-unix-2.0 >= $GLIB_REQS            \
 
15931
                  libsoup-2.4 >= $LIBSOUP_REQS          \
 
15932
                  libsoup-gnome-2.4 >= $LIBSOUP_REQS    \
 
15933
                  libpeas-1.0 >= $LIBPEAS_REQS          \
 
15934
                  libpeas-gtk-1.0 >= $LIBPEAS_REQS      \
 
15935
                  libxml-2.0 >= $LIBXML2_REQS           \
 
15936
                  tdb >= 1.2.6                          \
 
15937
                  json-glib-1.0") 2>&5
 
15938
  ac_status=$?
 
15939
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
15940
  test $ac_status = 0; }; then
 
15941
  pkg_cv_RHYTHMBOX_LIBS=`$PKG_CONFIG --libs "\
 
15942
                  gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQS \
 
15943
                  gtk+-3.0 >= $GTK_REQS                 \
 
15944
                  $X11_PKG                              \
 
15945
                  gdk-pixbuf-2.0 >= $GDK_PIXBUF_REQS    \
 
15946
                  glib-2.0 >= $GLIB_REQS                \
 
15947
                  gio-2.0 >= $GLIB_REQS                 \
 
15948
                  gio-unix-2.0 >= $GLIB_REQS            \
 
15949
                  libsoup-2.4 >= $LIBSOUP_REQS          \
 
15950
                  libsoup-gnome-2.4 >= $LIBSOUP_REQS    \
 
15951
                  libpeas-1.0 >= $LIBPEAS_REQS          \
 
15952
                  libpeas-gtk-1.0 >= $LIBPEAS_REQS      \
 
15953
                  libxml-2.0 >= $LIBXML2_REQS           \
 
15954
                  tdb >= 1.2.6                          \
 
15955
                  json-glib-1.0" 2>/dev/null`
 
15956
                      test "x$?" != "x0" && pkg_failed=yes
 
15957
else
 
15958
  pkg_failed=yes
 
15959
fi
 
15960
 else
 
15961
    pkg_failed=untried
 
15962
fi
 
15963
 
 
15964
 
 
15965
 
 
15966
if test $pkg_failed = yes; then
 
15967
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15968
$as_echo "no" >&6; }
 
15969
 
 
15970
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
15971
        _pkg_short_errors_supported=yes
 
15972
else
 
15973
        _pkg_short_errors_supported=no
 
15974
fi
 
15975
        if test $_pkg_short_errors_supported = yes; then
 
15976
                RHYTHMBOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "\
 
15977
                  gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQS \
 
15978
                  gtk+-3.0 >= $GTK_REQS                 \
 
15979
                  $X11_PKG                              \
 
15980
                  gdk-pixbuf-2.0 >= $GDK_PIXBUF_REQS    \
 
15981
                  glib-2.0 >= $GLIB_REQS                \
 
15982
                  gio-2.0 >= $GLIB_REQS                 \
 
15983
                  gio-unix-2.0 >= $GLIB_REQS            \
 
15984
                  libsoup-2.4 >= $LIBSOUP_REQS          \
 
15985
                  libsoup-gnome-2.4 >= $LIBSOUP_REQS    \
 
15986
                  libpeas-1.0 >= $LIBPEAS_REQS          \
 
15987
                  libpeas-gtk-1.0 >= $LIBPEAS_REQS      \
 
15988
                  libxml-2.0 >= $LIBXML2_REQS           \
 
15989
                  tdb >= 1.2.6                          \
 
15990
                  json-glib-1.0" 2>&1`
 
15991
        else
 
15992
                RHYTHMBOX_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "\
 
15993
                  gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQS \
 
15994
                  gtk+-3.0 >= $GTK_REQS                 \
 
15995
                  $X11_PKG                              \
 
15996
                  gdk-pixbuf-2.0 >= $GDK_PIXBUF_REQS    \
 
15997
                  glib-2.0 >= $GLIB_REQS                \
 
15998
                  gio-2.0 >= $GLIB_REQS                 \
 
15999
                  gio-unix-2.0 >= $GLIB_REQS            \
 
16000
                  libsoup-2.4 >= $LIBSOUP_REQS          \
 
16001
                  libsoup-gnome-2.4 >= $LIBSOUP_REQS    \
 
16002
                  libpeas-1.0 >= $LIBPEAS_REQS          \
 
16003
                  libpeas-gtk-1.0 >= $LIBPEAS_REQS      \
 
16004
                  libxml-2.0 >= $LIBXML2_REQS           \
 
16005
                  tdb >= 1.2.6                          \
 
16006
                  json-glib-1.0" 2>&1`
 
16007
        fi
 
16008
        # Put the nasty error message in config.log where it belongs
 
16009
        echo "$RHYTHMBOX_PKG_ERRORS" >&5
 
16010
 
 
16011
        as_fn_error $? "Package requirements (\
 
16012
                  gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQS \
 
16013
                  gtk+-3.0 >= $GTK_REQS                 \
 
16014
                  $X11_PKG                              \
 
16015
                  gdk-pixbuf-2.0 >= $GDK_PIXBUF_REQS    \
 
16016
                  glib-2.0 >= $GLIB_REQS                \
 
16017
                  gio-2.0 >= $GLIB_REQS                 \
 
16018
                  gio-unix-2.0 >= $GLIB_REQS            \
 
16019
                  libsoup-2.4 >= $LIBSOUP_REQS          \
 
16020
                  libsoup-gnome-2.4 >= $LIBSOUP_REQS    \
 
16021
                  libpeas-1.0 >= $LIBPEAS_REQS          \
 
16022
                  libpeas-gtk-1.0 >= $LIBPEAS_REQS      \
 
16023
                  libxml-2.0 >= $LIBXML2_REQS           \
 
16024
                  tdb >= 1.2.6                          \
 
16025
                  json-glib-1.0) were not met:
 
16026
 
 
16027
$RHYTHMBOX_PKG_ERRORS
 
16028
 
 
16029
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
16030
installed software in a non-standard prefix.
 
16031
 
 
16032
Alternatively, you may set the environment variables RHYTHMBOX_CFLAGS
 
16033
and RHYTHMBOX_LIBS to avoid the need to call pkg-config.
 
16034
See the pkg-config man page for more details." "$LINENO" 5
 
16035
elif test $pkg_failed = untried; then
 
16036
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16037
$as_echo "no" >&6; }
 
16038
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
16039
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
16040
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
16041
is in your PATH or set the PKG_CONFIG environment variable to the full
 
16042
path to pkg-config.
 
16043
 
 
16044
Alternatively, you may set the environment variables RHYTHMBOX_CFLAGS
 
16045
and RHYTHMBOX_LIBS to avoid the need to call pkg-config.
 
16046
See the pkg-config man page for more details.
 
16047
 
 
16048
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
16049
See \`config.log' for more details" "$LINENO" 5; }
 
16050
else
 
16051
        RHYTHMBOX_CFLAGS=$pkg_cv_RHYTHMBOX_CFLAGS
 
16052
        RHYTHMBOX_LIBS=$pkg_cv_RHYTHMBOX_LIBS
 
16053
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
16054
$as_echo "yes" >&6; }
 
16055
 
 
16056
fi
 
16057
 
 
16058
 
 
16059
pkg_failed=no
 
16060
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TOTEM_PLPARSER" >&5
 
16061
$as_echo_n "checking for TOTEM_PLPARSER... " >&6; }
 
16062
 
 
16063
if test -n "$TOTEM_PLPARSER_CFLAGS"; then
 
16064
    pkg_cv_TOTEM_PLPARSER_CFLAGS="$TOTEM_PLPARSER_CFLAGS"
 
16065
 elif test -n "$PKG_CONFIG"; then
 
16066
    if test -n "$PKG_CONFIG" && \
 
16067
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"totem-plparser >= \$TOTEM_PLPARSER_REQS\""; } >&5
 
16068
  ($PKG_CONFIG --exists --print-errors "totem-plparser >= $TOTEM_PLPARSER_REQS") 2>&5
 
16069
  ac_status=$?
 
16070
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16071
  test $ac_status = 0; }; then
 
16072
  pkg_cv_TOTEM_PLPARSER_CFLAGS=`$PKG_CONFIG --cflags "totem-plparser >= $TOTEM_PLPARSER_REQS" 2>/dev/null`
 
16073
                      test "x$?" != "x0" && pkg_failed=yes
 
16074
else
 
16075
  pkg_failed=yes
 
16076
fi
 
16077
 else
 
16078
    pkg_failed=untried
 
16079
fi
 
16080
if test -n "$TOTEM_PLPARSER_LIBS"; then
 
16081
    pkg_cv_TOTEM_PLPARSER_LIBS="$TOTEM_PLPARSER_LIBS"
 
16082
 elif test -n "$PKG_CONFIG"; then
 
16083
    if test -n "$PKG_CONFIG" && \
 
16084
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"totem-plparser >= \$TOTEM_PLPARSER_REQS\""; } >&5
 
16085
  ($PKG_CONFIG --exists --print-errors "totem-plparser >= $TOTEM_PLPARSER_REQS") 2>&5
 
16086
  ac_status=$?
 
16087
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16088
  test $ac_status = 0; }; then
 
16089
  pkg_cv_TOTEM_PLPARSER_LIBS=`$PKG_CONFIG --libs "totem-plparser >= $TOTEM_PLPARSER_REQS" 2>/dev/null`
 
16090
                      test "x$?" != "x0" && pkg_failed=yes
 
16091
else
 
16092
  pkg_failed=yes
 
16093
fi
 
16094
 else
 
16095
    pkg_failed=untried
 
16096
fi
 
16097
 
 
16098
 
 
16099
 
 
16100
if test $pkg_failed = yes; then
 
16101
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16102
$as_echo "no" >&6; }
 
16103
 
 
16104
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
16105
        _pkg_short_errors_supported=yes
 
16106
else
 
16107
        _pkg_short_errors_supported=no
 
16108
fi
 
16109
        if test $_pkg_short_errors_supported = yes; then
 
16110
                TOTEM_PLPARSER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "totem-plparser >= $TOTEM_PLPARSER_REQS" 2>&1`
 
16111
        else
 
16112
                TOTEM_PLPARSER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "totem-plparser >= $TOTEM_PLPARSER_REQS" 2>&1`
 
16113
        fi
 
16114
        # Put the nasty error message in config.log where it belongs
 
16115
        echo "$TOTEM_PLPARSER_PKG_ERRORS" >&5
 
16116
 
 
16117
        have_totem_plparser=no
 
16118
elif test $pkg_failed = untried; then
 
16119
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16120
$as_echo "no" >&6; }
 
16121
        have_totem_plparser=no
 
16122
else
 
16123
        TOTEM_PLPARSER_CFLAGS=$pkg_cv_TOTEM_PLPARSER_CFLAGS
 
16124
        TOTEM_PLPARSER_LIBS=$pkg_cv_TOTEM_PLPARSER_LIBS
 
16125
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
16126
$as_echo "yes" >&6; }
 
16127
        have_totem_plparser=yes
 
16128
fi
 
16129
if test x$have_totem_plparser != xyes; then
 
16130
   as_fn_error $? "totem playlist parsing library not found or too old" "$LINENO" 5
 
16131
else
 
16132
   if test "x`pkg-config --variable uselibcamel totem-plparser`" = "xno" ; then
 
16133
       as_fn_error $? "totem playlist parsing library has Podcast parsing disabled" "$LINENO" 5
 
16134
   fi
 
16135
fi
 
16136
 
 
16137
 
 
16138
# Check whether --with-gudev was given.
 
16139
if test "${with_gudev+set}" = set; then :
 
16140
  withval=$with_gudev;
 
16141
else
 
16142
  with_gudev=auto
 
16143
fi
 
16144
 
 
16145
if test x"$with_gudev" != "xno"; then
 
16146
 
 
16147
pkg_failed=no
 
16148
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GUDEV" >&5
 
16149
$as_echo_n "checking for GUDEV... " >&6; }
 
16150
 
 
16151
if test -n "$GUDEV_CFLAGS"; then
 
16152
    pkg_cv_GUDEV_CFLAGS="$GUDEV_CFLAGS"
 
16153
 elif test -n "$PKG_CONFIG"; then
 
16154
    if test -n "$PKG_CONFIG" && \
 
16155
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gudev-1.0 >= \$GUDEV_REQS\""; } >&5
 
16156
  ($PKG_CONFIG --exists --print-errors "gudev-1.0 >= $GUDEV_REQS") 2>&5
 
16157
  ac_status=$?
 
16158
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16159
  test $ac_status = 0; }; then
 
16160
  pkg_cv_GUDEV_CFLAGS=`$PKG_CONFIG --cflags "gudev-1.0 >= $GUDEV_REQS" 2>/dev/null`
 
16161
                      test "x$?" != "x0" && pkg_failed=yes
 
16162
else
 
16163
  pkg_failed=yes
 
16164
fi
 
16165
 else
 
16166
    pkg_failed=untried
 
16167
fi
 
16168
if test -n "$GUDEV_LIBS"; then
 
16169
    pkg_cv_GUDEV_LIBS="$GUDEV_LIBS"
 
16170
 elif test -n "$PKG_CONFIG"; then
 
16171
    if test -n "$PKG_CONFIG" && \
 
16172
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gudev-1.0 >= \$GUDEV_REQS\""; } >&5
 
16173
  ($PKG_CONFIG --exists --print-errors "gudev-1.0 >= $GUDEV_REQS") 2>&5
 
16174
  ac_status=$?
 
16175
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16176
  test $ac_status = 0; }; then
 
16177
  pkg_cv_GUDEV_LIBS=`$PKG_CONFIG --libs "gudev-1.0 >= $GUDEV_REQS" 2>/dev/null`
 
16178
                      test "x$?" != "x0" && pkg_failed=yes
 
16179
else
 
16180
  pkg_failed=yes
 
16181
fi
 
16182
 else
 
16183
    pkg_failed=untried
 
16184
fi
 
16185
 
 
16186
 
 
16187
 
 
16188
if test $pkg_failed = yes; then
 
16189
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16190
$as_echo "no" >&6; }
 
16191
 
 
16192
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
16193
        _pkg_short_errors_supported=yes
 
16194
else
 
16195
        _pkg_short_errors_supported=no
 
16196
fi
 
16197
        if test $_pkg_short_errors_supported = yes; then
 
16198
                GUDEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gudev-1.0 >= $GUDEV_REQS" 2>&1`
 
16199
        else
 
16200
                GUDEV_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gudev-1.0 >= $GUDEV_REQS" 2>&1`
 
16201
        fi
 
16202
        # Put the nasty error message in config.log where it belongs
 
16203
        echo "$GUDEV_PKG_ERRORS" >&5
 
16204
 
 
16205
        have_gudev=no
 
16206
elif test $pkg_failed = untried; then
 
16207
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16208
$as_echo "no" >&6; }
 
16209
        have_gudev=no
 
16210
else
 
16211
        GUDEV_CFLAGS=$pkg_cv_GUDEV_CFLAGS
 
16212
        GUDEV_LIBS=$pkg_cv_GUDEV_LIBS
 
16213
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
16214
$as_echo "yes" >&6; }
 
16215
        have_gudev=yes
 
16216
fi
 
16217
        if test x"$have_gudev" = "xno" -a x"$with_gudev" = "xyes"; then
 
16218
          as_fn_error $? "GUdev explicitly requested, but is not available" "$LINENO" 5
 
16219
        fi
 
16220
        if test x"$have_gudev" = "xyes"; then
 
16221
          use_gudev=yes
 
16222
 
 
16223
 
 
16224
 
 
16225
$as_echo "#define HAVE_GUDEV 1" >>confdefs.h
 
16226
 
 
16227
        else
 
16228
          use_gudev=no
 
16229
        fi
 
16230
else
 
16231
  use_gudev=no
 
16232
fi
 
16233
 if test x"$use_gudev" = xyes; then
 
16234
  USE_GUDEV_TRUE=
 
16235
  USE_GUDEV_FALSE='#'
 
16236
else
 
16237
  USE_GUDEV_TRUE='#'
 
16238
  USE_GUDEV_FALSE=
 
16239
fi
 
16240
 
 
16241
 
 
16242
 
 
16243
# Check whether --with-hal was given.
 
16244
if test "${with_hal+set}" = set; then :
 
16245
  withval=$with_hal;
 
16246
fi
 
16247
 
 
16248
if test "x$with_hal" != "xno"; then
 
16249
 
 
16250
pkg_failed=no
 
16251
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for HAL" >&5
 
16252
$as_echo_n "checking for HAL... " >&6; }
 
16253
 
 
16254
if test -n "$HAL_CFLAGS"; then
 
16255
    pkg_cv_HAL_CFLAGS="$HAL_CFLAGS"
 
16256
 elif test -n "$PKG_CONFIG"; then
 
16257
    if test -n "$PKG_CONFIG" && \
 
16258
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hal >= 0.5 hal < 0.6 dbus-glib-1\""; } >&5
 
16259
  ($PKG_CONFIG --exists --print-errors "hal >= 0.5 hal < 0.6 dbus-glib-1") 2>&5
 
16260
  ac_status=$?
 
16261
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16262
  test $ac_status = 0; }; then
 
16263
  pkg_cv_HAL_CFLAGS=`$PKG_CONFIG --cflags "hal >= 0.5 hal < 0.6 dbus-glib-1" 2>/dev/null`
 
16264
                      test "x$?" != "x0" && pkg_failed=yes
 
16265
else
 
16266
  pkg_failed=yes
 
16267
fi
 
16268
 else
 
16269
    pkg_failed=untried
 
16270
fi
 
16271
if test -n "$HAL_LIBS"; then
 
16272
    pkg_cv_HAL_LIBS="$HAL_LIBS"
 
16273
 elif test -n "$PKG_CONFIG"; then
 
16274
    if test -n "$PKG_CONFIG" && \
 
16275
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hal >= 0.5 hal < 0.6 dbus-glib-1\""; } >&5
 
16276
  ($PKG_CONFIG --exists --print-errors "hal >= 0.5 hal < 0.6 dbus-glib-1") 2>&5
 
16277
  ac_status=$?
 
16278
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16279
  test $ac_status = 0; }; then
 
16280
  pkg_cv_HAL_LIBS=`$PKG_CONFIG --libs "hal >= 0.5 hal < 0.6 dbus-glib-1" 2>/dev/null`
 
16281
                      test "x$?" != "x0" && pkg_failed=yes
 
16282
else
 
16283
  pkg_failed=yes
 
16284
fi
 
16285
 else
 
16286
    pkg_failed=untried
 
16287
fi
 
16288
 
 
16289
 
 
16290
 
 
16291
if test $pkg_failed = yes; then
 
16292
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16293
$as_echo "no" >&6; }
 
16294
 
 
16295
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
16296
        _pkg_short_errors_supported=yes
 
16297
else
 
16298
        _pkg_short_errors_supported=no
 
16299
fi
 
16300
        if test $_pkg_short_errors_supported = yes; then
 
16301
                HAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "hal >= 0.5 hal < 0.6 dbus-glib-1" 2>&1`
 
16302
        else
 
16303
                HAL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "hal >= 0.5 hal < 0.6 dbus-glib-1" 2>&1`
 
16304
        fi
 
16305
        # Put the nasty error message in config.log where it belongs
 
16306
        echo "$HAL_PKG_ERRORS" >&5
 
16307
 
 
16308
        enable_hal=no
 
16309
elif test $pkg_failed = untried; then
 
16310
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16311
$as_echo "no" >&6; }
 
16312
        enable_hal=no
 
16313
else
 
16314
        HAL_CFLAGS=$pkg_cv_HAL_CFLAGS
 
16315
        HAL_LIBS=$pkg_cv_HAL_LIBS
 
16316
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
16317
$as_echo "yes" >&6; }
 
16318
        enable_hal=yes
 
16319
fi
 
16320
  if test "x$enable_hal" != "xyes" -a "x$with_hal" = "xyes"; then
 
16321
      as_fn_error $? "HAL support explicitly requested but HAL couldn't be found" "$LINENO" 5
 
16322
  fi
 
16323
 
 
16324
  if test "x$enable_hal" = "xyes"; then
 
16325
 
 
16326
$as_echo "#define HAVE_HAL 1" >>confdefs.h
 
16327
 
 
16328
 
 
16329
 
 
16330
  fi
 
16331
fi
 
16332
 if test x"$enable_hal" = xyes; then
 
16333
  HAVE_HAL_TRUE=
 
16334
  HAVE_HAL_FALSE='#'
 
16335
else
 
16336
  HAVE_HAL_TRUE='#'
 
16337
  HAVE_HAL_FALSE=
 
16338
fi
 
16339
 
 
16340
 
 
16341
 
 
16342
 
 
16343
# Check whether --with-ipod was given.
 
16344
if test "${with_ipod+set}" = set; then :
 
16345
  withval=$with_ipod;
 
16346
else
 
16347
  with_ipod=auto
 
16348
fi
 
16349
 
 
16350
if test "x$with_ipod" != "xno"; then
 
16351
 
 
16352
pkg_failed=no
 
16353
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for IPOD" >&5
 
16354
$as_echo_n "checking for IPOD... " >&6; }
 
16355
 
 
16356
if test -n "$IPOD_CFLAGS"; then
 
16357
    pkg_cv_IPOD_CFLAGS="$IPOD_CFLAGS"
 
16358
 elif test -n "$PKG_CONFIG"; then
 
16359
    if test -n "$PKG_CONFIG" && \
 
16360
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgpod-1.0 >= \$LIBGPOD_REQS\""; } >&5
 
16361
  ($PKG_CONFIG --exists --print-errors "libgpod-1.0 >= $LIBGPOD_REQS") 2>&5
 
16362
  ac_status=$?
 
16363
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16364
  test $ac_status = 0; }; then
 
16365
  pkg_cv_IPOD_CFLAGS=`$PKG_CONFIG --cflags "libgpod-1.0 >= $LIBGPOD_REQS" 2>/dev/null`
 
16366
                      test "x$?" != "x0" && pkg_failed=yes
 
16367
else
 
16368
  pkg_failed=yes
 
16369
fi
 
16370
 else
 
16371
    pkg_failed=untried
 
16372
fi
 
16373
if test -n "$IPOD_LIBS"; then
 
16374
    pkg_cv_IPOD_LIBS="$IPOD_LIBS"
 
16375
 elif test -n "$PKG_CONFIG"; then
 
16376
    if test -n "$PKG_CONFIG" && \
 
16377
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgpod-1.0 >= \$LIBGPOD_REQS\""; } >&5
 
16378
  ($PKG_CONFIG --exists --print-errors "libgpod-1.0 >= $LIBGPOD_REQS") 2>&5
 
16379
  ac_status=$?
 
16380
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16381
  test $ac_status = 0; }; then
 
16382
  pkg_cv_IPOD_LIBS=`$PKG_CONFIG --libs "libgpod-1.0 >= $LIBGPOD_REQS" 2>/dev/null`
 
16383
                      test "x$?" != "x0" && pkg_failed=yes
 
16384
else
 
16385
  pkg_failed=yes
 
16386
fi
 
16387
 else
 
16388
    pkg_failed=untried
 
16389
fi
 
16390
 
 
16391
 
 
16392
 
 
16393
if test $pkg_failed = yes; then
 
16394
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16395
$as_echo "no" >&6; }
 
16396
 
 
16397
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
16398
        _pkg_short_errors_supported=yes
 
16399
else
 
16400
        _pkg_short_errors_supported=no
 
16401
fi
 
16402
        if test $_pkg_short_errors_supported = yes; then
 
16403
                IPOD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libgpod-1.0 >= $LIBGPOD_REQS" 2>&1`
 
16404
        else
 
16405
                IPOD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libgpod-1.0 >= $LIBGPOD_REQS" 2>&1`
 
16406
        fi
 
16407
        # Put the nasty error message in config.log where it belongs
 
16408
        echo "$IPOD_PKG_ERRORS" >&5
 
16409
 
 
16410
        have_libgpod=no
 
16411
elif test $pkg_failed = untried; then
 
16412
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16413
$as_echo "no" >&6; }
 
16414
        have_libgpod=no
 
16415
else
 
16416
        IPOD_CFLAGS=$pkg_cv_IPOD_CFLAGS
 
16417
        IPOD_LIBS=$pkg_cv_IPOD_LIBS
 
16418
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
16419
$as_echo "yes" >&6; }
 
16420
        have_libgpod=yes
 
16421
fi
 
16422
        if test "x$have_libgpod" = "xno" -a "x$with_ipod" = "xyes"; then
 
16423
          as_fn_error $? "iPod explicitly requested but libgpod couldn't be found" "$LINENO" 5
 
16424
        fi
 
16425
        if test "x$have_libgpod" = "xyes"; then
 
16426
          if test -n "$PKG_CONFIG" && \
 
16427
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgpod-1.0 >= 0.7.92\""; } >&5
 
16428
  ($PKG_CONFIG --exists --print-errors "libgpod-1.0 >= 0.7.92") 2>&5
 
16429
  ac_status=$?
 
16430
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16431
  test $ac_status = 0; }; then
 
16432
  have_itdb_start_stop_sync=yes
 
16433
else
 
16434
  have_itdb_start_stop_sync=no
 
16435
fi
 
16436
          if test "x$have_itdb_start_stop_sync" = "xyes"; then
 
16437
 
 
16438
$as_echo "#define HAVE_ITDB_START_STOP_SYNC 1" >>confdefs.h
 
16439
 
 
16440
          fi
 
16441
          use_ipod=yes
 
16442
 
 
16443
 
 
16444
        fi
 
16445
fi
 
16446
 if test x"$use_ipod" = xyes; then
 
16447
  USE_IPOD_TRUE=
 
16448
  USE_IPOD_FALSE='#'
 
16449
else
 
16450
  USE_IPOD_TRUE='#'
 
16451
  USE_IPOD_FALSE=
 
16452
fi
 
16453
 
 
16454
 
 
16455
 
 
16456
# Check whether --with-mtp was given.
 
16457
if test "${with_mtp+set}" = set; then :
 
16458
  withval=$with_mtp;
 
16459
else
 
16460
  with_mtp=auto
 
16461
fi
 
16462
 
 
16463
if test "x$with_mtp" != "xno"; then
 
16464
        can_use_mtp=no
 
16465
        if test x"$use_gudev" = "xyes" -o x"$enable_hal" = "xyes"; then
 
16466
          can_use_mtp=yes
 
16467
        fi
 
16468
 
 
16469
 
 
16470
pkg_failed=no
 
16471
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MTP" >&5
 
16472
$as_echo_n "checking for MTP... " >&6; }
 
16473
 
 
16474
if test -n "$MTP_CFLAGS"; then
 
16475
    pkg_cv_MTP_CFLAGS="$MTP_CFLAGS"
 
16476
 elif test -n "$PKG_CONFIG"; then
 
16477
    if test -n "$PKG_CONFIG" && \
 
16478
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmtp >= \$LIBMTP_REQS\""; } >&5
 
16479
  ($PKG_CONFIG --exists --print-errors "libmtp >= $LIBMTP_REQS") 2>&5
 
16480
  ac_status=$?
 
16481
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16482
  test $ac_status = 0; }; then
 
16483
  pkg_cv_MTP_CFLAGS=`$PKG_CONFIG --cflags "libmtp >= $LIBMTP_REQS" 2>/dev/null`
 
16484
                      test "x$?" != "x0" && pkg_failed=yes
 
16485
else
 
16486
  pkg_failed=yes
 
16487
fi
 
16488
 else
 
16489
    pkg_failed=untried
 
16490
fi
 
16491
if test -n "$MTP_LIBS"; then
 
16492
    pkg_cv_MTP_LIBS="$MTP_LIBS"
 
16493
 elif test -n "$PKG_CONFIG"; then
 
16494
    if test -n "$PKG_CONFIG" && \
 
16495
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmtp >= \$LIBMTP_REQS\""; } >&5
 
16496
  ($PKG_CONFIG --exists --print-errors "libmtp >= $LIBMTP_REQS") 2>&5
 
16497
  ac_status=$?
 
16498
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16499
  test $ac_status = 0; }; then
 
16500
  pkg_cv_MTP_LIBS=`$PKG_CONFIG --libs "libmtp >= $LIBMTP_REQS" 2>/dev/null`
 
16501
                      test "x$?" != "x0" && pkg_failed=yes
 
16502
else
 
16503
  pkg_failed=yes
 
16504
fi
 
16505
 else
 
16506
    pkg_failed=untried
 
16507
fi
 
16508
 
 
16509
 
 
16510
 
 
16511
if test $pkg_failed = yes; then
 
16512
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16513
$as_echo "no" >&6; }
 
16514
 
 
16515
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
16516
        _pkg_short_errors_supported=yes
 
16517
else
 
16518
        _pkg_short_errors_supported=no
 
16519
fi
 
16520
        if test $_pkg_short_errors_supported = yes; then
 
16521
                MTP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libmtp >= $LIBMTP_REQS" 2>&1`
 
16522
        else
 
16523
                MTP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libmtp >= $LIBMTP_REQS" 2>&1`
 
16524
        fi
 
16525
        # Put the nasty error message in config.log where it belongs
 
16526
        echo "$MTP_PKG_ERRORS" >&5
 
16527
 
 
16528
        have_libmtp=no
 
16529
elif test $pkg_failed = untried; then
 
16530
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16531
$as_echo "no" >&6; }
 
16532
        have_libmtp=no
 
16533
else
 
16534
        MTP_CFLAGS=$pkg_cv_MTP_CFLAGS
 
16535
        MTP_LIBS=$pkg_cv_MTP_LIBS
 
16536
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
16537
$as_echo "yes" >&6; }
 
16538
        have_libmtp=yes
 
16539
fi
 
16540
        if test x"$with_mtp" = "xyes"; then
 
16541
          if test x"$have_libmtp" = "xno"; then
 
16542
            as_fn_error $? "MTP explicitly requested but libmtp is not available" "$LINENO" 5
 
16543
          fi
 
16544
          if test x"$can_use_mtp" = "xno"; then
 
16545
            as_fn_error $? "MTP explicitly requested but GUdev and HAL are not available" "$LINENO" 5
 
16546
          fi
 
16547
        fi
 
16548
        if test "x$have_libmtp" = "xyes" -a "x$can_use_mtp" = "xyes"; then
 
16549
          use_mtp=yes
 
16550
 
 
16551
 
 
16552
        fi
 
16553
fi
 
16554
 if test x"$use_mtp" = xyes; then
 
16555
  USE_MTP_TRUE=
 
16556
  USE_MTP_FALSE='#'
 
16557
else
 
16558
  USE_MTP_TRUE='#'
 
16559
  USE_MTP_FALSE=
 
16560
fi
 
16561
 
 
16562
 
 
16563
 
 
16564
 
 
16565
 
 
16566
# Check whether --with-libsecret was given.
 
16567
if test "${with_libsecret+set}" = set; then :
 
16568
  withval=$with_libsecret;
 
16569
else
 
16570
  with_libsecret=auto
 
16571
fi
 
16572
 
 
16573
if test "x$with_libsecret" != "xno"; then
 
16574
 
 
16575
 
 
16576
pkg_failed=no
 
16577
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBSECRET" >&5
 
16578
$as_echo_n "checking for LIBSECRET... " >&6; }
 
16579
 
 
16580
if test -n "$LIBSECRET_CFLAGS"; then
 
16581
    pkg_cv_LIBSECRET_CFLAGS="$LIBSECRET_CFLAGS"
 
16582
 elif test -n "$PKG_CONFIG"; then
 
16583
    if test -n "$PKG_CONFIG" && \
 
16584
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsecret-1 >= \$LIBSECRET_REQS\""; } >&5
 
16585
  ($PKG_CONFIG --exists --print-errors "libsecret-1 >= $LIBSECRET_REQS") 2>&5
 
16586
  ac_status=$?
 
16587
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16588
  test $ac_status = 0; }; then
 
16589
  pkg_cv_LIBSECRET_CFLAGS=`$PKG_CONFIG --cflags "libsecret-1 >= $LIBSECRET_REQS" 2>/dev/null`
 
16590
                      test "x$?" != "x0" && pkg_failed=yes
 
16591
else
 
16592
  pkg_failed=yes
 
16593
fi
 
16594
 else
 
16595
    pkg_failed=untried
 
16596
fi
 
16597
if test -n "$LIBSECRET_LIBS"; then
 
16598
    pkg_cv_LIBSECRET_LIBS="$LIBSECRET_LIBS"
 
16599
 elif test -n "$PKG_CONFIG"; then
 
16600
    if test -n "$PKG_CONFIG" && \
 
16601
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsecret-1 >= \$LIBSECRET_REQS\""; } >&5
 
16602
  ($PKG_CONFIG --exists --print-errors "libsecret-1 >= $LIBSECRET_REQS") 2>&5
 
16603
  ac_status=$?
 
16604
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16605
  test $ac_status = 0; }; then
 
16606
  pkg_cv_LIBSECRET_LIBS=`$PKG_CONFIG --libs "libsecret-1 >= $LIBSECRET_REQS" 2>/dev/null`
 
16607
                      test "x$?" != "x0" && pkg_failed=yes
 
16608
else
 
16609
  pkg_failed=yes
 
16610
fi
 
16611
 else
 
16612
    pkg_failed=untried
 
16613
fi
 
16614
 
 
16615
 
 
16616
 
 
16617
if test $pkg_failed = yes; then
 
16618
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16619
$as_echo "no" >&6; }
 
16620
 
 
16621
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
16622
        _pkg_short_errors_supported=yes
 
16623
else
 
16624
        _pkg_short_errors_supported=no
 
16625
fi
 
16626
        if test $_pkg_short_errors_supported = yes; then
 
16627
                LIBSECRET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsecret-1 >= $LIBSECRET_REQS" 2>&1`
 
16628
        else
 
16629
                LIBSECRET_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsecret-1 >= $LIBSECRET_REQS" 2>&1`
 
16630
        fi
 
16631
        # Put the nasty error message in config.log where it belongs
 
16632
        echo "$LIBSECRET_PKG_ERRORS" >&5
 
16633
 
 
16634
        have_libsecret=no
 
16635
elif test $pkg_failed = untried; then
 
16636
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16637
$as_echo "no" >&6; }
 
16638
        have_libsecret=no
 
16639
else
 
16640
        LIBSECRET_CFLAGS=$pkg_cv_LIBSECRET_CFLAGS
 
16641
        LIBSECRET_LIBS=$pkg_cv_LIBSECRET_LIBS
 
16642
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
16643
$as_echo "yes" >&6; }
 
16644
        have_libsecret=yes
 
16645
fi
 
16646
        if test "x$have_libsecret" = "xno" -a "x$with_libsecret" = "xyes"; then
 
16647
          as_fn_error $? "keyring support explicitly requested but libsecret
 
16648
                        could not be found" "$LINENO" 5
 
16649
        fi
 
16650
        if test "x$have_libsecret" = "xyes"; then
 
16651
 
 
16652
$as_echo "#define WITH_LIBSECRET 1" >>confdefs.h
 
16653
 
 
16654
           use_libsecret=yes
 
16655
 
 
16656
 
 
16657
          PY_LIBSECRET_ENABLED=True
 
16658
 
 
16659
        else
 
16660
          PY_LIBSECRET_ENABLED=False
 
16661
 
 
16662
        fi
 
16663
else
 
16664
        PY_LIBSECRET_ENABLED=False
 
16665
 
 
16666
fi
 
16667
 if test x"$use_libsecret" = xyes; then
 
16668
  USE_LIBSECRET_TRUE=
 
16669
  USE_LIBSECRET_FALSE='#'
 
16670
else
 
16671
  USE_LIBSECRET_TRUE='#'
 
16672
  USE_LIBSECRET_FALSE=
 
16673
fi
 
16674
 
 
16675
 
 
16676
 
 
16677
# Check whether --with-database was given.
 
16678
if test "${with_database+set}" = set; then :
 
16679
  withval=$with_database;
 
16680
else
 
16681
  with_database=tree
 
16682
fi
 
16683
 
 
16684
 if test x"$with_database" = xtree; then
 
16685
  USE_TREEDB_TRUE=
 
16686
  USE_TREEDB_FALSE='#'
 
16687
else
 
16688
  USE_TREEDB_TRUE='#'
 
16689
  USE_TREEDB_FALSE=
 
16690
fi
 
16691
 
 
16692
 
 
16693
case "x$with_database" in
 
16694
  "xtree")
 
16695
 
 
16696
$as_echo "#define WITH_RHYTHMDB_TREE 1" >>confdefs.h
 
16697
 
 
16698
    ;;
 
16699
  *)
 
16700
    as_fn_error $? "Unknown database selected" "$LINENO" 5
 
16701
    ;;
 
16702
esac
 
16703
 
 
16704
 
 
16705
# Check whether --with-rhythmdb-debug was given.
 
16706
if test "${with_rhythmdb_debug+set}" = set; then :
 
16707
  withval=$with_rhythmdb_debug;
 
16708
else
 
16709
  with_rhythmdb_debug=0
 
16710
fi
 
16711
 
 
16712
if test x"${with_rhythmdb_debug}" != x0; then
 
16713
 
 
16714
cat >>confdefs.h <<_ACEOF
 
16715
#define RHYTHMDB_ENABLE_SANITY_CHECK "${with_rhythmdb_debug}"
 
16716
_ACEOF
 
16717
 
 
16718
fi
 
16719
 
 
16720
 
 
16721
pkg_failed=no
 
16722
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSTREAMER" >&5
 
16723
$as_echo_n "checking for GSTREAMER... " >&6; }
 
16724
 
 
16725
if test -n "$GSTREAMER_CFLAGS"; then
 
16726
    pkg_cv_GSTREAMER_CFLAGS="$GSTREAMER_CFLAGS"
 
16727
 elif test -n "$PKG_CONFIG"; then
 
16728
    if test -n "$PKG_CONFIG" && \
 
16729
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
 
16730
        gstreamer-1.0 >= \$GST_REQS
 
16731
        gstreamer-audio-1.0 >= \$GST_REQS
 
16732
        gstreamer-base-1.0 >= \$GST_REQS
 
16733
        gstreamer-plugins-base-1.0 >= \$GST_REQS
 
16734
        gstreamer-pbutils-1.0 >= \$GST_REQS\""; } >&5
 
16735
  ($PKG_CONFIG --exists --print-errors "\
 
16736
        gstreamer-1.0 >= $GST_REQS
 
16737
        gstreamer-audio-1.0 >= $GST_REQS
 
16738
        gstreamer-base-1.0 >= $GST_REQS
 
16739
        gstreamer-plugins-base-1.0 >= $GST_REQS
 
16740
        gstreamer-pbutils-1.0 >= $GST_REQS") 2>&5
 
16741
  ac_status=$?
 
16742
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16743
  test $ac_status = 0; }; then
 
16744
  pkg_cv_GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "\
 
16745
        gstreamer-1.0 >= $GST_REQS
 
16746
        gstreamer-audio-1.0 >= $GST_REQS
 
16747
        gstreamer-base-1.0 >= $GST_REQS
 
16748
        gstreamer-plugins-base-1.0 >= $GST_REQS
 
16749
        gstreamer-pbutils-1.0 >= $GST_REQS" 2>/dev/null`
 
16750
                      test "x$?" != "x0" && pkg_failed=yes
 
16751
else
 
16752
  pkg_failed=yes
 
16753
fi
 
16754
 else
 
16755
    pkg_failed=untried
 
16756
fi
 
16757
if test -n "$GSTREAMER_LIBS"; then
 
16758
    pkg_cv_GSTREAMER_LIBS="$GSTREAMER_LIBS"
 
16759
 elif test -n "$PKG_CONFIG"; then
 
16760
    if test -n "$PKG_CONFIG" && \
 
16761
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
 
16762
        gstreamer-1.0 >= \$GST_REQS
 
16763
        gstreamer-audio-1.0 >= \$GST_REQS
 
16764
        gstreamer-base-1.0 >= \$GST_REQS
 
16765
        gstreamer-plugins-base-1.0 >= \$GST_REQS
 
16766
        gstreamer-pbutils-1.0 >= \$GST_REQS\""; } >&5
 
16767
  ($PKG_CONFIG --exists --print-errors "\
 
16768
        gstreamer-1.0 >= $GST_REQS
 
16769
        gstreamer-audio-1.0 >= $GST_REQS
 
16770
        gstreamer-base-1.0 >= $GST_REQS
 
16771
        gstreamer-plugins-base-1.0 >= $GST_REQS
 
16772
        gstreamer-pbutils-1.0 >= $GST_REQS") 2>&5
 
16773
  ac_status=$?
 
16774
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16775
  test $ac_status = 0; }; then
 
16776
  pkg_cv_GSTREAMER_LIBS=`$PKG_CONFIG --libs "\
 
16777
        gstreamer-1.0 >= $GST_REQS
 
16778
        gstreamer-audio-1.0 >= $GST_REQS
 
16779
        gstreamer-base-1.0 >= $GST_REQS
 
16780
        gstreamer-plugins-base-1.0 >= $GST_REQS
 
16781
        gstreamer-pbutils-1.0 >= $GST_REQS" 2>/dev/null`
 
16782
                      test "x$?" != "x0" && pkg_failed=yes
 
16783
else
 
16784
  pkg_failed=yes
 
16785
fi
 
16786
 else
 
16787
    pkg_failed=untried
 
16788
fi
 
16789
 
 
16790
 
 
16791
 
 
16792
if test $pkg_failed = yes; then
 
16793
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16794
$as_echo "no" >&6; }
 
16795
 
 
16796
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
16797
        _pkg_short_errors_supported=yes
 
16798
else
 
16799
        _pkg_short_errors_supported=no
 
16800
fi
 
16801
        if test $_pkg_short_errors_supported = yes; then
 
16802
                GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "\
 
16803
        gstreamer-1.0 >= $GST_REQS
 
16804
        gstreamer-audio-1.0 >= $GST_REQS
 
16805
        gstreamer-base-1.0 >= $GST_REQS
 
16806
        gstreamer-plugins-base-1.0 >= $GST_REQS
 
16807
        gstreamer-pbutils-1.0 >= $GST_REQS" 2>&1`
 
16808
        else
 
16809
                GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "\
 
16810
        gstreamer-1.0 >= $GST_REQS
 
16811
        gstreamer-audio-1.0 >= $GST_REQS
 
16812
        gstreamer-base-1.0 >= $GST_REQS
 
16813
        gstreamer-plugins-base-1.0 >= $GST_REQS
 
16814
        gstreamer-pbutils-1.0 >= $GST_REQS" 2>&1`
 
16815
        fi
 
16816
        # Put the nasty error message in config.log where it belongs
 
16817
        echo "$GSTREAMER_PKG_ERRORS" >&5
 
16818
 
 
16819
        as_fn_error $? "Package requirements (\
 
16820
        gstreamer-1.0 >= $GST_REQS
 
16821
        gstreamer-audio-1.0 >= $GST_REQS
 
16822
        gstreamer-base-1.0 >= $GST_REQS
 
16823
        gstreamer-plugins-base-1.0 >= $GST_REQS
 
16824
        gstreamer-pbutils-1.0 >= $GST_REQS) were not met:
 
16825
 
 
16826
$GSTREAMER_PKG_ERRORS
 
16827
 
 
16828
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
16829
installed software in a non-standard prefix.
 
16830
 
 
16831
Alternatively, you may set the environment variables GSTREAMER_CFLAGS
 
16832
and GSTREAMER_LIBS to avoid the need to call pkg-config.
 
16833
See the pkg-config man page for more details." "$LINENO" 5
 
16834
elif test $pkg_failed = untried; then
 
16835
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16836
$as_echo "no" >&6; }
 
16837
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
16838
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
16839
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
16840
is in your PATH or set the PKG_CONFIG environment variable to the full
 
16841
path to pkg-config.
 
16842
 
 
16843
Alternatively, you may set the environment variables GSTREAMER_CFLAGS
 
16844
and GSTREAMER_LIBS to avoid the need to call pkg-config.
 
16845
See the pkg-config man page for more details.
 
16846
 
 
16847
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
16848
See \`config.log' for more details" "$LINENO" 5; }
 
16849
else
 
16850
        GSTREAMER_CFLAGS=$pkg_cv_GSTREAMER_CFLAGS
 
16851
        GSTREAMER_LIBS=$pkg_cv_GSTREAMER_LIBS
 
16852
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
16853
$as_echo "yes" >&6; }
 
16854
 
 
16855
fi
 
16856
 
 
16857
RHYTHMBOX_CFLAGS="$RHYTHMBOX_CFLAGS $GSTREAMER_CFLAGS -DGST_USE_UNSTABLE_API"
 
16858
RHYTHMBOX_LIBS="$RHYTHMBOX_LIBS $GSTREAMER_LIBS"
 
16859
 
 
16860
# Check whether --enable-libnotify was given.
 
16861
if test "${enable_libnotify+set}" = set; then :
 
16862
  enableval=$enable_libnotify;
 
16863
else
 
16864
  enable_libnotify=auto
 
16865
fi
 
16866
 
 
16867
if test "x$enable_libnotify" != "xno"; then
 
16868
 
 
16869
pkg_failed=no
 
16870
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NOTIFY" >&5
 
16871
$as_echo_n "checking for NOTIFY... " >&6; }
 
16872
 
 
16873
if test -n "$NOTIFY_CFLAGS"; then
 
16874
    pkg_cv_NOTIFY_CFLAGS="$NOTIFY_CFLAGS"
 
16875
 elif test -n "$PKG_CONFIG"; then
 
16876
    if test -n "$PKG_CONFIG" && \
 
16877
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
 
16878
                          libnotify >= \$LIBNOTIFY_REQS\""; } >&5
 
16879
  ($PKG_CONFIG --exists --print-errors "\
 
16880
                          libnotify >= $LIBNOTIFY_REQS") 2>&5
 
16881
  ac_status=$?
 
16882
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16883
  test $ac_status = 0; }; then
 
16884
  pkg_cv_NOTIFY_CFLAGS=`$PKG_CONFIG --cflags "\
 
16885
                          libnotify >= $LIBNOTIFY_REQS" 2>/dev/null`
 
16886
                      test "x$?" != "x0" && pkg_failed=yes
 
16887
else
 
16888
  pkg_failed=yes
 
16889
fi
 
16890
 else
 
16891
    pkg_failed=untried
 
16892
fi
 
16893
if test -n "$NOTIFY_LIBS"; then
 
16894
    pkg_cv_NOTIFY_LIBS="$NOTIFY_LIBS"
 
16895
 elif test -n "$PKG_CONFIG"; then
 
16896
    if test -n "$PKG_CONFIG" && \
 
16897
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
 
16898
                          libnotify >= \$LIBNOTIFY_REQS\""; } >&5
 
16899
  ($PKG_CONFIG --exists --print-errors "\
 
16900
                          libnotify >= $LIBNOTIFY_REQS") 2>&5
 
16901
  ac_status=$?
 
16902
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16903
  test $ac_status = 0; }; then
 
16904
  pkg_cv_NOTIFY_LIBS=`$PKG_CONFIG --libs "\
 
16905
                          libnotify >= $LIBNOTIFY_REQS" 2>/dev/null`
 
16906
                      test "x$?" != "x0" && pkg_failed=yes
 
16907
else
 
16908
  pkg_failed=yes
 
16909
fi
 
16910
 else
 
16911
    pkg_failed=untried
 
16912
fi
 
16913
 
 
16914
 
 
16915
 
 
16916
if test $pkg_failed = yes; then
 
16917
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16918
$as_echo "no" >&6; }
 
16919
 
 
16920
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
16921
        _pkg_short_errors_supported=yes
 
16922
else
 
16923
        _pkg_short_errors_supported=no
 
16924
fi
 
16925
        if test $_pkg_short_errors_supported = yes; then
 
16926
                NOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "\
 
16927
                          libnotify >= $LIBNOTIFY_REQS" 2>&1`
 
16928
        else
 
16929
                NOTIFY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "\
 
16930
                          libnotify >= $LIBNOTIFY_REQS" 2>&1`
 
16931
        fi
 
16932
        # Put the nasty error message in config.log where it belongs
 
16933
        echo "$NOTIFY_PKG_ERRORS" >&5
 
16934
 
 
16935
        have_libnotify=no
 
16936
elif test $pkg_failed = untried; then
 
16937
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
16938
$as_echo "no" >&6; }
 
16939
        have_libnotify=no
 
16940
else
 
16941
        NOTIFY_CFLAGS=$pkg_cv_NOTIFY_CFLAGS
 
16942
        NOTIFY_LIBS=$pkg_cv_NOTIFY_LIBS
 
16943
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
16944
$as_echo "yes" >&6; }
 
16945
        have_libnotify=yes
 
16946
fi
 
16947
        if test "x$have_libnotify" = "xno" -a "x$enable_libnotify" = "xyes"; then
 
16948
          as_fn_error $? "libnotify support explicitly requested, but libnotify couldn't be found" "$LINENO" 5
 
16949
        fi
 
16950
        if test "x$have_libnotify" = "xyes"; then
 
16951
             enable_libnotify=yes
 
16952
        fi
 
16953
fi
 
16954
 if test x"$enable_libnotify" = xyes; then
 
16955
  USE_NOTIFY_TRUE=
 
16956
  USE_NOTIFY_FALSE='#'
 
16957
else
 
16958
  USE_NOTIFY_TRUE='#'
 
16959
  USE_NOTIFY_FALSE=
 
16960
fi
 
16961
 
 
16962
if test x$enable_libnotify = xyes ; then
 
16963
    # Find out the version of LIBNOTIFY we're using
 
16964
    libnotify_version=`pkg-config --modversion libnotify`
 
16965
    LIBNOTIFY_VERSION_MAJOR=`echo $libnotify_version | awk -F. '{print $1}'`
 
16966
    LIBNOTIFY_VERSION_MINOR=`echo $libnotify_version | awk -F. '{print $2}'`
 
16967
    LIBNOTIFY_VERSION_MICRO=`echo $libnotify_version | awk -F. '{print $3}'`
 
16968
    if test "z$LIBNOTIFY_VERSION_MAJOR" = "z"; then
 
16969
        LIBNOTIFY_VERSION_MAJOR="0"
 
16970
    fi
 
16971
    if test "z$LIBNOTIFY_VERSION_MINOR" = "z"; then
 
16972
        LIBNOTIFY_VERSION_MINOR="0"
 
16973
    fi
 
16974
    if test "z$LIBNOTIFY_VERSION_MICRO" = "z"; then
 
16975
        LIBNOTIFY_VERSION_MICRO="0"
 
16976
    fi
 
16977
    echo "Your libnotify version is $LIBNOTIFY_VERSION_MAJOR,$LIBNOTIFY_VERSION_MINOR,$LIBNOTIFY_VERSION_MICRO."
 
16978
    NOTIFY_CFLAGS="$NOTIFY_CFLAGS -DLIBNOTIFY_VERSION_MAJOR=$LIBNOTIFY_VERSION_MAJOR"
 
16979
    NOTIFY_CFLAGS="$NOTIFY_CFLAGS -DLIBNOTIFY_VERSION_MINOR=$LIBNOTIFY_VERSION_MINOR"
 
16980
    NOTIFY_CFLAGS="$NOTIFY_CFLAGS -DLIBNOTIFY_VERSION_MICRO=$LIBNOTIFY_VERSION_MICRO"
 
16981
 
 
16982
 
 
16983
$as_echo "#define HAVE_NOTIFY 1" >>confdefs.h
 
16984
 
 
16985
 
 
16986
 
 
16987
fi
 
16988
 
 
16989
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uncompress in -lz" >&5
 
16990
$as_echo_n "checking for uncompress in -lz... " >&6; }
 
16991
if ${ac_cv_lib_z_uncompress+:} false; then :
 
16992
  $as_echo_n "(cached) " >&6
 
16993
else
 
16994
  ac_check_lib_save_LIBS=$LIBS
 
16995
LIBS="-lz  $LIBS"
 
16996
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
16997
/* end confdefs.h.  */
 
16998
 
 
16999
/* Override any GCC internal prototype to avoid an error.
 
17000
   Use char because int might match the return type of a GCC
 
17001
   builtin and then its argument prototype would still apply.  */
 
17002
#ifdef __cplusplus
 
17003
extern "C"
 
17004
#endif
 
17005
char uncompress ();
 
17006
int
 
17007
main ()
 
17008
{
 
17009
return uncompress ();
 
17010
  ;
 
17011
  return 0;
 
17012
}
 
17013
_ACEOF
 
17014
if ac_fn_c_try_link "$LINENO"; then :
 
17015
  ac_cv_lib_z_uncompress=yes
 
17016
else
 
17017
  ac_cv_lib_z_uncompress=no
 
17018
fi
 
17019
rm -f core conftest.err conftest.$ac_objext \
 
17020
    conftest$ac_exeext conftest.$ac_ext
 
17021
LIBS=$ac_check_lib_save_LIBS
 
17022
fi
 
17023
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_uncompress" >&5
 
17024
$as_echo "$ac_cv_lib_z_uncompress" >&6; }
 
17025
if test "x$ac_cv_lib_z_uncompress" = xyes; then :
 
17026
  cat >>confdefs.h <<_ACEOF
 
17027
#define HAVE_LIBZ 1
 
17028
_ACEOF
 
17029
 
 
17030
  LIBS="-lz $LIBS"
 
17031
 
 
17032
fi
 
17033
 
 
17034
 
 
17035
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
 
17036
$as_echo_n "checking for X... " >&6; }
 
17037
 
 
17038
 
 
17039
# Check whether --with-x was given.
 
17040
if test "${with_x+set}" = set; then :
 
17041
  withval=$with_x;
 
17042
fi
 
17043
 
 
17044
# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
 
17045
if test "x$with_x" = xno; then
 
17046
  # The user explicitly disabled X.
 
17047
  have_x=disabled
 
17048
else
 
17049
  case $x_includes,$x_libraries in #(
 
17050
    *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
 
17051
    *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
 
17052
  $as_echo_n "(cached) " >&6
 
17053
else
 
17054
  # One or both of the vars are not set, and there is no cached value.
 
17055
ac_x_includes=no ac_x_libraries=no
 
17056
rm -f -r conftest.dir
 
17057
if mkdir conftest.dir; then
 
17058
  cd conftest.dir
 
17059
  cat >Imakefile <<'_ACEOF'
 
17060
incroot:
 
17061
        @echo incroot='${INCROOT}'
 
17062
usrlibdir:
 
17063
        @echo usrlibdir='${USRLIBDIR}'
 
17064
libdir:
 
17065
        @echo libdir='${LIBDIR}'
 
17066
_ACEOF
 
17067
  if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
 
17068
    # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 
17069
    for ac_var in incroot usrlibdir libdir; do
 
17070
      eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
 
17071
    done
 
17072
    # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
 
17073
    for ac_extension in a so sl dylib la dll; do
 
17074
      if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
 
17075
         test -f "$ac_im_libdir/libX11.$ac_extension"; then
 
17076
        ac_im_usrlibdir=$ac_im_libdir; break
 
17077
      fi
 
17078
    done
 
17079
    # Screen out bogus values from the imake configuration.  They are
 
17080
    # bogus both because they are the default anyway, and because
 
17081
    # using them would break gcc on systems where it needs fixed includes.
 
17082
    case $ac_im_incroot in
 
17083
        /usr/include) ac_x_includes= ;;
 
17084
        *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
 
17085
    esac
 
17086
    case $ac_im_usrlibdir in
 
17087
        /usr/lib | /usr/lib64 | /lib | /lib64) ;;
 
17088
        *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
 
17089
    esac
 
17090
  fi
 
17091
  cd ..
 
17092
  rm -f -r conftest.dir
 
17093
fi
 
17094
 
 
17095
# Standard set of common directories for X headers.
 
17096
# Check X11 before X11Rn because it is often a symlink to the current release.
 
17097
ac_x_header_dirs='
 
17098
/usr/X11/include
 
17099
/usr/X11R7/include
 
17100
/usr/X11R6/include
 
17101
/usr/X11R5/include
 
17102
/usr/X11R4/include
 
17103
 
 
17104
/usr/include/X11
 
17105
/usr/include/X11R7
 
17106
/usr/include/X11R6
 
17107
/usr/include/X11R5
 
17108
/usr/include/X11R4
 
17109
 
 
17110
/usr/local/X11/include
 
17111
/usr/local/X11R7/include
 
17112
/usr/local/X11R6/include
 
17113
/usr/local/X11R5/include
 
17114
/usr/local/X11R4/include
 
17115
 
 
17116
/usr/local/include/X11
 
17117
/usr/local/include/X11R7
 
17118
/usr/local/include/X11R6
 
17119
/usr/local/include/X11R5
 
17120
/usr/local/include/X11R4
 
17121
 
 
17122
/usr/X386/include
 
17123
/usr/x386/include
 
17124
/usr/XFree86/include/X11
 
17125
 
 
17126
/usr/include
 
17127
/usr/local/include
 
17128
/usr/unsupported/include
 
17129
/usr/athena/include
 
17130
/usr/local/x11r5/include
 
17131
/usr/lpp/Xamples/include
 
17132
 
 
17133
/usr/openwin/include
 
17134
/usr/openwin/share/include'
 
17135
 
 
17136
if test "$ac_x_includes" = no; then
 
17137
  # Guess where to find include files, by looking for Xlib.h.
 
17138
  # First, try using that file with no special directory specified.
 
17139
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
17140
/* end confdefs.h.  */
 
17141
#include <X11/Xlib.h>
 
17142
_ACEOF
 
17143
if ac_fn_c_try_cpp "$LINENO"; then :
 
17144
  # We can compile using X headers with no special include directory.
 
17145
ac_x_includes=
 
17146
else
 
17147
  for ac_dir in $ac_x_header_dirs; do
 
17148
  if test -r "$ac_dir/X11/Xlib.h"; then
 
17149
    ac_x_includes=$ac_dir
 
17150
    break
 
17151
  fi
 
17152
done
 
17153
fi
 
17154
rm -f conftest.err conftest.i conftest.$ac_ext
 
17155
fi # $ac_x_includes = no
 
17156
 
 
17157
if test "$ac_x_libraries" = no; then
 
17158
  # Check for the libraries.
 
17159
  # See if we find them without any special options.
 
17160
  # Don't add to $LIBS permanently.
 
17161
  ac_save_LIBS=$LIBS
 
17162
  LIBS="-lX11 $LIBS"
 
17163
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
17164
/* end confdefs.h.  */
 
17165
#include <X11/Xlib.h>
 
17166
int
 
17167
main ()
 
17168
{
 
17169
XrmInitialize ()
 
17170
  ;
 
17171
  return 0;
 
17172
}
 
17173
_ACEOF
 
17174
if ac_fn_c_try_link "$LINENO"; then :
 
17175
  LIBS=$ac_save_LIBS
 
17176
# We can link X programs with no special library path.
 
17177
ac_x_libraries=
 
17178
else
 
17179
  LIBS=$ac_save_LIBS
 
17180
for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
 
17181
do
 
17182
  # Don't even attempt the hair of trying to link an X program!
 
17183
  for ac_extension in a so sl dylib la dll; do
 
17184
    if test -r "$ac_dir/libX11.$ac_extension"; then
 
17185
      ac_x_libraries=$ac_dir
 
17186
      break 2
 
17187
    fi
 
17188
  done
 
17189
done
 
17190
fi
 
17191
rm -f core conftest.err conftest.$ac_objext \
 
17192
    conftest$ac_exeext conftest.$ac_ext
 
17193
fi # $ac_x_libraries = no
 
17194
 
 
17195
case $ac_x_includes,$ac_x_libraries in #(
 
17196
  no,* | *,no | *\'*)
 
17197
    # Didn't find X, or a directory has "'" in its name.
 
17198
    ac_cv_have_x="have_x=no";; #(
 
17199
  *)
 
17200
    # Record where we found X for the cache.
 
17201
    ac_cv_have_x="have_x=yes\
 
17202
        ac_x_includes='$ac_x_includes'\
 
17203
        ac_x_libraries='$ac_x_libraries'"
 
17204
esac
 
17205
fi
 
17206
;; #(
 
17207
    *) have_x=yes;;
 
17208
  esac
 
17209
  eval "$ac_cv_have_x"
 
17210
fi # $with_x != no
 
17211
 
 
17212
if test "$have_x" != yes; then
 
17213
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
 
17214
$as_echo "$have_x" >&6; }
 
17215
  no_x=yes
 
17216
else
 
17217
  # If each of the values was on the command line, it overrides each guess.
 
17218
  test "x$x_includes" = xNONE && x_includes=$ac_x_includes
 
17219
  test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
 
17220
  # Update the cache value to reflect the command line values.
 
17221
  ac_cv_have_x="have_x=yes\
 
17222
        ac_x_includes='$x_includes'\
 
17223
        ac_x_libraries='$x_libraries'"
 
17224
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
 
17225
$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
 
17226
fi
 
17227
 
 
17228
if test "$no_x" = yes; then
 
17229
  # Not all programs may use this symbol, but it does not hurt to define it.
 
17230
 
 
17231
$as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
 
17232
 
 
17233
  X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
 
17234
else
 
17235
  if test -n "$x_includes"; then
 
17236
    X_CFLAGS="$X_CFLAGS -I$x_includes"
 
17237
  fi
 
17238
 
 
17239
  # It would also be nice to do this for all -L options, not just this one.
 
17240
  if test -n "$x_libraries"; then
 
17241
    X_LIBS="$X_LIBS -L$x_libraries"
 
17242
    # For Solaris; some versions of Sun CC require a space after -R and
 
17243
    # others require no space.  Words are not sufficient . . . .
 
17244
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
 
17245
$as_echo_n "checking whether -R must be followed by a space... " >&6; }
 
17246
    ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
 
17247
    ac_xsave_c_werror_flag=$ac_c_werror_flag
 
17248
    ac_c_werror_flag=yes
 
17249
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
17250
/* end confdefs.h.  */
 
17251
 
 
17252
int
 
17253
main ()
 
17254
{
 
17255
 
 
17256
  ;
 
17257
  return 0;
 
17258
}
 
17259
_ACEOF
 
17260
if ac_fn_c_try_link "$LINENO"; then :
 
17261
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
17262
$as_echo "no" >&6; }
 
17263
       X_LIBS="$X_LIBS -R$x_libraries"
 
17264
else
 
17265
  LIBS="$ac_xsave_LIBS -R $x_libraries"
 
17266
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
17267
/* end confdefs.h.  */
 
17268
 
 
17269
int
 
17270
main ()
 
17271
{
 
17272
 
 
17273
  ;
 
17274
  return 0;
 
17275
}
 
17276
_ACEOF
 
17277
if ac_fn_c_try_link "$LINENO"; then :
 
17278
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
17279
$as_echo "yes" >&6; }
 
17280
          X_LIBS="$X_LIBS -R $x_libraries"
 
17281
else
 
17282
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
 
17283
$as_echo "neither works" >&6; }
 
17284
fi
 
17285
rm -f core conftest.err conftest.$ac_objext \
 
17286
    conftest$ac_exeext conftest.$ac_ext
 
17287
fi
 
17288
rm -f core conftest.err conftest.$ac_objext \
 
17289
    conftest$ac_exeext conftest.$ac_ext
 
17290
    ac_c_werror_flag=$ac_xsave_c_werror_flag
 
17291
    LIBS=$ac_xsave_LIBS
 
17292
  fi
 
17293
 
 
17294
  # Check for system-dependent libraries X programs must link with.
 
17295
  # Do this before checking for the system-independent R6 libraries
 
17296
  # (-lICE), since we may need -lsocket or whatever for X linking.
 
17297
 
 
17298
  if test "$ISC" = yes; then
 
17299
    X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
 
17300
  else
 
17301
    # Martyn Johnson says this is needed for Ultrix, if the X
 
17302
    # libraries were built with DECnet support.  And Karl Berry says
 
17303
    # the Alpha needs dnet_stub (dnet does not exist).
 
17304
    ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
 
17305
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
17306
/* end confdefs.h.  */
 
17307
 
 
17308
/* Override any GCC internal prototype to avoid an error.
 
17309
   Use char because int might match the return type of a GCC
 
17310
   builtin and then its argument prototype would still apply.  */
 
17311
#ifdef __cplusplus
 
17312
extern "C"
 
17313
#endif
 
17314
char XOpenDisplay ();
 
17315
int
 
17316
main ()
 
17317
{
 
17318
return XOpenDisplay ();
 
17319
  ;
 
17320
  return 0;
 
17321
}
 
17322
_ACEOF
 
17323
if ac_fn_c_try_link "$LINENO"; then :
 
17324
 
 
17325
else
 
17326
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
 
17327
$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
 
17328
if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
 
17329
  $as_echo_n "(cached) " >&6
 
17330
else
 
17331
  ac_check_lib_save_LIBS=$LIBS
 
17332
LIBS="-ldnet  $LIBS"
 
17333
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
17334
/* end confdefs.h.  */
 
17335
 
 
17336
/* Override any GCC internal prototype to avoid an error.
 
17337
   Use char because int might match the return type of a GCC
 
17338
   builtin and then its argument prototype would still apply.  */
 
17339
#ifdef __cplusplus
 
17340
extern "C"
 
17341
#endif
 
17342
char dnet_ntoa ();
 
17343
int
 
17344
main ()
 
17345
{
 
17346
return dnet_ntoa ();
 
17347
  ;
 
17348
  return 0;
 
17349
}
 
17350
_ACEOF
 
17351
if ac_fn_c_try_link "$LINENO"; then :
 
17352
  ac_cv_lib_dnet_dnet_ntoa=yes
 
17353
else
 
17354
  ac_cv_lib_dnet_dnet_ntoa=no
 
17355
fi
 
17356
rm -f core conftest.err conftest.$ac_objext \
 
17357
    conftest$ac_exeext conftest.$ac_ext
 
17358
LIBS=$ac_check_lib_save_LIBS
 
17359
fi
 
17360
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
 
17361
$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
 
17362
if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
 
17363
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
 
17364
fi
 
17365
 
 
17366
    if test $ac_cv_lib_dnet_dnet_ntoa = no; then
 
17367
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
 
17368
$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
 
17369
if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
 
17370
  $as_echo_n "(cached) " >&6
 
17371
else
 
17372
  ac_check_lib_save_LIBS=$LIBS
 
17373
LIBS="-ldnet_stub  $LIBS"
 
17374
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
17375
/* end confdefs.h.  */
 
17376
 
 
17377
/* Override any GCC internal prototype to avoid an error.
 
17378
   Use char because int might match the return type of a GCC
 
17379
   builtin and then its argument prototype would still apply.  */
 
17380
#ifdef __cplusplus
 
17381
extern "C"
 
17382
#endif
 
17383
char dnet_ntoa ();
 
17384
int
 
17385
main ()
 
17386
{
 
17387
return dnet_ntoa ();
 
17388
  ;
 
17389
  return 0;
 
17390
}
 
17391
_ACEOF
 
17392
if ac_fn_c_try_link "$LINENO"; then :
 
17393
  ac_cv_lib_dnet_stub_dnet_ntoa=yes
 
17394
else
 
17395
  ac_cv_lib_dnet_stub_dnet_ntoa=no
 
17396
fi
 
17397
rm -f core conftest.err conftest.$ac_objext \
 
17398
    conftest$ac_exeext conftest.$ac_ext
 
17399
LIBS=$ac_check_lib_save_LIBS
 
17400
fi
 
17401
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
 
17402
$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
 
17403
if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
 
17404
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
 
17405
fi
 
17406
 
 
17407
    fi
 
17408
fi
 
17409
rm -f core conftest.err conftest.$ac_objext \
 
17410
    conftest$ac_exeext conftest.$ac_ext
 
17411
    LIBS="$ac_xsave_LIBS"
 
17412
 
 
17413
    # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
 
17414
    # to get the SysV transport functions.
 
17415
    # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
 
17416
    # needs -lnsl.
 
17417
    # The nsl library prevents programs from opening the X display
 
17418
    # on Irix 5.2, according to T.E. Dickey.
 
17419
    # The functions gethostbyname, getservbyname, and inet_addr are
 
17420
    # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
 
17421
    ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
 
17422
if test "x$ac_cv_func_gethostbyname" = xyes; then :
 
17423
 
 
17424
fi
 
17425
 
 
17426
    if test $ac_cv_func_gethostbyname = no; then
 
17427
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
 
17428
$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
 
17429
if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
 
17430
  $as_echo_n "(cached) " >&6
 
17431
else
 
17432
  ac_check_lib_save_LIBS=$LIBS
 
17433
LIBS="-lnsl  $LIBS"
 
17434
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
17435
/* end confdefs.h.  */
 
17436
 
 
17437
/* Override any GCC internal prototype to avoid an error.
 
17438
   Use char because int might match the return type of a GCC
 
17439
   builtin and then its argument prototype would still apply.  */
 
17440
#ifdef __cplusplus
 
17441
extern "C"
 
17442
#endif
 
17443
char gethostbyname ();
 
17444
int
 
17445
main ()
 
17446
{
 
17447
return gethostbyname ();
 
17448
  ;
 
17449
  return 0;
 
17450
}
 
17451
_ACEOF
 
17452
if ac_fn_c_try_link "$LINENO"; then :
 
17453
  ac_cv_lib_nsl_gethostbyname=yes
 
17454
else
 
17455
  ac_cv_lib_nsl_gethostbyname=no
 
17456
fi
 
17457
rm -f core conftest.err conftest.$ac_objext \
 
17458
    conftest$ac_exeext conftest.$ac_ext
 
17459
LIBS=$ac_check_lib_save_LIBS
 
17460
fi
 
17461
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
 
17462
$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
 
17463
if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
 
17464
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
 
17465
fi
 
17466
 
 
17467
      if test $ac_cv_lib_nsl_gethostbyname = no; then
 
17468
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
 
17469
$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
 
17470
if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
 
17471
  $as_echo_n "(cached) " >&6
 
17472
else
 
17473
  ac_check_lib_save_LIBS=$LIBS
 
17474
LIBS="-lbsd  $LIBS"
 
17475
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
17476
/* end confdefs.h.  */
 
17477
 
 
17478
/* Override any GCC internal prototype to avoid an error.
 
17479
   Use char because int might match the return type of a GCC
 
17480
   builtin and then its argument prototype would still apply.  */
 
17481
#ifdef __cplusplus
 
17482
extern "C"
 
17483
#endif
 
17484
char gethostbyname ();
 
17485
int
 
17486
main ()
 
17487
{
 
17488
return gethostbyname ();
 
17489
  ;
 
17490
  return 0;
 
17491
}
 
17492
_ACEOF
 
17493
if ac_fn_c_try_link "$LINENO"; then :
 
17494
  ac_cv_lib_bsd_gethostbyname=yes
 
17495
else
 
17496
  ac_cv_lib_bsd_gethostbyname=no
 
17497
fi
 
17498
rm -f core conftest.err conftest.$ac_objext \
 
17499
    conftest$ac_exeext conftest.$ac_ext
 
17500
LIBS=$ac_check_lib_save_LIBS
 
17501
fi
 
17502
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
 
17503
$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
 
17504
if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
 
17505
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
 
17506
fi
 
17507
 
 
17508
      fi
 
17509
    fi
 
17510
 
 
17511
    # lieder@skyler.mavd.honeywell.com says without -lsocket,
 
17512
    # socket/setsockopt and other routines are undefined under SCO ODT
 
17513
    # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
 
17514
    # on later versions), says Simon Leinen: it contains gethostby*
 
17515
    # variants that don't use the name server (or something).  -lsocket
 
17516
    # must be given before -lnsl if both are needed.  We assume that
 
17517
    # if connect needs -lnsl, so does gethostbyname.
 
17518
    ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
 
17519
if test "x$ac_cv_func_connect" = xyes; then :
 
17520
 
 
17521
fi
 
17522
 
 
17523
    if test $ac_cv_func_connect = no; then
 
17524
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
 
17525
$as_echo_n "checking for connect in -lsocket... " >&6; }
 
17526
if ${ac_cv_lib_socket_connect+:} false; then :
 
17527
  $as_echo_n "(cached) " >&6
 
17528
else
 
17529
  ac_check_lib_save_LIBS=$LIBS
 
17530
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
 
17531
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
17532
/* end confdefs.h.  */
 
17533
 
 
17534
/* Override any GCC internal prototype to avoid an error.
 
17535
   Use char because int might match the return type of a GCC
 
17536
   builtin and then its argument prototype would still apply.  */
 
17537
#ifdef __cplusplus
 
17538
extern "C"
 
17539
#endif
 
17540
char connect ();
 
17541
int
 
17542
main ()
 
17543
{
 
17544
return connect ();
 
17545
  ;
 
17546
  return 0;
 
17547
}
 
17548
_ACEOF
 
17549
if ac_fn_c_try_link "$LINENO"; then :
 
17550
  ac_cv_lib_socket_connect=yes
 
17551
else
 
17552
  ac_cv_lib_socket_connect=no
 
17553
fi
 
17554
rm -f core conftest.err conftest.$ac_objext \
 
17555
    conftest$ac_exeext conftest.$ac_ext
 
17556
LIBS=$ac_check_lib_save_LIBS
 
17557
fi
 
17558
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
 
17559
$as_echo "$ac_cv_lib_socket_connect" >&6; }
 
17560
if test "x$ac_cv_lib_socket_connect" = xyes; then :
 
17561
  X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
 
17562
fi
 
17563
 
 
17564
    fi
 
17565
 
 
17566
    # Guillermo Gomez says -lposix is necessary on A/UX.
 
17567
    ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
 
17568
if test "x$ac_cv_func_remove" = xyes; then :
 
17569
 
 
17570
fi
 
17571
 
 
17572
    if test $ac_cv_func_remove = no; then
 
17573
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
 
17574
$as_echo_n "checking for remove in -lposix... " >&6; }
 
17575
if ${ac_cv_lib_posix_remove+:} false; then :
 
17576
  $as_echo_n "(cached) " >&6
 
17577
else
 
17578
  ac_check_lib_save_LIBS=$LIBS
 
17579
LIBS="-lposix  $LIBS"
 
17580
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
17581
/* end confdefs.h.  */
 
17582
 
 
17583
/* Override any GCC internal prototype to avoid an error.
 
17584
   Use char because int might match the return type of a GCC
 
17585
   builtin and then its argument prototype would still apply.  */
 
17586
#ifdef __cplusplus
 
17587
extern "C"
 
17588
#endif
 
17589
char remove ();
 
17590
int
 
17591
main ()
 
17592
{
 
17593
return remove ();
 
17594
  ;
 
17595
  return 0;
 
17596
}
 
17597
_ACEOF
 
17598
if ac_fn_c_try_link "$LINENO"; then :
 
17599
  ac_cv_lib_posix_remove=yes
 
17600
else
 
17601
  ac_cv_lib_posix_remove=no
 
17602
fi
 
17603
rm -f core conftest.err conftest.$ac_objext \
 
17604
    conftest$ac_exeext conftest.$ac_ext
 
17605
LIBS=$ac_check_lib_save_LIBS
 
17606
fi
 
17607
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
 
17608
$as_echo "$ac_cv_lib_posix_remove" >&6; }
 
17609
if test "x$ac_cv_lib_posix_remove" = xyes; then :
 
17610
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
 
17611
fi
 
17612
 
 
17613
    fi
 
17614
 
 
17615
    # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
 
17616
    ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
 
17617
if test "x$ac_cv_func_shmat" = xyes; then :
 
17618
 
 
17619
fi
 
17620
 
 
17621
    if test $ac_cv_func_shmat = no; then
 
17622
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
 
17623
$as_echo_n "checking for shmat in -lipc... " >&6; }
 
17624
if ${ac_cv_lib_ipc_shmat+:} false; then :
 
17625
  $as_echo_n "(cached) " >&6
 
17626
else
 
17627
  ac_check_lib_save_LIBS=$LIBS
 
17628
LIBS="-lipc  $LIBS"
 
17629
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
17630
/* end confdefs.h.  */
 
17631
 
 
17632
/* Override any GCC internal prototype to avoid an error.
 
17633
   Use char because int might match the return type of a GCC
 
17634
   builtin and then its argument prototype would still apply.  */
 
17635
#ifdef __cplusplus
 
17636
extern "C"
 
17637
#endif
 
17638
char shmat ();
 
17639
int
 
17640
main ()
 
17641
{
 
17642
return shmat ();
 
17643
  ;
 
17644
  return 0;
 
17645
}
 
17646
_ACEOF
 
17647
if ac_fn_c_try_link "$LINENO"; then :
 
17648
  ac_cv_lib_ipc_shmat=yes
 
17649
else
 
17650
  ac_cv_lib_ipc_shmat=no
 
17651
fi
 
17652
rm -f core conftest.err conftest.$ac_objext \
 
17653
    conftest$ac_exeext conftest.$ac_ext
 
17654
LIBS=$ac_check_lib_save_LIBS
 
17655
fi
 
17656
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
 
17657
$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
 
17658
if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
 
17659
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
 
17660
fi
 
17661
 
 
17662
    fi
 
17663
  fi
 
17664
 
 
17665
  # Check for libraries that X11R6 Xt/Xaw programs need.
 
17666
  ac_save_LDFLAGS=$LDFLAGS
 
17667
  test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
 
17668
  # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
 
17669
  # check for ICE first), but we must link in the order -lSM -lICE or
 
17670
  # we get undefined symbols.  So assume we have SM if we have ICE.
 
17671
  # These have to be linked with before -lX11, unlike the other
 
17672
  # libraries we check for below, so use a different variable.
 
17673
  # John Interrante, Karl Berry
 
17674
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
 
17675
$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
 
17676
if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
 
17677
  $as_echo_n "(cached) " >&6
 
17678
else
 
17679
  ac_check_lib_save_LIBS=$LIBS
 
17680
LIBS="-lICE $X_EXTRA_LIBS $LIBS"
 
17681
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
17682
/* end confdefs.h.  */
 
17683
 
 
17684
/* Override any GCC internal prototype to avoid an error.
 
17685
   Use char because int might match the return type of a GCC
 
17686
   builtin and then its argument prototype would still apply.  */
 
17687
#ifdef __cplusplus
 
17688
extern "C"
 
17689
#endif
 
17690
char IceConnectionNumber ();
 
17691
int
 
17692
main ()
 
17693
{
 
17694
return IceConnectionNumber ();
 
17695
  ;
 
17696
  return 0;
 
17697
}
 
17698
_ACEOF
 
17699
if ac_fn_c_try_link "$LINENO"; then :
 
17700
  ac_cv_lib_ICE_IceConnectionNumber=yes
 
17701
else
 
17702
  ac_cv_lib_ICE_IceConnectionNumber=no
 
17703
fi
 
17704
rm -f core conftest.err conftest.$ac_objext \
 
17705
    conftest$ac_exeext conftest.$ac_ext
 
17706
LIBS=$ac_check_lib_save_LIBS
 
17707
fi
 
17708
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
 
17709
$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
 
17710
if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
 
17711
  X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
 
17712
fi
 
17713
 
 
17714
  LDFLAGS=$ac_save_LDFLAGS
 
17715
 
 
17716
fi
 
17717
 
 
17718
CFLAGS="$CFLAGS $X_CFLAGS"
 
17719
#LIBS=$X_LIBS
 
17720
 
 
17721
have_xfree=no
 
17722
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
17723
/* end confdefs.h.  */
 
17724
 
 
17725
        #include <X11/XF86keysym.h>
 
17726
int main(int argc,char **argv) {
 
17727
  return 0;
 
17728
}
 
17729
 
 
17730
_ACEOF
 
17731
if ac_fn_c_try_compile "$LINENO"; then :
 
17732
  have_xfree=yes
 
17733
fi
 
17734
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
17735
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XFree86 headers" >&5
 
17736
$as_echo_n "checking for XFree86 headers... " >&6; }
 
17737
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_xfree" >&5
 
17738
$as_echo "$have_xfree" >&6; }
 
17739
if test x"$have_xfree" = "xyes" ; then
 
17740
 
 
17741
$as_echo "#define HAVE_XFREE 1" >>confdefs.h
 
17742
 
 
17743
fi
 
17744
 
 
17745
# Check whether --enable-mmkeys was given.
 
17746
if test "${enable_mmkeys+set}" = set; then :
 
17747
  enableval=$enable_mmkeys;
 
17748
fi
 
17749
 
 
17750
if test x"$have_xfree" = xyes; then
 
17751
        if test x"$enable_mmkeys" != xno; then
 
17752
                enable_mmkeys=yes
 
17753
 
 
17754
$as_echo "#define HAVE_MMKEYS 1" >>confdefs.h
 
17755
 
 
17756
        fi
 
17757
else
 
17758
        if test x"$enable_mmkeys" = xyes; then
 
17759
                as_fn_error $? "Multimedia keys explicitly requested but no support found" "$LINENO" 5
 
17760
        fi
 
17761
fi
 
17762
 
 
17763
have_libbrasero_media=no
 
17764
 
 
17765
# Check whether --with-brasero was given.
 
17766
if test "${with_brasero+set}" = set; then :
 
17767
  withval=$with_brasero;
 
17768
else
 
17769
  with_brasero=auto
 
17770
fi
 
17771
 
 
17772
if test x"$with_brasero" != "xno"; then
 
17773
 
 
17774
pkg_failed=no
 
17775
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBBRASERO_MEDIA" >&5
 
17776
$as_echo_n "checking for LIBBRASERO_MEDIA... " >&6; }
 
17777
 
 
17778
if test -n "$LIBBRASERO_MEDIA_CFLAGS"; then
 
17779
    pkg_cv_LIBBRASERO_MEDIA_CFLAGS="$LIBBRASERO_MEDIA_CFLAGS"
 
17780
 elif test -n "$PKG_CONFIG"; then
 
17781
    if test -n "$PKG_CONFIG" && \
 
17782
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libbrasero-media3 >= \$BRASERO_MIN_REQS\""; } >&5
 
17783
  ($PKG_CONFIG --exists --print-errors "libbrasero-media3 >= $BRASERO_MIN_REQS") 2>&5
 
17784
  ac_status=$?
 
17785
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
17786
  test $ac_status = 0; }; then
 
17787
  pkg_cv_LIBBRASERO_MEDIA_CFLAGS=`$PKG_CONFIG --cflags "libbrasero-media3 >= $BRASERO_MIN_REQS" 2>/dev/null`
 
17788
                      test "x$?" != "x0" && pkg_failed=yes
 
17789
else
 
17790
  pkg_failed=yes
 
17791
fi
 
17792
 else
 
17793
    pkg_failed=untried
 
17794
fi
 
17795
if test -n "$LIBBRASERO_MEDIA_LIBS"; then
 
17796
    pkg_cv_LIBBRASERO_MEDIA_LIBS="$LIBBRASERO_MEDIA_LIBS"
 
17797
 elif test -n "$PKG_CONFIG"; then
 
17798
    if test -n "$PKG_CONFIG" && \
 
17799
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libbrasero-media3 >= \$BRASERO_MIN_REQS\""; } >&5
 
17800
  ($PKG_CONFIG --exists --print-errors "libbrasero-media3 >= $BRASERO_MIN_REQS") 2>&5
 
17801
  ac_status=$?
 
17802
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
17803
  test $ac_status = 0; }; then
 
17804
  pkg_cv_LIBBRASERO_MEDIA_LIBS=`$PKG_CONFIG --libs "libbrasero-media3 >= $BRASERO_MIN_REQS" 2>/dev/null`
 
17805
                      test "x$?" != "x0" && pkg_failed=yes
 
17806
else
 
17807
  pkg_failed=yes
 
17808
fi
 
17809
 else
 
17810
    pkg_failed=untried
 
17811
fi
 
17812
 
 
17813
 
 
17814
 
 
17815
if test $pkg_failed = yes; then
 
17816
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
17817
$as_echo "no" >&6; }
 
17818
 
 
17819
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
17820
        _pkg_short_errors_supported=yes
 
17821
else
 
17822
        _pkg_short_errors_supported=no
 
17823
fi
 
17824
        if test $_pkg_short_errors_supported = yes; then
 
17825
                LIBBRASERO_MEDIA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libbrasero-media3 >= $BRASERO_MIN_REQS" 2>&1`
 
17826
        else
 
17827
                LIBBRASERO_MEDIA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libbrasero-media3 >= $BRASERO_MIN_REQS" 2>&1`
 
17828
        fi
 
17829
        # Put the nasty error message in config.log where it belongs
 
17830
        echo "$LIBBRASERO_MEDIA_PKG_ERRORS" >&5
 
17831
 
 
17832
        have_libbrasero_media=no
 
17833
elif test $pkg_failed = untried; then
 
17834
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
17835
$as_echo "no" >&6; }
 
17836
        have_libbrasero_media=no
 
17837
else
 
17838
        LIBBRASERO_MEDIA_CFLAGS=$pkg_cv_LIBBRASERO_MEDIA_CFLAGS
 
17839
        LIBBRASERO_MEDIA_LIBS=$pkg_cv_LIBBRASERO_MEDIA_LIBS
 
17840
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
17841
$as_echo "yes" >&6; }
 
17842
        have_libbrasero_media=yes
 
17843
fi
 
17844
 
 
17845
 
 
17846
fi
 
17847
if test "x$have_libbrasero_media" = "xyes"; then
 
17848
 
 
17849
$as_echo "#define HAVE_LIBBRASERO_MEDIA 1" >>confdefs.h
 
17850
 
 
17851
fi
 
17852
 if test x$have_libbrasero_media = xyes; then
 
17853
  HAVE_LIBBRASERO_MEDIA_TRUE=
 
17854
  HAVE_LIBBRASERO_MEDIA_FALSE='#'
 
17855
else
 
17856
  HAVE_LIBBRASERO_MEDIA_TRUE='#'
 
17857
  HAVE_LIBBRASERO_MEDIA_FALSE=
 
17858
fi
 
17859
 
 
17860
 
 
17861
 
 
17862
 
 
17863
 
 
17864
 
 
17865
# Extract the first word of "glib-genmarshal", so it can be a program name with args.
 
17866
set dummy glib-genmarshal; ac_word=$2
 
17867
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
17868
$as_echo_n "checking for $ac_word... " >&6; }
 
17869
if ${ac_cv_path_GLIB_GENMARSHAL+:} false; then :
 
17870
  $as_echo_n "(cached) " >&6
 
17871
else
 
17872
  case $GLIB_GENMARSHAL in
 
17873
  [\\/]* | ?:[\\/]*)
 
17874
  ac_cv_path_GLIB_GENMARSHAL="$GLIB_GENMARSHAL" # Let the user override the test with a path.
 
17875
  ;;
 
17876
  *)
 
17877
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
17878
for as_dir in $PATH
 
17879
do
 
17880
  IFS=$as_save_IFS
 
17881
  test -z "$as_dir" && as_dir=.
 
17882
    for ac_exec_ext in '' $ac_executable_extensions; do
 
17883
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
17884
    ac_cv_path_GLIB_GENMARSHAL="$as_dir/$ac_word$ac_exec_ext"
 
17885
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
17886
    break 2
 
17887
  fi
 
17888
done
 
17889
  done
 
17890
IFS=$as_save_IFS
 
17891
 
 
17892
  ;;
 
17893
esac
 
17894
fi
 
17895
GLIB_GENMARSHAL=$ac_cv_path_GLIB_GENMARSHAL
 
17896
if test -n "$GLIB_GENMARSHAL"; then
 
17897
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL" >&5
 
17898
$as_echo "$GLIB_GENMARSHAL" >&6; }
 
17899
else
 
17900
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
17901
$as_echo "no" >&6; }
 
17902
fi
 
17903
 
 
17904
 
 
17905
# Extract the first word of "gdk-pixbuf-csource", so it can be a program name with args.
 
17906
set dummy gdk-pixbuf-csource; ac_word=$2
 
17907
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
17908
$as_echo_n "checking for $ac_word... " >&6; }
 
17909
if ${ac_cv_path_GDK_PIXBUF_CSOURCE+:} false; then :
 
17910
  $as_echo_n "(cached) " >&6
 
17911
else
 
17912
  case $GDK_PIXBUF_CSOURCE in
 
17913
  [\\/]* | ?:[\\/]*)
 
17914
  ac_cv_path_GDK_PIXBUF_CSOURCE="$GDK_PIXBUF_CSOURCE" # Let the user override the test with a path.
 
17915
  ;;
 
17916
  *)
 
17917
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
17918
for as_dir in $PATH
 
17919
do
 
17920
  IFS=$as_save_IFS
 
17921
  test -z "$as_dir" && as_dir=.
 
17922
    for ac_exec_ext in '' $ac_executable_extensions; do
 
17923
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
17924
    ac_cv_path_GDK_PIXBUF_CSOURCE="$as_dir/$ac_word$ac_exec_ext"
 
17925
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
17926
    break 2
 
17927
  fi
 
17928
done
 
17929
  done
 
17930
IFS=$as_save_IFS
 
17931
 
 
17932
  ;;
 
17933
esac
 
17934
fi
 
17935
GDK_PIXBUF_CSOURCE=$ac_cv_path_GDK_PIXBUF_CSOURCE
 
17936
if test -n "$GDK_PIXBUF_CSOURCE"; then
 
17937
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDK_PIXBUF_CSOURCE" >&5
 
17938
$as_echo "$GDK_PIXBUF_CSOURCE" >&6; }
 
17939
else
 
17940
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
17941
$as_echo "no" >&6; }
 
17942
fi
 
17943
 
 
17944
 
 
17945
 
 
17946
 
 
17947
 
 
17948
 
 
17949
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strftime supports %E and %O modifiers" >&5
 
17950
$as_echo_n "checking whether strftime supports %E and %O modifiers... " >&6; }
 
17951
if ${ac_cv_strftime_supports_E_O+:} false; then :
 
17952
  $as_echo_n "(cached) " >&6
 
17953
else
 
17954
 
 
17955
if test "$cross_compiling" = yes; then :
 
17956
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot run test program while cross compiling" >&5
 
17957
$as_echo "cannot run test program while cross compiling" >&6; }
 
17958
            as_fn_error $? "Please set ac_cv_strftime_supports_E_O to yes or no." "$LINENO" 5
 
17959
 
 
17960
else
 
17961
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
17962
/* end confdefs.h.  */
 
17963
#include <time.h>
 
17964
                int main ()
 
17965
                {
 
17966
                  char buf[100];
 
17967
                  struct tm tm = {0};
 
17968
                  tm.tm_year = 99;
 
17969
                  if (strftime(buf, 100, "%EY", &tm) == 4 &&
 
17970
                      strcmp (buf, "1999")==0)
 
17971
                    return 0;
 
17972
                  return 1;
 
17973
                }
 
17974
 
 
17975
_ACEOF
 
17976
if ac_fn_c_try_run "$LINENO"; then :
 
17977
  ac_cv_strftime_supports_E_O=yes
 
17978
else
 
17979
  ac_cv_strftime_supports_E_O=no
 
17980
fi
 
17981
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
17982
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
17983
fi
 
17984
 
 
17985
 
 
17986
fi
 
17987
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_strftime_supports_E_O" >&5
 
17988
$as_echo "$ac_cv_strftime_supports_E_O" >&6; }
 
17989
if test "x$ac_cv_strftime_supports_E_O" = xyes; then
 
17990
 
 
17991
$as_echo "#define HAVE_STRFTIME_EXTENSION 1" >>confdefs.h
 
17992
 
 
17993
fi
 
17994
 
 
17995
 
 
17996
 
 
17997
mkdir_p="$MKDIR_P"
 
17998
case $mkdir_p in
 
17999
  [\\/$]* | ?:[\\/]*) ;;
 
18000
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
18001
esac
 
18002
 
 
18003
 
 
18004
 
 
18005
      GETTEXT_MACRO_VERSION=0.18
 
18006
 
 
18007
 
 
18008
 
 
18009
 
 
18010
# Prepare PATH_SEPARATOR.
 
18011
# The user is always right.
 
18012
if test "${PATH_SEPARATOR+set}" != set; then
 
18013
  echo "#! /bin/sh" >conf$$.sh
 
18014
  echo  "exit 0"   >>conf$$.sh
 
18015
  chmod +x conf$$.sh
 
18016
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
18017
    PATH_SEPARATOR=';'
 
18018
  else
 
18019
    PATH_SEPARATOR=:
 
18020
  fi
 
18021
  rm -f conf$$.sh
 
18022
fi
 
18023
 
 
18024
# Find out how to test for executable files. Don't use a zero-byte file,
 
18025
# as systems may use methods other than mode bits to determine executability.
 
18026
cat >conf$$.file <<_ASEOF
 
18027
#! /bin/sh
 
18028
exit 0
 
18029
_ASEOF
 
18030
chmod +x conf$$.file
 
18031
if test -x conf$$.file >/dev/null 2>&1; then
 
18032
  ac_executable_p="test -x"
 
18033
else
 
18034
  ac_executable_p="test -f"
 
18035
fi
 
18036
rm -f conf$$.file
 
18037
 
 
18038
# Extract the first word of "msgfmt", so it can be a program name with args.
 
18039
set dummy msgfmt; ac_word=$2
 
18040
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
18041
$as_echo_n "checking for $ac_word... " >&6; }
 
18042
if ${ac_cv_path_MSGFMT+:} false; then :
 
18043
  $as_echo_n "(cached) " >&6
 
18044
else
 
18045
  case "$MSGFMT" in
 
18046
  [\\/]* | ?:[\\/]*)
 
18047
    ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
 
18048
    ;;
 
18049
  *)
 
18050
    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
 
18051
    for ac_dir in $PATH; do
 
18052
      IFS="$ac_save_IFS"
 
18053
      test -z "$ac_dir" && ac_dir=.
 
18054
      for ac_exec_ext in '' $ac_executable_extensions; do
 
18055
        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
 
18056
          echo "$as_me: trying $ac_dir/$ac_word..." >&5
 
18057
          if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
 
18058
     (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
 
18059
            ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
 
18060
            break 2
 
18061
          fi
 
18062
        fi
 
18063
      done
 
18064
    done
 
18065
    IFS="$ac_save_IFS"
 
18066
  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
 
18067
    ;;
 
18068
esac
 
18069
fi
 
18070
MSGFMT="$ac_cv_path_MSGFMT"
 
18071
if test "$MSGFMT" != ":"; then
 
18072
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
 
18073
$as_echo "$MSGFMT" >&6; }
 
18074
else
 
18075
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18076
$as_echo "no" >&6; }
 
18077
fi
 
18078
 
 
18079
  # Extract the first word of "gmsgfmt", so it can be a program name with args.
 
18080
set dummy gmsgfmt; ac_word=$2
 
18081
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
18082
$as_echo_n "checking for $ac_word... " >&6; }
 
18083
if ${ac_cv_path_GMSGFMT+:} false; then :
 
18084
  $as_echo_n "(cached) " >&6
 
18085
else
 
18086
  case $GMSGFMT in
 
18087
  [\\/]* | ?:[\\/]*)
 
18088
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
 
18089
  ;;
 
18090
  *)
 
18091
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
18092
for as_dir in $PATH
 
18093
do
 
18094
  IFS=$as_save_IFS
 
18095
  test -z "$as_dir" && as_dir=.
 
18096
    for ac_exec_ext in '' $ac_executable_extensions; do
 
18097
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
18098
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
18099
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
18100
    break 2
 
18101
  fi
 
18102
done
 
18103
  done
 
18104
IFS=$as_save_IFS
 
18105
 
 
18106
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
 
18107
  ;;
 
18108
esac
 
18109
fi
 
18110
GMSGFMT=$ac_cv_path_GMSGFMT
 
18111
if test -n "$GMSGFMT"; then
 
18112
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
 
18113
$as_echo "$GMSGFMT" >&6; }
 
18114
else
 
18115
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18116
$as_echo "no" >&6; }
 
18117
fi
 
18118
 
 
18119
 
 
18120
 
 
18121
    case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
 
18122
    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
 
18123
    *) MSGFMT_015=$MSGFMT ;;
 
18124
  esac
 
18125
 
 
18126
  case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
 
18127
    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
 
18128
    *) GMSGFMT_015=$GMSGFMT ;;
 
18129
  esac
 
18130
 
 
18131
 
 
18132
 
 
18133
# Prepare PATH_SEPARATOR.
 
18134
# The user is always right.
 
18135
if test "${PATH_SEPARATOR+set}" != set; then
 
18136
  echo "#! /bin/sh" >conf$$.sh
 
18137
  echo  "exit 0"   >>conf$$.sh
 
18138
  chmod +x conf$$.sh
 
18139
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
18140
    PATH_SEPARATOR=';'
 
18141
  else
 
18142
    PATH_SEPARATOR=:
 
18143
  fi
 
18144
  rm -f conf$$.sh
 
18145
fi
 
18146
 
 
18147
# Find out how to test for executable files. Don't use a zero-byte file,
 
18148
# as systems may use methods other than mode bits to determine executability.
 
18149
cat >conf$$.file <<_ASEOF
 
18150
#! /bin/sh
 
18151
exit 0
 
18152
_ASEOF
 
18153
chmod +x conf$$.file
 
18154
if test -x conf$$.file >/dev/null 2>&1; then
 
18155
  ac_executable_p="test -x"
 
18156
else
 
18157
  ac_executable_p="test -f"
 
18158
fi
 
18159
rm -f conf$$.file
 
18160
 
 
18161
# Extract the first word of "xgettext", so it can be a program name with args.
 
18162
set dummy xgettext; ac_word=$2
 
18163
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
18164
$as_echo_n "checking for $ac_word... " >&6; }
 
18165
if ${ac_cv_path_XGETTEXT+:} false; then :
 
18166
  $as_echo_n "(cached) " >&6
 
18167
else
 
18168
  case "$XGETTEXT" in
 
18169
  [\\/]* | ?:[\\/]*)
 
18170
    ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
 
18171
    ;;
 
18172
  *)
 
18173
    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
 
18174
    for ac_dir in $PATH; do
 
18175
      IFS="$ac_save_IFS"
 
18176
      test -z "$ac_dir" && ac_dir=.
 
18177
      for ac_exec_ext in '' $ac_executable_extensions; do
 
18178
        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
 
18179
          echo "$as_me: trying $ac_dir/$ac_word..." >&5
 
18180
          if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
 
18181
     (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
 
18182
            ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
 
18183
            break 2
 
18184
          fi
 
18185
        fi
 
18186
      done
 
18187
    done
 
18188
    IFS="$ac_save_IFS"
 
18189
  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
 
18190
    ;;
 
18191
esac
 
18192
fi
 
18193
XGETTEXT="$ac_cv_path_XGETTEXT"
 
18194
if test "$XGETTEXT" != ":"; then
 
18195
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
 
18196
$as_echo "$XGETTEXT" >&6; }
 
18197
else
 
18198
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18199
$as_echo "no" >&6; }
 
18200
fi
 
18201
 
 
18202
    rm -f messages.po
 
18203
 
 
18204
    case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
 
18205
    '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
 
18206
    *) XGETTEXT_015=$XGETTEXT ;;
 
18207
  esac
 
18208
 
 
18209
 
 
18210
 
 
18211
# Prepare PATH_SEPARATOR.
 
18212
# The user is always right.
 
18213
if test "${PATH_SEPARATOR+set}" != set; then
 
18214
  echo "#! /bin/sh" >conf$$.sh
 
18215
  echo  "exit 0"   >>conf$$.sh
 
18216
  chmod +x conf$$.sh
 
18217
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
18218
    PATH_SEPARATOR=';'
 
18219
  else
 
18220
    PATH_SEPARATOR=:
 
18221
  fi
 
18222
  rm -f conf$$.sh
 
18223
fi
 
18224
 
 
18225
# Find out how to test for executable files. Don't use a zero-byte file,
 
18226
# as systems may use methods other than mode bits to determine executability.
 
18227
cat >conf$$.file <<_ASEOF
 
18228
#! /bin/sh
 
18229
exit 0
 
18230
_ASEOF
 
18231
chmod +x conf$$.file
 
18232
if test -x conf$$.file >/dev/null 2>&1; then
 
18233
  ac_executable_p="test -x"
 
18234
else
 
18235
  ac_executable_p="test -f"
 
18236
fi
 
18237
rm -f conf$$.file
 
18238
 
 
18239
# Extract the first word of "msgmerge", so it can be a program name with args.
 
18240
set dummy msgmerge; ac_word=$2
 
18241
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
18242
$as_echo_n "checking for $ac_word... " >&6; }
 
18243
if ${ac_cv_path_MSGMERGE+:} false; then :
 
18244
  $as_echo_n "(cached) " >&6
 
18245
else
 
18246
  case "$MSGMERGE" in
 
18247
  [\\/]* | ?:[\\/]*)
 
18248
    ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
 
18249
    ;;
 
18250
  *)
 
18251
    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
 
18252
    for ac_dir in $PATH; do
 
18253
      IFS="$ac_save_IFS"
 
18254
      test -z "$ac_dir" && ac_dir=.
 
18255
      for ac_exec_ext in '' $ac_executable_extensions; do
 
18256
        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
 
18257
          echo "$as_me: trying $ac_dir/$ac_word..." >&5
 
18258
          if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
 
18259
            ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
 
18260
            break 2
 
18261
          fi
 
18262
        fi
 
18263
      done
 
18264
    done
 
18265
    IFS="$ac_save_IFS"
 
18266
  test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
 
18267
    ;;
 
18268
esac
 
18269
fi
 
18270
MSGMERGE="$ac_cv_path_MSGMERGE"
 
18271
if test "$MSGMERGE" != ":"; then
 
18272
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
 
18273
$as_echo "$MSGMERGE" >&6; }
 
18274
else
 
18275
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18276
$as_echo "no" >&6; }
 
18277
fi
 
18278
 
 
18279
 
 
18280
        test -n "$localedir" || localedir='${datadir}/locale'
 
18281
 
 
18282
 
 
18283
    test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
 
18284
 
 
18285
 
 
18286
  ac_config_commands="$ac_config_commands po-directories"
 
18287
 
 
18288
 
 
18289
 
 
18290
      if test "X$prefix" = "XNONE"; then
 
18291
    acl_final_prefix="$ac_default_prefix"
 
18292
  else
 
18293
    acl_final_prefix="$prefix"
 
18294
  fi
 
18295
  if test "X$exec_prefix" = "XNONE"; then
 
18296
    acl_final_exec_prefix='${prefix}'
 
18297
  else
 
18298
    acl_final_exec_prefix="$exec_prefix"
 
18299
  fi
 
18300
  acl_save_prefix="$prefix"
 
18301
  prefix="$acl_final_prefix"
 
18302
  eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
 
18303
  prefix="$acl_save_prefix"
 
18304
 
 
18305
 
 
18306
# Check whether --with-gnu-ld was given.
 
18307
if test "${with_gnu_ld+set}" = set; then :
 
18308
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 
18309
else
 
18310
  with_gnu_ld=no
 
18311
fi
 
18312
 
 
18313
# Prepare PATH_SEPARATOR.
 
18314
# The user is always right.
 
18315
if test "${PATH_SEPARATOR+set}" != set; then
 
18316
  echo "#! /bin/sh" >conf$$.sh
 
18317
  echo  "exit 0"   >>conf$$.sh
 
18318
  chmod +x conf$$.sh
 
18319
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
18320
    PATH_SEPARATOR=';'
 
18321
  else
 
18322
    PATH_SEPARATOR=:
 
18323
  fi
 
18324
  rm -f conf$$.sh
 
18325
fi
 
18326
ac_prog=ld
 
18327
if test "$GCC" = yes; then
 
18328
  # Check if gcc -print-prog-name=ld gives a path.
 
18329
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
 
18330
$as_echo_n "checking for ld used by GCC... " >&6; }
 
18331
  case $host in
 
18332
  *-*-mingw*)
 
18333
    # gcc leaves a trailing carriage return which upsets mingw
 
18334
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 
18335
  *)
 
18336
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 
18337
  esac
 
18338
  case $ac_prog in
 
18339
    # Accept absolute paths.
 
18340
    [\\/]* | [A-Za-z]:[\\/]*)
 
18341
      re_direlt='/[^/][^/]*/\.\./'
 
18342
      # Canonicalize the path of ld
 
18343
      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
 
18344
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
 
18345
        ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
 
18346
      done
 
18347
      test -z "$LD" && LD="$ac_prog"
 
18348
      ;;
 
18349
  "")
 
18350
    # If it fails, then pretend we aren't using GCC.
 
18351
    ac_prog=ld
 
18352
    ;;
 
18353
  *)
 
18354
    # If it is relative, then search for the first ld in PATH.
 
18355
    with_gnu_ld=unknown
 
18356
    ;;
 
18357
  esac
 
18358
elif test "$with_gnu_ld" = yes; then
 
18359
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 
18360
$as_echo_n "checking for GNU ld... " >&6; }
 
18361
else
 
18362
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 
18363
$as_echo_n "checking for non-GNU ld... " >&6; }
 
18364
fi
 
18365
if ${acl_cv_path_LD+:} false; then :
 
18366
  $as_echo_n "(cached) " >&6
 
18367
else
 
18368
  if test -z "$LD"; then
 
18369
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
 
18370
  for ac_dir in $PATH; do
 
18371
    test -z "$ac_dir" && ac_dir=.
 
18372
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 
18373
      acl_cv_path_LD="$ac_dir/$ac_prog"
 
18374
      # Check to see if the program is GNU ld.  I'd rather use --version,
 
18375
      # but apparently some GNU ld's only accept -v.
 
18376
      # Break only if it was the GNU/non-GNU ld that we prefer.
 
18377
      case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
 
18378
      *GNU* | *'with BFD'*)
 
18379
        test "$with_gnu_ld" != no && break ;;
 
18380
      *)
 
18381
        test "$with_gnu_ld" != yes && break ;;
 
18382
      esac
 
18383
    fi
 
18384
  done
 
18385
  IFS="$ac_save_ifs"
 
18386
else
 
18387
  acl_cv_path_LD="$LD" # Let the user override the test with a path.
 
18388
fi
 
18389
fi
 
18390
 
 
18391
LD="$acl_cv_path_LD"
 
18392
if test -n "$LD"; then
 
18393
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 
18394
$as_echo "$LD" >&6; }
 
18395
else
 
18396
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18397
$as_echo "no" >&6; }
 
18398
fi
 
18399
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
 
18400
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 
18401
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 
18402
if ${acl_cv_prog_gnu_ld+:} false; then :
 
18403
  $as_echo_n "(cached) " >&6
 
18404
else
 
18405
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
 
18406
case `$LD -v 2>&1 </dev/null` in
 
18407
*GNU* | *'with BFD'*)
 
18408
  acl_cv_prog_gnu_ld=yes ;;
 
18409
*)
 
18410
  acl_cv_prog_gnu_ld=no ;;
 
18411
esac
 
18412
fi
 
18413
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
 
18414
$as_echo "$acl_cv_prog_gnu_ld" >&6; }
 
18415
with_gnu_ld=$acl_cv_prog_gnu_ld
 
18416
 
 
18417
 
 
18418
 
 
18419
 
 
18420
                                                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
 
18421
$as_echo_n "checking for shared library run path origin... " >&6; }
 
18422
if ${acl_cv_rpath+:} false; then :
 
18423
  $as_echo_n "(cached) " >&6
 
18424
else
 
18425
 
 
18426
    CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
 
18427
    ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
 
18428
    . ./conftest.sh
 
18429
    rm -f ./conftest.sh
 
18430
    acl_cv_rpath=done
 
18431
 
 
18432
fi
 
18433
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
 
18434
$as_echo "$acl_cv_rpath" >&6; }
 
18435
  wl="$acl_cv_wl"
 
18436
  acl_libext="$acl_cv_libext"
 
18437
  acl_shlibext="$acl_cv_shlibext"
 
18438
  acl_libname_spec="$acl_cv_libname_spec"
 
18439
  acl_library_names_spec="$acl_cv_library_names_spec"
 
18440
  acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
 
18441
  acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
 
18442
  acl_hardcode_direct="$acl_cv_hardcode_direct"
 
18443
  acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
 
18444
    # Check whether --enable-rpath was given.
 
18445
if test "${enable_rpath+set}" = set; then :
 
18446
  enableval=$enable_rpath; :
 
18447
else
 
18448
  enable_rpath=yes
 
18449
fi
 
18450
 
 
18451
 
 
18452
 
 
18453
 
 
18454
  acl_libdirstem=lib
 
18455
  acl_libdirstem2=
 
18456
  case "$host_os" in
 
18457
    solaris*)
 
18458
                                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
 
18459
$as_echo_n "checking for 64-bit host... " >&6; }
 
18460
if ${gl_cv_solaris_64bit+:} false; then :
 
18461
  $as_echo_n "(cached) " >&6
 
18462
else
 
18463
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
18464
/* end confdefs.h.  */
 
18465
 
 
18466
#ifdef _LP64
 
18467
sixtyfour bits
 
18468
#endif
 
18469
 
 
18470
_ACEOF
 
18471
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
18472
  $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
 
18473
  gl_cv_solaris_64bit=yes
 
18474
else
 
18475
  gl_cv_solaris_64bit=no
 
18476
fi
 
18477
rm -f conftest*
 
18478
 
 
18479
 
 
18480
fi
 
18481
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
 
18482
$as_echo "$gl_cv_solaris_64bit" >&6; }
 
18483
      if test $gl_cv_solaris_64bit = yes; then
 
18484
        acl_libdirstem=lib/64
 
18485
        case "$host_cpu" in
 
18486
          sparc*)        acl_libdirstem2=lib/sparcv9 ;;
 
18487
          i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
 
18488
        esac
 
18489
      fi
 
18490
      ;;
 
18491
    *)
 
18492
      searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
 
18493
      if test -n "$searchpath"; then
 
18494
        acl_save_IFS="${IFS=    }"; IFS=":"
 
18495
        for searchdir in $searchpath; do
 
18496
          if test -d "$searchdir"; then
 
18497
            case "$searchdir" in
 
18498
              */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
 
18499
              */../ | */.. )
 
18500
                # Better ignore directories of this form. They are misleading.
 
18501
                ;;
 
18502
              *) searchdir=`cd "$searchdir" && pwd`
 
18503
                 case "$searchdir" in
 
18504
                   */lib64 ) acl_libdirstem=lib64 ;;
 
18505
                 esac ;;
 
18506
            esac
 
18507
          fi
 
18508
        done
 
18509
        IFS="$acl_save_IFS"
 
18510
      fi
 
18511
      ;;
 
18512
  esac
 
18513
  test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
 
18514
 
 
18515
 
 
18516
 
 
18517
 
 
18518
 
 
18519
 
 
18520
 
 
18521
 
 
18522
 
 
18523
 
 
18524
 
 
18525
 
 
18526
    use_additional=yes
 
18527
 
 
18528
  acl_save_prefix="$prefix"
 
18529
  prefix="$acl_final_prefix"
 
18530
  acl_save_exec_prefix="$exec_prefix"
 
18531
  exec_prefix="$acl_final_exec_prefix"
 
18532
 
 
18533
    eval additional_includedir=\"$includedir\"
 
18534
    eval additional_libdir=\"$libdir\"
 
18535
 
 
18536
  exec_prefix="$acl_save_exec_prefix"
 
18537
  prefix="$acl_save_prefix"
 
18538
 
 
18539
 
 
18540
# Check whether --with-libiconv-prefix was given.
 
18541
if test "${with_libiconv_prefix+set}" = set; then :
 
18542
  withval=$with_libiconv_prefix;
 
18543
    if test "X$withval" = "Xno"; then
 
18544
      use_additional=no
 
18545
    else
 
18546
      if test "X$withval" = "X"; then
 
18547
 
 
18548
  acl_save_prefix="$prefix"
 
18549
  prefix="$acl_final_prefix"
 
18550
  acl_save_exec_prefix="$exec_prefix"
 
18551
  exec_prefix="$acl_final_exec_prefix"
 
18552
 
 
18553
          eval additional_includedir=\"$includedir\"
 
18554
          eval additional_libdir=\"$libdir\"
 
18555
 
 
18556
  exec_prefix="$acl_save_exec_prefix"
 
18557
  prefix="$acl_save_prefix"
 
18558
 
 
18559
      else
 
18560
        additional_includedir="$withval/include"
 
18561
        additional_libdir="$withval/$acl_libdirstem"
 
18562
        if test "$acl_libdirstem2" != "$acl_libdirstem" \
 
18563
           && ! test -d "$withval/$acl_libdirstem"; then
 
18564
          additional_libdir="$withval/$acl_libdirstem2"
 
18565
        fi
 
18566
      fi
 
18567
    fi
 
18568
 
 
18569
fi
 
18570
 
 
18571
      LIBICONV=
 
18572
  LTLIBICONV=
 
18573
  INCICONV=
 
18574
  LIBICONV_PREFIX=
 
18575
      HAVE_LIBICONV=
 
18576
  rpathdirs=
 
18577
  ltrpathdirs=
 
18578
  names_already_handled=
 
18579
  names_next_round='iconv '
 
18580
  while test -n "$names_next_round"; do
 
18581
    names_this_round="$names_next_round"
 
18582
    names_next_round=
 
18583
    for name in $names_this_round; do
 
18584
      already_handled=
 
18585
      for n in $names_already_handled; do
 
18586
        if test "$n" = "$name"; then
 
18587
          already_handled=yes
 
18588
          break
 
18589
        fi
 
18590
      done
 
18591
      if test -z "$already_handled"; then
 
18592
        names_already_handled="$names_already_handled $name"
 
18593
                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
 
18594
        eval value=\"\$HAVE_LIB$uppername\"
 
18595
        if test -n "$value"; then
 
18596
          if test "$value" = yes; then
 
18597
            eval value=\"\$LIB$uppername\"
 
18598
            test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
 
18599
            eval value=\"\$LTLIB$uppername\"
 
18600
            test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
 
18601
          else
 
18602
                                    :
 
18603
          fi
 
18604
        else
 
18605
                              found_dir=
 
18606
          found_la=
 
18607
          found_so=
 
18608
          found_a=
 
18609
          eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
 
18610
          if test -n "$acl_shlibext"; then
 
18611
            shrext=".$acl_shlibext"             # typically: shrext=.so
 
18612
          else
 
18613
            shrext=
 
18614
          fi
 
18615
          if test $use_additional = yes; then
 
18616
            dir="$additional_libdir"
 
18617
                                    if test -n "$acl_shlibext"; then
 
18618
              if test -f "$dir/$libname$shrext"; then
 
18619
                found_dir="$dir"
 
18620
                found_so="$dir/$libname$shrext"
 
18621
              else
 
18622
                if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
 
18623
                  ver=`(cd "$dir" && \
 
18624
                        for f in "$libname$shrext".*; do echo "$f"; done \
 
18625
                        | sed -e "s,^$libname$shrext\\\\.,," \
 
18626
                        | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
 
18627
                        | sed 1q ) 2>/dev/null`
 
18628
                  if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
 
18629
                    found_dir="$dir"
 
18630
                    found_so="$dir/$libname$shrext.$ver"
 
18631
                  fi
 
18632
                else
 
18633
                  eval library_names=\"$acl_library_names_spec\"
 
18634
                  for f in $library_names; do
 
18635
                    if test -f "$dir/$f"; then
 
18636
                      found_dir="$dir"
 
18637
                      found_so="$dir/$f"
 
18638
                      break
 
18639
                    fi
 
18640
                  done
 
18641
                fi
 
18642
              fi
 
18643
            fi
 
18644
                        if test "X$found_dir" = "X"; then
 
18645
              if test -f "$dir/$libname.$acl_libext"; then
 
18646
                found_dir="$dir"
 
18647
                found_a="$dir/$libname.$acl_libext"
 
18648
              fi
 
18649
            fi
 
18650
            if test "X$found_dir" != "X"; then
 
18651
              if test -f "$dir/$libname.la"; then
 
18652
                found_la="$dir/$libname.la"
 
18653
              fi
 
18654
            fi
 
18655
          fi
 
18656
          if test "X$found_dir" = "X"; then
 
18657
            for x in $LDFLAGS $LTLIBICONV; do
 
18658
 
 
18659
  acl_save_prefix="$prefix"
 
18660
  prefix="$acl_final_prefix"
 
18661
  acl_save_exec_prefix="$exec_prefix"
 
18662
  exec_prefix="$acl_final_exec_prefix"
 
18663
  eval x=\"$x\"
 
18664
  exec_prefix="$acl_save_exec_prefix"
 
18665
  prefix="$acl_save_prefix"
 
18666
 
 
18667
              case "$x" in
 
18668
                -L*)
 
18669
                  dir=`echo "X$x" | sed -e 's/^X-L//'`
 
18670
                                    if test -n "$acl_shlibext"; then
 
18671
                    if test -f "$dir/$libname$shrext"; then
 
18672
                      found_dir="$dir"
 
18673
                      found_so="$dir/$libname$shrext"
 
18674
                    else
 
18675
                      if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
 
18676
                        ver=`(cd "$dir" && \
 
18677
                              for f in "$libname$shrext".*; do echo "$f"; done \
 
18678
                              | sed -e "s,^$libname$shrext\\\\.,," \
 
18679
                              | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
 
18680
                              | sed 1q ) 2>/dev/null`
 
18681
                        if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
 
18682
                          found_dir="$dir"
 
18683
                          found_so="$dir/$libname$shrext.$ver"
 
18684
                        fi
 
18685
                      else
 
18686
                        eval library_names=\"$acl_library_names_spec\"
 
18687
                        for f in $library_names; do
 
18688
                          if test -f "$dir/$f"; then
 
18689
                            found_dir="$dir"
 
18690
                            found_so="$dir/$f"
 
18691
                            break
 
18692
                          fi
 
18693
                        done
 
18694
                      fi
 
18695
                    fi
 
18696
                  fi
 
18697
                                    if test "X$found_dir" = "X"; then
 
18698
                    if test -f "$dir/$libname.$acl_libext"; then
 
18699
                      found_dir="$dir"
 
18700
                      found_a="$dir/$libname.$acl_libext"
 
18701
                    fi
 
18702
                  fi
 
18703
                  if test "X$found_dir" != "X"; then
 
18704
                    if test -f "$dir/$libname.la"; then
 
18705
                      found_la="$dir/$libname.la"
 
18706
                    fi
 
18707
                  fi
 
18708
                  ;;
 
18709
              esac
 
18710
              if test "X$found_dir" != "X"; then
 
18711
                break
 
18712
              fi
 
18713
            done
 
18714
          fi
 
18715
          if test "X$found_dir" != "X"; then
 
18716
                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
 
18717
            if test "X$found_so" != "X"; then
 
18718
                                                        if test "$enable_rpath" = no \
 
18719
                 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
 
18720
                 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
 
18721
                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
 
18722
              else
 
18723
                                                                                haveit=
 
18724
                for x in $ltrpathdirs; do
 
18725
                  if test "X$x" = "X$found_dir"; then
 
18726
                    haveit=yes
 
18727
                    break
 
18728
                  fi
 
18729
                done
 
18730
                if test -z "$haveit"; then
 
18731
                  ltrpathdirs="$ltrpathdirs $found_dir"
 
18732
                fi
 
18733
                                if test "$acl_hardcode_direct" = yes; then
 
18734
                                                      LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
 
18735
                else
 
18736
                  if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
 
18737
                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
 
18738
                                                            haveit=
 
18739
                    for x in $rpathdirs; do
 
18740
                      if test "X$x" = "X$found_dir"; then
 
18741
                        haveit=yes
 
18742
                        break
 
18743
                      fi
 
18744
                    done
 
18745
                    if test -z "$haveit"; then
 
18746
                      rpathdirs="$rpathdirs $found_dir"
 
18747
                    fi
 
18748
                  else
 
18749
                                                                                haveit=
 
18750
                    for x in $LDFLAGS $LIBICONV; do
 
18751
 
 
18752
  acl_save_prefix="$prefix"
 
18753
  prefix="$acl_final_prefix"
 
18754
  acl_save_exec_prefix="$exec_prefix"
 
18755
  exec_prefix="$acl_final_exec_prefix"
 
18756
  eval x=\"$x\"
 
18757
  exec_prefix="$acl_save_exec_prefix"
 
18758
  prefix="$acl_save_prefix"
 
18759
 
 
18760
                      if test "X$x" = "X-L$found_dir"; then
 
18761
                        haveit=yes
 
18762
                        break
 
18763
                      fi
 
18764
                    done
 
18765
                    if test -z "$haveit"; then
 
18766
                      LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
 
18767
                    fi
 
18768
                    if test "$acl_hardcode_minus_L" != no; then
 
18769
                                                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
 
18770
                    else
 
18771
                                                                                                                                                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
 
18772
                    fi
 
18773
                  fi
 
18774
                fi
 
18775
              fi
 
18776
            else
 
18777
              if test "X$found_a" != "X"; then
 
18778
                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
 
18779
              else
 
18780
                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
 
18781
              fi
 
18782
            fi
 
18783
                        additional_includedir=
 
18784
            case "$found_dir" in
 
18785
              */$acl_libdirstem | */$acl_libdirstem/)
 
18786
                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
 
18787
                if test "$name" = 'iconv'; then
 
18788
                  LIBICONV_PREFIX="$basedir"
 
18789
                fi
 
18790
                additional_includedir="$basedir/include"
 
18791
                ;;
 
18792
              */$acl_libdirstem2 | */$acl_libdirstem2/)
 
18793
                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
 
18794
                if test "$name" = 'iconv'; then
 
18795
                  LIBICONV_PREFIX="$basedir"
 
18796
                fi
 
18797
                additional_includedir="$basedir/include"
 
18798
                ;;
 
18799
            esac
 
18800
            if test "X$additional_includedir" != "X"; then
 
18801
                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
 
18802
                haveit=
 
18803
                if test "X$additional_includedir" = "X/usr/local/include"; then
 
18804
                  if test -n "$GCC"; then
 
18805
                    case $host_os in
 
18806
                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
 
18807
                    esac
 
18808
                  fi
 
18809
                fi
 
18810
                if test -z "$haveit"; then
 
18811
                  for x in $CPPFLAGS $INCICONV; do
 
18812
 
 
18813
  acl_save_prefix="$prefix"
 
18814
  prefix="$acl_final_prefix"
 
18815
  acl_save_exec_prefix="$exec_prefix"
 
18816
  exec_prefix="$acl_final_exec_prefix"
 
18817
  eval x=\"$x\"
 
18818
  exec_prefix="$acl_save_exec_prefix"
 
18819
  prefix="$acl_save_prefix"
 
18820
 
 
18821
                    if test "X$x" = "X-I$additional_includedir"; then
 
18822
                      haveit=yes
 
18823
                      break
 
18824
                    fi
 
18825
                  done
 
18826
                  if test -z "$haveit"; then
 
18827
                    if test -d "$additional_includedir"; then
 
18828
                                            INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
 
18829
                    fi
 
18830
                  fi
 
18831
                fi
 
18832
              fi
 
18833
            fi
 
18834
                        if test -n "$found_la"; then
 
18835
                                                        save_libdir="$libdir"
 
18836
              case "$found_la" in
 
18837
                */* | *\\*) . "$found_la" ;;
 
18838
                *) . "./$found_la" ;;
 
18839
              esac
 
18840
              libdir="$save_libdir"
 
18841
                            for dep in $dependency_libs; do
 
18842
                case "$dep" in
 
18843
                  -L*)
 
18844
                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
 
18845
                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
 
18846
                       && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
 
18847
                      haveit=
 
18848
                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
 
18849
                         || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
 
18850
                        if test -n "$GCC"; then
 
18851
                          case $host_os in
 
18852
                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
 
18853
                          esac
 
18854
                        fi
 
18855
                      fi
 
18856
                      if test -z "$haveit"; then
 
18857
                        haveit=
 
18858
                        for x in $LDFLAGS $LIBICONV; do
 
18859
 
 
18860
  acl_save_prefix="$prefix"
 
18861
  prefix="$acl_final_prefix"
 
18862
  acl_save_exec_prefix="$exec_prefix"
 
18863
  exec_prefix="$acl_final_exec_prefix"
 
18864
  eval x=\"$x\"
 
18865
  exec_prefix="$acl_save_exec_prefix"
 
18866
  prefix="$acl_save_prefix"
 
18867
 
 
18868
                          if test "X$x" = "X-L$additional_libdir"; then
 
18869
                            haveit=yes
 
18870
                            break
 
18871
                          fi
 
18872
                        done
 
18873
                        if test -z "$haveit"; then
 
18874
                          if test -d "$additional_libdir"; then
 
18875
                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
 
18876
                          fi
 
18877
                        fi
 
18878
                        haveit=
 
18879
                        for x in $LDFLAGS $LTLIBICONV; do
 
18880
 
 
18881
  acl_save_prefix="$prefix"
 
18882
  prefix="$acl_final_prefix"
 
18883
  acl_save_exec_prefix="$exec_prefix"
 
18884
  exec_prefix="$acl_final_exec_prefix"
 
18885
  eval x=\"$x\"
 
18886
  exec_prefix="$acl_save_exec_prefix"
 
18887
  prefix="$acl_save_prefix"
 
18888
 
 
18889
                          if test "X$x" = "X-L$additional_libdir"; then
 
18890
                            haveit=yes
 
18891
                            break
 
18892
                          fi
 
18893
                        done
 
18894
                        if test -z "$haveit"; then
 
18895
                          if test -d "$additional_libdir"; then
 
18896
                                                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
 
18897
                          fi
 
18898
                        fi
 
18899
                      fi
 
18900
                    fi
 
18901
                    ;;
 
18902
                  -R*)
 
18903
                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
 
18904
                    if test "$enable_rpath" != no; then
 
18905
                                                                  haveit=
 
18906
                      for x in $rpathdirs; do
 
18907
                        if test "X$x" = "X$dir"; then
 
18908
                          haveit=yes
 
18909
                          break
 
18910
                        fi
 
18911
                      done
 
18912
                      if test -z "$haveit"; then
 
18913
                        rpathdirs="$rpathdirs $dir"
 
18914
                      fi
 
18915
                                                                  haveit=
 
18916
                      for x in $ltrpathdirs; do
 
18917
                        if test "X$x" = "X$dir"; then
 
18918
                          haveit=yes
 
18919
                          break
 
18920
                        fi
 
18921
                      done
 
18922
                      if test -z "$haveit"; then
 
18923
                        ltrpathdirs="$ltrpathdirs $dir"
 
18924
                      fi
 
18925
                    fi
 
18926
                    ;;
 
18927
                  -l*)
 
18928
                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
 
18929
                    ;;
 
18930
                  *.la)
 
18931
                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
 
18932
                    ;;
 
18933
                  *)
 
18934
                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
 
18935
                    LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
 
18936
                    ;;
 
18937
                esac
 
18938
              done
 
18939
            fi
 
18940
          else
 
18941
                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
 
18942
            LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
 
18943
          fi
 
18944
        fi
 
18945
      fi
 
18946
    done
 
18947
  done
 
18948
  if test "X$rpathdirs" != "X"; then
 
18949
    if test -n "$acl_hardcode_libdir_separator"; then
 
18950
                        alldirs=
 
18951
      for found_dir in $rpathdirs; do
 
18952
        alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
 
18953
      done
 
18954
            acl_save_libdir="$libdir"
 
18955
      libdir="$alldirs"
 
18956
      eval flag=\"$acl_hardcode_libdir_flag_spec\"
 
18957
      libdir="$acl_save_libdir"
 
18958
      LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
 
18959
    else
 
18960
            for found_dir in $rpathdirs; do
 
18961
        acl_save_libdir="$libdir"
 
18962
        libdir="$found_dir"
 
18963
        eval flag=\"$acl_hardcode_libdir_flag_spec\"
 
18964
        libdir="$acl_save_libdir"
 
18965
        LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
 
18966
      done
 
18967
    fi
 
18968
  fi
 
18969
  if test "X$ltrpathdirs" != "X"; then
 
18970
            for found_dir in $ltrpathdirs; do
 
18971
      LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
 
18972
    done
 
18973
  fi
 
18974
 
 
18975
 
 
18976
 
 
18977
 
 
18978
 
 
18979
 
 
18980
 
 
18981
 
 
18982
 
 
18983
 
 
18984
 
 
18985
 
 
18986
 
 
18987
 
 
18988
 
 
18989
 
 
18990
 
 
18991
 
 
18992
 
 
18993
 
 
18994
 
 
18995
 
 
18996
 
 
18997
 
 
18998
 
 
18999
 
 
19000
 
 
19001
 
 
19002
 
 
19003
 
 
19004
 
 
19005
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
 
19006
$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
 
19007
if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
 
19008
  $as_echo_n "(cached) " >&6
 
19009
else
 
19010
  gt_save_LIBS="$LIBS"
 
19011
     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
 
19012
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
19013
/* end confdefs.h.  */
 
19014
#include <CoreFoundation/CFPreferences.h>
 
19015
int
 
19016
main ()
 
19017
{
 
19018
CFPreferencesCopyAppValue(NULL, NULL)
 
19019
  ;
 
19020
  return 0;
 
19021
}
 
19022
_ACEOF
 
19023
if ac_fn_c_try_link "$LINENO"; then :
 
19024
  gt_cv_func_CFPreferencesCopyAppValue=yes
 
19025
else
 
19026
  gt_cv_func_CFPreferencesCopyAppValue=no
 
19027
fi
 
19028
rm -f core conftest.err conftest.$ac_objext \
 
19029
    conftest$ac_exeext conftest.$ac_ext
 
19030
     LIBS="$gt_save_LIBS"
 
19031
fi
 
19032
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
 
19033
$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
 
19034
  if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
 
19035
 
 
19036
$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
 
19037
 
 
19038
  fi
 
19039
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
 
19040
$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
 
19041
if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
 
19042
  $as_echo_n "(cached) " >&6
 
19043
else
 
19044
  gt_save_LIBS="$LIBS"
 
19045
     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
 
19046
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
19047
/* end confdefs.h.  */
 
19048
#include <CoreFoundation/CFLocale.h>
 
19049
int
 
19050
main ()
 
19051
{
 
19052
CFLocaleCopyCurrent();
 
19053
  ;
 
19054
  return 0;
 
19055
}
 
19056
_ACEOF
 
19057
if ac_fn_c_try_link "$LINENO"; then :
 
19058
  gt_cv_func_CFLocaleCopyCurrent=yes
 
19059
else
 
19060
  gt_cv_func_CFLocaleCopyCurrent=no
 
19061
fi
 
19062
rm -f core conftest.err conftest.$ac_objext \
 
19063
    conftest$ac_exeext conftest.$ac_ext
 
19064
     LIBS="$gt_save_LIBS"
 
19065
fi
 
19066
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
 
19067
$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
 
19068
  if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
 
19069
 
 
19070
$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
 
19071
 
 
19072
  fi
 
19073
  INTL_MACOSX_LIBS=
 
19074
  if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
 
19075
    INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
 
19076
  fi
 
19077
 
 
19078
 
 
19079
 
 
19080
 
 
19081
 
 
19082
 
 
19083
  LIBINTL=
 
19084
  LTLIBINTL=
 
19085
  POSUB=
 
19086
 
 
19087
    case " $gt_needs " in
 
19088
    *" need-formatstring-macros "*) gt_api_version=3 ;;
 
19089
    *" need-ngettext "*) gt_api_version=2 ;;
 
19090
    *) gt_api_version=1 ;;
 
19091
  esac
 
19092
  gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
 
19093
  gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
 
19094
 
 
19095
    if test "$USE_NLS" = "yes"; then
 
19096
    gt_use_preinstalled_gnugettext=no
 
19097
 
 
19098
 
 
19099
        if test $gt_api_version -ge 3; then
 
19100
          gt_revision_test_code='
 
19101
#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
 
19102
#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
 
19103
#endif
 
19104
typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
 
19105
'
 
19106
        else
 
19107
          gt_revision_test_code=
 
19108
        fi
 
19109
        if test $gt_api_version -ge 2; then
 
19110
          gt_expression_test_code=' + * ngettext ("", "", 0)'
 
19111
        else
 
19112
          gt_expression_test_code=
 
19113
        fi
 
19114
 
 
19115
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
 
19116
$as_echo_n "checking for GNU gettext in libc... " >&6; }
 
19117
if eval \${$gt_func_gnugettext_libc+:} false; then :
 
19118
  $as_echo_n "(cached) " >&6
 
19119
else
 
19120
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
19121
/* end confdefs.h.  */
 
19122
#include <libintl.h>
 
19123
$gt_revision_test_code
 
19124
extern int _nl_msg_cat_cntr;
 
19125
extern int *_nl_domain_bindings;
 
19126
int
 
19127
main ()
 
19128
{
 
19129
bindtextdomain ("", "");
 
19130
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
 
19131
  ;
 
19132
  return 0;
 
19133
}
 
19134
_ACEOF
 
19135
if ac_fn_c_try_link "$LINENO"; then :
 
19136
  eval "$gt_func_gnugettext_libc=yes"
 
19137
else
 
19138
  eval "$gt_func_gnugettext_libc=no"
 
19139
fi
 
19140
rm -f core conftest.err conftest.$ac_objext \
 
19141
    conftest$ac_exeext conftest.$ac_ext
 
19142
fi
 
19143
eval ac_res=\$$gt_func_gnugettext_libc
 
19144
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
19145
$as_echo "$ac_res" >&6; }
 
19146
 
 
19147
        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
 
19148
 
 
19149
 
 
19150
 
 
19151
 
 
19152
 
 
19153
          am_save_CPPFLAGS="$CPPFLAGS"
 
19154
 
 
19155
  for element in $INCICONV; do
 
19156
    haveit=
 
19157
    for x in $CPPFLAGS; do
 
19158
 
 
19159
  acl_save_prefix="$prefix"
 
19160
  prefix="$acl_final_prefix"
 
19161
  acl_save_exec_prefix="$exec_prefix"
 
19162
  exec_prefix="$acl_final_exec_prefix"
 
19163
  eval x=\"$x\"
 
19164
  exec_prefix="$acl_save_exec_prefix"
 
19165
  prefix="$acl_save_prefix"
 
19166
 
 
19167
      if test "X$x" = "X$element"; then
 
19168
        haveit=yes
 
19169
        break
 
19170
      fi
 
19171
    done
 
19172
    if test -z "$haveit"; then
 
19173
      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
 
19174
    fi
 
19175
  done
 
19176
 
 
19177
 
 
19178
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
 
19179
$as_echo_n "checking for iconv... " >&6; }
 
19180
if ${am_cv_func_iconv+:} false; then :
 
19181
  $as_echo_n "(cached) " >&6
 
19182
else
 
19183
 
 
19184
    am_cv_func_iconv="no, consider installing GNU libiconv"
 
19185
    am_cv_lib_iconv=no
 
19186
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
19187
/* end confdefs.h.  */
 
19188
#include <stdlib.h>
 
19189
#include <iconv.h>
 
19190
int
 
19191
main ()
 
19192
{
 
19193
iconv_t cd = iconv_open("","");
 
19194
       iconv(cd,NULL,NULL,NULL,NULL);
 
19195
       iconv_close(cd);
 
19196
  ;
 
19197
  return 0;
 
19198
}
 
19199
_ACEOF
 
19200
if ac_fn_c_try_link "$LINENO"; then :
 
19201
  am_cv_func_iconv=yes
 
19202
fi
 
19203
rm -f core conftest.err conftest.$ac_objext \
 
19204
    conftest$ac_exeext conftest.$ac_ext
 
19205
    if test "$am_cv_func_iconv" != yes; then
 
19206
      am_save_LIBS="$LIBS"
 
19207
      LIBS="$LIBS $LIBICONV"
 
19208
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
19209
/* end confdefs.h.  */
 
19210
#include <stdlib.h>
 
19211
#include <iconv.h>
 
19212
int
 
19213
main ()
 
19214
{
 
19215
iconv_t cd = iconv_open("","");
 
19216
         iconv(cd,NULL,NULL,NULL,NULL);
 
19217
         iconv_close(cd);
 
19218
  ;
 
19219
  return 0;
 
19220
}
 
19221
_ACEOF
 
19222
if ac_fn_c_try_link "$LINENO"; then :
 
19223
  am_cv_lib_iconv=yes
 
19224
        am_cv_func_iconv=yes
 
19225
fi
 
19226
rm -f core conftest.err conftest.$ac_objext \
 
19227
    conftest$ac_exeext conftest.$ac_ext
 
19228
      LIBS="$am_save_LIBS"
 
19229
    fi
 
19230
 
 
19231
fi
 
19232
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
 
19233
$as_echo "$am_cv_func_iconv" >&6; }
 
19234
  if test "$am_cv_func_iconv" = yes; then
 
19235
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
 
19236
$as_echo_n "checking for working iconv... " >&6; }
 
19237
if ${am_cv_func_iconv_works+:} false; then :
 
19238
  $as_echo_n "(cached) " >&6
 
19239
else
 
19240
 
 
19241
            am_save_LIBS="$LIBS"
 
19242
      if test $am_cv_lib_iconv = yes; then
 
19243
        LIBS="$LIBS $LIBICONV"
 
19244
      fi
 
19245
      if test "$cross_compiling" = yes; then :
 
19246
  case "$host_os" in
 
19247
           aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
 
19248
           *)            am_cv_func_iconv_works="guessing yes" ;;
 
19249
         esac
 
19250
else
 
19251
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
19252
/* end confdefs.h.  */
 
19253
 
 
19254
#include <iconv.h>
 
19255
#include <string.h>
 
19256
int main ()
 
19257
{
 
19258
  /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
 
19259
     returns.  */
 
19260
  {
 
19261
    iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
 
19262
    if (cd_utf8_to_88591 != (iconv_t)(-1))
 
19263
      {
 
19264
        static const char input[] = "\342\202\254"; /* EURO SIGN */
 
19265
        char buf[10];
 
19266
        const char *inptr = input;
 
19267
        size_t inbytesleft = strlen (input);
 
19268
        char *outptr = buf;
 
19269
        size_t outbytesleft = sizeof (buf);
 
19270
        size_t res = iconv (cd_utf8_to_88591,
 
19271
                            (char **) &inptr, &inbytesleft,
 
19272
                            &outptr, &outbytesleft);
 
19273
        if (res == 0)
 
19274
          return 1;
 
19275
      }
 
19276
  }
 
19277
  /* Test against Solaris 10 bug: Failures are not distinguishable from
 
19278
     successful returns.  */
 
19279
  {
 
19280
    iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
 
19281
    if (cd_ascii_to_88591 != (iconv_t)(-1))
 
19282
      {
 
19283
        static const char input[] = "\263";
 
19284
        char buf[10];
 
19285
        const char *inptr = input;
 
19286
        size_t inbytesleft = strlen (input);
 
19287
        char *outptr = buf;
 
19288
        size_t outbytesleft = sizeof (buf);
 
19289
        size_t res = iconv (cd_ascii_to_88591,
 
19290
                            (char **) &inptr, &inbytesleft,
 
19291
                            &outptr, &outbytesleft);
 
19292
        if (res == 0)
 
19293
          return 1;
 
19294
      }
 
19295
  }
 
19296
#if 0 /* This bug could be worked around by the caller.  */
 
19297
  /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
 
19298
  {
 
19299
    iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
 
19300
    if (cd_88591_to_utf8 != (iconv_t)(-1))
 
19301
      {
 
19302
        static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
 
19303
        char buf[50];
 
19304
        const char *inptr = input;
 
19305
        size_t inbytesleft = strlen (input);
 
19306
        char *outptr = buf;
 
19307
        size_t outbytesleft = sizeof (buf);
 
19308
        size_t res = iconv (cd_88591_to_utf8,
 
19309
                            (char **) &inptr, &inbytesleft,
 
19310
                            &outptr, &outbytesleft);
 
19311
        if ((int)res > 0)
 
19312
          return 1;
 
19313
      }
 
19314
  }
 
19315
#endif
 
19316
  /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
 
19317
     provided.  */
 
19318
  if (/* Try standardized names.  */
 
19319
      iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
 
19320
      /* Try IRIX, OSF/1 names.  */
 
19321
      && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
 
19322
      /* Try AIX names.  */
 
19323
      && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
 
19324
      /* Try HP-UX names.  */
 
19325
      && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
 
19326
    return 1;
 
19327
  return 0;
 
19328
}
 
19329
_ACEOF
 
19330
if ac_fn_c_try_run "$LINENO"; then :
 
19331
  am_cv_func_iconv_works=yes
 
19332
else
 
19333
  am_cv_func_iconv_works=no
 
19334
fi
 
19335
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
19336
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
19337
fi
 
19338
 
 
19339
      LIBS="$am_save_LIBS"
 
19340
 
 
19341
fi
 
19342
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
 
19343
$as_echo "$am_cv_func_iconv_works" >&6; }
 
19344
    case "$am_cv_func_iconv_works" in
 
19345
      *no) am_func_iconv=no am_cv_lib_iconv=no ;;
 
19346
      *)   am_func_iconv=yes ;;
 
19347
    esac
 
19348
  else
 
19349
    am_func_iconv=no am_cv_lib_iconv=no
 
19350
  fi
 
19351
  if test "$am_func_iconv" = yes; then
 
19352
 
 
19353
$as_echo "#define HAVE_ICONV 1" >>confdefs.h
 
19354
 
 
19355
  fi
 
19356
  if test "$am_cv_lib_iconv" = yes; then
 
19357
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
 
19358
$as_echo_n "checking how to link with libiconv... " >&6; }
 
19359
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
 
19360
$as_echo "$LIBICONV" >&6; }
 
19361
  else
 
19362
            CPPFLAGS="$am_save_CPPFLAGS"
 
19363
    LIBICONV=
 
19364
    LTLIBICONV=
 
19365
  fi
 
19366
 
 
19367
 
 
19368
 
 
19369
 
 
19370
 
 
19371
 
 
19372
 
 
19373
 
 
19374
 
 
19375
 
 
19376
 
 
19377
    use_additional=yes
 
19378
 
 
19379
  acl_save_prefix="$prefix"
 
19380
  prefix="$acl_final_prefix"
 
19381
  acl_save_exec_prefix="$exec_prefix"
 
19382
  exec_prefix="$acl_final_exec_prefix"
 
19383
 
 
19384
    eval additional_includedir=\"$includedir\"
 
19385
    eval additional_libdir=\"$libdir\"
 
19386
 
 
19387
  exec_prefix="$acl_save_exec_prefix"
 
19388
  prefix="$acl_save_prefix"
 
19389
 
 
19390
 
 
19391
# Check whether --with-libintl-prefix was given.
 
19392
if test "${with_libintl_prefix+set}" = set; then :
 
19393
  withval=$with_libintl_prefix;
 
19394
    if test "X$withval" = "Xno"; then
 
19395
      use_additional=no
 
19396
    else
 
19397
      if test "X$withval" = "X"; then
 
19398
 
 
19399
  acl_save_prefix="$prefix"
 
19400
  prefix="$acl_final_prefix"
 
19401
  acl_save_exec_prefix="$exec_prefix"
 
19402
  exec_prefix="$acl_final_exec_prefix"
 
19403
 
 
19404
          eval additional_includedir=\"$includedir\"
 
19405
          eval additional_libdir=\"$libdir\"
 
19406
 
 
19407
  exec_prefix="$acl_save_exec_prefix"
 
19408
  prefix="$acl_save_prefix"
 
19409
 
 
19410
      else
 
19411
        additional_includedir="$withval/include"
 
19412
        additional_libdir="$withval/$acl_libdirstem"
 
19413
        if test "$acl_libdirstem2" != "$acl_libdirstem" \
 
19414
           && ! test -d "$withval/$acl_libdirstem"; then
 
19415
          additional_libdir="$withval/$acl_libdirstem2"
 
19416
        fi
 
19417
      fi
 
19418
    fi
 
19419
 
 
19420
fi
 
19421
 
 
19422
      LIBINTL=
 
19423
  LTLIBINTL=
 
19424
  INCINTL=
 
19425
  LIBINTL_PREFIX=
 
19426
      HAVE_LIBINTL=
 
19427
  rpathdirs=
 
19428
  ltrpathdirs=
 
19429
  names_already_handled=
 
19430
  names_next_round='intl '
 
19431
  while test -n "$names_next_round"; do
 
19432
    names_this_round="$names_next_round"
 
19433
    names_next_round=
 
19434
    for name in $names_this_round; do
 
19435
      already_handled=
 
19436
      for n in $names_already_handled; do
 
19437
        if test "$n" = "$name"; then
 
19438
          already_handled=yes
 
19439
          break
 
19440
        fi
 
19441
      done
 
19442
      if test -z "$already_handled"; then
 
19443
        names_already_handled="$names_already_handled $name"
 
19444
                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
 
19445
        eval value=\"\$HAVE_LIB$uppername\"
 
19446
        if test -n "$value"; then
 
19447
          if test "$value" = yes; then
 
19448
            eval value=\"\$LIB$uppername\"
 
19449
            test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
 
19450
            eval value=\"\$LTLIB$uppername\"
 
19451
            test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
 
19452
          else
 
19453
                                    :
 
19454
          fi
 
19455
        else
 
19456
                              found_dir=
 
19457
          found_la=
 
19458
          found_so=
 
19459
          found_a=
 
19460
          eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
 
19461
          if test -n "$acl_shlibext"; then
 
19462
            shrext=".$acl_shlibext"             # typically: shrext=.so
 
19463
          else
 
19464
            shrext=
 
19465
          fi
 
19466
          if test $use_additional = yes; then
 
19467
            dir="$additional_libdir"
 
19468
                                    if test -n "$acl_shlibext"; then
 
19469
              if test -f "$dir/$libname$shrext"; then
 
19470
                found_dir="$dir"
 
19471
                found_so="$dir/$libname$shrext"
 
19472
              else
 
19473
                if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
 
19474
                  ver=`(cd "$dir" && \
 
19475
                        for f in "$libname$shrext".*; do echo "$f"; done \
 
19476
                        | sed -e "s,^$libname$shrext\\\\.,," \
 
19477
                        | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
 
19478
                        | sed 1q ) 2>/dev/null`
 
19479
                  if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
 
19480
                    found_dir="$dir"
 
19481
                    found_so="$dir/$libname$shrext.$ver"
 
19482
                  fi
 
19483
                else
 
19484
                  eval library_names=\"$acl_library_names_spec\"
 
19485
                  for f in $library_names; do
 
19486
                    if test -f "$dir/$f"; then
 
19487
                      found_dir="$dir"
 
19488
                      found_so="$dir/$f"
 
19489
                      break
 
19490
                    fi
 
19491
                  done
 
19492
                fi
 
19493
              fi
 
19494
            fi
 
19495
                        if test "X$found_dir" = "X"; then
 
19496
              if test -f "$dir/$libname.$acl_libext"; then
 
19497
                found_dir="$dir"
 
19498
                found_a="$dir/$libname.$acl_libext"
 
19499
              fi
 
19500
            fi
 
19501
            if test "X$found_dir" != "X"; then
 
19502
              if test -f "$dir/$libname.la"; then
 
19503
                found_la="$dir/$libname.la"
 
19504
              fi
 
19505
            fi
 
19506
          fi
 
19507
          if test "X$found_dir" = "X"; then
 
19508
            for x in $LDFLAGS $LTLIBINTL; do
 
19509
 
 
19510
  acl_save_prefix="$prefix"
 
19511
  prefix="$acl_final_prefix"
 
19512
  acl_save_exec_prefix="$exec_prefix"
 
19513
  exec_prefix="$acl_final_exec_prefix"
 
19514
  eval x=\"$x\"
 
19515
  exec_prefix="$acl_save_exec_prefix"
 
19516
  prefix="$acl_save_prefix"
 
19517
 
 
19518
              case "$x" in
 
19519
                -L*)
 
19520
                  dir=`echo "X$x" | sed -e 's/^X-L//'`
 
19521
                                    if test -n "$acl_shlibext"; then
 
19522
                    if test -f "$dir/$libname$shrext"; then
 
19523
                      found_dir="$dir"
 
19524
                      found_so="$dir/$libname$shrext"
 
19525
                    else
 
19526
                      if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
 
19527
                        ver=`(cd "$dir" && \
 
19528
                              for f in "$libname$shrext".*; do echo "$f"; done \
 
19529
                              | sed -e "s,^$libname$shrext\\\\.,," \
 
19530
                              | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
 
19531
                              | sed 1q ) 2>/dev/null`
 
19532
                        if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
 
19533
                          found_dir="$dir"
 
19534
                          found_so="$dir/$libname$shrext.$ver"
 
19535
                        fi
 
19536
                      else
 
19537
                        eval library_names=\"$acl_library_names_spec\"
 
19538
                        for f in $library_names; do
 
19539
                          if test -f "$dir/$f"; then
 
19540
                            found_dir="$dir"
 
19541
                            found_so="$dir/$f"
 
19542
                            break
 
19543
                          fi
 
19544
                        done
 
19545
                      fi
 
19546
                    fi
 
19547
                  fi
 
19548
                                    if test "X$found_dir" = "X"; then
 
19549
                    if test -f "$dir/$libname.$acl_libext"; then
 
19550
                      found_dir="$dir"
 
19551
                      found_a="$dir/$libname.$acl_libext"
 
19552
                    fi
 
19553
                  fi
 
19554
                  if test "X$found_dir" != "X"; then
 
19555
                    if test -f "$dir/$libname.la"; then
 
19556
                      found_la="$dir/$libname.la"
 
19557
                    fi
 
19558
                  fi
 
19559
                  ;;
 
19560
              esac
 
19561
              if test "X$found_dir" != "X"; then
 
19562
                break
 
19563
              fi
 
19564
            done
 
19565
          fi
 
19566
          if test "X$found_dir" != "X"; then
 
19567
                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
 
19568
            if test "X$found_so" != "X"; then
 
19569
                                                        if test "$enable_rpath" = no \
 
19570
                 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
 
19571
                 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
 
19572
                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
 
19573
              else
 
19574
                                                                                haveit=
 
19575
                for x in $ltrpathdirs; do
 
19576
                  if test "X$x" = "X$found_dir"; then
 
19577
                    haveit=yes
 
19578
                    break
 
19579
                  fi
 
19580
                done
 
19581
                if test -z "$haveit"; then
 
19582
                  ltrpathdirs="$ltrpathdirs $found_dir"
 
19583
                fi
 
19584
                                if test "$acl_hardcode_direct" = yes; then
 
19585
                                                      LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
 
19586
                else
 
19587
                  if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
 
19588
                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
 
19589
                                                            haveit=
 
19590
                    for x in $rpathdirs; do
 
19591
                      if test "X$x" = "X$found_dir"; then
 
19592
                        haveit=yes
 
19593
                        break
 
19594
                      fi
 
19595
                    done
 
19596
                    if test -z "$haveit"; then
 
19597
                      rpathdirs="$rpathdirs $found_dir"
 
19598
                    fi
 
19599
                  else
 
19600
                                                                                haveit=
 
19601
                    for x in $LDFLAGS $LIBINTL; do
 
19602
 
 
19603
  acl_save_prefix="$prefix"
 
19604
  prefix="$acl_final_prefix"
 
19605
  acl_save_exec_prefix="$exec_prefix"
 
19606
  exec_prefix="$acl_final_exec_prefix"
 
19607
  eval x=\"$x\"
 
19608
  exec_prefix="$acl_save_exec_prefix"
 
19609
  prefix="$acl_save_prefix"
 
19610
 
 
19611
                      if test "X$x" = "X-L$found_dir"; then
 
19612
                        haveit=yes
 
19613
                        break
 
19614
                      fi
 
19615
                    done
 
19616
                    if test -z "$haveit"; then
 
19617
                      LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
 
19618
                    fi
 
19619
                    if test "$acl_hardcode_minus_L" != no; then
 
19620
                                                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
 
19621
                    else
 
19622
                                                                                                                                                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
 
19623
                    fi
 
19624
                  fi
 
19625
                fi
 
19626
              fi
 
19627
            else
 
19628
              if test "X$found_a" != "X"; then
 
19629
                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
 
19630
              else
 
19631
                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
 
19632
              fi
 
19633
            fi
 
19634
                        additional_includedir=
 
19635
            case "$found_dir" in
 
19636
              */$acl_libdirstem | */$acl_libdirstem/)
 
19637
                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
 
19638
                if test "$name" = 'intl'; then
 
19639
                  LIBINTL_PREFIX="$basedir"
 
19640
                fi
 
19641
                additional_includedir="$basedir/include"
 
19642
                ;;
 
19643
              */$acl_libdirstem2 | */$acl_libdirstem2/)
 
19644
                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
 
19645
                if test "$name" = 'intl'; then
 
19646
                  LIBINTL_PREFIX="$basedir"
 
19647
                fi
 
19648
                additional_includedir="$basedir/include"
 
19649
                ;;
 
19650
            esac
 
19651
            if test "X$additional_includedir" != "X"; then
 
19652
                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
 
19653
                haveit=
 
19654
                if test "X$additional_includedir" = "X/usr/local/include"; then
 
19655
                  if test -n "$GCC"; then
 
19656
                    case $host_os in
 
19657
                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
 
19658
                    esac
 
19659
                  fi
 
19660
                fi
 
19661
                if test -z "$haveit"; then
 
19662
                  for x in $CPPFLAGS $INCINTL; do
 
19663
 
 
19664
  acl_save_prefix="$prefix"
 
19665
  prefix="$acl_final_prefix"
 
19666
  acl_save_exec_prefix="$exec_prefix"
 
19667
  exec_prefix="$acl_final_exec_prefix"
 
19668
  eval x=\"$x\"
 
19669
  exec_prefix="$acl_save_exec_prefix"
 
19670
  prefix="$acl_save_prefix"
 
19671
 
 
19672
                    if test "X$x" = "X-I$additional_includedir"; then
 
19673
                      haveit=yes
 
19674
                      break
 
19675
                    fi
 
19676
                  done
 
19677
                  if test -z "$haveit"; then
 
19678
                    if test -d "$additional_includedir"; then
 
19679
                                            INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
 
19680
                    fi
 
19681
                  fi
 
19682
                fi
 
19683
              fi
 
19684
            fi
 
19685
                        if test -n "$found_la"; then
 
19686
                                                        save_libdir="$libdir"
 
19687
              case "$found_la" in
 
19688
                */* | *\\*) . "$found_la" ;;
 
19689
                *) . "./$found_la" ;;
 
19690
              esac
 
19691
              libdir="$save_libdir"
 
19692
                            for dep in $dependency_libs; do
 
19693
                case "$dep" in
 
19694
                  -L*)
 
19695
                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
 
19696
                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
 
19697
                       && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
 
19698
                      haveit=
 
19699
                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
 
19700
                         || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
 
19701
                        if test -n "$GCC"; then
 
19702
                          case $host_os in
 
19703
                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
 
19704
                          esac
 
19705
                        fi
 
19706
                      fi
 
19707
                      if test -z "$haveit"; then
 
19708
                        haveit=
 
19709
                        for x in $LDFLAGS $LIBINTL; do
 
19710
 
 
19711
  acl_save_prefix="$prefix"
 
19712
  prefix="$acl_final_prefix"
 
19713
  acl_save_exec_prefix="$exec_prefix"
 
19714
  exec_prefix="$acl_final_exec_prefix"
 
19715
  eval x=\"$x\"
 
19716
  exec_prefix="$acl_save_exec_prefix"
 
19717
  prefix="$acl_save_prefix"
 
19718
 
 
19719
                          if test "X$x" = "X-L$additional_libdir"; then
 
19720
                            haveit=yes
 
19721
                            break
 
19722
                          fi
 
19723
                        done
 
19724
                        if test -z "$haveit"; then
 
19725
                          if test -d "$additional_libdir"; then
 
19726
                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
 
19727
                          fi
 
19728
                        fi
 
19729
                        haveit=
 
19730
                        for x in $LDFLAGS $LTLIBINTL; do
 
19731
 
 
19732
  acl_save_prefix="$prefix"
 
19733
  prefix="$acl_final_prefix"
 
19734
  acl_save_exec_prefix="$exec_prefix"
 
19735
  exec_prefix="$acl_final_exec_prefix"
 
19736
  eval x=\"$x\"
 
19737
  exec_prefix="$acl_save_exec_prefix"
 
19738
  prefix="$acl_save_prefix"
 
19739
 
 
19740
                          if test "X$x" = "X-L$additional_libdir"; then
 
19741
                            haveit=yes
 
19742
                            break
 
19743
                          fi
 
19744
                        done
 
19745
                        if test -z "$haveit"; then
 
19746
                          if test -d "$additional_libdir"; then
 
19747
                                                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
 
19748
                          fi
 
19749
                        fi
 
19750
                      fi
 
19751
                    fi
 
19752
                    ;;
 
19753
                  -R*)
 
19754
                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
 
19755
                    if test "$enable_rpath" != no; then
 
19756
                                                                  haveit=
 
19757
                      for x in $rpathdirs; do
 
19758
                        if test "X$x" = "X$dir"; then
 
19759
                          haveit=yes
 
19760
                          break
 
19761
                        fi
 
19762
                      done
 
19763
                      if test -z "$haveit"; then
 
19764
                        rpathdirs="$rpathdirs $dir"
 
19765
                      fi
 
19766
                                                                  haveit=
 
19767
                      for x in $ltrpathdirs; do
 
19768
                        if test "X$x" = "X$dir"; then
 
19769
                          haveit=yes
 
19770
                          break
 
19771
                        fi
 
19772
                      done
 
19773
                      if test -z "$haveit"; then
 
19774
                        ltrpathdirs="$ltrpathdirs $dir"
 
19775
                      fi
 
19776
                    fi
 
19777
                    ;;
 
19778
                  -l*)
 
19779
                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
 
19780
                    ;;
 
19781
                  *.la)
 
19782
                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
 
19783
                    ;;
 
19784
                  *)
 
19785
                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
 
19786
                    LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
 
19787
                    ;;
 
19788
                esac
 
19789
              done
 
19790
            fi
 
19791
          else
 
19792
                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
 
19793
            LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
 
19794
          fi
 
19795
        fi
 
19796
      fi
 
19797
    done
 
19798
  done
 
19799
  if test "X$rpathdirs" != "X"; then
 
19800
    if test -n "$acl_hardcode_libdir_separator"; then
 
19801
                        alldirs=
 
19802
      for found_dir in $rpathdirs; do
 
19803
        alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
 
19804
      done
 
19805
            acl_save_libdir="$libdir"
 
19806
      libdir="$alldirs"
 
19807
      eval flag=\"$acl_hardcode_libdir_flag_spec\"
 
19808
      libdir="$acl_save_libdir"
 
19809
      LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
 
19810
    else
 
19811
            for found_dir in $rpathdirs; do
 
19812
        acl_save_libdir="$libdir"
 
19813
        libdir="$found_dir"
 
19814
        eval flag=\"$acl_hardcode_libdir_flag_spec\"
 
19815
        libdir="$acl_save_libdir"
 
19816
        LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
 
19817
      done
 
19818
    fi
 
19819
  fi
 
19820
  if test "X$ltrpathdirs" != "X"; then
 
19821
            for found_dir in $ltrpathdirs; do
 
19822
      LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
 
19823
    done
 
19824
  fi
 
19825
 
 
19826
 
 
19827
 
 
19828
 
 
19829
 
 
19830
 
 
19831
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
 
19832
$as_echo_n "checking for GNU gettext in libintl... " >&6; }
 
19833
if eval \${$gt_func_gnugettext_libintl+:} false; then :
 
19834
  $as_echo_n "(cached) " >&6
 
19835
else
 
19836
  gt_save_CPPFLAGS="$CPPFLAGS"
 
19837
            CPPFLAGS="$CPPFLAGS $INCINTL"
 
19838
            gt_save_LIBS="$LIBS"
 
19839
            LIBS="$LIBS $LIBINTL"
 
19840
                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
19841
/* end confdefs.h.  */
 
19842
#include <libintl.h>
 
19843
$gt_revision_test_code
 
19844
extern int _nl_msg_cat_cntr;
 
19845
extern
 
19846
#ifdef __cplusplus
 
19847
"C"
 
19848
#endif
 
19849
const char *_nl_expand_alias (const char *);
 
19850
int
 
19851
main ()
 
19852
{
 
19853
bindtextdomain ("", "");
 
19854
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
 
19855
  ;
 
19856
  return 0;
 
19857
}
 
19858
_ACEOF
 
19859
if ac_fn_c_try_link "$LINENO"; then :
 
19860
  eval "$gt_func_gnugettext_libintl=yes"
 
19861
else
 
19862
  eval "$gt_func_gnugettext_libintl=no"
 
19863
fi
 
19864
rm -f core conftest.err conftest.$ac_objext \
 
19865
    conftest$ac_exeext conftest.$ac_ext
 
19866
                        if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
 
19867
              LIBS="$LIBS $LIBICONV"
 
19868
              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
19869
/* end confdefs.h.  */
 
19870
#include <libintl.h>
 
19871
$gt_revision_test_code
 
19872
extern int _nl_msg_cat_cntr;
 
19873
extern
 
19874
#ifdef __cplusplus
 
19875
"C"
 
19876
#endif
 
19877
const char *_nl_expand_alias (const char *);
 
19878
int
 
19879
main ()
 
19880
{
 
19881
bindtextdomain ("", "");
 
19882
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
 
19883
  ;
 
19884
  return 0;
 
19885
}
 
19886
_ACEOF
 
19887
if ac_fn_c_try_link "$LINENO"; then :
 
19888
  LIBINTL="$LIBINTL $LIBICONV"
 
19889
                LTLIBINTL="$LTLIBINTL $LTLIBICONV"
 
19890
                eval "$gt_func_gnugettext_libintl=yes"
 
19891
 
 
19892
fi
 
19893
rm -f core conftest.err conftest.$ac_objext \
 
19894
    conftest$ac_exeext conftest.$ac_ext
 
19895
            fi
 
19896
            CPPFLAGS="$gt_save_CPPFLAGS"
 
19897
            LIBS="$gt_save_LIBS"
 
19898
fi
 
19899
eval ac_res=\$$gt_func_gnugettext_libintl
 
19900
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
19901
$as_echo "$ac_res" >&6; }
 
19902
        fi
 
19903
 
 
19904
                                        if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
 
19905
           || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
 
19906
                && test "$PACKAGE" != gettext-runtime \
 
19907
                && test "$PACKAGE" != gettext-tools; }; then
 
19908
          gt_use_preinstalled_gnugettext=yes
 
19909
        else
 
19910
                    LIBINTL=
 
19911
          LTLIBINTL=
 
19912
          INCINTL=
 
19913
        fi
 
19914
 
 
19915
 
 
19916
 
 
19917
    if test -n "$INTL_MACOSX_LIBS"; then
 
19918
      if test "$gt_use_preinstalled_gnugettext" = "yes" \
 
19919
         || test "$nls_cv_use_gnu_gettext" = "yes"; then
 
19920
                LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
 
19921
        LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
 
19922
      fi
 
19923
    fi
 
19924
 
 
19925
    if test "$gt_use_preinstalled_gnugettext" = "yes" \
 
19926
       || test "$nls_cv_use_gnu_gettext" = "yes"; then
 
19927
 
 
19928
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
 
19929
 
 
19930
    else
 
19931
      USE_NLS=no
 
19932
    fi
 
19933
  fi
 
19934
 
 
19935
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
 
19936
$as_echo_n "checking whether to use NLS... " >&6; }
 
19937
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
 
19938
$as_echo "$USE_NLS" >&6; }
 
19939
  if test "$USE_NLS" = "yes"; then
 
19940
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
 
19941
$as_echo_n "checking where the gettext function comes from... " >&6; }
 
19942
    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
 
19943
      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
 
19944
        gt_source="external libintl"
 
19945
      else
 
19946
        gt_source="libc"
 
19947
      fi
 
19948
    else
 
19949
      gt_source="included intl directory"
 
19950
    fi
 
19951
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
 
19952
$as_echo "$gt_source" >&6; }
 
19953
  fi
 
19954
 
 
19955
  if test "$USE_NLS" = "yes"; then
 
19956
 
 
19957
    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
 
19958
      if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
 
19959
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
 
19960
$as_echo_n "checking how to link with libintl... " >&6; }
 
19961
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
 
19962
$as_echo "$LIBINTL" >&6; }
 
19963
 
 
19964
  for element in $INCINTL; do
 
19965
    haveit=
 
19966
    for x in $CPPFLAGS; do
 
19967
 
 
19968
  acl_save_prefix="$prefix"
 
19969
  prefix="$acl_final_prefix"
 
19970
  acl_save_exec_prefix="$exec_prefix"
 
19971
  exec_prefix="$acl_final_exec_prefix"
 
19972
  eval x=\"$x\"
 
19973
  exec_prefix="$acl_save_exec_prefix"
 
19974
  prefix="$acl_save_prefix"
 
19975
 
 
19976
      if test "X$x" = "X$element"; then
 
19977
        haveit=yes
 
19978
        break
 
19979
      fi
 
19980
    done
 
19981
    if test -z "$haveit"; then
 
19982
      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
 
19983
    fi
 
19984
  done
 
19985
 
 
19986
      fi
 
19987
 
 
19988
 
 
19989
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
 
19990
 
 
19991
 
 
19992
$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
 
19993
 
 
19994
    fi
 
19995
 
 
19996
        POSUB=po
 
19997
  fi
 
19998
 
 
19999
 
 
20000
 
 
20001
    INTLLIBS="$LIBINTL"
 
20002
 
 
20003
 
 
20004
 
 
20005
 
 
20006
 
 
20007
 
 
20008
 
 
20009
GETTEXT_PACKAGE=rhythmbox
 
20010
 
 
20011
 
 
20012
cat >>confdefs.h <<_ACEOF
 
20013
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
 
20014
_ACEOF
 
20015
 
 
20016
 
 
20017
 if test x"$mkdir_p" = "x"; then
 
20018
  MKINSTALLDIRS="mkinstalldirs"
 
20019
fi
 
20020
 
 
20021
 
 
20022
# Check whether --enable-lirc was given.
 
20023
if test "${enable_lirc+set}" = set; then :
 
20024
  enableval=$enable_lirc;
 
20025
fi
 
20026
 
 
20027
with_lirc=no
 
20028
if test x"$enable_lirc" != xno; then
 
20029
        ac_fn_c_check_header_mongrel "$LINENO" "lirc/lirc_client.h" "ac_cv_header_lirc_lirc_client_h" "$ac_includes_default"
 
20030
if test "x$ac_cv_header_lirc_lirc_client_h" = xyes; then :
 
20031
  with_lirc=yes
 
20032
else
 
20033
  with_lirc=no
 
20034
fi
 
20035
 
 
20036
 
 
20037
        if test x"$with_lirc" = xyes; then
 
20038
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lirc_init in -llirc_client" >&5
 
20039
$as_echo_n "checking for lirc_init in -llirc_client... " >&6; }
 
20040
if ${ac_cv_lib_lirc_client_lirc_init+:} false; then :
 
20041
  $as_echo_n "(cached) " >&6
 
20042
else
 
20043
  ac_check_lib_save_LIBS=$LIBS
 
20044
LIBS="-llirc_client  $LIBS"
 
20045
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
20046
/* end confdefs.h.  */
 
20047
 
 
20048
/* Override any GCC internal prototype to avoid an error.
 
20049
   Use char because int might match the return type of a GCC
 
20050
   builtin and then its argument prototype would still apply.  */
 
20051
#ifdef __cplusplus
 
20052
extern "C"
 
20053
#endif
 
20054
char lirc_init ();
 
20055
int
 
20056
main ()
 
20057
{
 
20058
return lirc_init ();
 
20059
  ;
 
20060
  return 0;
 
20061
}
 
20062
_ACEOF
 
20063
if ac_fn_c_try_link "$LINENO"; then :
 
20064
  ac_cv_lib_lirc_client_lirc_init=yes
 
20065
else
 
20066
  ac_cv_lib_lirc_client_lirc_init=no
 
20067
fi
 
20068
rm -f core conftest.err conftest.$ac_objext \
 
20069
    conftest$ac_exeext conftest.$ac_ext
 
20070
LIBS=$ac_check_lib_save_LIBS
 
20071
fi
 
20072
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lirc_client_lirc_init" >&5
 
20073
$as_echo "$ac_cv_lib_lirc_client_lirc_init" >&6; }
 
20074
if test "x$ac_cv_lib_lirc_client_lirc_init" = xyes; then :
 
20075
  with_lirc=yes
 
20076
else
 
20077
  with_lirc=no
 
20078
fi
 
20079
 
 
20080
        fi
 
20081
        if test x"$with_lirc" = xno -a x"$enable_lirc" = xyes; then
 
20082
                as_fn_error $? "lirc explicitly requested but no support found" "$LINENO" 5
 
20083
        fi
 
20084
fi
 
20085
 if test x"$with_lirc" = xyes; then
 
20086
  WITH_LIRC_TRUE=
 
20087
  WITH_LIRC_FALSE='#'
 
20088
else
 
20089
  WITH_LIRC_TRUE='#'
 
20090
  WITH_LIRC_FALSE=
 
20091
fi
 
20092
 
 
20093
 
 
20094
have_webkit=no
 
20095
 
 
20096
# Check whether --with-webkit was given.
 
20097
if test "${with_webkit+set}" = set; then :
 
20098
  withval=$with_webkit;
 
20099
else
 
20100
  with_webkit=auto
 
20101
fi
 
20102
 
 
20103
if test "x$with_webkit" != xno; then
 
20104
 
 
20105
pkg_failed=no
 
20106
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
 
20107
$as_echo_n "checking for WEBKIT... " >&6; }
 
20108
 
 
20109
if test -n "$WEBKIT_CFLAGS"; then
 
20110
    pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
 
20111
 elif test -n "$PKG_CONFIG"; then
 
20112
    if test -n "$PKG_CONFIG" && \
 
20113
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkitgtk-3.0 >= \$WEBKIT_MIN_REQS\""; } >&5
 
20114
  ($PKG_CONFIG --exists --print-errors "webkitgtk-3.0 >= $WEBKIT_MIN_REQS") 2>&5
 
20115
  ac_status=$?
 
20116
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
20117
  test $ac_status = 0; }; then
 
20118
  pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "webkitgtk-3.0 >= $WEBKIT_MIN_REQS" 2>/dev/null`
 
20119
                      test "x$?" != "x0" && pkg_failed=yes
 
20120
else
 
20121
  pkg_failed=yes
 
20122
fi
 
20123
 else
 
20124
    pkg_failed=untried
 
20125
fi
 
20126
if test -n "$WEBKIT_LIBS"; then
 
20127
    pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
 
20128
 elif test -n "$PKG_CONFIG"; then
 
20129
    if test -n "$PKG_CONFIG" && \
 
20130
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkitgtk-3.0 >= \$WEBKIT_MIN_REQS\""; } >&5
 
20131
  ($PKG_CONFIG --exists --print-errors "webkitgtk-3.0 >= $WEBKIT_MIN_REQS") 2>&5
 
20132
  ac_status=$?
 
20133
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
20134
  test $ac_status = 0; }; then
 
20135
  pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "webkitgtk-3.0 >= $WEBKIT_MIN_REQS" 2>/dev/null`
 
20136
                      test "x$?" != "x0" && pkg_failed=yes
 
20137
else
 
20138
  pkg_failed=yes
 
20139
fi
 
20140
 else
 
20141
    pkg_failed=untried
 
20142
fi
 
20143
 
 
20144
 
 
20145
 
 
20146
if test $pkg_failed = yes; then
 
20147
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
20148
$as_echo "no" >&6; }
 
20149
 
 
20150
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
20151
        _pkg_short_errors_supported=yes
 
20152
else
 
20153
        _pkg_short_errors_supported=no
 
20154
fi
 
20155
        if test $_pkg_short_errors_supported = yes; then
 
20156
                WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "webkitgtk-3.0 >= $WEBKIT_MIN_REQS" 2>&1`
 
20157
        else
 
20158
                WEBKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "webkitgtk-3.0 >= $WEBKIT_MIN_REQS" 2>&1`
 
20159
        fi
 
20160
        # Put the nasty error message in config.log where it belongs
 
20161
        echo "$WEBKIT_PKG_ERRORS" >&5
 
20162
 
 
20163
        have_webkit=no
 
20164
elif test $pkg_failed = untried; then
 
20165
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
20166
$as_echo "no" >&6; }
 
20167
        have_webkit=no
 
20168
else
 
20169
        WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
 
20170
        WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
 
20171
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
20172
$as_echo "yes" >&6; }
 
20173
        have_webkit=yes
 
20174
fi
 
20175
        if test "x$have_webkit" = "xno" -a "x$with_webkit" = "xyes"; then
 
20176
                as_fn_error $? "WebKit support explicitly requested, but WebKit could not be found" "$LINENO" 5
 
20177
        fi
 
20178
        if test "x$have_webkit" = "xyes"; then
 
20179
 
 
20180
$as_echo "#define WITH_WEBKIT 1" >>confdefs.h
 
20181
 
 
20182
        fi
 
20183
fi
 
20184
 if test x"$have_webkit" = xyes; then
 
20185
  WITH_WEBKIT_TRUE=
 
20186
  WITH_WEBKIT_FALSE='#'
 
20187
else
 
20188
  WITH_WEBKIT_TRUE='#'
 
20189
  WITH_WEBKIT_FALSE=
 
20190
fi
 
20191
 
 
20192
 
 
20193
 
 
20194
# Check whether --enable-uninstalled-build was given.
 
20195
if test "${enable_uninstalled_build+set}" = set; then :
 
20196
  enableval=$enable_uninstalled_build; enable_uninstalled=yes
 
20197
fi
 
20198
 
 
20199
if test x"$enable_uninstalled" = xyes; then
 
20200
 
 
20201
$as_echo "#define USE_UNINSTALLED_DIRS 1" >>confdefs.h
 
20202
 
 
20203
fi
 
20204
ROOT_UNINSTALLED_DIR="`pwd`"
 
20205
 
 
20206
cat >>confdefs.h <<_ACEOF
 
20207
#define SHARE_UNINSTALLED_DIR "`pwd`/$srcdir/data"
 
20208
_ACEOF
 
20209
 
 
20210
 
 
20211
cat >>confdefs.h <<_ACEOF
 
20212
#define SHARE_UNINSTALLED_BUILDDIR "`pwd`/data"
 
20213
_ACEOF
 
20214
 
 
20215
 
 
20216
cat >>confdefs.h <<_ACEOF
 
20217
#define METADATA_UNINSTALLED_DIR "`pwd`/metadata"
 
20218
_ACEOF
 
20219
 
 
20220
 
 
20221
 
 
20222
 
 
20223
 
 
20224
# Check whether --enable-more-warnings was given.
 
20225
if test "${enable_more_warnings+set}" = set; then :
 
20226
  enableval=$enable_more_warnings; set_more_warnings="$enableval"
 
20227
else
 
20228
 
 
20229
if test -d "$srcdir/.svn" || test -d "$srcdir/{arch}" || test -d "$srcdir/CVS" || test -d "$srcdir/_darcs" || test -d "$srcdir/.git"; then
 
20230
        set_more_warnings=yes
 
20231
else
 
20232
        set_more_warnings=no
 
20233
fi
 
20234
 
 
20235
fi
 
20236
 
 
20237
RHYTHMBOX_CFLAGS_NOWARN=$RHYTHMBOX_CFLAGS
 
20238
 
 
20239
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for more warnings" >&5
 
20240
$as_echo_n "checking for more warnings... " >&6; }
 
20241
if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then
 
20242
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
20243
$as_echo "yes" >&6; }
 
20244
        WARN_CFLAGS="\
 
20245
        -Wcomment -Wformat -Wnonnull -Wimplicit-int -Wimplicit \
 
20246
        -Wmain -Wmissing-braces -Wparentheses -Wsequence-point \
 
20247
        -Wreturn-type -Wswitch -Wtrigraphs -Wunused-function \
 
20248
        -Wunused-label -Wunused-value \
 
20249
        -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes \
 
20250
        -Wnested-externs -Wpointer-arith \
 
20251
        -Wcast-align -Wformat-security -Wall \
 
20252
        -Werror -Wno-deprecated-declarations -std=gnu89"
 
20253
 
 
20254
        if echo "$CFLAGS" | grep -q -- '-O' && echo "$CFLAGS" | grep -q -v -- '-O0'; then
 
20255
                WARN_CFLAGS="-Wuninitialized $WARN_CFLAGS"
 
20256
        fi
 
20257
 
 
20258
        for option in $WARN_CFLAGS; do
 
20259
                SAVE_CFLAGS="$CFLAGS"
 
20260
                CFLAGS="$CFLAGS $option"
 
20261
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands $option" >&5
 
20262
$as_echo_n "checking whether gcc understands $option... " >&6; }
 
20263
                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
20264
/* end confdefs.h.  */
 
20265
 
 
20266
int
 
20267
main ()
 
20268
{
 
20269
 
 
20270
  ;
 
20271
  return 0;
 
20272
}
 
20273
_ACEOF
 
20274
if ac_fn_c_try_compile "$LINENO"; then :
 
20275
  has_option=yes
 
20276
else
 
20277
  has_option=no
 
20278
fi
 
20279
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20280
                if test x$has_option = xyes; then
 
20281
                        RHYTHMBOX_CFLAGS="$RHYTHMBOX_CFLAGS $option"
 
20282
                fi
 
20283
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5
 
20284
$as_echo "$has_option" >&6; }
 
20285
                CFLAGS="$SAVE_CFLAGS"
 
20286
                unset has_option
 
20287
                unset SAVE_CFLAGS
 
20288
        done
 
20289
        unset option
 
20290
 
 
20291
 
 
20292
        SAVE_CFLAGS="$CFLAGS"
 
20293
        CFLAGS="$CFLAGS -Wno-error"
 
20294
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
20295
/* end confdefs.h.  */
 
20296
 
 
20297
int
 
20298
main ()
 
20299
{
 
20300
 
 
20301
  ;
 
20302
  return 0;
 
20303
}
 
20304
_ACEOF
 
20305
if ac_fn_c_try_compile "$LINENO"; then :
 
20306
  WNOERROR_CFLAGS="-Wno-error"
 
20307
else
 
20308
  WNOERROR_CFLAGS=""
 
20309
fi
 
20310
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20311
 
 
20312
        CFLAGS="$SAVE_CFLAGS"
 
20313
        unset SAVE_CFLAGS
 
20314
        unset has_wnoerror
 
20315
 
 
20316
                else
 
20317
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
20318
$as_echo "no" >&6; }
 
20319
fi
 
20320
 
 
20321
 
 
20322
$as_echo "#define GLIB_VERSION_MIN_REQUIRED GLIB_VERSION_2_34" >>confdefs.h
 
20323
 
 
20324
 
 
20325
$as_echo "#define GLIB_VERSION_MAX_ALLOWED GLIB_VERSION_2_34" >>confdefs.h
 
20326
 
 
20327
 
 
20328
$as_echo "#define GDK_VERSION_MIN_REQUIRED GDK_VERSION_3_6" >>confdefs.h
 
20329
 
 
20330
 
 
20331
$as_echo "#define GDK_VERSION_MAX_ALLOWED GDK_VERSION_3_6" >>confdefs.h
 
20332
 
 
20333
 
 
20334
$as_echo "#define CLUTTER_VERSION_MIN_REQUIRED CLUTTER_VERSION_1_8" >>confdefs.h
 
20335
 
 
20336
 
 
20337
$as_echo "#define CLUTTER_VERSION_MAX_ALLOWED CLUTTER_VERSION_1_8" >>confdefs.h
 
20338
 
 
20339
 
 
20340
FLAGS="-fno-strict-aliasing"
 
20341
save_CFLAGS="$CFLAGS"
 
20342
CFLAGS="$CFLAGS $FLAGS"
 
20343
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands $FLAGS" >&5
 
20344
$as_echo_n "checking whether $CC understands $FLAGS... " >&6; }
 
20345
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
20346
/* end confdefs.h.  */
 
20347
 
 
20348
int
 
20349
main ()
 
20350
{
 
20351
 
 
20352
  ;
 
20353
  return 0;
 
20354
}
 
20355
_ACEOF
 
20356
if ac_fn_c_try_compile "$LINENO"; then :
 
20357
  compiler_has_option=yes
 
20358
else
 
20359
  compiler_has_option=no
 
20360
fi
 
20361
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20362
CFLAGS="$save_CFLAGS"
 
20363
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $compiler_has_option" >&5
 
20364
$as_echo "$compiler_has_option" >&6; }
 
20365
if test $compiler_has_option = yes; then
 
20366
        NO_STRICT_ALIASING_CFLAGS="$FLAGS"
 
20367
fi
 
20368
 
 
20369
 
 
20370
 
 
20371
 
 
20372
 
 
20373
            # Extract the first word of "gtkdoc-check", so it can be a program name with args.
 
20374
set dummy gtkdoc-check; ac_word=$2
 
20375
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
20376
$as_echo_n "checking for $ac_word... " >&6; }
 
20377
if ${ac_cv_prog_GTKDOC_CHECK+:} false; then :
 
20378
  $as_echo_n "(cached) " >&6
 
20379
else
 
20380
  if test -n "$GTKDOC_CHECK"; then
 
20381
  ac_cv_prog_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test.
 
20382
else
 
20383
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
20384
for as_dir in $PATH
 
20385
do
 
20386
  IFS=$as_save_IFS
 
20387
  test -z "$as_dir" && as_dir=.
 
20388
    for ac_exec_ext in '' $ac_executable_extensions; do
 
20389
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
20390
    ac_cv_prog_GTKDOC_CHECK="gtkdoc-check.test"
 
20391
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
20392
    break 2
 
20393
  fi
 
20394
done
 
20395
  done
 
20396
IFS=$as_save_IFS
 
20397
 
 
20398
fi
 
20399
fi
 
20400
GTKDOC_CHECK=$ac_cv_prog_GTKDOC_CHECK
 
20401
if test -n "$GTKDOC_CHECK"; then
 
20402
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
 
20403
$as_echo "$GTKDOC_CHECK" >&6; }
 
20404
else
 
20405
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
20406
$as_echo "no" >&6; }
 
20407
fi
 
20408
 
 
20409
 
 
20410
  # Extract the first word of "gtkdoc-check", so it can be a program name with args.
 
20411
set dummy gtkdoc-check; ac_word=$2
 
20412
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
20413
$as_echo_n "checking for $ac_word... " >&6; }
 
20414
if ${ac_cv_path_GTKDOC_CHECK_PATH+:} false; then :
 
20415
  $as_echo_n "(cached) " >&6
 
20416
else
 
20417
  case $GTKDOC_CHECK_PATH in
 
20418
  [\\/]* | ?:[\\/]*)
 
20419
  ac_cv_path_GTKDOC_CHECK_PATH="$GTKDOC_CHECK_PATH" # Let the user override the test with a path.
 
20420
  ;;
 
20421
  *)
 
20422
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
20423
for as_dir in $PATH
 
20424
do
 
20425
  IFS=$as_save_IFS
 
20426
  test -z "$as_dir" && as_dir=.
 
20427
    for ac_exec_ext in '' $ac_executable_extensions; do
 
20428
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
20429
    ac_cv_path_GTKDOC_CHECK_PATH="$as_dir/$ac_word$ac_exec_ext"
 
20430
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
20431
    break 2
 
20432
  fi
 
20433
done
 
20434
  done
 
20435
IFS=$as_save_IFS
 
20436
 
 
20437
  ;;
 
20438
esac
 
20439
fi
 
20440
GTKDOC_CHECK_PATH=$ac_cv_path_GTKDOC_CHECK_PATH
 
20441
if test -n "$GTKDOC_CHECK_PATH"; then
 
20442
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK_PATH" >&5
 
20443
$as_echo "$GTKDOC_CHECK_PATH" >&6; }
 
20444
else
 
20445
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
20446
$as_echo "no" >&6; }
 
20447
fi
 
20448
 
 
20449
 
 
20450
  for ac_prog in gtkdoc-rebase
 
20451
do
 
20452
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
20453
set dummy $ac_prog; ac_word=$2
 
20454
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
20455
$as_echo_n "checking for $ac_word... " >&6; }
 
20456
if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
 
20457
  $as_echo_n "(cached) " >&6
 
20458
else
 
20459
  case $GTKDOC_REBASE in
 
20460
  [\\/]* | ?:[\\/]*)
 
20461
  ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
 
20462
  ;;
 
20463
  *)
 
20464
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
20465
for as_dir in $PATH
 
20466
do
 
20467
  IFS=$as_save_IFS
 
20468
  test -z "$as_dir" && as_dir=.
 
20469
    for ac_exec_ext in '' $ac_executable_extensions; do
 
20470
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
20471
    ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
 
20472
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
20473
    break 2
 
20474
  fi
 
20475
done
 
20476
  done
 
20477
IFS=$as_save_IFS
 
20478
 
 
20479
  ;;
 
20480
esac
 
20481
fi
 
20482
GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
 
20483
if test -n "$GTKDOC_REBASE"; then
 
20484
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
 
20485
$as_echo "$GTKDOC_REBASE" >&6; }
 
20486
else
 
20487
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
20488
$as_echo "no" >&6; }
 
20489
fi
 
20490
 
 
20491
 
 
20492
  test -n "$GTKDOC_REBASE" && break
 
20493
done
 
20494
test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
 
20495
 
 
20496
  # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
 
20497
set dummy gtkdoc-mkpdf; ac_word=$2
 
20498
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
20499
$as_echo_n "checking for $ac_word... " >&6; }
 
20500
if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
 
20501
  $as_echo_n "(cached) " >&6
 
20502
else
 
20503
  case $GTKDOC_MKPDF in
 
20504
  [\\/]* | ?:[\\/]*)
 
20505
  ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
 
20506
  ;;
 
20507
  *)
 
20508
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
20509
for as_dir in $PATH
 
20510
do
 
20511
  IFS=$as_save_IFS
 
20512
  test -z "$as_dir" && as_dir=.
 
20513
    for ac_exec_ext in '' $ac_executable_extensions; do
 
20514
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
20515
    ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
 
20516
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
20517
    break 2
 
20518
  fi
 
20519
done
 
20520
  done
 
20521
IFS=$as_save_IFS
 
20522
 
 
20523
  ;;
 
20524
esac
 
20525
fi
 
20526
GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
 
20527
if test -n "$GTKDOC_MKPDF"; then
 
20528
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
 
20529
$as_echo "$GTKDOC_MKPDF" >&6; }
 
20530
else
 
20531
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
20532
$as_echo "no" >&6; }
 
20533
fi
 
20534
 
 
20535
 
 
20536
 
 
20537
 
 
20538
# Check whether --with-html-dir was given.
 
20539
if test "${with_html_dir+set}" = set; then :
 
20540
  withval=$with_html_dir;
 
20541
else
 
20542
  with_html_dir='${datadir}/gtk-doc/html'
 
20543
fi
 
20544
 
 
20545
  HTML_DIR="$with_html_dir"
 
20546
 
 
20547
 
 
20548
    # Check whether --enable-gtk-doc was given.
 
20549
if test "${enable_gtk_doc+set}" = set; then :
 
20550
  enableval=$enable_gtk_doc;
 
20551
else
 
20552
  enable_gtk_doc=no
 
20553
fi
 
20554
 
 
20555
 
 
20556
  if test x$enable_gtk_doc = xyes; then
 
20557
    if test -n "$PKG_CONFIG" && \
 
20558
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.4\""; } >&5
 
20559
  ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.4") 2>&5
 
20560
  ac_status=$?
 
20561
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
20562
  test $ac_status = 0; }; then
 
20563
  :
 
20564
else
 
20565
  as_fn_error $? "You need to have gtk-doc >= 1.4 installed to build $PACKAGE_NAME" "$LINENO" 5
 
20566
fi
 
20567
        if test "x$PACKAGE_NAME" != "xglib"; then
 
20568
 
 
20569
pkg_failed=no
 
20570
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
 
20571
$as_echo_n "checking for GTKDOC_DEPS... " >&6; }
 
20572
 
 
20573
if test -n "$GTKDOC_DEPS_CFLAGS"; then
 
20574
    pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
 
20575
 elif test -n "$PKG_CONFIG"; then
 
20576
    if test -n "$PKG_CONFIG" && \
 
20577
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0\""; } >&5
 
20578
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
 
20579
  ac_status=$?
 
20580
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
20581
  test $ac_status = 0; }; then
 
20582
  pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
 
20583
                      test "x$?" != "x0" && pkg_failed=yes
 
20584
else
 
20585
  pkg_failed=yes
 
20586
fi
 
20587
 else
 
20588
    pkg_failed=untried
 
20589
fi
 
20590
if test -n "$GTKDOC_DEPS_LIBS"; then
 
20591
    pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
 
20592
 elif test -n "$PKG_CONFIG"; then
 
20593
    if test -n "$PKG_CONFIG" && \
 
20594
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0\""; } >&5
 
20595
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
 
20596
  ac_status=$?
 
20597
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
20598
  test $ac_status = 0; }; then
 
20599
  pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
 
20600
                      test "x$?" != "x0" && pkg_failed=yes
 
20601
else
 
20602
  pkg_failed=yes
 
20603
fi
 
20604
 else
 
20605
    pkg_failed=untried
 
20606
fi
 
20607
 
 
20608
 
 
20609
 
 
20610
if test $pkg_failed = yes; then
 
20611
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
20612
$as_echo "no" >&6; }
 
20613
 
 
20614
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
20615
        _pkg_short_errors_supported=yes
 
20616
else
 
20617
        _pkg_short_errors_supported=no
 
20618
fi
 
20619
        if test $_pkg_short_errors_supported = yes; then
 
20620
                GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
 
20621
        else
 
20622
                GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
 
20623
        fi
 
20624
        # Put the nasty error message in config.log where it belongs
 
20625
        echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
 
20626
 
 
20627
        :
 
20628
elif test $pkg_failed = untried; then
 
20629
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
20630
$as_echo "no" >&6; }
 
20631
        :
 
20632
else
 
20633
        GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
 
20634
        GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
 
20635
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
20636
$as_echo "yes" >&6; }
 
20637
 
 
20638
fi
 
20639
    fi
 
20640
  fi
 
20641
 
 
20642
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
 
20643
$as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
 
20644
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
 
20645
$as_echo "$enable_gtk_doc" >&6; }
 
20646
 
 
20647
    # Check whether --enable-gtk-doc-html was given.
 
20648
if test "${enable_gtk_doc_html+set}" = set; then :
 
20649
  enableval=$enable_gtk_doc_html;
 
20650
else
 
20651
  enable_gtk_doc_html=yes
 
20652
fi
 
20653
 
 
20654
    # Check whether --enable-gtk-doc-pdf was given.
 
20655
if test "${enable_gtk_doc_pdf+set}" = set; then :
 
20656
  enableval=$enable_gtk_doc_pdf;
 
20657
else
 
20658
  enable_gtk_doc_pdf=no
 
20659
fi
 
20660
 
 
20661
 
 
20662
  if test -z "$GTKDOC_MKPDF"; then
 
20663
    enable_gtk_doc_pdf=no
 
20664
  fi
 
20665
 
 
20666
  if test -z "$AM_DEFAULT_VERBOSITY"; then
 
20667
    AM_DEFAULT_VERBOSITY=1
 
20668
  fi
 
20669
 
 
20670
 
 
20671
   if test x$enable_gtk_doc = xyes; then
 
20672
  ENABLE_GTK_DOC_TRUE=
 
20673
  ENABLE_GTK_DOC_FALSE='#'
 
20674
else
 
20675
  ENABLE_GTK_DOC_TRUE='#'
 
20676
  ENABLE_GTK_DOC_FALSE=
 
20677
fi
 
20678
 
 
20679
   if test x$enable_gtk_doc_html = xyes; then
 
20680
  GTK_DOC_BUILD_HTML_TRUE=
 
20681
  GTK_DOC_BUILD_HTML_FALSE='#'
 
20682
else
 
20683
  GTK_DOC_BUILD_HTML_TRUE='#'
 
20684
  GTK_DOC_BUILD_HTML_FALSE=
 
20685
fi
 
20686
 
 
20687
   if test x$enable_gtk_doc_pdf = xyes; then
 
20688
  GTK_DOC_BUILD_PDF_TRUE=
 
20689
  GTK_DOC_BUILD_PDF_FALSE='#'
 
20690
else
 
20691
  GTK_DOC_BUILD_PDF_TRUE='#'
 
20692
  GTK_DOC_BUILD_PDF_FALSE=
 
20693
fi
 
20694
 
 
20695
   if test -n "$LIBTOOL"; then
 
20696
  GTK_DOC_USE_LIBTOOL_TRUE=
 
20697
  GTK_DOC_USE_LIBTOOL_FALSE='#'
 
20698
else
 
20699
  GTK_DOC_USE_LIBTOOL_TRUE='#'
 
20700
  GTK_DOC_USE_LIBTOOL_FALSE=
 
20701
fi
 
20702
 
 
20703
   if test -n "$GTKDOC_REBASE"; then
 
20704
  GTK_DOC_USE_REBASE_TRUE=
 
20705
  GTK_DOC_USE_REBASE_FALSE='#'
 
20706
else
 
20707
  GTK_DOC_USE_REBASE_TRUE='#'
 
20708
  GTK_DOC_USE_REBASE_FALSE=
 
20709
fi
 
20710
 
 
20711
 
 
20712
 
 
20713
 
 
20714
 
 
20715
 
 
20716
 
 
20717
 
 
20718
 
 
20719
# Check whether --with-help-dir was given.
 
20720
if test "${with_help_dir+set}" = set; then :
 
20721
  withval=$with_help_dir;
 
20722
else
 
20723
  with_help_dir='${datadir}/help'
 
20724
fi
 
20725
 
 
20726
HELP_DIR="$with_help_dir"
 
20727
 
 
20728
 
 
20729
 
 
20730
# Extract the first word of "itstool", so it can be a program name with args.
 
20731
set dummy itstool; ac_word=$2
 
20732
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
20733
$as_echo_n "checking for $ac_word... " >&6; }
 
20734
if ${ac_cv_prog_ITSTOOL+:} false; then :
 
20735
  $as_echo_n "(cached) " >&6
 
20736
else
 
20737
  if test -n "$ITSTOOL"; then
 
20738
  ac_cv_prog_ITSTOOL="$ITSTOOL" # Let the user override the test.
 
20739
else
 
20740
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
20741
for as_dir in $PATH
 
20742
do
 
20743
  IFS=$as_save_IFS
 
20744
  test -z "$as_dir" && as_dir=.
 
20745
    for ac_exec_ext in '' $ac_executable_extensions; do
 
20746
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
20747
    ac_cv_prog_ITSTOOL="itstool"
 
20748
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
20749
    break 2
 
20750
  fi
 
20751
done
 
20752
  done
 
20753
IFS=$as_save_IFS
 
20754
 
 
20755
fi
 
20756
fi
 
20757
ITSTOOL=$ac_cv_prog_ITSTOOL
 
20758
if test -n "$ITSTOOL"; then
 
20759
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ITSTOOL" >&5
 
20760
$as_echo "$ITSTOOL" >&6; }
 
20761
else
 
20762
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
20763
$as_echo "no" >&6; }
 
20764
fi
 
20765
 
 
20766
 
 
20767
if test x"$ITSTOOL" = x; then
 
20768
  as_fn_error $? "itstool not found" "$LINENO" 5
 
20769
fi
 
20770
 
 
20771
 
 
20772
# Extract the first word of "xmllint", so it can be a program name with args.
 
20773
set dummy xmllint; ac_word=$2
 
20774
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
20775
$as_echo_n "checking for $ac_word... " >&6; }
 
20776
if ${ac_cv_prog_XMLLINT+:} false; then :
 
20777
  $as_echo_n "(cached) " >&6
 
20778
else
 
20779
  if test -n "$XMLLINT"; then
 
20780
  ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
 
20781
else
 
20782
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
20783
for as_dir in $PATH
 
20784
do
 
20785
  IFS=$as_save_IFS
 
20786
  test -z "$as_dir" && as_dir=.
 
20787
    for ac_exec_ext in '' $ac_executable_extensions; do
 
20788
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
20789
    ac_cv_prog_XMLLINT="xmllint"
 
20790
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
20791
    break 2
 
20792
  fi
 
20793
done
 
20794
  done
 
20795
IFS=$as_save_IFS
 
20796
 
 
20797
fi
 
20798
fi
 
20799
XMLLINT=$ac_cv_prog_XMLLINT
 
20800
if test -n "$XMLLINT"; then
 
20801
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
 
20802
$as_echo "$XMLLINT" >&6; }
 
20803
else
 
20804
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
20805
$as_echo "no" >&6; }
 
20806
fi
 
20807
 
 
20808
 
 
20809
if test x"$XMLLINT" = x; then
 
20810
  as_fn_error $? "xmllint not found" "$LINENO" 5
 
20811
fi
 
20812
 
 
20813
YELP_HELP_RULES='
 
20814
HELP_ID ?=
 
20815
HELP_POT ?=
 
20816
HELP_FILES ?=
 
20817
HELP_EXTRA ?=
 
20818
HELP_MEDIA ?=
 
20819
HELP_LINGUAS ?=
 
20820
 
 
20821
_HELP_LINGUAS = $(if $(filter environment,$(origin LINGUAS)),$(filter $(LINGUAS),$(HELP_LINGUAS)),$(HELP_LINGUAS))
 
20822
_HELP_POTFILE = $(if $(HELP_POT),$(HELP_POT),$(if $(HELP_ID),$(HELP_ID).pot))
 
20823
_HELP_POFILES = $(if $(HELP_ID),$(foreach lc,$(_HELP_LINGUAS),$(lc)/$(lc).po))
 
20824
_HELP_MOFILES = $(patsubst %.po,%.mo,$(_HELP_POFILES))
 
20825
_HELP_C_FILES = $(foreach f,$(HELP_FILES),C/$(f))
 
20826
_HELP_C_EXTRA = $(foreach f,$(HELP_EXTRA),C/$(f))
 
20827
_HELP_C_MEDIA = $(foreach f,$(HELP_MEDIA),C/$(f))
 
20828
_HELP_LC_FILES = $(foreach lc,$(_HELP_LINGUAS),$(foreach f,$(HELP_FILES),$(lc)/$(f)))
 
20829
_HELP_LC_STAMPS = $(foreach lc,$(_HELP_LINGUAS),$(lc)/$(lc).stamp)
 
20830
 
 
20831
_HELP_DEFAULT_V = $(if $(AM_DEFAULT_VERBOSITY),$(AM_DEFAULT_VERBOSITY),1)
 
20832
_HELP_V = $(if $(V),$(V),$(_HELP_DEFAULT_V))
 
20833
_HELP_LC_VERBOSE = $(_HELP_LC_VERBOSE_$(_HELP_V))
 
20834
_HELP_LC_VERBOSE_ = $(_HELP_LC_VERBOSE_$(_HELP_DEFAULT_V))
 
20835
_HELP_LC_VERBOSE_0 = @echo "  GEN    "$(dir $@);
 
20836
 
 
20837
all: $(_HELP_C_FILES) $(_HELP_C_EXTRA) $(_HELP_C_MEDIA) $(_HELP_LC_FILES) $(_HELP_POFILES)
 
20838
 
 
20839
.PHONY: pot
 
20840
pot: $(_HELP_POTFILE)
 
20841
$(_HELP_POTFILE): $(_HELP_C_FILES) $(_HELP_C_EXTRA) $(_HELP_C_MEDIA)
 
20842
        $(AM_V_GEN)if test -d "C"; then d=; else d="$(srcdir)/"; fi; \
 
20843
        $(ITSTOOL) -o "$@" $(foreach f,$(_HELP_C_FILES),"$${d}$(f)")
 
20844
 
 
20845
.PHONY: repo
 
20846
repo: $(_HELP_POTFILE)
 
20847
        $(AM_V_at)for po in $(_HELP_POFILES); do \
 
20848
          if test "x$(_HELP_V)" = "x0"; then echo "  GEN    $${po}"; fi; \
 
20849
          msgmerge -q -o "$${po}" "$${po}" "$(_HELP_POTFILE)"; \
 
20850
        done
 
20851
 
 
20852
$(_HELP_POFILES):
 
20853
        $(AM_V_at)if ! test -d "$(dir $@)"; then mkdir "$(dir $@)"; fi
 
20854
        $(AM_V_at)if test ! -f "$@" -a -f "$(srcdir)/$@"; then cp "$(srcdir)/$@" "$@"; fi
 
20855
        $(AM_V_GEN)if ! test -f "$@"; then \
 
20856
          (cd "$(dir $@)" && \
 
20857
            $(ITSTOOL) -o "$(notdir $@).tmp" $(_HELP_C_FILES) && \
 
20858
            mv "$(notdir $@).tmp" "$(notdir $@)"); \
 
20859
        else \
 
20860
          (cd "$(dir $@)" && \
 
20861
            $(ITSTOOL) -o "$(notdir $@).tmp" $(_HELP_C_FILES) && \
 
20862
            msgmerge -o "$(notdir $@)" "$(notdir $@)" "$(notdir $@).tmp" && \
 
20863
            rm "$(notdir $@).tmp"); \
 
20864
        fi
 
20865
 
 
20866
$(_HELP_MOFILES): %.mo: %.po
 
20867
        $(AM_V_at)if ! test -d "$(dir $@)"; then mkdir "$(dir $@)"; fi
 
20868
        $(AM_V_GEN)msgfmt -o "$@" "$<"
 
20869
 
 
20870
$(_HELP_LC_FILES): $(_HELP_LINGUAS)
 
20871
$(_HELP_LINGUAS): $(_HELP_LC_STAMPS)
 
20872
$(_HELP_LC_STAMPS): %.stamp: %.mo
 
20873
$(_HELP_LC_STAMPS): $(_HELP_C_FILES) $(_HELP_C_EXTRA)
 
20874
        $(AM_V_at)if ! test -d "$(dir $@)"; then mkdir "$(dir $@)"; fi
 
20875
        $(_HELP_LC_VERBOSE)if test -d "C"; then d="../"; else d="$(abs_srcdir)/"; fi; \
 
20876
        mo="$(dir $@)$(patsubst %/$(notdir $@),%,$@).mo"; \
 
20877
        if test -f "$${mo}"; then mo="../$${mo}"; else mo="$(abs_srcdir)/$${mo}"; fi; \
 
20878
        (cd "$(dir $@)" && $(ITSTOOL) -m "$${mo}" $(foreach f,$(_HELP_C_FILES),$${d}/$(f))) && \
 
20879
        touch "$@"
 
20880
 
 
20881
.PHONY: clean-help
 
20882
mostlyclean-am: $(if $(HELP_ID),clean-help)
 
20883
clean-help:
 
20884
        rm -f $(_HELP_LC_FILES) $(_HELP_LC_STAMPS) $(_HELP_MOFILES)
 
20885
 
 
20886
EXTRA_DIST ?=
 
20887
EXTRA_DIST += $(_HELP_C_EXTRA) $(_HELP_C_MEDIA)
 
20888
EXTRA_DIST += $(foreach lc,$(HELP_LINGUAS),$(lc)/$(lc).stamp)
 
20889
EXTRA_DIST += $(foreach lc,$(HELP_LINGUAS),$(lc)/$(lc).po)
 
20890
EXTRA_DIST += $(foreach f,$(HELP_MEDIA),$(foreach lc,$(HELP_LINGUAS),$(wildcard $(lc)/$(f))))
 
20891
 
 
20892
distdir: distdir-help-files
 
20893
distdir-help-files:
 
20894
        @for lc in C $(HELP_LINGUAS); do \
 
20895
          $(MKDIR_P) "$(distdir)/$$lc"; \
 
20896
          for file in $(HELP_FILES); do \
 
20897
            if test -f "$$lc/$$file"; then d=./; else d=$(srcdir)/; fi; \
 
20898
            cp -p "$$d$$lc/$$file" "$(distdir)/$$lc/" || exit 1; \
 
20899
          done; \
 
20900
        done; \
 
20901
 
 
20902
.PHONY: check-help
 
20903
check: check-help
 
20904
check-help:
 
20905
        for lc in C $(_HELP_LINGUAS); do \
 
20906
          if test -d "$$lc"; \
 
20907
            then d=; \
 
20908
            xmlpath="$$lc"; \
 
20909
          else \
 
20910
            d="$(srcdir)/"; \
 
20911
            xmlpath="$$lc:$(srcdir)/$$lc"; \
 
20912
          fi; \
 
20913
          for page in $(HELP_FILES); do \
 
20914
            echo "$(XMLLINT) --noout --noent --path $$xmlpath --xinclude $$d$$lc/$$page"; \
 
20915
            $(XMLLINT) --noout --noent --path "$$xmlpath" --xinclude "$$d$$lc/$$page"; \
 
20916
          done; \
 
20917
        done
 
20918
 
 
20919
 
 
20920
.PHONY: install-help
 
20921
install-data-am: $(if $(HELP_ID),install-help)
 
20922
install-help:
 
20923
        @for lc in C $(_HELP_LINGUAS); do \
 
20924
          $(mkinstalldirs) "$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)" || exit 1; \
 
20925
        done
 
20926
        @for lc in C $(_HELP_LINGUAS); do for f in $(HELP_FILES); do \
 
20927
          if test -f "$$lc/$$f"; then d=; else d="$(srcdir)/"; fi; \
 
20928
          helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
 
20929
          if ! test -d "$$helpdir"; then $(mkinstalldirs) "$$helpdir"; fi; \
 
20930
          echo "$(INSTALL_DATA) $$d$$lc/$$f $$helpdir`basename $$f`"; \
 
20931
          $(INSTALL_DATA) "$$d$$lc/$$f" "$$helpdir`basename $$f`" || exit 1; \
 
20932
        done; done
 
20933
        @for f in $(_HELP_C_EXTRA); do \
 
20934
          lc=`dirname "$$f"`; lc=`basename "$$lc"`; \
 
20935
          if test -f "$$f"; then d=; else d="$(srcdir)/"; fi; \
 
20936
          helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
 
20937
          if ! test -d "$$helpdir"; then $(mkinstalldirs) "$$helpdir"; fi; \
 
20938
          echo "$(INSTALL_DATA) $$d$$f $$helpdir`basename $$f`"; \
 
20939
          $(INSTALL_DATA) "$$d$$f" "$$helpdir`basename $$f`" || exit 1; \
 
20940
        done
 
20941
        @for f in $(HELP_MEDIA); do \
 
20942
          for lc in C $(_HELP_LINGUAS); do \
 
20943
            if test -f "$$lc$$f"; then d=; else d="$(srcdir)/"; fi; \
 
20944
            helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
 
20945
            mdir=`dirname "$$f"`; \
 
20946
            if test "x$mdir" = "x."; then mdir=""; fi; \
 
20947
            if ! test -d "$$helpdir$$mdir"; then $(mkinstalldirs) "$$helpdir$$mdir"; fi; \
 
20948
            if test -f "$$d$$lc/$$f"; then \
 
20949
              echo "$(INSTALL_DATA) $$d$$lc/$$f $$helpdir$$f"; \
 
20950
              $(INSTALL_DATA) "$$d$$lc/$$f" "$$helpdir$$f" || exit 1; \
 
20951
            elif test "x$$lc" != "xC"; then \
 
20952
              echo "$(LN_S) -f $(HELP_DIR)/C/$(HELP_ID)/$$f $$helpdir$$f"; \
 
20953
              $(LN_S) -f "$(HELP_DIR)/C/$(HELP_ID)/$$f" "$$helpdir$$f" || exit 1; \
 
20954
            fi; \
 
20955
          done; \
 
20956
        done
 
20957
 
 
20958
.PHONY: uninstall-help
 
20959
uninstall-am: $(if $(HELP_ID),uninstall-help)
 
20960
uninstall-help:
 
20961
        for lc in C $(_HELP_LINGUAS); do for f in $(HELP_FILES); do \
 
20962
          helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
 
20963
          echo "rm -f $$helpdir`basename $$f`"; \
 
20964
          rm -f "$$helpdir`basename $$f`"; \
 
20965
        done; done
 
20966
        @for f in $(_HELP_C_EXTRA); do \
 
20967
          lc=`dirname "$$f"`; lc=`basename "$$lc"`; \
 
20968
          helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
 
20969
          echo "rm -f $$helpdir`basename $$f`"; \
 
20970
          rm -f "$$helpdir`basename $$f`"; \
 
20971
        done
 
20972
        @for f in $(HELP_MEDIA); do \
 
20973
          for lc in C $(_HELP_LINGUAS); do \
 
20974
            helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
 
20975
            echo "rm -f $$helpdir$$f"; \
 
20976
            rm -f "$$helpdir$$f"; \
 
20977
          done; \
 
20978
        done;
 
20979
'
 
20980
 
 
20981
 
 
20982
 
 
20983
 
 
20984
 
 
20985
PLUGIN_LIBTOOL_FLAGS="-module -avoid-version"
 
20986
 
 
20987
 
 
20988
PLUGINDIR='${libdir}/rhythmbox/plugins'
 
20989
PLUGINDATADIR='${datadir}/rhythmbox/plugins'
 
20990
SAMPLEPLUGINDIR='${libdir}/rhythmbox/sample-plugins'
 
20991
 
 
20992
 
 
20993
 
 
20994
 
 
20995
 
 
20996
 
 
20997
 
 
20998
 
 
20999
 
 
21000
 
 
21001
        if test -n "$PYTHON"; then
 
21002
      # If the user set $PYTHON, use it and don't search something else.
 
21003
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 3.2.3" >&5
 
21004
$as_echo_n "checking whether $PYTHON version is >= 3.2.3... " >&6; }
 
21005
      prog="import sys
 
21006
# split strings by '.' and convert to numeric.  Append some zeros
 
21007
# because we need at least 4 digits for the hex conversion.
 
21008
# map returns an iterator in Python 3.0 and a list in 2.x
 
21009
minver = list(map(int, '3.2.3'.split('.'))) + [0, 0, 0]
 
21010
minverhex = 0
 
21011
# xrange is not present in Python 3.0 and range returns an iterator
 
21012
for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
 
21013
sys.exit(sys.hexversion < minverhex)"
 
21014
  if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
 
21015
   ($PYTHON -c "$prog") >&5 2>&5
 
21016
   ac_status=$?
 
21017
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21018
   (exit $ac_status); }; then :
 
21019
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
21020
$as_echo "yes" >&6; }
 
21021
else
 
21022
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
21023
$as_echo "no" >&6; }
 
21024
                               as_fn_error $? "Python interpreter is too old" "$LINENO" 5
 
21025
fi
 
21026
      am_display_PYTHON=$PYTHON
 
21027
    else
 
21028
      # Otherwise, try each interpreter until we find one that satisfies
 
21029
      # VERSION.
 
21030
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 3.2.3" >&5
 
21031
$as_echo_n "checking for a Python interpreter with version >= 3.2.3... " >&6; }
 
21032
if ${am_cv_pathless_PYTHON+:} false; then :
 
21033
  $as_echo_n "(cached) " >&6
 
21034
else
 
21035
 
 
21036
        for am_cv_pathless_PYTHON in python python2 python3 python3.3 python3.2 python3.1 python3.0 python2.7  python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do
 
21037
          test "$am_cv_pathless_PYTHON" = none && break
 
21038
          prog="import sys
 
21039
# split strings by '.' and convert to numeric.  Append some zeros
 
21040
# because we need at least 4 digits for the hex conversion.
 
21041
# map returns an iterator in Python 3.0 and a list in 2.x
 
21042
minver = list(map(int, '3.2.3'.split('.'))) + [0, 0, 0]
 
21043
minverhex = 0
 
21044
# xrange is not present in Python 3.0 and range returns an iterator
 
21045
for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
 
21046
sys.exit(sys.hexversion < minverhex)"
 
21047
  if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
 
21048
   ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
 
21049
   ac_status=$?
 
21050
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21051
   (exit $ac_status); }; then :
 
21052
  break
 
21053
fi
 
21054
        done
 
21055
fi
 
21056
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
 
21057
$as_echo "$am_cv_pathless_PYTHON" >&6; }
 
21058
      # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
 
21059
      if test "$am_cv_pathless_PYTHON" = none; then
 
21060
        PYTHON=:
 
21061
      else
 
21062
        # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
 
21063
set dummy $am_cv_pathless_PYTHON; ac_word=$2
 
21064
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
21065
$as_echo_n "checking for $ac_word... " >&6; }
 
21066
if ${ac_cv_path_PYTHON+:} false; then :
 
21067
  $as_echo_n "(cached) " >&6
 
21068
else
 
21069
  case $PYTHON in
 
21070
  [\\/]* | ?:[\\/]*)
 
21071
  ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
 
21072
  ;;
 
21073
  *)
 
21074
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
21075
for as_dir in $PATH
 
21076
do
 
21077
  IFS=$as_save_IFS
 
21078
  test -z "$as_dir" && as_dir=.
 
21079
    for ac_exec_ext in '' $ac_executable_extensions; do
 
21080
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
21081
    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
 
21082
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
21083
    break 2
 
21084
  fi
 
21085
done
 
21086
  done
 
21087
IFS=$as_save_IFS
 
21088
 
 
21089
  ;;
 
21090
esac
 
21091
fi
 
21092
PYTHON=$ac_cv_path_PYTHON
 
21093
if test -n "$PYTHON"; then
 
21094
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
 
21095
$as_echo "$PYTHON" >&6; }
 
21096
else
 
21097
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
21098
$as_echo "no" >&6; }
 
21099
fi
 
21100
 
 
21101
 
 
21102
      fi
 
21103
      am_display_PYTHON=$am_cv_pathless_PYTHON
 
21104
    fi
 
21105
 
 
21106
 
 
21107
  if test "$PYTHON" = :; then
 
21108
      as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
 
21109
  else
 
21110
 
 
21111
 
 
21112
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
 
21113
$as_echo_n "checking for $am_display_PYTHON version... " >&6; }
 
21114
if ${am_cv_python_version+:} false; then :
 
21115
  $as_echo_n "(cached) " >&6
 
21116
else
 
21117
  am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
 
21118
fi
 
21119
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
 
21120
$as_echo "$am_cv_python_version" >&6; }
 
21121
  PYTHON_VERSION=$am_cv_python_version
 
21122
 
 
21123
 
 
21124
 
 
21125
  PYTHON_PREFIX='${prefix}'
 
21126
 
 
21127
  PYTHON_EXEC_PREFIX='${exec_prefix}'
 
21128
 
 
21129
 
 
21130
 
 
21131
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
 
21132
$as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
 
21133
if ${am_cv_python_platform+:} false; then :
 
21134
  $as_echo_n "(cached) " >&6
 
21135
else
 
21136
  am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
 
21137
fi
 
21138
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
 
21139
$as_echo "$am_cv_python_platform" >&6; }
 
21140
  PYTHON_PLATFORM=$am_cv_python_platform
 
21141
 
 
21142
 
 
21143
  # Just factor out some code duplication.
 
21144
  am_python_setup_sysconfig="\
 
21145
import sys
 
21146
# Prefer sysconfig over distutils.sysconfig, for better compatibility
 
21147
# with python 3.x.  See automake bug#10227.
 
21148
try:
 
21149
    import sysconfig
 
21150
except ImportError:
 
21151
    can_use_sysconfig = 0
 
21152
else:
 
21153
    can_use_sysconfig = 1
 
21154
# Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
 
21155
# <https://github.com/pypa/virtualenv/issues/118>
 
21156
try:
 
21157
    from platform import python_implementation
 
21158
    if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
 
21159
        can_use_sysconfig = 0
 
21160
except ImportError:
 
21161
    pass"
 
21162
 
 
21163
 
 
21164
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
 
21165
$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
 
21166
if ${am_cv_python_pythondir+:} false; then :
 
21167
  $as_echo_n "(cached) " >&6
 
21168
else
 
21169
  if test "x$prefix" = xNONE
 
21170
     then
 
21171
       am_py_prefix=$ac_default_prefix
 
21172
     else
 
21173
       am_py_prefix=$prefix
 
21174
     fi
 
21175
     am_cv_python_pythondir=`$PYTHON -c "
 
21176
$am_python_setup_sysconfig
 
21177
if can_use_sysconfig:
 
21178
    sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
 
21179
else:
 
21180
    from distutils import sysconfig
 
21181
    sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
 
21182
sys.stdout.write(sitedir)"`
 
21183
     case $am_cv_python_pythondir in
 
21184
     $am_py_prefix*)
 
21185
       am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
 
21186
       am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
 
21187
       ;;
 
21188
     *)
 
21189
       case $am_py_prefix in
 
21190
         /usr|/System*) ;;
 
21191
         *)
 
21192
          am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
 
21193
          ;;
 
21194
       esac
 
21195
       ;;
 
21196
     esac
 
21197
 
 
21198
fi
 
21199
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
 
21200
$as_echo "$am_cv_python_pythondir" >&6; }
 
21201
  pythondir=$am_cv_python_pythondir
 
21202
 
 
21203
 
 
21204
 
 
21205
  pkgpythondir=\${pythondir}/$PACKAGE
 
21206
 
 
21207
 
 
21208
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
 
21209
$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
 
21210
if ${am_cv_python_pyexecdir+:} false; then :
 
21211
  $as_echo_n "(cached) " >&6
 
21212
else
 
21213
  if test "x$exec_prefix" = xNONE
 
21214
     then
 
21215
       am_py_exec_prefix=$am_py_prefix
 
21216
     else
 
21217
       am_py_exec_prefix=$exec_prefix
 
21218
     fi
 
21219
     am_cv_python_pyexecdir=`$PYTHON -c "
 
21220
$am_python_setup_sysconfig
 
21221
if can_use_sysconfig:
 
21222
    sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
 
21223
else:
 
21224
    from distutils import sysconfig
 
21225
    sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
 
21226
sys.stdout.write(sitedir)"`
 
21227
     case $am_cv_python_pyexecdir in
 
21228
     $am_py_exec_prefix*)
 
21229
       am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
 
21230
       am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
 
21231
       ;;
 
21232
     *)
 
21233
       case $am_py_exec_prefix in
 
21234
         /usr|/System*) ;;
 
21235
         *)
 
21236
           am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
 
21237
           ;;
 
21238
       esac
 
21239
       ;;
 
21240
     esac
 
21241
 
 
21242
fi
 
21243
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
 
21244
$as_echo "$am_cv_python_pyexecdir" >&6; }
 
21245
  pyexecdir=$am_cv_python_pyexecdir
 
21246
 
 
21247
 
 
21248
 
 
21249
  pkgpyexecdir=\${pyexecdir}/$PACKAGE
 
21250
 
 
21251
 
 
21252
 
 
21253
  fi
 
21254
 
 
21255
 
 
21256
 
 
21257
 
 
21258
# Check whether --enable-python was given.
 
21259
if test "${enable_python+set}" = set; then :
 
21260
  enableval=$enable_python; enable_python=$enableval
 
21261
else
 
21262
  enable_python="auto"
 
21263
fi
 
21264
 
 
21265
 
 
21266
if test "x$enable_python" = "xauto"; then
 
21267
        if test -n "$PKG_CONFIG" && \
 
21268
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygobject-3.0 >= \$PYGOBJECT_REQUIRED\""; } >&5
 
21269
  ($PKG_CONFIG --exists --print-errors "pygobject-3.0 >= $PYGOBJECT_REQUIRED") 2>&5
 
21270
  ac_status=$?
 
21271
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
21272
  test $ac_status = 0; }; then
 
21273
  enable_python=yes
 
21274
else
 
21275
  enable_python=no
 
21276
fi
 
21277
fi
 
21278
 
 
21279
if test "x$enable_python" = "xyes"; then
 
21280
 
 
21281
pkg_failed=no
 
21282
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PYTHON" >&5
 
21283
$as_echo_n "checking for PYTHON... " >&6; }
 
21284
 
 
21285
if test -n "$PYTHON_CFLAGS"; then
 
21286
    pkg_cv_PYTHON_CFLAGS="$PYTHON_CFLAGS"
 
21287
 elif test -n "$PKG_CONFIG"; then
 
21288
    if test -n "$PKG_CONFIG" && \
 
21289
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygobject-3.0 >= \$PYGOBJECT_REQUIRED\""; } >&5
 
21290
  ($PKG_CONFIG --exists --print-errors "pygobject-3.0 >= $PYGOBJECT_REQUIRED") 2>&5
 
21291
  ac_status=$?
 
21292
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
21293
  test $ac_status = 0; }; then
 
21294
  pkg_cv_PYTHON_CFLAGS=`$PKG_CONFIG --cflags "pygobject-3.0 >= $PYGOBJECT_REQUIRED" 2>/dev/null`
 
21295
                      test "x$?" != "x0" && pkg_failed=yes
 
21296
else
 
21297
  pkg_failed=yes
 
21298
fi
 
21299
 else
 
21300
    pkg_failed=untried
 
21301
fi
 
21302
if test -n "$PYTHON_LIBS"; then
 
21303
    pkg_cv_PYTHON_LIBS="$PYTHON_LIBS"
 
21304
 elif test -n "$PKG_CONFIG"; then
 
21305
    if test -n "$PKG_CONFIG" && \
 
21306
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygobject-3.0 >= \$PYGOBJECT_REQUIRED\""; } >&5
 
21307
  ($PKG_CONFIG --exists --print-errors "pygobject-3.0 >= $PYGOBJECT_REQUIRED") 2>&5
 
21308
  ac_status=$?
 
21309
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
21310
  test $ac_status = 0; }; then
 
21311
  pkg_cv_PYTHON_LIBS=`$PKG_CONFIG --libs "pygobject-3.0 >= $PYGOBJECT_REQUIRED" 2>/dev/null`
 
21312
                      test "x$?" != "x0" && pkg_failed=yes
 
21313
else
 
21314
  pkg_failed=yes
 
21315
fi
 
21316
 else
 
21317
    pkg_failed=untried
 
21318
fi
 
21319
 
 
21320
 
 
21321
 
 
21322
if test $pkg_failed = yes; then
 
21323
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
21324
$as_echo "no" >&6; }
 
21325
 
 
21326
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
21327
        _pkg_short_errors_supported=yes
 
21328
else
 
21329
        _pkg_short_errors_supported=no
 
21330
fi
 
21331
        if test $_pkg_short_errors_supported = yes; then
 
21332
                PYTHON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pygobject-3.0 >= $PYGOBJECT_REQUIRED" 2>&1`
 
21333
        else
 
21334
                PYTHON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pygobject-3.0 >= $PYGOBJECT_REQUIRED" 2>&1`
 
21335
        fi
 
21336
        # Put the nasty error message in config.log where it belongs
 
21337
        echo "$PYTHON_PKG_ERRORS" >&5
 
21338
 
 
21339
        as_fn_error $? "Package requirements (pygobject-3.0 >= $PYGOBJECT_REQUIRED) were not met:
 
21340
 
 
21341
$PYTHON_PKG_ERRORS
 
21342
 
 
21343
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
21344
installed software in a non-standard prefix.
 
21345
 
 
21346
Alternatively, you may set the environment variables PYTHON_CFLAGS
 
21347
and PYTHON_LIBS to avoid the need to call pkg-config.
 
21348
See the pkg-config man page for more details." "$LINENO" 5
 
21349
elif test $pkg_failed = untried; then
 
21350
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
21351
$as_echo "no" >&6; }
 
21352
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
21353
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
21354
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
21355
is in your PATH or set the PKG_CONFIG environment variable to the full
 
21356
path to pkg-config.
 
21357
 
 
21358
Alternatively, you may set the environment variables PYTHON_CFLAGS
 
21359
and PYTHON_LIBS to avoid the need to call pkg-config.
 
21360
See the pkg-config man page for more details.
 
21361
 
 
21362
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
21363
See \`config.log' for more details" "$LINENO" 5; }
 
21364
else
 
21365
        PYTHON_CFLAGS=$pkg_cv_PYTHON_CFLAGS
 
21366
        PYTHON_LIBS=$pkg_cv_PYTHON_LIBS
 
21367
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
21368
$as_echo "yes" >&6; }
 
21369
 
 
21370
fi
 
21371
 
 
21372
        pyoverridesdir=`$PYTHON -c "import gi; print(gi._overridesdir)"`
 
21373
 
 
21374
fi
 
21375
 
 
21376
 if test x"$enable_python" = "xyes"; then
 
21377
  ENABLE_PYTHON_TRUE=
 
21378
  ENABLE_PYTHON_FALSE='#'
 
21379
else
 
21380
  ENABLE_PYTHON_TRUE='#'
 
21381
  ENABLE_PYTHON_FALSE=
 
21382
fi
 
21383
 
 
21384
 
 
21385
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Vala plugin support is requested" >&5
 
21386
$as_echo_n "checking whether Vala plugin support is requested... " >&6; }
 
21387
# Check whether --enable-vala was given.
 
21388
if test "${enable_vala+set}" = set; then :
 
21389
  enableval=$enable_vala; enable_vala=$enableval have_vala=$enableval
 
21390
else
 
21391
  enable_vala=autodetect have_vala=yes
 
21392
fi
 
21393
 
 
21394
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vala" >&5
 
21395
$as_echo "$enable_vala" >&6; }
 
21396
with_vala=no
 
21397
if test "x$enable_vala" = "xyes"; then
 
21398
        # Extract the first word of "valac", so it can be a program name with args.
 
21399
set dummy valac; ac_word=$2
 
21400
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
21401
$as_echo_n "checking for $ac_word... " >&6; }
 
21402
if ${ac_cv_path_VALAC+:} false; then :
 
21403
  $as_echo_n "(cached) " >&6
 
21404
else
 
21405
  case $VALAC in
 
21406
  [\\/]* | ?:[\\/]*)
 
21407
  ac_cv_path_VALAC="$VALAC" # Let the user override the test with a path.
 
21408
  ;;
 
21409
  *)
 
21410
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
21411
for as_dir in $PATH
 
21412
do
 
21413
  IFS=$as_save_IFS
 
21414
  test -z "$as_dir" && as_dir=.
 
21415
    for ac_exec_ext in '' $ac_executable_extensions; do
 
21416
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
21417
    ac_cv_path_VALAC="$as_dir/$ac_word$ac_exec_ext"
 
21418
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
21419
    break 2
 
21420
  fi
 
21421
done
 
21422
  done
 
21423
IFS=$as_save_IFS
 
21424
 
 
21425
  test -z "$ac_cv_path_VALAC" && ac_cv_path_VALAC="valac"
 
21426
  ;;
 
21427
esac
 
21428
fi
 
21429
VALAC=$ac_cv_path_VALAC
 
21430
if test -n "$VALAC"; then
 
21431
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALAC" >&5
 
21432
$as_echo "$VALAC" >&6; }
 
21433
else
 
21434
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
21435
$as_echo "no" >&6; }
 
21436
fi
 
21437
 
 
21438
 
 
21439
   if test "$VALAC" != valac && test -n "$VALA_REQS"; then :
 
21440
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $VALAC is at least version $VALA_REQS" >&5
 
21441
$as_echo_n "checking whether $VALAC is at least version $VALA_REQS... " >&6; }
 
21442
       am__vala_version=`$VALAC --version | sed 's/Vala  *//'`
 
21443
       as_arg_v1=$VALA_REQS
 
21444
as_arg_v2="$am__vala_version"
 
21445
awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
 
21446
case $? in #(
 
21447
  1) :
 
21448
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
21449
$as_echo "yes" >&6; } ;; #(
 
21450
  0) :
 
21451
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
21452
$as_echo "yes" >&6; } ;; #(
 
21453
  2) :
 
21454
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
21455
$as_echo "no" >&6; }
 
21456
          VALAC=valac ;; #(
 
21457
  *) :
 
21458
     ;;
 
21459
esac
 
21460
fi
 
21461
    if test "$VALAC" = valac; then
 
21462
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no proper vala compiler found" >&5
 
21463
$as_echo "$as_me: WARNING: no proper vala compiler found" >&2;}
 
21464
         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: you will not be able to compile vala source files" >&5
 
21465
$as_echo "$as_me: WARNING: you will not be able to compile vala source files" >&2;}
 
21466
    else
 
21467
      :
 
21468
    fi
 
21469
        if test "x$VALAC" != "x"; then
 
21470
                VAPIDIR=$datadir/vala/vapi
 
21471
                # what?
 
21472
                VAPIGEN=vapigen
 
21473
 
 
21474
 
 
21475
 
 
21476
                with_vala=yes
 
21477
        elif test "x$enable_vala" = "xyes"; then
 
21478
                as_fn_error $? "Vala plugin support explicitly requested, but not found" "$LINENO" 5
 
21479
        fi
 
21480
fi
 
21481
 if test "x$with_vala" = "xyes"; then
 
21482
  ENABLE_VALA_TRUE=
 
21483
  ENABLE_VALA_FALSE='#'
 
21484
else
 
21485
  ENABLE_VALA_TRUE='#'
 
21486
  ENABLE_VALA_FALSE=
 
21487
fi
 
21488
 
 
21489
 
 
21490
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether FM radio support is requested" >&5
 
21491
$as_echo_n "checking whether FM radio support is requested... " >&6; }
 
21492
# Check whether --enable-fm-radio was given.
 
21493
if test "${enable_fm_radio+set}" = set; then :
 
21494
  enableval=$enable_fm_radio;
 
21495
else
 
21496
  enable_fm_radio=yes
 
21497
fi
 
21498
 
 
21499
if test "x$enable_fm_radio" != xno; then
 
21500
  ac_fn_c_check_header_mongrel "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "$ac_includes_default"
 
21501
if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
 
21502
 
 
21503
else
 
21504
  enable_fm_radio=no
 
21505
fi
 
21506
 
 
21507
 
 
21508
fi
 
21509
 if test "x$enable_fm_radio" != xno; then
 
21510
  ENABLE_FM_RADIO_TRUE=
 
21511
  ENABLE_FM_RADIO_FALSE='#'
 
21512
else
 
21513
  ENABLE_FM_RADIO_TRUE='#'
 
21514
  ENABLE_FM_RADIO_FALSE=
 
21515
fi
 
21516
 
 
21517
 
 
21518
 
 
21519
 
 
21520
pkg_failed=no
 
21521
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
 
21522
$as_echo_n "checking for CHECK... " >&6; }
 
21523
 
 
21524
if test -n "$CHECK_CFLAGS"; then
 
21525
    pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
 
21526
 elif test -n "$PKG_CONFIG"; then
 
21527
    if test -n "$PKG_CONFIG" && \
 
21528
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check\""; } >&5
 
21529
  ($PKG_CONFIG --exists --print-errors "check") 2>&5
 
21530
  ac_status=$?
 
21531
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
21532
  test $ac_status = 0; }; then
 
21533
  pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check" 2>/dev/null`
 
21534
                      test "x$?" != "x0" && pkg_failed=yes
 
21535
else
 
21536
  pkg_failed=yes
 
21537
fi
 
21538
 else
 
21539
    pkg_failed=untried
 
21540
fi
 
21541
if test -n "$CHECK_LIBS"; then
 
21542
    pkg_cv_CHECK_LIBS="$CHECK_LIBS"
 
21543
 elif test -n "$PKG_CONFIG"; then
 
21544
    if test -n "$PKG_CONFIG" && \
 
21545
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check\""; } >&5
 
21546
  ($PKG_CONFIG --exists --print-errors "check") 2>&5
 
21547
  ac_status=$?
 
21548
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
21549
  test $ac_status = 0; }; then
 
21550
  pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check" 2>/dev/null`
 
21551
                      test "x$?" != "x0" && pkg_failed=yes
 
21552
else
 
21553
  pkg_failed=yes
 
21554
fi
 
21555
 else
 
21556
    pkg_failed=untried
 
21557
fi
 
21558
 
 
21559
 
 
21560
 
 
21561
if test $pkg_failed = yes; then
 
21562
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
21563
$as_echo "no" >&6; }
 
21564
 
 
21565
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
21566
        _pkg_short_errors_supported=yes
 
21567
else
 
21568
        _pkg_short_errors_supported=no
 
21569
fi
 
21570
        if test $_pkg_short_errors_supported = yes; then
 
21571
                CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "check" 2>&1`
 
21572
        else
 
21573
                CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "check" 2>&1`
 
21574
        fi
 
21575
        # Put the nasty error message in config.log where it belongs
 
21576
        echo "$CHECK_PKG_ERRORS" >&5
 
21577
 
 
21578
        have_check=no
 
21579
elif test $pkg_failed = untried; then
 
21580
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
21581
$as_echo "no" >&6; }
 
21582
        have_check=no
 
21583
else
 
21584
        CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
 
21585
        CHECK_LIBS=$pkg_cv_CHECK_LIBS
 
21586
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
21587
$as_echo "yes" >&6; }
 
21588
        have_check=yes
 
21589
fi
 
21590
 if test "x$have_check" = "xyes"; then
 
21591
  HAVE_CHECK_TRUE=
 
21592
  HAVE_CHECK_FALSE='#'
 
21593
else
 
21594
  HAVE_CHECK_TRUE='#'
 
21595
  HAVE_CHECK_FALSE=
 
21596
fi
 
21597
 
 
21598
 
 
21599
 
 
21600
# Check whether --enable-browser-plugin was given.
 
21601
if test "${enable_browser_plugin+set}" = set; then :
 
21602
  enableval=$enable_browser_plugin;
 
21603
else
 
21604
  enable_browser_plugin=yes
 
21605
fi
 
21606
 
 
21607
 
 
21608
MOZILLA_PLUGINDIR=${MOZILLA_PLUGINDIR:-'${libdir}/mozilla/plugins'}
 
21609
 
 
21610
 
 
21611
 if test x$enable_browser_plugin = xyes; then
 
21612
  ENABLE_BROWSER_PLUGIN_TRUE=
 
21613
  ENABLE_BROWSER_PLUGIN_FALSE='#'
 
21614
else
 
21615
  ENABLE_BROWSER_PLUGIN_TRUE='#'
 
21616
  ENABLE_BROWSER_PLUGIN_FALSE=
 
21617
fi
 
21618
 
 
21619
if test x$enable_browser_plugin = xyes; then
 
21620
        ITMS_HANDLER="x-scheme-handler/itms;"
 
21621
fi
 
21622
 
 
21623
 
 
21624
# Check whether --enable-daap was given.
 
21625
if test "${enable_daap+set}" = set; then :
 
21626
  enableval=$enable_daap;
 
21627
else
 
21628
  enable_daap=auto
 
21629
fi
 
21630
 
 
21631
if test "x$enable_daap" != "xno"; then
 
21632
 
 
21633
pkg_failed=no
 
21634
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DMAPSHARING" >&5
 
21635
$as_echo_n "checking for DMAPSHARING... " >&6; }
 
21636
 
 
21637
if test -n "$DMAPSHARING_CFLAGS"; then
 
21638
    pkg_cv_DMAPSHARING_CFLAGS="$DMAPSHARING_CFLAGS"
 
21639
 elif test -n "$PKG_CONFIG"; then
 
21640
    if test -n "$PKG_CONFIG" && \
 
21641
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdmapsharing-3.0 >= 2.9.19\""; } >&5
 
21642
  ($PKG_CONFIG --exists --print-errors "libdmapsharing-3.0 >= 2.9.19") 2>&5
 
21643
  ac_status=$?
 
21644
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
21645
  test $ac_status = 0; }; then
 
21646
  pkg_cv_DMAPSHARING_CFLAGS=`$PKG_CONFIG --cflags "libdmapsharing-3.0 >= 2.9.19" 2>/dev/null`
 
21647
                      test "x$?" != "x0" && pkg_failed=yes
 
21648
else
 
21649
  pkg_failed=yes
 
21650
fi
 
21651
 else
 
21652
    pkg_failed=untried
 
21653
fi
 
21654
if test -n "$DMAPSHARING_LIBS"; then
 
21655
    pkg_cv_DMAPSHARING_LIBS="$DMAPSHARING_LIBS"
 
21656
 elif test -n "$PKG_CONFIG"; then
 
21657
    if test -n "$PKG_CONFIG" && \
 
21658
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdmapsharing-3.0 >= 2.9.19\""; } >&5
 
21659
  ($PKG_CONFIG --exists --print-errors "libdmapsharing-3.0 >= 2.9.19") 2>&5
 
21660
  ac_status=$?
 
21661
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
21662
  test $ac_status = 0; }; then
 
21663
  pkg_cv_DMAPSHARING_LIBS=`$PKG_CONFIG --libs "libdmapsharing-3.0 >= 2.9.19" 2>/dev/null`
 
21664
                      test "x$?" != "x0" && pkg_failed=yes
 
21665
else
 
21666
  pkg_failed=yes
 
21667
fi
 
21668
 else
 
21669
    pkg_failed=untried
 
21670
fi
 
21671
 
 
21672
 
 
21673
 
 
21674
if test $pkg_failed = yes; then
 
21675
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
21676
$as_echo "no" >&6; }
 
21677
 
 
21678
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
21679
        _pkg_short_errors_supported=yes
 
21680
else
 
21681
        _pkg_short_errors_supported=no
 
21682
fi
 
21683
        if test $_pkg_short_errors_supported = yes; then
 
21684
                DMAPSHARING_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libdmapsharing-3.0 >= 2.9.19" 2>&1`
 
21685
        else
 
21686
                DMAPSHARING_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libdmapsharing-3.0 >= 2.9.19" 2>&1`
 
21687
        fi
 
21688
        # Put the nasty error message in config.log where it belongs
 
21689
        echo "$DMAPSHARING_PKG_ERRORS" >&5
 
21690
 
 
21691
        have_libdmapsharing=no
 
21692
elif test $pkg_failed = untried; then
 
21693
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
21694
$as_echo "no" >&6; }
 
21695
        have_libdmapsharing=no
 
21696
else
 
21697
        DMAPSHARING_CFLAGS=$pkg_cv_DMAPSHARING_CFLAGS
 
21698
        DMAPSHARING_LIBS=$pkg_cv_DMAPSHARING_LIBS
 
21699
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
21700
$as_echo "yes" >&6; }
 
21701
        have_libdmapsharing=yes
 
21702
fi
 
21703
        if test "x$have_libdmapsharing" = "xno" -a "x$enable_daap" = "xyes"; then
 
21704
                as_fn_error $? "DAAP support explicitly requested, but libdmapsharing couldn't be found" "$LINENO" 5
 
21705
        fi
 
21706
        if test x"$have_libdmapsharing" = "xyes"; then
 
21707
 
 
21708
$as_echo "#define HAVE_LIBDMAPSHARING 1" >>confdefs.h
 
21709
 
 
21710
        fi
 
21711
fi
 
21712
 
 
21713
 if test x"$have_libdmapsharing" = "xyes"; then
 
21714
  USE_LIBDMAPSHARING_TRUE=
 
21715
  USE_LIBDMAPSHARING_FALSE='#'
 
21716
else
 
21717
  USE_LIBDMAPSHARING_TRUE='#'
 
21718
  USE_LIBDMAPSHARING_FALSE=
 
21719
fi
 
21720
 
 
21721
 
 
21722
 
 
21723
 
 
21724
 
 
21725
# Check whether --enable-visualizer was given.
 
21726
if test "${enable_visualizer+set}" = set; then :
 
21727
  enableval=$enable_visualizer;
 
21728
else
 
21729
  enable_visualizer=auto
 
21730
fi
 
21731
 
 
21732
if test "x$enable_visualizer" != "xno"; then
 
21733
 
 
21734
pkg_failed=no
 
21735
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLUTTER" >&5
 
21736
$as_echo_n "checking for CLUTTER... " >&6; }
 
21737
 
 
21738
if test -n "$CLUTTER_CFLAGS"; then
 
21739
    pkg_cv_CLUTTER_CFLAGS="$CLUTTER_CFLAGS"
 
21740
 elif test -n "$PKG_CONFIG"; then
 
21741
    if test -n "$PKG_CONFIG" && \
 
21742
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-1.0 >= 1.8                        \\
 
21743
                          clutter-x11-1.0 >= 1.8                \\
 
21744
                          clutter-gst-2.0                               \\
 
21745
                          clutter-gtk-1.0 >= 1.0                \\
 
21746
                          mx-1.0 >= 1.0.1\""; } >&5
 
21747
  ($PKG_CONFIG --exists --print-errors "clutter-1.0 >= 1.8                      \
 
21748
                          clutter-x11-1.0 >= 1.8                \
 
21749
                          clutter-gst-2.0                               \
 
21750
                          clutter-gtk-1.0 >= 1.0                \
 
21751
                          mx-1.0 >= 1.0.1") 2>&5
 
21752
  ac_status=$?
 
21753
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
21754
  test $ac_status = 0; }; then
 
21755
  pkg_cv_CLUTTER_CFLAGS=`$PKG_CONFIG --cflags "clutter-1.0 >= 1.8                       \
 
21756
                          clutter-x11-1.0 >= 1.8                \
 
21757
                          clutter-gst-2.0                               \
 
21758
                          clutter-gtk-1.0 >= 1.0                \
 
21759
                          mx-1.0 >= 1.0.1" 2>/dev/null`
 
21760
                      test "x$?" != "x0" && pkg_failed=yes
 
21761
else
 
21762
  pkg_failed=yes
 
21763
fi
 
21764
 else
 
21765
    pkg_failed=untried
 
21766
fi
 
21767
if test -n "$CLUTTER_LIBS"; then
 
21768
    pkg_cv_CLUTTER_LIBS="$CLUTTER_LIBS"
 
21769
 elif test -n "$PKG_CONFIG"; then
 
21770
    if test -n "$PKG_CONFIG" && \
 
21771
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-1.0 >= 1.8                        \\
 
21772
                          clutter-x11-1.0 >= 1.8                \\
 
21773
                          clutter-gst-2.0                               \\
 
21774
                          clutter-gtk-1.0 >= 1.0                \\
 
21775
                          mx-1.0 >= 1.0.1\""; } >&5
 
21776
  ($PKG_CONFIG --exists --print-errors "clutter-1.0 >= 1.8                      \
 
21777
                          clutter-x11-1.0 >= 1.8                \
 
21778
                          clutter-gst-2.0                               \
 
21779
                          clutter-gtk-1.0 >= 1.0                \
 
21780
                          mx-1.0 >= 1.0.1") 2>&5
 
21781
  ac_status=$?
 
21782
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
21783
  test $ac_status = 0; }; then
 
21784
  pkg_cv_CLUTTER_LIBS=`$PKG_CONFIG --libs "clutter-1.0 >= 1.8                   \
 
21785
                          clutter-x11-1.0 >= 1.8                \
 
21786
                          clutter-gst-2.0                               \
 
21787
                          clutter-gtk-1.0 >= 1.0                \
 
21788
                          mx-1.0 >= 1.0.1" 2>/dev/null`
 
21789
                      test "x$?" != "x0" && pkg_failed=yes
 
21790
else
 
21791
  pkg_failed=yes
 
21792
fi
 
21793
 else
 
21794
    pkg_failed=untried
 
21795
fi
 
21796
 
 
21797
 
 
21798
 
 
21799
if test $pkg_failed = yes; then
 
21800
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
21801
$as_echo "no" >&6; }
 
21802
 
 
21803
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
21804
        _pkg_short_errors_supported=yes
 
21805
else
 
21806
        _pkg_short_errors_supported=no
 
21807
fi
 
21808
        if test $_pkg_short_errors_supported = yes; then
 
21809
                CLUTTER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "clutter-1.0 >= 1.8                       \
 
21810
                          clutter-x11-1.0 >= 1.8                \
 
21811
                          clutter-gst-2.0                               \
 
21812
                          clutter-gtk-1.0 >= 1.0                \
 
21813
                          mx-1.0 >= 1.0.1" 2>&1`
 
21814
        else
 
21815
                CLUTTER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "clutter-1.0 >= 1.8                      \
 
21816
                          clutter-x11-1.0 >= 1.8                \
 
21817
                          clutter-gst-2.0                               \
 
21818
                          clutter-gtk-1.0 >= 1.0                \
 
21819
                          mx-1.0 >= 1.0.1" 2>&1`
 
21820
        fi
 
21821
        # Put the nasty error message in config.log where it belongs
 
21822
        echo "$CLUTTER_PKG_ERRORS" >&5
 
21823
 
 
21824
        have_clutter=no
 
21825
elif test $pkg_failed = untried; then
 
21826
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
21827
$as_echo "no" >&6; }
 
21828
        have_clutter=no
 
21829
else
 
21830
        CLUTTER_CFLAGS=$pkg_cv_CLUTTER_CFLAGS
 
21831
        CLUTTER_LIBS=$pkg_cv_CLUTTER_LIBS
 
21832
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
21833
$as_echo "yes" >&6; }
 
21834
        have_clutter=yes
 
21835
fi
 
21836
        if test "x$have_clutter" = "xno" -a "x$enable_visualizer" = "xyes"; then
 
21837
                as_fn_error $? "Visualizer support explicitly requested, but clutter couldn't be found" "$LINENO" 5
 
21838
        fi
 
21839
fi
 
21840
 
 
21841
 if test x"$have_clutter" = "xyes"; then
 
21842
  USE_CLUTTER_TRUE=
 
21843
  USE_CLUTTER_FALSE='#'
 
21844
else
 
21845
  USE_CLUTTER_TRUE='#'
 
21846
  USE_CLUTTER_FALSE=
 
21847
fi
 
21848
 
 
21849
 
 
21850
 
 
21851
 
 
21852
 
 
21853
# Check whether --enable-grilo was given.
 
21854
if test "${enable_grilo+set}" = set; then :
 
21855
  enableval=$enable_grilo;
 
21856
else
 
21857
  enable_grilo=auto
 
21858
fi
 
21859
 
 
21860
if test "x$enable_grilo" != "xno"; then
 
21861
 
 
21862
pkg_failed=no
 
21863
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GRILO" >&5
 
21864
$as_echo_n "checking for GRILO... " >&6; }
 
21865
 
 
21866
if test -n "$GRILO_CFLAGS"; then
 
21867
    pkg_cv_GRILO_CFLAGS="$GRILO_CFLAGS"
 
21868
 elif test -n "$PKG_CONFIG"; then
 
21869
    if test -n "$PKG_CONFIG" && \
 
21870
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"grilo-0.2 >= \$GRILO_REQS\""; } >&5
 
21871
  ($PKG_CONFIG --exists --print-errors "grilo-0.2 >= $GRILO_REQS") 2>&5
 
21872
  ac_status=$?
 
21873
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
21874
  test $ac_status = 0; }; then
 
21875
  pkg_cv_GRILO_CFLAGS=`$PKG_CONFIG --cflags "grilo-0.2 >= $GRILO_REQS" 2>/dev/null`
 
21876
                      test "x$?" != "x0" && pkg_failed=yes
 
21877
else
 
21878
  pkg_failed=yes
 
21879
fi
 
21880
 else
 
21881
    pkg_failed=untried
 
21882
fi
 
21883
if test -n "$GRILO_LIBS"; then
 
21884
    pkg_cv_GRILO_LIBS="$GRILO_LIBS"
 
21885
 elif test -n "$PKG_CONFIG"; then
 
21886
    if test -n "$PKG_CONFIG" && \
 
21887
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"grilo-0.2 >= \$GRILO_REQS\""; } >&5
 
21888
  ($PKG_CONFIG --exists --print-errors "grilo-0.2 >= $GRILO_REQS") 2>&5
 
21889
  ac_status=$?
 
21890
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
21891
  test $ac_status = 0; }; then
 
21892
  pkg_cv_GRILO_LIBS=`$PKG_CONFIG --libs "grilo-0.2 >= $GRILO_REQS" 2>/dev/null`
 
21893
                      test "x$?" != "x0" && pkg_failed=yes
 
21894
else
 
21895
  pkg_failed=yes
 
21896
fi
 
21897
 else
 
21898
    pkg_failed=untried
 
21899
fi
 
21900
 
 
21901
 
 
21902
 
 
21903
if test $pkg_failed = yes; then
 
21904
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
21905
$as_echo "no" >&6; }
 
21906
 
 
21907
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
21908
        _pkg_short_errors_supported=yes
 
21909
else
 
21910
        _pkg_short_errors_supported=no
 
21911
fi
 
21912
        if test $_pkg_short_errors_supported = yes; then
 
21913
                GRILO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "grilo-0.2 >= $GRILO_REQS" 2>&1`
 
21914
        else
 
21915
                GRILO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "grilo-0.2 >= $GRILO_REQS" 2>&1`
 
21916
        fi
 
21917
        # Put the nasty error message in config.log where it belongs
 
21918
        echo "$GRILO_PKG_ERRORS" >&5
 
21919
 
 
21920
        have_grilo=no
 
21921
elif test $pkg_failed = untried; then
 
21922
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
21923
$as_echo "no" >&6; }
 
21924
        have_grilo=no
 
21925
else
 
21926
        GRILO_CFLAGS=$pkg_cv_GRILO_CFLAGS
 
21927
        GRILO_LIBS=$pkg_cv_GRILO_LIBS
 
21928
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
21929
$as_echo "yes" >&6; }
 
21930
        have_grilo=yes
 
21931
fi
 
21932
        if test "x$have_grilo" = "xno" -a "x$enable_grilo" = "xyes"; then
 
21933
                as_fn_error $? "Grilo support explicitly requested, but grilo couldn not be found" "$LINENO" 5
 
21934
        fi
 
21935
        if test "x$have_grilo" = "xyes"; then
 
21936
 
 
21937
$as_echo "#define HAVE_GRILO 1" >>confdefs.h
 
21938
 
 
21939
        fi
 
21940
fi
 
21941
 
 
21942
 if test x"$have_grilo" = "xyes"; then
 
21943
  ENABLE_GRILO_TRUE=
 
21944
  ENABLE_GRILO_FALSE='#'
 
21945
else
 
21946
  ENABLE_GRILO_TRUE='#'
 
21947
  ENABLE_GRILO_FALSE=
 
21948
fi
 
21949
 
 
21950
 
 
21951
 
 
21952
 
 
21953
 
 
21954
ac_config_files="$ac_config_files rhythmbox.pc Makefile lib/Makefile lib/libmediaplayerid/Makefile metadata/Makefile rhythmdb/Makefile widgets/Makefile podcast/Makefile shell/Makefile data/Makefile data/rhythmbox.desktop.in data/rhythmbox-device.desktop.in data/ui/Makefile data/icons/Makefile data/icons/hicolor/Makefile data/icons/hicolor/16x16/Makefile data/icons/hicolor/16x16/apps/Makefile data/icons/hicolor/16x16/status/Makefile data/icons/hicolor/22x22/Makefile data/icons/hicolor/22x22/apps/Makefile data/icons/hicolor/24x24/Makefile data/icons/hicolor/24x24/apps/Makefile data/icons/hicolor/32x32/Makefile data/icons/hicolor/32x32/apps/Makefile data/icons/hicolor/48x48/Makefile data/icons/hicolor/48x48/apps/Makefile data/icons/hicolor/48x48/status/Makefile data/icons/hicolor/256x256/Makefile data/icons/hicolor/256x256/apps/Makefile data/icons/hicolor/scalable/Makefile data/icons/hicolor/scalable/apps/Makefile data/icons/src/Makefile sources/Makefile sources/sync/Makefile plugins/Makefile plugins/audiocd/Makefile plugins/audioscrobbler/Makefile plugins/brasero-disc-recorder/Makefile plugins/daap/Makefile plugins/fmradio/Makefile plugins/im-status/Makefile plugins/ipod/Makefile plugins/mtpdevice/Makefile plugins/iradio/Makefile plugins/lirc/Makefile plugins/lyrics/Makefile plugins/pythonconsole/Makefile plugins/artsearch/Makefile plugins/magnatune/Makefile plugins/generic-player/Makefile plugins/rb/Makefile plugins/rb/rbconfig.py plugins/power-manager/Makefile plugins/mmkeys/Makefile plugins/context/Makefile plugins/sendto/Makefile plugins/replaygain/Makefile plugins/mpris/Makefile plugins/dbus-media-server/Makefile plugins/rbzeitgeist/Makefile plugins/notification/Makefile plugins/visualizer/Makefile plugins/grilo/Makefile sample-plugins/Makefile sample-plugins/sample/Makefile sample-plugins/sample-python/Makefile sample-plugins/sample-vala/Makefile bindings/Makefile bindings/vala/Makefile bindings/gi/Makefile help/Makefile po/Makefile.in tests/Makefile doc/Makefile doc/reference/Makefile backends/Makefile backends/gstreamer/Makefile remote/Makefile remote/dbus/Makefile"
 
21955
 
 
21956
cat >confcache <<\_ACEOF
 
21957
# This file is a shell script that caches the results of configure
 
21958
# tests run on this system so they can be shared between configure
 
21959
# scripts and configure runs, see configure's option --config-cache.
 
21960
# It is not useful on other systems.  If it contains results you don't
 
21961
# want to keep, you may remove or edit it.
 
21962
#
 
21963
# config.status only pays attention to the cache file if you give it
 
21964
# the --recheck option to rerun configure.
 
21965
#
 
21966
# `ac_cv_env_foo' variables (set or unset) will be overridden when
 
21967
# loading this file, other *unset* `ac_cv_foo' will be assigned the
 
21968
# following values.
 
21969
 
 
21970
_ACEOF
 
21971
 
 
21972
# The following way of writing the cache mishandles newlines in values,
 
21973
# but we know of no workaround that is simple, portable, and efficient.
 
21974
# So, we kill variables containing newlines.
 
21975
# Ultrix sh set writes to stderr and can't be redirected directly,
 
21976
# and sets the high bit in the cache file unless we assign to the vars.
 
21977
(
 
21978
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
21979
    eval ac_val=\$$ac_var
 
21980
    case $ac_val in #(
 
21981
    *${as_nl}*)
 
21982
      case $ac_var in #(
 
21983
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
21984
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
21985
      esac
 
21986
      case $ac_var in #(
 
21987
      _ | IFS | as_nl) ;; #(
 
21988
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
21989
      *) { eval $ac_var=; unset $ac_var;} ;;
 
21990
      esac ;;
 
21991
    esac
 
21992
  done
 
21993
 
 
21994
  (set) 2>&1 |
 
21995
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
21996
    *${as_nl}ac_space=\ *)
 
21997
      # `set' does not quote correctly, so add quotes: double-quote
 
21998
      # substitution turns \\\\ into \\, and sed turns \\ into \.
 
21999
      sed -n \
 
22000
        "s/'/'\\\\''/g;
 
22001
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
22002
      ;; #(
 
22003
    *)
 
22004
      # `set' quotes correctly as required by POSIX, so do not add quotes.
 
22005
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
22006
      ;;
 
22007
    esac |
 
22008
    sort
 
22009
) |
 
22010
  sed '
 
22011
     /^ac_cv_env_/b end
 
22012
     t clear
 
22013
     :clear
 
22014
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 
22015
     t end
 
22016
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
22017
     :end' >>confcache
 
22018
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
22019
  if test -w "$cache_file"; then
 
22020
    if test "x$cache_file" != "x/dev/null"; then
 
22021
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 
22022
$as_echo "$as_me: updating cache $cache_file" >&6;}
 
22023
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
22024
        cat confcache >"$cache_file"
 
22025
      else
 
22026
        case $cache_file in #(
 
22027
        */* | ?:*)
 
22028
          mv -f confcache "$cache_file"$$ &&
 
22029
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
22030
        *)
 
22031
          mv -f confcache "$cache_file" ;;
 
22032
        esac
 
22033
      fi
 
22034
    fi
 
22035
  else
 
22036
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 
22037
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
22038
  fi
 
22039
fi
 
22040
rm -f confcache
 
22041
 
 
22042
test "x$prefix" = xNONE && prefix=$ac_default_prefix
 
22043
# Let make expand exec_prefix.
 
22044
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 
22045
 
 
22046
DEFS=-DHAVE_CONFIG_H
 
22047
 
 
22048
ac_libobjs=
 
22049
ac_ltlibobjs=
 
22050
U=
 
22051
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 
22052
  # 1. Remove the extension, and $U if already installed.
 
22053
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
22054
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 
22055
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
22056
  #    will be set to the directory where LIBOBJS objects are built.
 
22057
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
22058
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
 
22059
done
 
22060
LIBOBJS=$ac_libobjs
 
22061
 
 
22062
LTLIBOBJS=$ac_ltlibobjs
 
22063
 
 
22064
 
 
22065
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
 
22066
$as_echo_n "checking that generated files are newer than configure... " >&6; }
 
22067
   if test -n "$am_sleep_pid"; then
 
22068
     # Hide warnings about reused PIDs.
 
22069
     wait $am_sleep_pid 2>/dev/null
 
22070
   fi
 
22071
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
 
22072
$as_echo "done" >&6; }
 
22073
 if test -n "$EXEEXT"; then
 
22074
  am__EXEEXT_TRUE=
 
22075
  am__EXEEXT_FALSE='#'
 
22076
else
 
22077
  am__EXEEXT_TRUE='#'
 
22078
  am__EXEEXT_FALSE=
 
22079
fi
 
22080
 
 
22081
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
 
22082
  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
 
22083
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22084
fi
 
22085
if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
 
22086
  as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
 
22087
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22088
fi
 
22089
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 
22090
  as_fn_error $? "conditional \"AMDEP\" was never defined.
 
22091
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22092
fi
 
22093
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
22094
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
22095
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22096
fi
 
22097
 
 
22098
  ac_config_commands="$ac_config_commands po/stamp-it"
 
22099
 
 
22100
 
 
22101
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
22102
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
22103
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22104
fi
 
22105
 
 
22106
if test -z "${USE_GUDEV_TRUE}" && test -z "${USE_GUDEV_FALSE}"; then
 
22107
  as_fn_error $? "conditional \"USE_GUDEV\" was never defined.
 
22108
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22109
fi
 
22110
if test -z "${HAVE_HAL_TRUE}" && test -z "${HAVE_HAL_FALSE}"; then
 
22111
  as_fn_error $? "conditional \"HAVE_HAL\" was never defined.
 
22112
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22113
fi
 
22114
if test -z "${USE_IPOD_TRUE}" && test -z "${USE_IPOD_FALSE}"; then
 
22115
  as_fn_error $? "conditional \"USE_IPOD\" was never defined.
 
22116
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22117
fi
 
22118
if test -z "${USE_MTP_TRUE}" && test -z "${USE_MTP_FALSE}"; then
 
22119
  as_fn_error $? "conditional \"USE_MTP\" was never defined.
 
22120
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22121
fi
 
22122
if test -z "${USE_LIBSECRET_TRUE}" && test -z "${USE_LIBSECRET_FALSE}"; then
 
22123
  as_fn_error $? "conditional \"USE_LIBSECRET\" was never defined.
 
22124
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22125
fi
 
22126
if test -z "${USE_TREEDB_TRUE}" && test -z "${USE_TREEDB_FALSE}"; then
 
22127
  as_fn_error $? "conditional \"USE_TREEDB\" was never defined.
 
22128
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22129
fi
 
22130
if test -z "${USE_NOTIFY_TRUE}" && test -z "${USE_NOTIFY_FALSE}"; then
 
22131
  as_fn_error $? "conditional \"USE_NOTIFY\" was never defined.
 
22132
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22133
fi
 
22134
if test -z "${HAVE_LIBBRASERO_MEDIA_TRUE}" && test -z "${HAVE_LIBBRASERO_MEDIA_FALSE}"; then
 
22135
  as_fn_error $? "conditional \"HAVE_LIBBRASERO_MEDIA\" was never defined.
 
22136
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22137
fi
 
22138
if test -z "${WITH_LIRC_TRUE}" && test -z "${WITH_LIRC_FALSE}"; then
 
22139
  as_fn_error $? "conditional \"WITH_LIRC\" was never defined.
 
22140
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22141
fi
 
22142
if test -z "${WITH_WEBKIT_TRUE}" && test -z "${WITH_WEBKIT_FALSE}"; then
 
22143
  as_fn_error $? "conditional \"WITH_WEBKIT\" was never defined.
 
22144
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22145
fi
 
22146
if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
 
22147
  as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
 
22148
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22149
fi
 
22150
if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
 
22151
  as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
 
22152
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22153
fi
 
22154
if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
 
22155
  as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
 
22156
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22157
fi
 
22158
if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
 
22159
  as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
 
22160
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22161
fi
 
22162
if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
 
22163
  as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
 
22164
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22165
fi
 
22166
if test -z "${ENABLE_PYTHON_TRUE}" && test -z "${ENABLE_PYTHON_FALSE}"; then
 
22167
  as_fn_error $? "conditional \"ENABLE_PYTHON\" was never defined.
 
22168
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22169
fi
 
22170
if test -z "${ENABLE_VALA_TRUE}" && test -z "${ENABLE_VALA_FALSE}"; then
 
22171
  as_fn_error $? "conditional \"ENABLE_VALA\" was never defined.
 
22172
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22173
fi
 
22174
if test -z "${ENABLE_FM_RADIO_TRUE}" && test -z "${ENABLE_FM_RADIO_FALSE}"; then
 
22175
  as_fn_error $? "conditional \"ENABLE_FM_RADIO\" was never defined.
 
22176
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22177
fi
 
22178
if test -z "${HAVE_CHECK_TRUE}" && test -z "${HAVE_CHECK_FALSE}"; then
 
22179
  as_fn_error $? "conditional \"HAVE_CHECK\" was never defined.
 
22180
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22181
fi
 
22182
if test -z "${ENABLE_BROWSER_PLUGIN_TRUE}" && test -z "${ENABLE_BROWSER_PLUGIN_FALSE}"; then
 
22183
  as_fn_error $? "conditional \"ENABLE_BROWSER_PLUGIN\" was never defined.
 
22184
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22185
fi
 
22186
if test -z "${USE_LIBDMAPSHARING_TRUE}" && test -z "${USE_LIBDMAPSHARING_FALSE}"; then
 
22187
  as_fn_error $? "conditional \"USE_LIBDMAPSHARING\" was never defined.
 
22188
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22189
fi
 
22190
if test -z "${USE_CLUTTER_TRUE}" && test -z "${USE_CLUTTER_FALSE}"; then
 
22191
  as_fn_error $? "conditional \"USE_CLUTTER\" was never defined.
 
22192
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22193
fi
 
22194
if test -z "${ENABLE_GRILO_TRUE}" && test -z "${ENABLE_GRILO_FALSE}"; then
 
22195
  as_fn_error $? "conditional \"ENABLE_GRILO\" was never defined.
 
22196
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
22197
fi
 
22198
 
 
22199
: "${CONFIG_STATUS=./config.status}"
 
22200
ac_write_fail=0
 
22201
ac_clean_files_save=$ac_clean_files
 
22202
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 
22203
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 
22204
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
22205
as_write_fail=0
 
22206
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
 
22207
#! $SHELL
 
22208
# Generated by $as_me.
 
22209
# Run this file to recreate the current configuration.
 
22210
# Compiler output produced by configure, useful for debugging
 
22211
# configure, is in config.log if it exists.
 
22212
 
 
22213
debug=false
 
22214
ac_cs_recheck=false
 
22215
ac_cs_silent=false
 
22216
 
 
22217
SHELL=\${CONFIG_SHELL-$SHELL}
 
22218
export SHELL
 
22219
_ASEOF
 
22220
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
22221
## -------------------- ##
 
22222
## M4sh Initialization. ##
 
22223
## -------------------- ##
 
22224
 
 
22225
# Be more Bourne compatible
 
22226
DUALCASE=1; export DUALCASE # for MKS sh
 
22227
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 
22228
  emulate sh
 
22229
  NULLCMD=:
 
22230
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
22231
  # is contrary to our usage.  Disable this feature.
 
22232
  alias -g '${1+"$@"}'='"$@"'
 
22233
  setopt NO_GLOB_SUBST
 
22234
else
 
22235
  case `(set -o) 2>/dev/null` in #(
 
22236
  *posix*) :
 
22237
    set -o posix ;; #(
 
22238
  *) :
 
22239
     ;;
 
22240
esac
 
22241
fi
 
22242
 
 
22243
 
 
22244
as_nl='
 
22245
'
 
22246
export as_nl
 
22247
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
22248
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
22249
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
22250
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
22251
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
22252
# but without wasting forks for bash or zsh.
 
22253
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
22254
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
22255
  as_echo='print -r --'
 
22256
  as_echo_n='print -rn --'
 
22257
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
22258
  as_echo='printf %s\n'
 
22259
  as_echo_n='printf %s'
 
22260
else
 
22261
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
22262
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
22263
    as_echo_n='/usr/ucb/echo -n'
 
22264
  else
 
22265
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
22266
    as_echo_n_body='eval
 
22267
      arg=$1;
 
22268
      case $arg in #(
 
22269
      *"$as_nl"*)
 
22270
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
22271
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
22272
      esac;
 
22273
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
22274
    '
 
22275
    export as_echo_n_body
 
22276
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
22277
  fi
 
22278
  export as_echo_body
 
22279
  as_echo='sh -c $as_echo_body as_echo'
 
22280
fi
 
22281
 
 
22282
# The user is always right.
 
22283
if test "${PATH_SEPARATOR+set}" != set; then
 
22284
  PATH_SEPARATOR=:
 
22285
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
22286
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
22287
      PATH_SEPARATOR=';'
 
22288
  }
 
22289
fi
 
22290
 
 
22291
 
 
22292
# IFS
 
22293
# We need space, tab and new line, in precisely that order.  Quoting is
 
22294
# there to prevent editors from complaining about space-tab.
 
22295
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
22296
# splitting by setting IFS to empty value.)
 
22297
IFS=" ""        $as_nl"
 
22298
 
 
22299
# Find who we are.  Look in the path if we contain no directory separator.
 
22300
as_myself=
 
22301
case $0 in #((
 
22302
  *[\\/]* ) as_myself=$0 ;;
 
22303
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
22304
for as_dir in $PATH
 
22305
do
 
22306
  IFS=$as_save_IFS
 
22307
  test -z "$as_dir" && as_dir=.
 
22308
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
22309
  done
 
22310
IFS=$as_save_IFS
 
22311
 
 
22312
     ;;
 
22313
esac
 
22314
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
22315
# in which case we are not to be found in the path.
 
22316
if test "x$as_myself" = x; then
 
22317
  as_myself=$0
 
22318
fi
 
22319
if test ! -f "$as_myself"; then
 
22320
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
22321
  exit 1
 
22322
fi
 
22323
 
 
22324
# Unset variables that we do not need and which cause bugs (e.g. in
 
22325
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
22326
# suppresses any "Segmentation fault" message there.  '((' could
 
22327
# trigger a bug in pdksh 5.2.14.
 
22328
for as_var in BASH_ENV ENV MAIL MAILPATH
 
22329
do eval test x\${$as_var+set} = xset \
 
22330
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 
22331
done
 
22332
PS1='$ '
 
22333
PS2='> '
 
22334
PS4='+ '
 
22335
 
 
22336
# NLS nuisances.
 
22337
LC_ALL=C
 
22338
export LC_ALL
 
22339
LANGUAGE=C
 
22340
export LANGUAGE
 
22341
 
 
22342
# CDPATH.
 
22343
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
22344
 
 
22345
 
 
22346
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
22347
# ----------------------------------------
 
22348
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
22349
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
22350
# script with STATUS, using 1 if that was 0.
 
22351
as_fn_error ()
 
22352
{
 
22353
  as_status=$1; test $as_status -eq 0 && as_status=1
 
22354
  if test "$4"; then
 
22355
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
22356
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
22357
  fi
 
22358
  $as_echo "$as_me: error: $2" >&2
 
22359
  as_fn_exit $as_status
 
22360
} # as_fn_error
 
22361
 
 
22362
 
 
22363
# as_fn_set_status STATUS
 
22364
# -----------------------
 
22365
# Set $? to STATUS, without forking.
 
22366
as_fn_set_status ()
 
22367
{
 
22368
  return $1
 
22369
} # as_fn_set_status
 
22370
 
 
22371
# as_fn_exit STATUS
 
22372
# -----------------
 
22373
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
22374
as_fn_exit ()
 
22375
{
 
22376
  set +e
 
22377
  as_fn_set_status $1
 
22378
  exit $1
 
22379
} # as_fn_exit
 
22380
 
 
22381
# as_fn_unset VAR
 
22382
# ---------------
 
22383
# Portably unset VAR.
 
22384
as_fn_unset ()
 
22385
{
 
22386
  { eval $1=; unset $1;}
 
22387
}
 
22388
as_unset=as_fn_unset
 
22389
# as_fn_append VAR VALUE
 
22390
# ----------------------
 
22391
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
22392
# advantage of any shell optimizations that allow amortized linear growth over
 
22393
# repeated appends, instead of the typical quadratic growth present in naive
 
22394
# implementations.
 
22395
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
22396
  eval 'as_fn_append ()
 
22397
  {
 
22398
    eval $1+=\$2
 
22399
  }'
 
22400
else
 
22401
  as_fn_append ()
 
22402
  {
 
22403
    eval $1=\$$1\$2
 
22404
  }
 
22405
fi # as_fn_append
 
22406
 
 
22407
# as_fn_arith ARG...
 
22408
# ------------------
 
22409
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
22410
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
22411
# must be portable across $(()) and expr.
 
22412
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
22413
  eval 'as_fn_arith ()
 
22414
  {
 
22415
    as_val=$(( $* ))
 
22416
  }'
 
22417
else
 
22418
  as_fn_arith ()
 
22419
  {
 
22420
    as_val=`expr "$@" || test $? -eq 1`
 
22421
  }
 
22422
fi # as_fn_arith
 
22423
 
 
22424
 
 
22425
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
22426
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
22427
  as_expr=expr
 
22428
else
 
22429
  as_expr=false
 
22430
fi
 
22431
 
 
22432
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
22433
  as_basename=basename
 
22434
else
 
22435
  as_basename=false
 
22436
fi
 
22437
 
 
22438
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
22439
  as_dirname=dirname
 
22440
else
 
22441
  as_dirname=false
 
22442
fi
 
22443
 
 
22444
as_me=`$as_basename -- "$0" ||
 
22445
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
22446
         X"$0" : 'X\(//\)$' \| \
 
22447
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
22448
$as_echo X/"$0" |
 
22449
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
22450
            s//\1/
 
22451
            q
 
22452
          }
 
22453
          /^X\/\(\/\/\)$/{
 
22454
            s//\1/
 
22455
            q
 
22456
          }
 
22457
          /^X\/\(\/\).*/{
 
22458
            s//\1/
 
22459
            q
 
22460
          }
 
22461
          s/.*/./; q'`
 
22462
 
 
22463
# Avoid depending upon Character Ranges.
 
22464
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
22465
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
22466
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
22467
as_cr_digits='0123456789'
 
22468
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
22469
 
 
22470
ECHO_C= ECHO_N= ECHO_T=
 
22471
case `echo -n x` in #(((((
 
22472
-n*)
 
22473
  case `echo 'xy\c'` in
 
22474
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
22475
  xy)  ECHO_C='\c';;
 
22476
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
22477
       ECHO_T=' ';;
 
22478
  esac;;
 
22479
*)
 
22480
  ECHO_N='-n';;
 
22481
esac
 
22482
 
 
22483
rm -f conf$$ conf$$.exe conf$$.file
 
22484
if test -d conf$$.dir; then
 
22485
  rm -f conf$$.dir/conf$$.file
 
22486
else
 
22487
  rm -f conf$$.dir
 
22488
  mkdir conf$$.dir 2>/dev/null
 
22489
fi
 
22490
if (echo >conf$$.file) 2>/dev/null; then
 
22491
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
22492
    as_ln_s='ln -s'
 
22493
    # ... but there are two gotchas:
 
22494
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
22495
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
22496
    # In both cases, we have to default to `cp -pR'.
 
22497
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
22498
      as_ln_s='cp -pR'
 
22499
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
22500
    as_ln_s=ln
 
22501
  else
 
22502
    as_ln_s='cp -pR'
 
22503
  fi
 
22504
else
 
22505
  as_ln_s='cp -pR'
 
22506
fi
 
22507
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
22508
rmdir conf$$.dir 2>/dev/null
 
22509
 
 
22510
 
 
22511
# as_fn_mkdir_p
 
22512
# -------------
 
22513
# Create "$as_dir" as a directory, including parents if necessary.
 
22514
as_fn_mkdir_p ()
 
22515
{
 
22516
 
 
22517
  case $as_dir in #(
 
22518
  -*) as_dir=./$as_dir;;
 
22519
  esac
 
22520
  test -d "$as_dir" || eval $as_mkdir_p || {
 
22521
    as_dirs=
 
22522
    while :; do
 
22523
      case $as_dir in #(
 
22524
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
22525
      *) as_qdir=$as_dir;;
 
22526
      esac
 
22527
      as_dirs="'$as_qdir' $as_dirs"
 
22528
      as_dir=`$as_dirname -- "$as_dir" ||
 
22529
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
22530
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
22531
         X"$as_dir" : 'X\(//\)$' \| \
 
22532
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
22533
$as_echo X"$as_dir" |
 
22534
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
22535
            s//\1/
 
22536
            q
 
22537
          }
 
22538
          /^X\(\/\/\)[^/].*/{
 
22539
            s//\1/
 
22540
            q
 
22541
          }
 
22542
          /^X\(\/\/\)$/{
 
22543
            s//\1/
 
22544
            q
 
22545
          }
 
22546
          /^X\(\/\).*/{
 
22547
            s//\1/
 
22548
            q
 
22549
          }
 
22550
          s/.*/./; q'`
 
22551
      test -d "$as_dir" && break
 
22552
    done
 
22553
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
22554
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
22555
 
 
22556
 
 
22557
} # as_fn_mkdir_p
 
22558
if mkdir -p . 2>/dev/null; then
 
22559
  as_mkdir_p='mkdir -p "$as_dir"'
 
22560
else
 
22561
  test -d ./-p && rmdir ./-p
 
22562
  as_mkdir_p=false
 
22563
fi
 
22564
 
 
22565
 
 
22566
# as_fn_executable_p FILE
 
22567
# -----------------------
 
22568
# Test if FILE is an executable regular file.
 
22569
as_fn_executable_p ()
 
22570
{
 
22571
  test -f "$1" && test -x "$1"
 
22572
} # as_fn_executable_p
 
22573
as_test_x='test -x'
 
22574
as_executable_p=as_fn_executable_p
 
22575
 
 
22576
# Sed expression to map a string onto a valid CPP name.
 
22577
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
22578
 
 
22579
# Sed expression to map a string onto a valid variable name.
 
22580
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
22581
 
 
22582
 
 
22583
exec 6>&1
 
22584
## ----------------------------------- ##
 
22585
## Main body of $CONFIG_STATUS script. ##
 
22586
## ----------------------------------- ##
 
22587
_ASEOF
 
22588
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
 
22589
 
 
22590
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
22591
# Save the log message, to keep $0 and so on meaningful, and to
 
22592
# report actual input values of CONFIG_FILES etc. instead of their
 
22593
# values after options handling.
 
22594
ac_log="
 
22595
This file was extended by rhythmbox $as_me 3.0.1, which was
 
22596
generated by GNU Autoconf 2.69.  Invocation command line was
 
22597
 
 
22598
  CONFIG_FILES    = $CONFIG_FILES
 
22599
  CONFIG_HEADERS  = $CONFIG_HEADERS
 
22600
  CONFIG_LINKS    = $CONFIG_LINKS
 
22601
  CONFIG_COMMANDS = $CONFIG_COMMANDS
 
22602
  $ $0 $@
 
22603
 
 
22604
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
22605
"
 
22606
 
 
22607
_ACEOF
 
22608
 
 
22609
case $ac_config_files in *"
 
22610
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
22611
esac
 
22612
 
 
22613
case $ac_config_headers in *"
 
22614
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
22615
esac
 
22616
 
 
22617
 
 
22618
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
22619
# Files that config.status was made for.
 
22620
config_files="$ac_config_files"
 
22621
config_headers="$ac_config_headers"
 
22622
config_commands="$ac_config_commands"
 
22623
 
 
22624
_ACEOF
 
22625
 
 
22626
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
22627
ac_cs_usage="\
 
22628
\`$as_me' instantiates files and other configuration actions
 
22629
from templates according to the current configuration.  Unless the files
 
22630
and actions are specified as TAGs, all are instantiated by default.
 
22631
 
 
22632
Usage: $0 [OPTION]... [TAG]...
 
22633
 
 
22634
  -h, --help       print this help, then exit
 
22635
  -V, --version    print version number and configuration settings, then exit
 
22636
      --config     print configuration, then exit
 
22637
  -q, --quiet, --silent
 
22638
                   do not print progress messages
 
22639
  -d, --debug      don't remove temporary files
 
22640
      --recheck    update $as_me by reconfiguring in the same conditions
 
22641
      --file=FILE[:TEMPLATE]
 
22642
                   instantiate the configuration file FILE
 
22643
      --header=FILE[:TEMPLATE]
 
22644
                   instantiate the configuration header FILE
 
22645
 
 
22646
Configuration files:
 
22647
$config_files
 
22648
 
 
22649
Configuration headers:
 
22650
$config_headers
 
22651
 
 
22652
Configuration commands:
 
22653
$config_commands
 
22654
 
 
22655
Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=rhythmbox>."
 
22656
 
 
22657
_ACEOF
 
22658
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
22659
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 
22660
ac_cs_version="\\
 
22661
rhythmbox config.status 3.0.1
 
22662
configured by $0, generated by GNU Autoconf 2.69,
 
22663
  with options \\"\$ac_cs_config\\"
 
22664
 
 
22665
Copyright (C) 2012 Free Software Foundation, Inc.
 
22666
This config.status script is free software; the Free Software Foundation
 
22667
gives unlimited permission to copy, distribute and modify it."
 
22668
 
 
22669
ac_pwd='$ac_pwd'
 
22670
srcdir='$srcdir'
 
22671
INSTALL='$INSTALL'
 
22672
MKDIR_P='$MKDIR_P'
 
22673
AWK='$AWK'
 
22674
test -n "\$AWK" || AWK=awk
 
22675
_ACEOF
 
22676
 
 
22677
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
22678
# The default lists apply if the user does not specify any file.
 
22679
ac_need_defaults=:
 
22680
while test $# != 0
 
22681
do
 
22682
  case $1 in
 
22683
  --*=?*)
 
22684
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
22685
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 
22686
    ac_shift=:
 
22687
    ;;
 
22688
  --*=)
 
22689
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
22690
    ac_optarg=
 
22691
    ac_shift=:
 
22692
    ;;
 
22693
  *)
 
22694
    ac_option=$1
 
22695
    ac_optarg=$2
 
22696
    ac_shift=shift
 
22697
    ;;
 
22698
  esac
 
22699
 
 
22700
  case $ac_option in
 
22701
  # Handling of the options.
 
22702
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 
22703
    ac_cs_recheck=: ;;
 
22704
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
22705
    $as_echo "$ac_cs_version"; exit ;;
 
22706
  --config | --confi | --conf | --con | --co | --c )
 
22707
    $as_echo "$ac_cs_config"; exit ;;
 
22708
  --debug | --debu | --deb | --de | --d | -d )
 
22709
    debug=: ;;
 
22710
  --file | --fil | --fi | --f )
 
22711
    $ac_shift
 
22712
    case $ac_optarg in
 
22713
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
22714
    '') as_fn_error $? "missing file argument" ;;
 
22715
    esac
 
22716
    as_fn_append CONFIG_FILES " '$ac_optarg'"
 
22717
    ac_need_defaults=false;;
 
22718
  --header | --heade | --head | --hea )
 
22719
    $ac_shift
 
22720
    case $ac_optarg in
 
22721
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
22722
    esac
 
22723
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
 
22724
    ac_need_defaults=false;;
 
22725
  --he | --h)
 
22726
    # Conflict between --help and --header
 
22727
    as_fn_error $? "ambiguous option: \`$1'
 
22728
Try \`$0 --help' for more information.";;
 
22729
  --help | --hel | -h )
 
22730
    $as_echo "$ac_cs_usage"; exit ;;
 
22731
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
22732
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
 
22733
    ac_cs_silent=: ;;
 
22734
 
 
22735
  # This is an error.
 
22736
  -*) as_fn_error $? "unrecognized option: \`$1'
 
22737
Try \`$0 --help' for more information." ;;
 
22738
 
 
22739
  *) as_fn_append ac_config_targets " $1"
 
22740
     ac_need_defaults=false ;;
 
22741
 
 
22742
  esac
 
22743
  shift
 
22744
done
 
22745
 
 
22746
ac_configure_extra_args=
 
22747
 
 
22748
if $ac_cs_silent; then
 
22749
  exec 6>/dev/null
 
22750
  ac_configure_extra_args="$ac_configure_extra_args --silent"
 
22751
fi
 
22752
 
 
22753
_ACEOF
 
22754
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
22755
if \$ac_cs_recheck; then
 
22756
  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
22757
  shift
 
22758
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
22759
  CONFIG_SHELL='$SHELL'
 
22760
  export CONFIG_SHELL
 
22761
  exec "\$@"
 
22762
fi
 
22763
 
 
22764
_ACEOF
 
22765
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
22766
exec 5>>config.log
 
22767
{
 
22768
  echo
 
22769
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
22770
## Running $as_me. ##
 
22771
_ASBOX
 
22772
  $as_echo "$ac_log"
 
22773
} >&5
 
22774
 
 
22775
_ACEOF
 
22776
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
22777
#
 
22778
# INIT-COMMANDS
 
22779
#
 
22780
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 
22781
 
 
22782
 
 
22783
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
22784
# if CDPATH is set.
 
22785
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
22786
 
 
22787
sed_quote_subst='$sed_quote_subst'
 
22788
double_quote_subst='$double_quote_subst'
 
22789
delay_variable_subst='$delay_variable_subst'
 
22790
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
 
22791
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
 
22792
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
 
22793
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
 
22794
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
 
22795
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
 
22796
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
 
22797
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
 
22798
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
 
22799
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
 
22800
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
 
22801
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
 
22802
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
 
22803
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
 
22804
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
 
22805
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
 
22806
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
 
22807
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
 
22808
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
 
22809
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
 
22810
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
 
22811
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
 
22812
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
 
22813
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
 
22814
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
 
22815
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
 
22816
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
 
22817
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
 
22818
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
 
22819
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
 
22820
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
 
22821
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
 
22822
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
 
22823
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
 
22824
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
 
22825
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
 
22826
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
 
22827
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
 
22828
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
 
22829
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
 
22830
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
 
22831
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
 
22832
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
 
22833
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
 
22834
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
 
22835
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
22836
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
22837
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
 
22838
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
 
22839
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
 
22840
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
 
22841
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
 
22842
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
 
22843
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
 
22844
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
 
22845
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
 
22846
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"`'
 
22847
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
 
22848
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
 
22849
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
 
22850
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
 
22851
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
 
22852
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
 
22853
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
 
22854
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
 
22855
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
 
22856
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
 
22857
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
 
22858
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
 
22859
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
 
22860
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
 
22861
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
 
22862
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
 
22863
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
 
22864
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
 
22865
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
22866
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
 
22867
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
 
22868
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
 
22869
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
 
22870
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
 
22871
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
 
22872
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
22873
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
 
22874
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
22875
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
 
22876
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
22877
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
 
22878
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
22879
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
22880
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
 
22881
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
 
22882
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
 
22883
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
 
22884
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
 
22885
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
22886
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
 
22887
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
 
22888
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
 
22889
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
 
22890
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
 
22891
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
 
22892
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
 
22893
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
 
22894
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
 
22895
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
 
22896
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
 
22897
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
22898
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
 
22899
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
 
22900
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
 
22901
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
22902
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
 
22903
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
 
22904
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
 
22905
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
 
22906
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
 
22907
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
22908
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
22909
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
 
22910
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
 
22911
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
 
22912
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
 
22913
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
 
22914
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
 
22915
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
 
22916
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
 
22917
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
 
22918
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
 
22919
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
 
22920
 
 
22921
LTCC='$LTCC'
 
22922
LTCFLAGS='$LTCFLAGS'
 
22923
compiler='$compiler_DEFAULT'
 
22924
 
 
22925
# A function that is used when there is no print builtin or printf.
 
22926
func_fallback_echo ()
 
22927
{
 
22928
  eval 'cat <<_LTECHO_EOF
 
22929
\$1
 
22930
_LTECHO_EOF'
 
22931
}
 
22932
 
 
22933
# Quote evaled strings.
 
22934
for var in SHELL \
 
22935
ECHO \
 
22936
PATH_SEPARATOR \
 
22937
SED \
 
22938
GREP \
 
22939
EGREP \
 
22940
FGREP \
 
22941
LD \
 
22942
NM \
 
22943
LN_S \
 
22944
lt_SP2NL \
 
22945
lt_NL2SP \
 
22946
reload_flag \
 
22947
OBJDUMP \
 
22948
deplibs_check_method \
 
22949
file_magic_cmd \
 
22950
file_magic_glob \
 
22951
want_nocaseglob \
 
22952
DLLTOOL \
 
22953
sharedlib_from_linklib_cmd \
 
22954
AR \
 
22955
AR_FLAGS \
 
22956
archiver_list_spec \
 
22957
STRIP \
 
22958
RANLIB \
 
22959
CC \
 
22960
CFLAGS \
 
22961
compiler \
 
22962
lt_cv_sys_global_symbol_pipe \
 
22963
lt_cv_sys_global_symbol_to_cdecl \
 
22964
lt_cv_sys_global_symbol_to_c_name_address \
 
22965
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
22966
nm_file_list_spec \
 
22967
lt_prog_compiler_no_builtin_flag \
 
22968
lt_prog_compiler_pic \
 
22969
lt_prog_compiler_wl \
 
22970
lt_prog_compiler_static \
 
22971
lt_cv_prog_compiler_c_o \
 
22972
need_locks \
 
22973
MANIFEST_TOOL \
 
22974
DSYMUTIL \
 
22975
NMEDIT \
 
22976
LIPO \
 
22977
OTOOL \
 
22978
OTOOL64 \
 
22979
shrext_cmds \
 
22980
export_dynamic_flag_spec \
 
22981
whole_archive_flag_spec \
 
22982
compiler_needs_object \
 
22983
with_gnu_ld \
 
22984
allow_undefined_flag \
 
22985
no_undefined_flag \
 
22986
hardcode_libdir_flag_spec \
 
22987
hardcode_libdir_separator \
 
22988
exclude_expsyms \
 
22989
include_expsyms \
 
22990
file_list_spec \
 
22991
variables_saved_for_relink \
 
22992
libname_spec \
 
22993
library_names_spec \
 
22994
soname_spec \
 
22995
install_override_mode \
 
22996
finish_eval \
 
22997
old_striplib \
 
22998
striplib; do
 
22999
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
 
23000
    *[\\\\\\\`\\"\\\$]*)
 
23001
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
23002
      ;;
 
23003
    *)
 
23004
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
23005
      ;;
 
23006
    esac
 
23007
done
 
23008
 
 
23009
# Double-quote double-evaled strings.
 
23010
for var in reload_cmds \
 
23011
old_postinstall_cmds \
 
23012
old_postuninstall_cmds \
 
23013
old_archive_cmds \
 
23014
extract_expsyms_cmds \
 
23015
old_archive_from_new_cmds \
 
23016
old_archive_from_expsyms_cmds \
 
23017
archive_cmds \
 
23018
archive_expsym_cmds \
 
23019
module_cmds \
 
23020
module_expsym_cmds \
 
23021
export_symbols_cmds \
 
23022
prelink_cmds \
 
23023
postlink_cmds \
 
23024
postinstall_cmds \
 
23025
postuninstall_cmds \
 
23026
finish_cmds \
 
23027
sys_lib_search_path_spec \
 
23028
sys_lib_dlsearch_path_spec; do
 
23029
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
 
23030
    *[\\\\\\\`\\"\\\$]*)
 
23031
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
23032
      ;;
 
23033
    *)
 
23034
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
23035
      ;;
 
23036
    esac
 
23037
done
 
23038
 
 
23039
ac_aux_dir='$ac_aux_dir'
 
23040
xsi_shell='$xsi_shell'
 
23041
lt_shell_append='$lt_shell_append'
 
23042
 
 
23043
# See if we are running on zsh, and set the options which allow our
 
23044
# commands through without removal of \ escapes INIT.
 
23045
if test -n "\${ZSH_VERSION+set}" ; then
 
23046
   setopt NO_GLOB_SUBST
 
23047
fi
 
23048
 
 
23049
 
 
23050
    PACKAGE='$PACKAGE'
 
23051
    VERSION='$VERSION'
 
23052
    TIMESTAMP='$TIMESTAMP'
 
23053
    RM='$RM'
 
23054
    ofile='$ofile'
 
23055
 
 
23056
ac_aux_dir='$ac_aux_dir'
 
23057
 
 
23058
 
 
23059
# Capture the value of obsolete ALL_LINGUAS because we need it to compute
 
23060
    # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
 
23061
    # from automake < 1.5.
 
23062
    eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
 
23063
    # Capture the value of LINGUAS because we need it to compute CATALOGS.
 
23064
    LINGUAS="${LINGUAS-%UNSET%}"
 
23065
 
 
23066
 
 
23067
_ACEOF
 
23068
 
 
23069
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
23070
 
 
23071
# Handling of arguments.
 
23072
for ac_config_target in $ac_config_targets
 
23073
do
 
23074
  case $ac_config_target in
 
23075
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
23076
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
23077
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
 
23078
    "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
 
23079
    "rhythmbox.pc") CONFIG_FILES="$CONFIG_FILES rhythmbox.pc" ;;
 
23080
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
23081
    "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
 
23082
    "lib/libmediaplayerid/Makefile") CONFIG_FILES="$CONFIG_FILES lib/libmediaplayerid/Makefile" ;;
 
23083
    "metadata/Makefile") CONFIG_FILES="$CONFIG_FILES metadata/Makefile" ;;
 
23084
    "rhythmdb/Makefile") CONFIG_FILES="$CONFIG_FILES rhythmdb/Makefile" ;;
 
23085
    "widgets/Makefile") CONFIG_FILES="$CONFIG_FILES widgets/Makefile" ;;
 
23086
    "podcast/Makefile") CONFIG_FILES="$CONFIG_FILES podcast/Makefile" ;;
 
23087
    "shell/Makefile") CONFIG_FILES="$CONFIG_FILES shell/Makefile" ;;
 
23088
    "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
 
23089
    "data/rhythmbox.desktop.in") CONFIG_FILES="$CONFIG_FILES data/rhythmbox.desktop.in" ;;
 
23090
    "data/rhythmbox-device.desktop.in") CONFIG_FILES="$CONFIG_FILES data/rhythmbox-device.desktop.in" ;;
 
23091
    "data/ui/Makefile") CONFIG_FILES="$CONFIG_FILES data/ui/Makefile" ;;
 
23092
    "data/icons/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/Makefile" ;;
 
23093
    "data/icons/hicolor/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/Makefile" ;;
 
23094
    "data/icons/hicolor/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/16x16/Makefile" ;;
 
23095
    "data/icons/hicolor/16x16/apps/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/16x16/apps/Makefile" ;;
 
23096
    "data/icons/hicolor/16x16/status/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/16x16/status/Makefile" ;;
 
23097
    "data/icons/hicolor/22x22/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/22x22/Makefile" ;;
 
23098
    "data/icons/hicolor/22x22/apps/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/22x22/apps/Makefile" ;;
 
23099
    "data/icons/hicolor/24x24/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/24x24/Makefile" ;;
 
23100
    "data/icons/hicolor/24x24/apps/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/24x24/apps/Makefile" ;;
 
23101
    "data/icons/hicolor/32x32/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/32x32/Makefile" ;;
 
23102
    "data/icons/hicolor/32x32/apps/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/32x32/apps/Makefile" ;;
 
23103
    "data/icons/hicolor/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/48x48/Makefile" ;;
 
23104
    "data/icons/hicolor/48x48/apps/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/48x48/apps/Makefile" ;;
 
23105
    "data/icons/hicolor/48x48/status/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/48x48/status/Makefile" ;;
 
23106
    "data/icons/hicolor/256x256/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/256x256/Makefile" ;;
 
23107
    "data/icons/hicolor/256x256/apps/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/256x256/apps/Makefile" ;;
 
23108
    "data/icons/hicolor/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/scalable/Makefile" ;;
 
23109
    "data/icons/hicolor/scalable/apps/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/scalable/apps/Makefile" ;;
 
23110
    "data/icons/src/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/src/Makefile" ;;
 
23111
    "sources/Makefile") CONFIG_FILES="$CONFIG_FILES sources/Makefile" ;;
 
23112
    "sources/sync/Makefile") CONFIG_FILES="$CONFIG_FILES sources/sync/Makefile" ;;
 
23113
    "plugins/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/Makefile" ;;
 
23114
    "plugins/audiocd/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/audiocd/Makefile" ;;
 
23115
    "plugins/audioscrobbler/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/audioscrobbler/Makefile" ;;
 
23116
    "plugins/brasero-disc-recorder/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/brasero-disc-recorder/Makefile" ;;
 
23117
    "plugins/daap/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/daap/Makefile" ;;
 
23118
    "plugins/fmradio/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/fmradio/Makefile" ;;
 
23119
    "plugins/im-status/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/im-status/Makefile" ;;
 
23120
    "plugins/ipod/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/ipod/Makefile" ;;
 
23121
    "plugins/mtpdevice/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/mtpdevice/Makefile" ;;
 
23122
    "plugins/iradio/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/iradio/Makefile" ;;
 
23123
    "plugins/lirc/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/lirc/Makefile" ;;
 
23124
    "plugins/lyrics/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/lyrics/Makefile" ;;
 
23125
    "plugins/pythonconsole/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/pythonconsole/Makefile" ;;
 
23126
    "plugins/artsearch/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/artsearch/Makefile" ;;
 
23127
    "plugins/magnatune/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/magnatune/Makefile" ;;
 
23128
    "plugins/generic-player/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/generic-player/Makefile" ;;
 
23129
    "plugins/rb/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/rb/Makefile" ;;
 
23130
    "plugins/rb/rbconfig.py") CONFIG_FILES="$CONFIG_FILES plugins/rb/rbconfig.py" ;;
 
23131
    "plugins/power-manager/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/power-manager/Makefile" ;;
 
23132
    "plugins/mmkeys/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/mmkeys/Makefile" ;;
 
23133
    "plugins/context/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/context/Makefile" ;;
 
23134
    "plugins/sendto/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/sendto/Makefile" ;;
 
23135
    "plugins/replaygain/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/replaygain/Makefile" ;;
 
23136
    "plugins/mpris/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/mpris/Makefile" ;;
 
23137
    "plugins/dbus-media-server/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/dbus-media-server/Makefile" ;;
 
23138
    "plugins/rbzeitgeist/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/rbzeitgeist/Makefile" ;;
 
23139
    "plugins/notification/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/notification/Makefile" ;;
 
23140
    "plugins/visualizer/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/visualizer/Makefile" ;;
 
23141
    "plugins/grilo/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/grilo/Makefile" ;;
 
23142
    "sample-plugins/Makefile") CONFIG_FILES="$CONFIG_FILES sample-plugins/Makefile" ;;
 
23143
    "sample-plugins/sample/Makefile") CONFIG_FILES="$CONFIG_FILES sample-plugins/sample/Makefile" ;;
 
23144
    "sample-plugins/sample-python/Makefile") CONFIG_FILES="$CONFIG_FILES sample-plugins/sample-python/Makefile" ;;
 
23145
    "sample-plugins/sample-vala/Makefile") CONFIG_FILES="$CONFIG_FILES sample-plugins/sample-vala/Makefile" ;;
 
23146
    "bindings/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/Makefile" ;;
 
23147
    "bindings/vala/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/vala/Makefile" ;;
 
23148
    "bindings/gi/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/gi/Makefile" ;;
 
23149
    "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
 
23150
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
 
23151
    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
 
23152
    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
 
23153
    "doc/reference/Makefile") CONFIG_FILES="$CONFIG_FILES doc/reference/Makefile" ;;
 
23154
    "backends/Makefile") CONFIG_FILES="$CONFIG_FILES backends/Makefile" ;;
 
23155
    "backends/gstreamer/Makefile") CONFIG_FILES="$CONFIG_FILES backends/gstreamer/Makefile" ;;
 
23156
    "remote/Makefile") CONFIG_FILES="$CONFIG_FILES remote/Makefile" ;;
 
23157
    "remote/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES remote/dbus/Makefile" ;;
 
23158
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
 
23159
 
 
23160
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 
23161
  esac
 
23162
done
 
23163
 
 
23164
 
 
23165
# If the user did not use the arguments to specify the items to instantiate,
 
23166
# then the envvar interface is used.  Set only those that are not.
 
23167
# We use the long form for the default assignment because of an extremely
 
23168
# bizarre bug on SunOS 4.1.3.
 
23169
if $ac_need_defaults; then
 
23170
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 
23171
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
 
23172
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
 
23173
fi
 
23174
 
 
23175
# Have a temporary directory for convenience.  Make it in the build tree
 
23176
# simply because there is no reason against having it here, and in addition,
 
23177
# creating and moving files from /tmp can sometimes cause problems.
 
23178
# Hook for its removal unless debugging.
 
23179
# Note that there is a small window in which the directory will not be cleaned:
 
23180
# after its creation but before its name has been assigned to `$tmp'.
 
23181
$debug ||
 
23182
{
 
23183
  tmp= ac_tmp=
 
23184
  trap 'exit_status=$?
 
23185
  : "${ac_tmp:=$tmp}"
 
23186
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
 
23187
' 0
 
23188
  trap 'as_fn_exit 1' 1 2 13 15
 
23189
}
 
23190
# Create a (secure) tmp directory for tmp files.
 
23191
 
 
23192
{
 
23193
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 
23194
  test -d "$tmp"
 
23195
}  ||
 
23196
{
 
23197
  tmp=./conf$$-$RANDOM
 
23198
  (umask 077 && mkdir "$tmp")
 
23199
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
23200
ac_tmp=$tmp
 
23201
 
 
23202
# Set up the scripts for CONFIG_FILES section.
 
23203
# No need to generate them if there are no CONFIG_FILES.
 
23204
# This happens for instance with `./config.status config.h'.
 
23205
if test -n "$CONFIG_FILES"; then
 
23206
 
 
23207
 
 
23208
ac_cr=`echo X | tr X '\015'`
 
23209
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
23210
# But we know of no other shell where ac_cr would be empty at this
 
23211
# point, so we can use a bashism as a fallback.
 
23212
if test "x$ac_cr" = x; then
 
23213
  eval ac_cr=\$\'\\r\'
 
23214
fi
 
23215
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
23216
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
23217
  ac_cs_awk_cr='\\r'
 
23218
else
 
23219
  ac_cs_awk_cr=$ac_cr
 
23220
fi
 
23221
 
 
23222
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
 
23223
_ACEOF
 
23224
 
 
23225
 
 
23226
{
 
23227
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
23228
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
23229
  echo "_ACEOF"
 
23230
} >conf$$subs.sh ||
 
23231
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
23232
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
 
23233
ac_delim='%!_!# '
 
23234
for ac_last_try in false false false false false :; do
 
23235
  . ./conf$$subs.sh ||
 
23236
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
23237
 
 
23238
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
23239
  if test $ac_delim_n = $ac_delim_num; then
 
23240
    break
 
23241
  elif $ac_last_try; then
 
23242
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
23243
  else
 
23244
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
23245
  fi
 
23246
done
 
23247
rm -f conf$$subs.sh
 
23248
 
 
23249
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
23250
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
 
23251
_ACEOF
 
23252
sed -n '
 
23253
h
 
23254
s/^/S["/; s/!.*/"]=/
 
23255
p
 
23256
g
 
23257
s/^[^!]*!//
 
23258
:repl
 
23259
t repl
 
23260
s/'"$ac_delim"'$//
 
23261
t delim
 
23262
:nl
 
23263
h
 
23264
s/\(.\{148\}\)..*/\1/
 
23265
t more1
 
23266
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
23267
p
 
23268
n
 
23269
b repl
 
23270
:more1
 
23271
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
23272
p
 
23273
g
 
23274
s/.\{148\}//
 
23275
t nl
 
23276
:delim
 
23277
h
 
23278
s/\(.\{148\}\)..*/\1/
 
23279
t more2
 
23280
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
23281
p
 
23282
b
 
23283
:more2
 
23284
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
23285
p
 
23286
g
 
23287
s/.\{148\}//
 
23288
t delim
 
23289
' <conf$$subs.awk | sed '
 
23290
/^[^""]/{
 
23291
  N
 
23292
  s/\n//
 
23293
}
 
23294
' >>$CONFIG_STATUS || ac_write_fail=1
 
23295
rm -f conf$$subs.awk
 
23296
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
23297
_ACAWK
 
23298
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
 
23299
  for (key in S) S_is_set[key] = 1
 
23300
  FS = ""
 
23301
 
 
23302
}
 
23303
{
 
23304
  line = $ 0
 
23305
  nfields = split(line, field, "@")
 
23306
  substed = 0
 
23307
  len = length(field[1])
 
23308
  for (i = 2; i < nfields; i++) {
 
23309
    key = field[i]
 
23310
    keylen = length(key)
 
23311
    if (S_is_set[key]) {
 
23312
      value = S[key]
 
23313
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
23314
      len += length(value) + length(field[++i])
 
23315
      substed = 1
 
23316
    } else
 
23317
      len += 1 + keylen
 
23318
  }
 
23319
 
 
23320
  print line
 
23321
}
 
23322
 
 
23323
_ACAWK
 
23324
_ACEOF
 
23325
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
23326
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
23327
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
23328
else
 
23329
  cat
 
23330
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
 
23331
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
 
23332
_ACEOF
 
23333
 
 
23334
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 
23335
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
 
23336
# trailing colons and then remove the whole line if VPATH becomes empty
 
23337
# (actually we leave an empty line to preserve line numbers).
 
23338
if test "x$srcdir" = x.; then
 
23339
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 
23340
h
 
23341
s///
 
23342
s/^/:/
 
23343
s/[      ]*$/:/
 
23344
s/:\$(srcdir):/:/g
 
23345
s/:\${srcdir}:/:/g
 
23346
s/:@srcdir@:/:/g
 
23347
s/^:*//
 
23348
s/:*$//
 
23349
x
 
23350
s/\(=[   ]*\).*/\1/
 
23351
G
 
23352
s/\n//
 
23353
s/^[^=]*=[       ]*$//
 
23354
}'
 
23355
fi
 
23356
 
 
23357
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
23358
fi # test -n "$CONFIG_FILES"
 
23359
 
 
23360
# Set up the scripts for CONFIG_HEADERS section.
 
23361
# No need to generate them if there are no CONFIG_HEADERS.
 
23362
# This happens for instance with `./config.status Makefile'.
 
23363
if test -n "$CONFIG_HEADERS"; then
 
23364
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
 
23365
BEGIN {
 
23366
_ACEOF
 
23367
 
 
23368
# Transform confdefs.h into an awk script `defines.awk', embedded as
 
23369
# here-document in config.status, that substitutes the proper values into
 
23370
# config.h.in to produce config.h.
 
23371
 
 
23372
# Create a delimiter string that does not exist in confdefs.h, to ease
 
23373
# handling of long lines.
 
23374
ac_delim='%!_!# '
 
23375
for ac_last_try in false false :; do
 
23376
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 
23377
  if test -z "$ac_tt"; then
 
23378
    break
 
23379
  elif $ac_last_try; then
 
23380
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
 
23381
  else
 
23382
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
23383
  fi
 
23384
done
 
23385
 
 
23386
# For the awk script, D is an array of macro values keyed by name,
 
23387
# likewise P contains macro parameters if any.  Preserve backslash
 
23388
# newline sequences.
 
23389
 
 
23390
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
23391
sed -n '
 
23392
s/.\{148\}/&'"$ac_delim"'/g
 
23393
t rset
 
23394
:rset
 
23395
s/^[     ]*#[    ]*define[       ][      ]*/ /
 
23396
t def
 
23397
d
 
23398
:def
 
23399
s/\\$//
 
23400
t bsnl
 
23401
s/["\\]/\\&/g
 
23402
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
23403
D["\1"]=" \3"/p
 
23404
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 
23405
d
 
23406
:bsnl
 
23407
s/["\\]/\\&/g
 
23408
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
23409
D["\1"]=" \3\\\\\\n"\\/p
 
23410
t cont
 
23411
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 
23412
t cont
 
23413
d
 
23414
:cont
 
23415
n
 
23416
s/.\{148\}/&'"$ac_delim"'/g
 
23417
t clear
 
23418
:clear
 
23419
s/\\$//
 
23420
t bsnlc
 
23421
s/["\\]/\\&/g; s/^/"/; s/$/"/p
 
23422
d
 
23423
:bsnlc
 
23424
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 
23425
b cont
 
23426
' <confdefs.h | sed '
 
23427
s/'"$ac_delim"'/"\\\
 
23428
"/g' >>$CONFIG_STATUS || ac_write_fail=1
 
23429
 
 
23430
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
23431
  for (key in D) D_is_set[key] = 1
 
23432
  FS = ""
 
23433
}
 
23434
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 
23435
  line = \$ 0
 
23436
  split(line, arg, " ")
 
23437
  if (arg[1] == "#") {
 
23438
    defundef = arg[2]
 
23439
    mac1 = arg[3]
 
23440
  } else {
 
23441
    defundef = substr(arg[1], 2)
 
23442
    mac1 = arg[2]
 
23443
  }
 
23444
  split(mac1, mac2, "(") #)
 
23445
  macro = mac2[1]
 
23446
  prefix = substr(line, 1, index(line, defundef) - 1)
 
23447
  if (D_is_set[macro]) {
 
23448
    # Preserve the white space surrounding the "#".
 
23449
    print prefix "define", macro P[macro] D[macro]
 
23450
    next
 
23451
  } else {
 
23452
    # Replace #undef with comments.  This is necessary, for example,
 
23453
    # in the case of _POSIX_SOURCE, which is predefined and required
 
23454
    # on some systems where configure will not decide to define it.
 
23455
    if (defundef == "undef") {
 
23456
      print "/*", prefix defundef, macro, "*/"
 
23457
      next
 
23458
    }
 
23459
  }
 
23460
}
 
23461
{ print }
 
23462
_ACAWK
 
23463
_ACEOF
 
23464
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
23465
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
 
23466
fi # test -n "$CONFIG_HEADERS"
 
23467
 
 
23468
 
 
23469
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 
23470
shift
 
23471
for ac_tag
 
23472
do
 
23473
  case $ac_tag in
 
23474
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
23475
  esac
 
23476
  case $ac_mode$ac_tag in
 
23477
  :[FHL]*:*);;
 
23478
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
 
23479
  :[FH]-) ac_tag=-:-;;
 
23480
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
23481
  esac
 
23482
  ac_save_IFS=$IFS
 
23483
  IFS=:
 
23484
  set x $ac_tag
 
23485
  IFS=$ac_save_IFS
 
23486
  shift
 
23487
  ac_file=$1
 
23488
  shift
 
23489
 
 
23490
  case $ac_mode in
 
23491
  :L) ac_source=$1;;
 
23492
  :[FH])
 
23493
    ac_file_inputs=
 
23494
    for ac_f
 
23495
    do
 
23496
      case $ac_f in
 
23497
      -) ac_f="$ac_tmp/stdin";;
 
23498
      *) # Look for the file first in the build tree, then in the source tree
 
23499
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
23500
         # because $ac_f cannot contain `:'.
 
23501
         test -f "$ac_f" ||
 
23502
           case $ac_f in
 
23503
           [\\/$]*) false;;
 
23504
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
23505
           esac ||
 
23506
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 
23507
      esac
 
23508
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
23509
      as_fn_append ac_file_inputs " '$ac_f'"
 
23510
    done
 
23511
 
 
23512
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
23513
    # use $as_me), people would be surprised to read:
 
23514
    #    /* config.h.  Generated by config.status.  */
 
23515
    configure_input='Generated from '`
 
23516
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
23517
        `' by configure.'
 
23518
    if test x"$ac_file" != x-; then
 
23519
      configure_input="$ac_file.  $configure_input"
 
23520
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
 
23521
$as_echo "$as_me: creating $ac_file" >&6;}
 
23522
    fi
 
23523
    # Neutralize special characters interpreted by sed in replacement strings.
 
23524
    case $configure_input in #(
 
23525
    *\&* | *\|* | *\\* )
 
23526
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
23527
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
23528
    *) ac_sed_conf_input=$configure_input;;
 
23529
    esac
 
23530
 
 
23531
    case $ac_tag in
 
23532
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
23533
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
 
23534
    esac
 
23535
    ;;
 
23536
  esac
 
23537
 
 
23538
  ac_dir=`$as_dirname -- "$ac_file" ||
 
23539
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
23540
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
23541
         X"$ac_file" : 'X\(//\)$' \| \
 
23542
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 
23543
$as_echo X"$ac_file" |
 
23544
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
23545
            s//\1/
 
23546
            q
 
23547
          }
 
23548
          /^X\(\/\/\)[^/].*/{
 
23549
            s//\1/
 
23550
            q
 
23551
          }
 
23552
          /^X\(\/\/\)$/{
 
23553
            s//\1/
 
23554
            q
 
23555
          }
 
23556
          /^X\(\/\).*/{
 
23557
            s//\1/
 
23558
            q
 
23559
          }
 
23560
          s/.*/./; q'`
 
23561
  as_dir="$ac_dir"; as_fn_mkdir_p
 
23562
  ac_builddir=.
 
23563
 
 
23564
case "$ac_dir" in
 
23565
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
23566
*)
 
23567
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
23568
  # A ".." for each directory in $ac_dir_suffix.
 
23569
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
23570
  case $ac_top_builddir_sub in
 
23571
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
23572
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
23573
  esac ;;
 
23574
esac
 
23575
ac_abs_top_builddir=$ac_pwd
 
23576
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
23577
# for backward compatibility:
 
23578
ac_top_builddir=$ac_top_build_prefix
 
23579
 
 
23580
case $srcdir in
 
23581
  .)  # We are building in place.
 
23582
    ac_srcdir=.
 
23583
    ac_top_srcdir=$ac_top_builddir_sub
 
23584
    ac_abs_top_srcdir=$ac_pwd ;;
 
23585
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
23586
    ac_srcdir=$srcdir$ac_dir_suffix;
 
23587
    ac_top_srcdir=$srcdir
 
23588
    ac_abs_top_srcdir=$srcdir ;;
 
23589
  *) # Relative name.
 
23590
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
23591
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
23592
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
23593
esac
 
23594
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
23595
 
 
23596
 
 
23597
  case $ac_mode in
 
23598
  :F)
 
23599
  #
 
23600
  # CONFIG_FILE
 
23601
  #
 
23602
 
 
23603
  case $INSTALL in
 
23604
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 
23605
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 
23606
  esac
 
23607
  ac_MKDIR_P=$MKDIR_P
 
23608
  case $MKDIR_P in
 
23609
  [\\/$]* | ?:[\\/]* ) ;;
 
23610
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 
23611
  esac
 
23612
_ACEOF
 
23613
 
 
23614
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
23615
# If the template does not know about datarootdir, expand it.
 
23616
# FIXME: This hack should be removed a few years after 2.60.
 
23617
ac_datarootdir_hack=; ac_datarootdir_seen=
 
23618
ac_sed_dataroot='
 
23619
/datarootdir/ {
 
23620
  p
 
23621
  q
 
23622
}
 
23623
/@datadir@/p
 
23624
/@docdir@/p
 
23625
/@infodir@/p
 
23626
/@localedir@/p
 
23627
/@mandir@/p'
 
23628
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 
23629
*datarootdir*) ac_datarootdir_seen=yes;;
 
23630
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
23631
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
23632
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
23633
_ACEOF
 
23634
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
23635
  ac_datarootdir_hack='
 
23636
  s&@datadir@&$datadir&g
 
23637
  s&@docdir@&$docdir&g
 
23638
  s&@infodir@&$infodir&g
 
23639
  s&@localedir@&$localedir&g
 
23640
  s&@mandir@&$mandir&g
 
23641
  s&\\\${datarootdir}&$datarootdir&g' ;;
 
23642
esac
 
23643
_ACEOF
 
23644
 
 
23645
# Neutralize VPATH when `$srcdir' = `.'.
 
23646
# Shell code in configure.ac might set extrasub.
 
23647
# FIXME: do we really want to maintain this feature?
 
23648
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
23649
ac_sed_extra="$ac_vpsub
 
23650
$extrasub
 
23651
_ACEOF
 
23652
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
23653
:t
 
23654
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
23655
s|@configure_input@|$ac_sed_conf_input|;t t
 
23656
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
23657
s&@top_build_prefix@&$ac_top_build_prefix&;t t
 
23658
s&@srcdir@&$ac_srcdir&;t t
 
23659
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
23660
s&@top_srcdir@&$ac_top_srcdir&;t t
 
23661
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
23662
s&@builddir@&$ac_builddir&;t t
 
23663
s&@abs_builddir@&$ac_abs_builddir&;t t
 
23664
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
23665
s&@INSTALL@&$ac_INSTALL&;t t
 
23666
s&@MKDIR_P@&$ac_MKDIR_P&;t t
 
23667
$ac_datarootdir_hack
 
23668
"
 
23669
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
23670
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
23671
 
 
23672
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
23673
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
23674
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
23675
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
 
23676
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
23677
which seems to be undefined.  Please make sure it is defined" >&5
 
23678
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
23679
which seems to be undefined.  Please make sure it is defined" >&2;}
 
23680
 
 
23681
  rm -f "$ac_tmp/stdin"
 
23682
  case $ac_file in
 
23683
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
23684
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
 
23685
  esac \
 
23686
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
23687
 ;;
 
23688
  :H)
 
23689
  #
 
23690
  # CONFIG_HEADER
 
23691
  #
 
23692
  if test x"$ac_file" != x-; then
 
23693
    {
 
23694
      $as_echo "/* $configure_input  */" \
 
23695
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 
23696
    } >"$ac_tmp/config.h" \
 
23697
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
23698
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
 
23699
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
 
23700
$as_echo "$as_me: $ac_file is unchanged" >&6;}
 
23701
    else
 
23702
      rm -f "$ac_file"
 
23703
      mv "$ac_tmp/config.h" "$ac_file" \
 
23704
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
23705
    fi
 
23706
  else
 
23707
    $as_echo "/* $configure_input  */" \
 
23708
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
 
23709
      || as_fn_error $? "could not create -" "$LINENO" 5
 
23710
  fi
 
23711
# Compute "$ac_file"'s index in $config_headers.
 
23712
_am_arg="$ac_file"
 
23713
_am_stamp_count=1
 
23714
for _am_header in $config_headers :; do
 
23715
  case $_am_header in
 
23716
    $_am_arg | $_am_arg:* )
 
23717
      break ;;
 
23718
    * )
 
23719
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
 
23720
  esac
 
23721
done
 
23722
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 
23723
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
23724
         X"$_am_arg" : 'X\(//\)[^/]' \| \
 
23725
         X"$_am_arg" : 'X\(//\)$' \| \
 
23726
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 
23727
$as_echo X"$_am_arg" |
 
23728
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
23729
            s//\1/
 
23730
            q
 
23731
          }
 
23732
          /^X\(\/\/\)[^/].*/{
 
23733
            s//\1/
 
23734
            q
 
23735
          }
 
23736
          /^X\(\/\/\)$/{
 
23737
            s//\1/
 
23738
            q
 
23739
          }
 
23740
          /^X\(\/\).*/{
 
23741
            s//\1/
 
23742
            q
 
23743
          }
 
23744
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
23745
 ;;
 
23746
 
 
23747
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
 
23748
$as_echo "$as_me: executing $ac_file commands" >&6;}
 
23749
 ;;
 
23750
  esac
 
23751
 
 
23752
 
 
23753
  case $ac_file$ac_mode in
 
23754
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 
23755
  # Older Autoconf quotes --file arguments for eval, but not when files
 
23756
  # are listed without --file.  Let's play safe and only enable the eval
 
23757
  # if we detect the quoting.
 
23758
  case $CONFIG_FILES in
 
23759
  *\'*) eval set x "$CONFIG_FILES" ;;
 
23760
  *)   set x $CONFIG_FILES ;;
 
23761
  esac
 
23762
  shift
 
23763
  for mf
 
23764
  do
 
23765
    # Strip MF so we end up with the name of the file.
 
23766
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
23767
    # Check whether this is an Automake generated Makefile or not.
 
23768
    # We used to match only the files named 'Makefile.in', but
 
23769
    # some people rename them; so instead we look at the file content.
 
23770
    # Grep'ing the first line is not enough: some people post-process
 
23771
    # each Makefile.in and add a new line on top of each file to say so.
 
23772
    # Grep'ing the whole file is not good either: AIX grep has a line
 
23773
    # limit of 2048, but all sed's we know have understand at least 4000.
 
23774
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
23775
      dirpart=`$as_dirname -- "$mf" ||
 
23776
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
23777
         X"$mf" : 'X\(//\)[^/]' \| \
 
23778
         X"$mf" : 'X\(//\)$' \| \
 
23779
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 
23780
$as_echo X"$mf" |
 
23781
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
23782
            s//\1/
 
23783
            q
 
23784
          }
 
23785
          /^X\(\/\/\)[^/].*/{
 
23786
            s//\1/
 
23787
            q
 
23788
          }
 
23789
          /^X\(\/\/\)$/{
 
23790
            s//\1/
 
23791
            q
 
23792
          }
 
23793
          /^X\(\/\).*/{
 
23794
            s//\1/
 
23795
            q
 
23796
          }
 
23797
          s/.*/./; q'`
 
23798
    else
 
23799
      continue
 
23800
    fi
 
23801
    # Extract the definition of DEPDIR, am__include, and am__quote
 
23802
    # from the Makefile without running 'make'.
 
23803
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
23804
    test -z "$DEPDIR" && continue
 
23805
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
23806
    test -z "$am__include" && continue
 
23807
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
23808
    # Find all dependency output files, they are included files with
 
23809
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
23810
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
23811
    # expansion.
 
23812
    for file in `sed -n "
 
23813
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
23814
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
 
23815
      # Make sure the directory exists.
 
23816
      test -f "$dirpart/$file" && continue
 
23817
      fdir=`$as_dirname -- "$file" ||
 
23818
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
23819
         X"$file" : 'X\(//\)[^/]' \| \
 
23820
         X"$file" : 'X\(//\)$' \| \
 
23821
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 
23822
$as_echo X"$file" |
 
23823
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
23824
            s//\1/
 
23825
            q
 
23826
          }
 
23827
          /^X\(\/\/\)[^/].*/{
 
23828
            s//\1/
 
23829
            q
 
23830
          }
 
23831
          /^X\(\/\/\)$/{
 
23832
            s//\1/
 
23833
            q
 
23834
          }
 
23835
          /^X\(\/\).*/{
 
23836
            s//\1/
 
23837
            q
 
23838
          }
 
23839
          s/.*/./; q'`
 
23840
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
 
23841
      # echo "creating $dirpart/$file"
 
23842
      echo '# dummy' > "$dirpart/$file"
 
23843
    done
 
23844
  done
 
23845
}
 
23846
 ;;
 
23847
    "libtool":C)
 
23848
 
 
23849
    # See if we are running on zsh, and set the options which allow our
 
23850
    # commands through without removal of \ escapes.
 
23851
    if test -n "${ZSH_VERSION+set}" ; then
 
23852
      setopt NO_GLOB_SUBST
 
23853
    fi
 
23854
 
 
23855
    cfgfile="${ofile}T"
 
23856
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 
23857
    $RM "$cfgfile"
 
23858
 
 
23859
    cat <<_LT_EOF >> "$cfgfile"
 
23860
#! $SHELL
 
23861
 
 
23862
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
23863
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 
23864
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
23865
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
23866
#
 
23867
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
23868
#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
 
23869
#                 Foundation, Inc.
 
23870
#   Written by Gordon Matzigkeit, 1996
 
23871
#
 
23872
#   This file is part of GNU Libtool.
 
23873
#
 
23874
# GNU Libtool is free software; you can redistribute it and/or
 
23875
# modify it under the terms of the GNU General Public License as
 
23876
# published by the Free Software Foundation; either version 2 of
 
23877
# the License, or (at your option) any later version.
 
23878
#
 
23879
# As a special exception to the GNU General Public License,
 
23880
# if you distribute this file as part of a program or library that
 
23881
# is built using GNU Libtool, you may include this file under the
 
23882
# same distribution terms that you use for the rest of that program.
 
23883
#
 
23884
# GNU Libtool is distributed in the hope that it will be useful,
 
23885
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
23886
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
23887
# GNU General Public License for more details.
 
23888
#
 
23889
# You should have received a copy of the GNU General Public License
 
23890
# along with GNU Libtool; see the file COPYING.  If not, a copy
 
23891
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 
23892
# obtained by writing to the Free Software Foundation, Inc.,
 
23893
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
23894
 
 
23895
 
 
23896
# The names of the tagged configurations supported by this script.
 
23897
available_tags=""
 
23898
 
 
23899
# ### BEGIN LIBTOOL CONFIG
 
23900
 
 
23901
# Which release of libtool.m4 was used?
 
23902
macro_version=$macro_version
 
23903
macro_revision=$macro_revision
 
23904
 
 
23905
# Whether or not to build static libraries.
 
23906
build_old_libs=$enable_static
 
23907
 
 
23908
# Whether or not to build shared libraries.
 
23909
build_libtool_libs=$enable_shared
 
23910
 
 
23911
# What type of objects to build.
 
23912
pic_mode=$pic_mode
 
23913
 
 
23914
# Whether or not to optimize for fast installation.
 
23915
fast_install=$enable_fast_install
 
23916
 
 
23917
# Shell to use when invoking shell scripts.
 
23918
SHELL=$lt_SHELL
 
23919
 
 
23920
# An echo program that protects backslashes.
 
23921
ECHO=$lt_ECHO
 
23922
 
 
23923
# The PATH separator for the build system.
 
23924
PATH_SEPARATOR=$lt_PATH_SEPARATOR
 
23925
 
 
23926
# The host system.
 
23927
host_alias=$host_alias
 
23928
host=$host
 
23929
host_os=$host_os
 
23930
 
 
23931
# The build system.
 
23932
build_alias=$build_alias
 
23933
build=$build
 
23934
build_os=$build_os
 
23935
 
 
23936
# A sed program that does not truncate output.
 
23937
SED=$lt_SED
 
23938
 
 
23939
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
23940
Xsed="\$SED -e 1s/^X//"
 
23941
 
 
23942
# A grep program that handles long lines.
 
23943
GREP=$lt_GREP
 
23944
 
 
23945
# An ERE matcher.
 
23946
EGREP=$lt_EGREP
 
23947
 
 
23948
# A literal string matcher.
 
23949
FGREP=$lt_FGREP
 
23950
 
 
23951
# A BSD- or MS-compatible name lister.
 
23952
NM=$lt_NM
 
23953
 
 
23954
# Whether we need soft or hard links.
 
23955
LN_S=$lt_LN_S
 
23956
 
 
23957
# What is the maximum length of a command?
 
23958
max_cmd_len=$max_cmd_len
 
23959
 
 
23960
# Object file suffix (normally "o").
 
23961
objext=$ac_objext
 
23962
 
 
23963
# Executable file suffix (normally "").
 
23964
exeext=$exeext
 
23965
 
 
23966
# whether the shell understands "unset".
 
23967
lt_unset=$lt_unset
 
23968
 
 
23969
# turn spaces into newlines.
 
23970
SP2NL=$lt_lt_SP2NL
 
23971
 
 
23972
# turn newlines into spaces.
 
23973
NL2SP=$lt_lt_NL2SP
 
23974
 
 
23975
# convert \$build file names to \$host format.
 
23976
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
23977
 
 
23978
# convert \$build files to toolchain format.
 
23979
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
23980
 
 
23981
# An object symbol dumper.
 
23982
OBJDUMP=$lt_OBJDUMP
 
23983
 
 
23984
# Method to check whether dependent libraries are shared objects.
 
23985
deplibs_check_method=$lt_deplibs_check_method
 
23986
 
 
23987
# Command to use when deplibs_check_method = "file_magic".
 
23988
file_magic_cmd=$lt_file_magic_cmd
 
23989
 
 
23990
# How to find potential files when deplibs_check_method = "file_magic".
 
23991
file_magic_glob=$lt_file_magic_glob
 
23992
 
 
23993
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
 
23994
want_nocaseglob=$lt_want_nocaseglob
 
23995
 
 
23996
# DLL creation program.
 
23997
DLLTOOL=$lt_DLLTOOL
 
23998
 
 
23999
# Command to associate shared and link libraries.
 
24000
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
 
24001
 
 
24002
# The archiver.
 
24003
AR=$lt_AR
 
24004
 
 
24005
# Flags to create an archive.
 
24006
AR_FLAGS=$lt_AR_FLAGS
 
24007
 
 
24008
# How to feed a file listing to the archiver.
 
24009
archiver_list_spec=$lt_archiver_list_spec
 
24010
 
 
24011
# A symbol stripping program.
 
24012
STRIP=$lt_STRIP
 
24013
 
 
24014
# Commands used to install an old-style archive.
 
24015
RANLIB=$lt_RANLIB
 
24016
old_postinstall_cmds=$lt_old_postinstall_cmds
 
24017
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
24018
 
 
24019
# Whether to use a lock for old archive extraction.
 
24020
lock_old_archive_extraction=$lock_old_archive_extraction
 
24021
 
 
24022
# A C compiler.
 
24023
LTCC=$lt_CC
 
24024
 
 
24025
# LTCC compiler flags.
 
24026
LTCFLAGS=$lt_CFLAGS
 
24027
 
 
24028
# Take the output of nm and produce a listing of raw symbols and C names.
 
24029
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
24030
 
 
24031
# Transform the output of nm in a proper C declaration.
 
24032
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
24033
 
 
24034
# Transform the output of nm in a C name address pair.
 
24035
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
24036
 
 
24037
# Transform the output of nm in a C name address pair when lib prefix is needed.
 
24038
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 
24039
 
 
24040
# Specify filename containing input files for \$NM.
 
24041
nm_file_list_spec=$lt_nm_file_list_spec
 
24042
 
 
24043
# The root where to search for dependent libraries,and in which our libraries should be installed.
 
24044
lt_sysroot=$lt_sysroot
 
24045
 
 
24046
# The name of the directory that contains temporary libtool files.
 
24047
objdir=$objdir
 
24048
 
 
24049
# Used to examine libraries when file_magic_cmd begins with "file".
 
24050
MAGIC_CMD=$MAGIC_CMD
 
24051
 
 
24052
# Must we lock files when doing compilation?
 
24053
need_locks=$lt_need_locks
 
24054
 
 
24055
# Manifest tool.
 
24056
MANIFEST_TOOL=$lt_MANIFEST_TOOL
 
24057
 
 
24058
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 
24059
DSYMUTIL=$lt_DSYMUTIL
 
24060
 
 
24061
# Tool to change global to local symbols on Mac OS X.
 
24062
NMEDIT=$lt_NMEDIT
 
24063
 
 
24064
# Tool to manipulate fat objects and archives on Mac OS X.
 
24065
LIPO=$lt_LIPO
 
24066
 
 
24067
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
 
24068
OTOOL=$lt_OTOOL
 
24069
 
 
24070
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 
24071
OTOOL64=$lt_OTOOL64
 
24072
 
 
24073
# Old archive suffix (normally "a").
 
24074
libext=$libext
 
24075
 
 
24076
# Shared library suffix (normally ".so").
 
24077
shrext_cmds=$lt_shrext_cmds
 
24078
 
 
24079
# The commands to extract the exported symbol list from a shared archive.
 
24080
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
24081
 
 
24082
# Variables whose values should be saved in libtool wrapper scripts and
 
24083
# restored at link time.
 
24084
variables_saved_for_relink=$lt_variables_saved_for_relink
 
24085
 
 
24086
# Do we need the "lib" prefix for modules?
 
24087
need_lib_prefix=$need_lib_prefix
 
24088
 
 
24089
# Do we need a version for libraries?
 
24090
need_version=$need_version
 
24091
 
 
24092
# Library versioning type.
 
24093
version_type=$version_type
 
24094
 
 
24095
# Shared library runtime path variable.
 
24096
runpath_var=$runpath_var
 
24097
 
 
24098
# Shared library path variable.
 
24099
shlibpath_var=$shlibpath_var
 
24100
 
 
24101
# Is shlibpath searched before the hard-coded library search path?
 
24102
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
24103
 
 
24104
# Format of library name prefix.
 
24105
libname_spec=$lt_libname_spec
 
24106
 
 
24107
# List of archive names.  First name is the real one, the rest are links.
 
24108
# The last name is the one that the linker finds with -lNAME
 
24109
library_names_spec=$lt_library_names_spec
 
24110
 
 
24111
# The coded name of the library, if different from the real name.
 
24112
soname_spec=$lt_soname_spec
 
24113
 
 
24114
# Permission mode override for installation of shared libraries.
 
24115
install_override_mode=$lt_install_override_mode
 
24116
 
 
24117
# Command to use after installation of a shared archive.
 
24118
postinstall_cmds=$lt_postinstall_cmds
 
24119
 
 
24120
# Command to use after uninstallation of a shared archive.
 
24121
postuninstall_cmds=$lt_postuninstall_cmds
 
24122
 
 
24123
# Commands used to finish a libtool library installation in a directory.
 
24124
finish_cmds=$lt_finish_cmds
 
24125
 
 
24126
# As "finish_cmds", except a single script fragment to be evaled but
 
24127
# not shown.
 
24128
finish_eval=$lt_finish_eval
 
24129
 
 
24130
# Whether we should hardcode library paths into libraries.
 
24131
hardcode_into_libs=$hardcode_into_libs
 
24132
 
 
24133
# Compile-time system search path for libraries.
 
24134
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
24135
 
 
24136
# Run-time system search path for libraries.
 
24137
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
24138
 
 
24139
# Whether dlopen is supported.
 
24140
dlopen_support=$enable_dlopen
 
24141
 
 
24142
# Whether dlopen of programs is supported.
 
24143
dlopen_self=$enable_dlopen_self
 
24144
 
 
24145
# Whether dlopen of statically linked programs is supported.
 
24146
dlopen_self_static=$enable_dlopen_self_static
 
24147
 
 
24148
# Commands to strip libraries.
 
24149
old_striplib=$lt_old_striplib
 
24150
striplib=$lt_striplib
 
24151
 
 
24152
 
 
24153
# The linker used to build libraries.
 
24154
LD=$lt_LD
 
24155
 
 
24156
# How to create reloadable object files.
 
24157
reload_flag=$lt_reload_flag
 
24158
reload_cmds=$lt_reload_cmds
 
24159
 
 
24160
# Commands used to build an old-style archive.
 
24161
old_archive_cmds=$lt_old_archive_cmds
 
24162
 
 
24163
# A language specific compiler.
 
24164
CC=$lt_compiler
 
24165
 
 
24166
# Is the compiler the GNU compiler?
 
24167
with_gcc=$GCC
 
24168
 
 
24169
# Compiler flag to turn off builtin functions.
 
24170
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 
24171
 
 
24172
# Additional compiler flags for building library objects.
 
24173
pic_flag=$lt_lt_prog_compiler_pic
 
24174
 
 
24175
# How to pass a linker flag through the compiler.
 
24176
wl=$lt_lt_prog_compiler_wl
 
24177
 
 
24178
# Compiler flag to prevent dynamic linking.
 
24179
link_static_flag=$lt_lt_prog_compiler_static
 
24180
 
 
24181
# Does compiler simultaneously support -c and -o options?
 
24182
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 
24183
 
 
24184
# Whether or not to add -lc for building shared libraries.
 
24185
build_libtool_need_lc=$archive_cmds_need_lc
 
24186
 
 
24187
# Whether or not to disallow shared libs when runtime libs are static.
 
24188
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 
24189
 
 
24190
# Compiler flag to allow reflexive dlopens.
 
24191
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 
24192
 
 
24193
# Compiler flag to generate shared objects directly from archives.
 
24194
whole_archive_flag_spec=$lt_whole_archive_flag_spec
 
24195
 
 
24196
# Whether the compiler copes with passing no objects directly.
 
24197
compiler_needs_object=$lt_compiler_needs_object
 
24198
 
 
24199
# Create an old-style archive from a shared archive.
 
24200
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 
24201
 
 
24202
# Create a temporary old-style archive to link instead of a shared archive.
 
24203
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 
24204
 
 
24205
# Commands used to build a shared archive.
 
24206
archive_cmds=$lt_archive_cmds
 
24207
archive_expsym_cmds=$lt_archive_expsym_cmds
 
24208
 
 
24209
# Commands used to build a loadable module if different from building
 
24210
# a shared archive.
 
24211
module_cmds=$lt_module_cmds
 
24212
module_expsym_cmds=$lt_module_expsym_cmds
 
24213
 
 
24214
# Whether we are building with GNU ld or not.
 
24215
with_gnu_ld=$lt_with_gnu_ld
 
24216
 
 
24217
# Flag that allows shared libraries with undefined symbols to be built.
 
24218
allow_undefined_flag=$lt_allow_undefined_flag
 
24219
 
 
24220
# Flag that enforces no undefined symbols.
 
24221
no_undefined_flag=$lt_no_undefined_flag
 
24222
 
 
24223
# Flag to hardcode \$libdir into a binary during linking.
 
24224
# This must work even if \$libdir does not exist
 
24225
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
24226
 
 
24227
# Whether we need a single "-rpath" flag with a separated argument.
 
24228
hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
24229
 
 
24230
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
24231
# DIR into the resulting binary.
 
24232
hardcode_direct=$hardcode_direct
 
24233
 
 
24234
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
24235
# DIR into the resulting binary and the resulting library dependency is
 
24236
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
24237
# library is relocated.
 
24238
hardcode_direct_absolute=$hardcode_direct_absolute
 
24239
 
 
24240
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
24241
# into the resulting binary.
 
24242
hardcode_minus_L=$hardcode_minus_L
 
24243
 
 
24244
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
24245
# into the resulting binary.
 
24246
hardcode_shlibpath_var=$hardcode_shlibpath_var
 
24247
 
 
24248
# Set to "yes" if building a shared library automatically hardcodes DIR
 
24249
# into the library and all subsequent libraries and executables linked
 
24250
# against it.
 
24251
hardcode_automatic=$hardcode_automatic
 
24252
 
 
24253
# Set to yes if linker adds runtime paths of dependent libraries
 
24254
# to runtime path list.
 
24255
inherit_rpath=$inherit_rpath
 
24256
 
 
24257
# Whether libtool must link a program against all its dependency libraries.
 
24258
link_all_deplibs=$link_all_deplibs
 
24259
 
 
24260
# Set to "yes" if exported symbols are required.
 
24261
always_export_symbols=$always_export_symbols
 
24262
 
 
24263
# The commands to list exported symbols.
 
24264
export_symbols_cmds=$lt_export_symbols_cmds
 
24265
 
 
24266
# Symbols that should not be listed in the preloaded symbols.
 
24267
exclude_expsyms=$lt_exclude_expsyms
 
24268
 
 
24269
# Symbols that must always be exported.
 
24270
include_expsyms=$lt_include_expsyms
 
24271
 
 
24272
# Commands necessary for linking programs (against libraries) with templates.
 
24273
prelink_cmds=$lt_prelink_cmds
 
24274
 
 
24275
# Commands necessary for finishing linking programs.
 
24276
postlink_cmds=$lt_postlink_cmds
 
24277
 
 
24278
# Specify filename containing input files.
 
24279
file_list_spec=$lt_file_list_spec
 
24280
 
 
24281
# How to hardcode a shared library path into an executable.
 
24282
hardcode_action=$hardcode_action
 
24283
 
 
24284
# ### END LIBTOOL CONFIG
 
24285
 
 
24286
_LT_EOF
 
24287
 
 
24288
  case $host_os in
 
24289
  aix3*)
 
24290
    cat <<\_LT_EOF >> "$cfgfile"
 
24291
# AIX sometimes has problems with the GCC collect2 program.  For some
 
24292
# reason, if we set the COLLECT_NAMES environment variable, the problems
 
24293
# vanish in a puff of smoke.
 
24294
if test "X${COLLECT_NAMES+set}" != Xset; then
 
24295
  COLLECT_NAMES=
 
24296
  export COLLECT_NAMES
 
24297
fi
 
24298
_LT_EOF
 
24299
    ;;
 
24300
  esac
 
24301
 
 
24302
 
 
24303
ltmain="$ac_aux_dir/ltmain.sh"
 
24304
 
 
24305
 
 
24306
  # We use sed instead of cat because bash on DJGPP gets confused if
 
24307
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
24308
  # text mode, it properly converts lines to CR/LF.  This bash problem
 
24309
  # is reportedly fixed, but why not run on old versions too?
 
24310
  sed '$q' "$ltmain" >> "$cfgfile" \
 
24311
     || (rm -f "$cfgfile"; exit 1)
 
24312
 
 
24313
  if test x"$xsi_shell" = xyes; then
 
24314
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
 
24315
func_dirname ()\
 
24316
{\
 
24317
\    case ${1} in\
 
24318
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
24319
\      *  ) func_dirname_result="${3}" ;;\
 
24320
\    esac\
 
24321
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
 
24322
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
24323
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
24324
test 0 -eq $? || _lt_function_replace_fail=:
 
24325
 
 
24326
 
 
24327
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
 
24328
func_basename ()\
 
24329
{\
 
24330
\    func_basename_result="${1##*/}"\
 
24331
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
24332
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
24333
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
24334
test 0 -eq $? || _lt_function_replace_fail=:
 
24335
 
 
24336
 
 
24337
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
 
24338
func_dirname_and_basename ()\
 
24339
{\
 
24340
\    case ${1} in\
 
24341
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
24342
\      *  ) func_dirname_result="${3}" ;;\
 
24343
\    esac\
 
24344
\    func_basename_result="${1##*/}"\
 
24345
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
24346
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
24347
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
24348
test 0 -eq $? || _lt_function_replace_fail=:
 
24349
 
 
24350
 
 
24351
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
 
24352
func_stripname ()\
 
24353
{\
 
24354
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
 
24355
\    # positional parameters, so assign one to ordinary parameter first.\
 
24356
\    func_stripname_result=${3}\
 
24357
\    func_stripname_result=${func_stripname_result#"${1}"}\
 
24358
\    func_stripname_result=${func_stripname_result%"${2}"}\
 
24359
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
 
24360
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
24361
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
24362
test 0 -eq $? || _lt_function_replace_fail=:
 
24363
 
 
24364
 
 
24365
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
 
24366
func_split_long_opt ()\
 
24367
{\
 
24368
\    func_split_long_opt_name=${1%%=*}\
 
24369
\    func_split_long_opt_arg=${1#*=}\
 
24370
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
24371
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
24372
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
24373
test 0 -eq $? || _lt_function_replace_fail=:
 
24374
 
 
24375
 
 
24376
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
 
24377
func_split_short_opt ()\
 
24378
{\
 
24379
\    func_split_short_opt_arg=${1#??}\
 
24380
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
 
24381
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
24382
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
24383
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
24384
test 0 -eq $? || _lt_function_replace_fail=:
 
24385
 
 
24386
 
 
24387
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
 
24388
func_lo2o ()\
 
24389
{\
 
24390
\    case ${1} in\
 
24391
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
 
24392
\      *)    func_lo2o_result=${1} ;;\
 
24393
\    esac\
 
24394
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
 
24395
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
24396
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
24397
test 0 -eq $? || _lt_function_replace_fail=:
 
24398
 
 
24399
 
 
24400
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
 
24401
func_xform ()\
 
24402
{\
 
24403
    func_xform_result=${1%.*}.lo\
 
24404
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
 
24405
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
24406
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
24407
test 0 -eq $? || _lt_function_replace_fail=:
 
24408
 
 
24409
 
 
24410
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
 
24411
func_arith ()\
 
24412
{\
 
24413
    func_arith_result=$(( $* ))\
 
24414
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
 
24415
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
24416
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
24417
test 0 -eq $? || _lt_function_replace_fail=:
 
24418
 
 
24419
 
 
24420
  sed -e '/^func_len ()$/,/^} # func_len /c\
 
24421
func_len ()\
 
24422
{\
 
24423
    func_len_result=${#1}\
 
24424
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
 
24425
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
24426
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
24427
test 0 -eq $? || _lt_function_replace_fail=:
 
24428
 
 
24429
fi
 
24430
 
 
24431
if test x"$lt_shell_append" = xyes; then
 
24432
  sed -e '/^func_append ()$/,/^} # func_append /c\
 
24433
func_append ()\
 
24434
{\
 
24435
    eval "${1}+=\\${2}"\
 
24436
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
 
24437
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
24438
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
24439
test 0 -eq $? || _lt_function_replace_fail=:
 
24440
 
 
24441
 
 
24442
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
 
24443
func_append_quoted ()\
 
24444
{\
 
24445
\    func_quote_for_eval "${2}"\
 
24446
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
 
24447
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
 
24448
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
24449
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
24450
test 0 -eq $? || _lt_function_replace_fail=:
 
24451
 
 
24452
 
 
24453
  # Save a `func_append' function call where possible by direct use of '+='
 
24454
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
 
24455
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
24456
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
24457
  test 0 -eq $? || _lt_function_replace_fail=:
 
24458
else
 
24459
  # Save a `func_append' function call even when '+=' is not available
 
24460
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
 
24461
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
24462
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
24463
  test 0 -eq $? || _lt_function_replace_fail=:
 
24464
fi
 
24465
 
 
24466
if test x"$_lt_function_replace_fail" = x":"; then
 
24467
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
 
24468
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 
24469
fi
 
24470
 
 
24471
 
 
24472
   mv -f "$cfgfile" "$ofile" ||
 
24473
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
24474
  chmod +x "$ofile"
 
24475
 
 
24476
 ;;
 
24477
    "po-directories":C)
 
24478
    for ac_file in $CONFIG_FILES; do
 
24479
      # Support "outfile[:infile[:infile...]]"
 
24480
      case "$ac_file" in
 
24481
        *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
 
24482
      esac
 
24483
      # PO directories have a Makefile.in generated from Makefile.in.in.
 
24484
      case "$ac_file" in */Makefile.in)
 
24485
        # Adjust a relative srcdir.
 
24486
        ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
 
24487
        ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
 
24488
        ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
 
24489
        # In autoconf-2.13 it is called $ac_given_srcdir.
 
24490
        # In autoconf-2.50 it is called $srcdir.
 
24491
        test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
 
24492
        case "$ac_given_srcdir" in
 
24493
          .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
 
24494
          /*) top_srcdir="$ac_given_srcdir" ;;
 
24495
          *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
 
24496
        esac
 
24497
        # Treat a directory as a PO directory if and only if it has a
 
24498
        # POTFILES.in file. This allows packages to have multiple PO
 
24499
        # directories under different names or in different locations.
 
24500
        if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
 
24501
          rm -f "$ac_dir/POTFILES"
 
24502
          test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
 
24503
          cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[   ]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
 
24504
          POMAKEFILEDEPS="POTFILES.in"
 
24505
          # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
 
24506
          # on $ac_dir but don't depend on user-specified configuration
 
24507
          # parameters.
 
24508
          if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
 
24509
            # The LINGUAS file contains the set of available languages.
 
24510
            if test -n "$OBSOLETE_ALL_LINGUAS"; then
 
24511
              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
 
24512
            fi
 
24513
            ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
 
24514
            # Hide the ALL_LINGUAS assigment from automake < 1.5.
 
24515
            eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
 
24516
            POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
 
24517
          else
 
24518
            # The set of available languages was given in configure.in.
 
24519
            # Hide the ALL_LINGUAS assigment from automake < 1.5.
 
24520
            eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
 
24521
          fi
 
24522
          # Compute POFILES
 
24523
          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
 
24524
          # Compute UPDATEPOFILES
 
24525
          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
 
24526
          # Compute DUMMYPOFILES
 
24527
          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
 
24528
          # Compute GMOFILES
 
24529
          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
 
24530
          case "$ac_given_srcdir" in
 
24531
            .) srcdirpre= ;;
 
24532
            *) srcdirpre='$(srcdir)/' ;;
 
24533
          esac
 
24534
          POFILES=
 
24535
          UPDATEPOFILES=
 
24536
          DUMMYPOFILES=
 
24537
          GMOFILES=
 
24538
          for lang in $ALL_LINGUAS; do
 
24539
            POFILES="$POFILES $srcdirpre$lang.po"
 
24540
            UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
 
24541
            DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
 
24542
            GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
 
24543
          done
 
24544
          # CATALOGS depends on both $ac_dir and the user's LINGUAS
 
24545
          # environment variable.
 
24546
          INST_LINGUAS=
 
24547
          if test -n "$ALL_LINGUAS"; then
 
24548
            for presentlang in $ALL_LINGUAS; do
 
24549
              useit=no
 
24550
              if test "%UNSET%" != "$LINGUAS"; then
 
24551
                desiredlanguages="$LINGUAS"
 
24552
              else
 
24553
                desiredlanguages="$ALL_LINGUAS"
 
24554
              fi
 
24555
              for desiredlang in $desiredlanguages; do
 
24556
                # Use the presentlang catalog if desiredlang is
 
24557
                #   a. equal to presentlang, or
 
24558
                #   b. a variant of presentlang (because in this case,
 
24559
                #      presentlang can be used as a fallback for messages
 
24560
                #      which are not translated in the desiredlang catalog).
 
24561
                case "$desiredlang" in
 
24562
                  "$presentlang"*) useit=yes;;
 
24563
                esac
 
24564
              done
 
24565
              if test $useit = yes; then
 
24566
                INST_LINGUAS="$INST_LINGUAS $presentlang"
 
24567
              fi
 
24568
            done
 
24569
          fi
 
24570
          CATALOGS=
 
24571
          if test -n "$INST_LINGUAS"; then
 
24572
            for lang in $INST_LINGUAS; do
 
24573
              CATALOGS="$CATALOGS $lang.gmo"
 
24574
            done
 
24575
          fi
 
24576
          test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
 
24577
          sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
 
24578
          for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
 
24579
            if test -f "$f"; then
 
24580
              case "$f" in
 
24581
                *.orig | *.bak | *~) ;;
 
24582
                *) cat "$f" >> "$ac_dir/Makefile" ;;
 
24583
              esac
 
24584
            fi
 
24585
          done
 
24586
        fi
 
24587
        ;;
 
24588
      esac
 
24589
    done ;;
 
24590
    "po/stamp-it":C)
 
24591
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
 
24592
       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
 
24593
    fi
 
24594
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
 
24595
    >"po/stamp-it.tmp"
 
24596
    sed '/^#/d
 
24597
         s/^[[].*] *//
 
24598
         /^[    ]*$/d
 
24599
        '"s|^|  $ac_top_srcdir/|" \
 
24600
      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
 
24601
 
 
24602
    sed '/^POTFILES =/,/[^\\]$/ {
 
24603
                /^POTFILES =/!d
 
24604
                r po/POTFILES
 
24605
          }
 
24606
         ' "po/Makefile.in" >"po/Makefile"
 
24607
    rm -f "po/Makefile.tmp"
 
24608
    mv "po/stamp-it.tmp" "po/stamp-it"
 
24609
   ;;
 
24610
 
 
24611
  esac
 
24612
done # for ac_tag
 
24613
 
 
24614
 
 
24615
as_fn_exit 0
 
24616
_ACEOF
 
24617
ac_clean_files=$ac_clean_files_save
 
24618
 
 
24619
test $ac_write_fail = 0 ||
 
24620
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
24621
 
 
24622
 
 
24623
# configure is writing to config.log, and then calls config.status.
 
24624
# config.status does its own redirection, appending to config.log.
 
24625
# Unfortunately, on DOS this fails, as config.log is still kept open
 
24626
# by configure, so config.status won't be able to write to it; its
 
24627
# output is simply discarded.  So we exec the FD to /dev/null,
 
24628
# effectively closing config.log, so it can be properly (re)opened and
 
24629
# appended to by config.status.  When coming back to configure, we
 
24630
# need to make the FD available again.
 
24631
if test "$no_create" != yes; then
 
24632
  ac_cs_success=:
 
24633
  ac_config_status_args=
 
24634
  test "$silent" = yes &&
 
24635
    ac_config_status_args="$ac_config_status_args --quiet"
 
24636
  exec 5>/dev/null
 
24637
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 
24638
  exec 5>>config.log
 
24639
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 
24640
  # would make configure fail if this is the last instruction.
 
24641
  $ac_cs_success || as_fn_exit 1
 
24642
fi
 
24643
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
24644
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
24645
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 
24646
fi
 
24647
 
 
24648
 
 
24649
{ $as_echo "$as_me:${as_lineno-$LINENO}: Rhythmbox was configured with the following options:" >&5
 
24650
$as_echo "$as_me: Rhythmbox was configured with the following options:" >&6;}
 
24651
if test x"$with_database" = xtree; then
 
24652
        { $as_echo "$as_me:${as_lineno-$LINENO}: ** Tree database is enabled" >&5
 
24653
$as_echo "$as_me: ** Tree database is enabled" >&6;}
 
24654
else
 
24655
        as_fn_error $? "Unknown database!" "$LINENO" 5
 
24656
fi
 
24657
if test x"${with_rhythmdb_debug}" != x0; then
 
24658
        { $as_echo "$as_me:${as_lineno-$LINENO}: ** RhythmDB sanity checking enabled (may be slow!)" >&5
 
24659
$as_echo "$as_me: ** RhythmDB sanity checking enabled (may be slow!)" >&6;}
 
24660
fi
 
24661
 
 
24662
 
 
24663
if test x"$enable_mmkeys" != "xyes"; then
 
24664
        { $as_echo "$as_me:${as_lineno-$LINENO}:    Multimedia keys support is disabled" >&5
 
24665
$as_echo "$as_me:    Multimedia keys support is disabled" >&6;}
 
24666
else
 
24667
        { $as_echo "$as_me:${as_lineno-$LINENO}: ** Multimedia keys support is enabled" >&5
 
24668
$as_echo "$as_me: ** Multimedia keys support is enabled" >&6;}
 
24669
fi
 
24670
 
 
24671
if test x"$use_ipod" = xyes; then
 
24672
        { $as_echo "$as_me:${as_lineno-$LINENO}: ** iPod integration enabled" >&5
 
24673
$as_echo "$as_me: ** iPod integration enabled" >&6;}
 
24674
else
 
24675
        { $as_echo "$as_me:${as_lineno-$LINENO}:    iPod integration disabled" >&5
 
24676
$as_echo "$as_me:    iPod integration disabled" >&6;}
 
24677
fi
 
24678
if test x"$use_mtp" = xyes; then
 
24679
        { $as_echo "$as_me:${as_lineno-$LINENO}: ** MTP integration enabled" >&5
 
24680
$as_echo "$as_me: ** MTP integration enabled" >&6;}
 
24681
else
 
24682
        { $as_echo "$as_me:${as_lineno-$LINENO}:    MTP integration disabled" >&5
 
24683
$as_echo "$as_me:    MTP integration disabled" >&6;}
 
24684
fi
 
24685
if test x"$have_libbrasero_media" != xno; then
 
24686
        { $as_echo "$as_me:${as_lineno-$LINENO}: ** CD burning support enabled" >&5
 
24687
$as_echo "$as_me: ** CD burning support enabled" >&6;}
 
24688
else
 
24689
        { $as_echo "$as_me:${as_lineno-$LINENO}:    CD burning support disabled" >&5
 
24690
$as_echo "$as_me:    CD burning support disabled" >&6;}
 
24691
fi
 
24692
if test x"$have_libdmapsharing" = xyes; then
 
24693
        { $as_echo "$as_me:${as_lineno-$LINENO}: ** DAAP (music sharing) support is enabled" >&5
 
24694
$as_echo "$as_me: ** DAAP (music sharing) support is enabled" >&6;}
 
24695
else
 
24696
        { $as_echo "$as_me:${as_lineno-$LINENO}:    DAAP (music sharing) support is disabled" >&5
 
24697
$as_echo "$as_me:    DAAP (music sharing) support is disabled" >&6;}
 
24698
fi
 
24699
if test x"$have_libnotify" = xyes; then
 
24700
        { $as_echo "$as_me:${as_lineno-$LINENO}: ** libnotify support is enabled" >&5
 
24701
$as_echo "$as_me: ** libnotify support is enabled" >&6;}
 
24702
else
 
24703
        { $as_echo "$as_me:${as_lineno-$LINENO}:    libnotify support is disabled" >&5
 
24704
$as_echo "$as_me:    libnotify support is disabled" >&6;}
 
24705
fi
 
24706
if test x"$have_webkit" = xyes; then
 
24707
        { $as_echo "$as_me:${as_lineno-$LINENO}: ** WebKit support is enabled" >&5
 
24708
$as_echo "$as_me: ** WebKit support is enabled" >&6;}
 
24709
else
 
24710
        { $as_echo "$as_me:${as_lineno-$LINENO}:    WebKit support is disabled" >&5
 
24711
$as_echo "$as_me:    WebKit support is disabled" >&6;}
 
24712
fi
 
24713
if test x"$use_gudev" = xyes; then
 
24714
        { $as_echo "$as_me:${as_lineno-$LINENO}: ** GUdev support enabled" >&5
 
24715
$as_echo "$as_me: ** GUdev support enabled" >&6;}
 
24716
elif test x"$enable_hal" = xyes; then
 
24717
        { $as_echo "$as_me:${as_lineno-$LINENO}: ** HAL support enabled" >&5
 
24718
$as_echo "$as_me: ** HAL support enabled" >&6;}
 
24719
else
 
24720
        { $as_echo "$as_me:${as_lineno-$LINENO}:    GUdev support disabled" >&5
 
24721
$as_echo "$as_me:    GUdev support disabled" >&6;}
 
24722
fi
 
24723
if test x"$enable_python" = xyes; then
 
24724
        { $as_echo "$as_me:${as_lineno-$LINENO}: ** Python plugin support enabled" >&5
 
24725
$as_echo "$as_me: ** Python plugin support enabled" >&6;}
 
24726
else
 
24727
        { $as_echo "$as_me:${as_lineno-$LINENO}:    Python plugin support disabled" >&5
 
24728
$as_echo "$as_me:    Python plugin support disabled" >&6;}
 
24729
fi
 
24730
if test x"$with_vala" = xyes; then
 
24731
        { $as_echo "$as_me:${as_lineno-$LINENO}: ** Vala plugin support enabled" >&5
 
24732
$as_echo "$as_me: ** Vala plugin support enabled" >&6;}
 
24733
else
 
24734
        { $as_echo "$as_me:${as_lineno-$LINENO}:    Vala plugin support disabled" >&5
 
24735
$as_echo "$as_me:    Vala plugin support disabled" >&6;}
 
24736
fi
 
24737
if test x"$use_libsecret" = xyes; then
 
24738
        { $as_echo "$as_me:${as_lineno-$LINENO}: ** Libsecret keyring support enabled" >&5
 
24739
$as_echo "$as_me: ** Libsecret keyring support enabled" >&6;}
 
24740
else
 
24741
        { $as_echo "$as_me:${as_lineno-$LINENO}:    Libsecret keyring support disabled" >&5
 
24742
$as_echo "$as_me:    Libsecret keyring support disabled" >&6;}
 
24743
fi
 
24744
if test "x$enable_fm_radio" != xno; then
 
24745
        { $as_echo "$as_me:${as_lineno-$LINENO}: ** FM radio support enabled" >&5
 
24746
$as_echo "$as_me: ** FM radio support enabled" >&6;}
 
24747
else
 
24748
        { $as_echo "$as_me:${as_lineno-$LINENO}:    FM radio support disabled" >&5
 
24749
$as_echo "$as_me:    FM radio support disabled" >&6;}
 
24750
fi
 
24751
 
 
24752
if test "x$enable_browser_plugin" != xno; then
 
24753
        { $as_echo "$as_me:${as_lineno-$LINENO}: ** iTunes detection browser plugin (for podcasts) enabled" >&5
 
24754
$as_echo "$as_me: ** iTunes detection browser plugin (for podcasts) enabled" >&6;}
 
24755
else
 
24756
        { $as_echo "$as_me:${as_lineno-$LINENO}:    iTunes detection browser plugin (for podcasts) disabled" >&5
 
24757
$as_echo "$as_me:    iTunes detection browser plugin (for podcasts) disabled" >&6;}
 
24758
fi
 
24759
 
 
24760
if test "x$have_clutter" = xyes; then
 
24761
        { $as_echo "$as_me:${as_lineno-$LINENO}: ** Visualizer plugin enabled" >&5
 
24762
$as_echo "$as_me: ** Visualizer plugin enabled" >&6;}
 
24763
else
 
24764
        { $as_echo "$as_me:${as_lineno-$LINENO}:    Visualizer plugin disabled" >&5
 
24765
$as_echo "$as_me:    Visualizer plugin disabled" >&6;}
 
24766
fi
 
24767
 
 
24768
{ $as_echo "$as_me:${as_lineno-$LINENO}: End options" >&5
 
24769
$as_echo "$as_me: End options" >&6;}