~ubuntu-branches/ubuntu/quantal/rygel/quantal

« back to all changes in this revision

Viewing changes to .pc/libsoup_version.patch/configure

  • Committer: Package Import Robot
  • Author(s): Andreas Moog
  • Date: 2012-03-01 20:14:05 UTC
  • Revision ID: package-import@ubuntu.com-20120301201405-aykgqi0d93j8q4kf
Tags: 0.12.6-2ubuntu1
Bump maximum version of libsoup to 2.37.9999 (LP: #935418)

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.68 for Rygel 0.12.6.
 
4
#
 
5
# Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=Rygel>.
 
6
#
 
7
#
 
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
 
10
# Foundation, Inc.
 
11
#
 
12
#
 
13
# This configure script is free software; the Free Software Foundation
 
14
# gives unlimited permission to copy, distribute and modify it.
 
15
## -------------------- ##
 
16
## M4sh Initialization. ##
 
17
## -------------------- ##
 
18
 
 
19
# Be more Bourne compatible
 
20
DUALCASE=1; export DUALCASE # for MKS sh
 
21
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 
22
  emulate sh
 
23
  NULLCMD=:
 
24
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
25
  # is contrary to our usage.  Disable this feature.
 
26
  alias -g '${1+"$@"}'='"$@"'
 
27
  setopt NO_GLOB_SUBST
 
28
else
 
29
  case `(set -o) 2>/dev/null` in #(
 
30
  *posix*) :
 
31
    set -o posix ;; #(
 
32
  *) :
 
33
     ;;
 
34
esac
 
35
fi
 
36
 
 
37
 
 
38
as_nl='
 
39
'
 
40
export as_nl
 
41
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
42
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
43
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
44
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
45
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
46
# but without wasting forks for bash or zsh.
 
47
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
48
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
49
  as_echo='print -r --'
 
50
  as_echo_n='print -rn --'
 
51
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
52
  as_echo='printf %s\n'
 
53
  as_echo_n='printf %s'
 
54
else
 
55
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
56
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
57
    as_echo_n='/usr/ucb/echo -n'
 
58
  else
 
59
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
60
    as_echo_n_body='eval
 
61
      arg=$1;
 
62
      case $arg in #(
 
63
      *"$as_nl"*)
 
64
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
65
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
66
      esac;
 
67
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
68
    '
 
69
    export as_echo_n_body
 
70
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
71
  fi
 
72
  export as_echo_body
 
73
  as_echo='sh -c $as_echo_body as_echo'
 
74
fi
 
75
 
 
76
# The user is always right.
 
77
if test "${PATH_SEPARATOR+set}" != set; then
 
78
  PATH_SEPARATOR=:
 
79
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
80
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
81
      PATH_SEPARATOR=';'
 
82
  }
 
83
fi
 
84
 
 
85
 
 
86
# IFS
 
87
# We need space, tab and new line, in precisely that order.  Quoting is
 
88
# there to prevent editors from complaining about space-tab.
 
89
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
90
# splitting by setting IFS to empty value.)
 
91
IFS=" ""        $as_nl"
 
92
 
 
93
# Find who we are.  Look in the path if we contain no directory separator.
 
94
as_myself=
 
95
case $0 in #((
 
96
  *[\\/]* ) as_myself=$0 ;;
 
97
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
98
for as_dir in $PATH
 
99
do
 
100
  IFS=$as_save_IFS
 
101
  test -z "$as_dir" && as_dir=.
 
102
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
103
  done
 
104
IFS=$as_save_IFS
 
105
 
 
106
     ;;
 
107
esac
 
108
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
109
# in which case we are not to be found in the path.
 
110
if test "x$as_myself" = x; then
 
111
  as_myself=$0
 
112
fi
 
113
if test ! -f "$as_myself"; then
 
114
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
115
  exit 1
 
116
fi
 
117
 
 
118
# Unset variables that we do not need and which cause bugs (e.g. in
 
119
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
120
# suppresses any "Segmentation fault" message there.  '((' could
 
121
# trigger a bug in pdksh 5.2.14.
 
122
for as_var in BASH_ENV ENV MAIL MAILPATH
 
123
do eval test x\${$as_var+set} = xset \
 
124
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 
125
done
 
126
PS1='$ '
 
127
PS2='> '
 
128
PS4='+ '
 
129
 
 
130
# NLS nuisances.
 
131
LC_ALL=C
 
132
export LC_ALL
 
133
LANGUAGE=C
 
134
export LANGUAGE
 
135
 
 
136
# CDPATH.
 
137
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
138
 
 
139
if test "x$CONFIG_SHELL" = x; then
 
140
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
141
  emulate sh
 
142
  NULLCMD=:
 
143
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
144
  # is contrary to our usage.  Disable this feature.
 
145
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
146
  setopt NO_GLOB_SUBST
 
147
else
 
148
  case \`(set -o) 2>/dev/null\` in #(
 
149
  *posix*) :
 
150
    set -o posix ;; #(
 
151
  *) :
 
152
     ;;
 
153
esac
 
154
fi
 
155
"
 
156
  as_required="as_fn_return () { (exit \$1); }
 
157
as_fn_success () { as_fn_return 0; }
 
158
as_fn_failure () { as_fn_return 1; }
 
159
as_fn_ret_success () { return 0; }
 
160
as_fn_ret_failure () { return 1; }
 
161
 
 
162
exitcode=0
 
163
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
164
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
165
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
166
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
167
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
168
 
 
169
else
 
170
  exitcode=1; echo positional parameters were not saved.
 
171
fi
 
172
test x\$exitcode = x0 || exit 1"
 
173
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
174
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
175
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
176
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
177
test \$(( 1 + 1 )) = 2 || exit 1
 
178
 
 
179
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
 
180
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
181
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
182
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
183
    PATH=/empty FPATH=/empty; export PATH FPATH
 
184
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
 
185
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
 
186
  if (eval "$as_required") 2>/dev/null; then :
 
187
  as_have_required=yes
 
188
else
 
189
  as_have_required=no
 
190
fi
 
191
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
192
 
 
193
else
 
194
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
195
as_found=false
 
196
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
197
do
 
198
  IFS=$as_save_IFS
 
199
  test -z "$as_dir" && as_dir=.
 
200
  as_found=:
 
201
  case $as_dir in #(
 
202
         /*)
 
203
           for as_base in sh bash ksh sh5; do
 
204
             # Try only shells that exist, to save several forks.
 
205
             as_shell=$as_dir/$as_base
 
206
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
207
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
208
  CONFIG_SHELL=$as_shell as_have_required=yes
 
209
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
210
  break 2
 
211
fi
 
212
fi
 
213
           done;;
 
214
       esac
 
215
  as_found=false
 
216
done
 
217
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
218
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
219
  CONFIG_SHELL=$SHELL as_have_required=yes
 
220
fi; }
 
221
IFS=$as_save_IFS
 
222
 
 
223
 
 
224
      if test "x$CONFIG_SHELL" != x; then :
 
225
  # We cannot yet assume a decent shell, so we have to provide a
 
226
        # neutralization value for shells without unset; and this also
 
227
        # works around shells that cannot unset nonexistent variables.
 
228
        # Preserve -v and -x to the replacement shell.
 
229
        BASH_ENV=/dev/null
 
230
        ENV=/dev/null
 
231
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
232
        export CONFIG_SHELL
 
233
        case $- in # ((((
 
234
          *v*x* | *x*v* ) as_opts=-vx ;;
 
235
          *v* ) as_opts=-v ;;
 
236
          *x* ) as_opts=-x ;;
 
237
          * ) as_opts= ;;
 
238
        esac
 
239
        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
 
240
fi
 
241
 
 
242
    if test x$as_have_required = xno; then :
 
243
  $as_echo "$0: This script requires a shell more modern than all"
 
244
  $as_echo "$0: the shells that I found on your system."
 
245
  if test x${ZSH_VERSION+set} = xset ; then
 
246
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
247
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 
248
  else
 
249
    $as_echo "$0: Please tell bug-autoconf@gnu.org and
 
250
$0: http://bugzilla.gnome.org/enter_bug.cgi?product=Rygel
 
251
$0: about your system, including any error possibly output
 
252
$0: before this message. Then install a modern shell, or
 
253
$0: manually run the script under such a shell if you do
 
254
$0: have one."
 
255
  fi
 
256
  exit 1
 
257
fi
 
258
fi
 
259
fi
 
260
SHELL=${CONFIG_SHELL-/bin/sh}
 
261
export SHELL
 
262
# Unset more variables known to interfere with behavior of common tools.
 
263
CLICOLOR_FORCE= GREP_OPTIONS=
 
264
unset CLICOLOR_FORCE GREP_OPTIONS
 
265
 
 
266
## --------------------- ##
 
267
## M4sh Shell Functions. ##
 
268
## --------------------- ##
 
269
# as_fn_unset VAR
 
270
# ---------------
 
271
# Portably unset VAR.
 
272
as_fn_unset ()
 
273
{
 
274
  { eval $1=; unset $1;}
 
275
}
 
276
as_unset=as_fn_unset
 
277
 
 
278
# as_fn_set_status STATUS
 
279
# -----------------------
 
280
# Set $? to STATUS, without forking.
 
281
as_fn_set_status ()
 
282
{
 
283
  return $1
 
284
} # as_fn_set_status
 
285
 
 
286
# as_fn_exit STATUS
 
287
# -----------------
 
288
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
289
as_fn_exit ()
 
290
{
 
291
  set +e
 
292
  as_fn_set_status $1
 
293
  exit $1
 
294
} # as_fn_exit
 
295
 
 
296
# as_fn_mkdir_p
 
297
# -------------
 
298
# Create "$as_dir" as a directory, including parents if necessary.
 
299
as_fn_mkdir_p ()
 
300
{
 
301
 
 
302
  case $as_dir in #(
 
303
  -*) as_dir=./$as_dir;;
 
304
  esac
 
305
  test -d "$as_dir" || eval $as_mkdir_p || {
 
306
    as_dirs=
 
307
    while :; do
 
308
      case $as_dir in #(
 
309
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
310
      *) as_qdir=$as_dir;;
 
311
      esac
 
312
      as_dirs="'$as_qdir' $as_dirs"
 
313
      as_dir=`$as_dirname -- "$as_dir" ||
 
314
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
315
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
316
         X"$as_dir" : 'X\(//\)$' \| \
 
317
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
318
$as_echo X"$as_dir" |
 
319
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
320
            s//\1/
 
321
            q
 
322
          }
 
323
          /^X\(\/\/\)[^/].*/{
 
324
            s//\1/
 
325
            q
 
326
          }
 
327
          /^X\(\/\/\)$/{
 
328
            s//\1/
 
329
            q
 
330
          }
 
331
          /^X\(\/\).*/{
 
332
            s//\1/
 
333
            q
 
334
          }
 
335
          s/.*/./; q'`
 
336
      test -d "$as_dir" && break
 
337
    done
 
338
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
339
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
340
 
 
341
 
 
342
} # as_fn_mkdir_p
 
343
# as_fn_append VAR VALUE
 
344
# ----------------------
 
345
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
346
# advantage of any shell optimizations that allow amortized linear growth over
 
347
# repeated appends, instead of the typical quadratic growth present in naive
 
348
# implementations.
 
349
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
350
  eval 'as_fn_append ()
 
351
  {
 
352
    eval $1+=\$2
 
353
  }'
 
354
else
 
355
  as_fn_append ()
 
356
  {
 
357
    eval $1=\$$1\$2
 
358
  }
 
359
fi # as_fn_append
 
360
 
 
361
# as_fn_arith ARG...
 
362
# ------------------
 
363
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
364
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
365
# must be portable across $(()) and expr.
 
366
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
367
  eval 'as_fn_arith ()
 
368
  {
 
369
    as_val=$(( $* ))
 
370
  }'
 
371
else
 
372
  as_fn_arith ()
 
373
  {
 
374
    as_val=`expr "$@" || test $? -eq 1`
 
375
  }
 
376
fi # as_fn_arith
 
377
 
 
378
 
 
379
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
380
# ----------------------------------------
 
381
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
382
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
383
# script with STATUS, using 1 if that was 0.
 
384
as_fn_error ()
 
385
{
 
386
  as_status=$1; test $as_status -eq 0 && as_status=1
 
387
  if test "$4"; then
 
388
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
389
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
390
  fi
 
391
  $as_echo "$as_me: error: $2" >&2
 
392
  as_fn_exit $as_status
 
393
} # as_fn_error
 
394
 
 
395
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
396
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
397
  as_expr=expr
 
398
else
 
399
  as_expr=false
 
400
fi
 
401
 
 
402
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
403
  as_basename=basename
 
404
else
 
405
  as_basename=false
 
406
fi
 
407
 
 
408
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
409
  as_dirname=dirname
 
410
else
 
411
  as_dirname=false
 
412
fi
 
413
 
 
414
as_me=`$as_basename -- "$0" ||
 
415
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
416
         X"$0" : 'X\(//\)$' \| \
 
417
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
418
$as_echo X/"$0" |
 
419
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
420
            s//\1/
 
421
            q
 
422
          }
 
423
          /^X\/\(\/\/\)$/{
 
424
            s//\1/
 
425
            q
 
426
          }
 
427
          /^X\/\(\/\).*/{
 
428
            s//\1/
 
429
            q
 
430
          }
 
431
          s/.*/./; q'`
 
432
 
 
433
# Avoid depending upon Character Ranges.
 
434
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
435
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
436
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
437
as_cr_digits='0123456789'
 
438
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
439
 
 
440
 
 
441
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
442
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
443
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
444
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
445
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
 
446
  sed -n '
 
447
    p
 
448
    /[$]LINENO/=
 
449
  ' <$as_myself |
 
450
    sed '
 
451
      s/[$]LINENO.*/&-/
 
452
      t lineno
 
453
      b
 
454
      :lineno
 
455
      N
 
456
      :loop
 
457
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 
458
      t loop
 
459
      s/-\n.*//
 
460
    ' >$as_me.lineno &&
 
461
  chmod +x "$as_me.lineno" ||
 
462
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
 
463
 
 
464
  # Don't try to exec as it changes $[0], causing all sort of problems
 
465
  # (the dirname of $[0] is not the place where we might find the
 
466
  # original and so on.  Autoconf is especially sensitive to this).
 
467
  . "./$as_me.lineno"
 
468
  # Exit status is that of the last command.
 
469
  exit
 
470
}
 
471
 
 
472
ECHO_C= ECHO_N= ECHO_T=
 
473
case `echo -n x` in #(((((
 
474
-n*)
 
475
  case `echo 'xy\c'` in
 
476
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
477
  xy)  ECHO_C='\c';;
 
478
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
479
       ECHO_T=' ';;
 
480
  esac;;
 
481
*)
 
482
  ECHO_N='-n';;
 
483
esac
 
484
 
 
485
rm -f conf$$ conf$$.exe conf$$.file
 
486
if test -d conf$$.dir; then
 
487
  rm -f conf$$.dir/conf$$.file
 
488
else
 
489
  rm -f conf$$.dir
 
490
  mkdir conf$$.dir 2>/dev/null
 
491
fi
 
492
if (echo >conf$$.file) 2>/dev/null; then
 
493
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
494
    as_ln_s='ln -s'
 
495
    # ... but there are two gotchas:
 
496
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
497
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
498
    # In both cases, we have to default to `cp -p'.
 
499
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
500
      as_ln_s='cp -p'
 
501
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
502
    as_ln_s=ln
 
503
  else
 
504
    as_ln_s='cp -p'
 
505
  fi
 
506
else
 
507
  as_ln_s='cp -p'
 
508
fi
 
509
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
510
rmdir conf$$.dir 2>/dev/null
 
511
 
 
512
if mkdir -p . 2>/dev/null; then
 
513
  as_mkdir_p='mkdir -p "$as_dir"'
 
514
else
 
515
  test -d ./-p && rmdir ./-p
 
516
  as_mkdir_p=false
 
517
fi
 
518
 
 
519
if test -x / >/dev/null 2>&1; then
 
520
  as_test_x='test -x'
 
521
else
 
522
  if ls -dL / >/dev/null 2>&1; then
 
523
    as_ls_L_option=L
 
524
  else
 
525
    as_ls_L_option=
 
526
  fi
 
527
  as_test_x='
 
528
    eval sh -c '\''
 
529
      if test -d "$1"; then
 
530
        test -d "$1/.";
 
531
      else
 
532
        case $1 in #(
 
533
        -*)set "./$1";;
 
534
        esac;
 
535
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 
536
        ???[sx]*):;;*)false;;esac;fi
 
537
    '\'' sh
 
538
  '
 
539
fi
 
540
as_executable_p=$as_test_x
 
541
 
 
542
# Sed expression to map a string onto a valid CPP name.
 
543
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
544
 
 
545
# Sed expression to map a string onto a valid variable name.
 
546
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
547
 
 
548
SHELL=${CONFIG_SHELL-/bin/sh}
 
549
 
 
550
as_awk_strverscmp='
 
551
  # Use only awk features that work with 7th edition Unix awk (1978).
 
552
  # My, what an old awk you have, Mr. Solaris!
 
553
  END {
 
554
    while (length(v1) && length(v2)) {
 
555
      # Set d1 to be the next thing to compare from v1, and likewise for d2.
 
556
      # Normally this is a single character, but if v1 and v2 contain digits,
 
557
      # compare them as integers and fractions as strverscmp does.
 
558
      if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
 
559
        # Split v1 and v2 into their leading digit string components d1 and d2,
 
560
        # and advance v1 and v2 past the leading digit strings.
 
561
        for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
 
562
        for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
 
563
        d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
 
564
        d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
 
565
        if (d1 ~ /^0/) {
 
566
          if (d2 ~ /^0/) {
 
567
            # Compare two fractions.
 
568
            while (d1 ~ /^0/ && d2 ~ /^0/) {
 
569
              d1 = substr(d1, 2); len1--
 
570
              d2 = substr(d2, 2); len2--
 
571
            }
 
572
            if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
 
573
              # The two components differ in length, and the common prefix
 
574
              # contains only leading zeros.  Consider the longer to be less.
 
575
              d1 = -len1
 
576
              d2 = -len2
 
577
            } else {
 
578
              # Otherwise, compare as strings.
 
579
              d1 = "x" d1
 
580
              d2 = "x" d2
 
581
            }
 
582
          } else {
 
583
            # A fraction is less than an integer.
 
584
            exit 1
 
585
          }
 
586
        } else {
 
587
          if (d2 ~ /^0/) {
 
588
            # An integer is greater than a fraction.
 
589
            exit 2
 
590
          } else {
 
591
            # Compare two integers.
 
592
            d1 += 0
 
593
            d2 += 0
 
594
          }
 
595
        }
 
596
      } else {
 
597
        # The normal case, without worrying about digits.
 
598
        d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
 
599
        d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
 
600
      }
 
601
      if (d1 < d2) exit 1
 
602
      if (d1 > d2) exit 2
 
603
    }
 
604
    # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
 
605
    # which mishandles some comparisons of empty strings to integers.
 
606
    if (length(v2)) exit 1
 
607
    if (length(v1)) exit 2
 
608
  }
 
609
'
 
610
 
 
611
test -n "$DJDIR" || exec 7<&0 </dev/null
 
612
exec 6>&1
 
613
 
 
614
# Name of the host.
 
615
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
 
616
# so uname gets run too.
 
617
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
 
618
 
 
619
#
 
620
# Initializations.
 
621
#
 
622
ac_default_prefix=/usr/local
 
623
ac_clean_files=
 
624
ac_config_libobj_dir=.
 
625
LIBOBJS=
 
626
cross_compiling=no
 
627
subdirs=
 
628
MFLAGS=
 
629
MAKEFLAGS=
 
630
 
 
631
# Identity of this package.
 
632
PACKAGE_NAME='Rygel'
 
633
PACKAGE_TARNAME='rygel'
 
634
PACKAGE_VERSION='0.12.6'
 
635
PACKAGE_STRING='Rygel 0.12.6'
 
636
PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=Rygel'
 
637
PACKAGE_URL='http://live.gnome.org/Rygel'
 
638
 
 
639
ac_unique_file="src/rygel/rygel-root-device.vala"
 
640
ac_header_list=
 
641
# Factoring default headers for most tests.
 
642
ac_includes_default="\
 
643
#include <stdio.h>
 
644
#ifdef HAVE_SYS_TYPES_H
 
645
# include <sys/types.h>
 
646
#endif
 
647
#ifdef HAVE_SYS_STAT_H
 
648
# include <sys/stat.h>
 
649
#endif
 
650
#ifdef STDC_HEADERS
 
651
# include <stdlib.h>
 
652
# include <stddef.h>
 
653
#else
 
654
# ifdef HAVE_STDLIB_H
 
655
#  include <stdlib.h>
 
656
# endif
 
657
#endif
 
658
#ifdef HAVE_STRING_H
 
659
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
 
660
#  include <memory.h>
 
661
# endif
 
662
# include <string.h>
 
663
#endif
 
664
#ifdef HAVE_STRINGS_H
 
665
# include <strings.h>
 
666
#endif
 
667
#ifdef HAVE_INTTYPES_H
 
668
# include <inttypes.h>
 
669
#endif
 
670
#ifdef HAVE_STDINT_H
 
671
# include <stdint.h>
 
672
#endif
 
673
#ifdef HAVE_UNISTD_H
 
674
# include <unistd.h>
 
675
#endif"
 
676
 
 
677
ac_subst_vars='am__EXEEXT_FALSE
 
678
am__EXEEXT_TRUE
 
679
LTLIBOBJS
 
680
LIBOBJS
 
681
HAVE_XSLTPROC_FALSE
 
682
HAVE_XSLTPROC_TRUE
 
683
XSLTPROC
 
684
AM_BACKSLASH
 
685
AM_DEFAULT_VERBOSITY
 
686
ALL_LINGUAS
 
687
INTLTOOL_PERL
 
688
MSGMERGE
 
689
INTLTOOL_POLICY_RULE
 
690
INTLTOOL_SERVICE_RULE
 
691
INTLTOOL_THEME_RULE
 
692
INTLTOOL_SCHEMAS_RULE
 
693
INTLTOOL_CAVES_RULE
 
694
INTLTOOL_XML_NOMERGE_RULE
 
695
INTLTOOL_XML_RULE
 
696
INTLTOOL_KBD_RULE
 
697
INTLTOOL_XAM_RULE
 
698
INTLTOOL_UI_RULE
 
699
INTLTOOL_SOUNDLIST_RULE
 
700
INTLTOOL_SHEET_RULE
 
701
INTLTOOL_SERVER_RULE
 
702
INTLTOOL_PONG_RULE
 
703
INTLTOOL_OAF_RULE
 
704
INTLTOOL_PROP_RULE
 
705
INTLTOOL_KEYS_RULE
 
706
INTLTOOL_DIRECTORY_RULE
 
707
INTLTOOL_DESKTOP_RULE
 
708
INTLTOOL_EXTRACT
 
709
INTLTOOL_MERGE
 
710
INTLTOOL_UPDATE
 
711
MKINSTALLDIRS
 
712
POSUB
 
713
POFILES
 
714
PO_IN_DATADIR_FALSE
 
715
PO_IN_DATADIR_TRUE
 
716
INTLLIBS
 
717
INSTOBJEXT
 
718
GMOFILES
 
719
DATADIRNAME
 
720
CATOBJEXT
 
721
CATALOGS
 
722
XGETTEXT
 
723
GMSGFMT
 
724
MSGFMT_OPTS
 
725
MSGFMT
 
726
USE_NLS
 
727
GETTEXT_PACKAGE
 
728
GSTREAMER_APP_LIBS
 
729
GSTREAMER_APP_CFLAGS
 
730
GSTREAMER_TAG_LIBS
 
731
GSTREAMER_TAG_CFLAGS
 
732
LIBSQLITE3_LIBS
 
733
LIBSQLITE3_CFLAGS
 
734
BUILD_UI_FALSE
 
735
BUILD_UI_TRUE
 
736
HAVE_GTK
 
737
GTK_LIBS
 
738
GTK_CFLAGS
 
739
UNINSTALLED_FALSE
 
740
UNINSTALLED_TRUE
 
741
RYGEL_DEBUG_VALAFLAGS
 
742
VAPIDIR
 
743
GUPNP_VALA_LIBS
 
744
GUPNP_VALA_CFLAGS
 
745
VALAC
 
746
VALAFLAGS
 
747
BUILD_GST_LAUNCH_PLUGIN_FALSE
 
748
BUILD_GST_LAUNCH_PLUGIN_TRUE
 
749
BUILD_MEDIA_EXPORT_PLUGIN_FALSE
 
750
BUILD_MEDIA_EXPORT_PLUGIN_TRUE
 
751
BUILD_MEDIATHEK_PLUGIN_FALSE
 
752
BUILD_MEDIATHEK_PLUGIN_TRUE
 
753
BUILD_PLAYBIN_PLUGIN_FALSE
 
754
BUILD_PLAYBIN_PLUGIN_TRUE
 
755
BUILD_MPRIS_PLUGIN_FALSE
 
756
BUILD_MPRIS_PLUGIN_TRUE
 
757
BUILD_EXTERNAL_PLUGIN_FALSE
 
758
BUILD_EXTERNAL_PLUGIN_TRUE
 
759
BUILD_TRACKER_PLUGIN_FALSE
 
760
BUILD_TRACKER_PLUGIN_TRUE
 
761
BUILD_TEST_PLUGIN_FALSE
 
762
BUILD_TEST_PLUGIN_TRUE
 
763
GLIB_GENMARSHAL
 
764
LIBSOUP_LIBS
 
765
LIBSOUP_CFLAGS
 
766
UUID_LIBS
 
767
UUID_CFLAGS
 
768
GEE_LIBS
 
769
GEE_CFLAGS
 
770
LIBGIO_LIBS
 
771
LIBGIO_CFLAGS
 
772
GSTREAMER_BASE_LIBS
 
773
GSTREAMER_BASE_CFLAGS
 
774
LIBGSTREAMER_LIBS
 
775
LIBGSTREAMER_CFLAGS
 
776
LIBGUPNP_DLNA_LIBS
 
777
LIBGUPNP_DLNA_CFLAGS
 
778
LIBGUPNP_AV_LIBS
 
779
LIBGUPNP_AV_CFLAGS
 
780
LIBGUPNP_LIBS
 
781
LIBGUPNP_CFLAGS
 
782
LIBGSSDP_LIBS
 
783
LIBGSSDP_CFLAGS
 
784
PKG_CONFIG_LIBDIR
 
785
PKG_CONFIG_PATH
 
786
PKG_CONFIG
 
787
OTOOL64
 
788
OTOOL
 
789
LIPO
 
790
NMEDIT
 
791
DSYMUTIL
 
792
MANIFEST_TOOL
 
793
RANLIB
 
794
ac_ct_AR
 
795
AR
 
796
DLLTOOL
 
797
OBJDUMP
 
798
LN_S
 
799
NM
 
800
ac_ct_DUMPBIN
 
801
DUMPBIN
 
802
LD
 
803
FGREP
 
804
SED
 
805
host_os
 
806
host_vendor
 
807
host_cpu
 
808
host
 
809
build_os
 
810
build_vendor
 
811
build_cpu
 
812
build
 
813
LIBTOOL
 
814
MAINT
 
815
MAINTAINER_MODE_FALSE
 
816
MAINTAINER_MODE_TRUE
 
817
am__fastdepCC_FALSE
 
818
am__fastdepCC_TRUE
 
819
CCDEPMODE
 
820
AMDEPBACKSLASH
 
821
AMDEP_FALSE
 
822
AMDEP_TRUE
 
823
am__quote
 
824
am__include
 
825
DEPDIR
 
826
am__untar
 
827
am__tar
 
828
AMTAR
 
829
am__leading_dot
 
830
SET_MAKE
 
831
AWK
 
832
mkdir_p
 
833
MKDIR_P
 
834
INSTALL_STRIP_PROGRAM
 
835
STRIP
 
836
install_sh
 
837
MAKEINFO
 
838
AUTOHEADER
 
839
AUTOMAKE
 
840
AUTOCONF
 
841
ACLOCAL
 
842
PACKAGE
 
843
CYGPATH_W
 
844
am__isrc
 
845
INSTALL_DATA
 
846
INSTALL_SCRIPT
 
847
INSTALL_PROGRAM
 
848
VERSION
 
849
abs_top_builddir
 
850
EGREP
 
851
GREP
 
852
CPP
 
853
OBJEXT
 
854
EXEEXT
 
855
ac_ct_CC
 
856
CPPFLAGS
 
857
LDFLAGS
 
858
CFLAGS
 
859
CC
 
860
target_alias
 
861
host_alias
 
862
build_alias
 
863
LIBS
 
864
ECHO_T
 
865
ECHO_N
 
866
ECHO_C
 
867
DEFS
 
868
mandir
 
869
localedir
 
870
libdir
 
871
psdir
 
872
pdfdir
 
873
dvidir
 
874
htmldir
 
875
infodir
 
876
docdir
 
877
oldincludedir
 
878
includedir
 
879
localstatedir
 
880
sharedstatedir
 
881
sysconfdir
 
882
datadir
 
883
datarootdir
 
884
libexecdir
 
885
sbindir
 
886
bindir
 
887
program_transform_name
 
888
prefix
 
889
exec_prefix
 
890
PACKAGE_URL
 
891
PACKAGE_BUGREPORT
 
892
PACKAGE_STRING
 
893
PACKAGE_VERSION
 
894
PACKAGE_TARNAME
 
895
PACKAGE_NAME
 
896
PATH_SEPARATOR
 
897
SHELL'
 
898
ac_subst_files=''
 
899
ac_user_opts='
 
900
enable_option_checking
 
901
enable_dependency_tracking
 
902
enable_maintainer_mode
 
903
enable_static
 
904
enable_shared
 
905
with_pic
 
906
enable_fast_install
 
907
with_gnu_ld
 
908
with_sysroot
 
909
enable_libtool_lock
 
910
enable_test_plugin
 
911
enable_tracker_plugin
 
912
enable_external_plugin
 
913
enable_mpris_plugin
 
914
enable_playbin_plugin
 
915
enable_mediathek_plugin
 
916
enable_media_export_plugin
 
917
enable_gst_launch_plugin
 
918
enable_vala
 
919
enable_strict_valac
 
920
enable_debug
 
921
enable_strict_cc
 
922
enable_uninstalled
 
923
with_ui
 
924
enable_nls
 
925
enable_silent_rules
 
926
'
 
927
      ac_precious_vars='build_alias
 
928
host_alias
 
929
target_alias
 
930
CC
 
931
CFLAGS
 
932
LDFLAGS
 
933
LIBS
 
934
CPPFLAGS
 
935
CPP
 
936
PKG_CONFIG
 
937
PKG_CONFIG_PATH
 
938
PKG_CONFIG_LIBDIR
 
939
LIBGSSDP_CFLAGS
 
940
LIBGSSDP_LIBS
 
941
LIBGUPNP_CFLAGS
 
942
LIBGUPNP_LIBS
 
943
LIBGUPNP_AV_CFLAGS
 
944
LIBGUPNP_AV_LIBS
 
945
LIBGUPNP_DLNA_CFLAGS
 
946
LIBGUPNP_DLNA_LIBS
 
947
LIBGSTREAMER_CFLAGS
 
948
LIBGSTREAMER_LIBS
 
949
GSTREAMER_BASE_CFLAGS
 
950
GSTREAMER_BASE_LIBS
 
951
LIBGIO_CFLAGS
 
952
LIBGIO_LIBS
 
953
GEE_CFLAGS
 
954
GEE_LIBS
 
955
UUID_CFLAGS
 
956
UUID_LIBS
 
957
LIBSOUP_CFLAGS
 
958
LIBSOUP_LIBS
 
959
GUPNP_VALA_CFLAGS
 
960
GUPNP_VALA_LIBS
 
961
GTK_CFLAGS
 
962
GTK_LIBS
 
963
LIBSQLITE3_CFLAGS
 
964
LIBSQLITE3_LIBS
 
965
GSTREAMER_TAG_CFLAGS
 
966
GSTREAMER_TAG_LIBS
 
967
GSTREAMER_APP_CFLAGS
 
968
GSTREAMER_APP_LIBS'
 
969
 
 
970
 
 
971
# Initialize some variables set by options.
 
972
ac_init_help=
 
973
ac_init_version=false
 
974
ac_unrecognized_opts=
 
975
ac_unrecognized_sep=
 
976
# The variables have the same names as the options, with
 
977
# dashes changed to underlines.
 
978
cache_file=/dev/null
 
979
exec_prefix=NONE
 
980
no_create=
 
981
no_recursion=
 
982
prefix=NONE
 
983
program_prefix=NONE
 
984
program_suffix=NONE
 
985
program_transform_name=s,x,x,
 
986
silent=
 
987
site=
 
988
srcdir=
 
989
verbose=
 
990
x_includes=NONE
 
991
x_libraries=NONE
 
992
 
 
993
# Installation directory options.
 
994
# These are left unexpanded so users can "make install exec_prefix=/foo"
 
995
# and all the variables that are supposed to be based on exec_prefix
 
996
# by default will actually change.
 
997
# Use braces instead of parens because sh, perl, etc. also accept them.
 
998
# (The list follows the same order as the GNU Coding Standards.)
 
999
bindir='${exec_prefix}/bin'
 
1000
sbindir='${exec_prefix}/sbin'
 
1001
libexecdir='${exec_prefix}/libexec'
 
1002
datarootdir='${prefix}/share'
 
1003
datadir='${datarootdir}'
 
1004
sysconfdir='${prefix}/etc'
 
1005
sharedstatedir='${prefix}/com'
 
1006
localstatedir='${prefix}/var'
 
1007
includedir='${prefix}/include'
 
1008
oldincludedir='/usr/include'
 
1009
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 
1010
infodir='${datarootdir}/info'
 
1011
htmldir='${docdir}'
 
1012
dvidir='${docdir}'
 
1013
pdfdir='${docdir}'
 
1014
psdir='${docdir}'
 
1015
libdir='${exec_prefix}/lib'
 
1016
localedir='${datarootdir}/locale'
 
1017
mandir='${datarootdir}/man'
 
1018
 
 
1019
ac_prev=
 
1020
ac_dashdash=
 
1021
for ac_option
 
1022
do
 
1023
  # If the previous option needs an argument, assign it.
 
1024
  if test -n "$ac_prev"; then
 
1025
    eval $ac_prev=\$ac_option
 
1026
    ac_prev=
 
1027
    continue
 
1028
  fi
 
1029
 
 
1030
  case $ac_option in
 
1031
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
1032
  *=)   ac_optarg= ;;
 
1033
  *)    ac_optarg=yes ;;
 
1034
  esac
 
1035
 
 
1036
  # Accept the important Cygnus configure options, so we can diagnose typos.
 
1037
 
 
1038
  case $ac_dashdash$ac_option in
 
1039
  --)
 
1040
    ac_dashdash=yes ;;
 
1041
 
 
1042
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
 
1043
    ac_prev=bindir ;;
 
1044
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
 
1045
    bindir=$ac_optarg ;;
 
1046
 
 
1047
  -build | --build | --buil | --bui | --bu)
 
1048
    ac_prev=build_alias ;;
 
1049
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
 
1050
    build_alias=$ac_optarg ;;
 
1051
 
 
1052
  -cache-file | --cache-file | --cache-fil | --cache-fi \
 
1053
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
 
1054
    ac_prev=cache_file ;;
 
1055
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
 
1056
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
 
1057
    cache_file=$ac_optarg ;;
 
1058
 
 
1059
  --config-cache | -C)
 
1060
    cache_file=config.cache ;;
 
1061
 
 
1062
  -datadir | --datadir | --datadi | --datad)
 
1063
    ac_prev=datadir ;;
 
1064
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
 
1065
    datadir=$ac_optarg ;;
 
1066
 
 
1067
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
1068
  | --dataroo | --dataro | --datar)
 
1069
    ac_prev=datarootdir ;;
 
1070
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
1071
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
1072
    datarootdir=$ac_optarg ;;
 
1073
 
 
1074
  -disable-* | --disable-*)
 
1075
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
1076
    # Reject names that are not valid shell variable names.
 
1077
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1078
      as_fn_error $? "invalid feature name: $ac_useropt"
 
1079
    ac_useropt_orig=$ac_useropt
 
1080
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1081
    case $ac_user_opts in
 
1082
      *"
 
1083
"enable_$ac_useropt"
 
1084
"*) ;;
 
1085
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
1086
         ac_unrecognized_sep=', ';;
 
1087
    esac
 
1088
    eval enable_$ac_useropt=no ;;
 
1089
 
 
1090
  -docdir | --docdir | --docdi | --doc | --do)
 
1091
    ac_prev=docdir ;;
 
1092
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
1093
    docdir=$ac_optarg ;;
 
1094
 
 
1095
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
1096
    ac_prev=dvidir ;;
 
1097
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
1098
    dvidir=$ac_optarg ;;
 
1099
 
 
1100
  -enable-* | --enable-*)
 
1101
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
1102
    # Reject names that are not valid shell variable names.
 
1103
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1104
      as_fn_error $? "invalid feature name: $ac_useropt"
 
1105
    ac_useropt_orig=$ac_useropt
 
1106
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1107
    case $ac_user_opts in
 
1108
      *"
 
1109
"enable_$ac_useropt"
 
1110
"*) ;;
 
1111
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
1112
         ac_unrecognized_sep=', ';;
 
1113
    esac
 
1114
    eval enable_$ac_useropt=\$ac_optarg ;;
 
1115
 
 
1116
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 
1117
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 
1118
  | --exec | --exe | --ex)
 
1119
    ac_prev=exec_prefix ;;
 
1120
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 
1121
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 
1122
  | --exec=* | --exe=* | --ex=*)
 
1123
    exec_prefix=$ac_optarg ;;
 
1124
 
 
1125
  -gas | --gas | --ga | --g)
 
1126
    # Obsolete; use --with-gas.
 
1127
    with_gas=yes ;;
 
1128
 
 
1129
  -help | --help | --hel | --he | -h)
 
1130
    ac_init_help=long ;;
 
1131
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
 
1132
    ac_init_help=recursive ;;
 
1133
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
 
1134
    ac_init_help=short ;;
 
1135
 
 
1136
  -host | --host | --hos | --ho)
 
1137
    ac_prev=host_alias ;;
 
1138
  -host=* | --host=* | --hos=* | --ho=*)
 
1139
    host_alias=$ac_optarg ;;
 
1140
 
 
1141
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
1142
    ac_prev=htmldir ;;
 
1143
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
1144
  | --ht=*)
 
1145
    htmldir=$ac_optarg ;;
 
1146
 
 
1147
  -includedir | --includedir | --includedi | --included | --include \
 
1148
  | --includ | --inclu | --incl | --inc)
 
1149
    ac_prev=includedir ;;
 
1150
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 
1151
  | --includ=* | --inclu=* | --incl=* | --inc=*)
 
1152
    includedir=$ac_optarg ;;
 
1153
 
 
1154
  -infodir | --infodir | --infodi | --infod | --info | --inf)
 
1155
    ac_prev=infodir ;;
 
1156
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 
1157
    infodir=$ac_optarg ;;
 
1158
 
 
1159
  -libdir | --libdir | --libdi | --libd)
 
1160
    ac_prev=libdir ;;
 
1161
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
 
1162
    libdir=$ac_optarg ;;
 
1163
 
 
1164
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 
1165
  | --libexe | --libex | --libe)
 
1166
    ac_prev=libexecdir ;;
 
1167
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 
1168
  | --libexe=* | --libex=* | --libe=*)
 
1169
    libexecdir=$ac_optarg ;;
 
1170
 
 
1171
  -localedir | --localedir | --localedi | --localed | --locale)
 
1172
    ac_prev=localedir ;;
 
1173
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
1174
    localedir=$ac_optarg ;;
 
1175
 
 
1176
  -localstatedir | --localstatedir | --localstatedi | --localstated \
 
1177
  | --localstate | --localstat | --localsta | --localst | --locals)
 
1178
    ac_prev=localstatedir ;;
 
1179
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 
1180
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 
1181
    localstatedir=$ac_optarg ;;
 
1182
 
 
1183
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 
1184
    ac_prev=mandir ;;
 
1185
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 
1186
    mandir=$ac_optarg ;;
 
1187
 
 
1188
  -nfp | --nfp | --nf)
 
1189
    # Obsolete; use --without-fp.
 
1190
    with_fp=no ;;
 
1191
 
 
1192
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 
1193
  | --no-cr | --no-c | -n)
 
1194
    no_create=yes ;;
 
1195
 
 
1196
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 
1197
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 
1198
    no_recursion=yes ;;
 
1199
 
 
1200
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 
1201
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 
1202
  | --oldin | --oldi | --old | --ol | --o)
 
1203
    ac_prev=oldincludedir ;;
 
1204
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 
1205
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 
1206
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 
1207
    oldincludedir=$ac_optarg ;;
 
1208
 
 
1209
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 
1210
    ac_prev=prefix ;;
 
1211
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 
1212
    prefix=$ac_optarg ;;
 
1213
 
 
1214
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
 
1215
  | --program-pre | --program-pr | --program-p)
 
1216
    ac_prev=program_prefix ;;
 
1217
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
 
1218
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 
1219
    program_prefix=$ac_optarg ;;
 
1220
 
 
1221
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
 
1222
  | --program-suf | --program-su | --program-s)
 
1223
    ac_prev=program_suffix ;;
 
1224
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
 
1225
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 
1226
    program_suffix=$ac_optarg ;;
 
1227
 
 
1228
  -program-transform-name | --program-transform-name \
 
1229
  | --program-transform-nam | --program-transform-na \
 
1230
  | --program-transform-n | --program-transform- \
 
1231
  | --program-transform | --program-transfor \
 
1232
  | --program-transfo | --program-transf \
 
1233
  | --program-trans | --program-tran \
 
1234
  | --progr-tra | --program-tr | --program-t)
 
1235
    ac_prev=program_transform_name ;;
 
1236
  -program-transform-name=* | --program-transform-name=* \
 
1237
  | --program-transform-nam=* | --program-transform-na=* \
 
1238
  | --program-transform-n=* | --program-transform-=* \
 
1239
  | --program-transform=* | --program-transfor=* \
 
1240
  | --program-transfo=* | --program-transf=* \
 
1241
  | --program-trans=* | --program-tran=* \
 
1242
  | --progr-tra=* | --program-tr=* | --program-t=*)
 
1243
    program_transform_name=$ac_optarg ;;
 
1244
 
 
1245
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1246
    ac_prev=pdfdir ;;
 
1247
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1248
    pdfdir=$ac_optarg ;;
 
1249
 
 
1250
  -psdir | --psdir | --psdi | --psd | --ps)
 
1251
    ac_prev=psdir ;;
 
1252
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1253
    psdir=$ac_optarg ;;
 
1254
 
 
1255
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
1256
  | -silent | --silent | --silen | --sile | --sil)
 
1257
    silent=yes ;;
 
1258
 
 
1259
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 
1260
    ac_prev=sbindir ;;
 
1261
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 
1262
  | --sbi=* | --sb=*)
 
1263
    sbindir=$ac_optarg ;;
 
1264
 
 
1265
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
 
1266
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 
1267
  | --sharedst | --shareds | --shared | --share | --shar \
 
1268
  | --sha | --sh)
 
1269
    ac_prev=sharedstatedir ;;
 
1270
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 
1271
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 
1272
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 
1273
  | --sha=* | --sh=*)
 
1274
    sharedstatedir=$ac_optarg ;;
 
1275
 
 
1276
  -site | --site | --sit)
 
1277
    ac_prev=site ;;
 
1278
  -site=* | --site=* | --sit=*)
 
1279
    site=$ac_optarg ;;
 
1280
 
 
1281
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 
1282
    ac_prev=srcdir ;;
 
1283
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 
1284
    srcdir=$ac_optarg ;;
 
1285
 
 
1286
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 
1287
  | --syscon | --sysco | --sysc | --sys | --sy)
 
1288
    ac_prev=sysconfdir ;;
 
1289
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 
1290
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 
1291
    sysconfdir=$ac_optarg ;;
 
1292
 
 
1293
  -target | --target | --targe | --targ | --tar | --ta | --t)
 
1294
    ac_prev=target_alias ;;
 
1295
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 
1296
    target_alias=$ac_optarg ;;
 
1297
 
 
1298
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
 
1299
    verbose=yes ;;
 
1300
 
 
1301
  -version | --version | --versio | --versi | --vers | -V)
 
1302
    ac_init_version=: ;;
 
1303
 
 
1304
  -with-* | --with-*)
 
1305
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1306
    # Reject names that are not valid shell variable names.
 
1307
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1308
      as_fn_error $? "invalid package name: $ac_useropt"
 
1309
    ac_useropt_orig=$ac_useropt
 
1310
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1311
    case $ac_user_opts in
 
1312
      *"
 
1313
"with_$ac_useropt"
 
1314
"*) ;;
 
1315
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1316
         ac_unrecognized_sep=', ';;
 
1317
    esac
 
1318
    eval with_$ac_useropt=\$ac_optarg ;;
 
1319
 
 
1320
  -without-* | --without-*)
 
1321
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1322
    # Reject names that are not valid shell variable names.
 
1323
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1324
      as_fn_error $? "invalid package name: $ac_useropt"
 
1325
    ac_useropt_orig=$ac_useropt
 
1326
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1327
    case $ac_user_opts in
 
1328
      *"
 
1329
"with_$ac_useropt"
 
1330
"*) ;;
 
1331
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1332
         ac_unrecognized_sep=', ';;
 
1333
    esac
 
1334
    eval with_$ac_useropt=no ;;
 
1335
 
 
1336
  --x)
 
1337
    # Obsolete; use --with-x.
 
1338
    with_x=yes ;;
 
1339
 
 
1340
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 
1341
  | --x-incl | --x-inc | --x-in | --x-i)
 
1342
    ac_prev=x_includes ;;
 
1343
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 
1344
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 
1345
    x_includes=$ac_optarg ;;
 
1346
 
 
1347
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
 
1348
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 
1349
    ac_prev=x_libraries ;;
 
1350
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 
1351
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 
1352
    x_libraries=$ac_optarg ;;
 
1353
 
 
1354
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 
1355
Try \`$0 --help' for more information"
 
1356
    ;;
 
1357
 
 
1358
  *=*)
 
1359
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 
1360
    # Reject names that are not valid shell variable names.
 
1361
    case $ac_envvar in #(
 
1362
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1363
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 
1364
    esac
 
1365
    eval $ac_envvar=\$ac_optarg
 
1366
    export $ac_envvar ;;
 
1367
 
 
1368
  *)
 
1369
    # FIXME: should be removed in autoconf 3.0.
 
1370
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1371
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
1372
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1373
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
 
1374
    ;;
 
1375
 
 
1376
  esac
 
1377
done
 
1378
 
 
1379
if test -n "$ac_prev"; then
 
1380
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 
1381
  as_fn_error $? "missing argument to $ac_option"
 
1382
fi
 
1383
 
 
1384
if test -n "$ac_unrecognized_opts"; then
 
1385
  case $enable_option_checking in
 
1386
    no) ;;
 
1387
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
 
1388
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1389
  esac
 
1390
fi
 
1391
 
 
1392
# Check all directory arguments for consistency.
 
1393
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1394
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1395
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1396
                libdir localedir mandir
 
1397
do
 
1398
  eval ac_val=\$$ac_var
 
1399
  # Remove trailing slashes.
 
1400
  case $ac_val in
 
1401
    */ )
 
1402
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1403
      eval $ac_var=\$ac_val;;
 
1404
  esac
 
1405
  # Be sure to have absolute directory names.
 
1406
  case $ac_val in
 
1407
    [\\/$]* | ?:[\\/]* )  continue;;
 
1408
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1409
  esac
 
1410
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
 
1411
done
 
1412
 
 
1413
# There might be people who depend on the old broken behavior: `$host'
 
1414
# used to hold the argument of --host etc.
 
1415
# FIXME: To remove some day.
 
1416
build=$build_alias
 
1417
host=$host_alias
 
1418
target=$target_alias
 
1419
 
 
1420
# FIXME: To remove some day.
 
1421
if test "x$host_alias" != x; then
 
1422
  if test "x$build_alias" = x; then
 
1423
    cross_compiling=maybe
 
1424
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 
1425
    If a cross compiler is detected then cross compile mode will be used" >&2
 
1426
  elif test "x$build_alias" != "x$host_alias"; then
 
1427
    cross_compiling=yes
 
1428
  fi
 
1429
fi
 
1430
 
 
1431
ac_tool_prefix=
 
1432
test -n "$host_alias" && ac_tool_prefix=$host_alias-
 
1433
 
 
1434
test "$silent" = yes && exec 6>/dev/null
 
1435
 
 
1436
 
 
1437
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1438
ac_ls_di=`ls -di .` &&
 
1439
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1440
  as_fn_error $? "working directory cannot be determined"
 
1441
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1442
  as_fn_error $? "pwd does not report name of working directory"
 
1443
 
 
1444
 
 
1445
# Find the source files, if location was not specified.
 
1446
if test -z "$srcdir"; then
 
1447
  ac_srcdir_defaulted=yes
 
1448
  # Try the directory containing this script, then the parent directory.
 
1449
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1450
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1451
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1452
         X"$as_myself" : 'X\(//\)$' \| \
 
1453
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1454
$as_echo X"$as_myself" |
 
1455
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1456
            s//\1/
 
1457
            q
 
1458
          }
 
1459
          /^X\(\/\/\)[^/].*/{
 
1460
            s//\1/
 
1461
            q
 
1462
          }
 
1463
          /^X\(\/\/\)$/{
 
1464
            s//\1/
 
1465
            q
 
1466
          }
 
1467
          /^X\(\/\).*/{
 
1468
            s//\1/
 
1469
            q
 
1470
          }
 
1471
          s/.*/./; q'`
 
1472
  srcdir=$ac_confdir
 
1473
  if test ! -r "$srcdir/$ac_unique_file"; then
 
1474
    srcdir=..
 
1475
  fi
 
1476
else
 
1477
  ac_srcdir_defaulted=no
 
1478
fi
 
1479
if test ! -r "$srcdir/$ac_unique_file"; then
 
1480
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1481
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
 
1482
fi
 
1483
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1484
ac_abs_confdir=`(
 
1485
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
 
1486
        pwd)`
 
1487
# When building in place, set srcdir=.
 
1488
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1489
  srcdir=.
 
1490
fi
 
1491
# Remove unnecessary trailing slashes from srcdir.
 
1492
# Double slashes in file names in object file debugging info
 
1493
# mess up M-x gdb in Emacs.
 
1494
case $srcdir in
 
1495
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1496
esac
 
1497
for ac_var in $ac_precious_vars; do
 
1498
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1499
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1500
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1501
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1502
done
 
1503
 
 
1504
#
 
1505
# Report the --help message.
 
1506
#
 
1507
if test "$ac_init_help" = "long"; then
 
1508
  # Omit some internal or obsolete options to make the list less imposing.
 
1509
  # This message is too long to be a string in the A/UX 3.1 sh.
 
1510
  cat <<_ACEOF
 
1511
\`configure' configures Rygel 0.12.6 to adapt to many kinds of systems.
 
1512
 
 
1513
Usage: $0 [OPTION]... [VAR=VALUE]...
 
1514
 
 
1515
To assign environment variables (e.g., CC, CFLAGS...), specify them as
 
1516
VAR=VALUE.  See below for descriptions of some of the useful variables.
 
1517
 
 
1518
Defaults for the options are specified in brackets.
 
1519
 
 
1520
Configuration:
 
1521
  -h, --help              display this help and exit
 
1522
      --help=short        display options specific to this package
 
1523
      --help=recursive    display the short help of all the included packages
 
1524
  -V, --version           display version information and exit
 
1525
  -q, --quiet, --silent   do not print \`checking ...' messages
 
1526
      --cache-file=FILE   cache test results in FILE [disabled]
 
1527
  -C, --config-cache      alias for \`--cache-file=config.cache'
 
1528
  -n, --no-create         do not create output files
 
1529
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 
1530
 
 
1531
Installation directories:
 
1532
  --prefix=PREFIX         install architecture-independent files in PREFIX
 
1533
                          [$ac_default_prefix]
 
1534
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 
1535
                          [PREFIX]
 
1536
 
 
1537
By default, \`make install' will install all the files in
 
1538
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 
1539
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 
1540
for instance \`--prefix=\$HOME'.
 
1541
 
 
1542
For better control, use the options below.
 
1543
 
 
1544
Fine tuning of the installation directories:
 
1545
  --bindir=DIR            user executables [EPREFIX/bin]
 
1546
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1547
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1548
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1549
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1550
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1551
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1552
  --includedir=DIR        C header files [PREFIX/include]
 
1553
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1554
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1555
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1556
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1557
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1558
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1559
  --docdir=DIR            documentation root [DATAROOTDIR/doc/rygel]
 
1560
  --htmldir=DIR           html documentation [DOCDIR]
 
1561
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1562
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1563
  --psdir=DIR             ps documentation [DOCDIR]
 
1564
_ACEOF
 
1565
 
 
1566
  cat <<\_ACEOF
 
1567
 
 
1568
Program names:
 
1569
  --program-prefix=PREFIX            prepend PREFIX to installed program names
 
1570
  --program-suffix=SUFFIX            append SUFFIX to installed program names
 
1571
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 
1572
 
 
1573
System types:
 
1574
  --build=BUILD     configure for building on BUILD [guessed]
 
1575
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 
1576
_ACEOF
 
1577
fi
 
1578
 
 
1579
if test -n "$ac_init_help"; then
 
1580
  case $ac_init_help in
 
1581
     short | recursive ) echo "Configuration of Rygel 0.12.6:";;
 
1582
   esac
 
1583
  cat <<\_ACEOF
 
1584
 
 
1585
Optional Features:
 
1586
  --disable-option-checking  ignore unrecognized --enable/--with options
 
1587
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 
1588
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 
1589
  --disable-dependency-tracking  speeds up one-time build
 
1590
  --enable-dependency-tracking   do not reject slow dependency extractors
 
1591
  --disable-maintainer-mode  disable make rules and dependencies not useful
 
1592
                          (and sometimes confusing) to the casual installer
 
1593
  --enable-static[=PKGS]  build static libraries [default=no]
 
1594
  --enable-shared[=PKGS]  build shared libraries [default=yes]
 
1595
  --enable-fast-install[=PKGS]
 
1596
                          optimize for fast installation [default=yes]
 
1597
  --disable-libtool-lock  avoid locking (might break parallel builds)
 
1598
  --enable-test-plugin    enable Test plugin
 
1599
  --enable-tracker-plugin enable Tracker plugin
 
1600
  --enable-external-plugin
 
1601
                          enable MediaServer2 DBus consumer plugin
 
1602
  --enable-mpris-plugin   enable MPRIS2 DBus consumer plugin
 
1603
  --enable-playbin-plugin enable GStreamer playbin plugin
 
1604
  --enable-mediathek-plugin
 
1605
                          enable ZDF Mediathek plugin
 
1606
  --enable-media-export-plugin
 
1607
                          enable MediaExport plugin
 
1608
  --enable-gst-launch-plugin
 
1609
                          enable GStreamer launchline plugin
 
1610
  --enable-vala           enable checks for vala
 
1611
  --enable-strict-valac   enable strict Vala compiler
 
1612
  --enable-debug          enable debugging
 
1613
  --enable-strict-cc      enable strict C compiler
 
1614
  --enable-uninstalled    run uninstalled
 
1615
  --disable-nls           do not use Native Language Support
 
1616
  --enable-silent-rules          less verbose build output (undo: `make V=1')
 
1617
  --disable-silent-rules         verbose build output (undo: `make V=0')
 
1618
 
 
1619
Optional Packages:
 
1620
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 
1621
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 
1622
  --with-pic              try to use only PIC/non-PIC objects [default=use
 
1623
                          both]
 
1624
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
1625
  --with-sysroot=DIR Search for dependent libraries within DIR
 
1626
                        (or the compiler's sysroot if not specified).
 
1627
  --without-ui            Do not build UI applications
 
1628
 
 
1629
Some influential environment variables:
 
1630
  CC          C compiler command
 
1631
  CFLAGS      C compiler flags
 
1632
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 
1633
              nonstandard directory <lib dir>
 
1634
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1635
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
 
1636
              you have headers in a nonstandard directory <include dir>
 
1637
  CPP         C preprocessor
 
1638
  PKG_CONFIG  path to pkg-config utility
 
1639
  PKG_CONFIG_PATH
 
1640
              directories to add to pkg-config's search path
 
1641
  PKG_CONFIG_LIBDIR
 
1642
              path overriding pkg-config's built-in search path
 
1643
  LIBGSSDP_CFLAGS
 
1644
              C compiler flags for LIBGSSDP, overriding pkg-config
 
1645
  LIBGSSDP_LIBS
 
1646
              linker flags for LIBGSSDP, overriding pkg-config
 
1647
  LIBGUPNP_CFLAGS
 
1648
              C compiler flags for LIBGUPNP, overriding pkg-config
 
1649
  LIBGUPNP_LIBS
 
1650
              linker flags for LIBGUPNP, overriding pkg-config
 
1651
  LIBGUPNP_AV_CFLAGS
 
1652
              C compiler flags for LIBGUPNP_AV, overriding pkg-config
 
1653
  LIBGUPNP_AV_LIBS
 
1654
              linker flags for LIBGUPNP_AV, overriding pkg-config
 
1655
  LIBGUPNP_DLNA_CFLAGS
 
1656
              C compiler flags for LIBGUPNP_DLNA, overriding pkg-config
 
1657
  LIBGUPNP_DLNA_LIBS
 
1658
              linker flags for LIBGUPNP_DLNA, overriding pkg-config
 
1659
  LIBGSTREAMER_CFLAGS
 
1660
              C compiler flags for LIBGSTREAMER, overriding pkg-config
 
1661
  LIBGSTREAMER_LIBS
 
1662
              linker flags for LIBGSTREAMER, overriding pkg-config
 
1663
  GSTREAMER_BASE_CFLAGS
 
1664
              C compiler flags for GSTREAMER_BASE, overriding pkg-config
 
1665
  GSTREAMER_BASE_LIBS
 
1666
              linker flags for GSTREAMER_BASE, overriding pkg-config
 
1667
  LIBGIO_CFLAGS
 
1668
              C compiler flags for LIBGIO, overriding pkg-config
 
1669
  LIBGIO_LIBS linker flags for LIBGIO, overriding pkg-config
 
1670
  GEE_CFLAGS  C compiler flags for GEE, overriding pkg-config
 
1671
  GEE_LIBS    linker flags for GEE, overriding pkg-config
 
1672
  UUID_CFLAGS C compiler flags for UUID, overriding pkg-config
 
1673
  UUID_LIBS   linker flags for UUID, overriding pkg-config
 
1674
  LIBSOUP_CFLAGS
 
1675
              C compiler flags for LIBSOUP, overriding pkg-config
 
1676
  LIBSOUP_LIBS
 
1677
              linker flags for LIBSOUP, overriding pkg-config
 
1678
  GUPNP_VALA_CFLAGS
 
1679
              C compiler flags for GUPNP_VALA, overriding pkg-config
 
1680
  GUPNP_VALA_LIBS
 
1681
              linker flags for GUPNP_VALA, overriding pkg-config
 
1682
  GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config
 
1683
  GTK_LIBS    linker flags for GTK, overriding pkg-config
 
1684
  LIBSQLITE3_CFLAGS
 
1685
              C compiler flags for LIBSQLITE3, overriding pkg-config
 
1686
  LIBSQLITE3_LIBS
 
1687
              linker flags for LIBSQLITE3, overriding pkg-config
 
1688
  GSTREAMER_TAG_CFLAGS
 
1689
              C compiler flags for GSTREAMER_TAG, overriding pkg-config
 
1690
  GSTREAMER_TAG_LIBS
 
1691
              linker flags for GSTREAMER_TAG, overriding pkg-config
 
1692
  GSTREAMER_APP_CFLAGS
 
1693
              C compiler flags for GSTREAMER_APP, overriding pkg-config
 
1694
  GSTREAMER_APP_LIBS
 
1695
              linker flags for GSTREAMER_APP, overriding pkg-config
 
1696
 
 
1697
Use these variables to override the choices made by `configure' or to help
 
1698
it to find libraries and programs with nonstandard names/locations.
 
1699
 
 
1700
Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=Rygel>.
 
1701
Rygel home page: <http://live.gnome.org/Rygel>.
 
1702
_ACEOF
 
1703
ac_status=$?
 
1704
fi
 
1705
 
 
1706
if test "$ac_init_help" = "recursive"; then
 
1707
  # If there are subdirs, report their specific --help.
 
1708
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 
1709
    test -d "$ac_dir" ||
 
1710
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1711
      continue
 
1712
    ac_builddir=.
 
1713
 
 
1714
case "$ac_dir" in
 
1715
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1716
*)
 
1717
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
1718
  # A ".." for each directory in $ac_dir_suffix.
 
1719
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
1720
  case $ac_top_builddir_sub in
 
1721
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1722
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1723
  esac ;;
 
1724
esac
 
1725
ac_abs_top_builddir=$ac_pwd
 
1726
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1727
# for backward compatibility:
 
1728
ac_top_builddir=$ac_top_build_prefix
 
1729
 
 
1730
case $srcdir in
 
1731
  .)  # We are building in place.
 
1732
    ac_srcdir=.
 
1733
    ac_top_srcdir=$ac_top_builddir_sub
 
1734
    ac_abs_top_srcdir=$ac_pwd ;;
 
1735
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
1736
    ac_srcdir=$srcdir$ac_dir_suffix;
 
1737
    ac_top_srcdir=$srcdir
 
1738
    ac_abs_top_srcdir=$srcdir ;;
 
1739
  *) # Relative name.
 
1740
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1741
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1742
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1743
esac
 
1744
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1745
 
 
1746
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1747
    # Check for guested configure.
 
1748
    if test -f "$ac_srcdir/configure.gnu"; then
 
1749
      echo &&
 
1750
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1751
    elif test -f "$ac_srcdir/configure"; then
 
1752
      echo &&
 
1753
      $SHELL "$ac_srcdir/configure" --help=recursive
 
1754
    else
 
1755
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1756
    fi || ac_status=$?
 
1757
    cd "$ac_pwd" || { ac_status=$?; break; }
 
1758
  done
 
1759
fi
 
1760
 
 
1761
test -n "$ac_init_help" && exit $ac_status
 
1762
if $ac_init_version; then
 
1763
  cat <<\_ACEOF
 
1764
Rygel configure 0.12.6
 
1765
generated by GNU Autoconf 2.68
 
1766
 
 
1767
Copyright (C) 2010 Free Software Foundation, Inc.
 
1768
This configure script is free software; the Free Software Foundation
 
1769
gives unlimited permission to copy, distribute and modify it.
 
1770
_ACEOF
 
1771
  exit
 
1772
fi
 
1773
 
 
1774
## ------------------------ ##
 
1775
## Autoconf initialization. ##
 
1776
## ------------------------ ##
 
1777
 
 
1778
# ac_fn_c_try_compile LINENO
 
1779
# --------------------------
 
1780
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1781
ac_fn_c_try_compile ()
 
1782
{
 
1783
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1784
  rm -f conftest.$ac_objext
 
1785
  if { { ac_try="$ac_compile"
 
1786
case "(($ac_try" in
 
1787
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1788
  *) ac_try_echo=$ac_try;;
 
1789
esac
 
1790
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1791
$as_echo "$ac_try_echo"; } >&5
 
1792
  (eval "$ac_compile") 2>conftest.err
 
1793
  ac_status=$?
 
1794
  if test -s conftest.err; then
 
1795
    grep -v '^ *+' conftest.err >conftest.er1
 
1796
    cat conftest.er1 >&5
 
1797
    mv -f conftest.er1 conftest.err
 
1798
  fi
 
1799
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1800
  test $ac_status = 0; } && {
 
1801
         test -z "$ac_c_werror_flag" ||
 
1802
         test ! -s conftest.err
 
1803
       } && test -s conftest.$ac_objext; then :
 
1804
  ac_retval=0
 
1805
else
 
1806
  $as_echo "$as_me: failed program was:" >&5
 
1807
sed 's/^/| /' conftest.$ac_ext >&5
 
1808
 
 
1809
        ac_retval=1
 
1810
fi
 
1811
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1812
  as_fn_set_status $ac_retval
 
1813
 
 
1814
} # ac_fn_c_try_compile
 
1815
 
 
1816
# ac_fn_c_try_link LINENO
 
1817
# -----------------------
 
1818
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1819
ac_fn_c_try_link ()
 
1820
{
 
1821
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1822
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1823
  if { { ac_try="$ac_link"
 
1824
case "(($ac_try" in
 
1825
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1826
  *) ac_try_echo=$ac_try;;
 
1827
esac
 
1828
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1829
$as_echo "$ac_try_echo"; } >&5
 
1830
  (eval "$ac_link") 2>conftest.err
 
1831
  ac_status=$?
 
1832
  if test -s conftest.err; then
 
1833
    grep -v '^ *+' conftest.err >conftest.er1
 
1834
    cat conftest.er1 >&5
 
1835
    mv -f conftest.er1 conftest.err
 
1836
  fi
 
1837
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1838
  test $ac_status = 0; } && {
 
1839
         test -z "$ac_c_werror_flag" ||
 
1840
         test ! -s conftest.err
 
1841
       } && test -s conftest$ac_exeext && {
 
1842
         test "$cross_compiling" = yes ||
 
1843
         $as_test_x conftest$ac_exeext
 
1844
       }; then :
 
1845
  ac_retval=0
 
1846
else
 
1847
  $as_echo "$as_me: failed program was:" >&5
 
1848
sed 's/^/| /' conftest.$ac_ext >&5
 
1849
 
 
1850
        ac_retval=1
 
1851
fi
 
1852
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1853
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1854
  # interfere with the next link command; also delete a directory that is
 
1855
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1856
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1857
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1858
  as_fn_set_status $ac_retval
 
1859
 
 
1860
} # ac_fn_c_try_link
 
1861
 
 
1862
# ac_fn_c_try_cpp LINENO
 
1863
# ----------------------
 
1864
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1865
ac_fn_c_try_cpp ()
 
1866
{
 
1867
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1868
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1869
case "(($ac_try" in
 
1870
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1871
  *) ac_try_echo=$ac_try;;
 
1872
esac
 
1873
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1874
$as_echo "$ac_try_echo"; } >&5
 
1875
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1876
  ac_status=$?
 
1877
  if test -s conftest.err; then
 
1878
    grep -v '^ *+' conftest.err >conftest.er1
 
1879
    cat conftest.er1 >&5
 
1880
    mv -f conftest.er1 conftest.err
 
1881
  fi
 
1882
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1883
  test $ac_status = 0; } > conftest.i && {
 
1884
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1885
         test ! -s conftest.err
 
1886
       }; then :
 
1887
  ac_retval=0
 
1888
else
 
1889
  $as_echo "$as_me: failed program was:" >&5
 
1890
sed 's/^/| /' conftest.$ac_ext >&5
 
1891
 
 
1892
    ac_retval=1
 
1893
fi
 
1894
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1895
  as_fn_set_status $ac_retval
 
1896
 
 
1897
} # ac_fn_c_try_cpp
 
1898
 
 
1899
# ac_fn_c_try_run LINENO
 
1900
# ----------------------
 
1901
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
1902
# that executables *can* be run.
 
1903
ac_fn_c_try_run ()
 
1904
{
 
1905
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1906
  if { { ac_try="$ac_link"
 
1907
case "(($ac_try" in
 
1908
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1909
  *) ac_try_echo=$ac_try;;
 
1910
esac
 
1911
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1912
$as_echo "$ac_try_echo"; } >&5
 
1913
  (eval "$ac_link") 2>&5
 
1914
  ac_status=$?
 
1915
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1916
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1917
  { { case "(($ac_try" in
 
1918
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1919
  *) ac_try_echo=$ac_try;;
 
1920
esac
 
1921
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1922
$as_echo "$ac_try_echo"; } >&5
 
1923
  (eval "$ac_try") 2>&5
 
1924
  ac_status=$?
 
1925
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1926
  test $ac_status = 0; }; }; then :
 
1927
  ac_retval=0
 
1928
else
 
1929
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1930
       $as_echo "$as_me: failed program was:" >&5
 
1931
sed 's/^/| /' conftest.$ac_ext >&5
 
1932
 
 
1933
       ac_retval=$ac_status
 
1934
fi
 
1935
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1936
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1937
  as_fn_set_status $ac_retval
 
1938
 
 
1939
} # ac_fn_c_try_run
 
1940
 
 
1941
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1942
# -------------------------------------------------------
 
1943
# Tests whether HEADER exists and can be compiled using the include files in
 
1944
# INCLUDES, setting the cache variable VAR accordingly.
 
1945
ac_fn_c_check_header_compile ()
 
1946
{
 
1947
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1948
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1949
$as_echo_n "checking for $2... " >&6; }
 
1950
if eval \${$3+:} false; then :
 
1951
  $as_echo_n "(cached) " >&6
 
1952
else
 
1953
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1954
/* end confdefs.h.  */
 
1955
$4
 
1956
#include <$2>
 
1957
_ACEOF
 
1958
if ac_fn_c_try_compile "$LINENO"; then :
 
1959
  eval "$3=yes"
 
1960
else
 
1961
  eval "$3=no"
 
1962
fi
 
1963
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1964
fi
 
1965
eval ac_res=\$$3
 
1966
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1967
$as_echo "$ac_res" >&6; }
 
1968
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1969
 
 
1970
} # ac_fn_c_check_header_compile
 
1971
 
 
1972
# ac_fn_c_check_func LINENO FUNC VAR
 
1973
# ----------------------------------
 
1974
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
1975
ac_fn_c_check_func ()
 
1976
{
 
1977
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1978
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1979
$as_echo_n "checking for $2... " >&6; }
 
1980
if eval \${$3+:} false; then :
 
1981
  $as_echo_n "(cached) " >&6
 
1982
else
 
1983
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1984
/* end confdefs.h.  */
 
1985
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
1986
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
1987
#define $2 innocuous_$2
 
1988
 
 
1989
/* System header to define __stub macros and hopefully few prototypes,
 
1990
    which can conflict with char $2 (); below.
 
1991
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
1992
    <limits.h> exists even on freestanding compilers.  */
 
1993
 
 
1994
#ifdef __STDC__
 
1995
# include <limits.h>
 
1996
#else
 
1997
# include <assert.h>
 
1998
#endif
 
1999
 
 
2000
#undef $2
 
2001
 
 
2002
/* Override any GCC internal prototype to avoid an error.
 
2003
   Use char because int might match the return type of a GCC
 
2004
   builtin and then its argument prototype would still apply.  */
 
2005
#ifdef __cplusplus
 
2006
extern "C"
 
2007
#endif
 
2008
char $2 ();
 
2009
/* The GNU C library defines this for functions which it implements
 
2010
    to always fail with ENOSYS.  Some functions are actually named
 
2011
    something starting with __ and the normal name is an alias.  */
 
2012
#if defined __stub_$2 || defined __stub___$2
 
2013
choke me
 
2014
#endif
 
2015
 
 
2016
int
 
2017
main ()
 
2018
{
 
2019
return $2 ();
 
2020
  ;
 
2021
  return 0;
 
2022
}
 
2023
_ACEOF
 
2024
if ac_fn_c_try_link "$LINENO"; then :
 
2025
  eval "$3=yes"
 
2026
else
 
2027
  eval "$3=no"
 
2028
fi
 
2029
rm -f core conftest.err conftest.$ac_objext \
 
2030
    conftest$ac_exeext conftest.$ac_ext
 
2031
fi
 
2032
eval ac_res=\$$3
 
2033
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2034
$as_echo "$ac_res" >&6; }
 
2035
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
2036
 
 
2037
} # ac_fn_c_check_func
 
2038
 
 
2039
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 
2040
# -------------------------------------------------------
 
2041
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
2042
# the include files in INCLUDES and setting the cache variable VAR
 
2043
# accordingly.
 
2044
ac_fn_c_check_header_mongrel ()
 
2045
{
 
2046
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2047
  if eval \${$3+:} false; then :
 
2048
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2049
$as_echo_n "checking for $2... " >&6; }
 
2050
if eval \${$3+:} false; then :
 
2051
  $as_echo_n "(cached) " >&6
 
2052
fi
 
2053
eval ac_res=\$$3
 
2054
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2055
$as_echo "$ac_res" >&6; }
 
2056
else
 
2057
  # Is the header compilable?
 
2058
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
2059
$as_echo_n "checking $2 usability... " >&6; }
 
2060
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2061
/* end confdefs.h.  */
 
2062
$4
 
2063
#include <$2>
 
2064
_ACEOF
 
2065
if ac_fn_c_try_compile "$LINENO"; then :
 
2066
  ac_header_compiler=yes
 
2067
else
 
2068
  ac_header_compiler=no
 
2069
fi
 
2070
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2071
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
2072
$as_echo "$ac_header_compiler" >&6; }
 
2073
 
 
2074
# Is the header present?
 
2075
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
2076
$as_echo_n "checking $2 presence... " >&6; }
 
2077
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2078
/* end confdefs.h.  */
 
2079
#include <$2>
 
2080
_ACEOF
 
2081
if ac_fn_c_try_cpp "$LINENO"; then :
 
2082
  ac_header_preproc=yes
 
2083
else
 
2084
  ac_header_preproc=no
 
2085
fi
 
2086
rm -f conftest.err conftest.i conftest.$ac_ext
 
2087
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
2088
$as_echo "$ac_header_preproc" >&6; }
 
2089
 
 
2090
# So?  What about this header?
 
2091
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 
2092
  yes:no: )
 
2093
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
2094
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
2095
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2096
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2097
    ;;
 
2098
  no:yes:* )
 
2099
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
2100
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
2101
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
2102
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
2103
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
2104
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
2105
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
2106
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
2107
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2108
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2109
( $as_echo "## -------------------------------------------------------------------- ##
 
2110
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=Rygel ##
 
2111
## -------------------------------------------------------------------- ##"
 
2112
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
2113
    ;;
 
2114
esac
 
2115
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2116
$as_echo_n "checking for $2... " >&6; }
 
2117
if eval \${$3+:} false; then :
 
2118
  $as_echo_n "(cached) " >&6
 
2119
else
 
2120
  eval "$3=\$ac_header_compiler"
 
2121
fi
 
2122
eval ac_res=\$$3
 
2123
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2124
$as_echo "$ac_res" >&6; }
 
2125
fi
 
2126
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
2127
 
 
2128
} # ac_fn_c_check_header_mongrel
 
2129
cat >config.log <<_ACEOF
 
2130
This file contains any messages produced by compilers while
 
2131
running configure, to aid debugging if configure makes a mistake.
 
2132
 
 
2133
It was created by Rygel $as_me 0.12.6, which was
 
2134
generated by GNU Autoconf 2.68.  Invocation command line was
 
2135
 
 
2136
  $ $0 $@
 
2137
 
 
2138
_ACEOF
 
2139
exec 5>>config.log
 
2140
{
 
2141
cat <<_ASUNAME
 
2142
## --------- ##
 
2143
## Platform. ##
 
2144
## --------- ##
 
2145
 
 
2146
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 
2147
uname -m = `(uname -m) 2>/dev/null || echo unknown`
 
2148
uname -r = `(uname -r) 2>/dev/null || echo unknown`
 
2149
uname -s = `(uname -s) 2>/dev/null || echo unknown`
 
2150
uname -v = `(uname -v) 2>/dev/null || echo unknown`
 
2151
 
 
2152
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 
2153
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 
2154
 
 
2155
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 
2156
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 
2157
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 
2158
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 
2159
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 
2160
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 
2161
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 
2162
 
 
2163
_ASUNAME
 
2164
 
 
2165
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2166
for as_dir in $PATH
 
2167
do
 
2168
  IFS=$as_save_IFS
 
2169
  test -z "$as_dir" && as_dir=.
 
2170
    $as_echo "PATH: $as_dir"
 
2171
  done
 
2172
IFS=$as_save_IFS
 
2173
 
 
2174
} >&5
 
2175
 
 
2176
cat >&5 <<_ACEOF
 
2177
 
 
2178
 
 
2179
## ----------- ##
 
2180
## Core tests. ##
 
2181
## ----------- ##
 
2182
 
 
2183
_ACEOF
 
2184
 
 
2185
 
 
2186
# Keep a trace of the command line.
 
2187
# Strip out --no-create and --no-recursion so they do not pile up.
 
2188
# Strip out --silent because we don't want to record it for future runs.
 
2189
# Also quote any args containing shell meta-characters.
 
2190
# Make two passes to allow for proper duplicate-argument suppression.
 
2191
ac_configure_args=
 
2192
ac_configure_args0=
 
2193
ac_configure_args1=
 
2194
ac_must_keep_next=false
 
2195
for ac_pass in 1 2
 
2196
do
 
2197
  for ac_arg
 
2198
  do
 
2199
    case $ac_arg in
 
2200
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 
2201
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
2202
    | -silent | --silent | --silen | --sile | --sil)
 
2203
      continue ;;
 
2204
    *\'*)
 
2205
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2206
    esac
 
2207
    case $ac_pass in
 
2208
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
 
2209
    2)
 
2210
      as_fn_append ac_configure_args1 " '$ac_arg'"
 
2211
      if test $ac_must_keep_next = true; then
 
2212
        ac_must_keep_next=false # Got value, back to normal.
 
2213
      else
 
2214
        case $ac_arg in
 
2215
          *=* | --config-cache | -C | -disable-* | --disable-* \
 
2216
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 
2217
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 
2218
          | -with-* | --with-* | -without-* | --without-* | --x)
 
2219
            case "$ac_configure_args0 " in
 
2220
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 
2221
            esac
 
2222
            ;;
 
2223
          -* ) ac_must_keep_next=true ;;
 
2224
        esac
 
2225
      fi
 
2226
      as_fn_append ac_configure_args " '$ac_arg'"
 
2227
      ;;
 
2228
    esac
 
2229
  done
 
2230
done
 
2231
{ ac_configure_args0=; unset ac_configure_args0;}
 
2232
{ ac_configure_args1=; unset ac_configure_args1;}
 
2233
 
 
2234
# When interrupted or exit'd, cleanup temporary files, and complete
 
2235
# config.log.  We remove comments because anyway the quotes in there
 
2236
# would cause problems or look ugly.
 
2237
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
2238
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 
2239
trap 'exit_status=$?
 
2240
  # Save into config.log some information that might help in debugging.
 
2241
  {
 
2242
    echo
 
2243
 
 
2244
    $as_echo "## ---------------- ##
 
2245
## Cache variables. ##
 
2246
## ---------------- ##"
 
2247
    echo
 
2248
    # The following way of writing the cache mishandles newlines in values,
 
2249
(
 
2250
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
2251
    eval ac_val=\$$ac_var
 
2252
    case $ac_val in #(
 
2253
    *${as_nl}*)
 
2254
      case $ac_var in #(
 
2255
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
2256
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
2257
      esac
 
2258
      case $ac_var in #(
 
2259
      _ | IFS | as_nl) ;; #(
 
2260
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
2261
      *) { eval $ac_var=; unset $ac_var;} ;;
 
2262
      esac ;;
 
2263
    esac
 
2264
  done
 
2265
  (set) 2>&1 |
 
2266
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
2267
    *${as_nl}ac_space=\ *)
 
2268
      sed -n \
 
2269
        "s/'\''/'\''\\\\'\'''\''/g;
 
2270
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
2271
      ;; #(
 
2272
    *)
 
2273
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
2274
      ;;
 
2275
    esac |
 
2276
    sort
 
2277
)
 
2278
    echo
 
2279
 
 
2280
    $as_echo "## ----------------- ##
 
2281
## Output variables. ##
 
2282
## ----------------- ##"
 
2283
    echo
 
2284
    for ac_var in $ac_subst_vars
 
2285
    do
 
2286
      eval ac_val=\$$ac_var
 
2287
      case $ac_val in
 
2288
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2289
      esac
 
2290
      $as_echo "$ac_var='\''$ac_val'\''"
 
2291
    done | sort
 
2292
    echo
 
2293
 
 
2294
    if test -n "$ac_subst_files"; then
 
2295
      $as_echo "## ------------------- ##
 
2296
## File substitutions. ##
 
2297
## ------------------- ##"
 
2298
      echo
 
2299
      for ac_var in $ac_subst_files
 
2300
      do
 
2301
        eval ac_val=\$$ac_var
 
2302
        case $ac_val in
 
2303
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2304
        esac
 
2305
        $as_echo "$ac_var='\''$ac_val'\''"
 
2306
      done | sort
 
2307
      echo
 
2308
    fi
 
2309
 
 
2310
    if test -s confdefs.h; then
 
2311
      $as_echo "## ----------- ##
 
2312
## confdefs.h. ##
 
2313
## ----------- ##"
 
2314
      echo
 
2315
      cat confdefs.h
 
2316
      echo
 
2317
    fi
 
2318
    test "$ac_signal" != 0 &&
 
2319
      $as_echo "$as_me: caught signal $ac_signal"
 
2320
    $as_echo "$as_me: exit $exit_status"
 
2321
  } >&5
 
2322
  rm -f core *.core core.conftest.* &&
 
2323
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 
2324
    exit $exit_status
 
2325
' 0
 
2326
for ac_signal in 1 2 13 15; do
 
2327
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
 
2328
done
 
2329
ac_signal=0
 
2330
 
 
2331
# confdefs.h avoids OS command line length limits that DEFS can exceed.
 
2332
rm -f -r conftest* confdefs.h
 
2333
 
 
2334
$as_echo "/* confdefs.h */" > confdefs.h
 
2335
 
 
2336
# Predefined preprocessor variables.
 
2337
 
 
2338
cat >>confdefs.h <<_ACEOF
 
2339
#define PACKAGE_NAME "$PACKAGE_NAME"
 
2340
_ACEOF
 
2341
 
 
2342
cat >>confdefs.h <<_ACEOF
 
2343
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 
2344
_ACEOF
 
2345
 
 
2346
cat >>confdefs.h <<_ACEOF
 
2347
#define PACKAGE_VERSION "$PACKAGE_VERSION"
 
2348
_ACEOF
 
2349
 
 
2350
cat >>confdefs.h <<_ACEOF
 
2351
#define PACKAGE_STRING "$PACKAGE_STRING"
 
2352
_ACEOF
 
2353
 
 
2354
cat >>confdefs.h <<_ACEOF
 
2355
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 
2356
_ACEOF
 
2357
 
 
2358
cat >>confdefs.h <<_ACEOF
 
2359
#define PACKAGE_URL "$PACKAGE_URL"
 
2360
_ACEOF
 
2361
 
 
2362
 
 
2363
# Let the site file select an alternate cache file if it wants to.
 
2364
# Prefer an explicitly selected file to automatically selected ones.
 
2365
ac_site_file1=NONE
 
2366
ac_site_file2=NONE
 
2367
if test -n "$CONFIG_SITE"; then
 
2368
  # We do not want a PATH search for config.site.
 
2369
  case $CONFIG_SITE in #((
 
2370
    -*)  ac_site_file1=./$CONFIG_SITE;;
 
2371
    */*) ac_site_file1=$CONFIG_SITE;;
 
2372
    *)   ac_site_file1=./$CONFIG_SITE;;
 
2373
  esac
 
2374
elif test "x$prefix" != xNONE; then
 
2375
  ac_site_file1=$prefix/share/config.site
 
2376
  ac_site_file2=$prefix/etc/config.site
 
2377
else
 
2378
  ac_site_file1=$ac_default_prefix/share/config.site
 
2379
  ac_site_file2=$ac_default_prefix/etc/config.site
 
2380
fi
 
2381
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 
2382
do
 
2383
  test "x$ac_site_file" = xNONE && continue
 
2384
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
2385
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 
2386
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
 
2387
    sed 's/^/| /' "$ac_site_file" >&5
 
2388
    . "$ac_site_file" \
 
2389
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2390
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2391
as_fn_error $? "failed to load site script $ac_site_file
 
2392
See \`config.log' for more details" "$LINENO" 5; }
 
2393
  fi
 
2394
done
 
2395
 
 
2396
if test -r "$cache_file"; then
 
2397
  # Some versions of bash will fail to source /dev/null (special files
 
2398
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
2399
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
2400
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 
2401
$as_echo "$as_me: loading cache $cache_file" >&6;}
 
2402
    case $cache_file in
 
2403
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
2404
      *)                      . "./$cache_file";;
 
2405
    esac
 
2406
  fi
 
2407
else
 
2408
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 
2409
$as_echo "$as_me: creating cache $cache_file" >&6;}
 
2410
  >$cache_file
 
2411
fi
 
2412
 
 
2413
as_fn_append ac_header_list " stdlib.h"
 
2414
as_fn_append ac_header_list " unistd.h"
 
2415
as_fn_append ac_header_list " sys/param.h"
 
2416
# Check that the precious variables saved in the cache have kept the same
 
2417
# value.
 
2418
ac_cache_corrupted=false
 
2419
for ac_var in $ac_precious_vars; do
 
2420
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
 
2421
  eval ac_new_set=\$ac_env_${ac_var}_set
 
2422
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
2423
  eval ac_new_val=\$ac_env_${ac_var}_value
 
2424
  case $ac_old_set,$ac_new_set in
 
2425
    set,)
 
2426
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2427
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
2428
      ac_cache_corrupted=: ;;
 
2429
    ,set)
 
2430
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 
2431
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
2432
      ac_cache_corrupted=: ;;
 
2433
    ,);;
 
2434
    *)
 
2435
      if test "x$ac_old_val" != "x$ac_new_val"; then
 
2436
        # differences in whitespace do not lead to failure.
 
2437
        ac_old_val_w=`echo x $ac_old_val`
 
2438
        ac_new_val_w=`echo x $ac_new_val`
 
2439
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
2440
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 
2441
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
2442
          ac_cache_corrupted=:
 
2443
        else
 
2444
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2445
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
2446
          eval $ac_var=\$ac_old_val
 
2447
        fi
 
2448
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 
2449
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
2450
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 
2451
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 
2452
      fi;;
 
2453
  esac
 
2454
  # Pass precious variables to config.status.
 
2455
  if test "$ac_new_set" = set; then
 
2456
    case $ac_new_val in
 
2457
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2458
    *) ac_arg=$ac_var=$ac_new_val ;;
 
2459
    esac
 
2460
    case " $ac_configure_args " in
 
2461
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 
2462
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
 
2463
    esac
 
2464
  fi
 
2465
done
 
2466
if $ac_cache_corrupted; then
 
2467
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2468
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2469
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 
2470
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
2471
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 
2472
fi
 
2473
## -------------------- ##
 
2474
## Main body of script. ##
 
2475
## -------------------- ##
 
2476
 
 
2477
ac_ext=c
 
2478
ac_cpp='$CPP $CPPFLAGS'
 
2479
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2480
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2481
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2482
 
 
2483
 
 
2484
ac_aux_dir=
 
2485
for ac_dir in build-aux "$srcdir"/build-aux; do
 
2486
  if test -f "$ac_dir/install-sh"; then
 
2487
    ac_aux_dir=$ac_dir
 
2488
    ac_install_sh="$ac_aux_dir/install-sh -c"
 
2489
    break
 
2490
  elif test -f "$ac_dir/install.sh"; then
 
2491
    ac_aux_dir=$ac_dir
 
2492
    ac_install_sh="$ac_aux_dir/install.sh -c"
 
2493
    break
 
2494
  elif test -f "$ac_dir/shtool"; then
 
2495
    ac_aux_dir=$ac_dir
 
2496
    ac_install_sh="$ac_aux_dir/shtool install -c"
 
2497
    break
 
2498
  fi
 
2499
done
 
2500
if test -z "$ac_aux_dir"; then
 
2501
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
 
2502
fi
 
2503
 
 
2504
# These three variables are undocumented and unsupported,
 
2505
# and are intended to be withdrawn in a future Autoconf release.
 
2506
# They can cause serious problems if a builder's source tree is in a directory
 
2507
# whose full name contains unusual characters.
 
2508
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
2509
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
2510
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
2511
 
 
2512
 
 
2513
 
 
2514
 
 
2515
ac_config_headers="$ac_config_headers config.h"
 
2516
 
 
2517
 
 
2518
 
 
2519
ac_ext=c
 
2520
ac_cpp='$CPP $CPPFLAGS'
 
2521
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2522
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2523
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2524
if test -n "$ac_tool_prefix"; then
 
2525
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
2526
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
2527
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2528
$as_echo_n "checking for $ac_word... " >&6; }
 
2529
if ${ac_cv_prog_CC+:} false; then :
 
2530
  $as_echo_n "(cached) " >&6
 
2531
else
 
2532
  if test -n "$CC"; then
 
2533
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
2534
else
 
2535
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2536
for as_dir in $PATH
 
2537
do
 
2538
  IFS=$as_save_IFS
 
2539
  test -z "$as_dir" && as_dir=.
 
2540
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2541
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2542
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
2543
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2544
    break 2
 
2545
  fi
 
2546
done
 
2547
  done
 
2548
IFS=$as_save_IFS
 
2549
 
 
2550
fi
 
2551
fi
 
2552
CC=$ac_cv_prog_CC
 
2553
if test -n "$CC"; then
 
2554
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
2555
$as_echo "$CC" >&6; }
 
2556
else
 
2557
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2558
$as_echo "no" >&6; }
 
2559
fi
 
2560
 
 
2561
 
 
2562
fi
 
2563
if test -z "$ac_cv_prog_CC"; then
 
2564
  ac_ct_CC=$CC
 
2565
  # Extract the first word of "gcc", so it can be a program name with args.
 
2566
set dummy gcc; ac_word=$2
 
2567
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2568
$as_echo_n "checking for $ac_word... " >&6; }
 
2569
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
2570
  $as_echo_n "(cached) " >&6
 
2571
else
 
2572
  if test -n "$ac_ct_CC"; then
 
2573
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
2574
else
 
2575
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2576
for as_dir in $PATH
 
2577
do
 
2578
  IFS=$as_save_IFS
 
2579
  test -z "$as_dir" && as_dir=.
 
2580
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2581
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2582
    ac_cv_prog_ac_ct_CC="gcc"
 
2583
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2584
    break 2
 
2585
  fi
 
2586
done
 
2587
  done
 
2588
IFS=$as_save_IFS
 
2589
 
 
2590
fi
 
2591
fi
 
2592
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
2593
if test -n "$ac_ct_CC"; then
 
2594
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
2595
$as_echo "$ac_ct_CC" >&6; }
 
2596
else
 
2597
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2598
$as_echo "no" >&6; }
 
2599
fi
 
2600
 
 
2601
  if test "x$ac_ct_CC" = x; then
 
2602
    CC=""
 
2603
  else
 
2604
    case $cross_compiling:$ac_tool_warned in
 
2605
yes:)
 
2606
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2607
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2608
ac_tool_warned=yes ;;
 
2609
esac
 
2610
    CC=$ac_ct_CC
 
2611
  fi
 
2612
else
 
2613
  CC="$ac_cv_prog_CC"
 
2614
fi
 
2615
 
 
2616
if test -z "$CC"; then
 
2617
          if test -n "$ac_tool_prefix"; then
 
2618
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
2619
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
2620
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2621
$as_echo_n "checking for $ac_word... " >&6; }
 
2622
if ${ac_cv_prog_CC+:} false; then :
 
2623
  $as_echo_n "(cached) " >&6
 
2624
else
 
2625
  if test -n "$CC"; then
 
2626
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
2627
else
 
2628
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2629
for as_dir in $PATH
 
2630
do
 
2631
  IFS=$as_save_IFS
 
2632
  test -z "$as_dir" && as_dir=.
 
2633
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2634
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2635
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
2636
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2637
    break 2
 
2638
  fi
 
2639
done
 
2640
  done
 
2641
IFS=$as_save_IFS
 
2642
 
 
2643
fi
 
2644
fi
 
2645
CC=$ac_cv_prog_CC
 
2646
if test -n "$CC"; then
 
2647
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
2648
$as_echo "$CC" >&6; }
 
2649
else
 
2650
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2651
$as_echo "no" >&6; }
 
2652
fi
 
2653
 
 
2654
 
 
2655
  fi
 
2656
fi
 
2657
if test -z "$CC"; then
 
2658
  # Extract the first word of "cc", so it can be a program name with args.
 
2659
set dummy cc; ac_word=$2
 
2660
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2661
$as_echo_n "checking for $ac_word... " >&6; }
 
2662
if ${ac_cv_prog_CC+:} false; then :
 
2663
  $as_echo_n "(cached) " >&6
 
2664
else
 
2665
  if test -n "$CC"; then
 
2666
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
2667
else
 
2668
  ac_prog_rejected=no
 
2669
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2670
for as_dir in $PATH
 
2671
do
 
2672
  IFS=$as_save_IFS
 
2673
  test -z "$as_dir" && as_dir=.
 
2674
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2675
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2676
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
2677
       ac_prog_rejected=yes
 
2678
       continue
 
2679
     fi
 
2680
    ac_cv_prog_CC="cc"
 
2681
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2682
    break 2
 
2683
  fi
 
2684
done
 
2685
  done
 
2686
IFS=$as_save_IFS
 
2687
 
 
2688
if test $ac_prog_rejected = yes; then
 
2689
  # We found a bogon in the path, so make sure we never use it.
 
2690
  set dummy $ac_cv_prog_CC
 
2691
  shift
 
2692
  if test $# != 0; then
 
2693
    # We chose a different compiler from the bogus one.
 
2694
    # However, it has the same basename, so the bogon will be chosen
 
2695
    # first if we set CC to just the basename; use the full file name.
 
2696
    shift
 
2697
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
2698
  fi
 
2699
fi
 
2700
fi
 
2701
fi
 
2702
CC=$ac_cv_prog_CC
 
2703
if test -n "$CC"; then
 
2704
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
2705
$as_echo "$CC" >&6; }
 
2706
else
 
2707
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2708
$as_echo "no" >&6; }
 
2709
fi
 
2710
 
 
2711
 
 
2712
fi
 
2713
if test -z "$CC"; then
 
2714
  if test -n "$ac_tool_prefix"; then
 
2715
  for ac_prog in cl.exe
 
2716
  do
 
2717
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
2718
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
2719
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2720
$as_echo_n "checking for $ac_word... " >&6; }
 
2721
if ${ac_cv_prog_CC+:} false; then :
 
2722
  $as_echo_n "(cached) " >&6
 
2723
else
 
2724
  if test -n "$CC"; then
 
2725
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
2726
else
 
2727
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2728
for as_dir in $PATH
 
2729
do
 
2730
  IFS=$as_save_IFS
 
2731
  test -z "$as_dir" && as_dir=.
 
2732
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2733
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2734
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
2735
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2736
    break 2
 
2737
  fi
 
2738
done
 
2739
  done
 
2740
IFS=$as_save_IFS
 
2741
 
 
2742
fi
 
2743
fi
 
2744
CC=$ac_cv_prog_CC
 
2745
if test -n "$CC"; then
 
2746
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
2747
$as_echo "$CC" >&6; }
 
2748
else
 
2749
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2750
$as_echo "no" >&6; }
 
2751
fi
 
2752
 
 
2753
 
 
2754
    test -n "$CC" && break
 
2755
  done
 
2756
fi
 
2757
if test -z "$CC"; then
 
2758
  ac_ct_CC=$CC
 
2759
  for ac_prog in cl.exe
 
2760
do
 
2761
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
2762
set dummy $ac_prog; ac_word=$2
 
2763
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2764
$as_echo_n "checking for $ac_word... " >&6; }
 
2765
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
2766
  $as_echo_n "(cached) " >&6
 
2767
else
 
2768
  if test -n "$ac_ct_CC"; then
 
2769
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
2770
else
 
2771
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2772
for as_dir in $PATH
 
2773
do
 
2774
  IFS=$as_save_IFS
 
2775
  test -z "$as_dir" && as_dir=.
 
2776
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2777
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2778
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
2779
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2780
    break 2
 
2781
  fi
 
2782
done
 
2783
  done
 
2784
IFS=$as_save_IFS
 
2785
 
 
2786
fi
 
2787
fi
 
2788
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
2789
if test -n "$ac_ct_CC"; then
 
2790
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
2791
$as_echo "$ac_ct_CC" >&6; }
 
2792
else
 
2793
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2794
$as_echo "no" >&6; }
 
2795
fi
 
2796
 
 
2797
 
 
2798
  test -n "$ac_ct_CC" && break
 
2799
done
 
2800
 
 
2801
  if test "x$ac_ct_CC" = x; then
 
2802
    CC=""
 
2803
  else
 
2804
    case $cross_compiling:$ac_tool_warned in
 
2805
yes:)
 
2806
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2807
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2808
ac_tool_warned=yes ;;
 
2809
esac
 
2810
    CC=$ac_ct_CC
 
2811
  fi
 
2812
fi
 
2813
 
 
2814
fi
 
2815
 
 
2816
 
 
2817
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2818
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2819
as_fn_error $? "no acceptable C compiler found in \$PATH
 
2820
See \`config.log' for more details" "$LINENO" 5; }
 
2821
 
 
2822
# Provide some information about the compiler.
 
2823
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
2824
set X $ac_compile
 
2825
ac_compiler=$2
 
2826
for ac_option in --version -v -V -qversion; do
 
2827
  { { ac_try="$ac_compiler $ac_option >&5"
 
2828
case "(($ac_try" in
 
2829
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2830
  *) ac_try_echo=$ac_try;;
 
2831
esac
 
2832
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2833
$as_echo "$ac_try_echo"; } >&5
 
2834
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
2835
  ac_status=$?
 
2836
  if test -s conftest.err; then
 
2837
    sed '10a\
 
2838
... rest of stderr output deleted ...
 
2839
         10q' conftest.err >conftest.er1
 
2840
    cat conftest.er1 >&5
 
2841
  fi
 
2842
  rm -f conftest.er1 conftest.err
 
2843
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2844
  test $ac_status = 0; }
 
2845
done
 
2846
 
 
2847
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2848
/* end confdefs.h.  */
 
2849
 
 
2850
int
 
2851
main ()
 
2852
{
 
2853
 
 
2854
  ;
 
2855
  return 0;
 
2856
}
 
2857
_ACEOF
 
2858
ac_clean_files_save=$ac_clean_files
 
2859
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 
2860
# Try to create an executable without -o first, disregard a.out.
 
2861
# It will help us diagnose broken compilers, and finding out an intuition
 
2862
# of exeext.
 
2863
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
2864
$as_echo_n "checking whether the C compiler works... " >&6; }
 
2865
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
2866
 
 
2867
# The possible output files:
 
2868
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
2869
 
 
2870
ac_rmfiles=
 
2871
for ac_file in $ac_files
 
2872
do
 
2873
  case $ac_file in
 
2874
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
2875
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
2876
  esac
 
2877
done
 
2878
rm -f $ac_rmfiles
 
2879
 
 
2880
if { { ac_try="$ac_link_default"
 
2881
case "(($ac_try" in
 
2882
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2883
  *) ac_try_echo=$ac_try;;
 
2884
esac
 
2885
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2886
$as_echo "$ac_try_echo"; } >&5
 
2887
  (eval "$ac_link_default") 2>&5
 
2888
  ac_status=$?
 
2889
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2890
  test $ac_status = 0; }; then :
 
2891
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
2892
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
2893
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
2894
# so that the user can short-circuit this test for compilers unknown to
 
2895
# Autoconf.
 
2896
for ac_file in $ac_files ''
 
2897
do
 
2898
  test -f "$ac_file" || continue
 
2899
  case $ac_file in
 
2900
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 
2901
        ;;
 
2902
    [ab].out )
 
2903
        # We found the default executable, but exeext='' is most
 
2904
        # certainly right.
 
2905
        break;;
 
2906
    *.* )
 
2907
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
2908
        then :; else
 
2909
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2910
        fi
 
2911
        # We set ac_cv_exeext here because the later test for it is not
 
2912
        # safe: cross compilers may not add the suffix if given an `-o'
 
2913
        # argument, so we may need to know it at that point already.
 
2914
        # Even if this section looks crufty: it has the advantage of
 
2915
        # actually working.
 
2916
        break;;
 
2917
    * )
 
2918
        break;;
 
2919
  esac
 
2920
done
 
2921
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
2922
 
 
2923
else
 
2924
  ac_file=''
 
2925
fi
 
2926
if test -z "$ac_file"; then :
 
2927
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2928
$as_echo "no" >&6; }
 
2929
$as_echo "$as_me: failed program was:" >&5
 
2930
sed 's/^/| /' conftest.$ac_ext >&5
 
2931
 
 
2932
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2933
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2934
as_fn_error 77 "C compiler cannot create executables
 
2935
See \`config.log' for more details" "$LINENO" 5; }
 
2936
else
 
2937
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2938
$as_echo "yes" >&6; }
 
2939
fi
 
2940
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
2941
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
2942
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 
2943
$as_echo "$ac_file" >&6; }
 
2944
ac_exeext=$ac_cv_exeext
 
2945
 
 
2946
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 
2947
ac_clean_files=$ac_clean_files_save
 
2948
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 
2949
$as_echo_n "checking for suffix of executables... " >&6; }
 
2950
if { { ac_try="$ac_link"
 
2951
case "(($ac_try" in
 
2952
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2953
  *) ac_try_echo=$ac_try;;
 
2954
esac
 
2955
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2956
$as_echo "$ac_try_echo"; } >&5
 
2957
  (eval "$ac_link") 2>&5
 
2958
  ac_status=$?
 
2959
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2960
  test $ac_status = 0; }; then :
 
2961
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
 
2962
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 
2963
# work properly (i.e., refer to `conftest.exe'), while it won't with
 
2964
# `rm'.
 
2965
for ac_file in conftest.exe conftest conftest.*; do
 
2966
  test -f "$ac_file" || continue
 
2967
  case $ac_file in
 
2968
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
2969
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2970
          break;;
 
2971
    * ) break;;
 
2972
  esac
 
2973
done
 
2974
else
 
2975
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2976
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2977
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 
2978
See \`config.log' for more details" "$LINENO" 5; }
 
2979
fi
 
2980
rm -f conftest conftest$ac_cv_exeext
 
2981
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 
2982
$as_echo "$ac_cv_exeext" >&6; }
 
2983
 
 
2984
rm -f conftest.$ac_ext
 
2985
EXEEXT=$ac_cv_exeext
 
2986
ac_exeext=$EXEEXT
 
2987
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2988
/* end confdefs.h.  */
 
2989
#include <stdio.h>
 
2990
int
 
2991
main ()
 
2992
{
 
2993
FILE *f = fopen ("conftest.out", "w");
 
2994
 return ferror (f) || fclose (f) != 0;
 
2995
 
 
2996
  ;
 
2997
  return 0;
 
2998
}
 
2999
_ACEOF
 
3000
ac_clean_files="$ac_clean_files conftest.out"
 
3001
# Check that the compiler produces executables we can run.  If not, either
 
3002
# the compiler is broken, or we cross compile.
 
3003
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3004
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3005
if test "$cross_compiling" != yes; then
 
3006
  { { ac_try="$ac_link"
 
3007
case "(($ac_try" in
 
3008
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3009
  *) ac_try_echo=$ac_try;;
 
3010
esac
 
3011
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3012
$as_echo "$ac_try_echo"; } >&5
 
3013
  (eval "$ac_link") 2>&5
 
3014
  ac_status=$?
 
3015
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3016
  test $ac_status = 0; }
 
3017
  if { ac_try='./conftest$ac_cv_exeext'
 
3018
  { { case "(($ac_try" in
 
3019
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3020
  *) ac_try_echo=$ac_try;;
 
3021
esac
 
3022
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3023
$as_echo "$ac_try_echo"; } >&5
 
3024
  (eval "$ac_try") 2>&5
 
3025
  ac_status=$?
 
3026
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3027
  test $ac_status = 0; }; }; then
 
3028
    cross_compiling=no
 
3029
  else
 
3030
    if test "$cross_compiling" = maybe; then
 
3031
        cross_compiling=yes
 
3032
    else
 
3033
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3034
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3035
as_fn_error $? "cannot run C compiled programs.
 
3036
If you meant to cross compile, use \`--host'.
 
3037
See \`config.log' for more details" "$LINENO" 5; }
 
3038
    fi
 
3039
  fi
 
3040
fi
 
3041
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3042
$as_echo "$cross_compiling" >&6; }
 
3043
 
 
3044
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
3045
ac_clean_files=$ac_clean_files_save
 
3046
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 
3047
$as_echo_n "checking for suffix of object files... " >&6; }
 
3048
if ${ac_cv_objext+:} false; then :
 
3049
  $as_echo_n "(cached) " >&6
 
3050
else
 
3051
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3052
/* end confdefs.h.  */
 
3053
 
 
3054
int
 
3055
main ()
 
3056
{
 
3057
 
 
3058
  ;
 
3059
  return 0;
 
3060
}
 
3061
_ACEOF
 
3062
rm -f conftest.o conftest.obj
 
3063
if { { ac_try="$ac_compile"
 
3064
case "(($ac_try" in
 
3065
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3066
  *) ac_try_echo=$ac_try;;
 
3067
esac
 
3068
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3069
$as_echo "$ac_try_echo"; } >&5
 
3070
  (eval "$ac_compile") 2>&5
 
3071
  ac_status=$?
 
3072
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3073
  test $ac_status = 0; }; then :
 
3074
  for ac_file in conftest.o conftest.obj conftest.*; do
 
3075
  test -f "$ac_file" || continue;
 
3076
  case $ac_file in
 
3077
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 
3078
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 
3079
       break;;
 
3080
  esac
 
3081
done
 
3082
else
 
3083
  $as_echo "$as_me: failed program was:" >&5
 
3084
sed 's/^/| /' conftest.$ac_ext >&5
 
3085
 
 
3086
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3087
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3088
as_fn_error $? "cannot compute suffix of object files: cannot compile
 
3089
See \`config.log' for more details" "$LINENO" 5; }
 
3090
fi
 
3091
rm -f conftest.$ac_cv_objext conftest.$ac_ext
 
3092
fi
 
3093
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 
3094
$as_echo "$ac_cv_objext" >&6; }
 
3095
OBJEXT=$ac_cv_objext
 
3096
ac_objext=$OBJEXT
 
3097
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
3098
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
3099
if ${ac_cv_c_compiler_gnu+:} false; then :
 
3100
  $as_echo_n "(cached) " >&6
 
3101
else
 
3102
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3103
/* end confdefs.h.  */
 
3104
 
 
3105
int
 
3106
main ()
 
3107
{
 
3108
#ifndef __GNUC__
 
3109
       choke me
 
3110
#endif
 
3111
 
 
3112
  ;
 
3113
  return 0;
 
3114
}
 
3115
_ACEOF
 
3116
if ac_fn_c_try_compile "$LINENO"; then :
 
3117
  ac_compiler_gnu=yes
 
3118
else
 
3119
  ac_compiler_gnu=no
 
3120
fi
 
3121
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3122
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
3123
 
 
3124
fi
 
3125
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
3126
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
3127
if test $ac_compiler_gnu = yes; then
 
3128
  GCC=yes
 
3129
else
 
3130
  GCC=
 
3131
fi
 
3132
ac_test_CFLAGS=${CFLAGS+set}
 
3133
ac_save_CFLAGS=$CFLAGS
 
3134
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
3135
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
3136
if ${ac_cv_prog_cc_g+:} false; then :
 
3137
  $as_echo_n "(cached) " >&6
 
3138
else
 
3139
  ac_save_c_werror_flag=$ac_c_werror_flag
 
3140
   ac_c_werror_flag=yes
 
3141
   ac_cv_prog_cc_g=no
 
3142
   CFLAGS="-g"
 
3143
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3144
/* end confdefs.h.  */
 
3145
 
 
3146
int
 
3147
main ()
 
3148
{
 
3149
 
 
3150
  ;
 
3151
  return 0;
 
3152
}
 
3153
_ACEOF
 
3154
if ac_fn_c_try_compile "$LINENO"; then :
 
3155
  ac_cv_prog_cc_g=yes
 
3156
else
 
3157
  CFLAGS=""
 
3158
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3159
/* end confdefs.h.  */
 
3160
 
 
3161
int
 
3162
main ()
 
3163
{
 
3164
 
 
3165
  ;
 
3166
  return 0;
 
3167
}
 
3168
_ACEOF
 
3169
if ac_fn_c_try_compile "$LINENO"; then :
 
3170
 
 
3171
else
 
3172
  ac_c_werror_flag=$ac_save_c_werror_flag
 
3173
         CFLAGS="-g"
 
3174
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3175
/* end confdefs.h.  */
 
3176
 
 
3177
int
 
3178
main ()
 
3179
{
 
3180
 
 
3181
  ;
 
3182
  return 0;
 
3183
}
 
3184
_ACEOF
 
3185
if ac_fn_c_try_compile "$LINENO"; then :
 
3186
  ac_cv_prog_cc_g=yes
 
3187
fi
 
3188
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3189
fi
 
3190
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3191
fi
 
3192
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3193
   ac_c_werror_flag=$ac_save_c_werror_flag
 
3194
fi
 
3195
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
3196
$as_echo "$ac_cv_prog_cc_g" >&6; }
 
3197
if test "$ac_test_CFLAGS" = set; then
 
3198
  CFLAGS=$ac_save_CFLAGS
 
3199
elif test $ac_cv_prog_cc_g = yes; then
 
3200
  if test "$GCC" = yes; then
 
3201
    CFLAGS="-g -O2"
 
3202
  else
 
3203
    CFLAGS="-g"
 
3204
  fi
 
3205
else
 
3206
  if test "$GCC" = yes; then
 
3207
    CFLAGS="-O2"
 
3208
  else
 
3209
    CFLAGS=
 
3210
  fi
 
3211
fi
 
3212
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
3213
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
3214
if ${ac_cv_prog_cc_c89+:} false; then :
 
3215
  $as_echo_n "(cached) " >&6
 
3216
else
 
3217
  ac_cv_prog_cc_c89=no
 
3218
ac_save_CC=$CC
 
3219
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3220
/* end confdefs.h.  */
 
3221
#include <stdarg.h>
 
3222
#include <stdio.h>
 
3223
#include <sys/types.h>
 
3224
#include <sys/stat.h>
 
3225
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
3226
struct buf { int x; };
 
3227
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
3228
static char *e (p, i)
 
3229
     char **p;
 
3230
     int i;
 
3231
{
 
3232
  return p[i];
 
3233
}
 
3234
static char *f (char * (*g) (char **, int), char **p, ...)
 
3235
{
 
3236
  char *s;
 
3237
  va_list v;
 
3238
  va_start (v,p);
 
3239
  s = g (p, va_arg (v,int));
 
3240
  va_end (v);
 
3241
  return s;
 
3242
}
 
3243
 
 
3244
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
3245
   function prototypes and stuff, but not '\xHH' hex character constants.
 
3246
   These don't provoke an error unfortunately, instead are silently treated
 
3247
   as 'x'.  The following induces an error, until -std is added to get
 
3248
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
3249
   array size at least.  It's necessary to write '\x00'==0 to get something
 
3250
   that's true only with -std.  */
 
3251
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
3252
 
 
3253
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
3254
   inside strings and character constants.  */
 
3255
#define FOO(x) 'x'
 
3256
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
3257
 
 
3258
int test (int i, double x);
 
3259
struct s1 {int (*f) (int a);};
 
3260
struct s2 {int (*f) (double a);};
 
3261
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
3262
int argc;
 
3263
char **argv;
 
3264
int
 
3265
main ()
 
3266
{
 
3267
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
3268
  ;
 
3269
  return 0;
 
3270
}
 
3271
_ACEOF
 
3272
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
3273
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3274
do
 
3275
  CC="$ac_save_CC $ac_arg"
 
3276
  if ac_fn_c_try_compile "$LINENO"; then :
 
3277
  ac_cv_prog_cc_c89=$ac_arg
 
3278
fi
 
3279
rm -f core conftest.err conftest.$ac_objext
 
3280
  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
3281
done
 
3282
rm -f conftest.$ac_ext
 
3283
CC=$ac_save_CC
 
3284
 
 
3285
fi
 
3286
# AC_CACHE_VAL
 
3287
case "x$ac_cv_prog_cc_c89" in
 
3288
  x)
 
3289
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
3290
$as_echo "none needed" >&6; } ;;
 
3291
  xno)
 
3292
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
3293
$as_echo "unsupported" >&6; } ;;
 
3294
  *)
 
3295
    CC="$CC $ac_cv_prog_cc_c89"
 
3296
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
3297
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 
3298
esac
 
3299
if test "x$ac_cv_prog_cc_c89" != xno; then :
 
3300
 
 
3301
fi
 
3302
 
 
3303
ac_ext=c
 
3304
ac_cpp='$CPP $CPPFLAGS'
 
3305
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3306
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3307
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3308
 
 
3309
 
 
3310
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
 
3311
$as_echo_n "checking for library containing strerror... " >&6; }
 
3312
if ${ac_cv_search_strerror+:} false; then :
 
3313
  $as_echo_n "(cached) " >&6
 
3314
else
 
3315
  ac_func_search_save_LIBS=$LIBS
 
3316
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3317
/* end confdefs.h.  */
 
3318
 
 
3319
/* Override any GCC internal prototype to avoid an error.
 
3320
   Use char because int might match the return type of a GCC
 
3321
   builtin and then its argument prototype would still apply.  */
 
3322
#ifdef __cplusplus
 
3323
extern "C"
 
3324
#endif
 
3325
char strerror ();
 
3326
int
 
3327
main ()
 
3328
{
 
3329
return strerror ();
 
3330
  ;
 
3331
  return 0;
 
3332
}
 
3333
_ACEOF
 
3334
for ac_lib in '' cposix; do
 
3335
  if test -z "$ac_lib"; then
 
3336
    ac_res="none required"
 
3337
  else
 
3338
    ac_res=-l$ac_lib
 
3339
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 
3340
  fi
 
3341
  if ac_fn_c_try_link "$LINENO"; then :
 
3342
  ac_cv_search_strerror=$ac_res
 
3343
fi
 
3344
rm -f core conftest.err conftest.$ac_objext \
 
3345
    conftest$ac_exeext
 
3346
  if ${ac_cv_search_strerror+:} false; then :
 
3347
  break
 
3348
fi
 
3349
done
 
3350
if ${ac_cv_search_strerror+:} false; then :
 
3351
 
 
3352
else
 
3353
  ac_cv_search_strerror=no
 
3354
fi
 
3355
rm conftest.$ac_ext
 
3356
LIBS=$ac_func_search_save_LIBS
 
3357
fi
 
3358
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
 
3359
$as_echo "$ac_cv_search_strerror" >&6; }
 
3360
ac_res=$ac_cv_search_strerror
 
3361
if test "$ac_res" != no; then :
 
3362
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
3363
 
 
3364
fi
 
3365
 
 
3366
ac_ext=c
 
3367
ac_cpp='$CPP $CPPFLAGS'
 
3368
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3369
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3370
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3371
if test -n "$ac_tool_prefix"; then
 
3372
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
3373
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
3374
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3375
$as_echo_n "checking for $ac_word... " >&6; }
 
3376
if ${ac_cv_prog_CC+:} false; then :
 
3377
  $as_echo_n "(cached) " >&6
 
3378
else
 
3379
  if test -n "$CC"; then
 
3380
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3381
else
 
3382
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3383
for as_dir in $PATH
 
3384
do
 
3385
  IFS=$as_save_IFS
 
3386
  test -z "$as_dir" && as_dir=.
 
3387
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3388
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3389
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
3390
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3391
    break 2
 
3392
  fi
 
3393
done
 
3394
  done
 
3395
IFS=$as_save_IFS
 
3396
 
 
3397
fi
 
3398
fi
 
3399
CC=$ac_cv_prog_CC
 
3400
if test -n "$CC"; then
 
3401
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3402
$as_echo "$CC" >&6; }
 
3403
else
 
3404
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3405
$as_echo "no" >&6; }
 
3406
fi
 
3407
 
 
3408
 
 
3409
fi
 
3410
if test -z "$ac_cv_prog_CC"; then
 
3411
  ac_ct_CC=$CC
 
3412
  # Extract the first word of "gcc", so it can be a program name with args.
 
3413
set dummy gcc; ac_word=$2
 
3414
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3415
$as_echo_n "checking for $ac_word... " >&6; }
 
3416
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
3417
  $as_echo_n "(cached) " >&6
 
3418
else
 
3419
  if test -n "$ac_ct_CC"; then
 
3420
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
3421
else
 
3422
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3423
for as_dir in $PATH
 
3424
do
 
3425
  IFS=$as_save_IFS
 
3426
  test -z "$as_dir" && as_dir=.
 
3427
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3428
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3429
    ac_cv_prog_ac_ct_CC="gcc"
 
3430
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3431
    break 2
 
3432
  fi
 
3433
done
 
3434
  done
 
3435
IFS=$as_save_IFS
 
3436
 
 
3437
fi
 
3438
fi
 
3439
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
3440
if test -n "$ac_ct_CC"; then
 
3441
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
3442
$as_echo "$ac_ct_CC" >&6; }
 
3443
else
 
3444
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3445
$as_echo "no" >&6; }
 
3446
fi
 
3447
 
 
3448
  if test "x$ac_ct_CC" = x; then
 
3449
    CC=""
 
3450
  else
 
3451
    case $cross_compiling:$ac_tool_warned in
 
3452
yes:)
 
3453
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3454
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3455
ac_tool_warned=yes ;;
 
3456
esac
 
3457
    CC=$ac_ct_CC
 
3458
  fi
 
3459
else
 
3460
  CC="$ac_cv_prog_CC"
 
3461
fi
 
3462
 
 
3463
if test -z "$CC"; then
 
3464
          if test -n "$ac_tool_prefix"; then
 
3465
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
3466
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
3467
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3468
$as_echo_n "checking for $ac_word... " >&6; }
 
3469
if ${ac_cv_prog_CC+:} false; then :
 
3470
  $as_echo_n "(cached) " >&6
 
3471
else
 
3472
  if test -n "$CC"; then
 
3473
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3474
else
 
3475
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3476
for as_dir in $PATH
 
3477
do
 
3478
  IFS=$as_save_IFS
 
3479
  test -z "$as_dir" && as_dir=.
 
3480
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3481
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3482
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
3483
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3484
    break 2
 
3485
  fi
 
3486
done
 
3487
  done
 
3488
IFS=$as_save_IFS
 
3489
 
 
3490
fi
 
3491
fi
 
3492
CC=$ac_cv_prog_CC
 
3493
if test -n "$CC"; then
 
3494
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3495
$as_echo "$CC" >&6; }
 
3496
else
 
3497
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3498
$as_echo "no" >&6; }
 
3499
fi
 
3500
 
 
3501
 
 
3502
  fi
 
3503
fi
 
3504
if test -z "$CC"; then
 
3505
  # Extract the first word of "cc", so it can be a program name with args.
 
3506
set dummy cc; ac_word=$2
 
3507
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3508
$as_echo_n "checking for $ac_word... " >&6; }
 
3509
if ${ac_cv_prog_CC+:} false; then :
 
3510
  $as_echo_n "(cached) " >&6
 
3511
else
 
3512
  if test -n "$CC"; then
 
3513
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3514
else
 
3515
  ac_prog_rejected=no
 
3516
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3517
for as_dir in $PATH
 
3518
do
 
3519
  IFS=$as_save_IFS
 
3520
  test -z "$as_dir" && as_dir=.
 
3521
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3522
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3523
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
3524
       ac_prog_rejected=yes
 
3525
       continue
 
3526
     fi
 
3527
    ac_cv_prog_CC="cc"
 
3528
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3529
    break 2
 
3530
  fi
 
3531
done
 
3532
  done
 
3533
IFS=$as_save_IFS
 
3534
 
 
3535
if test $ac_prog_rejected = yes; then
 
3536
  # We found a bogon in the path, so make sure we never use it.
 
3537
  set dummy $ac_cv_prog_CC
 
3538
  shift
 
3539
  if test $# != 0; then
 
3540
    # We chose a different compiler from the bogus one.
 
3541
    # However, it has the same basename, so the bogon will be chosen
 
3542
    # first if we set CC to just the basename; use the full file name.
 
3543
    shift
 
3544
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
3545
  fi
 
3546
fi
 
3547
fi
 
3548
fi
 
3549
CC=$ac_cv_prog_CC
 
3550
if test -n "$CC"; then
 
3551
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3552
$as_echo "$CC" >&6; }
 
3553
else
 
3554
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3555
$as_echo "no" >&6; }
 
3556
fi
 
3557
 
 
3558
 
 
3559
fi
 
3560
if test -z "$CC"; then
 
3561
  if test -n "$ac_tool_prefix"; then
 
3562
  for ac_prog in cl.exe
 
3563
  do
 
3564
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
3565
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
3566
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3567
$as_echo_n "checking for $ac_word... " >&6; }
 
3568
if ${ac_cv_prog_CC+:} false; then :
 
3569
  $as_echo_n "(cached) " >&6
 
3570
else
 
3571
  if test -n "$CC"; then
 
3572
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3573
else
 
3574
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3575
for as_dir in $PATH
 
3576
do
 
3577
  IFS=$as_save_IFS
 
3578
  test -z "$as_dir" && as_dir=.
 
3579
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3580
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3581
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
3582
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3583
    break 2
 
3584
  fi
 
3585
done
 
3586
  done
 
3587
IFS=$as_save_IFS
 
3588
 
 
3589
fi
 
3590
fi
 
3591
CC=$ac_cv_prog_CC
 
3592
if test -n "$CC"; then
 
3593
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3594
$as_echo "$CC" >&6; }
 
3595
else
 
3596
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3597
$as_echo "no" >&6; }
 
3598
fi
 
3599
 
 
3600
 
 
3601
    test -n "$CC" && break
 
3602
  done
 
3603
fi
 
3604
if test -z "$CC"; then
 
3605
  ac_ct_CC=$CC
 
3606
  for ac_prog in cl.exe
 
3607
do
 
3608
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
3609
set dummy $ac_prog; ac_word=$2
 
3610
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3611
$as_echo_n "checking for $ac_word... " >&6; }
 
3612
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
3613
  $as_echo_n "(cached) " >&6
 
3614
else
 
3615
  if test -n "$ac_ct_CC"; then
 
3616
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
3617
else
 
3618
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3619
for as_dir in $PATH
 
3620
do
 
3621
  IFS=$as_save_IFS
 
3622
  test -z "$as_dir" && as_dir=.
 
3623
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3624
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3625
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
3626
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3627
    break 2
 
3628
  fi
 
3629
done
 
3630
  done
 
3631
IFS=$as_save_IFS
 
3632
 
 
3633
fi
 
3634
fi
 
3635
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
3636
if test -n "$ac_ct_CC"; then
 
3637
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
3638
$as_echo "$ac_ct_CC" >&6; }
 
3639
else
 
3640
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3641
$as_echo "no" >&6; }
 
3642
fi
 
3643
 
 
3644
 
 
3645
  test -n "$ac_ct_CC" && break
 
3646
done
 
3647
 
 
3648
  if test "x$ac_ct_CC" = x; then
 
3649
    CC=""
 
3650
  else
 
3651
    case $cross_compiling:$ac_tool_warned in
 
3652
yes:)
 
3653
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3654
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3655
ac_tool_warned=yes ;;
 
3656
esac
 
3657
    CC=$ac_ct_CC
 
3658
  fi
 
3659
fi
 
3660
 
 
3661
fi
 
3662
 
 
3663
 
 
3664
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3665
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3666
as_fn_error $? "no acceptable C compiler found in \$PATH
 
3667
See \`config.log' for more details" "$LINENO" 5; }
 
3668
 
 
3669
# Provide some information about the compiler.
 
3670
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
3671
set X $ac_compile
 
3672
ac_compiler=$2
 
3673
for ac_option in --version -v -V -qversion; do
 
3674
  { { ac_try="$ac_compiler $ac_option >&5"
 
3675
case "(($ac_try" in
 
3676
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3677
  *) ac_try_echo=$ac_try;;
 
3678
esac
 
3679
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3680
$as_echo "$ac_try_echo"; } >&5
 
3681
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
3682
  ac_status=$?
 
3683
  if test -s conftest.err; then
 
3684
    sed '10a\
 
3685
... rest of stderr output deleted ...
 
3686
         10q' conftest.err >conftest.er1
 
3687
    cat conftest.er1 >&5
 
3688
  fi
 
3689
  rm -f conftest.er1 conftest.err
 
3690
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3691
  test $ac_status = 0; }
 
3692
done
 
3693
 
 
3694
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
3695
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
3696
if ${ac_cv_c_compiler_gnu+:} false; then :
 
3697
  $as_echo_n "(cached) " >&6
 
3698
else
 
3699
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3700
/* end confdefs.h.  */
 
3701
 
 
3702
int
 
3703
main ()
 
3704
{
 
3705
#ifndef __GNUC__
 
3706
       choke me
 
3707
#endif
 
3708
 
 
3709
  ;
 
3710
  return 0;
 
3711
}
 
3712
_ACEOF
 
3713
if ac_fn_c_try_compile "$LINENO"; then :
 
3714
  ac_compiler_gnu=yes
 
3715
else
 
3716
  ac_compiler_gnu=no
 
3717
fi
 
3718
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3719
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
3720
 
 
3721
fi
 
3722
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
3723
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
3724
if test $ac_compiler_gnu = yes; then
 
3725
  GCC=yes
 
3726
else
 
3727
  GCC=
 
3728
fi
 
3729
ac_test_CFLAGS=${CFLAGS+set}
 
3730
ac_save_CFLAGS=$CFLAGS
 
3731
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
3732
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
3733
if ${ac_cv_prog_cc_g+:} false; then :
 
3734
  $as_echo_n "(cached) " >&6
 
3735
else
 
3736
  ac_save_c_werror_flag=$ac_c_werror_flag
 
3737
   ac_c_werror_flag=yes
 
3738
   ac_cv_prog_cc_g=no
 
3739
   CFLAGS="-g"
 
3740
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3741
/* end confdefs.h.  */
 
3742
 
 
3743
int
 
3744
main ()
 
3745
{
 
3746
 
 
3747
  ;
 
3748
  return 0;
 
3749
}
 
3750
_ACEOF
 
3751
if ac_fn_c_try_compile "$LINENO"; then :
 
3752
  ac_cv_prog_cc_g=yes
 
3753
else
 
3754
  CFLAGS=""
 
3755
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3756
/* end confdefs.h.  */
 
3757
 
 
3758
int
 
3759
main ()
 
3760
{
 
3761
 
 
3762
  ;
 
3763
  return 0;
 
3764
}
 
3765
_ACEOF
 
3766
if ac_fn_c_try_compile "$LINENO"; then :
 
3767
 
 
3768
else
 
3769
  ac_c_werror_flag=$ac_save_c_werror_flag
 
3770
         CFLAGS="-g"
 
3771
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3772
/* end confdefs.h.  */
 
3773
 
 
3774
int
 
3775
main ()
 
3776
{
 
3777
 
 
3778
  ;
 
3779
  return 0;
 
3780
}
 
3781
_ACEOF
 
3782
if ac_fn_c_try_compile "$LINENO"; then :
 
3783
  ac_cv_prog_cc_g=yes
 
3784
fi
 
3785
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3786
fi
 
3787
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3788
fi
 
3789
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3790
   ac_c_werror_flag=$ac_save_c_werror_flag
 
3791
fi
 
3792
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
3793
$as_echo "$ac_cv_prog_cc_g" >&6; }
 
3794
if test "$ac_test_CFLAGS" = set; then
 
3795
  CFLAGS=$ac_save_CFLAGS
 
3796
elif test $ac_cv_prog_cc_g = yes; then
 
3797
  if test "$GCC" = yes; then
 
3798
    CFLAGS="-g -O2"
 
3799
  else
 
3800
    CFLAGS="-g"
 
3801
  fi
 
3802
else
 
3803
  if test "$GCC" = yes; then
 
3804
    CFLAGS="-O2"
 
3805
  else
 
3806
    CFLAGS=
 
3807
  fi
 
3808
fi
 
3809
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
3810
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
3811
if ${ac_cv_prog_cc_c89+:} false; then :
 
3812
  $as_echo_n "(cached) " >&6
 
3813
else
 
3814
  ac_cv_prog_cc_c89=no
 
3815
ac_save_CC=$CC
 
3816
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3817
/* end confdefs.h.  */
 
3818
#include <stdarg.h>
 
3819
#include <stdio.h>
 
3820
#include <sys/types.h>
 
3821
#include <sys/stat.h>
 
3822
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
3823
struct buf { int x; };
 
3824
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
3825
static char *e (p, i)
 
3826
     char **p;
 
3827
     int i;
 
3828
{
 
3829
  return p[i];
 
3830
}
 
3831
static char *f (char * (*g) (char **, int), char **p, ...)
 
3832
{
 
3833
  char *s;
 
3834
  va_list v;
 
3835
  va_start (v,p);
 
3836
  s = g (p, va_arg (v,int));
 
3837
  va_end (v);
 
3838
  return s;
 
3839
}
 
3840
 
 
3841
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
3842
   function prototypes and stuff, but not '\xHH' hex character constants.
 
3843
   These don't provoke an error unfortunately, instead are silently treated
 
3844
   as 'x'.  The following induces an error, until -std is added to get
 
3845
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
3846
   array size at least.  It's necessary to write '\x00'==0 to get something
 
3847
   that's true only with -std.  */
 
3848
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
3849
 
 
3850
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
3851
   inside strings and character constants.  */
 
3852
#define FOO(x) 'x'
 
3853
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
3854
 
 
3855
int test (int i, double x);
 
3856
struct s1 {int (*f) (int a);};
 
3857
struct s2 {int (*f) (double a);};
 
3858
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
3859
int argc;
 
3860
char **argv;
 
3861
int
 
3862
main ()
 
3863
{
 
3864
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
3865
  ;
 
3866
  return 0;
 
3867
}
 
3868
_ACEOF
 
3869
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
3870
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3871
do
 
3872
  CC="$ac_save_CC $ac_arg"
 
3873
  if ac_fn_c_try_compile "$LINENO"; then :
 
3874
  ac_cv_prog_cc_c89=$ac_arg
 
3875
fi
 
3876
rm -f core conftest.err conftest.$ac_objext
 
3877
  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
3878
done
 
3879
rm -f conftest.$ac_ext
 
3880
CC=$ac_save_CC
 
3881
 
 
3882
fi
 
3883
# AC_CACHE_VAL
 
3884
case "x$ac_cv_prog_cc_c89" in
 
3885
  x)
 
3886
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
3887
$as_echo "none needed" >&6; } ;;
 
3888
  xno)
 
3889
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
3890
$as_echo "unsupported" >&6; } ;;
 
3891
  *)
 
3892
    CC="$CC $ac_cv_prog_cc_c89"
 
3893
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
3894
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 
3895
esac
 
3896
if test "x$ac_cv_prog_cc_c89" != xno; then :
 
3897
 
 
3898
fi
 
3899
 
 
3900
ac_ext=c
 
3901
ac_cpp='$CPP $CPPFLAGS'
 
3902
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3903
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3904
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3905
 
 
3906
ac_ext=c
 
3907
ac_cpp='$CPP $CPPFLAGS'
 
3908
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3909
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3910
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3911
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 
3912
$as_echo_n "checking how to run the C preprocessor... " >&6; }
 
3913
# On Suns, sometimes $CPP names a directory.
 
3914
if test -n "$CPP" && test -d "$CPP"; then
 
3915
  CPP=
 
3916
fi
 
3917
if test -z "$CPP"; then
 
3918
  if ${ac_cv_prog_CPP+:} false; then :
 
3919
  $as_echo_n "(cached) " >&6
 
3920
else
 
3921
      # Double quotes because CPP needs to be expanded
 
3922
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
3923
    do
 
3924
      ac_preproc_ok=false
 
3925
for ac_c_preproc_warn_flag in '' yes
 
3926
do
 
3927
  # Use a header file that comes with gcc, so configuring glibc
 
3928
  # with a fresh cross-compiler works.
 
3929
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
3930
  # <limits.h> exists even on freestanding compilers.
 
3931
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
3932
  # not just through cpp. "Syntax error" is here to catch this case.
 
3933
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3934
/* end confdefs.h.  */
 
3935
#ifdef __STDC__
 
3936
# include <limits.h>
 
3937
#else
 
3938
# include <assert.h>
 
3939
#endif
 
3940
                     Syntax error
 
3941
_ACEOF
 
3942
if ac_fn_c_try_cpp "$LINENO"; then :
 
3943
 
 
3944
else
 
3945
  # Broken: fails on valid input.
 
3946
continue
 
3947
fi
 
3948
rm -f conftest.err conftest.i conftest.$ac_ext
 
3949
 
 
3950
  # OK, works on sane cases.  Now check whether nonexistent headers
 
3951
  # can be detected and how.
 
3952
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3953
/* end confdefs.h.  */
 
3954
#include <ac_nonexistent.h>
 
3955
_ACEOF
 
3956
if ac_fn_c_try_cpp "$LINENO"; then :
 
3957
  # Broken: success on invalid input.
 
3958
continue
 
3959
else
 
3960
  # Passes both tests.
 
3961
ac_preproc_ok=:
 
3962
break
 
3963
fi
 
3964
rm -f conftest.err conftest.i conftest.$ac_ext
 
3965
 
 
3966
done
 
3967
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
3968
rm -f conftest.i conftest.err conftest.$ac_ext
 
3969
if $ac_preproc_ok; then :
 
3970
  break
 
3971
fi
 
3972
 
 
3973
    done
 
3974
    ac_cv_prog_CPP=$CPP
 
3975
 
 
3976
fi
 
3977
  CPP=$ac_cv_prog_CPP
 
3978
else
 
3979
  ac_cv_prog_CPP=$CPP
 
3980
fi
 
3981
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 
3982
$as_echo "$CPP" >&6; }
 
3983
ac_preproc_ok=false
 
3984
for ac_c_preproc_warn_flag in '' yes
 
3985
do
 
3986
  # Use a header file that comes with gcc, so configuring glibc
 
3987
  # with a fresh cross-compiler works.
 
3988
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
3989
  # <limits.h> exists even on freestanding compilers.
 
3990
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
3991
  # not just through cpp. "Syntax error" is here to catch this case.
 
3992
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3993
/* end confdefs.h.  */
 
3994
#ifdef __STDC__
 
3995
# include <limits.h>
 
3996
#else
 
3997
# include <assert.h>
 
3998
#endif
 
3999
                     Syntax error
 
4000
_ACEOF
 
4001
if ac_fn_c_try_cpp "$LINENO"; then :
 
4002
 
 
4003
else
 
4004
  # Broken: fails on valid input.
 
4005
continue
 
4006
fi
 
4007
rm -f conftest.err conftest.i conftest.$ac_ext
 
4008
 
 
4009
  # OK, works on sane cases.  Now check whether nonexistent headers
 
4010
  # can be detected and how.
 
4011
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4012
/* end confdefs.h.  */
 
4013
#include <ac_nonexistent.h>
 
4014
_ACEOF
 
4015
if ac_fn_c_try_cpp "$LINENO"; then :
 
4016
  # Broken: success on invalid input.
 
4017
continue
 
4018
else
 
4019
  # Passes both tests.
 
4020
ac_preproc_ok=:
 
4021
break
 
4022
fi
 
4023
rm -f conftest.err conftest.i conftest.$ac_ext
 
4024
 
 
4025
done
 
4026
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
4027
rm -f conftest.i conftest.err conftest.$ac_ext
 
4028
if $ac_preproc_ok; then :
 
4029
 
 
4030
else
 
4031
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4032
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4033
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 
4034
See \`config.log' for more details" "$LINENO" 5; }
 
4035
fi
 
4036
 
 
4037
ac_ext=c
 
4038
ac_cpp='$CPP $CPPFLAGS'
 
4039
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
4040
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
4041
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
4042
 
 
4043
 
 
4044
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 
4045
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
4046
if ${ac_cv_path_GREP+:} false; then :
 
4047
  $as_echo_n "(cached) " >&6
 
4048
else
 
4049
  if test -z "$GREP"; then
 
4050
  ac_path_GREP_found=false
 
4051
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4052
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4053
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4054
do
 
4055
  IFS=$as_save_IFS
 
4056
  test -z "$as_dir" && as_dir=.
 
4057
    for ac_prog in grep ggrep; do
 
4058
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4059
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
4060
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
4061
# Check for GNU ac_path_GREP and select it if it is found.
 
4062
  # Check for GNU $ac_path_GREP
 
4063
case `"$ac_path_GREP" --version 2>&1` in
 
4064
*GNU*)
 
4065
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
4066
*)
 
4067
  ac_count=0
 
4068
  $as_echo_n 0123456789 >"conftest.in"
 
4069
  while :
 
4070
  do
 
4071
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4072
    mv "conftest.tmp" "conftest.in"
 
4073
    cp "conftest.in" "conftest.nl"
 
4074
    $as_echo 'GREP' >> "conftest.nl"
 
4075
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4076
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4077
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4078
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
4079
      # Best one so far, save it but keep looking for a better one
 
4080
      ac_cv_path_GREP="$ac_path_GREP"
 
4081
      ac_path_GREP_max=$ac_count
 
4082
    fi
 
4083
    # 10*(2^10) chars as input seems more than enough
 
4084
    test $ac_count -gt 10 && break
 
4085
  done
 
4086
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4087
esac
 
4088
 
 
4089
      $ac_path_GREP_found && break 3
 
4090
    done
 
4091
  done
 
4092
  done
 
4093
IFS=$as_save_IFS
 
4094
  if test -z "$ac_cv_path_GREP"; then
 
4095
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4096
  fi
 
4097
else
 
4098
  ac_cv_path_GREP=$GREP
 
4099
fi
 
4100
 
 
4101
fi
 
4102
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 
4103
$as_echo "$ac_cv_path_GREP" >&6; }
 
4104
 GREP="$ac_cv_path_GREP"
 
4105
 
 
4106
 
 
4107
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 
4108
$as_echo_n "checking for egrep... " >&6; }
 
4109
if ${ac_cv_path_EGREP+:} false; then :
 
4110
  $as_echo_n "(cached) " >&6
 
4111
else
 
4112
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
4113
   then ac_cv_path_EGREP="$GREP -E"
 
4114
   else
 
4115
     if test -z "$EGREP"; then
 
4116
  ac_path_EGREP_found=false
 
4117
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4118
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4119
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4120
do
 
4121
  IFS=$as_save_IFS
 
4122
  test -z "$as_dir" && as_dir=.
 
4123
    for ac_prog in egrep; do
 
4124
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4125
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4126
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
4127
# Check for GNU ac_path_EGREP and select it if it is found.
 
4128
  # Check for GNU $ac_path_EGREP
 
4129
case `"$ac_path_EGREP" --version 2>&1` in
 
4130
*GNU*)
 
4131
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
4132
*)
 
4133
  ac_count=0
 
4134
  $as_echo_n 0123456789 >"conftest.in"
 
4135
  while :
 
4136
  do
 
4137
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4138
    mv "conftest.tmp" "conftest.in"
 
4139
    cp "conftest.in" "conftest.nl"
 
4140
    $as_echo 'EGREP' >> "conftest.nl"
 
4141
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4142
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4143
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4144
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
4145
      # Best one so far, save it but keep looking for a better one
 
4146
      ac_cv_path_EGREP="$ac_path_EGREP"
 
4147
      ac_path_EGREP_max=$ac_count
 
4148
    fi
 
4149
    # 10*(2^10) chars as input seems more than enough
 
4150
    test $ac_count -gt 10 && break
 
4151
  done
 
4152
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4153
esac
 
4154
 
 
4155
      $ac_path_EGREP_found && break 3
 
4156
    done
 
4157
  done
 
4158
  done
 
4159
IFS=$as_save_IFS
 
4160
  if test -z "$ac_cv_path_EGREP"; then
 
4161
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4162
  fi
 
4163
else
 
4164
  ac_cv_path_EGREP=$EGREP
 
4165
fi
 
4166
 
 
4167
   fi
 
4168
fi
 
4169
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 
4170
$as_echo "$ac_cv_path_EGREP" >&6; }
 
4171
 EGREP="$ac_cv_path_EGREP"
 
4172
 
 
4173
 
 
4174
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 
4175
$as_echo_n "checking for ANSI C header files... " >&6; }
 
4176
if ${ac_cv_header_stdc+:} false; then :
 
4177
  $as_echo_n "(cached) " >&6
 
4178
else
 
4179
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4180
/* end confdefs.h.  */
 
4181
#include <stdlib.h>
 
4182
#include <stdarg.h>
 
4183
#include <string.h>
 
4184
#include <float.h>
 
4185
 
 
4186
int
 
4187
main ()
 
4188
{
 
4189
 
 
4190
  ;
 
4191
  return 0;
 
4192
}
 
4193
_ACEOF
 
4194
if ac_fn_c_try_compile "$LINENO"; then :
 
4195
  ac_cv_header_stdc=yes
 
4196
else
 
4197
  ac_cv_header_stdc=no
 
4198
fi
 
4199
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4200
 
 
4201
if test $ac_cv_header_stdc = yes; then
 
4202
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
4203
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4204
/* end confdefs.h.  */
 
4205
#include <string.h>
 
4206
 
 
4207
_ACEOF
 
4208
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
4209
  $EGREP "memchr" >/dev/null 2>&1; then :
 
4210
 
 
4211
else
 
4212
  ac_cv_header_stdc=no
 
4213
fi
 
4214
rm -f conftest*
 
4215
 
 
4216
fi
 
4217
 
 
4218
if test $ac_cv_header_stdc = yes; then
 
4219
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
4220
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4221
/* end confdefs.h.  */
 
4222
#include <stdlib.h>
 
4223
 
 
4224
_ACEOF
 
4225
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
4226
  $EGREP "free" >/dev/null 2>&1; then :
 
4227
 
 
4228
else
 
4229
  ac_cv_header_stdc=no
 
4230
fi
 
4231
rm -f conftest*
 
4232
 
 
4233
fi
 
4234
 
 
4235
if test $ac_cv_header_stdc = yes; then
 
4236
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
4237
  if test "$cross_compiling" = yes; then :
 
4238
  :
 
4239
else
 
4240
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4241
/* end confdefs.h.  */
 
4242
#include <ctype.h>
 
4243
#include <stdlib.h>
 
4244
#if ((' ' & 0x0FF) == 0x020)
 
4245
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
4246
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
4247
#else
 
4248
# define ISLOWER(c) \
 
4249
                   (('a' <= (c) && (c) <= 'i') \
 
4250
                     || ('j' <= (c) && (c) <= 'r') \
 
4251
                     || ('s' <= (c) && (c) <= 'z'))
 
4252
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
4253
#endif
 
4254
 
 
4255
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
4256
int
 
4257
main ()
 
4258
{
 
4259
  int i;
 
4260
  for (i = 0; i < 256; i++)
 
4261
    if (XOR (islower (i), ISLOWER (i))
 
4262
        || toupper (i) != TOUPPER (i))
 
4263
      return 2;
 
4264
  return 0;
 
4265
}
 
4266
_ACEOF
 
4267
if ac_fn_c_try_run "$LINENO"; then :
 
4268
 
 
4269
else
 
4270
  ac_cv_header_stdc=no
 
4271
fi
 
4272
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
4273
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
4274
fi
 
4275
 
 
4276
fi
 
4277
fi
 
4278
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 
4279
$as_echo "$ac_cv_header_stdc" >&6; }
 
4280
if test $ac_cv_header_stdc = yes; then
 
4281
 
 
4282
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
 
4283
 
 
4284
fi
 
4285
 
 
4286
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
4287
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
4288
                  inttypes.h stdint.h unistd.h
 
4289
do :
 
4290
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4291
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
4292
"
 
4293
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
4294
  cat >>confdefs.h <<_ACEOF
 
4295
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4296
_ACEOF
 
4297
 
 
4298
fi
 
4299
 
 
4300
done
 
4301
 
 
4302
 
 
4303
 
 
4304
 
 
4305
 
 
4306
  for ac_header in $ac_header_list
 
4307
do :
 
4308
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4309
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
4310
"
 
4311
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
4312
  cat >>confdefs.h <<_ACEOF
 
4313
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4314
_ACEOF
 
4315
 
 
4316
fi
 
4317
 
 
4318
done
 
4319
 
 
4320
 
 
4321
 
 
4322
 
 
4323
 
 
4324
 
 
4325
 
 
4326
 
 
4327
for ac_func in getpagesize
 
4328
do :
 
4329
  ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
 
4330
if test "x$ac_cv_func_getpagesize" = xyes; then :
 
4331
  cat >>confdefs.h <<_ACEOF
 
4332
#define HAVE_GETPAGESIZE 1
 
4333
_ACEOF
 
4334
 
 
4335
fi
 
4336
done
 
4337
 
 
4338
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
 
4339
$as_echo_n "checking for working mmap... " >&6; }
 
4340
if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
 
4341
  $as_echo_n "(cached) " >&6
 
4342
else
 
4343
  if test "$cross_compiling" = yes; then :
 
4344
  ac_cv_func_mmap_fixed_mapped=no
 
4345
else
 
4346
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4347
/* end confdefs.h.  */
 
4348
$ac_includes_default
 
4349
/* malloc might have been renamed as rpl_malloc. */
 
4350
#undef malloc
 
4351
 
 
4352
/* Thanks to Mike Haertel and Jim Avera for this test.
 
4353
   Here is a matrix of mmap possibilities:
 
4354
        mmap private not fixed
 
4355
        mmap private fixed at somewhere currently unmapped
 
4356
        mmap private fixed at somewhere already mapped
 
4357
        mmap shared not fixed
 
4358
        mmap shared fixed at somewhere currently unmapped
 
4359
        mmap shared fixed at somewhere already mapped
 
4360
   For private mappings, we should verify that changes cannot be read()
 
4361
   back from the file, nor mmap's back from the file at a different
 
4362
   address.  (There have been systems where private was not correctly
 
4363
   implemented like the infamous i386 svr4.0, and systems where the
 
4364
   VM page cache was not coherent with the file system buffer cache
 
4365
   like early versions of FreeBSD and possibly contemporary NetBSD.)
 
4366
   For shared mappings, we should conversely verify that changes get
 
4367
   propagated back to all the places they're supposed to be.
 
4368
 
 
4369
   Grep wants private fixed already mapped.
 
4370
   The main things grep needs to know about mmap are:
 
4371
   * does it exist and is it safe to write into the mmap'd area
 
4372
   * how to use it (BSD variants)  */
 
4373
 
 
4374
#include <fcntl.h>
 
4375
#include <sys/mman.h>
 
4376
 
 
4377
#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
 
4378
char *malloc ();
 
4379
#endif
 
4380
 
 
4381
/* This mess was copied from the GNU getpagesize.h.  */
 
4382
#ifndef HAVE_GETPAGESIZE
 
4383
# ifdef _SC_PAGESIZE
 
4384
#  define getpagesize() sysconf(_SC_PAGESIZE)
 
4385
# else /* no _SC_PAGESIZE */
 
4386
#  ifdef HAVE_SYS_PARAM_H
 
4387
#   include <sys/param.h>
 
4388
#   ifdef EXEC_PAGESIZE
 
4389
#    define getpagesize() EXEC_PAGESIZE
 
4390
#   else /* no EXEC_PAGESIZE */
 
4391
#    ifdef NBPG
 
4392
#     define getpagesize() NBPG * CLSIZE
 
4393
#     ifndef CLSIZE
 
4394
#      define CLSIZE 1
 
4395
#     endif /* no CLSIZE */
 
4396
#    else /* no NBPG */
 
4397
#     ifdef NBPC
 
4398
#      define getpagesize() NBPC
 
4399
#     else /* no NBPC */
 
4400
#      ifdef PAGESIZE
 
4401
#       define getpagesize() PAGESIZE
 
4402
#      endif /* PAGESIZE */
 
4403
#     endif /* no NBPC */
 
4404
#    endif /* no NBPG */
 
4405
#   endif /* no EXEC_PAGESIZE */
 
4406
#  else /* no HAVE_SYS_PARAM_H */
 
4407
#   define getpagesize() 8192   /* punt totally */
 
4408
#  endif /* no HAVE_SYS_PARAM_H */
 
4409
# endif /* no _SC_PAGESIZE */
 
4410
 
 
4411
#endif /* no HAVE_GETPAGESIZE */
 
4412
 
 
4413
int
 
4414
main ()
 
4415
{
 
4416
  char *data, *data2, *data3;
 
4417
  const char *cdata2;
 
4418
  int i, pagesize;
 
4419
  int fd, fd2;
 
4420
 
 
4421
  pagesize = getpagesize ();
 
4422
 
 
4423
  /* First, make a file with some known garbage in it. */
 
4424
  data = (char *) malloc (pagesize);
 
4425
  if (!data)
 
4426
    return 1;
 
4427
  for (i = 0; i < pagesize; ++i)
 
4428
    *(data + i) = rand ();
 
4429
  umask (0);
 
4430
  fd = creat ("conftest.mmap", 0600);
 
4431
  if (fd < 0)
 
4432
    return 2;
 
4433
  if (write (fd, data, pagesize) != pagesize)
 
4434
    return 3;
 
4435
  close (fd);
 
4436
 
 
4437
  /* Next, check that the tail of a page is zero-filled.  File must have
 
4438
     non-zero length, otherwise we risk SIGBUS for entire page.  */
 
4439
  fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
 
4440
  if (fd2 < 0)
 
4441
    return 4;
 
4442
  cdata2 = "";
 
4443
  if (write (fd2, cdata2, 1) != 1)
 
4444
    return 5;
 
4445
  data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
 
4446
  if (data2 == MAP_FAILED)
 
4447
    return 6;
 
4448
  for (i = 0; i < pagesize; ++i)
 
4449
    if (*(data2 + i))
 
4450
      return 7;
 
4451
  close (fd2);
 
4452
  if (munmap (data2, pagesize))
 
4453
    return 8;
 
4454
 
 
4455
  /* Next, try to mmap the file at a fixed address which already has
 
4456
     something else allocated at it.  If we can, also make sure that
 
4457
     we see the same garbage.  */
 
4458
  fd = open ("conftest.mmap", O_RDWR);
 
4459
  if (fd < 0)
 
4460
    return 9;
 
4461
  if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
 
4462
                     MAP_PRIVATE | MAP_FIXED, fd, 0L))
 
4463
    return 10;
 
4464
  for (i = 0; i < pagesize; ++i)
 
4465
    if (*(data + i) != *(data2 + i))
 
4466
      return 11;
 
4467
 
 
4468
  /* Finally, make sure that changes to the mapped area do not
 
4469
     percolate back to the file as seen by read().  (This is a bug on
 
4470
     some variants of i386 svr4.0.)  */
 
4471
  for (i = 0; i < pagesize; ++i)
 
4472
    *(data2 + i) = *(data2 + i) + 1;
 
4473
  data3 = (char *) malloc (pagesize);
 
4474
  if (!data3)
 
4475
    return 12;
 
4476
  if (read (fd, data3, pagesize) != pagesize)
 
4477
    return 13;
 
4478
  for (i = 0; i < pagesize; ++i)
 
4479
    if (*(data + i) != *(data3 + i))
 
4480
      return 14;
 
4481
  close (fd);
 
4482
  return 0;
 
4483
}
 
4484
_ACEOF
 
4485
if ac_fn_c_try_run "$LINENO"; then :
 
4486
  ac_cv_func_mmap_fixed_mapped=yes
 
4487
else
 
4488
  ac_cv_func_mmap_fixed_mapped=no
 
4489
fi
 
4490
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
4491
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
4492
fi
 
4493
 
 
4494
fi
 
4495
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
 
4496
$as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
 
4497
if test $ac_cv_func_mmap_fixed_mapped = yes; then
 
4498
 
 
4499
$as_echo "#define HAVE_MMAP 1" >>confdefs.h
 
4500
 
 
4501
fi
 
4502
rm -f conftest.mmap conftest.txt
 
4503
 
 
4504
 
 
4505
 
 
4506
 
 
4507
 
 
4508
am__api_version='1.11'
 
4509
 
 
4510
# Find a good install program.  We prefer a C program (faster),
 
4511
# so one script is as good as another.  But avoid the broken or
 
4512
# incompatible versions:
 
4513
# SysV /etc/install, /usr/sbin/install
 
4514
# SunOS /usr/etc/install
 
4515
# IRIX /sbin/install
 
4516
# AIX /bin/install
 
4517
# AmigaOS /C/install, which installs bootblocks on floppy discs
 
4518
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 
4519
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
 
4520
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
4521
# OS/2's system install, which has a completely different semantic
 
4522
# ./install, which can be erroneously created by make from ./install.sh.
 
4523
# Reject install programs that cannot install multiple files.
 
4524
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 
4525
$as_echo_n "checking for a BSD-compatible install... " >&6; }
 
4526
if test -z "$INSTALL"; then
 
4527
if ${ac_cv_path_install+:} false; then :
 
4528
  $as_echo_n "(cached) " >&6
 
4529
else
 
4530
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4531
for as_dir in $PATH
 
4532
do
 
4533
  IFS=$as_save_IFS
 
4534
  test -z "$as_dir" && as_dir=.
 
4535
    # Account for people who put trailing slashes in PATH elements.
 
4536
case $as_dir/ in #((
 
4537
  ./ | .// | /[cC]/* | \
 
4538
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
4539
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
 
4540
  /usr/ucb/* ) ;;
 
4541
  *)
 
4542
    # OSF1 and SCO ODT 3.0 have their own names for install.
 
4543
    # Don't use installbsd from OSF since it installs stuff as root
 
4544
    # by default.
 
4545
    for ac_prog in ginstall scoinst install; do
 
4546
      for ac_exec_ext in '' $ac_executable_extensions; do
 
4547
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 
4548
          if test $ac_prog = install &&
 
4549
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
4550
            # AIX install.  It has an incompatible calling convention.
 
4551
            :
 
4552
          elif test $ac_prog = install &&
 
4553
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
4554
            # program-specific install script used by HP pwplus--don't use.
 
4555
            :
 
4556
          else
 
4557
            rm -rf conftest.one conftest.two conftest.dir
 
4558
            echo one > conftest.one
 
4559
            echo two > conftest.two
 
4560
            mkdir conftest.dir
 
4561
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
4562
              test -s conftest.one && test -s conftest.two &&
 
4563
              test -s conftest.dir/conftest.one &&
 
4564
              test -s conftest.dir/conftest.two
 
4565
            then
 
4566
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
4567
              break 3
 
4568
            fi
 
4569
          fi
 
4570
        fi
 
4571
      done
 
4572
    done
 
4573
    ;;
 
4574
esac
 
4575
 
 
4576
  done
 
4577
IFS=$as_save_IFS
 
4578
 
 
4579
rm -rf conftest.one conftest.two conftest.dir
 
4580
 
 
4581
fi
 
4582
  if test "${ac_cv_path_install+set}" = set; then
 
4583
    INSTALL=$ac_cv_path_install
 
4584
  else
 
4585
    # As a last resort, use the slow shell script.  Don't cache a
 
4586
    # value for INSTALL within a source directory, because that will
 
4587
    # break other packages using the cache if that directory is
 
4588
    # removed, or if the value is a relative name.
 
4589
    INSTALL=$ac_install_sh
 
4590
  fi
 
4591
fi
 
4592
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 
4593
$as_echo "$INSTALL" >&6; }
 
4594
 
 
4595
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 
4596
# It thinks the first close brace ends the variable substitution.
 
4597
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 
4598
 
 
4599
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 
4600
 
 
4601
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
4602
 
 
4603
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 
4604
$as_echo_n "checking whether build environment is sane... " >&6; }
 
4605
# Just in case
 
4606
sleep 1
 
4607
echo timestamp > conftest.file
 
4608
# Reject unsafe characters in $srcdir or the absolute working directory
 
4609
# name.  Accept space and tab only in the latter.
 
4610
am_lf='
 
4611
'
 
4612
case `pwd` in
 
4613
  *[\\\"\#\$\&\'\`$am_lf]*)
 
4614
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
 
4615
esac
 
4616
case $srcdir in
 
4617
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 
4618
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
4619
esac
 
4620
 
 
4621
# Do `set' in a subshell so we don't clobber the current shell's
 
4622
# arguments.  Must try -L first in case configure is actually a
 
4623
# symlink; some systems play weird games with the mod time of symlinks
 
4624
# (eg FreeBSD returns the mod time of the symlink's containing
 
4625
# directory).
 
4626
if (
 
4627
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
 
4628
   if test "$*" = "X"; then
 
4629
      # -L didn't work.
 
4630
      set X `ls -t "$srcdir/configure" conftest.file`
 
4631
   fi
 
4632
   rm -f conftest.file
 
4633
   if test "$*" != "X $srcdir/configure conftest.file" \
 
4634
      && test "$*" != "X conftest.file $srcdir/configure"; then
 
4635
 
 
4636
      # If neither matched, then we have a broken ls.  This can happen
 
4637
      # if, for instance, CONFIG_SHELL is bash and it inherits a
 
4638
      # broken ls alias from the environment.  This has actually
 
4639
      # happened.  Such a system could not be considered "sane".
 
4640
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 
4641
alias in your environment" "$LINENO" 5
 
4642
   fi
 
4643
 
 
4644
   test "$2" = conftest.file
 
4645
   )
 
4646
then
 
4647
   # Ok.
 
4648
   :
 
4649
else
 
4650
   as_fn_error $? "newly created file is older than distributed files!
 
4651
Check your system clock" "$LINENO" 5
 
4652
fi
 
4653
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
4654
$as_echo "yes" >&6; }
 
4655
test "$program_prefix" != NONE &&
 
4656
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
 
4657
# Use a double $ so make ignores it.
 
4658
test "$program_suffix" != NONE &&
 
4659
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 
4660
# Double any \ or $.
 
4661
# By default was `s,x,x', remove it if useless.
 
4662
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
4663
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
 
4664
 
 
4665
# expand $ac_aux_dir to an absolute path
 
4666
am_aux_dir=`cd $ac_aux_dir && pwd`
 
4667
 
 
4668
if test x"${MISSING+set}" != xset; then
 
4669
  case $am_aux_dir in
 
4670
  *\ * | *\     *)
 
4671
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
4672
  *)
 
4673
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
4674
  esac
 
4675
fi
 
4676
# Use eval to expand $SHELL
 
4677
if eval "$MISSING --run true"; then
 
4678
  am_missing_run="$MISSING --run "
 
4679
else
 
4680
  am_missing_run=
 
4681
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
 
4682
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
4683
fi
 
4684
 
 
4685
if test x"${install_sh}" != xset; then
 
4686
  case $am_aux_dir in
 
4687
  *\ * | *\     *)
 
4688
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
4689
  *)
 
4690
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
4691
  esac
 
4692
fi
 
4693
 
 
4694
# Installed binaries are usually stripped using `strip' when the user
 
4695
# run `make install-strip'.  However `strip' might not be the right
 
4696
# tool to use in cross-compilation environments, therefore Automake
 
4697
# will honor the `STRIP' environment variable to overrule this program.
 
4698
if test "$cross_compiling" != no; then
 
4699
  if test -n "$ac_tool_prefix"; then
 
4700
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
4701
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
4702
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4703
$as_echo_n "checking for $ac_word... " >&6; }
 
4704
if ${ac_cv_prog_STRIP+:} false; then :
 
4705
  $as_echo_n "(cached) " >&6
 
4706
else
 
4707
  if test -n "$STRIP"; then
 
4708
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
4709
else
 
4710
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4711
for as_dir in $PATH
 
4712
do
 
4713
  IFS=$as_save_IFS
 
4714
  test -z "$as_dir" && as_dir=.
 
4715
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4716
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4717
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
4718
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4719
    break 2
 
4720
  fi
 
4721
done
 
4722
  done
 
4723
IFS=$as_save_IFS
 
4724
 
 
4725
fi
 
4726
fi
 
4727
STRIP=$ac_cv_prog_STRIP
 
4728
if test -n "$STRIP"; then
 
4729
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
4730
$as_echo "$STRIP" >&6; }
 
4731
else
 
4732
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4733
$as_echo "no" >&6; }
 
4734
fi
 
4735
 
 
4736
 
 
4737
fi
 
4738
if test -z "$ac_cv_prog_STRIP"; then
 
4739
  ac_ct_STRIP=$STRIP
 
4740
  # Extract the first word of "strip", so it can be a program name with args.
 
4741
set dummy strip; ac_word=$2
 
4742
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4743
$as_echo_n "checking for $ac_word... " >&6; }
 
4744
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 
4745
  $as_echo_n "(cached) " >&6
 
4746
else
 
4747
  if test -n "$ac_ct_STRIP"; then
 
4748
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
4749
else
 
4750
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4751
for as_dir in $PATH
 
4752
do
 
4753
  IFS=$as_save_IFS
 
4754
  test -z "$as_dir" && as_dir=.
 
4755
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4756
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4757
    ac_cv_prog_ac_ct_STRIP="strip"
 
4758
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4759
    break 2
 
4760
  fi
 
4761
done
 
4762
  done
 
4763
IFS=$as_save_IFS
 
4764
 
 
4765
fi
 
4766
fi
 
4767
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
4768
if test -n "$ac_ct_STRIP"; then
 
4769
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
4770
$as_echo "$ac_ct_STRIP" >&6; }
 
4771
else
 
4772
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4773
$as_echo "no" >&6; }
 
4774
fi
 
4775
 
 
4776
  if test "x$ac_ct_STRIP" = x; then
 
4777
    STRIP=":"
 
4778
  else
 
4779
    case $cross_compiling:$ac_tool_warned in
 
4780
yes:)
 
4781
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4782
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4783
ac_tool_warned=yes ;;
 
4784
esac
 
4785
    STRIP=$ac_ct_STRIP
 
4786
  fi
 
4787
else
 
4788
  STRIP="$ac_cv_prog_STRIP"
 
4789
fi
 
4790
 
 
4791
fi
 
4792
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
4793
 
 
4794
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 
4795
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 
4796
if test -z "$MKDIR_P"; then
 
4797
  if ${ac_cv_path_mkdir+:} false; then :
 
4798
  $as_echo_n "(cached) " >&6
 
4799
else
 
4800
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4801
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 
4802
do
 
4803
  IFS=$as_save_IFS
 
4804
  test -z "$as_dir" && as_dir=.
 
4805
    for ac_prog in mkdir gmkdir; do
 
4806
         for ac_exec_ext in '' $ac_executable_extensions; do
 
4807
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 
4808
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 
4809
             'mkdir (GNU coreutils) '* | \
 
4810
             'mkdir (coreutils) '* | \
 
4811
             'mkdir (fileutils) '4.1*)
 
4812
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 
4813
               break 3;;
 
4814
           esac
 
4815
         done
 
4816
       done
 
4817
  done
 
4818
IFS=$as_save_IFS
 
4819
 
 
4820
fi
 
4821
 
 
4822
  test -d ./--version && rmdir ./--version
 
4823
  if test "${ac_cv_path_mkdir+set}" = set; then
 
4824
    MKDIR_P="$ac_cv_path_mkdir -p"
 
4825
  else
 
4826
    # As a last resort, use the slow shell script.  Don't cache a
 
4827
    # value for MKDIR_P within a source directory, because that will
 
4828
    # break other packages using the cache if that directory is
 
4829
    # removed, or if the value is a relative name.
 
4830
    MKDIR_P="$ac_install_sh -d"
 
4831
  fi
 
4832
fi
 
4833
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 
4834
$as_echo "$MKDIR_P" >&6; }
 
4835
 
 
4836
mkdir_p="$MKDIR_P"
 
4837
case $mkdir_p in
 
4838
  [\\/$]* | ?:[\\/]*) ;;
 
4839
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
4840
esac
 
4841
 
 
4842
for ac_prog in gawk mawk nawk awk
 
4843
do
 
4844
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
4845
set dummy $ac_prog; ac_word=$2
 
4846
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4847
$as_echo_n "checking for $ac_word... " >&6; }
 
4848
if ${ac_cv_prog_AWK+:} false; then :
 
4849
  $as_echo_n "(cached) " >&6
 
4850
else
 
4851
  if test -n "$AWK"; then
 
4852
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
 
4853
else
 
4854
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4855
for as_dir in $PATH
 
4856
do
 
4857
  IFS=$as_save_IFS
 
4858
  test -z "$as_dir" && as_dir=.
 
4859
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4860
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4861
    ac_cv_prog_AWK="$ac_prog"
 
4862
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4863
    break 2
 
4864
  fi
 
4865
done
 
4866
  done
 
4867
IFS=$as_save_IFS
 
4868
 
 
4869
fi
 
4870
fi
 
4871
AWK=$ac_cv_prog_AWK
 
4872
if test -n "$AWK"; then
 
4873
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 
4874
$as_echo "$AWK" >&6; }
 
4875
else
 
4876
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4877
$as_echo "no" >&6; }
 
4878
fi
 
4879
 
 
4880
 
 
4881
  test -n "$AWK" && break
 
4882
done
 
4883
 
 
4884
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
4885
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
4886
set x ${MAKE-make}
 
4887
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
4888
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
 
4889
  $as_echo_n "(cached) " >&6
 
4890
else
 
4891
  cat >conftest.make <<\_ACEOF
 
4892
SHELL = /bin/sh
 
4893
all:
 
4894
        @echo '@@@%%%=$(MAKE)=@@@%%%'
 
4895
_ACEOF
 
4896
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 
4897
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
4898
  *@@@%%%=?*=@@@%%%*)
 
4899
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
4900
  *)
 
4901
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
4902
esac
 
4903
rm -f conftest.make
 
4904
fi
 
4905
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
4906
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
4907
$as_echo "yes" >&6; }
 
4908
  SET_MAKE=
 
4909
else
 
4910
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4911
$as_echo "no" >&6; }
 
4912
  SET_MAKE="MAKE=${MAKE-make}"
 
4913
fi
 
4914
 
 
4915
rm -rf .tst 2>/dev/null
 
4916
mkdir .tst 2>/dev/null
 
4917
if test -d .tst; then
 
4918
  am__leading_dot=.
 
4919
else
 
4920
  am__leading_dot=_
 
4921
fi
 
4922
rmdir .tst 2>/dev/null
 
4923
 
 
4924
DEPDIR="${am__leading_dot}deps"
 
4925
 
 
4926
ac_config_commands="$ac_config_commands depfiles"
 
4927
 
 
4928
 
 
4929
am_make=${MAKE-make}
 
4930
cat > confinc << 'END'
 
4931
am__doit:
 
4932
        @echo this is the am__doit target
 
4933
.PHONY: am__doit
 
4934
END
 
4935
# If we don't find an include directive, just comment out the code.
 
4936
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 
4937
$as_echo_n "checking for style of include used by $am_make... " >&6; }
 
4938
am__include="#"
 
4939
am__quote=
 
4940
_am_result=none
 
4941
# First try GNU make style include.
 
4942
echo "include confinc" > confmf
 
4943
# Ignore all kinds of additional output from `make'.
 
4944
case `$am_make -s -f confmf 2> /dev/null` in #(
 
4945
*the\ am__doit\ target*)
 
4946
  am__include=include
 
4947
  am__quote=
 
4948
  _am_result=GNU
 
4949
  ;;
 
4950
esac
 
4951
# Now try BSD make style include.
 
4952
if test "$am__include" = "#"; then
 
4953
   echo '.include "confinc"' > confmf
 
4954
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
4955
   *the\ am__doit\ target*)
 
4956
     am__include=.include
 
4957
     am__quote="\""
 
4958
     _am_result=BSD
 
4959
     ;;
 
4960
   esac
 
4961
fi
 
4962
 
 
4963
 
 
4964
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 
4965
$as_echo "$_am_result" >&6; }
 
4966
rm -f confinc confmf
 
4967
 
 
4968
# Check whether --enable-dependency-tracking was given.
 
4969
if test "${enable_dependency_tracking+set}" = set; then :
 
4970
  enableval=$enable_dependency_tracking;
 
4971
fi
 
4972
 
 
4973
if test "x$enable_dependency_tracking" != xno; then
 
4974
  am_depcomp="$ac_aux_dir/depcomp"
 
4975
  AMDEPBACKSLASH='\'
 
4976
fi
 
4977
 if test "x$enable_dependency_tracking" != xno; then
 
4978
  AMDEP_TRUE=
 
4979
  AMDEP_FALSE='#'
 
4980
else
 
4981
  AMDEP_TRUE='#'
 
4982
  AMDEP_FALSE=
 
4983
fi
 
4984
 
 
4985
 
 
4986
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
4987
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
4988
  # is not polluted with repeated "-I."
 
4989
  am__isrc=' -I$(srcdir)'
 
4990
  # test to see if srcdir already configured
 
4991
  if test -f $srcdir/config.status; then
 
4992
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 
4993
  fi
 
4994
fi
 
4995
 
 
4996
# test whether we have cygpath
 
4997
if test -z "$CYGPATH_W"; then
 
4998
  if (cygpath --version) >/dev/null 2>/dev/null; then
 
4999
    CYGPATH_W='cygpath -w'
 
5000
  else
 
5001
    CYGPATH_W=echo
 
5002
  fi
 
5003
fi
 
5004
 
 
5005
 
 
5006
# Define the identity of the package.
 
5007
 PACKAGE='rygel'
 
5008
 VERSION='0.12.6'
 
5009
 
 
5010
 
 
5011
cat >>confdefs.h <<_ACEOF
 
5012
#define PACKAGE "$PACKAGE"
 
5013
_ACEOF
 
5014
 
 
5015
 
 
5016
cat >>confdefs.h <<_ACEOF
 
5017
#define VERSION "$VERSION"
 
5018
_ACEOF
 
5019
 
 
5020
# Some tools Automake needs.
 
5021
 
 
5022
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 
5023
 
 
5024
 
 
5025
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 
5026
 
 
5027
 
 
5028
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 
5029
 
 
5030
 
 
5031
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 
5032
 
 
5033
 
 
5034
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 
5035
 
 
5036
# We need awk for the "check" target.  The system "awk" is bad on
 
5037
# some platforms.
 
5038
# Always define AMTAR for backward compatibility.
 
5039
 
 
5040
AMTAR=${AMTAR-"${am_missing_run}tar"}
 
5041
 
 
5042
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 
5043
 
 
5044
 
 
5045
 
 
5046
 
 
5047
depcc="$CC"   am_compiler_list=
 
5048
 
 
5049
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
5050
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
5051
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
 
5052
  $as_echo_n "(cached) " >&6
 
5053
else
 
5054
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
5055
  # We make a subdir and do the tests there.  Otherwise we can end up
 
5056
  # making bogus files that we don't know about and never remove.  For
 
5057
  # instance it was reported that on HP-UX the gcc test will end up
 
5058
  # making a dummy file named `D' -- because `-MD' means `put the output
 
5059
  # in D'.
 
5060
  mkdir conftest.dir
 
5061
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
5062
  # using a relative directory.
 
5063
  cp "$am_depcomp" conftest.dir
 
5064
  cd conftest.dir
 
5065
  # We will build objects and dependencies in a subdirectory because
 
5066
  # it helps to detect inapplicable dependency modes.  For instance
 
5067
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
5068
  # side effect of compilation, but ICC will put the dependencies in
 
5069
  # the current directory while Tru64 will put them in the object
 
5070
  # directory.
 
5071
  mkdir sub
 
5072
 
 
5073
  am_cv_CC_dependencies_compiler_type=none
 
5074
  if test "$am_compiler_list" = ""; then
 
5075
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
5076
  fi
 
5077
  am__universal=false
 
5078
  case " $depcc " in #(
 
5079
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
5080
     esac
 
5081
 
 
5082
  for depmode in $am_compiler_list; do
 
5083
    # Setup a source with many dependencies, because some compilers
 
5084
    # like to wrap large dependency lists on column 80 (with \), and
 
5085
    # we should not choose a depcomp mode which is confused by this.
 
5086
    #
 
5087
    # We need to recreate these files for each test, as the compiler may
 
5088
    # overwrite some of them when testing with obscure command lines.
 
5089
    # This happens at least with the AIX C compiler.
 
5090
    : > sub/conftest.c
 
5091
    for i in 1 2 3 4 5 6; do
 
5092
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
5093
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
5094
      # Solaris 8's {/usr,}/bin/sh.
 
5095
      touch sub/conftst$i.h
 
5096
    done
 
5097
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
5098
 
 
5099
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
5100
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
5101
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
5102
    # versions had trouble with output in subdirs
 
5103
    am__obj=sub/conftest.${OBJEXT-o}
 
5104
    am__minus_obj="-o $am__obj"
 
5105
    case $depmode in
 
5106
    gcc)
 
5107
      # This depmode causes a compiler race in universal mode.
 
5108
      test "$am__universal" = false || continue
 
5109
      ;;
 
5110
    nosideeffect)
 
5111
      # after this tag, mechanisms are not by side-effect, so they'll
 
5112
      # only be used when explicitly requested
 
5113
      if test "x$enable_dependency_tracking" = xyes; then
 
5114
        continue
 
5115
      else
 
5116
        break
 
5117
      fi
 
5118
      ;;
 
5119
    msvisualcpp | msvcmsys)
 
5120
      # This compiler won't grok `-c -o', but also, the minuso test has
 
5121
      # not run yet.  These depmodes are late enough in the game, and
 
5122
      # so weak that their functioning should not be impacted.
 
5123
      am__obj=conftest.${OBJEXT-o}
 
5124
      am__minus_obj=
 
5125
      ;;
 
5126
    none) break ;;
 
5127
    esac
 
5128
    if depmode=$depmode \
 
5129
       source=sub/conftest.c object=$am__obj \
 
5130
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
5131
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 
5132
         >/dev/null 2>conftest.err &&
 
5133
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
5134
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
5135
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 
5136
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
5137
      # icc doesn't choke on unknown options, it will just issue warnings
 
5138
      # or remarks (even with -Werror).  So we grep stderr for any message
 
5139
      # that says an option was ignored or not supported.
 
5140
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
5141
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
5142
      # The diagnosis changed in icc 8.0:
 
5143
      #   icc: Command line remark: option '-MP' not supported
 
5144
      if (grep 'ignoring option' conftest.err ||
 
5145
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
5146
        am_cv_CC_dependencies_compiler_type=$depmode
 
5147
        break
 
5148
      fi
 
5149
    fi
 
5150
  done
 
5151
 
 
5152
  cd ..
 
5153
  rm -rf conftest.dir
 
5154
else
 
5155
  am_cv_CC_dependencies_compiler_type=none
 
5156
fi
 
5157
 
 
5158
fi
 
5159
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 
5160
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 
5161
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
5162
 
 
5163
 if
 
5164
  test "x$enable_dependency_tracking" != xno \
 
5165
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
5166
  am__fastdepCC_TRUE=
 
5167
  am__fastdepCC_FALSE='#'
 
5168
else
 
5169
  am__fastdepCC_TRUE='#'
 
5170
  am__fastdepCC_FALSE=
 
5171
fi
 
5172
 
 
5173
 
 
5174
 
 
5175
 
 
5176
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to disable maintainer-specific portions of Makefiles" >&5
 
5177
$as_echo_n "checking whether to disable maintainer-specific portions of Makefiles... " >&6; }
 
5178
    # Check whether --enable-maintainer-mode was given.
 
5179
if test "${enable_maintainer_mode+set}" = set; then :
 
5180
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
 
5181
else
 
5182
  USE_MAINTAINER_MODE=yes
 
5183
fi
 
5184
 
 
5185
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
 
5186
$as_echo "$USE_MAINTAINER_MODE" >&6; }
 
5187
   if test $USE_MAINTAINER_MODE = yes; then
 
5188
  MAINTAINER_MODE_TRUE=
 
5189
  MAINTAINER_MODE_FALSE='#'
 
5190
else
 
5191
  MAINTAINER_MODE_TRUE='#'
 
5192
  MAINTAINER_MODE_FALSE=
 
5193
fi
 
5194
 
 
5195
  MAINT=$MAINTAINER_MODE_TRUE
 
5196
 
 
5197
 
 
5198
 
 
5199
 
 
5200
case `pwd` in
 
5201
  *\ * | *\     *)
 
5202
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
5203
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
5204
esac
 
5205
 
 
5206
 
 
5207
 
 
5208
macro_version='2.4'
 
5209
macro_revision='1.3293'
 
5210
 
 
5211
 
 
5212
 
 
5213
 
 
5214
 
 
5215
 
 
5216
 
 
5217
 
 
5218
 
 
5219
 
 
5220
 
 
5221
 
 
5222
 
 
5223
ltmain="$ac_aux_dir/ltmain.sh"
 
5224
 
 
5225
# Make sure we can run config.sub.
 
5226
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
5227
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 
5228
 
 
5229
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 
5230
$as_echo_n "checking build system type... " >&6; }
 
5231
if ${ac_cv_build+:} false; then :
 
5232
  $as_echo_n "(cached) " >&6
 
5233
else
 
5234
  ac_build_alias=$build_alias
 
5235
test "x$ac_build_alias" = x &&
 
5236
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
5237
test "x$ac_build_alias" = x &&
 
5238
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
 
5239
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
5240
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 
5241
 
 
5242
fi
 
5243
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 
5244
$as_echo "$ac_cv_build" >&6; }
 
5245
case $ac_cv_build in
 
5246
*-*-*) ;;
 
5247
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
 
5248
esac
 
5249
build=$ac_cv_build
 
5250
ac_save_IFS=$IFS; IFS='-'
 
5251
set x $ac_cv_build
 
5252
shift
 
5253
build_cpu=$1
 
5254
build_vendor=$2
 
5255
shift; shift
 
5256
# Remember, the first character of IFS is used to create $*,
 
5257
# except with old shells:
 
5258
build_os=$*
 
5259
IFS=$ac_save_IFS
 
5260
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
5261
 
 
5262
 
 
5263
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 
5264
$as_echo_n "checking host system type... " >&6; }
 
5265
if ${ac_cv_host+:} false; then :
 
5266
  $as_echo_n "(cached) " >&6
 
5267
else
 
5268
  if test "x$host_alias" = x; then
 
5269
  ac_cv_host=$ac_cv_build
 
5270
else
 
5271
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
5272
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 
5273
fi
 
5274
 
 
5275
fi
 
5276
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 
5277
$as_echo "$ac_cv_host" >&6; }
 
5278
case $ac_cv_host in
 
5279
*-*-*) ;;
 
5280
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
 
5281
esac
 
5282
host=$ac_cv_host
 
5283
ac_save_IFS=$IFS; IFS='-'
 
5284
set x $ac_cv_host
 
5285
shift
 
5286
host_cpu=$1
 
5287
host_vendor=$2
 
5288
shift; shift
 
5289
# Remember, the first character of IFS is used to create $*,
 
5290
# except with old shells:
 
5291
host_os=$*
 
5292
IFS=$ac_save_IFS
 
5293
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
5294
 
 
5295
 
 
5296
# Backslashify metacharacters that are still active within
 
5297
# double-quoted strings.
 
5298
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
5299
 
 
5300
# Same as above, but do not quote variable references.
 
5301
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
5302
 
 
5303
# Sed substitution to delay expansion of an escaped shell variable in a
 
5304
# double_quote_subst'ed string.
 
5305
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
5306
 
 
5307
# Sed substitution to delay expansion of an escaped single quote.
 
5308
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
5309
 
 
5310
# Sed substitution to avoid accidental globbing in evaled expressions
 
5311
no_glob_subst='s/\*/\\\*/g'
 
5312
 
 
5313
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
5314
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 
5315
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 
5316
 
 
5317
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
 
5318
$as_echo_n "checking how to print strings... " >&6; }
 
5319
# Test print first, because it will be a builtin if present.
 
5320
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
 
5321
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
 
5322
  ECHO='print -r --'
 
5323
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
 
5324
  ECHO='printf %s\n'
 
5325
else
 
5326
  # Use this function as a fallback that always works.
 
5327
  func_fallback_echo ()
 
5328
  {
 
5329
    eval 'cat <<_LTECHO_EOF
 
5330
$1
 
5331
_LTECHO_EOF'
 
5332
  }
 
5333
  ECHO='func_fallback_echo'
 
5334
fi
 
5335
 
 
5336
# func_echo_all arg...
 
5337
# Invoke $ECHO with all args, space-separated.
 
5338
func_echo_all ()
 
5339
{
 
5340
    $ECHO ""
 
5341
}
 
5342
 
 
5343
case "$ECHO" in
 
5344
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
 
5345
$as_echo "printf" >&6; } ;;
 
5346
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
 
5347
$as_echo "print -r" >&6; } ;;
 
5348
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
 
5349
$as_echo "cat" >&6; } ;;
 
5350
esac
 
5351
 
 
5352
 
 
5353
 
 
5354
 
 
5355
 
 
5356
 
 
5357
 
 
5358
 
 
5359
 
 
5360
 
 
5361
 
 
5362
 
 
5363
 
 
5364
 
 
5365
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 
5366
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
5367
if ${ac_cv_path_SED+:} false; then :
 
5368
  $as_echo_n "(cached) " >&6
 
5369
else
 
5370
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
5371
     for ac_i in 1 2 3 4 5 6 7; do
 
5372
       ac_script="$ac_script$as_nl$ac_script"
 
5373
     done
 
5374
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
5375
     { ac_script=; unset ac_script;}
 
5376
     if test -z "$SED"; then
 
5377
  ac_path_SED_found=false
 
5378
  # Loop through the user's path and test for each of PROGNAME-LIST
 
5379
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5380
for as_dir in $PATH
 
5381
do
 
5382
  IFS=$as_save_IFS
 
5383
  test -z "$as_dir" && as_dir=.
 
5384
    for ac_prog in sed gsed; do
 
5385
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5386
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
5387
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
5388
# Check for GNU ac_path_SED and select it if it is found.
 
5389
  # Check for GNU $ac_path_SED
 
5390
case `"$ac_path_SED" --version 2>&1` in
 
5391
*GNU*)
 
5392
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
5393
*)
 
5394
  ac_count=0
 
5395
  $as_echo_n 0123456789 >"conftest.in"
 
5396
  while :
 
5397
  do
 
5398
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
5399
    mv "conftest.tmp" "conftest.in"
 
5400
    cp "conftest.in" "conftest.nl"
 
5401
    $as_echo '' >> "conftest.nl"
 
5402
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
5403
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
5404
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
5405
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
5406
      # Best one so far, save it but keep looking for a better one
 
5407
      ac_cv_path_SED="$ac_path_SED"
 
5408
      ac_path_SED_max=$ac_count
 
5409
    fi
 
5410
    # 10*(2^10) chars as input seems more than enough
 
5411
    test $ac_count -gt 10 && break
 
5412
  done
 
5413
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
5414
esac
 
5415
 
 
5416
      $ac_path_SED_found && break 3
 
5417
    done
 
5418
  done
 
5419
  done
 
5420
IFS=$as_save_IFS
 
5421
  if test -z "$ac_cv_path_SED"; then
 
5422
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
5423
  fi
 
5424
else
 
5425
  ac_cv_path_SED=$SED
 
5426
fi
 
5427
 
 
5428
fi
 
5429
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 
5430
$as_echo "$ac_cv_path_SED" >&6; }
 
5431
 SED="$ac_cv_path_SED"
 
5432
  rm -f conftest.sed
 
5433
 
 
5434
test -z "$SED" && SED=sed
 
5435
Xsed="$SED -e 1s/^X//"
 
5436
 
 
5437
 
 
5438
 
 
5439
 
 
5440
 
 
5441
 
 
5442
 
 
5443
 
 
5444
 
 
5445
 
 
5446
 
 
5447
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
 
5448
$as_echo_n "checking for fgrep... " >&6; }
 
5449
if ${ac_cv_path_FGREP+:} false; then :
 
5450
  $as_echo_n "(cached) " >&6
 
5451
else
 
5452
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 
5453
   then ac_cv_path_FGREP="$GREP -F"
 
5454
   else
 
5455
     if test -z "$FGREP"; then
 
5456
  ac_path_FGREP_found=false
 
5457
  # Loop through the user's path and test for each of PROGNAME-LIST
 
5458
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5459
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
5460
do
 
5461
  IFS=$as_save_IFS
 
5462
  test -z "$as_dir" && as_dir=.
 
5463
    for ac_prog in fgrep; do
 
5464
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5465
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 
5466
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
 
5467
# Check for GNU ac_path_FGREP and select it if it is found.
 
5468
  # Check for GNU $ac_path_FGREP
 
5469
case `"$ac_path_FGREP" --version 2>&1` in
 
5470
*GNU*)
 
5471
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 
5472
*)
 
5473
  ac_count=0
 
5474
  $as_echo_n 0123456789 >"conftest.in"
 
5475
  while :
 
5476
  do
 
5477
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
5478
    mv "conftest.tmp" "conftest.in"
 
5479
    cp "conftest.in" "conftest.nl"
 
5480
    $as_echo 'FGREP' >> "conftest.nl"
 
5481
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
5482
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
5483
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
5484
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 
5485
      # Best one so far, save it but keep looking for a better one
 
5486
      ac_cv_path_FGREP="$ac_path_FGREP"
 
5487
      ac_path_FGREP_max=$ac_count
 
5488
    fi
 
5489
    # 10*(2^10) chars as input seems more than enough
 
5490
    test $ac_count -gt 10 && break
 
5491
  done
 
5492
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
5493
esac
 
5494
 
 
5495
      $ac_path_FGREP_found && break 3
 
5496
    done
 
5497
  done
 
5498
  done
 
5499
IFS=$as_save_IFS
 
5500
  if test -z "$ac_cv_path_FGREP"; then
 
5501
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
5502
  fi
 
5503
else
 
5504
  ac_cv_path_FGREP=$FGREP
 
5505
fi
 
5506
 
 
5507
   fi
 
5508
fi
 
5509
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
 
5510
$as_echo "$ac_cv_path_FGREP" >&6; }
 
5511
 FGREP="$ac_cv_path_FGREP"
 
5512
 
 
5513
 
 
5514
test -z "$GREP" && GREP=grep
 
5515
 
 
5516
 
 
5517
 
 
5518
 
 
5519
 
 
5520
 
 
5521
 
 
5522
 
 
5523
 
 
5524
 
 
5525
 
 
5526
 
 
5527
 
 
5528
 
 
5529
 
 
5530
 
 
5531
 
 
5532
 
 
5533
 
 
5534
# Check whether --with-gnu-ld was given.
 
5535
if test "${with_gnu_ld+set}" = set; then :
 
5536
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 
5537
else
 
5538
  with_gnu_ld=no
 
5539
fi
 
5540
 
 
5541
ac_prog=ld
 
5542
if test "$GCC" = yes; then
 
5543
  # Check if gcc -print-prog-name=ld gives a path.
 
5544
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
 
5545
$as_echo_n "checking for ld used by $CC... " >&6; }
 
5546
  case $host in
 
5547
  *-*-mingw*)
 
5548
    # gcc leaves a trailing carriage return which upsets mingw
 
5549
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 
5550
  *)
 
5551
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 
5552
  esac
 
5553
  case $ac_prog in
 
5554
    # Accept absolute paths.
 
5555
    [\\/]* | ?:[\\/]*)
 
5556
      re_direlt='/[^/][^/]*/\.\./'
 
5557
      # Canonicalize the pathname of ld
 
5558
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
5559
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
5560
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
 
5561
      done
 
5562
      test -z "$LD" && LD="$ac_prog"
 
5563
      ;;
 
5564
  "")
 
5565
    # If it fails, then pretend we aren't using GCC.
 
5566
    ac_prog=ld
 
5567
    ;;
 
5568
  *)
 
5569
    # If it is relative, then search for the first ld in PATH.
 
5570
    with_gnu_ld=unknown
 
5571
    ;;
 
5572
  esac
 
5573
elif test "$with_gnu_ld" = yes; then
 
5574
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 
5575
$as_echo_n "checking for GNU ld... " >&6; }
 
5576
else
 
5577
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 
5578
$as_echo_n "checking for non-GNU ld... " >&6; }
 
5579
fi
 
5580
if ${lt_cv_path_LD+:} false; then :
 
5581
  $as_echo_n "(cached) " >&6
 
5582
else
 
5583
  if test -z "$LD"; then
 
5584
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
5585
  for ac_dir in $PATH; do
 
5586
    IFS="$lt_save_ifs"
 
5587
    test -z "$ac_dir" && ac_dir=.
 
5588
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 
5589
      lt_cv_path_LD="$ac_dir/$ac_prog"
 
5590
      # Check to see if the program is GNU ld.  I'd rather use --version,
 
5591
      # but apparently some variants of GNU ld only accept -v.
 
5592
      # Break only if it was the GNU/non-GNU ld that we prefer.
 
5593
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 
5594
      *GNU* | *'with BFD'*)
 
5595
        test "$with_gnu_ld" != no && break
 
5596
        ;;
 
5597
      *)
 
5598
        test "$with_gnu_ld" != yes && break
 
5599
        ;;
 
5600
      esac
 
5601
    fi
 
5602
  done
 
5603
  IFS="$lt_save_ifs"
 
5604
else
 
5605
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
 
5606
fi
 
5607
fi
 
5608
 
 
5609
LD="$lt_cv_path_LD"
 
5610
if test -n "$LD"; then
 
5611
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 
5612
$as_echo "$LD" >&6; }
 
5613
else
 
5614
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5615
$as_echo "no" >&6; }
 
5616
fi
 
5617
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
 
5618
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 
5619
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 
5620
if ${lt_cv_prog_gnu_ld+:} false; then :
 
5621
  $as_echo_n "(cached) " >&6
 
5622
else
 
5623
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
 
5624
case `$LD -v 2>&1 </dev/null` in
 
5625
*GNU* | *'with BFD'*)
 
5626
  lt_cv_prog_gnu_ld=yes
 
5627
  ;;
 
5628
*)
 
5629
  lt_cv_prog_gnu_ld=no
 
5630
  ;;
 
5631
esac
 
5632
fi
 
5633
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
 
5634
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
 
5635
with_gnu_ld=$lt_cv_prog_gnu_ld
 
5636
 
 
5637
 
 
5638
 
 
5639
 
 
5640
 
 
5641
 
 
5642
 
 
5643
 
 
5644
 
 
5645
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
 
5646
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
 
5647
if ${lt_cv_path_NM+:} false; then :
 
5648
  $as_echo_n "(cached) " >&6
 
5649
else
 
5650
  if test -n "$NM"; then
 
5651
  # Let the user override the test.
 
5652
  lt_cv_path_NM="$NM"
 
5653
else
 
5654
  lt_nm_to_check="${ac_tool_prefix}nm"
 
5655
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 
5656
    lt_nm_to_check="$lt_nm_to_check nm"
 
5657
  fi
 
5658
  for lt_tmp_nm in $lt_nm_to_check; do
 
5659
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
5660
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 
5661
      IFS="$lt_save_ifs"
 
5662
      test -z "$ac_dir" && ac_dir=.
 
5663
      tmp_nm="$ac_dir/$lt_tmp_nm"
 
5664
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 
5665
        # Check to see if the nm accepts a BSD-compat flag.
 
5666
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
 
5667
        #   nm: unknown option "B" ignored
 
5668
        # Tru64's nm complains that /dev/null is an invalid object file
 
5669
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 
5670
        */dev/null* | *'Invalid file or object type'*)
 
5671
          lt_cv_path_NM="$tmp_nm -B"
 
5672
          break
 
5673
          ;;
 
5674
        *)
 
5675
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 
5676
          */dev/null*)
 
5677
            lt_cv_path_NM="$tmp_nm -p"
 
5678
            break
 
5679
            ;;
 
5680
          *)
 
5681
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 
5682
            continue # so that we can try to find one that supports BSD flags
 
5683
            ;;
 
5684
          esac
 
5685
          ;;
 
5686
        esac
 
5687
      fi
 
5688
    done
 
5689
    IFS="$lt_save_ifs"
 
5690
  done
 
5691
  : ${lt_cv_path_NM=no}
 
5692
fi
 
5693
fi
 
5694
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
 
5695
$as_echo "$lt_cv_path_NM" >&6; }
 
5696
if test "$lt_cv_path_NM" != "no"; then
 
5697
  NM="$lt_cv_path_NM"
 
5698
else
 
5699
  # Didn't find any BSD compatible name lister, look for dumpbin.
 
5700
  if test -n "$DUMPBIN"; then :
 
5701
    # Let the user override the test.
 
5702
  else
 
5703
    if test -n "$ac_tool_prefix"; then
 
5704
  for ac_prog in dumpbin "link -dump"
 
5705
  do
 
5706
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
5707
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
5708
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5709
$as_echo_n "checking for $ac_word... " >&6; }
 
5710
if ${ac_cv_prog_DUMPBIN+:} false; then :
 
5711
  $as_echo_n "(cached) " >&6
 
5712
else
 
5713
  if test -n "$DUMPBIN"; then
 
5714
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 
5715
else
 
5716
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5717
for as_dir in $PATH
 
5718
do
 
5719
  IFS=$as_save_IFS
 
5720
  test -z "$as_dir" && as_dir=.
 
5721
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5722
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5723
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 
5724
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5725
    break 2
 
5726
  fi
 
5727
done
 
5728
  done
 
5729
IFS=$as_save_IFS
 
5730
 
 
5731
fi
 
5732
fi
 
5733
DUMPBIN=$ac_cv_prog_DUMPBIN
 
5734
if test -n "$DUMPBIN"; then
 
5735
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
 
5736
$as_echo "$DUMPBIN" >&6; }
 
5737
else
 
5738
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5739
$as_echo "no" >&6; }
 
5740
fi
 
5741
 
 
5742
 
 
5743
    test -n "$DUMPBIN" && break
 
5744
  done
 
5745
fi
 
5746
if test -z "$DUMPBIN"; then
 
5747
  ac_ct_DUMPBIN=$DUMPBIN
 
5748
  for ac_prog in dumpbin "link -dump"
 
5749
do
 
5750
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
5751
set dummy $ac_prog; ac_word=$2
 
5752
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5753
$as_echo_n "checking for $ac_word... " >&6; }
 
5754
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
 
5755
  $as_echo_n "(cached) " >&6
 
5756
else
 
5757
  if test -n "$ac_ct_DUMPBIN"; then
 
5758
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 
5759
else
 
5760
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5761
for as_dir in $PATH
 
5762
do
 
5763
  IFS=$as_save_IFS
 
5764
  test -z "$as_dir" && as_dir=.
 
5765
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5766
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5767
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 
5768
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5769
    break 2
 
5770
  fi
 
5771
done
 
5772
  done
 
5773
IFS=$as_save_IFS
 
5774
 
 
5775
fi
 
5776
fi
 
5777
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 
5778
if test -n "$ac_ct_DUMPBIN"; then
 
5779
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
 
5780
$as_echo "$ac_ct_DUMPBIN" >&6; }
 
5781
else
 
5782
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5783
$as_echo "no" >&6; }
 
5784
fi
 
5785
 
 
5786
 
 
5787
  test -n "$ac_ct_DUMPBIN" && break
 
5788
done
 
5789
 
 
5790
  if test "x$ac_ct_DUMPBIN" = x; then
 
5791
    DUMPBIN=":"
 
5792
  else
 
5793
    case $cross_compiling:$ac_tool_warned in
 
5794
yes:)
 
5795
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5796
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5797
ac_tool_warned=yes ;;
 
5798
esac
 
5799
    DUMPBIN=$ac_ct_DUMPBIN
 
5800
  fi
 
5801
fi
 
5802
 
 
5803
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
 
5804
    *COFF*)
 
5805
      DUMPBIN="$DUMPBIN -symbols"
 
5806
      ;;
 
5807
    *)
 
5808
      DUMPBIN=:
 
5809
      ;;
 
5810
    esac
 
5811
  fi
 
5812
 
 
5813
  if test "$DUMPBIN" != ":"; then
 
5814
    NM="$DUMPBIN"
 
5815
  fi
 
5816
fi
 
5817
test -z "$NM" && NM=nm
 
5818
 
 
5819
 
 
5820
 
 
5821
 
 
5822
 
 
5823
 
 
5824
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
 
5825
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
 
5826
if ${lt_cv_nm_interface+:} false; then :
 
5827
  $as_echo_n "(cached) " >&6
 
5828
else
 
5829
  lt_cv_nm_interface="BSD nm"
 
5830
  echo "int some_variable = 0;" > conftest.$ac_ext
 
5831
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
 
5832
  (eval "$ac_compile" 2>conftest.err)
 
5833
  cat conftest.err >&5
 
5834
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
5835
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 
5836
  cat conftest.err >&5
 
5837
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
 
5838
  cat conftest.out >&5
 
5839
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 
5840
    lt_cv_nm_interface="MS dumpbin"
 
5841
  fi
 
5842
  rm -f conftest*
 
5843
fi
 
5844
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
 
5845
$as_echo "$lt_cv_nm_interface" >&6; }
 
5846
 
 
5847
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 
5848
$as_echo_n "checking whether ln -s works... " >&6; }
 
5849
LN_S=$as_ln_s
 
5850
if test "$LN_S" = "ln -s"; then
 
5851
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
5852
$as_echo "yes" >&6; }
 
5853
else
 
5854
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
 
5855
$as_echo "no, using $LN_S" >&6; }
 
5856
fi
 
5857
 
 
5858
# find the maximum length of command line arguments
 
5859
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
 
5860
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
 
5861
if ${lt_cv_sys_max_cmd_len+:} false; then :
 
5862
  $as_echo_n "(cached) " >&6
 
5863
else
 
5864
    i=0
 
5865
  teststring="ABCD"
 
5866
 
 
5867
  case $build_os in
 
5868
  msdosdjgpp*)
 
5869
    # On DJGPP, this test can blow up pretty badly due to problems in libc
 
5870
    # (any single argument exceeding 2000 bytes causes a buffer overrun
 
5871
    # during glob expansion).  Even if it were fixed, the result of this
 
5872
    # check would be larger than it should be.
 
5873
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 
5874
    ;;
 
5875
 
 
5876
  gnu*)
 
5877
    # Under GNU Hurd, this test is not required because there is
 
5878
    # no limit to the length of command line arguments.
 
5879
    # Libtool will interpret -1 as no limit whatsoever
 
5880
    lt_cv_sys_max_cmd_len=-1;
 
5881
    ;;
 
5882
 
 
5883
  cygwin* | mingw* | cegcc*)
 
5884
    # On Win9x/ME, this test blows up -- it succeeds, but takes
 
5885
    # about 5 minutes as the teststring grows exponentially.
 
5886
    # Worse, since 9x/ME are not pre-emptively multitasking,
 
5887
    # you end up with a "frozen" computer, even though with patience
 
5888
    # the test eventually succeeds (with a max line length of 256k).
 
5889
    # Instead, let's just punt: use the minimum linelength reported by
 
5890
    # all of the supported platforms: 8192 (on NT/2K/XP).
 
5891
    lt_cv_sys_max_cmd_len=8192;
 
5892
    ;;
 
5893
 
 
5894
  mint*)
 
5895
    # On MiNT this can take a long time and run out of memory.
 
5896
    lt_cv_sys_max_cmd_len=8192;
 
5897
    ;;
 
5898
 
 
5899
  amigaos*)
 
5900
    # On AmigaOS with pdksh, this test takes hours, literally.
 
5901
    # So we just punt and use a minimum line length of 8192.
 
5902
    lt_cv_sys_max_cmd_len=8192;
 
5903
    ;;
 
5904
 
 
5905
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
5906
    # This has been around since 386BSD, at least.  Likely further.
 
5907
    if test -x /sbin/sysctl; then
 
5908
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
5909
    elif test -x /usr/sbin/sysctl; then
 
5910
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
5911
    else
 
5912
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
5913
    fi
 
5914
    # And add a safety zone
 
5915
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
5916
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
5917
    ;;
 
5918
 
 
5919
  interix*)
 
5920
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
5921
    lt_cv_sys_max_cmd_len=196608
 
5922
    ;;
 
5923
 
 
5924
  osf*)
 
5925
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
5926
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
5927
    # nice to cause kernel panics so lets avoid the loop below.
 
5928
    # First set a reasonable default.
 
5929
    lt_cv_sys_max_cmd_len=16384
 
5930
    #
 
5931
    if test -x /sbin/sysconfig; then
 
5932
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
5933
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
5934
      esac
 
5935
    fi
 
5936
    ;;
 
5937
  sco3.2v5*)
 
5938
    lt_cv_sys_max_cmd_len=102400
 
5939
    ;;
 
5940
  sysv5* | sco5v6* | sysv4.2uw2*)
 
5941
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
5942
    if test -n "$kargmax"; then
 
5943
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
 
5944
    else
 
5945
      lt_cv_sys_max_cmd_len=32768
 
5946
    fi
 
5947
    ;;
 
5948
  *)
 
5949
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
5950
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
5951
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
5952
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
5953
    else
 
5954
      # Make teststring a little bigger before we do anything with it.
 
5955
      # a 1K string should be a reasonable start.
 
5956
      for i in 1 2 3 4 5 6 7 8 ; do
 
5957
        teststring=$teststring$teststring
 
5958
      done
 
5959
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
5960
      # If test is not a shell built-in, we'll probably end up computing a
 
5961
      # maximum length that is only half of the actual maximum length, but
 
5962
      # we can't tell.
 
5963
      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
 
5964
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
 
5965
              test $i != 17 # 1/2 MB should be enough
 
5966
      do
 
5967
        i=`expr $i + 1`
 
5968
        teststring=$teststring$teststring
 
5969
      done
 
5970
      # Only check the string length outside the loop.
 
5971
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 
5972
      teststring=
 
5973
      # Add a significant safety factor because C++ compilers can tack on
 
5974
      # massive amounts of additional arguments before passing them to the
 
5975
      # linker.  It appears as though 1/2 is a usable value.
 
5976
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
5977
    fi
 
5978
    ;;
 
5979
  esac
 
5980
 
 
5981
fi
 
5982
 
 
5983
if test -n $lt_cv_sys_max_cmd_len ; then
 
5984
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
 
5985
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
 
5986
else
 
5987
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
 
5988
$as_echo "none" >&6; }
 
5989
fi
 
5990
max_cmd_len=$lt_cv_sys_max_cmd_len
 
5991
 
 
5992
 
 
5993
 
 
5994
 
 
5995
 
 
5996
 
 
5997
: ${CP="cp -f"}
 
5998
: ${MV="mv -f"}
 
5999
: ${RM="rm -f"}
 
6000
 
 
6001
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
 
6002
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
 
6003
# Try some XSI features
 
6004
xsi_shell=no
 
6005
( _lt_dummy="a/b/c"
 
6006
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
 
6007
      = c,a/b,b/c, \
 
6008
    && eval 'test $(( 1 + 1 )) -eq 2 \
 
6009
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 
6010
  && xsi_shell=yes
 
6011
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
 
6012
$as_echo "$xsi_shell" >&6; }
 
6013
 
 
6014
 
 
6015
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
 
6016
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
 
6017
lt_shell_append=no
 
6018
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
 
6019
    >/dev/null 2>&1 \
 
6020
  && lt_shell_append=yes
 
6021
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
 
6022
$as_echo "$lt_shell_append" >&6; }
 
6023
 
 
6024
 
 
6025
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
6026
  lt_unset=unset
 
6027
else
 
6028
  lt_unset=false
 
6029
fi
 
6030
 
 
6031
 
 
6032
 
 
6033
 
 
6034
 
 
6035
# test EBCDIC or ASCII
 
6036
case `echo X|tr X '\101'` in
 
6037
 A) # ASCII based system
 
6038
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 
6039
  lt_SP2NL='tr \040 \012'
 
6040
  lt_NL2SP='tr \015\012 \040\040'
 
6041
  ;;
 
6042
 *) # EBCDIC based system
 
6043
  lt_SP2NL='tr \100 \n'
 
6044
  lt_NL2SP='tr \r\n \100\100'
 
6045
  ;;
 
6046
esac
 
6047
 
 
6048
 
 
6049
 
 
6050
 
 
6051
 
 
6052
 
 
6053
 
 
6054
 
 
6055
 
 
6056
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
 
6057
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
 
6058
if ${lt_cv_to_host_file_cmd+:} false; then :
 
6059
  $as_echo_n "(cached) " >&6
 
6060
else
 
6061
  case $host in
 
6062
  *-*-mingw* )
 
6063
    case $build in
 
6064
      *-*-mingw* ) # actually msys
 
6065
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
 
6066
        ;;
 
6067
      *-*-cygwin* )
 
6068
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
 
6069
        ;;
 
6070
      * ) # otherwise, assume *nix
 
6071
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
 
6072
        ;;
 
6073
    esac
 
6074
    ;;
 
6075
  *-*-cygwin* )
 
6076
    case $build in
 
6077
      *-*-mingw* ) # actually msys
 
6078
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
 
6079
        ;;
 
6080
      *-*-cygwin* )
 
6081
        lt_cv_to_host_file_cmd=func_convert_file_noop
 
6082
        ;;
 
6083
      * ) # otherwise, assume *nix
 
6084
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
 
6085
        ;;
 
6086
    esac
 
6087
    ;;
 
6088
  * ) # unhandled hosts (and "normal" native builds)
 
6089
    lt_cv_to_host_file_cmd=func_convert_file_noop
 
6090
    ;;
 
6091
esac
 
6092
 
 
6093
fi
 
6094
 
 
6095
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
6096
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
 
6097
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
 
6098
 
 
6099
 
 
6100
 
 
6101
 
 
6102
 
 
6103
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
 
6104
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
 
6105
if ${lt_cv_to_tool_file_cmd+:} false; then :
 
6106
  $as_echo_n "(cached) " >&6
 
6107
else
 
6108
  #assume ordinary cross tools, or native build.
 
6109
lt_cv_to_tool_file_cmd=func_convert_file_noop
 
6110
case $host in
 
6111
  *-*-mingw* )
 
6112
    case $build in
 
6113
      *-*-mingw* ) # actually msys
 
6114
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
 
6115
        ;;
 
6116
    esac
 
6117
    ;;
 
6118
esac
 
6119
 
 
6120
fi
 
6121
 
 
6122
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
6123
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
 
6124
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
 
6125
 
 
6126
 
 
6127
 
 
6128
 
 
6129
 
 
6130
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
 
6131
$as_echo_n "checking for $LD option to reload object files... " >&6; }
 
6132
if ${lt_cv_ld_reload_flag+:} false; then :
 
6133
  $as_echo_n "(cached) " >&6
 
6134
else
 
6135
  lt_cv_ld_reload_flag='-r'
 
6136
fi
 
6137
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
 
6138
$as_echo "$lt_cv_ld_reload_flag" >&6; }
 
6139
reload_flag=$lt_cv_ld_reload_flag
 
6140
case $reload_flag in
 
6141
"" | " "*) ;;
 
6142
*) reload_flag=" $reload_flag" ;;
 
6143
esac
 
6144
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
6145
case $host_os in
 
6146
  cygwin* | mingw* | pw32* | cegcc*)
 
6147
    if test "$GCC" != yes; then
 
6148
      reload_cmds=false
 
6149
    fi
 
6150
    ;;
 
6151
  darwin*)
 
6152
    if test "$GCC" = yes; then
 
6153
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
6154
    else
 
6155
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
6156
    fi
 
6157
    ;;
 
6158
esac
 
6159
 
 
6160
 
 
6161
 
 
6162
 
 
6163
 
 
6164
 
 
6165
 
 
6166
 
 
6167
 
 
6168
if test -n "$ac_tool_prefix"; then
 
6169
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
6170
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
6171
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6172
$as_echo_n "checking for $ac_word... " >&6; }
 
6173
if ${ac_cv_prog_OBJDUMP+:} false; then :
 
6174
  $as_echo_n "(cached) " >&6
 
6175
else
 
6176
  if test -n "$OBJDUMP"; then
 
6177
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
6178
else
 
6179
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6180
for as_dir in $PATH
 
6181
do
 
6182
  IFS=$as_save_IFS
 
6183
  test -z "$as_dir" && as_dir=.
 
6184
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6185
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6186
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
6187
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6188
    break 2
 
6189
  fi
 
6190
done
 
6191
  done
 
6192
IFS=$as_save_IFS
 
6193
 
 
6194
fi
 
6195
fi
 
6196
OBJDUMP=$ac_cv_prog_OBJDUMP
 
6197
if test -n "$OBJDUMP"; then
 
6198
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
 
6199
$as_echo "$OBJDUMP" >&6; }
 
6200
else
 
6201
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6202
$as_echo "no" >&6; }
 
6203
fi
 
6204
 
 
6205
 
 
6206
fi
 
6207
if test -z "$ac_cv_prog_OBJDUMP"; then
 
6208
  ac_ct_OBJDUMP=$OBJDUMP
 
6209
  # Extract the first word of "objdump", so it can be a program name with args.
 
6210
set dummy objdump; ac_word=$2
 
6211
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6212
$as_echo_n "checking for $ac_word... " >&6; }
 
6213
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
 
6214
  $as_echo_n "(cached) " >&6
 
6215
else
 
6216
  if test -n "$ac_ct_OBJDUMP"; then
 
6217
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
6218
else
 
6219
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6220
for as_dir in $PATH
 
6221
do
 
6222
  IFS=$as_save_IFS
 
6223
  test -z "$as_dir" && as_dir=.
 
6224
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6225
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6226
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
6227
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6228
    break 2
 
6229
  fi
 
6230
done
 
6231
  done
 
6232
IFS=$as_save_IFS
 
6233
 
 
6234
fi
 
6235
fi
 
6236
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
6237
if test -n "$ac_ct_OBJDUMP"; then
 
6238
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
 
6239
$as_echo "$ac_ct_OBJDUMP" >&6; }
 
6240
else
 
6241
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6242
$as_echo "no" >&6; }
 
6243
fi
 
6244
 
 
6245
  if test "x$ac_ct_OBJDUMP" = x; then
 
6246
    OBJDUMP="false"
 
6247
  else
 
6248
    case $cross_compiling:$ac_tool_warned in
 
6249
yes:)
 
6250
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6251
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6252
ac_tool_warned=yes ;;
 
6253
esac
 
6254
    OBJDUMP=$ac_ct_OBJDUMP
 
6255
  fi
 
6256
else
 
6257
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
6258
fi
 
6259
 
 
6260
test -z "$OBJDUMP" && OBJDUMP=objdump
 
6261
 
 
6262
 
 
6263
 
 
6264
 
 
6265
 
 
6266
 
 
6267
 
 
6268
 
 
6269
 
 
6270
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
 
6271
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
 
6272
if ${lt_cv_deplibs_check_method+:} false; then :
 
6273
  $as_echo_n "(cached) " >&6
 
6274
else
 
6275
  lt_cv_file_magic_cmd='$MAGIC_CMD'
 
6276
lt_cv_file_magic_test_file=
 
6277
lt_cv_deplibs_check_method='unknown'
 
6278
# Need to set the preceding variable on all platforms that support
 
6279
# interlibrary dependencies.
 
6280
# 'none' -- dependencies not supported.
 
6281
# `unknown' -- same as none, but documents that we really don't know.
 
6282
# 'pass_all' -- all dependencies passed with no checks.
 
6283
# 'test_compile' -- check by making test program.
 
6284
# 'file_magic [[regex]]' -- check by looking for files in library path
 
6285
# which responds to the $file_magic_cmd with a given extended regex.
 
6286
# If you have `file' or equivalent on your system and you're not sure
 
6287
# whether `pass_all' will *always* work, you probably want this one.
 
6288
 
 
6289
case $host_os in
 
6290
aix[4-9]*)
 
6291
  lt_cv_deplibs_check_method=pass_all
 
6292
  ;;
 
6293
 
 
6294
beos*)
 
6295
  lt_cv_deplibs_check_method=pass_all
 
6296
  ;;
 
6297
 
 
6298
bsdi[45]*)
 
6299
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
 
6300
  lt_cv_file_magic_cmd='/usr/bin/file -L'
 
6301
  lt_cv_file_magic_test_file=/shlib/libc.so
 
6302
  ;;
 
6303
 
 
6304
cygwin*)
 
6305
  # func_win32_libid is a shell function defined in ltmain.sh
 
6306
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
6307
  lt_cv_file_magic_cmd='func_win32_libid'
 
6308
  ;;
 
6309
 
 
6310
mingw* | pw32*)
 
6311
  # Base MSYS/MinGW do not provide the 'file' command needed by
 
6312
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 
6313
  # unless we find 'file', for example because we are cross-compiling.
 
6314
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
 
6315
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
 
6316
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
6317
    lt_cv_file_magic_cmd='func_win32_libid'
 
6318
  else
 
6319
    # Keep this pattern in sync with the one in func_win32_libid.
 
6320
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
 
6321
    lt_cv_file_magic_cmd='$OBJDUMP -f'
 
6322
  fi
 
6323
  ;;
 
6324
 
 
6325
cegcc*)
 
6326
  # use the weaker test based on 'objdump'. See mingw*.
 
6327
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 
6328
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
6329
  ;;
 
6330
 
 
6331
darwin* | rhapsody*)
 
6332
  lt_cv_deplibs_check_method=pass_all
 
6333
  ;;
 
6334
 
 
6335
freebsd* | dragonfly*)
 
6336
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
6337
    case $host_cpu in
 
6338
    i*86 )
 
6339
      # Not sure whether the presence of OpenBSD here was a mistake.
 
6340
      # Let's accept both of them until this is cleared up.
 
6341
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
 
6342
      lt_cv_file_magic_cmd=/usr/bin/file
 
6343
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 
6344
      ;;
 
6345
    esac
 
6346
  else
 
6347
    lt_cv_deplibs_check_method=pass_all
 
6348
  fi
 
6349
  ;;
 
6350
 
 
6351
gnu*)
 
6352
  lt_cv_deplibs_check_method=pass_all
 
6353
  ;;
 
6354
 
 
6355
haiku*)
 
6356
  lt_cv_deplibs_check_method=pass_all
 
6357
  ;;
 
6358
 
 
6359
hpux10.20* | hpux11*)
 
6360
  lt_cv_file_magic_cmd=/usr/bin/file
 
6361
  case $host_cpu in
 
6362
  ia64*)
 
6363
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
 
6364
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
 
6365
    ;;
 
6366
  hppa*64*)
 
6367
    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]'
 
6368
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
 
6369
    ;;
 
6370
  *)
 
6371
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
 
6372
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
 
6373
    ;;
 
6374
  esac
 
6375
  ;;
 
6376
 
 
6377
interix[3-9]*)
 
6378
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 
6379
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
 
6380
  ;;
 
6381
 
 
6382
irix5* | irix6* | nonstopux*)
 
6383
  case $LD in
 
6384
  *-32|*"-32 ") libmagic=32-bit;;
 
6385
  *-n32|*"-n32 ") libmagic=N32;;
 
6386
  *-64|*"-64 ") libmagic=64-bit;;
 
6387
  *) libmagic=never-match;;
 
6388
  esac
 
6389
  lt_cv_deplibs_check_method=pass_all
 
6390
  ;;
 
6391
 
 
6392
# This must be Linux ELF.
 
6393
linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
6394
  lt_cv_deplibs_check_method=pass_all
 
6395
  ;;
 
6396
 
 
6397
netbsd* | netbsdelf*-gnu)
 
6398
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
6399
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 
6400
  else
 
6401
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
 
6402
  fi
 
6403
  ;;
 
6404
 
 
6405
newos6*)
 
6406
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
 
6407
  lt_cv_file_magic_cmd=/usr/bin/file
 
6408
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
 
6409
  ;;
 
6410
 
 
6411
*nto* | *qnx*)
 
6412
  lt_cv_deplibs_check_method=pass_all
 
6413
  ;;
 
6414
 
 
6415
openbsd*)
 
6416
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
6417
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
 
6418
  else
 
6419
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 
6420
  fi
 
6421
  ;;
 
6422
 
 
6423
osf3* | osf4* | osf5*)
 
6424
  lt_cv_deplibs_check_method=pass_all
 
6425
  ;;
 
6426
 
 
6427
rdos*)
 
6428
  lt_cv_deplibs_check_method=pass_all
 
6429
  ;;
 
6430
 
 
6431
solaris*)
 
6432
  lt_cv_deplibs_check_method=pass_all
 
6433
  ;;
 
6434
 
 
6435
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
6436
  lt_cv_deplibs_check_method=pass_all
 
6437
  ;;
 
6438
 
 
6439
sysv4 | sysv4.3*)
 
6440
  case $host_vendor in
 
6441
  motorola)
 
6442
    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]'
 
6443
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
 
6444
    ;;
 
6445
  ncr)
 
6446
    lt_cv_deplibs_check_method=pass_all
 
6447
    ;;
 
6448
  sequent)
 
6449
    lt_cv_file_magic_cmd='/bin/file'
 
6450
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
 
6451
    ;;
 
6452
  sni)
 
6453
    lt_cv_file_magic_cmd='/bin/file'
 
6454
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
 
6455
    lt_cv_file_magic_test_file=/lib/libc.so
 
6456
    ;;
 
6457
  siemens)
 
6458
    lt_cv_deplibs_check_method=pass_all
 
6459
    ;;
 
6460
  pc)
 
6461
    lt_cv_deplibs_check_method=pass_all
 
6462
    ;;
 
6463
  esac
 
6464
  ;;
 
6465
 
 
6466
tpf*)
 
6467
  lt_cv_deplibs_check_method=pass_all
 
6468
  ;;
 
6469
esac
 
6470
 
 
6471
fi
 
6472
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
 
6473
$as_echo "$lt_cv_deplibs_check_method" >&6; }
 
6474
 
 
6475
file_magic_glob=
 
6476
want_nocaseglob=no
 
6477
if test "$build" = "$host"; then
 
6478
  case $host_os in
 
6479
  mingw* | pw32*)
 
6480
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
 
6481
      want_nocaseglob=yes
 
6482
    else
 
6483
      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
 
6484
    fi
 
6485
    ;;
 
6486
  esac
 
6487
fi
 
6488
 
 
6489
file_magic_cmd=$lt_cv_file_magic_cmd
 
6490
deplibs_check_method=$lt_cv_deplibs_check_method
 
6491
test -z "$deplibs_check_method" && deplibs_check_method=unknown
 
6492
 
 
6493
 
 
6494
 
 
6495
 
 
6496
 
 
6497
 
 
6498
 
 
6499
 
 
6500
 
 
6501
 
 
6502
 
 
6503
 
 
6504
 
 
6505
 
 
6506
 
 
6507
 
 
6508
 
 
6509
 
 
6510
 
 
6511
 
 
6512
 
 
6513
 
 
6514
if test -n "$ac_tool_prefix"; then
 
6515
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 
6516
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 
6517
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6518
$as_echo_n "checking for $ac_word... " >&6; }
 
6519
if ${ac_cv_prog_DLLTOOL+:} false; then :
 
6520
  $as_echo_n "(cached) " >&6
 
6521
else
 
6522
  if test -n "$DLLTOOL"; then
 
6523
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 
6524
else
 
6525
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6526
for as_dir in $PATH
 
6527
do
 
6528
  IFS=$as_save_IFS
 
6529
  test -z "$as_dir" && as_dir=.
 
6530
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6531
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6532
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 
6533
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6534
    break 2
 
6535
  fi
 
6536
done
 
6537
  done
 
6538
IFS=$as_save_IFS
 
6539
 
 
6540
fi
 
6541
fi
 
6542
DLLTOOL=$ac_cv_prog_DLLTOOL
 
6543
if test -n "$DLLTOOL"; then
 
6544
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 
6545
$as_echo "$DLLTOOL" >&6; }
 
6546
else
 
6547
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6548
$as_echo "no" >&6; }
 
6549
fi
 
6550
 
 
6551
 
 
6552
fi
 
6553
if test -z "$ac_cv_prog_DLLTOOL"; then
 
6554
  ac_ct_DLLTOOL=$DLLTOOL
 
6555
  # Extract the first word of "dlltool", so it can be a program name with args.
 
6556
set dummy dlltool; ac_word=$2
 
6557
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6558
$as_echo_n "checking for $ac_word... " >&6; }
 
6559
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
 
6560
  $as_echo_n "(cached) " >&6
 
6561
else
 
6562
  if test -n "$ac_ct_DLLTOOL"; then
 
6563
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 
6564
else
 
6565
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6566
for as_dir in $PATH
 
6567
do
 
6568
  IFS=$as_save_IFS
 
6569
  test -z "$as_dir" && as_dir=.
 
6570
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6571
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6572
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 
6573
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6574
    break 2
 
6575
  fi
 
6576
done
 
6577
  done
 
6578
IFS=$as_save_IFS
 
6579
 
 
6580
fi
 
6581
fi
 
6582
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 
6583
if test -n "$ac_ct_DLLTOOL"; then
 
6584
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 
6585
$as_echo "$ac_ct_DLLTOOL" >&6; }
 
6586
else
 
6587
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6588
$as_echo "no" >&6; }
 
6589
fi
 
6590
 
 
6591
  if test "x$ac_ct_DLLTOOL" = x; then
 
6592
    DLLTOOL="false"
 
6593
  else
 
6594
    case $cross_compiling:$ac_tool_warned in
 
6595
yes:)
 
6596
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6597
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6598
ac_tool_warned=yes ;;
 
6599
esac
 
6600
    DLLTOOL=$ac_ct_DLLTOOL
 
6601
  fi
 
6602
else
 
6603
  DLLTOOL="$ac_cv_prog_DLLTOOL"
 
6604
fi
 
6605
 
 
6606
test -z "$DLLTOOL" && DLLTOOL=dlltool
 
6607
 
 
6608
 
 
6609
 
 
6610
 
 
6611
 
 
6612
 
 
6613
 
 
6614
 
 
6615
 
 
6616
 
 
6617
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
 
6618
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
 
6619
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
 
6620
  $as_echo_n "(cached) " >&6
 
6621
else
 
6622
  lt_cv_sharedlib_from_linklib_cmd='unknown'
 
6623
 
 
6624
case $host_os in
 
6625
cygwin* | mingw* | pw32* | cegcc*)
 
6626
  # two different shell functions defined in ltmain.sh
 
6627
  # decide which to use based on capabilities of $DLLTOOL
 
6628
  case `$DLLTOOL --help 2>&1` in
 
6629
  *--identify-strict*)
 
6630
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
 
6631
    ;;
 
6632
  *)
 
6633
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
 
6634
    ;;
 
6635
  esac
 
6636
  ;;
 
6637
*)
 
6638
  # fallback: assume linklib IS sharedlib
 
6639
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
 
6640
  ;;
 
6641
esac
 
6642
 
 
6643
fi
 
6644
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
 
6645
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
 
6646
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
 
6647
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
 
6648
 
 
6649
 
 
6650
 
 
6651
 
 
6652
 
 
6653
 
 
6654
 
 
6655
if test -n "$ac_tool_prefix"; then
 
6656
  for ac_prog in ar
 
6657
  do
 
6658
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
6659
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
6660
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6661
$as_echo_n "checking for $ac_word... " >&6; }
 
6662
if ${ac_cv_prog_AR+:} false; then :
 
6663
  $as_echo_n "(cached) " >&6
 
6664
else
 
6665
  if test -n "$AR"; then
 
6666
  ac_cv_prog_AR="$AR" # Let the user override the test.
 
6667
else
 
6668
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6669
for as_dir in $PATH
 
6670
do
 
6671
  IFS=$as_save_IFS
 
6672
  test -z "$as_dir" && as_dir=.
 
6673
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6674
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6675
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
 
6676
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6677
    break 2
 
6678
  fi
 
6679
done
 
6680
  done
 
6681
IFS=$as_save_IFS
 
6682
 
 
6683
fi
 
6684
fi
 
6685
AR=$ac_cv_prog_AR
 
6686
if test -n "$AR"; then
 
6687
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
 
6688
$as_echo "$AR" >&6; }
 
6689
else
 
6690
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6691
$as_echo "no" >&6; }
 
6692
fi
 
6693
 
 
6694
 
 
6695
    test -n "$AR" && break
 
6696
  done
 
6697
fi
 
6698
if test -z "$AR"; then
 
6699
  ac_ct_AR=$AR
 
6700
  for ac_prog in ar
 
6701
do
 
6702
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
6703
set dummy $ac_prog; ac_word=$2
 
6704
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6705
$as_echo_n "checking for $ac_word... " >&6; }
 
6706
if ${ac_cv_prog_ac_ct_AR+:} false; then :
 
6707
  $as_echo_n "(cached) " >&6
 
6708
else
 
6709
  if test -n "$ac_ct_AR"; then
 
6710
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 
6711
else
 
6712
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6713
for as_dir in $PATH
 
6714
do
 
6715
  IFS=$as_save_IFS
 
6716
  test -z "$as_dir" && as_dir=.
 
6717
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6718
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6719
    ac_cv_prog_ac_ct_AR="$ac_prog"
 
6720
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6721
    break 2
 
6722
  fi
 
6723
done
 
6724
  done
 
6725
IFS=$as_save_IFS
 
6726
 
 
6727
fi
 
6728
fi
 
6729
ac_ct_AR=$ac_cv_prog_ac_ct_AR
 
6730
if test -n "$ac_ct_AR"; then
 
6731
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
 
6732
$as_echo "$ac_ct_AR" >&6; }
 
6733
else
 
6734
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6735
$as_echo "no" >&6; }
 
6736
fi
 
6737
 
 
6738
 
 
6739
  test -n "$ac_ct_AR" && break
 
6740
done
 
6741
 
 
6742
  if test "x$ac_ct_AR" = x; then
 
6743
    AR="false"
 
6744
  else
 
6745
    case $cross_compiling:$ac_tool_warned in
 
6746
yes:)
 
6747
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6748
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6749
ac_tool_warned=yes ;;
 
6750
esac
 
6751
    AR=$ac_ct_AR
 
6752
  fi
 
6753
fi
 
6754
 
 
6755
: ${AR=ar}
 
6756
: ${AR_FLAGS=cru}
 
6757
 
 
6758
 
 
6759
 
 
6760
 
 
6761
 
 
6762
 
 
6763
 
 
6764
 
 
6765
 
 
6766
 
 
6767
 
 
6768
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
 
6769
$as_echo_n "checking for archiver @FILE support... " >&6; }
 
6770
if ${lt_cv_ar_at_file+:} false; then :
 
6771
  $as_echo_n "(cached) " >&6
 
6772
else
 
6773
  lt_cv_ar_at_file=no
 
6774
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6775
/* end confdefs.h.  */
 
6776
 
 
6777
int
 
6778
main ()
 
6779
{
 
6780
 
 
6781
  ;
 
6782
  return 0;
 
6783
}
 
6784
_ACEOF
 
6785
if ac_fn_c_try_compile "$LINENO"; then :
 
6786
  echo conftest.$ac_objext > conftest.lst
 
6787
      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
 
6788
      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
6789
  (eval $lt_ar_try) 2>&5
 
6790
  ac_status=$?
 
6791
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6792
  test $ac_status = 0; }
 
6793
      if test "$ac_status" -eq 0; then
 
6794
        # Ensure the archiver fails upon bogus file names.
 
6795
        rm -f conftest.$ac_objext libconftest.a
 
6796
        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
6797
  (eval $lt_ar_try) 2>&5
 
6798
  ac_status=$?
 
6799
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6800
  test $ac_status = 0; }
 
6801
        if test "$ac_status" -ne 0; then
 
6802
          lt_cv_ar_at_file=@
 
6803
        fi
 
6804
      fi
 
6805
      rm -f conftest.* libconftest.a
 
6806
 
 
6807
fi
 
6808
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6809
 
 
6810
fi
 
6811
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
 
6812
$as_echo "$lt_cv_ar_at_file" >&6; }
 
6813
 
 
6814
if test "x$lt_cv_ar_at_file" = xno; then
 
6815
  archiver_list_spec=
 
6816
else
 
6817
  archiver_list_spec=$lt_cv_ar_at_file
 
6818
fi
 
6819
 
 
6820
 
 
6821
 
 
6822
 
 
6823
 
 
6824
 
 
6825
 
 
6826
if test -n "$ac_tool_prefix"; then
 
6827
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
6828
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
6829
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6830
$as_echo_n "checking for $ac_word... " >&6; }
 
6831
if ${ac_cv_prog_STRIP+:} false; then :
 
6832
  $as_echo_n "(cached) " >&6
 
6833
else
 
6834
  if test -n "$STRIP"; then
 
6835
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
6836
else
 
6837
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6838
for as_dir in $PATH
 
6839
do
 
6840
  IFS=$as_save_IFS
 
6841
  test -z "$as_dir" && as_dir=.
 
6842
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6843
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6844
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
6845
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6846
    break 2
 
6847
  fi
 
6848
done
 
6849
  done
 
6850
IFS=$as_save_IFS
 
6851
 
 
6852
fi
 
6853
fi
 
6854
STRIP=$ac_cv_prog_STRIP
 
6855
if test -n "$STRIP"; then
 
6856
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
6857
$as_echo "$STRIP" >&6; }
 
6858
else
 
6859
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6860
$as_echo "no" >&6; }
 
6861
fi
 
6862
 
 
6863
 
 
6864
fi
 
6865
if test -z "$ac_cv_prog_STRIP"; then
 
6866
  ac_ct_STRIP=$STRIP
 
6867
  # Extract the first word of "strip", so it can be a program name with args.
 
6868
set dummy strip; ac_word=$2
 
6869
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6870
$as_echo_n "checking for $ac_word... " >&6; }
 
6871
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 
6872
  $as_echo_n "(cached) " >&6
 
6873
else
 
6874
  if test -n "$ac_ct_STRIP"; then
 
6875
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
6876
else
 
6877
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6878
for as_dir in $PATH
 
6879
do
 
6880
  IFS=$as_save_IFS
 
6881
  test -z "$as_dir" && as_dir=.
 
6882
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6883
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6884
    ac_cv_prog_ac_ct_STRIP="strip"
 
6885
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6886
    break 2
 
6887
  fi
 
6888
done
 
6889
  done
 
6890
IFS=$as_save_IFS
 
6891
 
 
6892
fi
 
6893
fi
 
6894
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
6895
if test -n "$ac_ct_STRIP"; then
 
6896
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
6897
$as_echo "$ac_ct_STRIP" >&6; }
 
6898
else
 
6899
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6900
$as_echo "no" >&6; }
 
6901
fi
 
6902
 
 
6903
  if test "x$ac_ct_STRIP" = x; then
 
6904
    STRIP=":"
 
6905
  else
 
6906
    case $cross_compiling:$ac_tool_warned in
 
6907
yes:)
 
6908
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6909
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6910
ac_tool_warned=yes ;;
 
6911
esac
 
6912
    STRIP=$ac_ct_STRIP
 
6913
  fi
 
6914
else
 
6915
  STRIP="$ac_cv_prog_STRIP"
 
6916
fi
 
6917
 
 
6918
test -z "$STRIP" && STRIP=:
 
6919
 
 
6920
 
 
6921
 
 
6922
 
 
6923
 
 
6924
 
 
6925
if test -n "$ac_tool_prefix"; then
 
6926
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
6927
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
6928
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6929
$as_echo_n "checking for $ac_word... " >&6; }
 
6930
if ${ac_cv_prog_RANLIB+:} false; then :
 
6931
  $as_echo_n "(cached) " >&6
 
6932
else
 
6933
  if test -n "$RANLIB"; then
 
6934
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
6935
else
 
6936
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6937
for as_dir in $PATH
 
6938
do
 
6939
  IFS=$as_save_IFS
 
6940
  test -z "$as_dir" && as_dir=.
 
6941
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6942
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6943
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
6944
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6945
    break 2
 
6946
  fi
 
6947
done
 
6948
  done
 
6949
IFS=$as_save_IFS
 
6950
 
 
6951
fi
 
6952
fi
 
6953
RANLIB=$ac_cv_prog_RANLIB
 
6954
if test -n "$RANLIB"; then
 
6955
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 
6956
$as_echo "$RANLIB" >&6; }
 
6957
else
 
6958
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6959
$as_echo "no" >&6; }
 
6960
fi
 
6961
 
 
6962
 
 
6963
fi
 
6964
if test -z "$ac_cv_prog_RANLIB"; then
 
6965
  ac_ct_RANLIB=$RANLIB
 
6966
  # Extract the first word of "ranlib", so it can be a program name with args.
 
6967
set dummy ranlib; ac_word=$2
 
6968
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6969
$as_echo_n "checking for $ac_word... " >&6; }
 
6970
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
 
6971
  $as_echo_n "(cached) " >&6
 
6972
else
 
6973
  if test -n "$ac_ct_RANLIB"; then
 
6974
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
6975
else
 
6976
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6977
for as_dir in $PATH
 
6978
do
 
6979
  IFS=$as_save_IFS
 
6980
  test -z "$as_dir" && as_dir=.
 
6981
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6982
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6983
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
6984
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6985
    break 2
 
6986
  fi
 
6987
done
 
6988
  done
 
6989
IFS=$as_save_IFS
 
6990
 
 
6991
fi
 
6992
fi
 
6993
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
6994
if test -n "$ac_ct_RANLIB"; then
 
6995
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 
6996
$as_echo "$ac_ct_RANLIB" >&6; }
 
6997
else
 
6998
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6999
$as_echo "no" >&6; }
 
7000
fi
 
7001
 
 
7002
  if test "x$ac_ct_RANLIB" = x; then
 
7003
    RANLIB=":"
 
7004
  else
 
7005
    case $cross_compiling:$ac_tool_warned in
 
7006
yes:)
 
7007
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7008
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7009
ac_tool_warned=yes ;;
 
7010
esac
 
7011
    RANLIB=$ac_ct_RANLIB
 
7012
  fi
 
7013
else
 
7014
  RANLIB="$ac_cv_prog_RANLIB"
 
7015
fi
 
7016
 
 
7017
test -z "$RANLIB" && RANLIB=:
 
7018
 
 
7019
 
 
7020
 
 
7021
 
 
7022
 
 
7023
 
 
7024
# Determine commands to create old-style static archives.
 
7025
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 
7026
old_postinstall_cmds='chmod 644 $oldlib'
 
7027
old_postuninstall_cmds=
 
7028
 
 
7029
if test -n "$RANLIB"; then
 
7030
  case $host_os in
 
7031
  openbsd*)
 
7032
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
7033
    ;;
 
7034
  *)
 
7035
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
7036
    ;;
 
7037
  esac
 
7038
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
7039
fi
 
7040
 
 
7041
case $host_os in
 
7042
  darwin*)
 
7043
    lock_old_archive_extraction=yes ;;
 
7044
  *)
 
7045
    lock_old_archive_extraction=no ;;
 
7046
esac
 
7047
 
 
7048
 
 
7049
 
 
7050
 
 
7051
 
 
7052
 
 
7053
 
 
7054
 
 
7055
 
 
7056
 
 
7057
 
 
7058
 
 
7059
 
 
7060
 
 
7061
 
 
7062
 
 
7063
 
 
7064
 
 
7065
 
 
7066
 
 
7067
 
 
7068
 
 
7069
 
 
7070
 
 
7071
 
 
7072
 
 
7073
 
 
7074
 
 
7075
 
 
7076
 
 
7077
 
 
7078
 
 
7079
 
 
7080
 
 
7081
 
 
7082
 
 
7083
 
 
7084
 
 
7085
 
 
7086
# If no C compiler was specified, use CC.
 
7087
LTCC=${LTCC-"$CC"}
 
7088
 
 
7089
# If no C compiler flags were specified, use CFLAGS.
 
7090
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
7091
 
 
7092
# Allow CC to be a program name with arguments.
 
7093
compiler=$CC
 
7094
 
 
7095
 
 
7096
# Check for command to grab the raw symbol name followed by C symbol from nm.
 
7097
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
 
7098
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
 
7099
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
 
7100
  $as_echo_n "(cached) " >&6
 
7101
else
 
7102
 
 
7103
# These are sane defaults that work on at least a few old systems.
 
7104
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
 
7105
 
 
7106
# Character class describing NM global symbol codes.
 
7107
symcode='[BCDEGRST]'
 
7108
 
 
7109
# Regexp to match symbols that can be accessed directly from C.
 
7110
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
 
7111
 
 
7112
# Define system-specific variables.
 
7113
case $host_os in
 
7114
aix*)
 
7115
  symcode='[BCDT]'
 
7116
  ;;
 
7117
cygwin* | mingw* | pw32* | cegcc*)
 
7118
  symcode='[ABCDGISTW]'
 
7119
  ;;
 
7120
hpux*)
 
7121
  if test "$host_cpu" = ia64; then
 
7122
    symcode='[ABCDEGRST]'
 
7123
  fi
 
7124
  ;;
 
7125
irix* | nonstopux*)
 
7126
  symcode='[BCDEGRST]'
 
7127
  ;;
 
7128
osf*)
 
7129
  symcode='[BCDEGQRST]'
 
7130
  ;;
 
7131
solaris*)
 
7132
  symcode='[BDRT]'
 
7133
  ;;
 
7134
sco3.2v5*)
 
7135
  symcode='[DT]'
 
7136
  ;;
 
7137
sysv4.2uw2*)
 
7138
  symcode='[DT]'
 
7139
  ;;
 
7140
sysv5* | sco5v6* | unixware* | OpenUNIX*)
 
7141
  symcode='[ABDT]'
 
7142
  ;;
 
7143
sysv4)
 
7144
  symcode='[DFNSTU]'
 
7145
  ;;
 
7146
esac
 
7147
 
 
7148
# If we're using GNU nm, then use its standard symbol codes.
 
7149
case `$NM -V 2>&1` in
 
7150
*GNU* | *'with BFD'*)
 
7151
  symcode='[ABCDGIRSTW]' ;;
 
7152
esac
 
7153
 
 
7154
# Transform an extracted symbol line into a proper C declaration.
 
7155
# Some systems (esp. on ia64) link data and code symbols differently,
 
7156
# so use this general approach.
 
7157
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
7158
 
 
7159
# Transform an extracted symbol line into symbol name and symbol address
 
7160
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
7161
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'"
 
7162
 
 
7163
# Handle CRLF in mingw tool chain
 
7164
opt_cr=
 
7165
case $build_os in
 
7166
mingw*)
 
7167
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
7168
  ;;
 
7169
esac
 
7170
 
 
7171
# Try without a prefix underscore, then with it.
 
7172
for ac_symprfx in "" "_"; do
 
7173
 
 
7174
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
 
7175
  symxfrm="\\1 $ac_symprfx\\2 \\2"
 
7176
 
 
7177
  # Write the raw and C identifiers.
 
7178
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
7179
    # Fake it for dumpbin and say T for any non-static function
 
7180
    # and D for any global variable.
 
7181
    # Also find C++ and __fastcall symbols from MSVC++,
 
7182
    # which start with @ or ?.
 
7183
    lt_cv_sys_global_symbol_pipe="$AWK '"\
 
7184
"     {last_section=section; section=\$ 3};"\
 
7185
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 
7186
"     \$ 0!~/External *\|/{next};"\
 
7187
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 
7188
"     {if(hide[section]) next};"\
 
7189
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 
7190
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 
7191
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 
7192
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 
7193
"     ' prfx=^$ac_symprfx"
 
7194
  else
 
7195
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
7196
  fi
 
7197
  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
 
7198
 
 
7199
  # Check to see that the pipe works correctly.
 
7200
  pipe_works=no
 
7201
 
 
7202
  rm -f conftest*
 
7203
  cat > conftest.$ac_ext <<_LT_EOF
 
7204
#ifdef __cplusplus
 
7205
extern "C" {
 
7206
#endif
 
7207
char nm_test_var;
 
7208
void nm_test_func(void);
 
7209
void nm_test_func(void){}
 
7210
#ifdef __cplusplus
 
7211
}
 
7212
#endif
 
7213
int main(){nm_test_var='a';nm_test_func();return(0);}
 
7214
_LT_EOF
 
7215
 
 
7216
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
7217
  (eval $ac_compile) 2>&5
 
7218
  ac_status=$?
 
7219
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7220
  test $ac_status = 0; }; then
 
7221
    # Now try to grab the symbols.
 
7222
    nlist=conftest.nm
 
7223
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
 
7224
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
 
7225
  ac_status=$?
 
7226
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7227
  test $ac_status = 0; } && test -s "$nlist"; then
 
7228
      # Try sorting and uniquifying the output.
 
7229
      if sort "$nlist" | uniq > "$nlist"T; then
 
7230
        mv -f "$nlist"T "$nlist"
 
7231
      else
 
7232
        rm -f "$nlist"T
 
7233
      fi
 
7234
 
 
7235
      # Make sure that we snagged all the symbols we need.
 
7236
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 
7237
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 
7238
          cat <<_LT_EOF > conftest.$ac_ext
 
7239
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
 
7240
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
 
7241
/* DATA imports from DLLs on WIN32 con't be const, because runtime
 
7242
   relocations are performed -- see ld's documentation on pseudo-relocs.  */
 
7243
# define LT_DLSYM_CONST
 
7244
#elif defined(__osf__)
 
7245
/* This system does not cope well with relocations in const data.  */
 
7246
# define LT_DLSYM_CONST
 
7247
#else
 
7248
# define LT_DLSYM_CONST const
 
7249
#endif
 
7250
 
 
7251
#ifdef __cplusplus
 
7252
extern "C" {
 
7253
#endif
 
7254
 
 
7255
_LT_EOF
 
7256
          # Now generate the symbol file.
 
7257
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 
7258
 
 
7259
          cat <<_LT_EOF >> conftest.$ac_ext
 
7260
 
 
7261
/* The mapping between symbol names and symbols.  */
 
7262
LT_DLSYM_CONST struct {
 
7263
  const char *name;
 
7264
  void       *address;
 
7265
}
 
7266
lt__PROGRAM__LTX_preloaded_symbols[] =
 
7267
{
 
7268
  { "@PROGRAM@", (void *) 0 },
 
7269
_LT_EOF
 
7270
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 
7271
          cat <<\_LT_EOF >> conftest.$ac_ext
 
7272
  {0, (void *) 0}
 
7273
};
 
7274
 
 
7275
/* This works around a problem in FreeBSD linker */
 
7276
#ifdef FREEBSD_WORKAROUND
 
7277
static const void *lt_preloaded_setup() {
 
7278
  return lt__PROGRAM__LTX_preloaded_symbols;
 
7279
}
 
7280
#endif
 
7281
 
 
7282
#ifdef __cplusplus
 
7283
}
 
7284
#endif
 
7285
_LT_EOF
 
7286
          # Now try linking the two files.
 
7287
          mv conftest.$ac_objext conftstm.$ac_objext
 
7288
          lt_globsym_save_LIBS=$LIBS
 
7289
          lt_globsym_save_CFLAGS=$CFLAGS
 
7290
          LIBS="conftstm.$ac_objext"
 
7291
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
 
7292
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
7293
  (eval $ac_link) 2>&5
 
7294
  ac_status=$?
 
7295
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7296
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
 
7297
            pipe_works=yes
 
7298
          fi
 
7299
          LIBS=$lt_globsym_save_LIBS
 
7300
          CFLAGS=$lt_globsym_save_CFLAGS
 
7301
        else
 
7302
          echo "cannot find nm_test_func in $nlist" >&5
 
7303
        fi
 
7304
      else
 
7305
        echo "cannot find nm_test_var in $nlist" >&5
 
7306
      fi
 
7307
    else
 
7308
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
 
7309
    fi
 
7310
  else
 
7311
    echo "$progname: failed program was:" >&5
 
7312
    cat conftest.$ac_ext >&5
 
7313
  fi
 
7314
  rm -rf conftest* conftst*
 
7315
 
 
7316
  # Do not use the global_symbol_pipe unless it works.
 
7317
  if test "$pipe_works" = yes; then
 
7318
    break
 
7319
  else
 
7320
    lt_cv_sys_global_symbol_pipe=
 
7321
  fi
 
7322
done
 
7323
 
 
7324
fi
 
7325
 
 
7326
if test -z "$lt_cv_sys_global_symbol_pipe"; then
 
7327
  lt_cv_sys_global_symbol_to_cdecl=
 
7328
fi
 
7329
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
 
7330
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
 
7331
$as_echo "failed" >&6; }
 
7332
else
 
7333
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 
7334
$as_echo "ok" >&6; }
 
7335
fi
 
7336
 
 
7337
# Response file support.
 
7338
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
7339
  nm_file_list_spec='@'
 
7340
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
 
7341
  nm_file_list_spec='@'
 
7342
fi
 
7343
 
 
7344
 
 
7345
 
 
7346
 
 
7347
 
 
7348
 
 
7349
 
 
7350
 
 
7351
 
 
7352
 
 
7353
 
 
7354
 
 
7355
 
 
7356
 
 
7357
 
 
7358
 
 
7359
 
 
7360
 
 
7361
 
 
7362
 
 
7363
 
 
7364
 
 
7365
 
 
7366
 
 
7367
 
 
7368
 
 
7369
 
 
7370
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
 
7371
$as_echo_n "checking for sysroot... " >&6; }
 
7372
 
 
7373
# Check whether --with-sysroot was given.
 
7374
if test "${with_sysroot+set}" = set; then :
 
7375
  withval=$with_sysroot;
 
7376
else
 
7377
  with_sysroot=no
 
7378
fi
 
7379
 
 
7380
 
 
7381
lt_sysroot=
 
7382
case ${with_sysroot} in #(
 
7383
 yes)
 
7384
   if test "$GCC" = yes; then
 
7385
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
 
7386
   fi
 
7387
   ;; #(
 
7388
 /*)
 
7389
   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
 
7390
   ;; #(
 
7391
 no|'')
 
7392
   ;; #(
 
7393
 *)
 
7394
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
 
7395
$as_echo "${with_sysroot}" >&6; }
 
7396
   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
 
7397
   ;;
 
7398
esac
 
7399
 
 
7400
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 
7401
$as_echo "${lt_sysroot:-no}" >&6; }
 
7402
 
 
7403
 
 
7404
 
 
7405
 
 
7406
 
 
7407
# Check whether --enable-libtool-lock was given.
 
7408
if test "${enable_libtool_lock+set}" = set; then :
 
7409
  enableval=$enable_libtool_lock;
 
7410
fi
 
7411
 
 
7412
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
7413
 
 
7414
# Some flags need to be propagated to the compiler or linker for good
 
7415
# libtool support.
 
7416
case $host in
 
7417
ia64-*-hpux*)
 
7418
  # Find out which ABI we are using.
 
7419
  echo 'int i;' > conftest.$ac_ext
 
7420
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
7421
  (eval $ac_compile) 2>&5
 
7422
  ac_status=$?
 
7423
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7424
  test $ac_status = 0; }; then
 
7425
    case `/usr/bin/file conftest.$ac_objext` in
 
7426
      *ELF-32*)
 
7427
        HPUX_IA64_MODE="32"
 
7428
        ;;
 
7429
      *ELF-64*)
 
7430
        HPUX_IA64_MODE="64"
 
7431
        ;;
 
7432
    esac
 
7433
  fi
 
7434
  rm -rf conftest*
 
7435
  ;;
 
7436
*-*-irix6*)
 
7437
  # Find out which ABI we are using.
 
7438
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
 
7439
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
7440
  (eval $ac_compile) 2>&5
 
7441
  ac_status=$?
 
7442
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7443
  test $ac_status = 0; }; then
 
7444
    if test "$lt_cv_prog_gnu_ld" = yes; then
 
7445
      case `/usr/bin/file conftest.$ac_objext` in
 
7446
        *32-bit*)
 
7447
          LD="${LD-ld} -melf32bsmip"
 
7448
          ;;
 
7449
        *N32*)
 
7450
          LD="${LD-ld} -melf32bmipn32"
 
7451
          ;;
 
7452
        *64-bit*)
 
7453
          LD="${LD-ld} -melf64bmip"
 
7454
        ;;
 
7455
      esac
 
7456
    else
 
7457
      case `/usr/bin/file conftest.$ac_objext` in
 
7458
        *32-bit*)
 
7459
          LD="${LD-ld} -32"
 
7460
          ;;
 
7461
        *N32*)
 
7462
          LD="${LD-ld} -n32"
 
7463
          ;;
 
7464
        *64-bit*)
 
7465
          LD="${LD-ld} -64"
 
7466
          ;;
 
7467
      esac
 
7468
    fi
 
7469
  fi
 
7470
  rm -rf conftest*
 
7471
  ;;
 
7472
 
 
7473
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
7474
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 
7475
  # Find out which ABI we are using.
 
7476
  echo 'int i;' > conftest.$ac_ext
 
7477
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
7478
  (eval $ac_compile) 2>&5
 
7479
  ac_status=$?
 
7480
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7481
  test $ac_status = 0; }; then
 
7482
    case `/usr/bin/file conftest.o` in
 
7483
      *32-bit*)
 
7484
        case $host in
 
7485
          x86_64-*kfreebsd*-gnu)
 
7486
            LD="${LD-ld} -m elf_i386_fbsd"
 
7487
            ;;
 
7488
          x86_64-*linux*)
 
7489
            LD="${LD-ld} -m elf_i386"
 
7490
            ;;
 
7491
          ppc64-*linux*|powerpc64-*linux*)
 
7492
            LD="${LD-ld} -m elf32ppclinux"
 
7493
            ;;
 
7494
          s390x-*linux*)
 
7495
            LD="${LD-ld} -m elf_s390"
 
7496
            ;;
 
7497
          sparc64-*linux*)
 
7498
            LD="${LD-ld} -m elf32_sparc"
 
7499
            ;;
 
7500
        esac
 
7501
        ;;
 
7502
      *64-bit*)
 
7503
        case $host in
 
7504
          x86_64-*kfreebsd*-gnu)
 
7505
            LD="${LD-ld} -m elf_x86_64_fbsd"
 
7506
            ;;
 
7507
          x86_64-*linux*)
 
7508
            LD="${LD-ld} -m elf_x86_64"
 
7509
            ;;
 
7510
          ppc*-*linux*|powerpc*-*linux*)
 
7511
            LD="${LD-ld} -m elf64ppc"
 
7512
            ;;
 
7513
          s390*-*linux*|s390*-*tpf*)
 
7514
            LD="${LD-ld} -m elf64_s390"
 
7515
            ;;
 
7516
          sparc*-*linux*)
 
7517
            LD="${LD-ld} -m elf64_sparc"
 
7518
            ;;
 
7519
        esac
 
7520
        ;;
 
7521
    esac
 
7522
  fi
 
7523
  rm -rf conftest*
 
7524
  ;;
 
7525
 
 
7526
*-*-sco3.2v5*)
 
7527
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
7528
  SAVE_CFLAGS="$CFLAGS"
 
7529
  CFLAGS="$CFLAGS -belf"
 
7530
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
 
7531
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 
7532
if ${lt_cv_cc_needs_belf+:} false; then :
 
7533
  $as_echo_n "(cached) " >&6
 
7534
else
 
7535
  ac_ext=c
 
7536
ac_cpp='$CPP $CPPFLAGS'
 
7537
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7538
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7539
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7540
 
 
7541
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7542
/* end confdefs.h.  */
 
7543
 
 
7544
int
 
7545
main ()
 
7546
{
 
7547
 
 
7548
  ;
 
7549
  return 0;
 
7550
}
 
7551
_ACEOF
 
7552
if ac_fn_c_try_link "$LINENO"; then :
 
7553
  lt_cv_cc_needs_belf=yes
 
7554
else
 
7555
  lt_cv_cc_needs_belf=no
 
7556
fi
 
7557
rm -f core conftest.err conftest.$ac_objext \
 
7558
    conftest$ac_exeext conftest.$ac_ext
 
7559
     ac_ext=c
 
7560
ac_cpp='$CPP $CPPFLAGS'
 
7561
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7562
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7563
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7564
 
 
7565
fi
 
7566
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
 
7567
$as_echo "$lt_cv_cc_needs_belf" >&6; }
 
7568
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
7569
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
7570
    CFLAGS="$SAVE_CFLAGS"
 
7571
  fi
 
7572
  ;;
 
7573
sparc*-*solaris*)
 
7574
  # Find out which ABI we are using.
 
7575
  echo 'int i;' > conftest.$ac_ext
 
7576
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
7577
  (eval $ac_compile) 2>&5
 
7578
  ac_status=$?
 
7579
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7580
  test $ac_status = 0; }; then
 
7581
    case `/usr/bin/file conftest.o` in
 
7582
    *64-bit*)
 
7583
      case $lt_cv_prog_gnu_ld in
 
7584
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
7585
      *)
 
7586
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
7587
          LD="${LD-ld} -64"
 
7588
        fi
 
7589
        ;;
 
7590
      esac
 
7591
      ;;
 
7592
    esac
 
7593
  fi
 
7594
  rm -rf conftest*
 
7595
  ;;
 
7596
esac
 
7597
 
 
7598
need_locks="$enable_libtool_lock"
 
7599
 
 
7600
if test -n "$ac_tool_prefix"; then
 
7601
  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
 
7602
set dummy ${ac_tool_prefix}mt; ac_word=$2
 
7603
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7604
$as_echo_n "checking for $ac_word... " >&6; }
 
7605
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
 
7606
  $as_echo_n "(cached) " >&6
 
7607
else
 
7608
  if test -n "$MANIFEST_TOOL"; then
 
7609
  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
 
7610
else
 
7611
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7612
for as_dir in $PATH
 
7613
do
 
7614
  IFS=$as_save_IFS
 
7615
  test -z "$as_dir" && as_dir=.
 
7616
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7617
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7618
    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
 
7619
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7620
    break 2
 
7621
  fi
 
7622
done
 
7623
  done
 
7624
IFS=$as_save_IFS
 
7625
 
 
7626
fi
 
7627
fi
 
7628
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
 
7629
if test -n "$MANIFEST_TOOL"; then
 
7630
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
 
7631
$as_echo "$MANIFEST_TOOL" >&6; }
 
7632
else
 
7633
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7634
$as_echo "no" >&6; }
 
7635
fi
 
7636
 
 
7637
 
 
7638
fi
 
7639
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
 
7640
  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
 
7641
  # Extract the first word of "mt", so it can be a program name with args.
 
7642
set dummy mt; ac_word=$2
 
7643
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7644
$as_echo_n "checking for $ac_word... " >&6; }
 
7645
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
 
7646
  $as_echo_n "(cached) " >&6
 
7647
else
 
7648
  if test -n "$ac_ct_MANIFEST_TOOL"; then
 
7649
  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
 
7650
else
 
7651
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7652
for as_dir in $PATH
 
7653
do
 
7654
  IFS=$as_save_IFS
 
7655
  test -z "$as_dir" && as_dir=.
 
7656
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7657
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7658
    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
 
7659
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7660
    break 2
 
7661
  fi
 
7662
done
 
7663
  done
 
7664
IFS=$as_save_IFS
 
7665
 
 
7666
fi
 
7667
fi
 
7668
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
 
7669
if test -n "$ac_ct_MANIFEST_TOOL"; then
 
7670
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
 
7671
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
 
7672
else
 
7673
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7674
$as_echo "no" >&6; }
 
7675
fi
 
7676
 
 
7677
  if test "x$ac_ct_MANIFEST_TOOL" = x; then
 
7678
    MANIFEST_TOOL=":"
 
7679
  else
 
7680
    case $cross_compiling:$ac_tool_warned in
 
7681
yes:)
 
7682
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7683
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7684
ac_tool_warned=yes ;;
 
7685
esac
 
7686
    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
 
7687
  fi
 
7688
else
 
7689
  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
 
7690
fi
 
7691
 
 
7692
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
 
7693
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
 
7694
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
 
7695
if ${lt_cv_path_mainfest_tool+:} false; then :
 
7696
  $as_echo_n "(cached) " >&6
 
7697
else
 
7698
  lt_cv_path_mainfest_tool=no
 
7699
  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
 
7700
  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
 
7701
  cat conftest.err >&5
 
7702
  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
 
7703
    lt_cv_path_mainfest_tool=yes
 
7704
  fi
 
7705
  rm -f conftest*
 
7706
fi
 
7707
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
 
7708
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
 
7709
if test "x$lt_cv_path_mainfest_tool" != xyes; then
 
7710
  MANIFEST_TOOL=:
 
7711
fi
 
7712
 
 
7713
 
 
7714
 
 
7715
 
 
7716
 
 
7717
 
 
7718
  case $host_os in
 
7719
    rhapsody* | darwin*)
 
7720
    if test -n "$ac_tool_prefix"; then
 
7721
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
 
7722
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 
7723
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7724
$as_echo_n "checking for $ac_word... " >&6; }
 
7725
if ${ac_cv_prog_DSYMUTIL+:} false; then :
 
7726
  $as_echo_n "(cached) " >&6
 
7727
else
 
7728
  if test -n "$DSYMUTIL"; then
 
7729
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
 
7730
else
 
7731
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7732
for as_dir in $PATH
 
7733
do
 
7734
  IFS=$as_save_IFS
 
7735
  test -z "$as_dir" && as_dir=.
 
7736
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7737
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7738
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
 
7739
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7740
    break 2
 
7741
  fi
 
7742
done
 
7743
  done
 
7744
IFS=$as_save_IFS
 
7745
 
 
7746
fi
 
7747
fi
 
7748
DSYMUTIL=$ac_cv_prog_DSYMUTIL
 
7749
if test -n "$DSYMUTIL"; then
 
7750
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
 
7751
$as_echo "$DSYMUTIL" >&6; }
 
7752
else
 
7753
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7754
$as_echo "no" >&6; }
 
7755
fi
 
7756
 
 
7757
 
 
7758
fi
 
7759
if test -z "$ac_cv_prog_DSYMUTIL"; then
 
7760
  ac_ct_DSYMUTIL=$DSYMUTIL
 
7761
  # Extract the first word of "dsymutil", so it can be a program name with args.
 
7762
set dummy dsymutil; ac_word=$2
 
7763
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7764
$as_echo_n "checking for $ac_word... " >&6; }
 
7765
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
 
7766
  $as_echo_n "(cached) " >&6
 
7767
else
 
7768
  if test -n "$ac_ct_DSYMUTIL"; then
 
7769
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
 
7770
else
 
7771
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7772
for as_dir in $PATH
 
7773
do
 
7774
  IFS=$as_save_IFS
 
7775
  test -z "$as_dir" && as_dir=.
 
7776
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7777
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7778
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
 
7779
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7780
    break 2
 
7781
  fi
 
7782
done
 
7783
  done
 
7784
IFS=$as_save_IFS
 
7785
 
 
7786
fi
 
7787
fi
 
7788
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
 
7789
if test -n "$ac_ct_DSYMUTIL"; then
 
7790
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
 
7791
$as_echo "$ac_ct_DSYMUTIL" >&6; }
 
7792
else
 
7793
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7794
$as_echo "no" >&6; }
 
7795
fi
 
7796
 
 
7797
  if test "x$ac_ct_DSYMUTIL" = x; then
 
7798
    DSYMUTIL=":"
 
7799
  else
 
7800
    case $cross_compiling:$ac_tool_warned in
 
7801
yes:)
 
7802
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7803
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7804
ac_tool_warned=yes ;;
 
7805
esac
 
7806
    DSYMUTIL=$ac_ct_DSYMUTIL
 
7807
  fi
 
7808
else
 
7809
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
 
7810
fi
 
7811
 
 
7812
    if test -n "$ac_tool_prefix"; then
 
7813
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
 
7814
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 
7815
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7816
$as_echo_n "checking for $ac_word... " >&6; }
 
7817
if ${ac_cv_prog_NMEDIT+:} false; then :
 
7818
  $as_echo_n "(cached) " >&6
 
7819
else
 
7820
  if test -n "$NMEDIT"; then
 
7821
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
 
7822
else
 
7823
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7824
for as_dir in $PATH
 
7825
do
 
7826
  IFS=$as_save_IFS
 
7827
  test -z "$as_dir" && as_dir=.
 
7828
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7829
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7830
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
 
7831
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7832
    break 2
 
7833
  fi
 
7834
done
 
7835
  done
 
7836
IFS=$as_save_IFS
 
7837
 
 
7838
fi
 
7839
fi
 
7840
NMEDIT=$ac_cv_prog_NMEDIT
 
7841
if test -n "$NMEDIT"; then
 
7842
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
 
7843
$as_echo "$NMEDIT" >&6; }
 
7844
else
 
7845
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7846
$as_echo "no" >&6; }
 
7847
fi
 
7848
 
 
7849
 
 
7850
fi
 
7851
if test -z "$ac_cv_prog_NMEDIT"; then
 
7852
  ac_ct_NMEDIT=$NMEDIT
 
7853
  # Extract the first word of "nmedit", so it can be a program name with args.
 
7854
set dummy nmedit; ac_word=$2
 
7855
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7856
$as_echo_n "checking for $ac_word... " >&6; }
 
7857
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
 
7858
  $as_echo_n "(cached) " >&6
 
7859
else
 
7860
  if test -n "$ac_ct_NMEDIT"; then
 
7861
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 
7862
else
 
7863
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7864
for as_dir in $PATH
 
7865
do
 
7866
  IFS=$as_save_IFS
 
7867
  test -z "$as_dir" && as_dir=.
 
7868
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7869
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7870
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
 
7871
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7872
    break 2
 
7873
  fi
 
7874
done
 
7875
  done
 
7876
IFS=$as_save_IFS
 
7877
 
 
7878
fi
 
7879
fi
 
7880
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 
7881
if test -n "$ac_ct_NMEDIT"; then
 
7882
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
 
7883
$as_echo "$ac_ct_NMEDIT" >&6; }
 
7884
else
 
7885
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7886
$as_echo "no" >&6; }
 
7887
fi
 
7888
 
 
7889
  if test "x$ac_ct_NMEDIT" = x; then
 
7890
    NMEDIT=":"
 
7891
  else
 
7892
    case $cross_compiling:$ac_tool_warned in
 
7893
yes:)
 
7894
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7895
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7896
ac_tool_warned=yes ;;
 
7897
esac
 
7898
    NMEDIT=$ac_ct_NMEDIT
 
7899
  fi
 
7900
else
 
7901
  NMEDIT="$ac_cv_prog_NMEDIT"
 
7902
fi
 
7903
 
 
7904
    if test -n "$ac_tool_prefix"; then
 
7905
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 
7906
set dummy ${ac_tool_prefix}lipo; ac_word=$2
 
7907
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7908
$as_echo_n "checking for $ac_word... " >&6; }
 
7909
if ${ac_cv_prog_LIPO+:} false; then :
 
7910
  $as_echo_n "(cached) " >&6
 
7911
else
 
7912
  if test -n "$LIPO"; then
 
7913
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 
7914
else
 
7915
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7916
for as_dir in $PATH
 
7917
do
 
7918
  IFS=$as_save_IFS
 
7919
  test -z "$as_dir" && as_dir=.
 
7920
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7921
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7922
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 
7923
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7924
    break 2
 
7925
  fi
 
7926
done
 
7927
  done
 
7928
IFS=$as_save_IFS
 
7929
 
 
7930
fi
 
7931
fi
 
7932
LIPO=$ac_cv_prog_LIPO
 
7933
if test -n "$LIPO"; then
 
7934
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
 
7935
$as_echo "$LIPO" >&6; }
 
7936
else
 
7937
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7938
$as_echo "no" >&6; }
 
7939
fi
 
7940
 
 
7941
 
 
7942
fi
 
7943
if test -z "$ac_cv_prog_LIPO"; then
 
7944
  ac_ct_LIPO=$LIPO
 
7945
  # Extract the first word of "lipo", so it can be a program name with args.
 
7946
set dummy lipo; ac_word=$2
 
7947
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7948
$as_echo_n "checking for $ac_word... " >&6; }
 
7949
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
 
7950
  $as_echo_n "(cached) " >&6
 
7951
else
 
7952
  if test -n "$ac_ct_LIPO"; then
 
7953
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 
7954
else
 
7955
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7956
for as_dir in $PATH
 
7957
do
 
7958
  IFS=$as_save_IFS
 
7959
  test -z "$as_dir" && as_dir=.
 
7960
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7961
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7962
    ac_cv_prog_ac_ct_LIPO="lipo"
 
7963
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7964
    break 2
 
7965
  fi
 
7966
done
 
7967
  done
 
7968
IFS=$as_save_IFS
 
7969
 
 
7970
fi
 
7971
fi
 
7972
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 
7973
if test -n "$ac_ct_LIPO"; then
 
7974
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
 
7975
$as_echo "$ac_ct_LIPO" >&6; }
 
7976
else
 
7977
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7978
$as_echo "no" >&6; }
 
7979
fi
 
7980
 
 
7981
  if test "x$ac_ct_LIPO" = x; then
 
7982
    LIPO=":"
 
7983
  else
 
7984
    case $cross_compiling:$ac_tool_warned in
 
7985
yes:)
 
7986
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7987
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7988
ac_tool_warned=yes ;;
 
7989
esac
 
7990
    LIPO=$ac_ct_LIPO
 
7991
  fi
 
7992
else
 
7993
  LIPO="$ac_cv_prog_LIPO"
 
7994
fi
 
7995
 
 
7996
    if test -n "$ac_tool_prefix"; then
 
7997
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 
7998
set dummy ${ac_tool_prefix}otool; ac_word=$2
 
7999
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8000
$as_echo_n "checking for $ac_word... " >&6; }
 
8001
if ${ac_cv_prog_OTOOL+:} false; then :
 
8002
  $as_echo_n "(cached) " >&6
 
8003
else
 
8004
  if test -n "$OTOOL"; then
 
8005
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 
8006
else
 
8007
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8008
for as_dir in $PATH
 
8009
do
 
8010
  IFS=$as_save_IFS
 
8011
  test -z "$as_dir" && as_dir=.
 
8012
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8013
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8014
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 
8015
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8016
    break 2
 
8017
  fi
 
8018
done
 
8019
  done
 
8020
IFS=$as_save_IFS
 
8021
 
 
8022
fi
 
8023
fi
 
8024
OTOOL=$ac_cv_prog_OTOOL
 
8025
if test -n "$OTOOL"; then
 
8026
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
 
8027
$as_echo "$OTOOL" >&6; }
 
8028
else
 
8029
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8030
$as_echo "no" >&6; }
 
8031
fi
 
8032
 
 
8033
 
 
8034
fi
 
8035
if test -z "$ac_cv_prog_OTOOL"; then
 
8036
  ac_ct_OTOOL=$OTOOL
 
8037
  # Extract the first word of "otool", so it can be a program name with args.
 
8038
set dummy otool; ac_word=$2
 
8039
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8040
$as_echo_n "checking for $ac_word... " >&6; }
 
8041
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
 
8042
  $as_echo_n "(cached) " >&6
 
8043
else
 
8044
  if test -n "$ac_ct_OTOOL"; then
 
8045
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 
8046
else
 
8047
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8048
for as_dir in $PATH
 
8049
do
 
8050
  IFS=$as_save_IFS
 
8051
  test -z "$as_dir" && as_dir=.
 
8052
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8053
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8054
    ac_cv_prog_ac_ct_OTOOL="otool"
 
8055
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8056
    break 2
 
8057
  fi
 
8058
done
 
8059
  done
 
8060
IFS=$as_save_IFS
 
8061
 
 
8062
fi
 
8063
fi
 
8064
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 
8065
if test -n "$ac_ct_OTOOL"; then
 
8066
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
 
8067
$as_echo "$ac_ct_OTOOL" >&6; }
 
8068
else
 
8069
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8070
$as_echo "no" >&6; }
 
8071
fi
 
8072
 
 
8073
  if test "x$ac_ct_OTOOL" = x; then
 
8074
    OTOOL=":"
 
8075
  else
 
8076
    case $cross_compiling:$ac_tool_warned in
 
8077
yes:)
 
8078
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8079
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8080
ac_tool_warned=yes ;;
 
8081
esac
 
8082
    OTOOL=$ac_ct_OTOOL
 
8083
  fi
 
8084
else
 
8085
  OTOOL="$ac_cv_prog_OTOOL"
 
8086
fi
 
8087
 
 
8088
    if test -n "$ac_tool_prefix"; then
 
8089
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 
8090
set dummy ${ac_tool_prefix}otool64; ac_word=$2
 
8091
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8092
$as_echo_n "checking for $ac_word... " >&6; }
 
8093
if ${ac_cv_prog_OTOOL64+:} false; then :
 
8094
  $as_echo_n "(cached) " >&6
 
8095
else
 
8096
  if test -n "$OTOOL64"; then
 
8097
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 
8098
else
 
8099
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8100
for as_dir in $PATH
 
8101
do
 
8102
  IFS=$as_save_IFS
 
8103
  test -z "$as_dir" && as_dir=.
 
8104
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8105
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8106
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 
8107
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8108
    break 2
 
8109
  fi
 
8110
done
 
8111
  done
 
8112
IFS=$as_save_IFS
 
8113
 
 
8114
fi
 
8115
fi
 
8116
OTOOL64=$ac_cv_prog_OTOOL64
 
8117
if test -n "$OTOOL64"; then
 
8118
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
 
8119
$as_echo "$OTOOL64" >&6; }
 
8120
else
 
8121
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8122
$as_echo "no" >&6; }
 
8123
fi
 
8124
 
 
8125
 
 
8126
fi
 
8127
if test -z "$ac_cv_prog_OTOOL64"; then
 
8128
  ac_ct_OTOOL64=$OTOOL64
 
8129
  # Extract the first word of "otool64", so it can be a program name with args.
 
8130
set dummy otool64; ac_word=$2
 
8131
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8132
$as_echo_n "checking for $ac_word... " >&6; }
 
8133
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
 
8134
  $as_echo_n "(cached) " >&6
 
8135
else
 
8136
  if test -n "$ac_ct_OTOOL64"; then
 
8137
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 
8138
else
 
8139
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8140
for as_dir in $PATH
 
8141
do
 
8142
  IFS=$as_save_IFS
 
8143
  test -z "$as_dir" && as_dir=.
 
8144
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8145
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8146
    ac_cv_prog_ac_ct_OTOOL64="otool64"
 
8147
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8148
    break 2
 
8149
  fi
 
8150
done
 
8151
  done
 
8152
IFS=$as_save_IFS
 
8153
 
 
8154
fi
 
8155
fi
 
8156
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 
8157
if test -n "$ac_ct_OTOOL64"; then
 
8158
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
 
8159
$as_echo "$ac_ct_OTOOL64" >&6; }
 
8160
else
 
8161
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8162
$as_echo "no" >&6; }
 
8163
fi
 
8164
 
 
8165
  if test "x$ac_ct_OTOOL64" = x; then
 
8166
    OTOOL64=":"
 
8167
  else
 
8168
    case $cross_compiling:$ac_tool_warned in
 
8169
yes:)
 
8170
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8171
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8172
ac_tool_warned=yes ;;
 
8173
esac
 
8174
    OTOOL64=$ac_ct_OTOOL64
 
8175
  fi
 
8176
else
 
8177
  OTOOL64="$ac_cv_prog_OTOOL64"
 
8178
fi
 
8179
 
 
8180
 
 
8181
 
 
8182
 
 
8183
 
 
8184
 
 
8185
 
 
8186
 
 
8187
 
 
8188
 
 
8189
 
 
8190
 
 
8191
 
 
8192
 
 
8193
 
 
8194
 
 
8195
 
 
8196
 
 
8197
 
 
8198
 
 
8199
 
 
8200
 
 
8201
 
 
8202
 
 
8203
 
 
8204
 
 
8205
 
 
8206
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
 
8207
$as_echo_n "checking for -single_module linker flag... " >&6; }
 
8208
if ${lt_cv_apple_cc_single_mod+:} false; then :
 
8209
  $as_echo_n "(cached) " >&6
 
8210
else
 
8211
  lt_cv_apple_cc_single_mod=no
 
8212
      if test -z "${LT_MULTI_MODULE}"; then
 
8213
        # By default we will add the -single_module flag. You can override
 
8214
        # by either setting the environment variable LT_MULTI_MODULE
 
8215
        # non-empty at configure time, or by adding -multi_module to the
 
8216
        # link flags.
 
8217
        rm -rf libconftest.dylib*
 
8218
        echo "int foo(void){return 1;}" > conftest.c
 
8219
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
8220
-dynamiclib -Wl,-single_module conftest.c" >&5
 
8221
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
8222
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 
8223
        _lt_result=$?
 
8224
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 
8225
          lt_cv_apple_cc_single_mod=yes
 
8226
        else
 
8227
          cat conftest.err >&5
 
8228
        fi
 
8229
        rm -rf libconftest.dylib*
 
8230
        rm -f conftest.*
 
8231
      fi
 
8232
fi
 
8233
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
 
8234
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
8235
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
 
8236
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
 
8237
if ${lt_cv_ld_exported_symbols_list+:} false; then :
 
8238
  $as_echo_n "(cached) " >&6
 
8239
else
 
8240
  lt_cv_ld_exported_symbols_list=no
 
8241
      save_LDFLAGS=$LDFLAGS
 
8242
      echo "_main" > conftest.sym
 
8243
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 
8244
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
8245
/* end confdefs.h.  */
 
8246
 
 
8247
int
 
8248
main ()
 
8249
{
 
8250
 
 
8251
  ;
 
8252
  return 0;
 
8253
}
 
8254
_ACEOF
 
8255
if ac_fn_c_try_link "$LINENO"; then :
 
8256
  lt_cv_ld_exported_symbols_list=yes
 
8257
else
 
8258
  lt_cv_ld_exported_symbols_list=no
 
8259
fi
 
8260
rm -f core conftest.err conftest.$ac_objext \
 
8261
    conftest$ac_exeext conftest.$ac_ext
 
8262
        LDFLAGS="$save_LDFLAGS"
 
8263
 
 
8264
fi
 
8265
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
 
8266
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
8267
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
 
8268
$as_echo_n "checking for -force_load linker flag... " >&6; }
 
8269
if ${lt_cv_ld_force_load+:} false; then :
 
8270
  $as_echo_n "(cached) " >&6
 
8271
else
 
8272
  lt_cv_ld_force_load=no
 
8273
      cat > conftest.c << _LT_EOF
 
8274
int forced_loaded() { return 2;}
 
8275
_LT_EOF
 
8276
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
 
8277
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
 
8278
      echo "$AR cru libconftest.a conftest.o" >&5
 
8279
      $AR cru libconftest.a conftest.o 2>&5
 
8280
      echo "$RANLIB libconftest.a" >&5
 
8281
      $RANLIB libconftest.a 2>&5
 
8282
      cat > conftest.c << _LT_EOF
 
8283
int main() { return 0;}
 
8284
_LT_EOF
 
8285
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
 
8286
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
 
8287
      _lt_result=$?
 
8288
      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
 
8289
        lt_cv_ld_force_load=yes
 
8290
      else
 
8291
        cat conftest.err >&5
 
8292
      fi
 
8293
        rm -f conftest.err libconftest.a conftest conftest.c
 
8294
        rm -rf conftest.dSYM
 
8295
 
 
8296
fi
 
8297
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
 
8298
$as_echo "$lt_cv_ld_force_load" >&6; }
 
8299
    case $host_os in
 
8300
    rhapsody* | darwin1.[012])
 
8301
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 
8302
    darwin1.*)
 
8303
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
8304
    darwin*) # darwin 5.x on
 
8305
      # if running on 10.5 or later, the deployment target defaults
 
8306
      # to the OS version, if on x86, and 10.4, the deployment
 
8307
      # target defaults to 10.4. Don't you love it?
 
8308
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 
8309
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
8310
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
8311
        10.[012]*)
 
8312
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
8313
        10.*)
 
8314
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
8315
      esac
 
8316
    ;;
 
8317
  esac
 
8318
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 
8319
      _lt_dar_single_mod='$single_module'
 
8320
    fi
 
8321
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 
8322
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 
8323
    else
 
8324
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
8325
    fi
 
8326
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
 
8327
      _lt_dsymutil='~$DSYMUTIL $lib || :'
 
8328
    else
 
8329
      _lt_dsymutil=
 
8330
    fi
 
8331
    ;;
 
8332
  esac
 
8333
 
 
8334
for ac_header in dlfcn.h
 
8335
do :
 
8336
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 
8337
"
 
8338
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
 
8339
  cat >>confdefs.h <<_ACEOF
 
8340
#define HAVE_DLFCN_H 1
 
8341
_ACEOF
 
8342
 
 
8343
fi
 
8344
 
 
8345
done
 
8346
 
 
8347
 
 
8348
 
 
8349
 
 
8350
 
 
8351
# Set options
 
8352
enable_dlopen=yes
 
8353
# Check whether --enable-static was given.
 
8354
if test "${enable_static+set}" = set; then :
 
8355
  enableval=$enable_static; p=${PACKAGE-default}
 
8356
    case $enableval in
 
8357
    yes) enable_static=yes ;;
 
8358
    no) enable_static=no ;;
 
8359
    *)
 
8360
     enable_static=no
 
8361
      # Look at the argument we got.  We use all the common list separators.
 
8362
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
8363
      for pkg in $enableval; do
 
8364
        IFS="$lt_save_ifs"
 
8365
        if test "X$pkg" = "X$p"; then
 
8366
          enable_static=yes
 
8367
        fi
 
8368
      done
 
8369
      IFS="$lt_save_ifs"
 
8370
      ;;
 
8371
    esac
 
8372
else
 
8373
  enable_static=no
 
8374
fi
 
8375
 
 
8376
 
 
8377
 
 
8378
 
 
8379
 
 
8380
 
 
8381
 
 
8382
 
 
8383
 
 
8384
 
 
8385
 
 
8386
  enable_win32_dll=no
 
8387
 
 
8388
 
 
8389
            # Check whether --enable-shared was given.
 
8390
if test "${enable_shared+set}" = set; then :
 
8391
  enableval=$enable_shared; p=${PACKAGE-default}
 
8392
    case $enableval in
 
8393
    yes) enable_shared=yes ;;
 
8394
    no) enable_shared=no ;;
 
8395
    *)
 
8396
      enable_shared=no
 
8397
      # Look at the argument we got.  We use all the common list separators.
 
8398
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
8399
      for pkg in $enableval; do
 
8400
        IFS="$lt_save_ifs"
 
8401
        if test "X$pkg" = "X$p"; then
 
8402
          enable_shared=yes
 
8403
        fi
 
8404
      done
 
8405
      IFS="$lt_save_ifs"
 
8406
      ;;
 
8407
    esac
 
8408
else
 
8409
  enable_shared=yes
 
8410
fi
 
8411
 
 
8412
 
 
8413
 
 
8414
 
 
8415
 
 
8416
 
 
8417
 
 
8418
 
 
8419
 
 
8420
 
 
8421
 
 
8422
# Check whether --with-pic was given.
 
8423
if test "${with_pic+set}" = set; then :
 
8424
  withval=$with_pic; pic_mode="$withval"
 
8425
else
 
8426
  pic_mode=default
 
8427
fi
 
8428
 
 
8429
 
 
8430
test -z "$pic_mode" && pic_mode=default
 
8431
 
 
8432
 
 
8433
 
 
8434
 
 
8435
 
 
8436
 
 
8437
 
 
8438
  # Check whether --enable-fast-install was given.
 
8439
if test "${enable_fast_install+set}" = set; then :
 
8440
  enableval=$enable_fast_install; p=${PACKAGE-default}
 
8441
    case $enableval in
 
8442
    yes) enable_fast_install=yes ;;
 
8443
    no) enable_fast_install=no ;;
 
8444
    *)
 
8445
      enable_fast_install=no
 
8446
      # Look at the argument we got.  We use all the common list separators.
 
8447
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
8448
      for pkg in $enableval; do
 
8449
        IFS="$lt_save_ifs"
 
8450
        if test "X$pkg" = "X$p"; then
 
8451
          enable_fast_install=yes
 
8452
        fi
 
8453
      done
 
8454
      IFS="$lt_save_ifs"
 
8455
      ;;
 
8456
    esac
 
8457
else
 
8458
  enable_fast_install=yes
 
8459
fi
 
8460
 
 
8461
 
 
8462
 
 
8463
 
 
8464
 
 
8465
 
 
8466
 
 
8467
 
 
8468
 
 
8469
 
 
8470
 
 
8471
# This can be used to rebuild libtool when needed
 
8472
LIBTOOL_DEPS="$ltmain"
 
8473
 
 
8474
# Always use our own libtool.
 
8475
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
8476
 
 
8477
 
 
8478
 
 
8479
 
 
8480
 
 
8481
 
 
8482
 
 
8483
 
 
8484
 
 
8485
 
 
8486
 
 
8487
 
 
8488
 
 
8489
 
 
8490
 
 
8491
 
 
8492
 
 
8493
 
 
8494
 
 
8495
 
 
8496
 
 
8497
 
 
8498
 
 
8499
 
 
8500
 
 
8501
 
 
8502
test -z "$LN_S" && LN_S="ln -s"
 
8503
 
 
8504
 
 
8505
 
 
8506
 
 
8507
 
 
8508
 
 
8509
 
 
8510
 
 
8511
 
 
8512
 
 
8513
 
 
8514
 
 
8515
 
 
8516
 
 
8517
if test -n "${ZSH_VERSION+set}" ; then
 
8518
   setopt NO_GLOB_SUBST
 
8519
fi
 
8520
 
 
8521
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
 
8522
$as_echo_n "checking for objdir... " >&6; }
 
8523
if ${lt_cv_objdir+:} false; then :
 
8524
  $as_echo_n "(cached) " >&6
 
8525
else
 
8526
  rm -f .libs 2>/dev/null
 
8527
mkdir .libs 2>/dev/null
 
8528
if test -d .libs; then
 
8529
  lt_cv_objdir=.libs
 
8530
else
 
8531
  # MS-DOS does not allow filenames that begin with a dot.
 
8532
  lt_cv_objdir=_libs
 
8533
fi
 
8534
rmdir .libs 2>/dev/null
 
8535
fi
 
8536
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
 
8537
$as_echo "$lt_cv_objdir" >&6; }
 
8538
objdir=$lt_cv_objdir
 
8539
 
 
8540
 
 
8541
 
 
8542
 
 
8543
 
 
8544
cat >>confdefs.h <<_ACEOF
 
8545
#define LT_OBJDIR "$lt_cv_objdir/"
 
8546
_ACEOF
 
8547
 
 
8548
 
 
8549
 
 
8550
 
 
8551
case $host_os in
 
8552
aix3*)
 
8553
  # AIX sometimes has problems with the GCC collect2 program.  For some
 
8554
  # reason, if we set the COLLECT_NAMES environment variable, the problems
 
8555
  # vanish in a puff of smoke.
 
8556
  if test "X${COLLECT_NAMES+set}" != Xset; then
 
8557
    COLLECT_NAMES=
 
8558
    export COLLECT_NAMES
 
8559
  fi
 
8560
  ;;
 
8561
esac
 
8562
 
 
8563
# Global variables:
 
8564
ofile=libtool
 
8565
can_build_shared=yes
 
8566
 
 
8567
# All known linkers require a `.a' archive for static linking (except MSVC,
 
8568
# which needs '.lib').
 
8569
libext=a
 
8570
 
 
8571
with_gnu_ld="$lt_cv_prog_gnu_ld"
 
8572
 
 
8573
old_CC="$CC"
 
8574
old_CFLAGS="$CFLAGS"
 
8575
 
 
8576
# Set sane defaults for various variables
 
8577
test -z "$CC" && CC=cc
 
8578
test -z "$LTCC" && LTCC=$CC
 
8579
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 
8580
test -z "$LD" && LD=ld
 
8581
test -z "$ac_objext" && ac_objext=o
 
8582
 
 
8583
for cc_temp in $compiler""; do
 
8584
  case $cc_temp in
 
8585
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
8586
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
8587
    \-*) ;;
 
8588
    *) break;;
 
8589
  esac
 
8590
done
 
8591
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
 
8592
 
 
8593
 
 
8594
# Only perform the check for file, if the check method requires it
 
8595
test -z "$MAGIC_CMD" && MAGIC_CMD=file
 
8596
case $deplibs_check_method in
 
8597
file_magic*)
 
8598
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 
8599
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
 
8600
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
 
8601
if ${lt_cv_path_MAGIC_CMD+:} false; then :
 
8602
  $as_echo_n "(cached) " >&6
 
8603
else
 
8604
  case $MAGIC_CMD in
 
8605
[\\/*] |  ?:[\\/]*)
 
8606
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
8607
  ;;
 
8608
*)
 
8609
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
8610
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
8611
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
8612
  for ac_dir in $ac_dummy; do
 
8613
    IFS="$lt_save_ifs"
 
8614
    test -z "$ac_dir" && ac_dir=.
 
8615
    if test -f $ac_dir/${ac_tool_prefix}file; then
 
8616
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
 
8617
      if test -n "$file_magic_test_file"; then
 
8618
        case $deplibs_check_method in
 
8619
        "file_magic "*)
 
8620
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
8621
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
8622
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
8623
            $EGREP "$file_magic_regex" > /dev/null; then
 
8624
            :
 
8625
          else
 
8626
            cat <<_LT_EOF 1>&2
 
8627
 
 
8628
*** Warning: the command libtool uses to detect shared libraries,
 
8629
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
8630
*** The result is that libtool may fail to recognize shared libraries
 
8631
*** as such.  This will affect the creation of libtool libraries that
 
8632
*** depend on shared libraries, but programs linked with such libtool
 
8633
*** libraries will work regardless of this problem.  Nevertheless, you
 
8634
*** may want to report the problem to your system manager and/or to
 
8635
*** bug-libtool@gnu.org
 
8636
 
 
8637
_LT_EOF
 
8638
          fi ;;
 
8639
        esac
 
8640
      fi
 
8641
      break
 
8642
    fi
 
8643
  done
 
8644
  IFS="$lt_save_ifs"
 
8645
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
8646
  ;;
 
8647
esac
 
8648
fi
 
8649
 
 
8650
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
8651
if test -n "$MAGIC_CMD"; then
 
8652
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
8653
$as_echo "$MAGIC_CMD" >&6; }
 
8654
else
 
8655
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8656
$as_echo "no" >&6; }
 
8657
fi
 
8658
 
 
8659
 
 
8660
 
 
8661
 
 
8662
 
 
8663
if test -z "$lt_cv_path_MAGIC_CMD"; then
 
8664
  if test -n "$ac_tool_prefix"; then
 
8665
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
 
8666
$as_echo_n "checking for file... " >&6; }
 
8667
if ${lt_cv_path_MAGIC_CMD+:} false; then :
 
8668
  $as_echo_n "(cached) " >&6
 
8669
else
 
8670
  case $MAGIC_CMD in
 
8671
[\\/*] |  ?:[\\/]*)
 
8672
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
8673
  ;;
 
8674
*)
 
8675
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
8676
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
8677
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
8678
  for ac_dir in $ac_dummy; do
 
8679
    IFS="$lt_save_ifs"
 
8680
    test -z "$ac_dir" && ac_dir=.
 
8681
    if test -f $ac_dir/file; then
 
8682
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
 
8683
      if test -n "$file_magic_test_file"; then
 
8684
        case $deplibs_check_method in
 
8685
        "file_magic "*)
 
8686
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
8687
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
8688
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
8689
            $EGREP "$file_magic_regex" > /dev/null; then
 
8690
            :
 
8691
          else
 
8692
            cat <<_LT_EOF 1>&2
 
8693
 
 
8694
*** Warning: the command libtool uses to detect shared libraries,
 
8695
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
8696
*** The result is that libtool may fail to recognize shared libraries
 
8697
*** as such.  This will affect the creation of libtool libraries that
 
8698
*** depend on shared libraries, but programs linked with such libtool
 
8699
*** libraries will work regardless of this problem.  Nevertheless, you
 
8700
*** may want to report the problem to your system manager and/or to
 
8701
*** bug-libtool@gnu.org
 
8702
 
 
8703
_LT_EOF
 
8704
          fi ;;
 
8705
        esac
 
8706
      fi
 
8707
      break
 
8708
    fi
 
8709
  done
 
8710
  IFS="$lt_save_ifs"
 
8711
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
8712
  ;;
 
8713
esac
 
8714
fi
 
8715
 
 
8716
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
8717
if test -n "$MAGIC_CMD"; then
 
8718
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
8719
$as_echo "$MAGIC_CMD" >&6; }
 
8720
else
 
8721
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8722
$as_echo "no" >&6; }
 
8723
fi
 
8724
 
 
8725
 
 
8726
  else
 
8727
    MAGIC_CMD=:
 
8728
  fi
 
8729
fi
 
8730
 
 
8731
  fi
 
8732
  ;;
 
8733
esac
 
8734
 
 
8735
# Use C for the default configuration in the libtool script
 
8736
 
 
8737
lt_save_CC="$CC"
 
8738
ac_ext=c
 
8739
ac_cpp='$CPP $CPPFLAGS'
 
8740
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
8741
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
8742
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
8743
 
 
8744
 
 
8745
# Source file extension for C test sources.
 
8746
ac_ext=c
 
8747
 
 
8748
# Object file extension for compiled C test sources.
 
8749
objext=o
 
8750
objext=$objext
 
8751
 
 
8752
# Code to be used in simple compile tests
 
8753
lt_simple_compile_test_code="int some_variable = 0;"
 
8754
 
 
8755
# Code to be used in simple link tests
 
8756
lt_simple_link_test_code='int main(){return(0);}'
 
8757
 
 
8758
 
 
8759
 
 
8760
 
 
8761
 
 
8762
 
 
8763
 
 
8764
# If no C compiler was specified, use CC.
 
8765
LTCC=${LTCC-"$CC"}
 
8766
 
 
8767
# If no C compiler flags were specified, use CFLAGS.
 
8768
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
8769
 
 
8770
# Allow CC to be a program name with arguments.
 
8771
compiler=$CC
 
8772
 
 
8773
# Save the default compiler, since it gets overwritten when the other
 
8774
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 
8775
compiler_DEFAULT=$CC
 
8776
 
 
8777
# save warnings/boilerplate of simple test code
 
8778
ac_outfile=conftest.$ac_objext
 
8779
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
8780
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
8781
_lt_compiler_boilerplate=`cat conftest.err`
 
8782
$RM conftest*
 
8783
 
 
8784
ac_outfile=conftest.$ac_objext
 
8785
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
8786
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
8787
_lt_linker_boilerplate=`cat conftest.err`
 
8788
$RM -r conftest*
 
8789
 
 
8790
 
 
8791
## CAVEAT EMPTOR:
 
8792
## There is no encapsulation within the following macros, do not change
 
8793
## the running order or otherwise move them around unless you know exactly
 
8794
## what you are doing...
 
8795
if test -n "$compiler"; then
 
8796
 
 
8797
lt_prog_compiler_no_builtin_flag=
 
8798
 
 
8799
if test "$GCC" = yes; then
 
8800
  case $cc_basename in
 
8801
  nvcc*)
 
8802
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
 
8803
  *)
 
8804
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
 
8805
  esac
 
8806
 
 
8807
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
8808
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
 
8809
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
 
8810
  $as_echo_n "(cached) " >&6
 
8811
else
 
8812
  lt_cv_prog_compiler_rtti_exceptions=no
 
8813
   ac_outfile=conftest.$ac_objext
 
8814
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8815
   lt_compiler_flag="-fno-rtti -fno-exceptions"
 
8816
   # Insert the option either (1) after the last *FLAGS variable, or
 
8817
   # (2) before a word containing "conftest.", or (3) at the end.
 
8818
   # Note that $ac_compile itself does not contain backslashes and begins
 
8819
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
8820
   # The option is referenced via a variable to avoid confusing sed.
 
8821
   lt_compile=`echo "$ac_compile" | $SED \
 
8822
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
8823
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
8824
   -e 's:$: $lt_compiler_flag:'`
 
8825
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
8826
   (eval "$lt_compile" 2>conftest.err)
 
8827
   ac_status=$?
 
8828
   cat conftest.err >&5
 
8829
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8830
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
8831
     # The compiler can only warn and ignore the option if not recognized
 
8832
     # So say no if there are warnings other than the usual output.
 
8833
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
 
8834
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
8835
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
8836
       lt_cv_prog_compiler_rtti_exceptions=yes
 
8837
     fi
 
8838
   fi
 
8839
   $RM conftest*
 
8840
 
 
8841
fi
 
8842
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
8843
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 
8844
 
 
8845
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
 
8846
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
 
8847
else
 
8848
    :
 
8849
fi
 
8850
 
 
8851
fi
 
8852
 
 
8853
 
 
8854
 
 
8855
 
 
8856
 
 
8857
 
 
8858
  lt_prog_compiler_wl=
 
8859
lt_prog_compiler_pic=
 
8860
lt_prog_compiler_static=
 
8861
 
 
8862
 
 
8863
  if test "$GCC" = yes; then
 
8864
    lt_prog_compiler_wl='-Wl,'
 
8865
    lt_prog_compiler_static='-static'
 
8866
 
 
8867
    case $host_os in
 
8868
      aix*)
 
8869
      # All AIX code is PIC.
 
8870
      if test "$host_cpu" = ia64; then
 
8871
        # AIX 5 now supports IA64 processor
 
8872
        lt_prog_compiler_static='-Bstatic'
 
8873
      fi
 
8874
      ;;
 
8875
 
 
8876
    amigaos*)
 
8877
      case $host_cpu in
 
8878
      powerpc)
 
8879
            # see comment about AmigaOS4 .so support
 
8880
            lt_prog_compiler_pic='-fPIC'
 
8881
        ;;
 
8882
      m68k)
 
8883
            # FIXME: we need at least 68020 code to build shared libraries, but
 
8884
            # adding the `-m68020' flag to GCC prevents building anything better,
 
8885
            # like `-m68040'.
 
8886
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
8887
        ;;
 
8888
      esac
 
8889
      ;;
 
8890
 
 
8891
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
8892
      # PIC is the default for these OSes.
 
8893
      ;;
 
8894
 
 
8895
    mingw* | cygwin* | pw32* | os2* | cegcc*)
 
8896
      # This hack is so that the source file can tell whether it is being
 
8897
      # built for inclusion in a dll (and should export symbols for example).
 
8898
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
8899
      # (--disable-auto-import) libraries
 
8900
      lt_prog_compiler_pic='-DDLL_EXPORT'
 
8901
      ;;
 
8902
 
 
8903
    darwin* | rhapsody*)
 
8904
      # PIC is the default on this platform
 
8905
      # Common symbols not allowed in MH_DYLIB files
 
8906
      lt_prog_compiler_pic='-fno-common'
 
8907
      ;;
 
8908
 
 
8909
    haiku*)
 
8910
      # PIC is the default for Haiku.
 
8911
      # The "-static" flag exists, but is broken.
 
8912
      lt_prog_compiler_static=
 
8913
      ;;
 
8914
 
 
8915
    hpux*)
 
8916
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
8917
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
8918
      # sets the default TLS model and affects inlining.
 
8919
      case $host_cpu in
 
8920
      hppa*64*)
 
8921
        # +Z the default
 
8922
        ;;
 
8923
      *)
 
8924
        lt_prog_compiler_pic='-fPIC'
 
8925
        ;;
 
8926
      esac
 
8927
      ;;
 
8928
 
 
8929
    interix[3-9]*)
 
8930
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
8931
      # Instead, we relocate shared libraries at runtime.
 
8932
      ;;
 
8933
 
 
8934
    msdosdjgpp*)
 
8935
      # Just because we use GCC doesn't mean we suddenly get shared libraries
 
8936
      # on systems that don't support them.
 
8937
      lt_prog_compiler_can_build_shared=no
 
8938
      enable_shared=no
 
8939
      ;;
 
8940
 
 
8941
    *nto* | *qnx*)
 
8942
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
8943
      # it will coredump.
 
8944
      lt_prog_compiler_pic='-fPIC -shared'
 
8945
      ;;
 
8946
 
 
8947
    sysv4*MP*)
 
8948
      if test -d /usr/nec; then
 
8949
        lt_prog_compiler_pic=-Kconform_pic
 
8950
      fi
 
8951
      ;;
 
8952
 
 
8953
    *)
 
8954
      lt_prog_compiler_pic='-fPIC'
 
8955
      ;;
 
8956
    esac
 
8957
 
 
8958
    case $cc_basename in
 
8959
    nvcc*) # Cuda Compiler Driver 2.2
 
8960
      lt_prog_compiler_wl='-Xlinker '
 
8961
      lt_prog_compiler_pic='-Xcompiler -fPIC'
 
8962
      ;;
 
8963
    esac
 
8964
  else
 
8965
    # PORTME Check for flag to pass linker flags through the system compiler.
 
8966
    case $host_os in
 
8967
    aix*)
 
8968
      lt_prog_compiler_wl='-Wl,'
 
8969
      if test "$host_cpu" = ia64; then
 
8970
        # AIX 5 now supports IA64 processor
 
8971
        lt_prog_compiler_static='-Bstatic'
 
8972
      else
 
8973
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
 
8974
      fi
 
8975
      ;;
 
8976
 
 
8977
    mingw* | cygwin* | pw32* | os2* | cegcc*)
 
8978
      # This hack is so that the source file can tell whether it is being
 
8979
      # built for inclusion in a dll (and should export symbols for example).
 
8980
      lt_prog_compiler_pic='-DDLL_EXPORT'
 
8981
      ;;
 
8982
 
 
8983
    hpux9* | hpux10* | hpux11*)
 
8984
      lt_prog_compiler_wl='-Wl,'
 
8985
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 
8986
      # not for PA HP-UX.
 
8987
      case $host_cpu in
 
8988
      hppa*64*|ia64*)
 
8989
        # +Z the default
 
8990
        ;;
 
8991
      *)
 
8992
        lt_prog_compiler_pic='+Z'
 
8993
        ;;
 
8994
      esac
 
8995
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
 
8996
      lt_prog_compiler_static='${wl}-a ${wl}archive'
 
8997
      ;;
 
8998
 
 
8999
    irix5* | irix6* | nonstopux*)
 
9000
      lt_prog_compiler_wl='-Wl,'
 
9001
      # PIC (with -KPIC) is the default.
 
9002
      lt_prog_compiler_static='-non_shared'
 
9003
      ;;
 
9004
 
 
9005
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
9006
      case $cc_basename in
 
9007
      # old Intel for x86_64 which still supported -KPIC.
 
9008
      ecc*)
 
9009
        lt_prog_compiler_wl='-Wl,'
 
9010
        lt_prog_compiler_pic='-KPIC'
 
9011
        lt_prog_compiler_static='-static'
 
9012
        ;;
 
9013
      # icc used to be incompatible with GCC.
 
9014
      # ICC 10 doesn't accept -KPIC any more.
 
9015
      icc* | ifort*)
 
9016
        lt_prog_compiler_wl='-Wl,'
 
9017
        lt_prog_compiler_pic='-fPIC'
 
9018
        lt_prog_compiler_static='-static'
 
9019
        ;;
 
9020
      # Lahey Fortran 8.1.
 
9021
      lf95*)
 
9022
        lt_prog_compiler_wl='-Wl,'
 
9023
        lt_prog_compiler_pic='--shared'
 
9024
        lt_prog_compiler_static='--static'
 
9025
        ;;
 
9026
      nagfor*)
 
9027
        # NAG Fortran compiler
 
9028
        lt_prog_compiler_wl='-Wl,-Wl,,'
 
9029
        lt_prog_compiler_pic='-PIC'
 
9030
        lt_prog_compiler_static='-Bstatic'
 
9031
        ;;
 
9032
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
 
9033
        # Portland Group compilers (*not* the Pentium gcc compiler,
 
9034
        # which looks to be a dead project)
 
9035
        lt_prog_compiler_wl='-Wl,'
 
9036
        lt_prog_compiler_pic='-fpic'
 
9037
        lt_prog_compiler_static='-Bstatic'
 
9038
        ;;
 
9039
      ccc*)
 
9040
        lt_prog_compiler_wl='-Wl,'
 
9041
        # All Alpha code is PIC.
 
9042
        lt_prog_compiler_static='-non_shared'
 
9043
        ;;
 
9044
      xl* | bgxl* | bgf* | mpixl*)
 
9045
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
 
9046
        lt_prog_compiler_wl='-Wl,'
 
9047
        lt_prog_compiler_pic='-qpic'
 
9048
        lt_prog_compiler_static='-qstaticlink'
 
9049
        ;;
 
9050
      *)
 
9051
        case `$CC -V 2>&1 | sed 5q` in
 
9052
        *Sun\ F* | *Sun*Fortran*)
 
9053
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
9054
          lt_prog_compiler_pic='-KPIC'
 
9055
          lt_prog_compiler_static='-Bstatic'
 
9056
          lt_prog_compiler_wl=''
 
9057
          ;;
 
9058
        *Sun\ C*)
 
9059
          # Sun C 5.9
 
9060
          lt_prog_compiler_pic='-KPIC'
 
9061
          lt_prog_compiler_static='-Bstatic'
 
9062
          lt_prog_compiler_wl='-Wl,'
 
9063
          ;;
 
9064
        esac
 
9065
        ;;
 
9066
      esac
 
9067
      ;;
 
9068
 
 
9069
    newsos6)
 
9070
      lt_prog_compiler_pic='-KPIC'
 
9071
      lt_prog_compiler_static='-Bstatic'
 
9072
      ;;
 
9073
 
 
9074
    *nto* | *qnx*)
 
9075
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
9076
      # it will coredump.
 
9077
      lt_prog_compiler_pic='-fPIC -shared'
 
9078
      ;;
 
9079
 
 
9080
    osf3* | osf4* | osf5*)
 
9081
      lt_prog_compiler_wl='-Wl,'
 
9082
      # All OSF/1 code is PIC.
 
9083
      lt_prog_compiler_static='-non_shared'
 
9084
      ;;
 
9085
 
 
9086
    rdos*)
 
9087
      lt_prog_compiler_static='-non_shared'
 
9088
      ;;
 
9089
 
 
9090
    solaris*)
 
9091
      lt_prog_compiler_pic='-KPIC'
 
9092
      lt_prog_compiler_static='-Bstatic'
 
9093
      case $cc_basename in
 
9094
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
 
9095
        lt_prog_compiler_wl='-Qoption ld ';;
 
9096
      *)
 
9097
        lt_prog_compiler_wl='-Wl,';;
 
9098
      esac
 
9099
      ;;
 
9100
 
 
9101
    sunos4*)
 
9102
      lt_prog_compiler_wl='-Qoption ld '
 
9103
      lt_prog_compiler_pic='-PIC'
 
9104
      lt_prog_compiler_static='-Bstatic'
 
9105
      ;;
 
9106
 
 
9107
    sysv4 | sysv4.2uw2* | sysv4.3*)
 
9108
      lt_prog_compiler_wl='-Wl,'
 
9109
      lt_prog_compiler_pic='-KPIC'
 
9110
      lt_prog_compiler_static='-Bstatic'
 
9111
      ;;
 
9112
 
 
9113
    sysv4*MP*)
 
9114
      if test -d /usr/nec ;then
 
9115
        lt_prog_compiler_pic='-Kconform_pic'
 
9116
        lt_prog_compiler_static='-Bstatic'
 
9117
      fi
 
9118
      ;;
 
9119
 
 
9120
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
9121
      lt_prog_compiler_wl='-Wl,'
 
9122
      lt_prog_compiler_pic='-KPIC'
 
9123
      lt_prog_compiler_static='-Bstatic'
 
9124
      ;;
 
9125
 
 
9126
    unicos*)
 
9127
      lt_prog_compiler_wl='-Wl,'
 
9128
      lt_prog_compiler_can_build_shared=no
 
9129
      ;;
 
9130
 
 
9131
    uts4*)
 
9132
      lt_prog_compiler_pic='-pic'
 
9133
      lt_prog_compiler_static='-Bstatic'
 
9134
      ;;
 
9135
 
 
9136
    *)
 
9137
      lt_prog_compiler_can_build_shared=no
 
9138
      ;;
 
9139
    esac
 
9140
  fi
 
9141
 
 
9142
case $host_os in
 
9143
  # For platforms which do not support PIC, -DPIC is meaningless:
 
9144
  *djgpp*)
 
9145
    lt_prog_compiler_pic=
 
9146
    ;;
 
9147
  *)
 
9148
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 
9149
    ;;
 
9150
esac
 
9151
 
 
9152
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
9153
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
9154
if ${lt_cv_prog_compiler_pic+:} false; then :
 
9155
  $as_echo_n "(cached) " >&6
 
9156
else
 
9157
  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
 
9158
fi
 
9159
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
 
9160
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
 
9161
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
 
9162
 
 
9163
#
 
9164
# Check to make sure the PIC flag actually works.
 
9165
#
 
9166
if test -n "$lt_prog_compiler_pic"; then
 
9167
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
9168
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
 
9169
if ${lt_cv_prog_compiler_pic_works+:} false; then :
 
9170
  $as_echo_n "(cached) " >&6
 
9171
else
 
9172
  lt_cv_prog_compiler_pic_works=no
 
9173
   ac_outfile=conftest.$ac_objext
 
9174
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9175
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
 
9176
   # Insert the option either (1) after the last *FLAGS variable, or
 
9177
   # (2) before a word containing "conftest.", or (3) at the end.
 
9178
   # Note that $ac_compile itself does not contain backslashes and begins
 
9179
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
9180
   # The option is referenced via a variable to avoid confusing sed.
 
9181
   lt_compile=`echo "$ac_compile" | $SED \
 
9182
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
9183
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
9184
   -e 's:$: $lt_compiler_flag:'`
 
9185
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
9186
   (eval "$lt_compile" 2>conftest.err)
 
9187
   ac_status=$?
 
9188
   cat conftest.err >&5
 
9189
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9190
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
9191
     # The compiler can only warn and ignore the option if not recognized
 
9192
     # So say no if there are warnings other than the usual output.
 
9193
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
 
9194
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
9195
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
9196
       lt_cv_prog_compiler_pic_works=yes
 
9197
     fi
 
9198
   fi
 
9199
   $RM conftest*
 
9200
 
 
9201
fi
 
9202
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
 
9203
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
 
9204
 
 
9205
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
 
9206
    case $lt_prog_compiler_pic in
 
9207
     "" | " "*) ;;
 
9208
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
 
9209
     esac
 
9210
else
 
9211
    lt_prog_compiler_pic=
 
9212
     lt_prog_compiler_can_build_shared=no
 
9213
fi
 
9214
 
 
9215
fi
 
9216
 
 
9217
 
 
9218
 
 
9219
 
 
9220
 
 
9221
 
 
9222
 
 
9223
 
 
9224
 
 
9225
 
 
9226
 
 
9227
#
 
9228
# Check to make sure the static flag actually works.
 
9229
#
 
9230
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
 
9231
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
9232
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
9233
if ${lt_cv_prog_compiler_static_works+:} false; then :
 
9234
  $as_echo_n "(cached) " >&6
 
9235
else
 
9236
  lt_cv_prog_compiler_static_works=no
 
9237
   save_LDFLAGS="$LDFLAGS"
 
9238
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
9239
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
9240
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
9241
     # The linker can only warn and ignore the option if not recognized
 
9242
     # So say no if there are warnings
 
9243
     if test -s conftest.err; then
 
9244
       # Append any errors to the config.log.
 
9245
       cat conftest.err 1>&5
 
9246
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
9247
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
9248
       if diff conftest.exp conftest.er2 >/dev/null; then
 
9249
         lt_cv_prog_compiler_static_works=yes
 
9250
       fi
 
9251
     else
 
9252
       lt_cv_prog_compiler_static_works=yes
 
9253
     fi
 
9254
   fi
 
9255
   $RM -r conftest*
 
9256
   LDFLAGS="$save_LDFLAGS"
 
9257
 
 
9258
fi
 
9259
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
 
9260
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
 
9261
 
 
9262
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
 
9263
    :
 
9264
else
 
9265
    lt_prog_compiler_static=
 
9266
fi
 
9267
 
 
9268
 
 
9269
 
 
9270
 
 
9271
 
 
9272
 
 
9273
 
 
9274
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
9275
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
9276
if ${lt_cv_prog_compiler_c_o+:} false; then :
 
9277
  $as_echo_n "(cached) " >&6
 
9278
else
 
9279
  lt_cv_prog_compiler_c_o=no
 
9280
   $RM -r conftest 2>/dev/null
 
9281
   mkdir conftest
 
9282
   cd conftest
 
9283
   mkdir out
 
9284
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9285
 
 
9286
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
9287
   # Insert the option either (1) after the last *FLAGS variable, or
 
9288
   # (2) before a word containing "conftest.", or (3) at the end.
 
9289
   # Note that $ac_compile itself does not contain backslashes and begins
 
9290
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
9291
   lt_compile=`echo "$ac_compile" | $SED \
 
9292
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
9293
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
9294
   -e 's:$: $lt_compiler_flag:'`
 
9295
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
9296
   (eval "$lt_compile" 2>out/conftest.err)
 
9297
   ac_status=$?
 
9298
   cat out/conftest.err >&5
 
9299
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9300
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
9301
   then
 
9302
     # The compiler can only warn and ignore the option if not recognized
 
9303
     # So say no if there are warnings
 
9304
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 
9305
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
9306
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
9307
       lt_cv_prog_compiler_c_o=yes
 
9308
     fi
 
9309
   fi
 
9310
   chmod u+w . 2>&5
 
9311
   $RM conftest*
 
9312
   # SGI C++ compiler will create directory out/ii_files/ for
 
9313
   # template instantiation
 
9314
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
9315
   $RM out/* && rmdir out
 
9316
   cd ..
 
9317
   $RM -r conftest
 
9318
   $RM conftest*
 
9319
 
 
9320
fi
 
9321
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
9322
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
9323
 
 
9324
 
 
9325
 
 
9326
 
 
9327
 
 
9328
 
 
9329
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
9330
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
9331
if ${lt_cv_prog_compiler_c_o+:} false; then :
 
9332
  $as_echo_n "(cached) " >&6
 
9333
else
 
9334
  lt_cv_prog_compiler_c_o=no
 
9335
   $RM -r conftest 2>/dev/null
 
9336
   mkdir conftest
 
9337
   cd conftest
 
9338
   mkdir out
 
9339
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9340
 
 
9341
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
9342
   # Insert the option either (1) after the last *FLAGS variable, or
 
9343
   # (2) before a word containing "conftest.", or (3) at the end.
 
9344
   # Note that $ac_compile itself does not contain backslashes and begins
 
9345
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
9346
   lt_compile=`echo "$ac_compile" | $SED \
 
9347
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
9348
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
9349
   -e 's:$: $lt_compiler_flag:'`
 
9350
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
9351
   (eval "$lt_compile" 2>out/conftest.err)
 
9352
   ac_status=$?
 
9353
   cat out/conftest.err >&5
 
9354
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9355
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
9356
   then
 
9357
     # The compiler can only warn and ignore the option if not recognized
 
9358
     # So say no if there are warnings
 
9359
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 
9360
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
9361
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
9362
       lt_cv_prog_compiler_c_o=yes
 
9363
     fi
 
9364
   fi
 
9365
   chmod u+w . 2>&5
 
9366
   $RM conftest*
 
9367
   # SGI C++ compiler will create directory out/ii_files/ for
 
9368
   # template instantiation
 
9369
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
9370
   $RM out/* && rmdir out
 
9371
   cd ..
 
9372
   $RM -r conftest
 
9373
   $RM conftest*
 
9374
 
 
9375
fi
 
9376
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
9377
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
9378
 
 
9379
 
 
9380
 
 
9381
 
 
9382
hard_links="nottested"
 
9383
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
 
9384
  # do not overwrite the value of need_locks provided by the user
 
9385
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
 
9386
$as_echo_n "checking if we can lock with hard links... " >&6; }
 
9387
  hard_links=yes
 
9388
  $RM conftest*
 
9389
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
9390
  touch conftest.a
 
9391
  ln conftest.a conftest.b 2>&5 || hard_links=no
 
9392
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
9393
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
 
9394
$as_echo "$hard_links" >&6; }
 
9395
  if test "$hard_links" = no; then
 
9396
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
9397
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
9398
    need_locks=warn
 
9399
  fi
 
9400
else
 
9401
  need_locks=no
 
9402
fi
 
9403
 
 
9404
 
 
9405
 
 
9406
 
 
9407
 
 
9408
 
 
9409
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
9410
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 
9411
 
 
9412
  runpath_var=
 
9413
  allow_undefined_flag=
 
9414
  always_export_symbols=no
 
9415
  archive_cmds=
 
9416
  archive_expsym_cmds=
 
9417
  compiler_needs_object=no
 
9418
  enable_shared_with_static_runtimes=no
 
9419
  export_dynamic_flag_spec=
 
9420
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
9421
  hardcode_automatic=no
 
9422
  hardcode_direct=no
 
9423
  hardcode_direct_absolute=no
 
9424
  hardcode_libdir_flag_spec=
 
9425
  hardcode_libdir_flag_spec_ld=
 
9426
  hardcode_libdir_separator=
 
9427
  hardcode_minus_L=no
 
9428
  hardcode_shlibpath_var=unsupported
 
9429
  inherit_rpath=no
 
9430
  link_all_deplibs=unknown
 
9431
  module_cmds=
 
9432
  module_expsym_cmds=
 
9433
  old_archive_from_new_cmds=
 
9434
  old_archive_from_expsyms_cmds=
 
9435
  thread_safe_flag_spec=
 
9436
  whole_archive_flag_spec=
 
9437
  # include_expsyms should be a list of space-separated symbols to be *always*
 
9438
  # included in the symbol list
 
9439
  include_expsyms=
 
9440
  # exclude_expsyms can be an extended regexp of symbols to exclude
 
9441
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
 
9442
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
 
9443
  # as well as any symbol that contains `d'.
 
9444
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
 
9445
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 
9446
  # platforms (ab)use it in PIC code, but their linkers get confused if
 
9447
  # the symbol is explicitly referenced.  Since portable code cannot
 
9448
  # rely on this symbol name, it's probably fine to never include it in
 
9449
  # preloaded symbol tables.
 
9450
  # Exclude shared library initialization/finalization symbols.
 
9451
  extract_expsyms_cmds=
 
9452
 
 
9453
  case $host_os in
 
9454
  cygwin* | mingw* | pw32* | cegcc*)
 
9455
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
 
9456
    # When not using gcc, we currently assume that we are using
 
9457
    # Microsoft Visual C++.
 
9458
    if test "$GCC" != yes; then
 
9459
      with_gnu_ld=no
 
9460
    fi
 
9461
    ;;
 
9462
  interix*)
 
9463
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
9464
    with_gnu_ld=yes
 
9465
    ;;
 
9466
  openbsd*)
 
9467
    with_gnu_ld=no
 
9468
    ;;
 
9469
  linux* | k*bsd*-gnu | gnu*)
 
9470
    link_all_deplibs=no
 
9471
    ;;
 
9472
  esac
 
9473
 
 
9474
  ld_shlibs=yes
 
9475
 
 
9476
  # On some targets, GNU ld is compatible enough with the native linker
 
9477
  # that we're better off using the native interface for both.
 
9478
  lt_use_gnu_ld_interface=no
 
9479
  if test "$with_gnu_ld" = yes; then
 
9480
    case $host_os in
 
9481
      aix*)
 
9482
        # The AIX port of GNU ld has always aspired to compatibility
 
9483
        # with the native linker.  However, as the warning in the GNU ld
 
9484
        # block says, versions before 2.19.5* couldn't really create working
 
9485
        # shared libraries, regardless of the interface used.
 
9486
        case `$LD -v 2>&1` in
 
9487
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
 
9488
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
 
9489
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
 
9490
          *)
 
9491
            lt_use_gnu_ld_interface=yes
 
9492
            ;;
 
9493
        esac
 
9494
        ;;
 
9495
      *)
 
9496
        lt_use_gnu_ld_interface=yes
 
9497
        ;;
 
9498
    esac
 
9499
  fi
 
9500
 
 
9501
  if test "$lt_use_gnu_ld_interface" = yes; then
 
9502
    # If archive_cmds runs LD, not CC, wlarc should be empty
 
9503
    wlarc='${wl}'
 
9504
 
 
9505
    # Set some defaults for GNU ld with shared library support. These
 
9506
    # are reset later if shared libraries are not supported. Putting them
 
9507
    # here allows them to be overridden if necessary.
 
9508
    runpath_var=LD_RUN_PATH
 
9509
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9510
    export_dynamic_flag_spec='${wl}--export-dynamic'
 
9511
    # ancient GNU ld didn't support --whole-archive et. al.
 
9512
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 
9513
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
9514
    else
 
9515
      whole_archive_flag_spec=
 
9516
    fi
 
9517
    supports_anon_versioning=no
 
9518
    case `$LD -v 2>&1` in
 
9519
      *GNU\ gold*) supports_anon_versioning=yes ;;
 
9520
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 
9521
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
9522
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
9523
      *\ 2.11.*) ;; # other 2.11 versions
 
9524
      *) supports_anon_versioning=yes ;;
 
9525
    esac
 
9526
 
 
9527
    # See if GNU ld supports shared libraries.
 
9528
    case $host_os in
 
9529
    aix[3-9]*)
 
9530
      # On AIX/PPC, the GNU linker is very broken
 
9531
      if test "$host_cpu" != ia64; then
 
9532
        ld_shlibs=no
 
9533
        cat <<_LT_EOF 1>&2
 
9534
 
 
9535
*** Warning: the GNU linker, at least up to release 2.19, is reported
 
9536
*** to be unable to reliably create shared libraries on AIX.
 
9537
*** Therefore, libtool is disabling shared libraries support.  If you
 
9538
*** really care for shared libraries, you may want to install binutils
 
9539
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
 
9540
*** You will then need to restart the configuration process.
 
9541
 
 
9542
_LT_EOF
 
9543
      fi
 
9544
      ;;
 
9545
 
 
9546
    amigaos*)
 
9547
      case $host_cpu in
 
9548
      powerpc)
 
9549
            # see comment about AmigaOS4 .so support
 
9550
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9551
            archive_expsym_cmds=''
 
9552
        ;;
 
9553
      m68k)
 
9554
            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)'
 
9555
            hardcode_libdir_flag_spec='-L$libdir'
 
9556
            hardcode_minus_L=yes
 
9557
        ;;
 
9558
      esac
 
9559
      ;;
 
9560
 
 
9561
    beos*)
 
9562
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
9563
        allow_undefined_flag=unsupported
 
9564
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
9565
        # support --undefined.  This deserves some investigation.  FIXME
 
9566
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9567
      else
 
9568
        ld_shlibs=no
 
9569
      fi
 
9570
      ;;
 
9571
 
 
9572
    cygwin* | mingw* | pw32* | cegcc*)
 
9573
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 
9574
      # as there is no search path for DLLs.
 
9575
      hardcode_libdir_flag_spec='-L$libdir'
 
9576
      export_dynamic_flag_spec='${wl}--export-all-symbols'
 
9577
      allow_undefined_flag=unsupported
 
9578
      always_export_symbols=no
 
9579
      enable_shared_with_static_runtimes=yes
 
9580
      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'
 
9581
      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
 
9582
 
 
9583
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 
9584
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
9585
        # If the export-symbols file already is a .def file (1st line
 
9586
        # is EXPORTS), use it as is; otherwise, prepend...
 
9587
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
9588
          cp $export_symbols $output_objdir/$soname.def;
 
9589
        else
 
9590
          echo EXPORTS > $output_objdir/$soname.def;
 
9591
          cat $export_symbols >> $output_objdir/$soname.def;
 
9592
        fi~
 
9593
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
9594
      else
 
9595
        ld_shlibs=no
 
9596
      fi
 
9597
      ;;
 
9598
 
 
9599
    haiku*)
 
9600
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9601
      link_all_deplibs=yes
 
9602
      ;;
 
9603
 
 
9604
    interix[3-9]*)
 
9605
      hardcode_direct=no
 
9606
      hardcode_shlibpath_var=no
 
9607
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
9608
      export_dynamic_flag_spec='${wl}-E'
 
9609
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
9610
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
9611
      # default) and relocated if they conflict, which is a slow very memory
 
9612
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
9613
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
9614
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
9615
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
9616
      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'
 
9617
      ;;
 
9618
 
 
9619
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
 
9620
      tmp_diet=no
 
9621
      if test "$host_os" = linux-dietlibc; then
 
9622
        case $cc_basename in
 
9623
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
 
9624
        esac
 
9625
      fi
 
9626
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 
9627
         && test "$tmp_diet" = no
 
9628
      then
 
9629
        tmp_addflag=' $pic_flag'
 
9630
        tmp_sharedflag='-shared'
 
9631
        case $cc_basename,$host_cpu in
 
9632
        pgcc*)                          # Portland Group C compiler
 
9633
          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'
 
9634
          tmp_addflag=' $pic_flag'
 
9635
          ;;
 
9636
        pgf77* | pgf90* | pgf95* | pgfortran*)
 
9637
                                        # Portland Group f77 and f90 compilers
 
9638
          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'
 
9639
          tmp_addflag=' $pic_flag -Mnomain' ;;
 
9640
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
 
9641
          tmp_addflag=' -i_dynamic' ;;
 
9642
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
 
9643
          tmp_addflag=' -i_dynamic -nofor_main' ;;
 
9644
        ifc* | ifort*)                  # Intel Fortran compiler
 
9645
          tmp_addflag=' -nofor_main' ;;
 
9646
        lf95*)                          # Lahey Fortran 8.1
 
9647
          whole_archive_flag_spec=
 
9648
          tmp_sharedflag='--shared' ;;
 
9649
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
 
9650
          tmp_sharedflag='-qmkshrobj'
 
9651
          tmp_addflag= ;;
 
9652
        nvcc*)  # Cuda Compiler Driver 2.2
 
9653
          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'
 
9654
          compiler_needs_object=yes
 
9655
          ;;
 
9656
        esac
 
9657
        case `$CC -V 2>&1 | sed 5q` in
 
9658
        *Sun\ C*)                       # Sun C 5.9
 
9659
          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'
 
9660
          compiler_needs_object=yes
 
9661
          tmp_sharedflag='-G' ;;
 
9662
        *Sun\ F*)                       # Sun Fortran 8.3
 
9663
          tmp_sharedflag='-G' ;;
 
9664
        esac
 
9665
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9666
 
 
9667
        if test "x$supports_anon_versioning" = xyes; then
 
9668
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
9669
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
9670
            echo "local: *; };" >> $output_objdir/$libname.ver~
 
9671
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
9672
        fi
 
9673
 
 
9674
        case $cc_basename in
 
9675
        xlf* | bgf* | bgxlf* | mpixlf*)
 
9676
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 
9677
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
 
9678
          hardcode_libdir_flag_spec=
 
9679
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
9680
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
 
9681
          if test "x$supports_anon_versioning" = xyes; then
 
9682
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
9683
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
9684
              echo "local: *; };" >> $output_objdir/$libname.ver~
 
9685
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
9686
          fi
 
9687
          ;;
 
9688
        esac
 
9689
      else
 
9690
        ld_shlibs=no
 
9691
      fi
 
9692
      ;;
 
9693
 
 
9694
    netbsd* | netbsdelf*-gnu)
 
9695
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
9696
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 
9697
        wlarc=
 
9698
      else
 
9699
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9700
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9701
      fi
 
9702
      ;;
 
9703
 
 
9704
    solaris*)
 
9705
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
 
9706
        ld_shlibs=no
 
9707
        cat <<_LT_EOF 1>&2
 
9708
 
 
9709
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
 
9710
*** create shared libraries on Solaris systems.  Therefore, libtool
 
9711
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
9712
*** binutils to release 2.9.1 or newer.  Another option is to modify
 
9713
*** your PATH or compiler configuration so that the native linker is
 
9714
*** used, and then restart.
 
9715
 
 
9716
_LT_EOF
 
9717
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
9718
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9719
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9720
      else
 
9721
        ld_shlibs=no
 
9722
      fi
 
9723
      ;;
 
9724
 
 
9725
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
9726
      case `$LD -v 2>&1` in
 
9727
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
9728
        ld_shlibs=no
 
9729
        cat <<_LT_EOF 1>&2
 
9730
 
 
9731
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
9732
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
9733
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
9734
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
9735
*** your PATH or compiler configuration so that the native linker is
 
9736
*** used, and then restart.
 
9737
 
 
9738
_LT_EOF
 
9739
        ;;
 
9740
        *)
 
9741
          # For security reasons, it is highly recommended that you always
 
9742
          # use absolute paths for naming shared libraries, and exclude the
 
9743
          # DT_RUNPATH tag from executables and libraries.  But doing so
 
9744
          # requires that you compile everything twice, which is a pain.
 
9745
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
9746
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9747
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9748
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9749
          else
 
9750
            ld_shlibs=no
 
9751
          fi
 
9752
        ;;
 
9753
      esac
 
9754
      ;;
 
9755
 
 
9756
    sunos4*)
 
9757
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
9758
      wlarc=
 
9759
      hardcode_direct=yes
 
9760
      hardcode_shlibpath_var=no
 
9761
      ;;
 
9762
 
 
9763
    *)
 
9764
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
9765
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9766
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9767
      else
 
9768
        ld_shlibs=no
 
9769
      fi
 
9770
      ;;
 
9771
    esac
 
9772
 
 
9773
    if test "$ld_shlibs" = no; then
 
9774
      runpath_var=
 
9775
      hardcode_libdir_flag_spec=
 
9776
      export_dynamic_flag_spec=
 
9777
      whole_archive_flag_spec=
 
9778
    fi
 
9779
  else
 
9780
    # PORTME fill in a description of your system's linker (not GNU ld)
 
9781
    case $host_os in
 
9782
    aix3*)
 
9783
      allow_undefined_flag=unsupported
 
9784
      always_export_symbols=yes
 
9785
      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'
 
9786
      # Note: this linker hardcodes the directories in LIBPATH if there
 
9787
      # are no directories specified by -L.
 
9788
      hardcode_minus_L=yes
 
9789
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
 
9790
        # Neither direct hardcoding nor static linking is supported with a
 
9791
        # broken collect2.
 
9792
        hardcode_direct=unsupported
 
9793
      fi
 
9794
      ;;
 
9795
 
 
9796
    aix[4-9]*)
 
9797
      if test "$host_cpu" = ia64; then
 
9798
        # On IA64, the linker does run time linking by default, so we don't
 
9799
        # have to do anything special.
 
9800
        aix_use_runtimelinking=no
 
9801
        exp_sym_flag='-Bexport'
 
9802
        no_entry_flag=""
 
9803
      else
 
9804
        # If we're using GNU nm, then we don't want the "-C" option.
 
9805
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
9806
        # Also, AIX nm treats weak defined symbols like other global
 
9807
        # defined symbols, whereas GNU nm marks them as "W".
 
9808
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
9809
          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'
 
9810
        else
 
9811
          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'
 
9812
        fi
 
9813
        aix_use_runtimelinking=no
 
9814
 
 
9815
        # Test if we are trying to use run time linking or normal
 
9816
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 
9817
        # need to do runtime linking.
 
9818
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
 
9819
          for ld_flag in $LDFLAGS; do
 
9820
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
9821
            aix_use_runtimelinking=yes
 
9822
            break
 
9823
          fi
 
9824
          done
 
9825
          ;;
 
9826
        esac
 
9827
 
 
9828
        exp_sym_flag='-bexport'
 
9829
        no_entry_flag='-bnoentry'
 
9830
      fi
 
9831
 
 
9832
      # When large executables or shared objects are built, AIX ld can
 
9833
      # have problems creating the table of contents.  If linking a library
 
9834
      # or program results in "error TOC overflow" add -mminimal-toc to
 
9835
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 
9836
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
9837
 
 
9838
      archive_cmds=''
 
9839
      hardcode_direct=yes
 
9840
      hardcode_direct_absolute=yes
 
9841
      hardcode_libdir_separator=':'
 
9842
      link_all_deplibs=yes
 
9843
      file_list_spec='${wl}-f,'
 
9844
 
 
9845
      if test "$GCC" = yes; then
 
9846
        case $host_os in aix4.[012]|aix4.[012].*)
 
9847
        # We only want to do this on AIX 4.2 and lower, the check
 
9848
        # below for broken collect2 doesn't work under 4.3+
 
9849
          collect2name=`${CC} -print-prog-name=collect2`
 
9850
          if test -f "$collect2name" &&
 
9851
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
 
9852
          then
 
9853
          # We have reworked collect2
 
9854
          :
 
9855
          else
 
9856
          # We have old collect2
 
9857
          hardcode_direct=unsupported
 
9858
          # It fails to find uninstalled libraries when the uninstalled
 
9859
          # path is not listed in the libpath.  Setting hardcode_minus_L
 
9860
          # to unsupported forces relinking
 
9861
          hardcode_minus_L=yes
 
9862
          hardcode_libdir_flag_spec='-L$libdir'
 
9863
          hardcode_libdir_separator=
 
9864
          fi
 
9865
          ;;
 
9866
        esac
 
9867
        shared_flag='-shared'
 
9868
        if test "$aix_use_runtimelinking" = yes; then
 
9869
          shared_flag="$shared_flag "'${wl}-G'
 
9870
        fi
 
9871
        link_all_deplibs=no
 
9872
      else
 
9873
        # not using gcc
 
9874
        if test "$host_cpu" = ia64; then
 
9875
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
9876
        # chokes on -Wl,-G. The following line is correct:
 
9877
          shared_flag='-G'
 
9878
        else
 
9879
          if test "$aix_use_runtimelinking" = yes; then
 
9880
            shared_flag='${wl}-G'
 
9881
          else
 
9882
            shared_flag='${wl}-bM:SRE'
 
9883
          fi
 
9884
        fi
 
9885
      fi
 
9886
 
 
9887
      export_dynamic_flag_spec='${wl}-bexpall'
 
9888
      # It seems that -bexpall does not export symbols beginning with
 
9889
      # underscore (_), so it is better to generate a list of symbols to export.
 
9890
      always_export_symbols=yes
 
9891
      if test "$aix_use_runtimelinking" = yes; then
 
9892
        # Warning - without using the other runtime loading flags (-brtl),
 
9893
        # -berok will link without error, but may produce a broken library.
 
9894
        allow_undefined_flag='-berok'
 
9895
        # Determine the default libpath from the value encoded in an
 
9896
        # empty executable.
 
9897
        if test "${lt_cv_aix_libpath+set}" = set; then
 
9898
  aix_libpath=$lt_cv_aix_libpath
 
9899
else
 
9900
  if ${lt_cv_aix_libpath_+:} false; then :
 
9901
  $as_echo_n "(cached) " >&6
 
9902
else
 
9903
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9904
/* end confdefs.h.  */
 
9905
 
 
9906
int
 
9907
main ()
 
9908
{
 
9909
 
 
9910
  ;
 
9911
  return 0;
 
9912
}
 
9913
_ACEOF
 
9914
if ac_fn_c_try_link "$LINENO"; then :
 
9915
 
 
9916
  lt_aix_libpath_sed='
 
9917
      /Import File Strings/,/^$/ {
 
9918
          /^0/ {
 
9919
              s/^0  *\([^ ]*\) *$/\1/
 
9920
              p
 
9921
          }
 
9922
      }'
 
9923
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9924
  # Check for a 64-bit object if we didn't find anything.
 
9925
  if test -z "$lt_cv_aix_libpath_"; then
 
9926
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9927
  fi
 
9928
fi
 
9929
rm -f core conftest.err conftest.$ac_objext \
 
9930
    conftest$ac_exeext conftest.$ac_ext
 
9931
  if test -z "$lt_cv_aix_libpath_"; then
 
9932
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
9933
  fi
 
9934
 
 
9935
fi
 
9936
 
 
9937
  aix_libpath=$lt_cv_aix_libpath_
 
9938
fi
 
9939
 
 
9940
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
9941
        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"
 
9942
      else
 
9943
        if test "$host_cpu" = ia64; then
 
9944
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
 
9945
          allow_undefined_flag="-z nodefs"
 
9946
          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"
 
9947
        else
 
9948
         # Determine the default libpath from the value encoded in an
 
9949
         # empty executable.
 
9950
         if test "${lt_cv_aix_libpath+set}" = set; then
 
9951
  aix_libpath=$lt_cv_aix_libpath
 
9952
else
 
9953
  if ${lt_cv_aix_libpath_+:} false; then :
 
9954
  $as_echo_n "(cached) " >&6
 
9955
else
 
9956
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9957
/* end confdefs.h.  */
 
9958
 
 
9959
int
 
9960
main ()
 
9961
{
 
9962
 
 
9963
  ;
 
9964
  return 0;
 
9965
}
 
9966
_ACEOF
 
9967
if ac_fn_c_try_link "$LINENO"; then :
 
9968
 
 
9969
  lt_aix_libpath_sed='
 
9970
      /Import File Strings/,/^$/ {
 
9971
          /^0/ {
 
9972
              s/^0  *\([^ ]*\) *$/\1/
 
9973
              p
 
9974
          }
 
9975
      }'
 
9976
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9977
  # Check for a 64-bit object if we didn't find anything.
 
9978
  if test -z "$lt_cv_aix_libpath_"; then
 
9979
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9980
  fi
 
9981
fi
 
9982
rm -f core conftest.err conftest.$ac_objext \
 
9983
    conftest$ac_exeext conftest.$ac_ext
 
9984
  if test -z "$lt_cv_aix_libpath_"; then
 
9985
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
9986
  fi
 
9987
 
 
9988
fi
 
9989
 
 
9990
  aix_libpath=$lt_cv_aix_libpath_
 
9991
fi
 
9992
 
 
9993
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
9994
          # Warning - without using the other run time loading flags,
 
9995
          # -berok will link without error, but may produce a broken library.
 
9996
          no_undefined_flag=' ${wl}-bernotok'
 
9997
          allow_undefined_flag=' ${wl}-berok'
 
9998
          if test "$with_gnu_ld" = yes; then
 
9999
            # We only use this code for GNU lds that support --whole-archive.
 
10000
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
10001
          else
 
10002
            # Exported symbols can be pulled into shared objects from archives
 
10003
            whole_archive_flag_spec='$convenience'
 
10004
          fi
 
10005
          archive_cmds_need_lc=yes
 
10006
          # This is similar to how AIX traditionally builds its shared libraries.
 
10007
          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'
 
10008
        fi
 
10009
      fi
 
10010
      ;;
 
10011
 
 
10012
    amigaos*)
 
10013
      case $host_cpu in
 
10014
      powerpc)
 
10015
            # see comment about AmigaOS4 .so support
 
10016
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10017
            archive_expsym_cmds=''
 
10018
        ;;
 
10019
      m68k)
 
10020
            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)'
 
10021
            hardcode_libdir_flag_spec='-L$libdir'
 
10022
            hardcode_minus_L=yes
 
10023
        ;;
 
10024
      esac
 
10025
      ;;
 
10026
 
 
10027
    bsdi[45]*)
 
10028
      export_dynamic_flag_spec=-rdynamic
 
10029
      ;;
 
10030
 
 
10031
    cygwin* | mingw* | pw32* | cegcc*)
 
10032
      # When not using gcc, we currently assume that we are using
 
10033
      # Microsoft Visual C++.
 
10034
      # hardcode_libdir_flag_spec is actually meaningless, as there is
 
10035
      # no search path for DLLs.
 
10036
      case $cc_basename in
 
10037
      cl*)
 
10038
        # Native MSVC
 
10039
        hardcode_libdir_flag_spec=' '
 
10040
        allow_undefined_flag=unsupported
 
10041
        always_export_symbols=yes
 
10042
        file_list_spec='@'
 
10043
        # Tell ltmain to make .lib files, not .a files.
 
10044
        libext=lib
 
10045
        # Tell ltmain to make .dll files, not .so files.
 
10046
        shrext_cmds=".dll"
 
10047
        # FIXME: Setting linknames here is a bad hack.
 
10048
        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 
10049
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
10050
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 
10051
          else
 
10052
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 
10053
          fi~
 
10054
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
10055
          linknames='
 
10056
        # The linker will not automatically build a static lib if we build a DLL.
 
10057
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
 
10058
        enable_shared_with_static_runtimes=yes
 
10059
        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
10060
        # Don't use ranlib
 
10061
        old_postinstall_cmds='chmod 644 $oldlib'
 
10062
        postlink_cmds='lt_outputfile="@OUTPUT@"~
 
10063
          lt_tool_outputfile="@TOOL_OUTPUT@"~
 
10064
          case $lt_outputfile in
 
10065
            *.exe|*.EXE) ;;
 
10066
            *)
 
10067
              lt_outputfile="$lt_outputfile.exe"
 
10068
              lt_tool_outputfile="$lt_tool_outputfile.exe"
 
10069
              ;;
 
10070
          esac~
 
10071
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 
10072
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
10073
            $RM "$lt_outputfile.manifest";
 
10074
          fi'
 
10075
        ;;
 
10076
      *)
 
10077
        # Assume MSVC wrapper
 
10078
        hardcode_libdir_flag_spec=' '
 
10079
        allow_undefined_flag=unsupported
 
10080
        # Tell ltmain to make .lib files, not .a files.
 
10081
        libext=lib
 
10082
        # Tell ltmain to make .dll files, not .so files.
 
10083
        shrext_cmds=".dll"
 
10084
        # FIXME: Setting linknames here is a bad hack.
 
10085
        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
 
10086
        # The linker will automatically build a .lib file if we build a DLL.
 
10087
        old_archive_from_new_cmds='true'
 
10088
        # FIXME: Should let the user specify the lib program.
 
10089
        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
10090
        enable_shared_with_static_runtimes=yes
 
10091
        ;;
 
10092
      esac
 
10093
      ;;
 
10094
 
 
10095
    darwin* | rhapsody*)
 
10096
 
 
10097
 
 
10098
  archive_cmds_need_lc=no
 
10099
  hardcode_direct=no
 
10100
  hardcode_automatic=yes
 
10101
  hardcode_shlibpath_var=unsupported
 
10102
  if test "$lt_cv_ld_force_load" = "yes"; then
 
10103
    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\"`'
 
10104
  else
 
10105
    whole_archive_flag_spec=''
 
10106
  fi
 
10107
  link_all_deplibs=yes
 
10108
  allow_undefined_flag="$_lt_dar_allow_undefined"
 
10109
  case $cc_basename in
 
10110
     ifort*) _lt_dar_can_shared=yes ;;
 
10111
     *) _lt_dar_can_shared=$GCC ;;
 
10112
  esac
 
10113
  if test "$_lt_dar_can_shared" = "yes"; then
 
10114
    output_verbose_link_cmd=func_echo_all
 
10115
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
10116
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
10117
    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}"
 
10118
    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}"
 
10119
 
 
10120
  else
 
10121
  ld_shlibs=no
 
10122
  fi
 
10123
 
 
10124
      ;;
 
10125
 
 
10126
    dgux*)
 
10127
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
10128
      hardcode_libdir_flag_spec='-L$libdir'
 
10129
      hardcode_shlibpath_var=no
 
10130
      ;;
 
10131
 
 
10132
    freebsd1*)
 
10133
      ld_shlibs=no
 
10134
      ;;
 
10135
 
 
10136
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
 
10137
    # support.  Future versions do this automatically, but an explicit c++rt0.o
 
10138
    # does not break anything, and helps significantly (at the cost of a little
 
10139
    # extra space).
 
10140
    freebsd2.2*)
 
10141
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
 
10142
      hardcode_libdir_flag_spec='-R$libdir'
 
10143
      hardcode_direct=yes
 
10144
      hardcode_shlibpath_var=no
 
10145
      ;;
 
10146
 
 
10147
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
 
10148
    freebsd2*)
 
10149
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
10150
      hardcode_direct=yes
 
10151
      hardcode_minus_L=yes
 
10152
      hardcode_shlibpath_var=no
 
10153
      ;;
 
10154
 
 
10155
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
 
10156
    freebsd* | dragonfly*)
 
10157
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
10158
      hardcode_libdir_flag_spec='-R$libdir'
 
10159
      hardcode_direct=yes
 
10160
      hardcode_shlibpath_var=no
 
10161
      ;;
 
10162
 
 
10163
    hpux9*)
 
10164
      if test "$GCC" = yes; then
 
10165
        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'
 
10166
      else
 
10167
        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'
 
10168
      fi
 
10169
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
10170
      hardcode_libdir_separator=:
 
10171
      hardcode_direct=yes
 
10172
 
 
10173
      # hardcode_minus_L: Not really in the search PATH,
 
10174
      # but as the default location of the library.
 
10175
      hardcode_minus_L=yes
 
10176
      export_dynamic_flag_spec='${wl}-E'
 
10177
      ;;
 
10178
 
 
10179
    hpux10*)
 
10180
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 
10181
        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
10182
      else
 
10183
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
10184
      fi
 
10185
      if test "$with_gnu_ld" = no; then
 
10186
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
10187
        hardcode_libdir_flag_spec_ld='+b $libdir'
 
10188
        hardcode_libdir_separator=:
 
10189
        hardcode_direct=yes
 
10190
        hardcode_direct_absolute=yes
 
10191
        export_dynamic_flag_spec='${wl}-E'
 
10192
        # hardcode_minus_L: Not really in the search PATH,
 
10193
        # but as the default location of the library.
 
10194
        hardcode_minus_L=yes
 
10195
      fi
 
10196
      ;;
 
10197
 
 
10198
    hpux11*)
 
10199
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 
10200
        case $host_cpu in
 
10201
        hppa*64*)
 
10202
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10203
          ;;
 
10204
        ia64*)
 
10205
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
10206
          ;;
 
10207
        *)
 
10208
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
10209
          ;;
 
10210
        esac
 
10211
      else
 
10212
        case $host_cpu in
 
10213
        hppa*64*)
 
10214
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10215
          ;;
 
10216
        ia64*)
 
10217
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
10218
          ;;
 
10219
        *)
 
10220
 
 
10221
          # Older versions of the 11.00 compiler do not understand -b yet
 
10222
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
 
10223
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
 
10224
$as_echo_n "checking if $CC understands -b... " >&6; }
 
10225
if ${lt_cv_prog_compiler__b+:} false; then :
 
10226
  $as_echo_n "(cached) " >&6
 
10227
else
 
10228
  lt_cv_prog_compiler__b=no
 
10229
   save_LDFLAGS="$LDFLAGS"
 
10230
   LDFLAGS="$LDFLAGS -b"
 
10231
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
10232
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
10233
     # The linker can only warn and ignore the option if not recognized
 
10234
     # So say no if there are warnings
 
10235
     if test -s conftest.err; then
 
10236
       # Append any errors to the config.log.
 
10237
       cat conftest.err 1>&5
 
10238
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
10239
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
10240
       if diff conftest.exp conftest.er2 >/dev/null; then
 
10241
         lt_cv_prog_compiler__b=yes
 
10242
       fi
 
10243
     else
 
10244
       lt_cv_prog_compiler__b=yes
 
10245
     fi
 
10246
   fi
 
10247
   $RM -r conftest*
 
10248
   LDFLAGS="$save_LDFLAGS"
 
10249
 
 
10250
fi
 
10251
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
 
10252
$as_echo "$lt_cv_prog_compiler__b" >&6; }
 
10253
 
 
10254
if test x"$lt_cv_prog_compiler__b" = xyes; then
 
10255
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
10256
else
 
10257
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
10258
fi
 
10259
 
 
10260
          ;;
 
10261
        esac
 
10262
      fi
 
10263
      if test "$with_gnu_ld" = no; then
 
10264
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
10265
        hardcode_libdir_separator=:
 
10266
 
 
10267
        case $host_cpu in
 
10268
        hppa*64*|ia64*)
 
10269
          hardcode_direct=no
 
10270
          hardcode_shlibpath_var=no
 
10271
          ;;
 
10272
        *)
 
10273
          hardcode_direct=yes
 
10274
          hardcode_direct_absolute=yes
 
10275
          export_dynamic_flag_spec='${wl}-E'
 
10276
 
 
10277
          # hardcode_minus_L: Not really in the search PATH,
 
10278
          # but as the default location of the library.
 
10279
          hardcode_minus_L=yes
 
10280
          ;;
 
10281
        esac
 
10282
      fi
 
10283
      ;;
 
10284
 
 
10285
    irix5* | irix6* | nonstopux*)
 
10286
      if test "$GCC" = yes; then
 
10287
        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'
 
10288
        # Try to use the -exported_symbol ld option, if it does not
 
10289
        # work, assume that -exports_file does not work either and
 
10290
        # implicitly export all symbols.
 
10291
        # This should be the same for all languages, so no per-tag cache variable.
 
10292
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
 
10293
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
 
10294
if ${lt_cv_irix_exported_symbol+:} false; then :
 
10295
  $as_echo_n "(cached) " >&6
 
10296
else
 
10297
  save_LDFLAGS="$LDFLAGS"
 
10298
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
10299
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10300
/* end confdefs.h.  */
 
10301
int foo (void) { return 0; }
 
10302
_ACEOF
 
10303
if ac_fn_c_try_link "$LINENO"; then :
 
10304
  lt_cv_irix_exported_symbol=yes
 
10305
else
 
10306
  lt_cv_irix_exported_symbol=no
 
10307
fi
 
10308
rm -f core conftest.err conftest.$ac_objext \
 
10309
    conftest$ac_exeext conftest.$ac_ext
 
10310
           LDFLAGS="$save_LDFLAGS"
 
10311
fi
 
10312
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
 
10313
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
 
10314
        if test "$lt_cv_irix_exported_symbol" = yes; then
 
10315
          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'
 
10316
        fi
 
10317
      else
 
10318
        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'
 
10319
        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'
 
10320
      fi
 
10321
      archive_cmds_need_lc='no'
 
10322
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
10323
      hardcode_libdir_separator=:
 
10324
      inherit_rpath=yes
 
10325
      link_all_deplibs=yes
 
10326
      ;;
 
10327
 
 
10328
    netbsd* | netbsdelf*-gnu)
 
10329
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
10330
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 
10331
      else
 
10332
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 
10333
      fi
 
10334
      hardcode_libdir_flag_spec='-R$libdir'
 
10335
      hardcode_direct=yes
 
10336
      hardcode_shlibpath_var=no
 
10337
      ;;
 
10338
 
 
10339
    newsos6)
 
10340
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
10341
      hardcode_direct=yes
 
10342
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
10343
      hardcode_libdir_separator=:
 
10344
      hardcode_shlibpath_var=no
 
10345
      ;;
 
10346
 
 
10347
    *nto* | *qnx*)
 
10348
      ;;
 
10349
 
 
10350
    openbsd*)
 
10351
      if test -f /usr/libexec/ld.so; then
 
10352
        hardcode_direct=yes
 
10353
        hardcode_shlibpath_var=no
 
10354
        hardcode_direct_absolute=yes
 
10355
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
10356
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
10357
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
10358
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
10359
          export_dynamic_flag_spec='${wl}-E'
 
10360
        else
 
10361
          case $host_os in
 
10362
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
10363
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
10364
             hardcode_libdir_flag_spec='-R$libdir'
 
10365
             ;;
 
10366
           *)
 
10367
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
10368
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
10369
             ;;
 
10370
          esac
 
10371
        fi
 
10372
      else
 
10373
        ld_shlibs=no
 
10374
      fi
 
10375
      ;;
 
10376
 
 
10377
    os2*)
 
10378
      hardcode_libdir_flag_spec='-L$libdir'
 
10379
      hardcode_minus_L=yes
 
10380
      allow_undefined_flag=unsupported
 
10381
      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'
 
10382
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
10383
      ;;
 
10384
 
 
10385
    osf3*)
 
10386
      if test "$GCC" = yes; then
 
10387
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
10388
        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'
 
10389
      else
 
10390
        allow_undefined_flag=' -expect_unresolved \*'
 
10391
        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'
 
10392
      fi
 
10393
      archive_cmds_need_lc='no'
 
10394
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
10395
      hardcode_libdir_separator=:
 
10396
      ;;
 
10397
 
 
10398
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
 
10399
      if test "$GCC" = yes; then
 
10400
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
10401
        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'
 
10402
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
10403
      else
 
10404
        allow_undefined_flag=' -expect_unresolved \*'
 
10405
        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'
 
10406
        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~
 
10407
        $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'
 
10408
 
 
10409
        # Both c and cxx compiler support -rpath directly
 
10410
        hardcode_libdir_flag_spec='-rpath $libdir'
 
10411
      fi
 
10412
      archive_cmds_need_lc='no'
 
10413
      hardcode_libdir_separator=:
 
10414
      ;;
 
10415
 
 
10416
    solaris*)
 
10417
      no_undefined_flag=' -z defs'
 
10418
      if test "$GCC" = yes; then
 
10419
        wlarc='${wl}'
 
10420
        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10421
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
10422
          $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'
 
10423
      else
 
10424
        case `$CC -V 2>&1` in
 
10425
        *"Compilers 5.0"*)
 
10426
          wlarc=''
 
10427
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
10428
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
10429
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 
10430
          ;;
 
10431
        *)
 
10432
          wlarc='${wl}'
 
10433
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
10434
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
10435
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
10436
          ;;
 
10437
        esac
 
10438
      fi
 
10439
      hardcode_libdir_flag_spec='-R$libdir'
 
10440
      hardcode_shlibpath_var=no
 
10441
      case $host_os in
 
10442
      solaris2.[0-5] | solaris2.[0-5].*) ;;
 
10443
      *)
 
10444
        # The compiler driver will combine and reorder linker options,
 
10445
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
10446
        # but is careful enough not to reorder.
 
10447
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
10448
        if test "$GCC" = yes; then
 
10449
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
10450
        else
 
10451
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
 
10452
        fi
 
10453
        ;;
 
10454
      esac
 
10455
      link_all_deplibs=yes
 
10456
      ;;
 
10457
 
 
10458
    sunos4*)
 
10459
      if test "x$host_vendor" = xsequent; then
 
10460
        # Use $CC to link under sequent, because it throws in some extra .o
 
10461
        # files that make .init and .fini sections work.
 
10462
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
10463
      else
 
10464
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 
10465
      fi
 
10466
      hardcode_libdir_flag_spec='-L$libdir'
 
10467
      hardcode_direct=yes
 
10468
      hardcode_minus_L=yes
 
10469
      hardcode_shlibpath_var=no
 
10470
      ;;
 
10471
 
 
10472
    sysv4)
 
10473
      case $host_vendor in
 
10474
        sni)
 
10475
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
10476
          hardcode_direct=yes # is this really true???
 
10477
        ;;
 
10478
        siemens)
 
10479
          ## LD is ld it makes a PLAMLIB
 
10480
          ## CC just makes a GrossModule.
 
10481
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 
10482
          reload_cmds='$CC -r -o $output$reload_objs'
 
10483
          hardcode_direct=no
 
10484
        ;;
 
10485
        motorola)
 
10486
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
10487
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
 
10488
        ;;
 
10489
      esac
 
10490
      runpath_var='LD_RUN_PATH'
 
10491
      hardcode_shlibpath_var=no
 
10492
      ;;
 
10493
 
 
10494
    sysv4.3*)
 
10495
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
10496
      hardcode_shlibpath_var=no
 
10497
      export_dynamic_flag_spec='-Bexport'
 
10498
      ;;
 
10499
 
 
10500
    sysv4*MP*)
 
10501
      if test -d /usr/nec; then
 
10502
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
10503
        hardcode_shlibpath_var=no
 
10504
        runpath_var=LD_RUN_PATH
 
10505
        hardcode_runpath_var=yes
 
10506
        ld_shlibs=yes
 
10507
      fi
 
10508
      ;;
 
10509
 
 
10510
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
10511
      no_undefined_flag='${wl}-z,text'
 
10512
      archive_cmds_need_lc=no
 
10513
      hardcode_shlibpath_var=no
 
10514
      runpath_var='LD_RUN_PATH'
 
10515
 
 
10516
      if test "$GCC" = yes; then
 
10517
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10518
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10519
      else
 
10520
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10521
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10522
      fi
 
10523
      ;;
 
10524
 
 
10525
    sysv5* | sco3.2v5* | sco5v6*)
 
10526
      # Note: We can NOT use -z defs as we might desire, because we do not
 
10527
      # link with -lc, and that would cause any symbols used from libc to
 
10528
      # always be unresolved, which means just about no library would
 
10529
      # ever link correctly.  If we're not using GNU ld we use -z text
 
10530
      # though, which does catch some bad symbols but isn't as heavy-handed
 
10531
      # as -z defs.
 
10532
      no_undefined_flag='${wl}-z,text'
 
10533
      allow_undefined_flag='${wl}-z,nodefs'
 
10534
      archive_cmds_need_lc=no
 
10535
      hardcode_shlibpath_var=no
 
10536
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
 
10537
      hardcode_libdir_separator=':'
 
10538
      link_all_deplibs=yes
 
10539
      export_dynamic_flag_spec='${wl}-Bexport'
 
10540
      runpath_var='LD_RUN_PATH'
 
10541
 
 
10542
      if test "$GCC" = yes; then
 
10543
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10544
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10545
      else
 
10546
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10547
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10548
      fi
 
10549
      ;;
 
10550
 
 
10551
    uts4*)
 
10552
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
10553
      hardcode_libdir_flag_spec='-L$libdir'
 
10554
      hardcode_shlibpath_var=no
 
10555
      ;;
 
10556
 
 
10557
    *)
 
10558
      ld_shlibs=no
 
10559
      ;;
 
10560
    esac
 
10561
 
 
10562
    if test x$host_vendor = xsni; then
 
10563
      case $host in
 
10564
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
10565
        export_dynamic_flag_spec='${wl}-Blargedynsym'
 
10566
        ;;
 
10567
      esac
 
10568
    fi
 
10569
  fi
 
10570
 
 
10571
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
 
10572
$as_echo "$ld_shlibs" >&6; }
 
10573
test "$ld_shlibs" = no && can_build_shared=no
 
10574
 
 
10575
with_gnu_ld=$with_gnu_ld
 
10576
 
 
10577
 
 
10578
 
 
10579
 
 
10580
 
 
10581
 
 
10582
 
 
10583
 
 
10584
 
 
10585
 
 
10586
 
 
10587
 
 
10588
 
 
10589
 
 
10590
 
 
10591
#
 
10592
# Do we need to explicitly link libc?
 
10593
#
 
10594
case "x$archive_cmds_need_lc" in
 
10595
x|xyes)
 
10596
  # Assume -lc should be added
 
10597
  archive_cmds_need_lc=yes
 
10598
 
 
10599
  if test "$enable_shared" = yes && test "$GCC" = yes; then
 
10600
    case $archive_cmds in
 
10601
    *'~'*)
 
10602
      # FIXME: we may have to deal with multi-command sequences.
 
10603
      ;;
 
10604
    '$CC '*)
 
10605
      # Test whether the compiler implicitly links with -lc since on some
 
10606
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
 
10607
      # to ld, don't add -lc before -lgcc.
 
10608
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 
10609
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
10610
if ${lt_cv_archive_cmds_need_lc+:} false; then :
 
10611
  $as_echo_n "(cached) " >&6
 
10612
else
 
10613
  $RM conftest*
 
10614
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
10615
 
 
10616
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
10617
  (eval $ac_compile) 2>&5
 
10618
  ac_status=$?
 
10619
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10620
  test $ac_status = 0; } 2>conftest.err; then
 
10621
          soname=conftest
 
10622
          lib=conftest
 
10623
          libobjs=conftest.$ac_objext
 
10624
          deplibs=
 
10625
          wl=$lt_prog_compiler_wl
 
10626
          pic_flag=$lt_prog_compiler_pic
 
10627
          compiler_flags=-v
 
10628
          linker_flags=-v
 
10629
          verstring=
 
10630
          output_objdir=.
 
10631
          libname=conftest
 
10632
          lt_save_allow_undefined_flag=$allow_undefined_flag
 
10633
          allow_undefined_flag=
 
10634
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
10635
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
10636
  ac_status=$?
 
10637
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10638
  test $ac_status = 0; }
 
10639
          then
 
10640
            lt_cv_archive_cmds_need_lc=no
 
10641
          else
 
10642
            lt_cv_archive_cmds_need_lc=yes
 
10643
          fi
 
10644
          allow_undefined_flag=$lt_save_allow_undefined_flag
 
10645
        else
 
10646
          cat conftest.err 1>&5
 
10647
        fi
 
10648
        $RM conftest*
 
10649
 
 
10650
fi
 
10651
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
 
10652
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
 
10653
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
 
10654
      ;;
 
10655
    esac
 
10656
  fi
 
10657
  ;;
 
10658
esac
 
10659
 
 
10660
 
 
10661
 
 
10662
 
 
10663
 
 
10664
 
 
10665
 
 
10666
 
 
10667
 
 
10668
 
 
10669
 
 
10670
 
 
10671
 
 
10672
 
 
10673
 
 
10674
 
 
10675
 
 
10676
 
 
10677
 
 
10678
 
 
10679
 
 
10680
 
 
10681
 
 
10682
 
 
10683
 
 
10684
 
 
10685
 
 
10686
 
 
10687
 
 
10688
 
 
10689
 
 
10690
 
 
10691
 
 
10692
 
 
10693
 
 
10694
 
 
10695
 
 
10696
 
 
10697
 
 
10698
 
 
10699
 
 
10700
 
 
10701
 
 
10702
 
 
10703
 
 
10704
 
 
10705
 
 
10706
 
 
10707
 
 
10708
 
 
10709
 
 
10710
 
 
10711
 
 
10712
 
 
10713
 
 
10714
 
 
10715
 
 
10716
 
 
10717
 
 
10718
 
 
10719
 
 
10720
 
 
10721
 
 
10722
 
 
10723
 
 
10724
 
 
10725
 
 
10726
 
 
10727
 
 
10728
 
 
10729
 
 
10730
 
 
10731
 
 
10732
 
 
10733
 
 
10734
 
 
10735
 
 
10736
 
 
10737
 
 
10738
 
 
10739
 
 
10740
 
 
10741
 
 
10742
 
 
10743
 
 
10744
 
 
10745
 
 
10746
 
 
10747
 
 
10748
 
 
10749
 
 
10750
 
 
10751
 
 
10752
 
 
10753
 
 
10754
 
 
10755
 
 
10756
 
 
10757
 
 
10758
 
 
10759
 
 
10760
 
 
10761
 
 
10762
 
 
10763
 
 
10764
 
 
10765
 
 
10766
 
 
10767
 
 
10768
 
 
10769
 
 
10770
 
 
10771
 
 
10772
 
 
10773
 
 
10774
 
 
10775
 
 
10776
 
 
10777
 
 
10778
 
 
10779
 
 
10780
 
 
10781
 
 
10782
 
 
10783
 
 
10784
 
 
10785
 
 
10786
 
 
10787
 
 
10788
 
 
10789
 
 
10790
 
 
10791
 
 
10792
 
 
10793
 
 
10794
 
 
10795
 
 
10796
 
 
10797
 
 
10798
 
 
10799
 
 
10800
 
 
10801
 
 
10802
 
 
10803
 
 
10804
 
 
10805
 
 
10806
 
 
10807
 
 
10808
 
 
10809
 
 
10810
 
 
10811
 
 
10812
 
 
10813
 
 
10814
 
 
10815
 
 
10816
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
 
10817
$as_echo_n "checking dynamic linker characteristics... " >&6; }
 
10818
 
 
10819
if test "$GCC" = yes; then
 
10820
  case $host_os in
 
10821
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 
10822
    *) lt_awk_arg="/^libraries:/" ;;
 
10823
  esac
 
10824
  case $host_os in
 
10825
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
 
10826
    *) lt_sed_strip_eq="s,=/,/,g" ;;
 
10827
  esac
 
10828
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
 
10829
  case $lt_search_path_spec in
 
10830
  *\;*)
 
10831
    # if the path contains ";" then we assume it to be the separator
 
10832
    # otherwise default to the standard path separator (i.e. ":") - it is
 
10833
    # assumed that no part of a normal pathname contains ";" but that should
 
10834
    # okay in the real world where ";" in dirpaths is itself problematic.
 
10835
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
 
10836
    ;;
 
10837
  *)
 
10838
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
 
10839
    ;;
 
10840
  esac
 
10841
  # Ok, now we have the path, separated by spaces, we can step through it
 
10842
  # and add multilib dir if necessary.
 
10843
  lt_tmp_lt_search_path_spec=
 
10844
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 
10845
  for lt_sys_path in $lt_search_path_spec; do
 
10846
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 
10847
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 
10848
    else
 
10849
      test -d "$lt_sys_path" && \
 
10850
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 
10851
    fi
 
10852
  done
 
10853
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
 
10854
BEGIN {RS=" "; FS="/|\n";} {
 
10855
  lt_foo="";
 
10856
  lt_count=0;
 
10857
  for (lt_i = NF; lt_i > 0; lt_i--) {
 
10858
    if ($lt_i != "" && $lt_i != ".") {
 
10859
      if ($lt_i == "..") {
 
10860
        lt_count++;
 
10861
      } else {
 
10862
        if (lt_count == 0) {
 
10863
          lt_foo="/" $lt_i lt_foo;
 
10864
        } else {
 
10865
          lt_count--;
 
10866
        }
 
10867
      }
 
10868
    }
 
10869
  }
 
10870
  if (lt_foo != "") { lt_freq[lt_foo]++; }
 
10871
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
 
10872
}'`
 
10873
  # AWK program above erroneously prepends '/' to C:/dos/paths
 
10874
  # for these hosts.
 
10875
  case $host_os in
 
10876
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
 
10877
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
 
10878
  esac
 
10879
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
 
10880
else
 
10881
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 
10882
fi
 
10883
library_names_spec=
 
10884
libname_spec='lib$name'
 
10885
soname_spec=
 
10886
shrext_cmds=".so"
 
10887
postinstall_cmds=
 
10888
postuninstall_cmds=
 
10889
finish_cmds=
 
10890
finish_eval=
 
10891
shlibpath_var=
 
10892
shlibpath_overrides_runpath=unknown
 
10893
version_type=none
 
10894
dynamic_linker="$host_os ld.so"
 
10895
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
10896
need_lib_prefix=unknown
 
10897
hardcode_into_libs=no
 
10898
 
 
10899
# when you set need_version to no, make sure it does not cause -set_version
 
10900
# flags to be left without arguments
 
10901
need_version=unknown
 
10902
 
 
10903
case $host_os in
 
10904
aix3*)
 
10905
  version_type=linux
 
10906
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 
10907
  shlibpath_var=LIBPATH
 
10908
 
 
10909
  # AIX 3 has no versioning support, so we append a major version to the name.
 
10910
  soname_spec='${libname}${release}${shared_ext}$major'
 
10911
  ;;
 
10912
 
 
10913
aix[4-9]*)
 
10914
  version_type=linux
 
10915
  need_lib_prefix=no
 
10916
  need_version=no
 
10917
  hardcode_into_libs=yes
 
10918
  if test "$host_cpu" = ia64; then
 
10919
    # AIX 5 supports IA64
 
10920
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 
10921
    shlibpath_var=LD_LIBRARY_PATH
 
10922
  else
 
10923
    # With GCC up to 2.95.x, collect2 would create an import file
 
10924
    # for dependence libraries.  The import file would start with
 
10925
    # the line `#! .'.  This would cause the generated library to
 
10926
    # depend on `.', always an invalid library.  This was fixed in
 
10927
    # development snapshots of GCC prior to 3.0.
 
10928
    case $host_os in
 
10929
      aix4 | aix4.[01] | aix4.[01].*)
 
10930
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 
10931
           echo ' yes '
 
10932
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
 
10933
        :
 
10934
      else
 
10935
        can_build_shared=no
 
10936
      fi
 
10937
      ;;
 
10938
    esac
 
10939
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 
10940
    # soname into executable. Probably we can add versioning support to
 
10941
    # collect2, so additional links can be useful in future.
 
10942
    if test "$aix_use_runtimelinking" = yes; then
 
10943
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 
10944
      # instead of lib<name>.a to let people know that these are not
 
10945
      # typical AIX shared libraries.
 
10946
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10947
    else
 
10948
      # We preserve .a as extension for shared libraries through AIX4.2
 
10949
      # and later when we are not doing run time linking.
 
10950
      library_names_spec='${libname}${release}.a $libname.a'
 
10951
      soname_spec='${libname}${release}${shared_ext}$major'
 
10952
    fi
 
10953
    shlibpath_var=LIBPATH
 
10954
  fi
 
10955
  ;;
 
10956
 
 
10957
amigaos*)
 
10958
  case $host_cpu in
 
10959
  powerpc)
 
10960
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
10961
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
10962
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10963
    ;;
 
10964
  m68k)
 
10965
    library_names_spec='$libname.ixlibrary $libname.a'
 
10966
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
10967
    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'
 
10968
    ;;
 
10969
  esac
 
10970
  ;;
 
10971
 
 
10972
beos*)
 
10973
  library_names_spec='${libname}${shared_ext}'
 
10974
  dynamic_linker="$host_os ld.so"
 
10975
  shlibpath_var=LIBRARY_PATH
 
10976
  ;;
 
10977
 
 
10978
bsdi[45]*)
 
10979
  version_type=linux
 
10980
  need_version=no
 
10981
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10982
  soname_spec='${libname}${release}${shared_ext}$major'
 
10983
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 
10984
  shlibpath_var=LD_LIBRARY_PATH
 
10985
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 
10986
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 
10987
  # the default ld.so.conf also contains /usr/contrib/lib and
 
10988
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 
10989
  # libtool to hard-code these into programs
 
10990
  ;;
 
10991
 
 
10992
cygwin* | mingw* | pw32* | cegcc*)
 
10993
  version_type=windows
 
10994
  shrext_cmds=".dll"
 
10995
  need_version=no
 
10996
  need_lib_prefix=no
 
10997
 
 
10998
  case $GCC,$cc_basename in
 
10999
  yes,*)
 
11000
    # gcc
 
11001
    library_names_spec='$libname.dll.a'
 
11002
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
11003
    postinstall_cmds='base_file=`basename \${file}`~
 
11004
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
11005
      dldir=$destdir/`dirname \$dlpath`~
 
11006
      test -d \$dldir || mkdir -p \$dldir~
 
11007
      $install_prog $dir/$dlname \$dldir/$dlname~
 
11008
      chmod a+x \$dldir/$dlname~
 
11009
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
11010
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
11011
      fi'
 
11012
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
11013
      dlpath=$dir/\$dldll~
 
11014
       $RM \$dlpath'
 
11015
    shlibpath_overrides_runpath=yes
 
11016
 
 
11017
    case $host_os in
 
11018
    cygwin*)
 
11019
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 
11020
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
11021
 
 
11022
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
 
11023
      ;;
 
11024
    mingw* | cegcc*)
 
11025
      # MinGW DLLs use traditional 'lib' prefix
 
11026
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
11027
      ;;
 
11028
    pw32*)
 
11029
      # pw32 DLLs use 'pw' prefix rather than 'lib'
 
11030
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
11031
      ;;
 
11032
    esac
 
11033
    dynamic_linker='Win32 ld.exe'
 
11034
    ;;
 
11035
 
 
11036
  *,cl*)
 
11037
    # Native MSVC
 
11038
    libname_spec='$name'
 
11039
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
11040
    library_names_spec='${libname}.dll.lib'
 
11041
 
 
11042
    case $build_os in
 
11043
    mingw*)
 
11044
      sys_lib_search_path_spec=
 
11045
      lt_save_ifs=$IFS
 
11046
      IFS=';'
 
11047
      for lt_path in $LIB
 
11048
      do
 
11049
        IFS=$lt_save_ifs
 
11050
        # Let DOS variable expansion print the short 8.3 style file name.
 
11051
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 
11052
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 
11053
      done
 
11054
      IFS=$lt_save_ifs
 
11055
      # Convert to MSYS style.
 
11056
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 
11057
      ;;
 
11058
    cygwin*)
 
11059
      # Convert to unix form, then to dos form, then back to unix form
 
11060
      # but this time dos style (no spaces!) so that the unix form looks
 
11061
      # like /cygdrive/c/PROGRA~1:/cygdr...
 
11062
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 
11063
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 
11064
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
11065
      ;;
 
11066
    *)
 
11067
      sys_lib_search_path_spec="$LIB"
 
11068
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
11069
        # It is most probably a Windows format PATH.
 
11070
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
11071
      else
 
11072
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
11073
      fi
 
11074
      # FIXME: find the short name or the path components, as spaces are
 
11075
      # common. (e.g. "Program Files" -> "PROGRA~1")
 
11076
      ;;
 
11077
    esac
 
11078
 
 
11079
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
11080
    postinstall_cmds='base_file=`basename \${file}`~
 
11081
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
11082
      dldir=$destdir/`dirname \$dlpath`~
 
11083
      test -d \$dldir || mkdir -p \$dldir~
 
11084
      $install_prog $dir/$dlname \$dldir/$dlname'
 
11085
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
11086
      dlpath=$dir/\$dldll~
 
11087
       $RM \$dlpath'
 
11088
    shlibpath_overrides_runpath=yes
 
11089
    dynamic_linker='Win32 link.exe'
 
11090
    ;;
 
11091
 
 
11092
  *)
 
11093
    # Assume MSVC wrapper
 
11094
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
11095
    dynamic_linker='Win32 ld.exe'
 
11096
    ;;
 
11097
  esac
 
11098
  # FIXME: first we should search . and the directory the executable is in
 
11099
  shlibpath_var=PATH
 
11100
  ;;
 
11101
 
 
11102
darwin* | rhapsody*)
 
11103
  dynamic_linker="$host_os dyld"
 
11104
  version_type=darwin
 
11105
  need_lib_prefix=no
 
11106
  need_version=no
 
11107
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
11108
  soname_spec='${libname}${release}${major}$shared_ext'
 
11109
  shlibpath_overrides_runpath=yes
 
11110
  shlibpath_var=DYLD_LIBRARY_PATH
 
11111
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 
11112
 
 
11113
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
 
11114
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 
11115
  ;;
 
11116
 
 
11117
dgux*)
 
11118
  version_type=linux
 
11119
  need_lib_prefix=no
 
11120
  need_version=no
 
11121
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 
11122
  soname_spec='${libname}${release}${shared_ext}$major'
 
11123
  shlibpath_var=LD_LIBRARY_PATH
 
11124
  ;;
 
11125
 
 
11126
freebsd1*)
 
11127
  dynamic_linker=no
 
11128
  ;;
 
11129
 
 
11130
freebsd* | dragonfly*)
 
11131
  # DragonFly does not have aout.  When/if they implement a new
 
11132
  # versioning mechanism, adjust this.
 
11133
  if test -x /usr/bin/objformat; then
 
11134
    objformat=`/usr/bin/objformat`
 
11135
  else
 
11136
    case $host_os in
 
11137
    freebsd[123]*) objformat=aout ;;
 
11138
    *) objformat=elf ;;
 
11139
    esac
 
11140
  fi
 
11141
  version_type=freebsd-$objformat
 
11142
  case $version_type in
 
11143
    freebsd-elf*)
 
11144
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
11145
      need_version=no
 
11146
      need_lib_prefix=no
 
11147
      ;;
 
11148
    freebsd-*)
 
11149
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 
11150
      need_version=yes
 
11151
      ;;
 
11152
  esac
 
11153
  shlibpath_var=LD_LIBRARY_PATH
 
11154
  case $host_os in
 
11155
  freebsd2*)
 
11156
    shlibpath_overrides_runpath=yes
 
11157
    ;;
 
11158
  freebsd3.[01]* | freebsdelf3.[01]*)
 
11159
    shlibpath_overrides_runpath=yes
 
11160
    hardcode_into_libs=yes
 
11161
    ;;
 
11162
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
11163
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
 
11164
    shlibpath_overrides_runpath=no
 
11165
    hardcode_into_libs=yes
 
11166
    ;;
 
11167
  *) # from 4.6 on, and DragonFly
 
11168
    shlibpath_overrides_runpath=yes
 
11169
    hardcode_into_libs=yes
 
11170
    ;;
 
11171
  esac
 
11172
  ;;
 
11173
 
 
11174
gnu*)
 
11175
  version_type=linux
 
11176
  need_lib_prefix=no
 
11177
  need_version=no
 
11178
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
11179
  soname_spec='${libname}${release}${shared_ext}$major'
 
11180
  shlibpath_var=LD_LIBRARY_PATH
 
11181
  shlibpath_overrides_runpath=no
 
11182
  hardcode_into_libs=yes
 
11183
  ;;
 
11184
 
 
11185
haiku*)
 
11186
  version_type=linux
 
11187
  need_lib_prefix=no
 
11188
  need_version=no
 
11189
  dynamic_linker="$host_os runtime_loader"
 
11190
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
11191
  soname_spec='${libname}${release}${shared_ext}$major'
 
11192
  shlibpath_var=LIBRARY_PATH
 
11193
  shlibpath_overrides_runpath=yes
 
11194
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
 
11195
  hardcode_into_libs=yes
 
11196
  ;;
 
11197
 
 
11198
hpux9* | hpux10* | hpux11*)
 
11199
  # Give a soname corresponding to the major version so that dld.sl refuses to
 
11200
  # link against other versions.
 
11201
  version_type=sunos
 
11202
  need_lib_prefix=no
 
11203
  need_version=no
 
11204
  case $host_cpu in
 
11205
  ia64*)
 
11206
    shrext_cmds='.so'
 
11207
    hardcode_into_libs=yes
 
11208
    dynamic_linker="$host_os dld.so"
 
11209
    shlibpath_var=LD_LIBRARY_PATH
 
11210
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
11211
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11212
    soname_spec='${libname}${release}${shared_ext}$major'
 
11213
    if test "X$HPUX_IA64_MODE" = X32; then
 
11214
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 
11215
    else
 
11216
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 
11217
    fi
 
11218
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
11219
    ;;
 
11220
  hppa*64*)
 
11221
    shrext_cmds='.sl'
 
11222
    hardcode_into_libs=yes
 
11223
    dynamic_linker="$host_os dld.sl"
 
11224
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
11225
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
11226
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11227
    soname_spec='${libname}${release}${shared_ext}$major'
 
11228
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
11229
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
11230
    ;;
 
11231
  *)
 
11232
    shrext_cmds='.sl'
 
11233
    dynamic_linker="$host_os dld.sl"
 
11234
    shlibpath_var=SHLIB_PATH
 
11235
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 
11236
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11237
    soname_spec='${libname}${release}${shared_ext}$major'
 
11238
    ;;
 
11239
  esac
 
11240
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
 
11241
  postinstall_cmds='chmod 555 $lib'
 
11242
  # or fails outright, so override atomically:
 
11243
  install_override_mode=555
 
11244
  ;;
 
11245
 
 
11246
interix[3-9]*)
 
11247
  version_type=linux
 
11248
  need_lib_prefix=no
 
11249
  need_version=no
 
11250
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
11251
  soname_spec='${libname}${release}${shared_ext}$major'
 
11252
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
11253
  shlibpath_var=LD_LIBRARY_PATH
 
11254
  shlibpath_overrides_runpath=no
 
11255
  hardcode_into_libs=yes
 
11256
  ;;
 
11257
 
 
11258
irix5* | irix6* | nonstopux*)
 
11259
  case $host_os in
 
11260
    nonstopux*) version_type=nonstopux ;;
 
11261
    *)
 
11262
        if test "$lt_cv_prog_gnu_ld" = yes; then
 
11263
                version_type=linux
 
11264
        else
 
11265
                version_type=irix
 
11266
        fi ;;
 
11267
  esac
 
11268
  need_lib_prefix=no
 
11269
  need_version=no
 
11270
  soname_spec='${libname}${release}${shared_ext}$major'
 
11271
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 
11272
  case $host_os in
 
11273
  irix5* | nonstopux*)
 
11274
    libsuff= shlibsuff=
 
11275
    ;;
 
11276
  *)
 
11277
    case $LD in # libtool.m4 will add one of these switches to LD
 
11278
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 
11279
      libsuff= shlibsuff= libmagic=32-bit;;
 
11280
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 
11281
      libsuff=32 shlibsuff=N32 libmagic=N32;;
 
11282
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 
11283
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
 
11284
    *) libsuff= shlibsuff= libmagic=never-match;;
 
11285
    esac
 
11286
    ;;
 
11287
  esac
 
11288
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 
11289
  shlibpath_overrides_runpath=no
 
11290
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
11291
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 
11292
  hardcode_into_libs=yes
 
11293
  ;;
 
11294
 
 
11295
# No shared lib support for Linux oldld, aout, or coff.
 
11296
linux*oldld* | linux*aout* | linux*coff*)
 
11297
  dynamic_linker=no
 
11298
  ;;
 
11299
 
 
11300
# This must be Linux ELF.
 
11301
linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
11302
  version_type=linux
 
11303
  need_lib_prefix=no
 
11304
  need_version=no
 
11305
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11306
  soname_spec='${libname}${release}${shared_ext}$major'
 
11307
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 
11308
  shlibpath_var=LD_LIBRARY_PATH
 
11309
  shlibpath_overrides_runpath=no
 
11310
 
 
11311
  # Some binutils ld are patched to set DT_RUNPATH
 
11312
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
 
11313
  $as_echo_n "(cached) " >&6
 
11314
else
 
11315
  lt_cv_shlibpath_overrides_runpath=no
 
11316
    save_LDFLAGS=$LDFLAGS
 
11317
    save_libdir=$libdir
 
11318
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
11319
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
11320
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11321
/* end confdefs.h.  */
 
11322
 
 
11323
int
 
11324
main ()
 
11325
{
 
11326
 
 
11327
  ;
 
11328
  return 0;
 
11329
}
 
11330
_ACEOF
 
11331
if ac_fn_c_try_link "$LINENO"; then :
 
11332
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
 
11333
  lt_cv_shlibpath_overrides_runpath=yes
 
11334
fi
 
11335
fi
 
11336
rm -f core conftest.err conftest.$ac_objext \
 
11337
    conftest$ac_exeext conftest.$ac_ext
 
11338
    LDFLAGS=$save_LDFLAGS
 
11339
    libdir=$save_libdir
 
11340
 
 
11341
fi
 
11342
 
 
11343
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
 
11344
 
 
11345
  # This implies no fast_install, which is unacceptable.
 
11346
  # Some rework will be needed to allow for fast_install
 
11347
  # before this can be enabled.
 
11348
  hardcode_into_libs=yes
 
11349
 
 
11350
  # Append ld.so.conf contents to the search path
 
11351
  if test -f /etc/ld.so.conf; then
 
11352
    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' ' '`
 
11353
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
11354
  fi
 
11355
 
 
11356
  # We used to test for /lib/ld.so.1 and disable shared libraries on
 
11357
  # powerpc, because MkLinux only supported shared libraries with the
 
11358
  # GNU dynamic linker.  Since this was broken with cross compilers,
 
11359
  # most powerpc-linux boxes support dynamic linking these days and
 
11360
  # people can always --disable-shared, the test was removed, and we
 
11361
  # assume the GNU/Linux dynamic linker is in use.
 
11362
  dynamic_linker='GNU/Linux ld.so'
 
11363
  ;;
 
11364
 
 
11365
netbsdelf*-gnu)
 
11366
  version_type=linux
 
11367
  need_lib_prefix=no
 
11368
  need_version=no
 
11369
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
11370
  soname_spec='${libname}${release}${shared_ext}$major'
 
11371
  shlibpath_var=LD_LIBRARY_PATH
 
11372
  shlibpath_overrides_runpath=no
 
11373
  hardcode_into_libs=yes
 
11374
  dynamic_linker='NetBSD ld.elf_so'
 
11375
  ;;
 
11376
 
 
11377
netbsd*)
 
11378
  version_type=sunos
 
11379
  need_lib_prefix=no
 
11380
  need_version=no
 
11381
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
11382
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
11383
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
11384
    dynamic_linker='NetBSD (a.out) ld.so'
 
11385
  else
 
11386
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
11387
    soname_spec='${libname}${release}${shared_ext}$major'
 
11388
    dynamic_linker='NetBSD ld.elf_so'
 
11389
  fi
 
11390
  shlibpath_var=LD_LIBRARY_PATH
 
11391
  shlibpath_overrides_runpath=yes
 
11392
  hardcode_into_libs=yes
 
11393
  ;;
 
11394
 
 
11395
newsos6)
 
11396
  version_type=linux
 
11397
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11398
  shlibpath_var=LD_LIBRARY_PATH
 
11399
  shlibpath_overrides_runpath=yes
 
11400
  ;;
 
11401
 
 
11402
*nto* | *qnx*)
 
11403
  version_type=qnx
 
11404
  need_lib_prefix=no
 
11405
  need_version=no
 
11406
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11407
  soname_spec='${libname}${release}${shared_ext}$major'
 
11408
  shlibpath_var=LD_LIBRARY_PATH
 
11409
  shlibpath_overrides_runpath=no
 
11410
  hardcode_into_libs=yes
 
11411
  dynamic_linker='ldqnx.so'
 
11412
  ;;
 
11413
 
 
11414
openbsd*)
 
11415
  version_type=sunos
 
11416
  sys_lib_dlsearch_path_spec="/usr/lib"
 
11417
  need_lib_prefix=no
 
11418
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
11419
  case $host_os in
 
11420
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
11421
    *)                          need_version=no  ;;
 
11422
  esac
 
11423
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
11424
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
11425
  shlibpath_var=LD_LIBRARY_PATH
 
11426
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
11427
    case $host_os in
 
11428
      openbsd2.[89] | openbsd2.[89].*)
 
11429
        shlibpath_overrides_runpath=no
 
11430
        ;;
 
11431
      *)
 
11432
        shlibpath_overrides_runpath=yes
 
11433
        ;;
 
11434
      esac
 
11435
  else
 
11436
    shlibpath_overrides_runpath=yes
 
11437
  fi
 
11438
  ;;
 
11439
 
 
11440
os2*)
 
11441
  libname_spec='$name'
 
11442
  shrext_cmds=".dll"
 
11443
  need_lib_prefix=no
 
11444
  library_names_spec='$libname${shared_ext} $libname.a'
 
11445
  dynamic_linker='OS/2 ld.exe'
 
11446
  shlibpath_var=LIBPATH
 
11447
  ;;
 
11448
 
 
11449
osf3* | osf4* | osf5*)
 
11450
  version_type=osf
 
11451
  need_lib_prefix=no
 
11452
  need_version=no
 
11453
  soname_spec='${libname}${release}${shared_ext}$major'
 
11454
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11455
  shlibpath_var=LD_LIBRARY_PATH
 
11456
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 
11457
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 
11458
  ;;
 
11459
 
 
11460
rdos*)
 
11461
  dynamic_linker=no
 
11462
  ;;
 
11463
 
 
11464
solaris*)
 
11465
  version_type=linux
 
11466
  need_lib_prefix=no
 
11467
  need_version=no
 
11468
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11469
  soname_spec='${libname}${release}${shared_ext}$major'
 
11470
  shlibpath_var=LD_LIBRARY_PATH
 
11471
  shlibpath_overrides_runpath=yes
 
11472
  hardcode_into_libs=yes
 
11473
  # ldd complains unless libraries are executable
 
11474
  postinstall_cmds='chmod +x $lib'
 
11475
  ;;
 
11476
 
 
11477
sunos4*)
 
11478
  version_type=sunos
 
11479
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
11480
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 
11481
  shlibpath_var=LD_LIBRARY_PATH
 
11482
  shlibpath_overrides_runpath=yes
 
11483
  if test "$with_gnu_ld" = yes; then
 
11484
    need_lib_prefix=no
 
11485
  fi
 
11486
  need_version=yes
 
11487
  ;;
 
11488
 
 
11489
sysv4 | sysv4.3*)
 
11490
  version_type=linux
 
11491
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11492
  soname_spec='${libname}${release}${shared_ext}$major'
 
11493
  shlibpath_var=LD_LIBRARY_PATH
 
11494
  case $host_vendor in
 
11495
    sni)
 
11496
      shlibpath_overrides_runpath=no
 
11497
      need_lib_prefix=no
 
11498
      runpath_var=LD_RUN_PATH
 
11499
      ;;
 
11500
    siemens)
 
11501
      need_lib_prefix=no
 
11502
      ;;
 
11503
    motorola)
 
11504
      need_lib_prefix=no
 
11505
      need_version=no
 
11506
      shlibpath_overrides_runpath=no
 
11507
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 
11508
      ;;
 
11509
  esac
 
11510
  ;;
 
11511
 
 
11512
sysv4*MP*)
 
11513
  if test -d /usr/nec ;then
 
11514
    version_type=linux
 
11515
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 
11516
    soname_spec='$libname${shared_ext}.$major'
 
11517
    shlibpath_var=LD_LIBRARY_PATH
 
11518
  fi
 
11519
  ;;
 
11520
 
 
11521
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
11522
  version_type=freebsd-elf
 
11523
  need_lib_prefix=no
 
11524
  need_version=no
 
11525
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
11526
  soname_spec='${libname}${release}${shared_ext}$major'
 
11527
  shlibpath_var=LD_LIBRARY_PATH
 
11528
  shlibpath_overrides_runpath=yes
 
11529
  hardcode_into_libs=yes
 
11530
  if test "$with_gnu_ld" = yes; then
 
11531
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
11532
  else
 
11533
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
11534
    case $host_os in
 
11535
      sco3.2v5*)
 
11536
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
11537
        ;;
 
11538
    esac
 
11539
  fi
 
11540
  sys_lib_dlsearch_path_spec='/usr/lib'
 
11541
  ;;
 
11542
 
 
11543
tpf*)
 
11544
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
11545
  version_type=linux
 
11546
  need_lib_prefix=no
 
11547
  need_version=no
 
11548
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11549
  shlibpath_var=LD_LIBRARY_PATH
 
11550
  shlibpath_overrides_runpath=no
 
11551
  hardcode_into_libs=yes
 
11552
  ;;
 
11553
 
 
11554
uts4*)
 
11555
  version_type=linux
 
11556
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11557
  soname_spec='${libname}${release}${shared_ext}$major'
 
11558
  shlibpath_var=LD_LIBRARY_PATH
 
11559
  ;;
 
11560
 
 
11561
*)
 
11562
  dynamic_linker=no
 
11563
  ;;
 
11564
esac
 
11565
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
 
11566
$as_echo "$dynamic_linker" >&6; }
 
11567
test "$dynamic_linker" = no && can_build_shared=no
 
11568
 
 
11569
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
11570
if test "$GCC" = yes; then
 
11571
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
11572
fi
 
11573
 
 
11574
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
11575
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
11576
fi
 
11577
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
11578
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
11579
fi
 
11580
 
 
11581
 
 
11582
 
 
11583
 
 
11584
 
 
11585
 
 
11586
 
 
11587
 
 
11588
 
 
11589
 
 
11590
 
 
11591
 
 
11592
 
 
11593
 
 
11594
 
 
11595
 
 
11596
 
 
11597
 
 
11598
 
 
11599
 
 
11600
 
 
11601
 
 
11602
 
 
11603
 
 
11604
 
 
11605
 
 
11606
 
 
11607
 
 
11608
 
 
11609
 
 
11610
 
 
11611
 
 
11612
 
 
11613
 
 
11614
 
 
11615
 
 
11616
 
 
11617
 
 
11618
 
 
11619
 
 
11620
 
 
11621
 
 
11622
 
 
11623
 
 
11624
 
 
11625
 
 
11626
 
 
11627
 
 
11628
 
 
11629
 
 
11630
 
 
11631
 
 
11632
 
 
11633
 
 
11634
 
 
11635
 
 
11636
 
 
11637
 
 
11638
 
 
11639
 
 
11640
 
 
11641
 
 
11642
 
 
11643
 
 
11644
 
 
11645
 
 
11646
 
 
11647
 
 
11648
 
 
11649
 
 
11650
 
 
11651
 
 
11652
 
 
11653
 
 
11654
 
 
11655
 
 
11656
 
 
11657
 
 
11658
 
 
11659
 
 
11660
 
 
11661
 
 
11662
 
 
11663
 
 
11664
 
 
11665
 
 
11666
 
 
11667
 
 
11668
 
 
11669
 
 
11670
 
 
11671
 
 
11672
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
 
11673
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
 
11674
hardcode_action=
 
11675
if test -n "$hardcode_libdir_flag_spec" ||
 
11676
   test -n "$runpath_var" ||
 
11677
   test "X$hardcode_automatic" = "Xyes" ; then
 
11678
 
 
11679
  # We can hardcode non-existent directories.
 
11680
  if test "$hardcode_direct" != no &&
 
11681
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
 
11682
     # have to relink, otherwise we might link with an installed library
 
11683
     # when we should be linking with a yet-to-be-installed one
 
11684
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
 
11685
     test "$hardcode_minus_L" != no; then
 
11686
    # Linking always hardcodes the temporary library directory.
 
11687
    hardcode_action=relink
 
11688
  else
 
11689
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
 
11690
    hardcode_action=immediate
 
11691
  fi
 
11692
else
 
11693
  # We cannot hardcode anything, or else we can only hardcode existing
 
11694
  # directories.
 
11695
  hardcode_action=unsupported
 
11696
fi
 
11697
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
 
11698
$as_echo "$hardcode_action" >&6; }
 
11699
 
 
11700
if test "$hardcode_action" = relink ||
 
11701
   test "$inherit_rpath" = yes; then
 
11702
  # Fast installation is not supported
 
11703
  enable_fast_install=no
 
11704
elif test "$shlibpath_overrides_runpath" = yes ||
 
11705
     test "$enable_shared" = no; then
 
11706
  # Fast installation is not necessary
 
11707
  enable_fast_install=needless
 
11708
fi
 
11709
 
 
11710
 
 
11711
 
 
11712
 
 
11713
 
 
11714
 
 
11715
  if test "x$enable_dlopen" != xyes; then
 
11716
  enable_dlopen=unknown
 
11717
  enable_dlopen_self=unknown
 
11718
  enable_dlopen_self_static=unknown
 
11719
else
 
11720
  lt_cv_dlopen=no
 
11721
  lt_cv_dlopen_libs=
 
11722
 
 
11723
  case $host_os in
 
11724
  beos*)
 
11725
    lt_cv_dlopen="load_add_on"
 
11726
    lt_cv_dlopen_libs=
 
11727
    lt_cv_dlopen_self=yes
 
11728
    ;;
 
11729
 
 
11730
  mingw* | pw32* | cegcc*)
 
11731
    lt_cv_dlopen="LoadLibrary"
 
11732
    lt_cv_dlopen_libs=
 
11733
    ;;
 
11734
 
 
11735
  cygwin*)
 
11736
    lt_cv_dlopen="dlopen"
 
11737
    lt_cv_dlopen_libs=
 
11738
    ;;
 
11739
 
 
11740
  darwin*)
 
11741
  # if libdl is installed we need to link against it
 
11742
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
11743
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
11744
if ${ac_cv_lib_dl_dlopen+:} false; then :
 
11745
  $as_echo_n "(cached) " >&6
 
11746
else
 
11747
  ac_check_lib_save_LIBS=$LIBS
 
11748
LIBS="-ldl  $LIBS"
 
11749
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11750
/* end confdefs.h.  */
 
11751
 
 
11752
/* Override any GCC internal prototype to avoid an error.
 
11753
   Use char because int might match the return type of a GCC
 
11754
   builtin and then its argument prototype would still apply.  */
 
11755
#ifdef __cplusplus
 
11756
extern "C"
 
11757
#endif
 
11758
char dlopen ();
 
11759
int
 
11760
main ()
 
11761
{
 
11762
return dlopen ();
 
11763
  ;
 
11764
  return 0;
 
11765
}
 
11766
_ACEOF
 
11767
if ac_fn_c_try_link "$LINENO"; then :
 
11768
  ac_cv_lib_dl_dlopen=yes
 
11769
else
 
11770
  ac_cv_lib_dl_dlopen=no
 
11771
fi
 
11772
rm -f core conftest.err conftest.$ac_objext \
 
11773
    conftest$ac_exeext conftest.$ac_ext
 
11774
LIBS=$ac_check_lib_save_LIBS
 
11775
fi
 
11776
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
11777
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
11778
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
 
11779
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
11780
else
 
11781
 
 
11782
    lt_cv_dlopen="dyld"
 
11783
    lt_cv_dlopen_libs=
 
11784
    lt_cv_dlopen_self=yes
 
11785
 
 
11786
fi
 
11787
 
 
11788
    ;;
 
11789
 
 
11790
  *)
 
11791
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
 
11792
if test "x$ac_cv_func_shl_load" = xyes; then :
 
11793
  lt_cv_dlopen="shl_load"
 
11794
else
 
11795
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
 
11796
$as_echo_n "checking for shl_load in -ldld... " >&6; }
 
11797
if ${ac_cv_lib_dld_shl_load+:} false; then :
 
11798
  $as_echo_n "(cached) " >&6
 
11799
else
 
11800
  ac_check_lib_save_LIBS=$LIBS
 
11801
LIBS="-ldld  $LIBS"
 
11802
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11803
/* end confdefs.h.  */
 
11804
 
 
11805
/* Override any GCC internal prototype to avoid an error.
 
11806
   Use char because int might match the return type of a GCC
 
11807
   builtin and then its argument prototype would still apply.  */
 
11808
#ifdef __cplusplus
 
11809
extern "C"
 
11810
#endif
 
11811
char shl_load ();
 
11812
int
 
11813
main ()
 
11814
{
 
11815
return shl_load ();
 
11816
  ;
 
11817
  return 0;
 
11818
}
 
11819
_ACEOF
 
11820
if ac_fn_c_try_link "$LINENO"; then :
 
11821
  ac_cv_lib_dld_shl_load=yes
 
11822
else
 
11823
  ac_cv_lib_dld_shl_load=no
 
11824
fi
 
11825
rm -f core conftest.err conftest.$ac_objext \
 
11826
    conftest$ac_exeext conftest.$ac_ext
 
11827
LIBS=$ac_check_lib_save_LIBS
 
11828
fi
 
11829
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
 
11830
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
 
11831
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
 
11832
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
 
11833
else
 
11834
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
 
11835
if test "x$ac_cv_func_dlopen" = xyes; then :
 
11836
  lt_cv_dlopen="dlopen"
 
11837
else
 
11838
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
11839
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
11840
if ${ac_cv_lib_dl_dlopen+:} false; then :
 
11841
  $as_echo_n "(cached) " >&6
 
11842
else
 
11843
  ac_check_lib_save_LIBS=$LIBS
 
11844
LIBS="-ldl  $LIBS"
 
11845
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11846
/* end confdefs.h.  */
 
11847
 
 
11848
/* Override any GCC internal prototype to avoid an error.
 
11849
   Use char because int might match the return type of a GCC
 
11850
   builtin and then its argument prototype would still apply.  */
 
11851
#ifdef __cplusplus
 
11852
extern "C"
 
11853
#endif
 
11854
char dlopen ();
 
11855
int
 
11856
main ()
 
11857
{
 
11858
return dlopen ();
 
11859
  ;
 
11860
  return 0;
 
11861
}
 
11862
_ACEOF
 
11863
if ac_fn_c_try_link "$LINENO"; then :
 
11864
  ac_cv_lib_dl_dlopen=yes
 
11865
else
 
11866
  ac_cv_lib_dl_dlopen=no
 
11867
fi
 
11868
rm -f core conftest.err conftest.$ac_objext \
 
11869
    conftest$ac_exeext conftest.$ac_ext
 
11870
LIBS=$ac_check_lib_save_LIBS
 
11871
fi
 
11872
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
11873
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
11874
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
 
11875
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
11876
else
 
11877
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
 
11878
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
 
11879
if ${ac_cv_lib_svld_dlopen+:} false; then :
 
11880
  $as_echo_n "(cached) " >&6
 
11881
else
 
11882
  ac_check_lib_save_LIBS=$LIBS
 
11883
LIBS="-lsvld  $LIBS"
 
11884
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11885
/* end confdefs.h.  */
 
11886
 
 
11887
/* Override any GCC internal prototype to avoid an error.
 
11888
   Use char because int might match the return type of a GCC
 
11889
   builtin and then its argument prototype would still apply.  */
 
11890
#ifdef __cplusplus
 
11891
extern "C"
 
11892
#endif
 
11893
char dlopen ();
 
11894
int
 
11895
main ()
 
11896
{
 
11897
return dlopen ();
 
11898
  ;
 
11899
  return 0;
 
11900
}
 
11901
_ACEOF
 
11902
if ac_fn_c_try_link "$LINENO"; then :
 
11903
  ac_cv_lib_svld_dlopen=yes
 
11904
else
 
11905
  ac_cv_lib_svld_dlopen=no
 
11906
fi
 
11907
rm -f core conftest.err conftest.$ac_objext \
 
11908
    conftest$ac_exeext conftest.$ac_ext
 
11909
LIBS=$ac_check_lib_save_LIBS
 
11910
fi
 
11911
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
 
11912
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
 
11913
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
 
11914
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
 
11915
else
 
11916
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
 
11917
$as_echo_n "checking for dld_link in -ldld... " >&6; }
 
11918
if ${ac_cv_lib_dld_dld_link+:} false; then :
 
11919
  $as_echo_n "(cached) " >&6
 
11920
else
 
11921
  ac_check_lib_save_LIBS=$LIBS
 
11922
LIBS="-ldld  $LIBS"
 
11923
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11924
/* end confdefs.h.  */
 
11925
 
 
11926
/* Override any GCC internal prototype to avoid an error.
 
11927
   Use char because int might match the return type of a GCC
 
11928
   builtin and then its argument prototype would still apply.  */
 
11929
#ifdef __cplusplus
 
11930
extern "C"
 
11931
#endif
 
11932
char dld_link ();
 
11933
int
 
11934
main ()
 
11935
{
 
11936
return dld_link ();
 
11937
  ;
 
11938
  return 0;
 
11939
}
 
11940
_ACEOF
 
11941
if ac_fn_c_try_link "$LINENO"; then :
 
11942
  ac_cv_lib_dld_dld_link=yes
 
11943
else
 
11944
  ac_cv_lib_dld_dld_link=no
 
11945
fi
 
11946
rm -f core conftest.err conftest.$ac_objext \
 
11947
    conftest$ac_exeext conftest.$ac_ext
 
11948
LIBS=$ac_check_lib_save_LIBS
 
11949
fi
 
11950
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
 
11951
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
 
11952
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
 
11953
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
 
11954
fi
 
11955
 
 
11956
 
 
11957
fi
 
11958
 
 
11959
 
 
11960
fi
 
11961
 
 
11962
 
 
11963
fi
 
11964
 
 
11965
 
 
11966
fi
 
11967
 
 
11968
 
 
11969
fi
 
11970
 
 
11971
    ;;
 
11972
  esac
 
11973
 
 
11974
  if test "x$lt_cv_dlopen" != xno; then
 
11975
    enable_dlopen=yes
 
11976
  else
 
11977
    enable_dlopen=no
 
11978
  fi
 
11979
 
 
11980
  case $lt_cv_dlopen in
 
11981
  dlopen)
 
11982
    save_CPPFLAGS="$CPPFLAGS"
 
11983
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
 
11984
 
 
11985
    save_LDFLAGS="$LDFLAGS"
 
11986
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 
11987
 
 
11988
    save_LIBS="$LIBS"
 
11989
    LIBS="$lt_cv_dlopen_libs $LIBS"
 
11990
 
 
11991
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
 
11992
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
 
11993
if ${lt_cv_dlopen_self+:} false; then :
 
11994
  $as_echo_n "(cached) " >&6
 
11995
else
 
11996
          if test "$cross_compiling" = yes; then :
 
11997
  lt_cv_dlopen_self=cross
 
11998
else
 
11999
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
12000
  lt_status=$lt_dlunknown
 
12001
  cat > conftest.$ac_ext <<_LT_EOF
 
12002
#line $LINENO "configure"
 
12003
#include "confdefs.h"
 
12004
 
 
12005
#if HAVE_DLFCN_H
 
12006
#include <dlfcn.h>
 
12007
#endif
 
12008
 
 
12009
#include <stdio.h>
 
12010
 
 
12011
#ifdef RTLD_GLOBAL
 
12012
#  define LT_DLGLOBAL           RTLD_GLOBAL
 
12013
#else
 
12014
#  ifdef DL_GLOBAL
 
12015
#    define LT_DLGLOBAL         DL_GLOBAL
 
12016
#  else
 
12017
#    define LT_DLGLOBAL         0
 
12018
#  endif
 
12019
#endif
 
12020
 
 
12021
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
12022
   find out it does not work in some platform. */
 
12023
#ifndef LT_DLLAZY_OR_NOW
 
12024
#  ifdef RTLD_LAZY
 
12025
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
 
12026
#  else
 
12027
#    ifdef DL_LAZY
 
12028
#      define LT_DLLAZY_OR_NOW          DL_LAZY
 
12029
#    else
 
12030
#      ifdef RTLD_NOW
 
12031
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
 
12032
#      else
 
12033
#        ifdef DL_NOW
 
12034
#          define LT_DLLAZY_OR_NOW      DL_NOW
 
12035
#        else
 
12036
#          define LT_DLLAZY_OR_NOW      0
 
12037
#        endif
 
12038
#      endif
 
12039
#    endif
 
12040
#  endif
 
12041
#endif
 
12042
 
 
12043
/* When -fvisbility=hidden is used, assume the code has been annotated
 
12044
   correspondingly for the symbols needed.  */
 
12045
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
12046
int fnord () __attribute__((visibility("default")));
 
12047
#endif
 
12048
 
 
12049
int fnord () { return 42; }
 
12050
int main ()
 
12051
{
 
12052
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
12053
  int status = $lt_dlunknown;
 
12054
 
 
12055
  if (self)
 
12056
    {
 
12057
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
12058
      else
 
12059
        {
 
12060
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
12061
          else puts (dlerror ());
 
12062
        }
 
12063
      /* dlclose (self); */
 
12064
    }
 
12065
  else
 
12066
    puts (dlerror ());
 
12067
 
 
12068
  return status;
 
12069
}
 
12070
_LT_EOF
 
12071
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
12072
  (eval $ac_link) 2>&5
 
12073
  ac_status=$?
 
12074
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12075
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
 
12076
    (./conftest; exit; ) >&5 2>/dev/null
 
12077
    lt_status=$?
 
12078
    case x$lt_status in
 
12079
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
 
12080
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
 
12081
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
 
12082
    esac
 
12083
  else :
 
12084
    # compilation failed
 
12085
    lt_cv_dlopen_self=no
 
12086
  fi
 
12087
fi
 
12088
rm -fr conftest*
 
12089
 
 
12090
 
 
12091
fi
 
12092
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
 
12093
$as_echo "$lt_cv_dlopen_self" >&6; }
 
12094
 
 
12095
    if test "x$lt_cv_dlopen_self" = xyes; then
 
12096
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
 
12097
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
 
12098
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
 
12099
if ${lt_cv_dlopen_self_static+:} false; then :
 
12100
  $as_echo_n "(cached) " >&6
 
12101
else
 
12102
          if test "$cross_compiling" = yes; then :
 
12103
  lt_cv_dlopen_self_static=cross
 
12104
else
 
12105
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
12106
  lt_status=$lt_dlunknown
 
12107
  cat > conftest.$ac_ext <<_LT_EOF
 
12108
#line $LINENO "configure"
 
12109
#include "confdefs.h"
 
12110
 
 
12111
#if HAVE_DLFCN_H
 
12112
#include <dlfcn.h>
 
12113
#endif
 
12114
 
 
12115
#include <stdio.h>
 
12116
 
 
12117
#ifdef RTLD_GLOBAL
 
12118
#  define LT_DLGLOBAL           RTLD_GLOBAL
 
12119
#else
 
12120
#  ifdef DL_GLOBAL
 
12121
#    define LT_DLGLOBAL         DL_GLOBAL
 
12122
#  else
 
12123
#    define LT_DLGLOBAL         0
 
12124
#  endif
 
12125
#endif
 
12126
 
 
12127
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
12128
   find out it does not work in some platform. */
 
12129
#ifndef LT_DLLAZY_OR_NOW
 
12130
#  ifdef RTLD_LAZY
 
12131
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
 
12132
#  else
 
12133
#    ifdef DL_LAZY
 
12134
#      define LT_DLLAZY_OR_NOW          DL_LAZY
 
12135
#    else
 
12136
#      ifdef RTLD_NOW
 
12137
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
 
12138
#      else
 
12139
#        ifdef DL_NOW
 
12140
#          define LT_DLLAZY_OR_NOW      DL_NOW
 
12141
#        else
 
12142
#          define LT_DLLAZY_OR_NOW      0
 
12143
#        endif
 
12144
#      endif
 
12145
#    endif
 
12146
#  endif
 
12147
#endif
 
12148
 
 
12149
/* When -fvisbility=hidden is used, assume the code has been annotated
 
12150
   correspondingly for the symbols needed.  */
 
12151
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
12152
int fnord () __attribute__((visibility("default")));
 
12153
#endif
 
12154
 
 
12155
int fnord () { return 42; }
 
12156
int main ()
 
12157
{
 
12158
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
12159
  int status = $lt_dlunknown;
 
12160
 
 
12161
  if (self)
 
12162
    {
 
12163
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
12164
      else
 
12165
        {
 
12166
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
12167
          else puts (dlerror ());
 
12168
        }
 
12169
      /* dlclose (self); */
 
12170
    }
 
12171
  else
 
12172
    puts (dlerror ());
 
12173
 
 
12174
  return status;
 
12175
}
 
12176
_LT_EOF
 
12177
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
12178
  (eval $ac_link) 2>&5
 
12179
  ac_status=$?
 
12180
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12181
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
 
12182
    (./conftest; exit; ) >&5 2>/dev/null
 
12183
    lt_status=$?
 
12184
    case x$lt_status in
 
12185
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
 
12186
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
 
12187
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
 
12188
    esac
 
12189
  else :
 
12190
    # compilation failed
 
12191
    lt_cv_dlopen_self_static=no
 
12192
  fi
 
12193
fi
 
12194
rm -fr conftest*
 
12195
 
 
12196
 
 
12197
fi
 
12198
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
 
12199
$as_echo "$lt_cv_dlopen_self_static" >&6; }
 
12200
    fi
 
12201
 
 
12202
    CPPFLAGS="$save_CPPFLAGS"
 
12203
    LDFLAGS="$save_LDFLAGS"
 
12204
    LIBS="$save_LIBS"
 
12205
    ;;
 
12206
  esac
 
12207
 
 
12208
  case $lt_cv_dlopen_self in
 
12209
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
 
12210
  *) enable_dlopen_self=unknown ;;
 
12211
  esac
 
12212
 
 
12213
  case $lt_cv_dlopen_self_static in
 
12214
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
 
12215
  *) enable_dlopen_self_static=unknown ;;
 
12216
  esac
 
12217
fi
 
12218
 
 
12219
 
 
12220
 
 
12221
 
 
12222
 
 
12223
 
 
12224
 
 
12225
 
 
12226
 
 
12227
 
 
12228
 
 
12229
 
 
12230
 
 
12231
 
 
12232
 
 
12233
 
 
12234
 
 
12235
striplib=
 
12236
old_striplib=
 
12237
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
 
12238
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
 
12239
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 
12240
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
12241
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
12242
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
12243
$as_echo "yes" >&6; }
 
12244
else
 
12245
# FIXME - insert some real tests, host_os isn't really good enough
 
12246
  case $host_os in
 
12247
  darwin*)
 
12248
    if test -n "$STRIP" ; then
 
12249
      striplib="$STRIP -x"
 
12250
      old_striplib="$STRIP -S"
 
12251
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
12252
$as_echo "yes" >&6; }
 
12253
    else
 
12254
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12255
$as_echo "no" >&6; }
 
12256
    fi
 
12257
    ;;
 
12258
  *)
 
12259
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12260
$as_echo "no" >&6; }
 
12261
    ;;
 
12262
  esac
 
12263
fi
 
12264
 
 
12265
 
 
12266
 
 
12267
 
 
12268
 
 
12269
 
 
12270
 
 
12271
 
 
12272
 
 
12273
 
 
12274
 
 
12275
 
 
12276
  # Report which library types will actually be built
 
12277
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
 
12278
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
12279
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
 
12280
$as_echo "$can_build_shared" >&6; }
 
12281
 
 
12282
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
 
12283
$as_echo_n "checking whether to build shared libraries... " >&6; }
 
12284
  test "$can_build_shared" = "no" && enable_shared=no
 
12285
 
 
12286
  # On AIX, shared libraries and static libraries use the same namespace, and
 
12287
  # are all built from PIC.
 
12288
  case $host_os in
 
12289
  aix3*)
 
12290
    test "$enable_shared" = yes && enable_static=no
 
12291
    if test -n "$RANLIB"; then
 
12292
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
12293
      postinstall_cmds='$RANLIB $lib'
 
12294
    fi
 
12295
    ;;
 
12296
 
 
12297
  aix[4-9]*)
 
12298
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
12299
      test "$enable_shared" = yes && enable_static=no
 
12300
    fi
 
12301
    ;;
 
12302
  esac
 
12303
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
 
12304
$as_echo "$enable_shared" >&6; }
 
12305
 
 
12306
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
 
12307
$as_echo_n "checking whether to build static libraries... " >&6; }
 
12308
  # Make sure either enable_shared or enable_static is yes.
 
12309
  test "$enable_shared" = yes || enable_static=yes
 
12310
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
 
12311
$as_echo "$enable_static" >&6; }
 
12312
 
 
12313
 
 
12314
 
 
12315
 
 
12316
fi
 
12317
ac_ext=c
 
12318
ac_cpp='$CPP $CPPFLAGS'
 
12319
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
12320
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
12321
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
12322
 
 
12323
CC="$lt_save_CC"
 
12324
 
 
12325
 
 
12326
 
 
12327
 
 
12328
 
 
12329
 
 
12330
 
 
12331
 
 
12332
 
 
12333
 
 
12334
 
 
12335
 
 
12336
 
 
12337
        ac_config_commands="$ac_config_commands libtool"
 
12338
 
 
12339
 
 
12340
 
 
12341
 
 
12342
# Only expand once:
 
12343
 
 
12344
 
 
12345
 
 
12346
VALA_REQUIRED=0.11.6
 
12347
GSSDP_MAX_VERSION=0.12.9999
 
12348
GSSDP_REQUIRED=0.11.0
 
12349
GUPNP_MAX_VERSION=0.18.9999
 
12350
GUPNP_REQUIRED=0.17.1
 
12351
GUPNP_AV_MAX_VERSION=0.10.9999
 
12352
GUPNP_AV_REQUIRED=0.9.0
 
12353
GUPNP_DLNA_MAX_VERSION=0.6.9999
 
12354
GUPNP_DLNA_REQUIRED=0.5.0
 
12355
GUPNP_VALA_REQUIRED=0.9.0
 
12356
GSTREAMER_REQUIRED=0.10.23
 
12357
GIO_REQUIRED=2.26
 
12358
GEE_MAX_VERSION=0.6.9999
 
12359
GEE_REQUIRED=0.5.2
 
12360
UUID_REQUIRED=1.41.3
 
12361
LIBSOUP_MAX_VERSION=2.36.9999
 
12362
LIBSOUP_REQUIRED=2.34.0
 
12363
GTK_REQUIRED=2.90.3
 
12364
 
 
12365
GSTREAMER_TAG_REQUIRED=0.10.28
 
12366
GSTREAMER_APP_REQUIRED=0.10.28
 
12367
LIBSQLITE3_REQUIRED=3.5
 
12368
 
 
12369
 
 
12370
 
 
12371
 
 
12372
 
 
12373
 
 
12374
 
 
12375
 
 
12376
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
 
12377
        if test -n "$ac_tool_prefix"; then
 
12378
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
 
12379
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
 
12380
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12381
$as_echo_n "checking for $ac_word... " >&6; }
 
12382
if ${ac_cv_path_PKG_CONFIG+:} false; then :
 
12383
  $as_echo_n "(cached) " >&6
 
12384
else
 
12385
  case $PKG_CONFIG in
 
12386
  [\\/]* | ?:[\\/]*)
 
12387
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 
12388
  ;;
 
12389
  *)
 
12390
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12391
for as_dir in $PATH
 
12392
do
 
12393
  IFS=$as_save_IFS
 
12394
  test -z "$as_dir" && as_dir=.
 
12395
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12396
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12397
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
12398
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12399
    break 2
 
12400
  fi
 
12401
done
 
12402
  done
 
12403
IFS=$as_save_IFS
 
12404
 
 
12405
  ;;
 
12406
esac
 
12407
fi
 
12408
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 
12409
if test -n "$PKG_CONFIG"; then
 
12410
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
 
12411
$as_echo "$PKG_CONFIG" >&6; }
 
12412
else
 
12413
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12414
$as_echo "no" >&6; }
 
12415
fi
 
12416
 
 
12417
 
 
12418
fi
 
12419
if test -z "$ac_cv_path_PKG_CONFIG"; then
 
12420
  ac_pt_PKG_CONFIG=$PKG_CONFIG
 
12421
  # Extract the first word of "pkg-config", so it can be a program name with args.
 
12422
set dummy pkg-config; ac_word=$2
 
12423
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12424
$as_echo_n "checking for $ac_word... " >&6; }
 
12425
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
 
12426
  $as_echo_n "(cached) " >&6
 
12427
else
 
12428
  case $ac_pt_PKG_CONFIG in
 
12429
  [\\/]* | ?:[\\/]*)
 
12430
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
 
12431
  ;;
 
12432
  *)
 
12433
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12434
for as_dir in $PATH
 
12435
do
 
12436
  IFS=$as_save_IFS
 
12437
  test -z "$as_dir" && as_dir=.
 
12438
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12439
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12440
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
12441
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12442
    break 2
 
12443
  fi
 
12444
done
 
12445
  done
 
12446
IFS=$as_save_IFS
 
12447
 
 
12448
  ;;
 
12449
esac
 
12450
fi
 
12451
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
 
12452
if test -n "$ac_pt_PKG_CONFIG"; then
 
12453
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
 
12454
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
 
12455
else
 
12456
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12457
$as_echo "no" >&6; }
 
12458
fi
 
12459
 
 
12460
  if test "x$ac_pt_PKG_CONFIG" = x; then
 
12461
    PKG_CONFIG=""
 
12462
  else
 
12463
    case $cross_compiling:$ac_tool_warned in
 
12464
yes:)
 
12465
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
12466
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
12467
ac_tool_warned=yes ;;
 
12468
esac
 
12469
    PKG_CONFIG=$ac_pt_PKG_CONFIG
 
12470
  fi
 
12471
else
 
12472
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
 
12473
fi
 
12474
 
 
12475
fi
 
12476
if test -n "$PKG_CONFIG"; then
 
12477
        _pkg_min_version=0.9.0
 
12478
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
 
12479
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
 
12480
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
 
12481
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
12482
$as_echo "yes" >&6; }
 
12483
        else
 
12484
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12485
$as_echo "no" >&6; }
 
12486
                PKG_CONFIG=""
 
12487
        fi
 
12488
fi
 
12489
 
 
12490
pkg_failed=no
 
12491
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGSSDP" >&5
 
12492
$as_echo_n "checking for LIBGSSDP... " >&6; }
 
12493
 
 
12494
if test -n "$LIBGSSDP_CFLAGS"; then
 
12495
    pkg_cv_LIBGSSDP_CFLAGS="$LIBGSSDP_CFLAGS"
 
12496
 elif test -n "$PKG_CONFIG"; then
 
12497
    if test -n "$PKG_CONFIG" && \
 
12498
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gssdp-1.0 >= \$GSSDP_REQUIRED
 
12499
                            gssdp-1.0 <= \$GSSDP_MAX_VERSION\""; } >&5
 
12500
  ($PKG_CONFIG --exists --print-errors "gssdp-1.0 >= $GSSDP_REQUIRED
 
12501
                            gssdp-1.0 <= $GSSDP_MAX_VERSION") 2>&5
 
12502
  ac_status=$?
 
12503
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12504
  test $ac_status = 0; }; then
 
12505
  pkg_cv_LIBGSSDP_CFLAGS=`$PKG_CONFIG --cflags "gssdp-1.0 >= $GSSDP_REQUIRED
 
12506
                            gssdp-1.0 <= $GSSDP_MAX_VERSION" 2>/dev/null`
 
12507
                      test "x$?" != "x0" && pkg_failed=yes
 
12508
else
 
12509
  pkg_failed=yes
 
12510
fi
 
12511
 else
 
12512
    pkg_failed=untried
 
12513
fi
 
12514
if test -n "$LIBGSSDP_LIBS"; then
 
12515
    pkg_cv_LIBGSSDP_LIBS="$LIBGSSDP_LIBS"
 
12516
 elif test -n "$PKG_CONFIG"; then
 
12517
    if test -n "$PKG_CONFIG" && \
 
12518
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gssdp-1.0 >= \$GSSDP_REQUIRED
 
12519
                            gssdp-1.0 <= \$GSSDP_MAX_VERSION\""; } >&5
 
12520
  ($PKG_CONFIG --exists --print-errors "gssdp-1.0 >= $GSSDP_REQUIRED
 
12521
                            gssdp-1.0 <= $GSSDP_MAX_VERSION") 2>&5
 
12522
  ac_status=$?
 
12523
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12524
  test $ac_status = 0; }; then
 
12525
  pkg_cv_LIBGSSDP_LIBS=`$PKG_CONFIG --libs "gssdp-1.0 >= $GSSDP_REQUIRED
 
12526
                            gssdp-1.0 <= $GSSDP_MAX_VERSION" 2>/dev/null`
 
12527
                      test "x$?" != "x0" && pkg_failed=yes
 
12528
else
 
12529
  pkg_failed=yes
 
12530
fi
 
12531
 else
 
12532
    pkg_failed=untried
 
12533
fi
 
12534
 
 
12535
 
 
12536
 
 
12537
if test $pkg_failed = yes; then
 
12538
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12539
$as_echo "no" >&6; }
 
12540
 
 
12541
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
12542
        _pkg_short_errors_supported=yes
 
12543
else
 
12544
        _pkg_short_errors_supported=no
 
12545
fi
 
12546
        if test $_pkg_short_errors_supported = yes; then
 
12547
                LIBGSSDP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gssdp-1.0 >= $GSSDP_REQUIRED
 
12548
                            gssdp-1.0 <= $GSSDP_MAX_VERSION" 2>&1`
 
12549
        else
 
12550
                LIBGSSDP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gssdp-1.0 >= $GSSDP_REQUIRED
 
12551
                            gssdp-1.0 <= $GSSDP_MAX_VERSION" 2>&1`
 
12552
        fi
 
12553
        # Put the nasty error message in config.log where it belongs
 
12554
        echo "$LIBGSSDP_PKG_ERRORS" >&5
 
12555
 
 
12556
        as_fn_error $? "Package requirements (gssdp-1.0 >= $GSSDP_REQUIRED
 
12557
                            gssdp-1.0 <= $GSSDP_MAX_VERSION) were not met:
 
12558
 
 
12559
$LIBGSSDP_PKG_ERRORS
 
12560
 
 
12561
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
12562
installed software in a non-standard prefix.
 
12563
 
 
12564
Alternatively, you may set the environment variables LIBGSSDP_CFLAGS
 
12565
and LIBGSSDP_LIBS to avoid the need to call pkg-config.
 
12566
See the pkg-config man page for more details." "$LINENO" 5
 
12567
elif test $pkg_failed = untried; then
 
12568
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12569
$as_echo "no" >&6; }
 
12570
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
12571
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
12572
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
12573
is in your PATH or set the PKG_CONFIG environment variable to the full
 
12574
path to pkg-config.
 
12575
 
 
12576
Alternatively, you may set the environment variables LIBGSSDP_CFLAGS
 
12577
and LIBGSSDP_LIBS to avoid the need to call pkg-config.
 
12578
See the pkg-config man page for more details.
 
12579
 
 
12580
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
12581
See \`config.log' for more details" "$LINENO" 5; }
 
12582
else
 
12583
        LIBGSSDP_CFLAGS=$pkg_cv_LIBGSSDP_CFLAGS
 
12584
        LIBGSSDP_LIBS=$pkg_cv_LIBGSSDP_LIBS
 
12585
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
12586
$as_echo "yes" >&6; }
 
12587
 
 
12588
fi
 
12589
 
 
12590
pkg_failed=no
 
12591
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGUPNP" >&5
 
12592
$as_echo_n "checking for LIBGUPNP... " >&6; }
 
12593
 
 
12594
if test -n "$LIBGUPNP_CFLAGS"; then
 
12595
    pkg_cv_LIBGUPNP_CFLAGS="$LIBGUPNP_CFLAGS"
 
12596
 elif test -n "$PKG_CONFIG"; then
 
12597
    if test -n "$PKG_CONFIG" && \
 
12598
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-1.0 >= \$GUPNP_REQUIRED
 
12599
                            gupnp-1.0 <= \$GUPNP_MAX_VERSION\""; } >&5
 
12600
  ($PKG_CONFIG --exists --print-errors "gupnp-1.0 >= $GUPNP_REQUIRED
 
12601
                            gupnp-1.0 <= $GUPNP_MAX_VERSION") 2>&5
 
12602
  ac_status=$?
 
12603
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12604
  test $ac_status = 0; }; then
 
12605
  pkg_cv_LIBGUPNP_CFLAGS=`$PKG_CONFIG --cflags "gupnp-1.0 >= $GUPNP_REQUIRED
 
12606
                            gupnp-1.0 <= $GUPNP_MAX_VERSION" 2>/dev/null`
 
12607
                      test "x$?" != "x0" && pkg_failed=yes
 
12608
else
 
12609
  pkg_failed=yes
 
12610
fi
 
12611
 else
 
12612
    pkg_failed=untried
 
12613
fi
 
12614
if test -n "$LIBGUPNP_LIBS"; then
 
12615
    pkg_cv_LIBGUPNP_LIBS="$LIBGUPNP_LIBS"
 
12616
 elif test -n "$PKG_CONFIG"; then
 
12617
    if test -n "$PKG_CONFIG" && \
 
12618
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-1.0 >= \$GUPNP_REQUIRED
 
12619
                            gupnp-1.0 <= \$GUPNP_MAX_VERSION\""; } >&5
 
12620
  ($PKG_CONFIG --exists --print-errors "gupnp-1.0 >= $GUPNP_REQUIRED
 
12621
                            gupnp-1.0 <= $GUPNP_MAX_VERSION") 2>&5
 
12622
  ac_status=$?
 
12623
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12624
  test $ac_status = 0; }; then
 
12625
  pkg_cv_LIBGUPNP_LIBS=`$PKG_CONFIG --libs "gupnp-1.0 >= $GUPNP_REQUIRED
 
12626
                            gupnp-1.0 <= $GUPNP_MAX_VERSION" 2>/dev/null`
 
12627
                      test "x$?" != "x0" && pkg_failed=yes
 
12628
else
 
12629
  pkg_failed=yes
 
12630
fi
 
12631
 else
 
12632
    pkg_failed=untried
 
12633
fi
 
12634
 
 
12635
 
 
12636
 
 
12637
if test $pkg_failed = yes; then
 
12638
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12639
$as_echo "no" >&6; }
 
12640
 
 
12641
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
12642
        _pkg_short_errors_supported=yes
 
12643
else
 
12644
        _pkg_short_errors_supported=no
 
12645
fi
 
12646
        if test $_pkg_short_errors_supported = yes; then
 
12647
                LIBGUPNP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gupnp-1.0 >= $GUPNP_REQUIRED
 
12648
                            gupnp-1.0 <= $GUPNP_MAX_VERSION" 2>&1`
 
12649
        else
 
12650
                LIBGUPNP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gupnp-1.0 >= $GUPNP_REQUIRED
 
12651
                            gupnp-1.0 <= $GUPNP_MAX_VERSION" 2>&1`
 
12652
        fi
 
12653
        # Put the nasty error message in config.log where it belongs
 
12654
        echo "$LIBGUPNP_PKG_ERRORS" >&5
 
12655
 
 
12656
        as_fn_error $? "Package requirements (gupnp-1.0 >= $GUPNP_REQUIRED
 
12657
                            gupnp-1.0 <= $GUPNP_MAX_VERSION) were not met:
 
12658
 
 
12659
$LIBGUPNP_PKG_ERRORS
 
12660
 
 
12661
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
12662
installed software in a non-standard prefix.
 
12663
 
 
12664
Alternatively, you may set the environment variables LIBGUPNP_CFLAGS
 
12665
and LIBGUPNP_LIBS to avoid the need to call pkg-config.
 
12666
See the pkg-config man page for more details." "$LINENO" 5
 
12667
elif test $pkg_failed = untried; then
 
12668
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12669
$as_echo "no" >&6; }
 
12670
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
12671
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
12672
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
12673
is in your PATH or set the PKG_CONFIG environment variable to the full
 
12674
path to pkg-config.
 
12675
 
 
12676
Alternatively, you may set the environment variables LIBGUPNP_CFLAGS
 
12677
and LIBGUPNP_LIBS to avoid the need to call pkg-config.
 
12678
See the pkg-config man page for more details.
 
12679
 
 
12680
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
12681
See \`config.log' for more details" "$LINENO" 5; }
 
12682
else
 
12683
        LIBGUPNP_CFLAGS=$pkg_cv_LIBGUPNP_CFLAGS
 
12684
        LIBGUPNP_LIBS=$pkg_cv_LIBGUPNP_LIBS
 
12685
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
12686
$as_echo "yes" >&6; }
 
12687
 
 
12688
fi
 
12689
 
 
12690
pkg_failed=no
 
12691
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGUPNP_AV" >&5
 
12692
$as_echo_n "checking for LIBGUPNP_AV... " >&6; }
 
12693
 
 
12694
if test -n "$LIBGUPNP_AV_CFLAGS"; then
 
12695
    pkg_cv_LIBGUPNP_AV_CFLAGS="$LIBGUPNP_AV_CFLAGS"
 
12696
 elif test -n "$PKG_CONFIG"; then
 
12697
    if test -n "$PKG_CONFIG" && \
 
12698
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-av-1.0 >= \$GUPNP_AV_REQUIRED
 
12699
                               gupnp-av-1.0 <= \$GUPNP_AV_MAX_VERSION\""; } >&5
 
12700
  ($PKG_CONFIG --exists --print-errors "gupnp-av-1.0 >= $GUPNP_AV_REQUIRED
 
12701
                               gupnp-av-1.0 <= $GUPNP_AV_MAX_VERSION") 2>&5
 
12702
  ac_status=$?
 
12703
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12704
  test $ac_status = 0; }; then
 
12705
  pkg_cv_LIBGUPNP_AV_CFLAGS=`$PKG_CONFIG --cflags "gupnp-av-1.0 >= $GUPNP_AV_REQUIRED
 
12706
                               gupnp-av-1.0 <= $GUPNP_AV_MAX_VERSION" 2>/dev/null`
 
12707
                      test "x$?" != "x0" && pkg_failed=yes
 
12708
else
 
12709
  pkg_failed=yes
 
12710
fi
 
12711
 else
 
12712
    pkg_failed=untried
 
12713
fi
 
12714
if test -n "$LIBGUPNP_AV_LIBS"; then
 
12715
    pkg_cv_LIBGUPNP_AV_LIBS="$LIBGUPNP_AV_LIBS"
 
12716
 elif test -n "$PKG_CONFIG"; then
 
12717
    if test -n "$PKG_CONFIG" && \
 
12718
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-av-1.0 >= \$GUPNP_AV_REQUIRED
 
12719
                               gupnp-av-1.0 <= \$GUPNP_AV_MAX_VERSION\""; } >&5
 
12720
  ($PKG_CONFIG --exists --print-errors "gupnp-av-1.0 >= $GUPNP_AV_REQUIRED
 
12721
                               gupnp-av-1.0 <= $GUPNP_AV_MAX_VERSION") 2>&5
 
12722
  ac_status=$?
 
12723
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12724
  test $ac_status = 0; }; then
 
12725
  pkg_cv_LIBGUPNP_AV_LIBS=`$PKG_CONFIG --libs "gupnp-av-1.0 >= $GUPNP_AV_REQUIRED
 
12726
                               gupnp-av-1.0 <= $GUPNP_AV_MAX_VERSION" 2>/dev/null`
 
12727
                      test "x$?" != "x0" && pkg_failed=yes
 
12728
else
 
12729
  pkg_failed=yes
 
12730
fi
 
12731
 else
 
12732
    pkg_failed=untried
 
12733
fi
 
12734
 
 
12735
 
 
12736
 
 
12737
if test $pkg_failed = yes; then
 
12738
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12739
$as_echo "no" >&6; }
 
12740
 
 
12741
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
12742
        _pkg_short_errors_supported=yes
 
12743
else
 
12744
        _pkg_short_errors_supported=no
 
12745
fi
 
12746
        if test $_pkg_short_errors_supported = yes; then
 
12747
                LIBGUPNP_AV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gupnp-av-1.0 >= $GUPNP_AV_REQUIRED
 
12748
                               gupnp-av-1.0 <= $GUPNP_AV_MAX_VERSION" 2>&1`
 
12749
        else
 
12750
                LIBGUPNP_AV_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gupnp-av-1.0 >= $GUPNP_AV_REQUIRED
 
12751
                               gupnp-av-1.0 <= $GUPNP_AV_MAX_VERSION" 2>&1`
 
12752
        fi
 
12753
        # Put the nasty error message in config.log where it belongs
 
12754
        echo "$LIBGUPNP_AV_PKG_ERRORS" >&5
 
12755
 
 
12756
        as_fn_error $? "Package requirements (gupnp-av-1.0 >= $GUPNP_AV_REQUIRED
 
12757
                               gupnp-av-1.0 <= $GUPNP_AV_MAX_VERSION) were not met:
 
12758
 
 
12759
$LIBGUPNP_AV_PKG_ERRORS
 
12760
 
 
12761
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
12762
installed software in a non-standard prefix.
 
12763
 
 
12764
Alternatively, you may set the environment variables LIBGUPNP_AV_CFLAGS
 
12765
and LIBGUPNP_AV_LIBS to avoid the need to call pkg-config.
 
12766
See the pkg-config man page for more details." "$LINENO" 5
 
12767
elif test $pkg_failed = untried; then
 
12768
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12769
$as_echo "no" >&6; }
 
12770
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
12771
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
12772
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
12773
is in your PATH or set the PKG_CONFIG environment variable to the full
 
12774
path to pkg-config.
 
12775
 
 
12776
Alternatively, you may set the environment variables LIBGUPNP_AV_CFLAGS
 
12777
and LIBGUPNP_AV_LIBS to avoid the need to call pkg-config.
 
12778
See the pkg-config man page for more details.
 
12779
 
 
12780
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
12781
See \`config.log' for more details" "$LINENO" 5; }
 
12782
else
 
12783
        LIBGUPNP_AV_CFLAGS=$pkg_cv_LIBGUPNP_AV_CFLAGS
 
12784
        LIBGUPNP_AV_LIBS=$pkg_cv_LIBGUPNP_AV_LIBS
 
12785
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
12786
$as_echo "yes" >&6; }
 
12787
 
 
12788
fi
 
12789
 
 
12790
pkg_failed=no
 
12791
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGUPNP_DLNA" >&5
 
12792
$as_echo_n "checking for LIBGUPNP_DLNA... " >&6; }
 
12793
 
 
12794
if test -n "$LIBGUPNP_DLNA_CFLAGS"; then
 
12795
    pkg_cv_LIBGUPNP_DLNA_CFLAGS="$LIBGUPNP_DLNA_CFLAGS"
 
12796
 elif test -n "$PKG_CONFIG"; then
 
12797
    if test -n "$PKG_CONFIG" && \
 
12798
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-dlna-1.0 >= \$GUPNP_DLNA_REQUIRED
 
12799
                                 gupnp-dlna-1.0 <= \$GUPNP_DLNA_MAX_VERSION\""; } >&5
 
12800
  ($PKG_CONFIG --exists --print-errors "gupnp-dlna-1.0 >= $GUPNP_DLNA_REQUIRED
 
12801
                                 gupnp-dlna-1.0 <= $GUPNP_DLNA_MAX_VERSION") 2>&5
 
12802
  ac_status=$?
 
12803
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12804
  test $ac_status = 0; }; then
 
12805
  pkg_cv_LIBGUPNP_DLNA_CFLAGS=`$PKG_CONFIG --cflags "gupnp-dlna-1.0 >= $GUPNP_DLNA_REQUIRED
 
12806
                                 gupnp-dlna-1.0 <= $GUPNP_DLNA_MAX_VERSION" 2>/dev/null`
 
12807
                      test "x$?" != "x0" && pkg_failed=yes
 
12808
else
 
12809
  pkg_failed=yes
 
12810
fi
 
12811
 else
 
12812
    pkg_failed=untried
 
12813
fi
 
12814
if test -n "$LIBGUPNP_DLNA_LIBS"; then
 
12815
    pkg_cv_LIBGUPNP_DLNA_LIBS="$LIBGUPNP_DLNA_LIBS"
 
12816
 elif test -n "$PKG_CONFIG"; then
 
12817
    if test -n "$PKG_CONFIG" && \
 
12818
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-dlna-1.0 >= \$GUPNP_DLNA_REQUIRED
 
12819
                                 gupnp-dlna-1.0 <= \$GUPNP_DLNA_MAX_VERSION\""; } >&5
 
12820
  ($PKG_CONFIG --exists --print-errors "gupnp-dlna-1.0 >= $GUPNP_DLNA_REQUIRED
 
12821
                                 gupnp-dlna-1.0 <= $GUPNP_DLNA_MAX_VERSION") 2>&5
 
12822
  ac_status=$?
 
12823
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12824
  test $ac_status = 0; }; then
 
12825
  pkg_cv_LIBGUPNP_DLNA_LIBS=`$PKG_CONFIG --libs "gupnp-dlna-1.0 >= $GUPNP_DLNA_REQUIRED
 
12826
                                 gupnp-dlna-1.0 <= $GUPNP_DLNA_MAX_VERSION" 2>/dev/null`
 
12827
                      test "x$?" != "x0" && pkg_failed=yes
 
12828
else
 
12829
  pkg_failed=yes
 
12830
fi
 
12831
 else
 
12832
    pkg_failed=untried
 
12833
fi
 
12834
 
 
12835
 
 
12836
 
 
12837
if test $pkg_failed = yes; then
 
12838
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12839
$as_echo "no" >&6; }
 
12840
 
 
12841
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
12842
        _pkg_short_errors_supported=yes
 
12843
else
 
12844
        _pkg_short_errors_supported=no
 
12845
fi
 
12846
        if test $_pkg_short_errors_supported = yes; then
 
12847
                LIBGUPNP_DLNA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gupnp-dlna-1.0 >= $GUPNP_DLNA_REQUIRED
 
12848
                                 gupnp-dlna-1.0 <= $GUPNP_DLNA_MAX_VERSION" 2>&1`
 
12849
        else
 
12850
                LIBGUPNP_DLNA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gupnp-dlna-1.0 >= $GUPNP_DLNA_REQUIRED
 
12851
                                 gupnp-dlna-1.0 <= $GUPNP_DLNA_MAX_VERSION" 2>&1`
 
12852
        fi
 
12853
        # Put the nasty error message in config.log where it belongs
 
12854
        echo "$LIBGUPNP_DLNA_PKG_ERRORS" >&5
 
12855
 
 
12856
        as_fn_error $? "Package requirements (gupnp-dlna-1.0 >= $GUPNP_DLNA_REQUIRED
 
12857
                                 gupnp-dlna-1.0 <= $GUPNP_DLNA_MAX_VERSION) were not met:
 
12858
 
 
12859
$LIBGUPNP_DLNA_PKG_ERRORS
 
12860
 
 
12861
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
12862
installed software in a non-standard prefix.
 
12863
 
 
12864
Alternatively, you may set the environment variables LIBGUPNP_DLNA_CFLAGS
 
12865
and LIBGUPNP_DLNA_LIBS to avoid the need to call pkg-config.
 
12866
See the pkg-config man page for more details." "$LINENO" 5
 
12867
elif test $pkg_failed = untried; then
 
12868
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12869
$as_echo "no" >&6; }
 
12870
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
12871
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
12872
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
12873
is in your PATH or set the PKG_CONFIG environment variable to the full
 
12874
path to pkg-config.
 
12875
 
 
12876
Alternatively, you may set the environment variables LIBGUPNP_DLNA_CFLAGS
 
12877
and LIBGUPNP_DLNA_LIBS to avoid the need to call pkg-config.
 
12878
See the pkg-config man page for more details.
 
12879
 
 
12880
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
12881
See \`config.log' for more details" "$LINENO" 5; }
 
12882
else
 
12883
        LIBGUPNP_DLNA_CFLAGS=$pkg_cv_LIBGUPNP_DLNA_CFLAGS
 
12884
        LIBGUPNP_DLNA_LIBS=$pkg_cv_LIBGUPNP_DLNA_LIBS
 
12885
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
12886
$as_echo "yes" >&6; }
 
12887
 
 
12888
fi
 
12889
 
 
12890
pkg_failed=no
 
12891
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGSTREAMER" >&5
 
12892
$as_echo_n "checking for LIBGSTREAMER... " >&6; }
 
12893
 
 
12894
if test -n "$LIBGSTREAMER_CFLAGS"; then
 
12895
    pkg_cv_LIBGSTREAMER_CFLAGS="$LIBGSTREAMER_CFLAGS"
 
12896
 elif test -n "$PKG_CONFIG"; then
 
12897
    if test -n "$PKG_CONFIG" && \
 
12898
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-0.10 >= \$GSTREAMER_REQUIRED\""; } >&5
 
12899
  ($PKG_CONFIG --exists --print-errors "gstreamer-0.10 >= $GSTREAMER_REQUIRED") 2>&5
 
12900
  ac_status=$?
 
12901
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12902
  test $ac_status = 0; }; then
 
12903
  pkg_cv_LIBGSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-0.10 >= $GSTREAMER_REQUIRED" 2>/dev/null`
 
12904
                      test "x$?" != "x0" && pkg_failed=yes
 
12905
else
 
12906
  pkg_failed=yes
 
12907
fi
 
12908
 else
 
12909
    pkg_failed=untried
 
12910
fi
 
12911
if test -n "$LIBGSTREAMER_LIBS"; then
 
12912
    pkg_cv_LIBGSTREAMER_LIBS="$LIBGSTREAMER_LIBS"
 
12913
 elif test -n "$PKG_CONFIG"; then
 
12914
    if test -n "$PKG_CONFIG" && \
 
12915
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-0.10 >= \$GSTREAMER_REQUIRED\""; } >&5
 
12916
  ($PKG_CONFIG --exists --print-errors "gstreamer-0.10 >= $GSTREAMER_REQUIRED") 2>&5
 
12917
  ac_status=$?
 
12918
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12919
  test $ac_status = 0; }; then
 
12920
  pkg_cv_LIBGSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamer-0.10 >= $GSTREAMER_REQUIRED" 2>/dev/null`
 
12921
                      test "x$?" != "x0" && pkg_failed=yes
 
12922
else
 
12923
  pkg_failed=yes
 
12924
fi
 
12925
 else
 
12926
    pkg_failed=untried
 
12927
fi
 
12928
 
 
12929
 
 
12930
 
 
12931
if test $pkg_failed = yes; then
 
12932
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12933
$as_echo "no" >&6; }
 
12934
 
 
12935
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
12936
        _pkg_short_errors_supported=yes
 
12937
else
 
12938
        _pkg_short_errors_supported=no
 
12939
fi
 
12940
        if test $_pkg_short_errors_supported = yes; then
 
12941
                LIBGSTREAMER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gstreamer-0.10 >= $GSTREAMER_REQUIRED" 2>&1`
 
12942
        else
 
12943
                LIBGSTREAMER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gstreamer-0.10 >= $GSTREAMER_REQUIRED" 2>&1`
 
12944
        fi
 
12945
        # Put the nasty error message in config.log where it belongs
 
12946
        echo "$LIBGSTREAMER_PKG_ERRORS" >&5
 
12947
 
 
12948
        as_fn_error $? "Package requirements (gstreamer-0.10 >= $GSTREAMER_REQUIRED) were not met:
 
12949
 
 
12950
$LIBGSTREAMER_PKG_ERRORS
 
12951
 
 
12952
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
12953
installed software in a non-standard prefix.
 
12954
 
 
12955
Alternatively, you may set the environment variables LIBGSTREAMER_CFLAGS
 
12956
and LIBGSTREAMER_LIBS to avoid the need to call pkg-config.
 
12957
See the pkg-config man page for more details." "$LINENO" 5
 
12958
elif test $pkg_failed = untried; then
 
12959
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12960
$as_echo "no" >&6; }
 
12961
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
12962
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
12963
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
12964
is in your PATH or set the PKG_CONFIG environment variable to the full
 
12965
path to pkg-config.
 
12966
 
 
12967
Alternatively, you may set the environment variables LIBGSTREAMER_CFLAGS
 
12968
and LIBGSTREAMER_LIBS to avoid the need to call pkg-config.
 
12969
See the pkg-config man page for more details.
 
12970
 
 
12971
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
12972
See \`config.log' for more details" "$LINENO" 5; }
 
12973
else
 
12974
        LIBGSTREAMER_CFLAGS=$pkg_cv_LIBGSTREAMER_CFLAGS
 
12975
        LIBGSTREAMER_LIBS=$pkg_cv_LIBGSTREAMER_LIBS
 
12976
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
12977
$as_echo "yes" >&6; }
 
12978
 
 
12979
fi
 
12980
 
 
12981
pkg_failed=no
 
12982
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSTREAMER_BASE" >&5
 
12983
$as_echo_n "checking for GSTREAMER_BASE... " >&6; }
 
12984
 
 
12985
if test -n "$GSTREAMER_BASE_CFLAGS"; then
 
12986
    pkg_cv_GSTREAMER_BASE_CFLAGS="$GSTREAMER_BASE_CFLAGS"
 
12987
 elif test -n "$PKG_CONFIG"; then
 
12988
    if test -n "$PKG_CONFIG" && \
 
12989
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-base-0.10 >= \$GSTREAMER_REQUIRED\""; } >&5
 
12990
  ($PKG_CONFIG --exists --print-errors "gstreamer-base-0.10 >= $GSTREAMER_REQUIRED") 2>&5
 
12991
  ac_status=$?
 
12992
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12993
  test $ac_status = 0; }; then
 
12994
  pkg_cv_GSTREAMER_BASE_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-base-0.10 >= $GSTREAMER_REQUIRED" 2>/dev/null`
 
12995
                      test "x$?" != "x0" && pkg_failed=yes
 
12996
else
 
12997
  pkg_failed=yes
 
12998
fi
 
12999
 else
 
13000
    pkg_failed=untried
 
13001
fi
 
13002
if test -n "$GSTREAMER_BASE_LIBS"; then
 
13003
    pkg_cv_GSTREAMER_BASE_LIBS="$GSTREAMER_BASE_LIBS"
 
13004
 elif test -n "$PKG_CONFIG"; then
 
13005
    if test -n "$PKG_CONFIG" && \
 
13006
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-base-0.10 >= \$GSTREAMER_REQUIRED\""; } >&5
 
13007
  ($PKG_CONFIG --exists --print-errors "gstreamer-base-0.10 >= $GSTREAMER_REQUIRED") 2>&5
 
13008
  ac_status=$?
 
13009
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13010
  test $ac_status = 0; }; then
 
13011
  pkg_cv_GSTREAMER_BASE_LIBS=`$PKG_CONFIG --libs "gstreamer-base-0.10 >= $GSTREAMER_REQUIRED" 2>/dev/null`
 
13012
                      test "x$?" != "x0" && pkg_failed=yes
 
13013
else
 
13014
  pkg_failed=yes
 
13015
fi
 
13016
 else
 
13017
    pkg_failed=untried
 
13018
fi
 
13019
 
 
13020
 
 
13021
 
 
13022
if test $pkg_failed = yes; then
 
13023
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13024
$as_echo "no" >&6; }
 
13025
 
 
13026
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
13027
        _pkg_short_errors_supported=yes
 
13028
else
 
13029
        _pkg_short_errors_supported=no
 
13030
fi
 
13031
        if test $_pkg_short_errors_supported = yes; then
 
13032
                GSTREAMER_BASE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gstreamer-base-0.10 >= $GSTREAMER_REQUIRED" 2>&1`
 
13033
        else
 
13034
                GSTREAMER_BASE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gstreamer-base-0.10 >= $GSTREAMER_REQUIRED" 2>&1`
 
13035
        fi
 
13036
        # Put the nasty error message in config.log where it belongs
 
13037
        echo "$GSTREAMER_BASE_PKG_ERRORS" >&5
 
13038
 
 
13039
        as_fn_error $? "Package requirements (gstreamer-base-0.10 >= $GSTREAMER_REQUIRED) were not met:
 
13040
 
 
13041
$GSTREAMER_BASE_PKG_ERRORS
 
13042
 
 
13043
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
13044
installed software in a non-standard prefix.
 
13045
 
 
13046
Alternatively, you may set the environment variables GSTREAMER_BASE_CFLAGS
 
13047
and GSTREAMER_BASE_LIBS to avoid the need to call pkg-config.
 
13048
See the pkg-config man page for more details." "$LINENO" 5
 
13049
elif test $pkg_failed = untried; then
 
13050
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13051
$as_echo "no" >&6; }
 
13052
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
13053
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
13054
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
13055
is in your PATH or set the PKG_CONFIG environment variable to the full
 
13056
path to pkg-config.
 
13057
 
 
13058
Alternatively, you may set the environment variables GSTREAMER_BASE_CFLAGS
 
13059
and GSTREAMER_BASE_LIBS to avoid the need to call pkg-config.
 
13060
See the pkg-config man page for more details.
 
13061
 
 
13062
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
13063
See \`config.log' for more details" "$LINENO" 5; }
 
13064
else
 
13065
        GSTREAMER_BASE_CFLAGS=$pkg_cv_GSTREAMER_BASE_CFLAGS
 
13066
        GSTREAMER_BASE_LIBS=$pkg_cv_GSTREAMER_BASE_LIBS
 
13067
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
13068
$as_echo "yes" >&6; }
 
13069
 
 
13070
fi
 
13071
 
 
13072
pkg_failed=no
 
13073
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGIO" >&5
 
13074
$as_echo_n "checking for LIBGIO... " >&6; }
 
13075
 
 
13076
if test -n "$LIBGIO_CFLAGS"; then
 
13077
    pkg_cv_LIBGIO_CFLAGS="$LIBGIO_CFLAGS"
 
13078
 elif test -n "$PKG_CONFIG"; then
 
13079
    if test -n "$PKG_CONFIG" && \
 
13080
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= \$GIO_REQUIRED\""; } >&5
 
13081
  ($PKG_CONFIG --exists --print-errors "gio-2.0 >= $GIO_REQUIRED") 2>&5
 
13082
  ac_status=$?
 
13083
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13084
  test $ac_status = 0; }; then
 
13085
  pkg_cv_LIBGIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= $GIO_REQUIRED" 2>/dev/null`
 
13086
                      test "x$?" != "x0" && pkg_failed=yes
 
13087
else
 
13088
  pkg_failed=yes
 
13089
fi
 
13090
 else
 
13091
    pkg_failed=untried
 
13092
fi
 
13093
if test -n "$LIBGIO_LIBS"; then
 
13094
    pkg_cv_LIBGIO_LIBS="$LIBGIO_LIBS"
 
13095
 elif test -n "$PKG_CONFIG"; then
 
13096
    if test -n "$PKG_CONFIG" && \
 
13097
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= \$GIO_REQUIRED\""; } >&5
 
13098
  ($PKG_CONFIG --exists --print-errors "gio-2.0 >= $GIO_REQUIRED") 2>&5
 
13099
  ac_status=$?
 
13100
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13101
  test $ac_status = 0; }; then
 
13102
  pkg_cv_LIBGIO_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= $GIO_REQUIRED" 2>/dev/null`
 
13103
                      test "x$?" != "x0" && pkg_failed=yes
 
13104
else
 
13105
  pkg_failed=yes
 
13106
fi
 
13107
 else
 
13108
    pkg_failed=untried
 
13109
fi
 
13110
 
 
13111
 
 
13112
 
 
13113
if test $pkg_failed = yes; then
 
13114
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13115
$as_echo "no" >&6; }
 
13116
 
 
13117
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
13118
        _pkg_short_errors_supported=yes
 
13119
else
 
13120
        _pkg_short_errors_supported=no
 
13121
fi
 
13122
        if test $_pkg_short_errors_supported = yes; then
 
13123
                LIBGIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= $GIO_REQUIRED" 2>&1`
 
13124
        else
 
13125
                LIBGIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= $GIO_REQUIRED" 2>&1`
 
13126
        fi
 
13127
        # Put the nasty error message in config.log where it belongs
 
13128
        echo "$LIBGIO_PKG_ERRORS" >&5
 
13129
 
 
13130
        as_fn_error $? "Package requirements (gio-2.0 >= $GIO_REQUIRED) were not met:
 
13131
 
 
13132
$LIBGIO_PKG_ERRORS
 
13133
 
 
13134
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
13135
installed software in a non-standard prefix.
 
13136
 
 
13137
Alternatively, you may set the environment variables LIBGIO_CFLAGS
 
13138
and LIBGIO_LIBS to avoid the need to call pkg-config.
 
13139
See the pkg-config man page for more details." "$LINENO" 5
 
13140
elif test $pkg_failed = untried; then
 
13141
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13142
$as_echo "no" >&6; }
 
13143
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
13144
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
13145
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
13146
is in your PATH or set the PKG_CONFIG environment variable to the full
 
13147
path to pkg-config.
 
13148
 
 
13149
Alternatively, you may set the environment variables LIBGIO_CFLAGS
 
13150
and LIBGIO_LIBS to avoid the need to call pkg-config.
 
13151
See the pkg-config man page for more details.
 
13152
 
 
13153
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
13154
See \`config.log' for more details" "$LINENO" 5; }
 
13155
else
 
13156
        LIBGIO_CFLAGS=$pkg_cv_LIBGIO_CFLAGS
 
13157
        LIBGIO_LIBS=$pkg_cv_LIBGIO_LIBS
 
13158
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
13159
$as_echo "yes" >&6; }
 
13160
 
 
13161
fi
 
13162
 
 
13163
pkg_failed=no
 
13164
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GEE" >&5
 
13165
$as_echo_n "checking for GEE... " >&6; }
 
13166
 
 
13167
if test -n "$GEE_CFLAGS"; then
 
13168
    pkg_cv_GEE_CFLAGS="$GEE_CFLAGS"
 
13169
 elif test -n "$PKG_CONFIG"; then
 
13170
    if test -n "$PKG_CONFIG" && \
 
13171
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gee-1.0 >= \$GEE_REQUIRED\""; } >&5
 
13172
  ($PKG_CONFIG --exists --print-errors "gee-1.0 >= $GEE_REQUIRED") 2>&5
 
13173
  ac_status=$?
 
13174
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13175
  test $ac_status = 0; }; then
 
13176
  pkg_cv_GEE_CFLAGS=`$PKG_CONFIG --cflags "gee-1.0 >= $GEE_REQUIRED" 2>/dev/null`
 
13177
                      test "x$?" != "x0" && pkg_failed=yes
 
13178
else
 
13179
  pkg_failed=yes
 
13180
fi
 
13181
 else
 
13182
    pkg_failed=untried
 
13183
fi
 
13184
if test -n "$GEE_LIBS"; then
 
13185
    pkg_cv_GEE_LIBS="$GEE_LIBS"
 
13186
 elif test -n "$PKG_CONFIG"; then
 
13187
    if test -n "$PKG_CONFIG" && \
 
13188
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gee-1.0 >= \$GEE_REQUIRED\""; } >&5
 
13189
  ($PKG_CONFIG --exists --print-errors "gee-1.0 >= $GEE_REQUIRED") 2>&5
 
13190
  ac_status=$?
 
13191
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13192
  test $ac_status = 0; }; then
 
13193
  pkg_cv_GEE_LIBS=`$PKG_CONFIG --libs "gee-1.0 >= $GEE_REQUIRED" 2>/dev/null`
 
13194
                      test "x$?" != "x0" && pkg_failed=yes
 
13195
else
 
13196
  pkg_failed=yes
 
13197
fi
 
13198
 else
 
13199
    pkg_failed=untried
 
13200
fi
 
13201
 
 
13202
 
 
13203
 
 
13204
if test $pkg_failed = yes; then
 
13205
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13206
$as_echo "no" >&6; }
 
13207
 
 
13208
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
13209
        _pkg_short_errors_supported=yes
 
13210
else
 
13211
        _pkg_short_errors_supported=no
 
13212
fi
 
13213
        if test $_pkg_short_errors_supported = yes; then
 
13214
                GEE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gee-1.0 >= $GEE_REQUIRED" 2>&1`
 
13215
        else
 
13216
                GEE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gee-1.0 >= $GEE_REQUIRED" 2>&1`
 
13217
        fi
 
13218
        # Put the nasty error message in config.log where it belongs
 
13219
        echo "$GEE_PKG_ERRORS" >&5
 
13220
 
 
13221
        as_fn_error $? "Package requirements (gee-1.0 >= $GEE_REQUIRED) were not met:
 
13222
 
 
13223
$GEE_PKG_ERRORS
 
13224
 
 
13225
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
13226
installed software in a non-standard prefix.
 
13227
 
 
13228
Alternatively, you may set the environment variables GEE_CFLAGS
 
13229
and GEE_LIBS to avoid the need to call pkg-config.
 
13230
See the pkg-config man page for more details." "$LINENO" 5
 
13231
elif test $pkg_failed = untried; then
 
13232
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13233
$as_echo "no" >&6; }
 
13234
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
13235
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
13236
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
13237
is in your PATH or set the PKG_CONFIG environment variable to the full
 
13238
path to pkg-config.
 
13239
 
 
13240
Alternatively, you may set the environment variables GEE_CFLAGS
 
13241
and GEE_LIBS to avoid the need to call pkg-config.
 
13242
See the pkg-config man page for more details.
 
13243
 
 
13244
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
13245
See \`config.log' for more details" "$LINENO" 5; }
 
13246
else
 
13247
        GEE_CFLAGS=$pkg_cv_GEE_CFLAGS
 
13248
        GEE_LIBS=$pkg_cv_GEE_LIBS
 
13249
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
13250
$as_echo "yes" >&6; }
 
13251
 
 
13252
fi
 
13253
 
 
13254
pkg_failed=no
 
13255
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for UUID" >&5
 
13256
$as_echo_n "checking for UUID... " >&6; }
 
13257
 
 
13258
if test -n "$UUID_CFLAGS"; then
 
13259
    pkg_cv_UUID_CFLAGS="$UUID_CFLAGS"
 
13260
 elif test -n "$PKG_CONFIG"; then
 
13261
    if test -n "$PKG_CONFIG" && \
 
13262
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid >= \$UUID_REQUIRED\""; } >&5
 
13263
  ($PKG_CONFIG --exists --print-errors "uuid >= $UUID_REQUIRED") 2>&5
 
13264
  ac_status=$?
 
13265
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13266
  test $ac_status = 0; }; then
 
13267
  pkg_cv_UUID_CFLAGS=`$PKG_CONFIG --cflags "uuid >= $UUID_REQUIRED" 2>/dev/null`
 
13268
                      test "x$?" != "x0" && pkg_failed=yes
 
13269
else
 
13270
  pkg_failed=yes
 
13271
fi
 
13272
 else
 
13273
    pkg_failed=untried
 
13274
fi
 
13275
if test -n "$UUID_LIBS"; then
 
13276
    pkg_cv_UUID_LIBS="$UUID_LIBS"
 
13277
 elif test -n "$PKG_CONFIG"; then
 
13278
    if test -n "$PKG_CONFIG" && \
 
13279
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid >= \$UUID_REQUIRED\""; } >&5
 
13280
  ($PKG_CONFIG --exists --print-errors "uuid >= $UUID_REQUIRED") 2>&5
 
13281
  ac_status=$?
 
13282
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13283
  test $ac_status = 0; }; then
 
13284
  pkg_cv_UUID_LIBS=`$PKG_CONFIG --libs "uuid >= $UUID_REQUIRED" 2>/dev/null`
 
13285
                      test "x$?" != "x0" && pkg_failed=yes
 
13286
else
 
13287
  pkg_failed=yes
 
13288
fi
 
13289
 else
 
13290
    pkg_failed=untried
 
13291
fi
 
13292
 
 
13293
 
 
13294
 
 
13295
if test $pkg_failed = yes; then
 
13296
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13297
$as_echo "no" >&6; }
 
13298
 
 
13299
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
13300
        _pkg_short_errors_supported=yes
 
13301
else
 
13302
        _pkg_short_errors_supported=no
 
13303
fi
 
13304
        if test $_pkg_short_errors_supported = yes; then
 
13305
                UUID_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "uuid >= $UUID_REQUIRED" 2>&1`
 
13306
        else
 
13307
                UUID_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "uuid >= $UUID_REQUIRED" 2>&1`
 
13308
        fi
 
13309
        # Put the nasty error message in config.log where it belongs
 
13310
        echo "$UUID_PKG_ERRORS" >&5
 
13311
 
 
13312
        as_fn_error $? "Package requirements (uuid >= $UUID_REQUIRED) were not met:
 
13313
 
 
13314
$UUID_PKG_ERRORS
 
13315
 
 
13316
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
13317
installed software in a non-standard prefix.
 
13318
 
 
13319
Alternatively, you may set the environment variables UUID_CFLAGS
 
13320
and UUID_LIBS to avoid the need to call pkg-config.
 
13321
See the pkg-config man page for more details." "$LINENO" 5
 
13322
elif test $pkg_failed = untried; then
 
13323
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13324
$as_echo "no" >&6; }
 
13325
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
13326
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
13327
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
13328
is in your PATH or set the PKG_CONFIG environment variable to the full
 
13329
path to pkg-config.
 
13330
 
 
13331
Alternatively, you may set the environment variables UUID_CFLAGS
 
13332
and UUID_LIBS to avoid the need to call pkg-config.
 
13333
See the pkg-config man page for more details.
 
13334
 
 
13335
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
13336
See \`config.log' for more details" "$LINENO" 5; }
 
13337
else
 
13338
        UUID_CFLAGS=$pkg_cv_UUID_CFLAGS
 
13339
        UUID_LIBS=$pkg_cv_UUID_LIBS
 
13340
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
13341
$as_echo "yes" >&6; }
 
13342
 
 
13343
fi
 
13344
 
 
13345
pkg_failed=no
 
13346
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBSOUP" >&5
 
13347
$as_echo_n "checking for LIBSOUP... " >&6; }
 
13348
 
 
13349
if test -n "$LIBSOUP_CFLAGS"; then
 
13350
    pkg_cv_LIBSOUP_CFLAGS="$LIBSOUP_CFLAGS"
 
13351
 elif test -n "$PKG_CONFIG"; then
 
13352
    if test -n "$PKG_CONFIG" && \
 
13353
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= \$LIBSOUP_REQUIRED
 
13354
                           libsoup-2.4 <= \$LIBSOUP_MAX_VERSION\""; } >&5
 
13355
  ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= $LIBSOUP_REQUIRED
 
13356
                           libsoup-2.4 <= $LIBSOUP_MAX_VERSION") 2>&5
 
13357
  ac_status=$?
 
13358
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13359
  test $ac_status = 0; }; then
 
13360
  pkg_cv_LIBSOUP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4 >= $LIBSOUP_REQUIRED
 
13361
                           libsoup-2.4 <= $LIBSOUP_MAX_VERSION" 2>/dev/null`
 
13362
                      test "x$?" != "x0" && pkg_failed=yes
 
13363
else
 
13364
  pkg_failed=yes
 
13365
fi
 
13366
 else
 
13367
    pkg_failed=untried
 
13368
fi
 
13369
if test -n "$LIBSOUP_LIBS"; then
 
13370
    pkg_cv_LIBSOUP_LIBS="$LIBSOUP_LIBS"
 
13371
 elif test -n "$PKG_CONFIG"; then
 
13372
    if test -n "$PKG_CONFIG" && \
 
13373
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= \$LIBSOUP_REQUIRED
 
13374
                           libsoup-2.4 <= \$LIBSOUP_MAX_VERSION\""; } >&5
 
13375
  ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= $LIBSOUP_REQUIRED
 
13376
                           libsoup-2.4 <= $LIBSOUP_MAX_VERSION") 2>&5
 
13377
  ac_status=$?
 
13378
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13379
  test $ac_status = 0; }; then
 
13380
  pkg_cv_LIBSOUP_LIBS=`$PKG_CONFIG --libs "libsoup-2.4 >= $LIBSOUP_REQUIRED
 
13381
                           libsoup-2.4 <= $LIBSOUP_MAX_VERSION" 2>/dev/null`
 
13382
                      test "x$?" != "x0" && pkg_failed=yes
 
13383
else
 
13384
  pkg_failed=yes
 
13385
fi
 
13386
 else
 
13387
    pkg_failed=untried
 
13388
fi
 
13389
 
 
13390
 
 
13391
 
 
13392
if test $pkg_failed = yes; then
 
13393
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13394
$as_echo "no" >&6; }
 
13395
 
 
13396
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
13397
        _pkg_short_errors_supported=yes
 
13398
else
 
13399
        _pkg_short_errors_supported=no
 
13400
fi
 
13401
        if test $_pkg_short_errors_supported = yes; then
 
13402
                LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsoup-2.4 >= $LIBSOUP_REQUIRED
 
13403
                           libsoup-2.4 <= $LIBSOUP_MAX_VERSION" 2>&1`
 
13404
        else
 
13405
                LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsoup-2.4 >= $LIBSOUP_REQUIRED
 
13406
                           libsoup-2.4 <= $LIBSOUP_MAX_VERSION" 2>&1`
 
13407
        fi
 
13408
        # Put the nasty error message in config.log where it belongs
 
13409
        echo "$LIBSOUP_PKG_ERRORS" >&5
 
13410
 
 
13411
        as_fn_error $? "Package requirements (libsoup-2.4 >= $LIBSOUP_REQUIRED
 
13412
                           libsoup-2.4 <= $LIBSOUP_MAX_VERSION) were not met:
 
13413
 
 
13414
$LIBSOUP_PKG_ERRORS
 
13415
 
 
13416
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
13417
installed software in a non-standard prefix.
 
13418
 
 
13419
Alternatively, you may set the environment variables LIBSOUP_CFLAGS
 
13420
and LIBSOUP_LIBS to avoid the need to call pkg-config.
 
13421
See the pkg-config man page for more details." "$LINENO" 5
 
13422
elif test $pkg_failed = untried; then
 
13423
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13424
$as_echo "no" >&6; }
 
13425
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
13426
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
13427
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
13428
is in your PATH or set the PKG_CONFIG environment variable to the full
 
13429
path to pkg-config.
 
13430
 
 
13431
Alternatively, you may set the environment variables LIBSOUP_CFLAGS
 
13432
and LIBSOUP_LIBS to avoid the need to call pkg-config.
 
13433
See the pkg-config man page for more details.
 
13434
 
 
13435
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
13436
See \`config.log' for more details" "$LINENO" 5; }
 
13437
else
 
13438
        LIBSOUP_CFLAGS=$pkg_cv_LIBSOUP_CFLAGS
 
13439
        LIBSOUP_LIBS=$pkg_cv_LIBSOUP_LIBS
 
13440
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
13441
$as_echo "yes" >&6; }
 
13442
 
 
13443
fi
 
13444
 
 
13445
GLIB_GENMARSHAL=`pkg-config --variable=glib_genmarshal glib-2.0`
 
13446
 
 
13447
 
 
13448
 
 
13449
 
 
13450
    # Check whether --enable-test-plugin was given.
 
13451
if test "${enable_test_plugin+set}" = set; then :
 
13452
  enableval=$enable_test_plugin;
 
13453
else
 
13454
  enable_test_plugin=no
 
13455
fi
 
13456
 
 
13457
    ac_config_files="$ac_config_files src/plugins/test/Makefile"
 
13458
 
 
13459
     if test "x$enable_test_plugin" = "xyes"; then
 
13460
  BUILD_TEST_PLUGIN_TRUE=
 
13461
  BUILD_TEST_PLUGIN_FALSE='#'
 
13462
else
 
13463
  BUILD_TEST_PLUGIN_TRUE='#'
 
13464
  BUILD_TEST_PLUGIN_FALSE=
 
13465
fi
 
13466
 
 
13467
 
 
13468
    rygel_stamp_files="$rygel_stamp_files $srcdir/src/plugins/test/librygel_test_la_vala.stamp"
 
13469
 
 
13470
 
 
13471
 
 
13472
 
 
13473
 
 
13474
    # Check whether --enable-tracker-plugin was given.
 
13475
if test "${enable_tracker_plugin+set}" = set; then :
 
13476
  enableval=$enable_tracker_plugin;
 
13477
else
 
13478
  enable_tracker_plugin=yes
 
13479
fi
 
13480
 
 
13481
    ac_config_files="$ac_config_files src/plugins/tracker/Makefile"
 
13482
 
 
13483
     if test "x$enable_tracker_plugin" = "xyes"; then
 
13484
  BUILD_TRACKER_PLUGIN_TRUE=
 
13485
  BUILD_TRACKER_PLUGIN_FALSE='#'
 
13486
else
 
13487
  BUILD_TRACKER_PLUGIN_TRUE='#'
 
13488
  BUILD_TRACKER_PLUGIN_FALSE=
 
13489
fi
 
13490
 
 
13491
 
 
13492
    rygel_stamp_files="$rygel_stamp_files $srcdir/src/plugins/tracker/librygel_tracker_la_vala.stamp"
 
13493
 
 
13494
 
 
13495
 
 
13496
 
 
13497
 
 
13498
    # Check whether --enable-external-plugin was given.
 
13499
if test "${enable_external_plugin+set}" = set; then :
 
13500
  enableval=$enable_external_plugin;
 
13501
else
 
13502
  enable_external_plugin=yes
 
13503
fi
 
13504
 
 
13505
    ac_config_files="$ac_config_files src/plugins/external/Makefile"
 
13506
 
 
13507
     if test "x$enable_external_plugin" = "xyes"; then
 
13508
  BUILD_EXTERNAL_PLUGIN_TRUE=
 
13509
  BUILD_EXTERNAL_PLUGIN_FALSE='#'
 
13510
else
 
13511
  BUILD_EXTERNAL_PLUGIN_TRUE='#'
 
13512
  BUILD_EXTERNAL_PLUGIN_FALSE=
 
13513
fi
 
13514
 
 
13515
 
 
13516
    rygel_stamp_files="$rygel_stamp_files $srcdir/src/plugins/external/librygel_external_la_vala.stamp"
 
13517
 
 
13518
 
 
13519
 
 
13520
 
 
13521
 
 
13522
    # Check whether --enable-mpris-plugin was given.
 
13523
if test "${enable_mpris_plugin+set}" = set; then :
 
13524
  enableval=$enable_mpris_plugin;
 
13525
else
 
13526
  enable_mpris_plugin=yes
 
13527
fi
 
13528
 
 
13529
    ac_config_files="$ac_config_files src/plugins/mpris/Makefile"
 
13530
 
 
13531
     if test "x$enable_mpris_plugin" = "xyes"; then
 
13532
  BUILD_MPRIS_PLUGIN_TRUE=
 
13533
  BUILD_MPRIS_PLUGIN_FALSE='#'
 
13534
else
 
13535
  BUILD_MPRIS_PLUGIN_TRUE='#'
 
13536
  BUILD_MPRIS_PLUGIN_FALSE=
 
13537
fi
 
13538
 
 
13539
 
 
13540
    rygel_stamp_files="$rygel_stamp_files $srcdir/src/plugins/mpris/librygel_mpris_la_vala.stamp"
 
13541
 
 
13542
 
 
13543
 
 
13544
 
 
13545
 
 
13546
    # Check whether --enable-playbin-plugin was given.
 
13547
if test "${enable_playbin_plugin+set}" = set; then :
 
13548
  enableval=$enable_playbin_plugin;
 
13549
else
 
13550
  enable_playbin_plugin=yes
 
13551
fi
 
13552
 
 
13553
    ac_config_files="$ac_config_files src/plugins/playbin/Makefile"
 
13554
 
 
13555
     if test "x$enable_playbin_plugin" = "xyes"; then
 
13556
  BUILD_PLAYBIN_PLUGIN_TRUE=
 
13557
  BUILD_PLAYBIN_PLUGIN_FALSE='#'
 
13558
else
 
13559
  BUILD_PLAYBIN_PLUGIN_TRUE='#'
 
13560
  BUILD_PLAYBIN_PLUGIN_FALSE=
 
13561
fi
 
13562
 
 
13563
 
 
13564
    rygel_stamp_files="$rygel_stamp_files $srcdir/src/plugins/playbin/librygel_playbin_la_vala.stamp"
 
13565
 
 
13566
 
 
13567
 
 
13568
 
 
13569
 
 
13570
    # Check whether --enable-mediathek-plugin was given.
 
13571
if test "${enable_mediathek_plugin+set}" = set; then :
 
13572
  enableval=$enable_mediathek_plugin;
 
13573
else
 
13574
  enable_mediathek_plugin=no
 
13575
fi
 
13576
 
 
13577
    ac_config_files="$ac_config_files src/plugins/mediathek/Makefile"
 
13578
 
 
13579
     if test "x$enable_mediathek_plugin" = "xyes"; then
 
13580
  BUILD_MEDIATHEK_PLUGIN_TRUE=
 
13581
  BUILD_MEDIATHEK_PLUGIN_FALSE='#'
 
13582
else
 
13583
  BUILD_MEDIATHEK_PLUGIN_TRUE='#'
 
13584
  BUILD_MEDIATHEK_PLUGIN_FALSE=
 
13585
fi
 
13586
 
 
13587
 
 
13588
    rygel_stamp_files="$rygel_stamp_files $srcdir/src/plugins/mediathek/librygel_mediathek_la_vala.stamp"
 
13589
 
 
13590
 
 
13591
 
 
13592
 
 
13593
 
 
13594
    # Check whether --enable-media-export-plugin was given.
 
13595
if test "${enable_media_export_plugin+set}" = set; then :
 
13596
  enableval=$enable_media_export_plugin;
 
13597
else
 
13598
  enable_media_export_plugin=yes
 
13599
fi
 
13600
 
 
13601
    ac_config_files="$ac_config_files src/plugins/media-export/Makefile"
 
13602
 
 
13603
     if test "x$enable_media_export_plugin" = "xyes"; then
 
13604
  BUILD_MEDIA_EXPORT_PLUGIN_TRUE=
 
13605
  BUILD_MEDIA_EXPORT_PLUGIN_FALSE='#'
 
13606
else
 
13607
  BUILD_MEDIA_EXPORT_PLUGIN_TRUE='#'
 
13608
  BUILD_MEDIA_EXPORT_PLUGIN_FALSE=
 
13609
fi
 
13610
 
 
13611
 
 
13612
    rygel_stamp_files="$rygel_stamp_files $srcdir/src/plugins/media-export/librygel_media_export_la_vala.stamp"
 
13613
 
 
13614
 
 
13615
 
 
13616
 
 
13617
 
 
13618
    # Check whether --enable-gst-launch-plugin was given.
 
13619
if test "${enable_gst_launch_plugin+set}" = set; then :
 
13620
  enableval=$enable_gst_launch_plugin;
 
13621
else
 
13622
  enable_gst_launch_plugin=no
 
13623
fi
 
13624
 
 
13625
    ac_config_files="$ac_config_files src/plugins/gst-launch/Makefile"
 
13626
 
 
13627
     if test "x$enable_gst_launch_plugin" = "xyes"; then
 
13628
  BUILD_GST_LAUNCH_PLUGIN_TRUE=
 
13629
  BUILD_GST_LAUNCH_PLUGIN_FALSE='#'
 
13630
else
 
13631
  BUILD_GST_LAUNCH_PLUGIN_TRUE='#'
 
13632
  BUILD_GST_LAUNCH_PLUGIN_FALSE=
 
13633
fi
 
13634
 
 
13635
 
 
13636
    rygel_stamp_files="$rygel_stamp_files $srcdir/src/plugins/gst-launch/librygel_gst_launch_la_vala.stamp"
 
13637
 
 
13638
 
 
13639
 
 
13640
 
 
13641
 
 
13642
    rygel_stamp_files="$rygel_stamp_files $srcdir/src/rygel/rygel_vala.stamp"
 
13643
 
 
13644
 
 
13645
    rygel_stamp_files="$rygel_stamp_files $srcdir/src/ui/rygel_preferences_vala.stamp"
 
13646
 
 
13647
 
 
13648
 
 
13649
    # Check whether --enable-vala was given.
 
13650
if test "${enable_vala+set}" = set; then :
 
13651
  enableval=$enable_vala;
 
13652
else
 
13653
  enable_vala=no
 
13654
fi
 
13655
 
 
13656
    # Check whether --enable-strict-valac was given.
 
13657
if test "${enable_strict_valac+set}" = set; then :
 
13658
  enableval=$enable_strict_valac;
 
13659
else
 
13660
  enable_strict_valac=no
 
13661
fi
 
13662
 
 
13663
    if test "x$enable_strict_valac" = "xyes"; then :
 
13664
 
 
13665
    VALAFLAGS="${VALAFLAGS:+$VALAFLAGS }--fatal-warnings"
 
13666
 
 
13667
fi
 
13668
 
 
13669
 
 
13670
        for stamp in $rygel_stamp_files
 
13671
    do
 
13672
        if test ! -e "$stamp"; then :
 
13673
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing stamp file $stamp. Forcing vala mode" >&5
 
13674
$as_echo "$as_me: WARNING: Missing stamp file $stamp. Forcing vala mode" >&2;}
 
13675
               enable_vala=yes
 
13676
 
 
13677
fi
 
13678
    done
 
13679
 
 
13680
        if test x$enable_vala = xyes; then :
 
13681
             # Extract the first word of "valac", so it can be a program name with args.
 
13682
set dummy valac; ac_word=$2
 
13683
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
13684
$as_echo_n "checking for $ac_word... " >&6; }
 
13685
if ${ac_cv_path_VALAC+:} false; then :
 
13686
  $as_echo_n "(cached) " >&6
 
13687
else
 
13688
  case $VALAC in
 
13689
  [\\/]* | ?:[\\/]*)
 
13690
  ac_cv_path_VALAC="$VALAC" # Let the user override the test with a path.
 
13691
  ;;
 
13692
  *)
 
13693
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
13694
for as_dir in $PATH
 
13695
do
 
13696
  IFS=$as_save_IFS
 
13697
  test -z "$as_dir" && as_dir=.
 
13698
    for ac_exec_ext in '' $ac_executable_extensions; do
 
13699
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
13700
    ac_cv_path_VALAC="$as_dir/$ac_word$ac_exec_ext"
 
13701
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13702
    break 2
 
13703
  fi
 
13704
done
 
13705
  done
 
13706
IFS=$as_save_IFS
 
13707
 
 
13708
  ;;
 
13709
esac
 
13710
fi
 
13711
VALAC=$ac_cv_path_VALAC
 
13712
if test -n "$VALAC"; then
 
13713
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALAC" >&5
 
13714
$as_echo "$VALAC" >&6; }
 
13715
else
 
13716
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13717
$as_echo "no" >&6; }
 
13718
fi
 
13719
 
 
13720
 
 
13721
 if test -z "$VALAC"; then :
 
13722
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No Vala compiler found.  You will not be able to compile .vala source files." >&5
 
13723
$as_echo "$as_me: WARNING: No Vala compiler found.  You will not be able to compile .vala source files." >&2;}
 
13724
else
 
13725
  if test -n "$VALA_REQUIRED"; then :
 
13726
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking $VALAC is at least version $VALA_REQUIRED" >&5
 
13727
$as_echo_n "checking $VALAC is at least version $VALA_REQUIRED... " >&6; }
 
13728
       am__vala_version=`$VALAC --version | sed 's/Vala  *//'`
 
13729
       as_arg_v1=$VALA_REQUIRED
 
13730
as_arg_v2="$am__vala_version"
 
13731
awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
 
13732
case $? in #(
 
13733
  1) :
 
13734
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
13735
$as_echo "yes" >&6; } ;; #(
 
13736
  0) :
 
13737
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
13738
$as_echo "yes" >&6; } ;; #(
 
13739
  2) :
 
13740
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13741
$as_echo "no" >&6; }
 
13742
          as_fn_error $? "Vala $VALA_REQUIRED not found." "$LINENO" 5 ;; #(
 
13743
  *) :
 
13744
     ;;
 
13745
esac
 
13746
fi
 
13747
fi
 
13748
 
 
13749
 
 
13750
            if test x$VALAC = "x"; then :
 
13751
  as_fn_error $? "Cannot find the \"valac\" compiler in your PATH" "$LINENO" 5
 
13752
else
 
13753
 
 
13754
 
 
13755
pkg_failed=no
 
13756
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GUPNP_VALA" >&5
 
13757
$as_echo_n "checking for GUPNP_VALA... " >&6; }
 
13758
 
 
13759
if test -n "$GUPNP_VALA_CFLAGS"; then
 
13760
    pkg_cv_GUPNP_VALA_CFLAGS="$GUPNP_VALA_CFLAGS"
 
13761
 elif test -n "$PKG_CONFIG"; then
 
13762
    if test -n "$PKG_CONFIG" && \
 
13763
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-vala-1.0 >= \$GUPNP_VALA_REQUIRED\""; } >&5
 
13764
  ($PKG_CONFIG --exists --print-errors "gupnp-vala-1.0 >= $GUPNP_VALA_REQUIRED") 2>&5
 
13765
  ac_status=$?
 
13766
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13767
  test $ac_status = 0; }; then
 
13768
  pkg_cv_GUPNP_VALA_CFLAGS=`$PKG_CONFIG --cflags "gupnp-vala-1.0 >= $GUPNP_VALA_REQUIRED" 2>/dev/null`
 
13769
                      test "x$?" != "x0" && pkg_failed=yes
 
13770
else
 
13771
  pkg_failed=yes
 
13772
fi
 
13773
 else
 
13774
    pkg_failed=untried
 
13775
fi
 
13776
if test -n "$GUPNP_VALA_LIBS"; then
 
13777
    pkg_cv_GUPNP_VALA_LIBS="$GUPNP_VALA_LIBS"
 
13778
 elif test -n "$PKG_CONFIG"; then
 
13779
    if test -n "$PKG_CONFIG" && \
 
13780
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-vala-1.0 >= \$GUPNP_VALA_REQUIRED\""; } >&5
 
13781
  ($PKG_CONFIG --exists --print-errors "gupnp-vala-1.0 >= $GUPNP_VALA_REQUIRED") 2>&5
 
13782
  ac_status=$?
 
13783
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13784
  test $ac_status = 0; }; then
 
13785
  pkg_cv_GUPNP_VALA_LIBS=`$PKG_CONFIG --libs "gupnp-vala-1.0 >= $GUPNP_VALA_REQUIRED" 2>/dev/null`
 
13786
                      test "x$?" != "x0" && pkg_failed=yes
 
13787
else
 
13788
  pkg_failed=yes
 
13789
fi
 
13790
 else
 
13791
    pkg_failed=untried
 
13792
fi
 
13793
 
 
13794
 
 
13795
 
 
13796
if test $pkg_failed = yes; then
 
13797
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13798
$as_echo "no" >&6; }
 
13799
 
 
13800
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
13801
        _pkg_short_errors_supported=yes
 
13802
else
 
13803
        _pkg_short_errors_supported=no
 
13804
fi
 
13805
        if test $_pkg_short_errors_supported = yes; then
 
13806
                GUPNP_VALA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gupnp-vala-1.0 >= $GUPNP_VALA_REQUIRED" 2>&1`
 
13807
        else
 
13808
                GUPNP_VALA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gupnp-vala-1.0 >= $GUPNP_VALA_REQUIRED" 2>&1`
 
13809
        fi
 
13810
        # Put the nasty error message in config.log where it belongs
 
13811
        echo "$GUPNP_VALA_PKG_ERRORS" >&5
 
13812
 
 
13813
        as_fn_error $? "Package requirements (gupnp-vala-1.0 >= $GUPNP_VALA_REQUIRED) were not met:
 
13814
 
 
13815
$GUPNP_VALA_PKG_ERRORS
 
13816
 
 
13817
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
13818
installed software in a non-standard prefix.
 
13819
 
 
13820
Alternatively, you may set the environment variables GUPNP_VALA_CFLAGS
 
13821
and GUPNP_VALA_LIBS to avoid the need to call pkg-config.
 
13822
See the pkg-config man page for more details." "$LINENO" 5
 
13823
elif test $pkg_failed = untried; then
 
13824
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13825
$as_echo "no" >&6; }
 
13826
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
13827
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
13828
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
13829
is in your PATH or set the PKG_CONFIG environment variable to the full
 
13830
path to pkg-config.
 
13831
 
 
13832
Alternatively, you may set the environment variables GUPNP_VALA_CFLAGS
 
13833
and GUPNP_VALA_LIBS to avoid the need to call pkg-config.
 
13834
See the pkg-config man page for more details.
 
13835
 
 
13836
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
13837
See \`config.log' for more details" "$LINENO" 5; }
 
13838
else
 
13839
        GUPNP_VALA_CFLAGS=$pkg_cv_GUPNP_VALA_CFLAGS
 
13840
        GUPNP_VALA_LIBS=$pkg_cv_GUPNP_VALA_LIBS
 
13841
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
13842
$as_echo "yes" >&6; }
 
13843
 
 
13844
fi
 
13845
 
 
13846
 
 
13847
  unset vala_pkgs
 
13848
  unset vala_bindings
 
13849
  ac_save_ifs="$IFS"; unset IFS
 
13850
  for vala_pkg in $(echo "gupnp-1.0
 
13851
                  gupnp-av-1.0
 
13852
                  gupnp-dlna-1.0
 
13853
                  gstreamer-0.10
 
13854
                  gstreamer-pbutils-0.10
 
13855
                  gio-2.0
 
13856
                  gee-1.0
 
13857
                  posix"); do
 
13858
      vala_pkgs="${vala_pkgs:+$vala_pkgs }--pkg $vala_pkg"
 
13859
      vala_bindings="${vala_bindings:+$vala_bindings }$vala_pkg"
 
13860
  done
 
13861
  IFS="$ac_save_ifs"
 
13862
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $vala_bindings vala bindings" >&5
 
13863
$as_echo_n "checking for $vala_bindings vala bindings... " >&6; }
 
13864
 
 
13865
  cat <<_ACEOF >conftest.vala
 
13866
void main(){}
 
13867
_ACEOF
 
13868
 
 
13869
  if vala_error=`$VALAC $vala_pkgs -q -o conftest$ac_exeext conftest.vala 2>&1`; then :
 
13870
  vala_pkg_exists=yes
 
13871
else
 
13872
  vala_pkg_exists=no
 
13873
fi
 
13874
 
 
13875
 
 
13876
if test x${vala_pkg_exists} = xno; then :
 
13877
 
 
13878
  as_fn_error $? "Package requirements were not met: gupnp-1.0
 
13879
                  gupnp-av-1.0
 
13880
                  gupnp-dlna-1.0
 
13881
                  gstreamer-0.10
 
13882
                  gstreamer-pbutils-0.10
 
13883
                  gio-2.0
 
13884
                  gee-1.0
 
13885
                  posix
 
13886
 
 
13887
$vala_error
 
13888
 
 
13889
Consider adjusting the XDG_DATA_DIRS environment variable if you
 
13890
installed bindings in a non-standard prefix.
 
13891
" "$LINENO" 5
 
13892
else
 
13893
 
 
13894
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
13895
$as_echo "yes" >&6; }
 
13896
  :
 
13897
fi
 
13898
 
 
13899
 
 
13900
 
 
13901
fi
 
13902
 
 
13903
fi
 
13904
 
 
13905
    VAPIDIR="${datadir}/vala/vapi"
 
13906
 
 
13907
 
 
13908
 
 
13909
# Check whether --enable-debug was given.
 
13910
if test "${enable_debug+set}" = set; then :
 
13911
  enableval=$enable_debug;
 
13912
else
 
13913
  enable_debug=no
 
13914
fi
 
13915
 
 
13916
if test "x$enable_debug" = "xyes"; then
 
13917
        CFLAGS="$CFLAGS -O0 -g"
 
13918
        RYGEL_DEBUG_VALAFLAGS="-g"
 
13919
fi
 
13920
 
 
13921
 
 
13922
 
 
13923
# Check whether --enable-strict-cc was given.
 
13924
if test "${enable_strict_cc+set}" = set; then :
 
13925
  enableval=$enable_strict_cc;
 
13926
else
 
13927
  enable_strict_cc=no
 
13928
fi
 
13929
 
 
13930
if test "x$enable_strict_cc" = "xyes"; then
 
13931
        CFLAGS="$CFLAGS -Wall -Werror"
 
13932
else
 
13933
        CFLAGS="$CFLAGS -w"
 
13934
fi
 
13935
 
 
13936
# Check whether --enable-uninstalled was given.
 
13937
if test "${enable_uninstalled+set}" = set; then :
 
13938
  enableval=$enable_uninstalled;
 
13939
else
 
13940
  enable_uninstalled=no
 
13941
fi
 
13942
 
 
13943
if test "x$enable_uninstalled" = "xyes"; then
 
13944
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"You want to run the tools uninstalled only? Fine!\"" >&5
 
13945
$as_echo "$as_me: WARNING: \"You want to run the tools uninstalled only? Fine!\"" >&2;}
 
13946
fi
 
13947
 if test "x$enable_uninstalled" = "xyes"; then
 
13948
  UNINSTALLED_TRUE=
 
13949
  UNINSTALLED_FALSE='#'
 
13950
else
 
13951
  UNINSTALLED_TRUE='#'
 
13952
  UNINSTALLED_FALSE=
 
13953
fi
 
13954
 
 
13955
 
 
13956
 
 
13957
# Check whether --with-ui was given.
 
13958
if test "${with_ui+set}" = set; then :
 
13959
  withval=$with_ui; try_ui=$withval
 
13960
else
 
13961
  try_ui=yes
 
13962
fi
 
13963
 
 
13964
 
 
13965
HAVE_GTK=no
 
13966
if test x$try_ui = xyes ; then
 
13967
 
 
13968
pkg_failed=no
 
13969
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
 
13970
$as_echo_n "checking for GTK... " >&6; }
 
13971
 
 
13972
if test -n "$GTK_CFLAGS"; then
 
13973
    pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
 
13974
 elif test -n "$PKG_CONFIG"; then
 
13975
    if test -n "$PKG_CONFIG" && \
 
13976
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK_REQUIRED\""; } >&5
 
13977
  ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK_REQUIRED") 2>&5
 
13978
  ac_status=$?
 
13979
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13980
  test $ac_status = 0; }; then
 
13981
  pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= $GTK_REQUIRED" 2>/dev/null`
 
13982
                      test "x$?" != "x0" && pkg_failed=yes
 
13983
else
 
13984
  pkg_failed=yes
 
13985
fi
 
13986
 else
 
13987
    pkg_failed=untried
 
13988
fi
 
13989
if test -n "$GTK_LIBS"; then
 
13990
    pkg_cv_GTK_LIBS="$GTK_LIBS"
 
13991
 elif test -n "$PKG_CONFIG"; then
 
13992
    if test -n "$PKG_CONFIG" && \
 
13993
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK_REQUIRED\""; } >&5
 
13994
  ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK_REQUIRED") 2>&5
 
13995
  ac_status=$?
 
13996
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13997
  test $ac_status = 0; }; then
 
13998
  pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= $GTK_REQUIRED" 2>/dev/null`
 
13999
                      test "x$?" != "x0" && pkg_failed=yes
 
14000
else
 
14001
  pkg_failed=yes
 
14002
fi
 
14003
 else
 
14004
    pkg_failed=untried
 
14005
fi
 
14006
 
 
14007
 
 
14008
 
 
14009
if test $pkg_failed = yes; then
 
14010
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14011
$as_echo "no" >&6; }
 
14012
 
 
14013
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
14014
        _pkg_short_errors_supported=yes
 
14015
else
 
14016
        _pkg_short_errors_supported=no
 
14017
fi
 
14018
        if test $_pkg_short_errors_supported = yes; then
 
14019
                GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0 >= $GTK_REQUIRED" 2>&1`
 
14020
        else
 
14021
                GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0 >= $GTK_REQUIRED" 2>&1`
 
14022
        fi
 
14023
        # Put the nasty error message in config.log where it belongs
 
14024
        echo "$GTK_PKG_ERRORS" >&5
 
14025
 
 
14026
 
 
14027
        HAVE_GTK=no
 
14028
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gtk $GTK_REQUIRED or greater not found." >&5
 
14029
$as_echo "$as_me: WARNING: gtk $GTK_REQUIRED or greater not found." >&2;}
 
14030
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: UI applications will not be built." >&5
 
14031
$as_echo "$as_me: WARNING: UI applications will not be built." >&2;}
 
14032
 
 
14033
elif test $pkg_failed = untried; then
 
14034
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14035
$as_echo "no" >&6; }
 
14036
 
 
14037
        HAVE_GTK=no
 
14038
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gtk $GTK_REQUIRED or greater not found." >&5
 
14039
$as_echo "$as_me: WARNING: gtk $GTK_REQUIRED or greater not found." >&2;}
 
14040
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: UI applications will not be built." >&5
 
14041
$as_echo "$as_me: WARNING: UI applications will not be built." >&2;}
 
14042
 
 
14043
else
 
14044
        GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
 
14045
        GTK_LIBS=$pkg_cv_GTK_LIBS
 
14046
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
14047
$as_echo "yes" >&6; }
 
14048
 
 
14049
        if test x$enable_vala = xyes ; then
 
14050
 
 
14051
  unset vala_pkgs
 
14052
  unset vala_bindings
 
14053
  ac_save_ifs="$IFS"; unset IFS
 
14054
  for vala_pkg in $(echo "gtk+-3.0"); do
 
14055
      vala_pkgs="${vala_pkgs:+$vala_pkgs }--pkg $vala_pkg"
 
14056
      vala_bindings="${vala_bindings:+$vala_bindings }$vala_pkg"
 
14057
  done
 
14058
  IFS="$ac_save_ifs"
 
14059
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $vala_bindings vala bindings" >&5
 
14060
$as_echo_n "checking for $vala_bindings vala bindings... " >&6; }
 
14061
 
 
14062
  cat <<_ACEOF >conftest.vala
 
14063
void main(){}
 
14064
_ACEOF
 
14065
 
 
14066
  if vala_error=`$VALAC $vala_pkgs -q -o conftest$ac_exeext conftest.vala 2>&1`; then :
 
14067
  vala_pkg_exists=yes
 
14068
else
 
14069
  vala_pkg_exists=no
 
14070
fi
 
14071
 
 
14072
 
 
14073
if test x${vala_pkg_exists} = xno; then :
 
14074
 
 
14075
  as_fn_error $? "Package requirements were not met: gtk+-3.0
 
14076
 
 
14077
$vala_error
 
14078
 
 
14079
Consider adjusting the XDG_DATA_DIRS environment variable if you
 
14080
installed bindings in a non-standard prefix.
 
14081
" "$LINENO" 5
 
14082
else
 
14083
 
 
14084
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
14085
$as_echo "yes" >&6; }
 
14086
  HAVE_GTK=yes
 
14087
fi
 
14088
 
 
14089
 
 
14090
        else
 
14091
                HAVE_GTK=yes
 
14092
        fi
 
14093
 
 
14094
fi
 
14095
else
 
14096
    { $as_echo "$as_me:${as_lineno-$LINENO}: UI applications disabled." >&5
 
14097
$as_echo "$as_me: UI applications disabled." >&6;}
 
14098
fi
 
14099
 
 
14100
if test x$HAVE_GTK = xno; then
 
14101
  BUILD_UI=no
 
14102
else
 
14103
  BUILD_UI=yes
 
14104
 
 
14105
$as_echo "#define HAVE_GTK /**/" >>confdefs.h
 
14106
 
 
14107
fi
 
14108
 
 
14109
 
 
14110
 if test x$BUILD_UI = xyes; then
 
14111
  BUILD_UI_TRUE=
 
14112
  BUILD_UI_FALSE='#'
 
14113
else
 
14114
  BUILD_UI_TRUE='#'
 
14115
  BUILD_UI_FALSE=
 
14116
fi
 
14117
 
 
14118
 
 
14119
if test "x$enable_media_export_plugin" = "xyes";
 
14120
then
 
14121
 
 
14122
pkg_failed=no
 
14123
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBSQLITE3" >&5
 
14124
$as_echo_n "checking for LIBSQLITE3... " >&6; }
 
14125
 
 
14126
if test -n "$LIBSQLITE3_CFLAGS"; then
 
14127
    pkg_cv_LIBSQLITE3_CFLAGS="$LIBSQLITE3_CFLAGS"
 
14128
 elif test -n "$PKG_CONFIG"; then
 
14129
    if test -n "$PKG_CONFIG" && \
 
14130
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3 >= \$LIBSQLITE3_REQUIRED\""; } >&5
 
14131
  ($PKG_CONFIG --exists --print-errors "sqlite3 >= $LIBSQLITE3_REQUIRED") 2>&5
 
14132
  ac_status=$?
 
14133
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14134
  test $ac_status = 0; }; then
 
14135
  pkg_cv_LIBSQLITE3_CFLAGS=`$PKG_CONFIG --cflags "sqlite3 >= $LIBSQLITE3_REQUIRED" 2>/dev/null`
 
14136
                      test "x$?" != "x0" && pkg_failed=yes
 
14137
else
 
14138
  pkg_failed=yes
 
14139
fi
 
14140
 else
 
14141
    pkg_failed=untried
 
14142
fi
 
14143
if test -n "$LIBSQLITE3_LIBS"; then
 
14144
    pkg_cv_LIBSQLITE3_LIBS="$LIBSQLITE3_LIBS"
 
14145
 elif test -n "$PKG_CONFIG"; then
 
14146
    if test -n "$PKG_CONFIG" && \
 
14147
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3 >= \$LIBSQLITE3_REQUIRED\""; } >&5
 
14148
  ($PKG_CONFIG --exists --print-errors "sqlite3 >= $LIBSQLITE3_REQUIRED") 2>&5
 
14149
  ac_status=$?
 
14150
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14151
  test $ac_status = 0; }; then
 
14152
  pkg_cv_LIBSQLITE3_LIBS=`$PKG_CONFIG --libs "sqlite3 >= $LIBSQLITE3_REQUIRED" 2>/dev/null`
 
14153
                      test "x$?" != "x0" && pkg_failed=yes
 
14154
else
 
14155
  pkg_failed=yes
 
14156
fi
 
14157
 else
 
14158
    pkg_failed=untried
 
14159
fi
 
14160
 
 
14161
 
 
14162
 
 
14163
if test $pkg_failed = yes; then
 
14164
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14165
$as_echo "no" >&6; }
 
14166
 
 
14167
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
14168
        _pkg_short_errors_supported=yes
 
14169
else
 
14170
        _pkg_short_errors_supported=no
 
14171
fi
 
14172
        if test $_pkg_short_errors_supported = yes; then
 
14173
                LIBSQLITE3_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sqlite3 >= $LIBSQLITE3_REQUIRED" 2>&1`
 
14174
        else
 
14175
                LIBSQLITE3_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sqlite3 >= $LIBSQLITE3_REQUIRED" 2>&1`
 
14176
        fi
 
14177
        # Put the nasty error message in config.log where it belongs
 
14178
        echo "$LIBSQLITE3_PKG_ERRORS" >&5
 
14179
 
 
14180
        as_fn_error $? "Package requirements (sqlite3 >= $LIBSQLITE3_REQUIRED) were not met:
 
14181
 
 
14182
$LIBSQLITE3_PKG_ERRORS
 
14183
 
 
14184
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
14185
installed software in a non-standard prefix.
 
14186
 
 
14187
Alternatively, you may set the environment variables LIBSQLITE3_CFLAGS
 
14188
and LIBSQLITE3_LIBS to avoid the need to call pkg-config.
 
14189
See the pkg-config man page for more details." "$LINENO" 5
 
14190
elif test $pkg_failed = untried; then
 
14191
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14192
$as_echo "no" >&6; }
 
14193
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
14194
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
14195
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
14196
is in your PATH or set the PKG_CONFIG environment variable to the full
 
14197
path to pkg-config.
 
14198
 
 
14199
Alternatively, you may set the environment variables LIBSQLITE3_CFLAGS
 
14200
and LIBSQLITE3_LIBS to avoid the need to call pkg-config.
 
14201
See the pkg-config man page for more details.
 
14202
 
 
14203
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
14204
See \`config.log' for more details" "$LINENO" 5; }
 
14205
else
 
14206
        LIBSQLITE3_CFLAGS=$pkg_cv_LIBSQLITE3_CFLAGS
 
14207
        LIBSQLITE3_LIBS=$pkg_cv_LIBSQLITE3_LIBS
 
14208
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
14209
$as_echo "yes" >&6; }
 
14210
 
 
14211
fi
 
14212
 
 
14213
pkg_failed=no
 
14214
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSTREAMER_TAG" >&5
 
14215
$as_echo_n "checking for GSTREAMER_TAG... " >&6; }
 
14216
 
 
14217
if test -n "$GSTREAMER_TAG_CFLAGS"; then
 
14218
    pkg_cv_GSTREAMER_TAG_CFLAGS="$GSTREAMER_TAG_CFLAGS"
 
14219
 elif test -n "$PKG_CONFIG"; then
 
14220
    if test -n "$PKG_CONFIG" && \
 
14221
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-tag-0.10 >= \$GSTREAMER_TAG_REQUIRED\""; } >&5
 
14222
  ($PKG_CONFIG --exists --print-errors "gstreamer-tag-0.10 >= $GSTREAMER_TAG_REQUIRED") 2>&5
 
14223
  ac_status=$?
 
14224
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14225
  test $ac_status = 0; }; then
 
14226
  pkg_cv_GSTREAMER_TAG_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-tag-0.10 >= $GSTREAMER_TAG_REQUIRED" 2>/dev/null`
 
14227
                      test "x$?" != "x0" && pkg_failed=yes
 
14228
else
 
14229
  pkg_failed=yes
 
14230
fi
 
14231
 else
 
14232
    pkg_failed=untried
 
14233
fi
 
14234
if test -n "$GSTREAMER_TAG_LIBS"; then
 
14235
    pkg_cv_GSTREAMER_TAG_LIBS="$GSTREAMER_TAG_LIBS"
 
14236
 elif test -n "$PKG_CONFIG"; then
 
14237
    if test -n "$PKG_CONFIG" && \
 
14238
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-tag-0.10 >= \$GSTREAMER_TAG_REQUIRED\""; } >&5
 
14239
  ($PKG_CONFIG --exists --print-errors "gstreamer-tag-0.10 >= $GSTREAMER_TAG_REQUIRED") 2>&5
 
14240
  ac_status=$?
 
14241
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14242
  test $ac_status = 0; }; then
 
14243
  pkg_cv_GSTREAMER_TAG_LIBS=`$PKG_CONFIG --libs "gstreamer-tag-0.10 >= $GSTREAMER_TAG_REQUIRED" 2>/dev/null`
 
14244
                      test "x$?" != "x0" && pkg_failed=yes
 
14245
else
 
14246
  pkg_failed=yes
 
14247
fi
 
14248
 else
 
14249
    pkg_failed=untried
 
14250
fi
 
14251
 
 
14252
 
 
14253
 
 
14254
if test $pkg_failed = yes; then
 
14255
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14256
$as_echo "no" >&6; }
 
14257
 
 
14258
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
14259
        _pkg_short_errors_supported=yes
 
14260
else
 
14261
        _pkg_short_errors_supported=no
 
14262
fi
 
14263
        if test $_pkg_short_errors_supported = yes; then
 
14264
                GSTREAMER_TAG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gstreamer-tag-0.10 >= $GSTREAMER_TAG_REQUIRED" 2>&1`
 
14265
        else
 
14266
                GSTREAMER_TAG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gstreamer-tag-0.10 >= $GSTREAMER_TAG_REQUIRED" 2>&1`
 
14267
        fi
 
14268
        # Put the nasty error message in config.log where it belongs
 
14269
        echo "$GSTREAMER_TAG_PKG_ERRORS" >&5
 
14270
 
 
14271
        as_fn_error $? "Package requirements (gstreamer-tag-0.10 >= $GSTREAMER_TAG_REQUIRED) were not met:
 
14272
 
 
14273
$GSTREAMER_TAG_PKG_ERRORS
 
14274
 
 
14275
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
14276
installed software in a non-standard prefix.
 
14277
 
 
14278
Alternatively, you may set the environment variables GSTREAMER_TAG_CFLAGS
 
14279
and GSTREAMER_TAG_LIBS to avoid the need to call pkg-config.
 
14280
See the pkg-config man page for more details." "$LINENO" 5
 
14281
elif test $pkg_failed = untried; then
 
14282
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14283
$as_echo "no" >&6; }
 
14284
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
14285
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
14286
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
14287
is in your PATH or set the PKG_CONFIG environment variable to the full
 
14288
path to pkg-config.
 
14289
 
 
14290
Alternatively, you may set the environment variables GSTREAMER_TAG_CFLAGS
 
14291
and GSTREAMER_TAG_LIBS to avoid the need to call pkg-config.
 
14292
See the pkg-config man page for more details.
 
14293
 
 
14294
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
14295
See \`config.log' for more details" "$LINENO" 5; }
 
14296
else
 
14297
        GSTREAMER_TAG_CFLAGS=$pkg_cv_GSTREAMER_TAG_CFLAGS
 
14298
        GSTREAMER_TAG_LIBS=$pkg_cv_GSTREAMER_TAG_LIBS
 
14299
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
14300
$as_echo "yes" >&6; }
 
14301
 
 
14302
fi;
 
14303
 
 
14304
pkg_failed=no
 
14305
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSTREAMER_APP" >&5
 
14306
$as_echo_n "checking for GSTREAMER_APP... " >&6; }
 
14307
 
 
14308
if test -n "$GSTREAMER_APP_CFLAGS"; then
 
14309
    pkg_cv_GSTREAMER_APP_CFLAGS="$GSTREAMER_APP_CFLAGS"
 
14310
 elif test -n "$PKG_CONFIG"; then
 
14311
    if test -n "$PKG_CONFIG" && \
 
14312
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-app-0.10 >= \$GSTREAMER_APP_REQUIRED\""; } >&5
 
14313
  ($PKG_CONFIG --exists --print-errors "gstreamer-app-0.10 >= $GSTREAMER_APP_REQUIRED") 2>&5
 
14314
  ac_status=$?
 
14315
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14316
  test $ac_status = 0; }; then
 
14317
  pkg_cv_GSTREAMER_APP_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-app-0.10 >= $GSTREAMER_APP_REQUIRED" 2>/dev/null`
 
14318
                      test "x$?" != "x0" && pkg_failed=yes
 
14319
else
 
14320
  pkg_failed=yes
 
14321
fi
 
14322
 else
 
14323
    pkg_failed=untried
 
14324
fi
 
14325
if test -n "$GSTREAMER_APP_LIBS"; then
 
14326
    pkg_cv_GSTREAMER_APP_LIBS="$GSTREAMER_APP_LIBS"
 
14327
 elif test -n "$PKG_CONFIG"; then
 
14328
    if test -n "$PKG_CONFIG" && \
 
14329
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-app-0.10 >= \$GSTREAMER_APP_REQUIRED\""; } >&5
 
14330
  ($PKG_CONFIG --exists --print-errors "gstreamer-app-0.10 >= $GSTREAMER_APP_REQUIRED") 2>&5
 
14331
  ac_status=$?
 
14332
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14333
  test $ac_status = 0; }; then
 
14334
  pkg_cv_GSTREAMER_APP_LIBS=`$PKG_CONFIG --libs "gstreamer-app-0.10 >= $GSTREAMER_APP_REQUIRED" 2>/dev/null`
 
14335
                      test "x$?" != "x0" && pkg_failed=yes
 
14336
else
 
14337
  pkg_failed=yes
 
14338
fi
 
14339
 else
 
14340
    pkg_failed=untried
 
14341
fi
 
14342
 
 
14343
 
 
14344
 
 
14345
if test $pkg_failed = yes; then
 
14346
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14347
$as_echo "no" >&6; }
 
14348
 
 
14349
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
14350
        _pkg_short_errors_supported=yes
 
14351
else
 
14352
        _pkg_short_errors_supported=no
 
14353
fi
 
14354
        if test $_pkg_short_errors_supported = yes; then
 
14355
                GSTREAMER_APP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gstreamer-app-0.10 >= $GSTREAMER_APP_REQUIRED" 2>&1`
 
14356
        else
 
14357
                GSTREAMER_APP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gstreamer-app-0.10 >= $GSTREAMER_APP_REQUIRED" 2>&1`
 
14358
        fi
 
14359
        # Put the nasty error message in config.log where it belongs
 
14360
        echo "$GSTREAMER_APP_PKG_ERRORS" >&5
 
14361
 
 
14362
        as_fn_error $? "Package requirements (gstreamer-app-0.10 >= $GSTREAMER_APP_REQUIRED) were not met:
 
14363
 
 
14364
$GSTREAMER_APP_PKG_ERRORS
 
14365
 
 
14366
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
14367
installed software in a non-standard prefix.
 
14368
 
 
14369
Alternatively, you may set the environment variables GSTREAMER_APP_CFLAGS
 
14370
and GSTREAMER_APP_LIBS to avoid the need to call pkg-config.
 
14371
See the pkg-config man page for more details." "$LINENO" 5
 
14372
elif test $pkg_failed = untried; then
 
14373
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14374
$as_echo "no" >&6; }
 
14375
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
14376
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
14377
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
14378
is in your PATH or set the PKG_CONFIG environment variable to the full
 
14379
path to pkg-config.
 
14380
 
 
14381
Alternatively, you may set the environment variables GSTREAMER_APP_CFLAGS
 
14382
and GSTREAMER_APP_LIBS to avoid the need to call pkg-config.
 
14383
See the pkg-config man page for more details.
 
14384
 
 
14385
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
14386
See \`config.log' for more details" "$LINENO" 5; }
 
14387
else
 
14388
        GSTREAMER_APP_CFLAGS=$pkg_cv_GSTREAMER_APP_CFLAGS
 
14389
        GSTREAMER_APP_LIBS=$pkg_cv_GSTREAMER_APP_LIBS
 
14390
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
14391
$as_echo "yes" >&6; }
 
14392
 
 
14393
fi;
 
14394
    if test x$enable_vala = xyes ; then
 
14395
 
 
14396
  unset vala_pkgs
 
14397
  unset vala_bindings
 
14398
  ac_save_ifs="$IFS"; unset IFS
 
14399
  for vala_pkg in $(echo "sqlite3
 
14400
                             gstreamer-tag-0.10
 
14401
                             gstreamer-app-0.10"); do
 
14402
      vala_pkgs="${vala_pkgs:+$vala_pkgs }--pkg $vala_pkg"
 
14403
      vala_bindings="${vala_bindings:+$vala_bindings }$vala_pkg"
 
14404
  done
 
14405
  IFS="$ac_save_ifs"
 
14406
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $vala_bindings vala bindings" >&5
 
14407
$as_echo_n "checking for $vala_bindings vala bindings... " >&6; }
 
14408
 
 
14409
  cat <<_ACEOF >conftest.vala
 
14410
void main(){}
 
14411
_ACEOF
 
14412
 
 
14413
  if vala_error=`$VALAC $vala_pkgs -q -o conftest$ac_exeext conftest.vala 2>&1`; then :
 
14414
  vala_pkg_exists=yes
 
14415
else
 
14416
  vala_pkg_exists=no
 
14417
fi
 
14418
 
 
14419
 
 
14420
if test x${vala_pkg_exists} = xno; then :
 
14421
 
 
14422
  as_fn_error $? "Package requirements were not met: sqlite3
 
14423
                             gstreamer-tag-0.10
 
14424
                             gstreamer-app-0.10
 
14425
 
 
14426
$vala_error
 
14427
 
 
14428
Consider adjusting the XDG_DATA_DIRS environment variable if you
 
14429
installed bindings in a non-standard prefix.
 
14430
" "$LINENO" 5
 
14431
else
 
14432
 
 
14433
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
14434
$as_echo "yes" >&6; }
 
14435
  :
 
14436
fi
 
14437
 
 
14438
 
 
14439
    fi
 
14440
fi
 
14441
 
 
14442
GETTEXT_PACKAGE=rygel
 
14443
 
 
14444
 
 
14445
cat >>confdefs.h <<_ACEOF
 
14446
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
 
14447
_ACEOF
 
14448
 
 
14449
 
 
14450
 
 
14451
   for ac_header in locale.h
 
14452
do :
 
14453
  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
 
14454
if test "x$ac_cv_header_locale_h" = xyes; then :
 
14455
  cat >>confdefs.h <<_ACEOF
 
14456
#define HAVE_LOCALE_H 1
 
14457
_ACEOF
 
14458
 
 
14459
fi
 
14460
 
 
14461
done
 
14462
 
 
14463
    if test $ac_cv_header_locale_h = yes; then
 
14464
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
 
14465
$as_echo_n "checking for LC_MESSAGES... " >&6; }
 
14466
if ${am_cv_val_LC_MESSAGES+:} false; then :
 
14467
  $as_echo_n "(cached) " >&6
 
14468
else
 
14469
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14470
/* end confdefs.h.  */
 
14471
#include <locale.h>
 
14472
int
 
14473
main ()
 
14474
{
 
14475
return LC_MESSAGES
 
14476
  ;
 
14477
  return 0;
 
14478
}
 
14479
_ACEOF
 
14480
if ac_fn_c_try_link "$LINENO"; then :
 
14481
  am_cv_val_LC_MESSAGES=yes
 
14482
else
 
14483
  am_cv_val_LC_MESSAGES=no
 
14484
fi
 
14485
rm -f core conftest.err conftest.$ac_objext \
 
14486
    conftest$ac_exeext conftest.$ac_ext
 
14487
fi
 
14488
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
 
14489
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
 
14490
    if test $am_cv_val_LC_MESSAGES = yes; then
 
14491
 
 
14492
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
 
14493
 
 
14494
    fi
 
14495
  fi
 
14496
     USE_NLS=yes
 
14497
 
 
14498
 
 
14499
    gt_cv_have_gettext=no
 
14500
 
 
14501
    CATOBJEXT=NONE
 
14502
    XGETTEXT=:
 
14503
    INTLLIBS=
 
14504
 
 
14505
    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
 
14506
if test "x$ac_cv_header_libintl_h" = xyes; then :
 
14507
  gt_cv_func_dgettext_libintl="no"
 
14508
      libintl_extra_libs=""
 
14509
 
 
14510
      #
 
14511
      # First check in libc
 
14512
      #
 
14513
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
 
14514
$as_echo_n "checking for ngettext in libc... " >&6; }
 
14515
if ${gt_cv_func_ngettext_libc+:} false; then :
 
14516
  $as_echo_n "(cached) " >&6
 
14517
else
 
14518
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14519
/* end confdefs.h.  */
 
14520
 
 
14521
#include <libintl.h>
 
14522
 
 
14523
int
 
14524
main ()
 
14525
{
 
14526
return !ngettext ("","", 1)
 
14527
  ;
 
14528
  return 0;
 
14529
}
 
14530
_ACEOF
 
14531
if ac_fn_c_try_link "$LINENO"; then :
 
14532
  gt_cv_func_ngettext_libc=yes
 
14533
else
 
14534
  gt_cv_func_ngettext_libc=no
 
14535
fi
 
14536
rm -f core conftest.err conftest.$ac_objext \
 
14537
    conftest$ac_exeext conftest.$ac_ext
 
14538
 
 
14539
fi
 
14540
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
 
14541
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
 
14542
 
 
14543
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
 
14544
              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
 
14545
$as_echo_n "checking for dgettext in libc... " >&6; }
 
14546
if ${gt_cv_func_dgettext_libc+:} false; then :
 
14547
  $as_echo_n "(cached) " >&6
 
14548
else
 
14549
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14550
/* end confdefs.h.  */
 
14551
 
 
14552
#include <libintl.h>
 
14553
 
 
14554
int
 
14555
main ()
 
14556
{
 
14557
return !dgettext ("","")
 
14558
  ;
 
14559
  return 0;
 
14560
}
 
14561
_ACEOF
 
14562
if ac_fn_c_try_link "$LINENO"; then :
 
14563
  gt_cv_func_dgettext_libc=yes
 
14564
else
 
14565
  gt_cv_func_dgettext_libc=no
 
14566
fi
 
14567
rm -f core conftest.err conftest.$ac_objext \
 
14568
    conftest$ac_exeext conftest.$ac_ext
 
14569
 
 
14570
fi
 
14571
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
 
14572
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
 
14573
      fi
 
14574
 
 
14575
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
 
14576
        for ac_func in bind_textdomain_codeset
 
14577
do :
 
14578
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
14579
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
 
14580
  cat >>confdefs.h <<_ACEOF
 
14581
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
 
14582
_ACEOF
 
14583
 
 
14584
fi
 
14585
done
 
14586
 
 
14587
      fi
 
14588
 
 
14589
      #
 
14590
      # If we don't have everything we want, check in libintl
 
14591
      #
 
14592
      if test "$gt_cv_func_dgettext_libc" != "yes" \
 
14593
         || test "$gt_cv_func_ngettext_libc" != "yes" \
 
14594
         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
 
14595
 
 
14596
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
 
14597
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
 
14598
if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
 
14599
  $as_echo_n "(cached) " >&6
 
14600
else
 
14601
  ac_check_lib_save_LIBS=$LIBS
 
14602
LIBS="-lintl  $LIBS"
 
14603
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14604
/* end confdefs.h.  */
 
14605
 
 
14606
/* Override any GCC internal prototype to avoid an error.
 
14607
   Use char because int might match the return type of a GCC
 
14608
   builtin and then its argument prototype would still apply.  */
 
14609
#ifdef __cplusplus
 
14610
extern "C"
 
14611
#endif
 
14612
char bindtextdomain ();
 
14613
int
 
14614
main ()
 
14615
{
 
14616
return bindtextdomain ();
 
14617
  ;
 
14618
  return 0;
 
14619
}
 
14620
_ACEOF
 
14621
if ac_fn_c_try_link "$LINENO"; then :
 
14622
  ac_cv_lib_intl_bindtextdomain=yes
 
14623
else
 
14624
  ac_cv_lib_intl_bindtextdomain=no
 
14625
fi
 
14626
rm -f core conftest.err conftest.$ac_objext \
 
14627
    conftest$ac_exeext conftest.$ac_ext
 
14628
LIBS=$ac_check_lib_save_LIBS
 
14629
fi
 
14630
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
 
14631
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
 
14632
if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
 
14633
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
 
14634
$as_echo_n "checking for ngettext in -lintl... " >&6; }
 
14635
if ${ac_cv_lib_intl_ngettext+:} false; then :
 
14636
  $as_echo_n "(cached) " >&6
 
14637
else
 
14638
  ac_check_lib_save_LIBS=$LIBS
 
14639
LIBS="-lintl  $LIBS"
 
14640
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14641
/* end confdefs.h.  */
 
14642
 
 
14643
/* Override any GCC internal prototype to avoid an error.
 
14644
   Use char because int might match the return type of a GCC
 
14645
   builtin and then its argument prototype would still apply.  */
 
14646
#ifdef __cplusplus
 
14647
extern "C"
 
14648
#endif
 
14649
char ngettext ();
 
14650
int
 
14651
main ()
 
14652
{
 
14653
return ngettext ();
 
14654
  ;
 
14655
  return 0;
 
14656
}
 
14657
_ACEOF
 
14658
if ac_fn_c_try_link "$LINENO"; then :
 
14659
  ac_cv_lib_intl_ngettext=yes
 
14660
else
 
14661
  ac_cv_lib_intl_ngettext=no
 
14662
fi
 
14663
rm -f core conftest.err conftest.$ac_objext \
 
14664
    conftest$ac_exeext conftest.$ac_ext
 
14665
LIBS=$ac_check_lib_save_LIBS
 
14666
fi
 
14667
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
 
14668
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
 
14669
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
 
14670
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
 
14671
$as_echo_n "checking for dgettext in -lintl... " >&6; }
 
14672
if ${ac_cv_lib_intl_dgettext+:} false; then :
 
14673
  $as_echo_n "(cached) " >&6
 
14674
else
 
14675
  ac_check_lib_save_LIBS=$LIBS
 
14676
LIBS="-lintl  $LIBS"
 
14677
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14678
/* end confdefs.h.  */
 
14679
 
 
14680
/* Override any GCC internal prototype to avoid an error.
 
14681
   Use char because int might match the return type of a GCC
 
14682
   builtin and then its argument prototype would still apply.  */
 
14683
#ifdef __cplusplus
 
14684
extern "C"
 
14685
#endif
 
14686
char dgettext ();
 
14687
int
 
14688
main ()
 
14689
{
 
14690
return dgettext ();
 
14691
  ;
 
14692
  return 0;
 
14693
}
 
14694
_ACEOF
 
14695
if ac_fn_c_try_link "$LINENO"; then :
 
14696
  ac_cv_lib_intl_dgettext=yes
 
14697
else
 
14698
  ac_cv_lib_intl_dgettext=no
 
14699
fi
 
14700
rm -f core conftest.err conftest.$ac_objext \
 
14701
    conftest$ac_exeext conftest.$ac_ext
 
14702
LIBS=$ac_check_lib_save_LIBS
 
14703
fi
 
14704
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
 
14705
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
 
14706
if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
 
14707
  gt_cv_func_dgettext_libintl=yes
 
14708
fi
 
14709
 
 
14710
fi
 
14711
 
 
14712
fi
 
14713
 
 
14714
 
 
14715
        if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
 
14716
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
 
14717
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
 
14718
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
 
14719
$as_echo "" >&6; }
 
14720
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
 
14721
$as_echo_n "checking for ngettext in -lintl... " >&6; }
 
14722
if ${ac_cv_lib_intl_ngettext+:} false; then :
 
14723
  $as_echo_n "(cached) " >&6
 
14724
else
 
14725
  ac_check_lib_save_LIBS=$LIBS
 
14726
LIBS="-lintl -liconv $LIBS"
 
14727
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14728
/* end confdefs.h.  */
 
14729
 
 
14730
/* Override any GCC internal prototype to avoid an error.
 
14731
   Use char because int might match the return type of a GCC
 
14732
   builtin and then its argument prototype would still apply.  */
 
14733
#ifdef __cplusplus
 
14734
extern "C"
 
14735
#endif
 
14736
char ngettext ();
 
14737
int
 
14738
main ()
 
14739
{
 
14740
return ngettext ();
 
14741
  ;
 
14742
  return 0;
 
14743
}
 
14744
_ACEOF
 
14745
if ac_fn_c_try_link "$LINENO"; then :
 
14746
  ac_cv_lib_intl_ngettext=yes
 
14747
else
 
14748
  ac_cv_lib_intl_ngettext=no
 
14749
fi
 
14750
rm -f core conftest.err conftest.$ac_objext \
 
14751
    conftest$ac_exeext conftest.$ac_ext
 
14752
LIBS=$ac_check_lib_save_LIBS
 
14753
fi
 
14754
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
 
14755
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
 
14756
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
 
14757
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
 
14758
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
 
14759
if ${ac_cv_lib_intl_dcgettext+:} false; then :
 
14760
  $as_echo_n "(cached) " >&6
 
14761
else
 
14762
  ac_check_lib_save_LIBS=$LIBS
 
14763
LIBS="-lintl -liconv $LIBS"
 
14764
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14765
/* end confdefs.h.  */
 
14766
 
 
14767
/* Override any GCC internal prototype to avoid an error.
 
14768
   Use char because int might match the return type of a GCC
 
14769
   builtin and then its argument prototype would still apply.  */
 
14770
#ifdef __cplusplus
 
14771
extern "C"
 
14772
#endif
 
14773
char dcgettext ();
 
14774
int
 
14775
main ()
 
14776
{
 
14777
return dcgettext ();
 
14778
  ;
 
14779
  return 0;
 
14780
}
 
14781
_ACEOF
 
14782
if ac_fn_c_try_link "$LINENO"; then :
 
14783
  ac_cv_lib_intl_dcgettext=yes
 
14784
else
 
14785
  ac_cv_lib_intl_dcgettext=no
 
14786
fi
 
14787
rm -f core conftest.err conftest.$ac_objext \
 
14788
    conftest$ac_exeext conftest.$ac_ext
 
14789
LIBS=$ac_check_lib_save_LIBS
 
14790
fi
 
14791
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
 
14792
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
 
14793
if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
 
14794
  gt_cv_func_dgettext_libintl=yes
 
14795
                        libintl_extra_libs=-liconv
 
14796
else
 
14797
  :
 
14798
fi
 
14799
 
 
14800
else
 
14801
  :
 
14802
fi
 
14803
 
 
14804
        fi
 
14805
 
 
14806
        #
 
14807
        # If we found libintl, then check in it for bind_textdomain_codeset();
 
14808
        # we'll prefer libc if neither have bind_textdomain_codeset(),
 
14809
        # and both have dgettext and ngettext
 
14810
        #
 
14811
        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
 
14812
          glib_save_LIBS="$LIBS"
 
14813
          LIBS="$LIBS -lintl $libintl_extra_libs"
 
14814
          unset ac_cv_func_bind_textdomain_codeset
 
14815
          for ac_func in bind_textdomain_codeset
 
14816
do :
 
14817
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
14818
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
 
14819
  cat >>confdefs.h <<_ACEOF
 
14820
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
 
14821
_ACEOF
 
14822
 
 
14823
fi
 
14824
done
 
14825
 
 
14826
          LIBS="$glib_save_LIBS"
 
14827
 
 
14828
          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
 
14829
            gt_cv_func_dgettext_libc=no
 
14830
          else
 
14831
            if test "$gt_cv_func_dgettext_libc" = "yes" \
 
14832
                && test "$gt_cv_func_ngettext_libc" = "yes"; then
 
14833
              gt_cv_func_dgettext_libintl=no
 
14834
            fi
 
14835
          fi
 
14836
        fi
 
14837
      fi
 
14838
 
 
14839
      if test "$gt_cv_func_dgettext_libc" = "yes" \
 
14840
        || test "$gt_cv_func_dgettext_libintl" = "yes"; then
 
14841
        gt_cv_have_gettext=yes
 
14842
      fi
 
14843
 
 
14844
      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
 
14845
        INTLLIBS="-lintl $libintl_extra_libs"
 
14846
      fi
 
14847
 
 
14848
      if test "$gt_cv_have_gettext" = "yes"; then
 
14849
 
 
14850
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
 
14851
 
 
14852
        # Extract the first word of "msgfmt", so it can be a program name with args.
 
14853
set dummy msgfmt; ac_word=$2
 
14854
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
14855
$as_echo_n "checking for $ac_word... " >&6; }
 
14856
if ${ac_cv_path_MSGFMT+:} false; then :
 
14857
  $as_echo_n "(cached) " >&6
 
14858
else
 
14859
  case "$MSGFMT" in
 
14860
  /*)
 
14861
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
 
14862
  ;;
 
14863
  *)
 
14864
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
 
14865
  for ac_dir in $PATH; do
 
14866
    test -z "$ac_dir" && ac_dir=.
 
14867
    if test -f $ac_dir/$ac_word; then
 
14868
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
 
14869
        ac_cv_path_MSGFMT="$ac_dir/$ac_word"
 
14870
        break
 
14871
      fi
 
14872
    fi
 
14873
  done
 
14874
  IFS="$ac_save_ifs"
 
14875
  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
 
14876
  ;;
 
14877
esac
 
14878
fi
 
14879
MSGFMT="$ac_cv_path_MSGFMT"
 
14880
if test "$MSGFMT" != "no"; then
 
14881
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
 
14882
$as_echo "$MSGFMT" >&6; }
 
14883
else
 
14884
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14885
$as_echo "no" >&6; }
 
14886
fi
 
14887
        if test "$MSGFMT" != "no"; then
 
14888
          glib_save_LIBS="$LIBS"
 
14889
          LIBS="$LIBS $INTLLIBS"
 
14890
          for ac_func in dcgettext
 
14891
do :
 
14892
  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
 
14893
if test "x$ac_cv_func_dcgettext" = xyes; then :
 
14894
  cat >>confdefs.h <<_ACEOF
 
14895
#define HAVE_DCGETTEXT 1
 
14896
_ACEOF
 
14897
 
 
14898
fi
 
14899
done
 
14900
 
 
14901
          MSGFMT_OPTS=
 
14902
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
 
14903
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
 
14904
          cat >conftest.foo <<_ACEOF
 
14905
 
 
14906
msgid ""
 
14907
msgstr ""
 
14908
"Content-Type: text/plain; charset=UTF-8\n"
 
14909
"Project-Id-Version: test 1.0\n"
 
14910
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
 
14911
"Last-Translator: test <foo@bar.xx>\n"
 
14912
"Language-Team: C <LL@li.org>\n"
 
14913
"MIME-Version: 1.0\n"
 
14914
"Content-Transfer-Encoding: 8bit\n"
 
14915
 
 
14916
_ACEOF
 
14917
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
 
14918
  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
 
14919
  ac_status=$?
 
14920
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14921
  test $ac_status = 0; }; then
 
14922
  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
14923
$as_echo "yes" >&6; }
 
14924
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14925
$as_echo "no" >&6; }
 
14926
echo "$as_me: failed input was:" >&5
 
14927
sed 's/^/| /' conftest.foo >&5
 
14928
fi
 
14929
 
 
14930
          # Extract the first word of "gmsgfmt", so it can be a program name with args.
 
14931
set dummy gmsgfmt; ac_word=$2
 
14932
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
14933
$as_echo_n "checking for $ac_word... " >&6; }
 
14934
if ${ac_cv_path_GMSGFMT+:} false; then :
 
14935
  $as_echo_n "(cached) " >&6
 
14936
else
 
14937
  case $GMSGFMT in
 
14938
  [\\/]* | ?:[\\/]*)
 
14939
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
 
14940
  ;;
 
14941
  *)
 
14942
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14943
for as_dir in $PATH
 
14944
do
 
14945
  IFS=$as_save_IFS
 
14946
  test -z "$as_dir" && as_dir=.
 
14947
    for ac_exec_ext in '' $ac_executable_extensions; do
 
14948
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
14949
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
14950
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14951
    break 2
 
14952
  fi
 
14953
done
 
14954
  done
 
14955
IFS=$as_save_IFS
 
14956
 
 
14957
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
 
14958
  ;;
 
14959
esac
 
14960
fi
 
14961
GMSGFMT=$ac_cv_path_GMSGFMT
 
14962
if test -n "$GMSGFMT"; then
 
14963
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
 
14964
$as_echo "$GMSGFMT" >&6; }
 
14965
else
 
14966
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14967
$as_echo "no" >&6; }
 
14968
fi
 
14969
 
 
14970
 
 
14971
          # Extract the first word of "xgettext", so it can be a program name with args.
 
14972
set dummy xgettext; ac_word=$2
 
14973
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
14974
$as_echo_n "checking for $ac_word... " >&6; }
 
14975
if ${ac_cv_path_XGETTEXT+:} false; then :
 
14976
  $as_echo_n "(cached) " >&6
 
14977
else
 
14978
  case "$XGETTEXT" in
 
14979
  /*)
 
14980
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
 
14981
  ;;
 
14982
  *)
 
14983
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
 
14984
  for ac_dir in $PATH; do
 
14985
    test -z "$ac_dir" && ac_dir=.
 
14986
    if test -f $ac_dir/$ac_word; then
 
14987
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
 
14988
        ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
 
14989
        break
 
14990
      fi
 
14991
    fi
 
14992
  done
 
14993
  IFS="$ac_save_ifs"
 
14994
  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
 
14995
  ;;
 
14996
esac
 
14997
fi
 
14998
XGETTEXT="$ac_cv_path_XGETTEXT"
 
14999
if test "$XGETTEXT" != ":"; then
 
15000
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
 
15001
$as_echo "$XGETTEXT" >&6; }
 
15002
else
 
15003
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15004
$as_echo "no" >&6; }
 
15005
fi
 
15006
 
 
15007
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15008
/* end confdefs.h.  */
 
15009
 
 
15010
int
 
15011
main ()
 
15012
{
 
15013
extern int _nl_msg_cat_cntr;
 
15014
                         return _nl_msg_cat_cntr
 
15015
  ;
 
15016
  return 0;
 
15017
}
 
15018
_ACEOF
 
15019
if ac_fn_c_try_link "$LINENO"; then :
 
15020
  CATOBJEXT=.gmo
 
15021
             DATADIRNAME=share
 
15022
else
 
15023
  case $host in
 
15024
            *-*-solaris*)
 
15025
                                                                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
15026
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
 
15027
  CATOBJEXT=.gmo
 
15028
               DATADIRNAME=share
 
15029
else
 
15030
  CATOBJEXT=.mo
 
15031
               DATADIRNAME=lib
 
15032
fi
 
15033
 
 
15034
            ;;
 
15035
            *)
 
15036
            CATOBJEXT=.mo
 
15037
            DATADIRNAME=lib
 
15038
            ;;
 
15039
            esac
 
15040
fi
 
15041
rm -f core conftest.err conftest.$ac_objext \
 
15042
    conftest$ac_exeext conftest.$ac_ext
 
15043
          LIBS="$glib_save_LIBS"
 
15044
          INSTOBJEXT=.mo
 
15045
        else
 
15046
          gt_cv_have_gettext=no
 
15047
        fi
 
15048
      fi
 
15049
 
 
15050
fi
 
15051
 
 
15052
 
 
15053
 
 
15054
    if test "$gt_cv_have_gettext" = "yes" ; then
 
15055
 
 
15056
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
 
15057
 
 
15058
    fi
 
15059
 
 
15060
        if test "$XGETTEXT" != ":"; then
 
15061
                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
 
15062
        : ;
 
15063
      else
 
15064
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
 
15065
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
 
15066
        XGETTEXT=":"
 
15067
      fi
 
15068
    fi
 
15069
 
 
15070
    # We need to process the po/ directory.
 
15071
    POSUB=po
 
15072
 
 
15073
    ac_config_commands="$ac_config_commands default-1"
 
15074
 
 
15075
 
 
15076
                for lang in $ALL_LINGUAS; do
 
15077
      GMOFILES="$GMOFILES $lang.gmo"
 
15078
      POFILES="$POFILES $lang.po"
 
15079
    done
 
15080
 
 
15081
 
 
15082
 
 
15083
 
 
15084
 
 
15085
 
 
15086
 
 
15087
 
 
15088
 
 
15089
 
 
15090
 
 
15091
 
 
15092
 
 
15093
   if test "$gt_cv_have_gettext" = "yes"; then
 
15094
     if test "x$ALL_LINGUAS" = "x"; then
 
15095
       LINGUAS=
 
15096
     else
 
15097
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
 
15098
$as_echo_n "checking for catalogs to be installed... " >&6; }
 
15099
       NEW_LINGUAS=
 
15100
       for presentlang in $ALL_LINGUAS; do
 
15101
         useit=no
 
15102
         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
 
15103
           desiredlanguages="$LINGUAS"
 
15104
         else
 
15105
           desiredlanguages="$ALL_LINGUAS"
 
15106
         fi
 
15107
         for desiredlang in $desiredlanguages; do
 
15108
           # Use the presentlang catalog if desiredlang is
 
15109
           #   a. equal to presentlang, or
 
15110
           #   b. a variant of presentlang (because in this case,
 
15111
           #      presentlang can be used as a fallback for messages
 
15112
           #      which are not translated in the desiredlang catalog).
 
15113
           case "$desiredlang" in
 
15114
             "$presentlang"*) useit=yes;;
 
15115
           esac
 
15116
         done
 
15117
         if test $useit = yes; then
 
15118
           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
 
15119
         fi
 
15120
       done
 
15121
       LINGUAS=$NEW_LINGUAS
 
15122
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
 
15123
$as_echo "$LINGUAS" >&6; }
 
15124
     fi
 
15125
 
 
15126
          if test -n "$LINGUAS"; then
 
15127
       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
 
15128
     fi
 
15129
   fi
 
15130
 
 
15131
            MKINSTALLDIRS=
 
15132
   if test -n "$ac_aux_dir"; then
 
15133
     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
 
15134
   fi
 
15135
   if test -z "$MKINSTALLDIRS"; then
 
15136
     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
 
15137
   fi
 
15138
 
 
15139
 
 
15140
         test -d po || mkdir po
 
15141
   if test "x$srcdir" != "x."; then
 
15142
     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
 
15143
       posrcprefix="$srcdir/"
 
15144
     else
 
15145
       posrcprefix="../$srcdir/"
 
15146
     fi
 
15147
   else
 
15148
     posrcprefix="../"
 
15149
   fi
 
15150
   rm -f po/POTFILES
 
15151
   sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
 
15152
        < $srcdir/po/POTFILES.in > po/POTFILES
 
15153
 
 
15154
 
 
15155
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
 
15156
$as_echo_n "checking whether NLS is requested... " >&6; }
 
15157
    # Check whether --enable-nls was given.
 
15158
if test "${enable_nls+set}" = set; then :
 
15159
  enableval=$enable_nls; USE_NLS=$enableval
 
15160
else
 
15161
  USE_NLS=yes
 
15162
fi
 
15163
 
 
15164
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
 
15165
$as_echo "$USE_NLS" >&6; }
 
15166
 
 
15167
 
 
15168
 
 
15169
 
 
15170
case "$am__api_version" in
 
15171
    1.01234)
 
15172
        as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
 
15173
    ;;
 
15174
    *)
 
15175
    ;;
 
15176
esac
 
15177
 
 
15178
if test -n "0.40.0"; then
 
15179
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.40.0" >&5
 
15180
$as_echo_n "checking for intltool >= 0.40.0... " >&6; }
 
15181
 
 
15182
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.40.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
 
15183
    INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
 
15184
    INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
 
15185
 
 
15186
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
 
15187
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
 
15188
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
 
15189
        as_fn_error $? "Your intltool is too old.  You need intltool 0.40.0 or later." "$LINENO" 5
 
15190
fi
 
15191
 
 
15192
# Extract the first word of "intltool-update", so it can be a program name with args.
 
15193
set dummy intltool-update; ac_word=$2
 
15194
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
15195
$as_echo_n "checking for $ac_word... " >&6; }
 
15196
if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
 
15197
  $as_echo_n "(cached) " >&6
 
15198
else
 
15199
  case $INTLTOOL_UPDATE in
 
15200
  [\\/]* | ?:[\\/]*)
 
15201
  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
 
15202
  ;;
 
15203
  *)
 
15204
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15205
for as_dir in $PATH
 
15206
do
 
15207
  IFS=$as_save_IFS
 
15208
  test -z "$as_dir" && as_dir=.
 
15209
    for ac_exec_ext in '' $ac_executable_extensions; do
 
15210
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
15211
    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
 
15212
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15213
    break 2
 
15214
  fi
 
15215
done
 
15216
  done
 
15217
IFS=$as_save_IFS
 
15218
 
 
15219
  ;;
 
15220
esac
 
15221
fi
 
15222
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
 
15223
if test -n "$INTLTOOL_UPDATE"; then
 
15224
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
 
15225
$as_echo "$INTLTOOL_UPDATE" >&6; }
 
15226
else
 
15227
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15228
$as_echo "no" >&6; }
 
15229
fi
 
15230
 
 
15231
 
 
15232
# Extract the first word of "intltool-merge", so it can be a program name with args.
 
15233
set dummy intltool-merge; ac_word=$2
 
15234
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
15235
$as_echo_n "checking for $ac_word... " >&6; }
 
15236
if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
 
15237
  $as_echo_n "(cached) " >&6
 
15238
else
 
15239
  case $INTLTOOL_MERGE in
 
15240
  [\\/]* | ?:[\\/]*)
 
15241
  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
 
15242
  ;;
 
15243
  *)
 
15244
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15245
for as_dir in $PATH
 
15246
do
 
15247
  IFS=$as_save_IFS
 
15248
  test -z "$as_dir" && as_dir=.
 
15249
    for ac_exec_ext in '' $ac_executable_extensions; do
 
15250
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
15251
    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
 
15252
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15253
    break 2
 
15254
  fi
 
15255
done
 
15256
  done
 
15257
IFS=$as_save_IFS
 
15258
 
 
15259
  ;;
 
15260
esac
 
15261
fi
 
15262
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
 
15263
if test -n "$INTLTOOL_MERGE"; then
 
15264
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
 
15265
$as_echo "$INTLTOOL_MERGE" >&6; }
 
15266
else
 
15267
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15268
$as_echo "no" >&6; }
 
15269
fi
 
15270
 
 
15271
 
 
15272
# Extract the first word of "intltool-extract", so it can be a program name with args.
 
15273
set dummy intltool-extract; ac_word=$2
 
15274
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
15275
$as_echo_n "checking for $ac_word... " >&6; }
 
15276
if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
 
15277
  $as_echo_n "(cached) " >&6
 
15278
else
 
15279
  case $INTLTOOL_EXTRACT in
 
15280
  [\\/]* | ?:[\\/]*)
 
15281
  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
 
15282
  ;;
 
15283
  *)
 
15284
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15285
for as_dir in $PATH
 
15286
do
 
15287
  IFS=$as_save_IFS
 
15288
  test -z "$as_dir" && as_dir=.
 
15289
    for ac_exec_ext in '' $ac_executable_extensions; do
 
15290
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
15291
    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
 
15292
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15293
    break 2
 
15294
  fi
 
15295
done
 
15296
  done
 
15297
IFS=$as_save_IFS
 
15298
 
 
15299
  ;;
 
15300
esac
 
15301
fi
 
15302
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
 
15303
if test -n "$INTLTOOL_EXTRACT"; then
 
15304
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
 
15305
$as_echo "$INTLTOOL_EXTRACT" >&6; }
 
15306
else
 
15307
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15308
$as_echo "no" >&6; }
 
15309
fi
 
15310
 
 
15311
 
 
15312
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
 
15313
    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
 
15314
fi
 
15315
 
 
15316
  INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
15317
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
15318
     INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
15319
     INTLTOOL_PROP_RULE='%.prop:      %.prop.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
15320
      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
 
15321
     INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
15322
   INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
15323
    INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
15324
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
15325
       INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
15326
      INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
15327
      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
 
15328
      INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
15329
      INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
15330
    INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
15331
  INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
15332
    INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
15333
    INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
15334
   INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
15335
 
 
15336
 
 
15337
 
 
15338
 
 
15339
 
 
15340
 
 
15341
 
 
15342
 
 
15343
 
 
15344
 
 
15345
 
 
15346
 
 
15347
 
 
15348
 
 
15349
 
 
15350
 
 
15351
 
 
15352
 
 
15353
 
 
15354
 
 
15355
 
 
15356
 
 
15357
 
 
15358
 
 
15359
 
 
15360
 
 
15361
 
 
15362
 
 
15363
 
 
15364
 
 
15365
 
 
15366
 
 
15367
 
 
15368
 
 
15369
 
 
15370
 
 
15371
 
 
15372
 
 
15373
 
 
15374
 
 
15375
 
 
15376
 
 
15377
 
 
15378
 
 
15379
 
 
15380
 
 
15381
 
 
15382
 
 
15383
 
 
15384
 
 
15385
 
 
15386
 
 
15387
 
 
15388
 
 
15389
 
 
15390
 
 
15391
 
 
15392
 
 
15393
 
 
15394
 
 
15395
 
 
15396
 
 
15397
 
 
15398
 
 
15399
 
 
15400
 
 
15401
 
 
15402
 
 
15403
 
 
15404
 
 
15405
 
 
15406
 
 
15407
 
 
15408
 
 
15409
 
 
15410
 
 
15411
 
 
15412
 
 
15413
 
 
15414
 
 
15415
 
 
15416
 
 
15417
 
 
15418
 
 
15419
 
 
15420
 
 
15421
 
 
15422
 
 
15423
 
 
15424
 
 
15425
 
 
15426
 
 
15427
 
 
15428
 
 
15429
 
 
15430
 
 
15431
 
 
15432
# Check the gettext tools to make sure they are GNU
 
15433
# Extract the first word of "xgettext", so it can be a program name with args.
 
15434
set dummy xgettext; ac_word=$2
 
15435
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
15436
$as_echo_n "checking for $ac_word... " >&6; }
 
15437
if ${ac_cv_path_XGETTEXT+:} false; then :
 
15438
  $as_echo_n "(cached) " >&6
 
15439
else
 
15440
  case $XGETTEXT in
 
15441
  [\\/]* | ?:[\\/]*)
 
15442
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
 
15443
  ;;
 
15444
  *)
 
15445
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15446
for as_dir in $PATH
 
15447
do
 
15448
  IFS=$as_save_IFS
 
15449
  test -z "$as_dir" && as_dir=.
 
15450
    for ac_exec_ext in '' $ac_executable_extensions; do
 
15451
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
15452
    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
 
15453
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15454
    break 2
 
15455
  fi
 
15456
done
 
15457
  done
 
15458
IFS=$as_save_IFS
 
15459
 
 
15460
  ;;
 
15461
esac
 
15462
fi
 
15463
XGETTEXT=$ac_cv_path_XGETTEXT
 
15464
if test -n "$XGETTEXT"; then
 
15465
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
 
15466
$as_echo "$XGETTEXT" >&6; }
 
15467
else
 
15468
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15469
$as_echo "no" >&6; }
 
15470
fi
 
15471
 
 
15472
 
 
15473
# Extract the first word of "msgmerge", so it can be a program name with args.
 
15474
set dummy msgmerge; ac_word=$2
 
15475
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
15476
$as_echo_n "checking for $ac_word... " >&6; }
 
15477
if ${ac_cv_path_MSGMERGE+:} false; then :
 
15478
  $as_echo_n "(cached) " >&6
 
15479
else
 
15480
  case $MSGMERGE in
 
15481
  [\\/]* | ?:[\\/]*)
 
15482
  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
 
15483
  ;;
 
15484
  *)
 
15485
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15486
for as_dir in $PATH
 
15487
do
 
15488
  IFS=$as_save_IFS
 
15489
  test -z "$as_dir" && as_dir=.
 
15490
    for ac_exec_ext in '' $ac_executable_extensions; do
 
15491
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
15492
    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
 
15493
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15494
    break 2
 
15495
  fi
 
15496
done
 
15497
  done
 
15498
IFS=$as_save_IFS
 
15499
 
 
15500
  ;;
 
15501
esac
 
15502
fi
 
15503
MSGMERGE=$ac_cv_path_MSGMERGE
 
15504
if test -n "$MSGMERGE"; then
 
15505
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
 
15506
$as_echo "$MSGMERGE" >&6; }
 
15507
else
 
15508
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15509
$as_echo "no" >&6; }
 
15510
fi
 
15511
 
 
15512
 
 
15513
# Extract the first word of "msgfmt", so it can be a program name with args.
 
15514
set dummy msgfmt; ac_word=$2
 
15515
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
15516
$as_echo_n "checking for $ac_word... " >&6; }
 
15517
if ${ac_cv_path_MSGFMT+:} false; then :
 
15518
  $as_echo_n "(cached) " >&6
 
15519
else
 
15520
  case $MSGFMT in
 
15521
  [\\/]* | ?:[\\/]*)
 
15522
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
 
15523
  ;;
 
15524
  *)
 
15525
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15526
for as_dir in $PATH
 
15527
do
 
15528
  IFS=$as_save_IFS
 
15529
  test -z "$as_dir" && as_dir=.
 
15530
    for ac_exec_ext in '' $ac_executable_extensions; do
 
15531
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
15532
    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
15533
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15534
    break 2
 
15535
  fi
 
15536
done
 
15537
  done
 
15538
IFS=$as_save_IFS
 
15539
 
 
15540
  ;;
 
15541
esac
 
15542
fi
 
15543
MSGFMT=$ac_cv_path_MSGFMT
 
15544
if test -n "$MSGFMT"; then
 
15545
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
 
15546
$as_echo "$MSGFMT" >&6; }
 
15547
else
 
15548
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15549
$as_echo "no" >&6; }
 
15550
fi
 
15551
 
 
15552
 
 
15553
# Extract the first word of "gmsgfmt", so it can be a program name with args.
 
15554
set dummy gmsgfmt; ac_word=$2
 
15555
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
15556
$as_echo_n "checking for $ac_word... " >&6; }
 
15557
if ${ac_cv_path_GMSGFMT+:} false; then :
 
15558
  $as_echo_n "(cached) " >&6
 
15559
else
 
15560
  case $GMSGFMT in
 
15561
  [\\/]* | ?:[\\/]*)
 
15562
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
 
15563
  ;;
 
15564
  *)
 
15565
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15566
for as_dir in $PATH
 
15567
do
 
15568
  IFS=$as_save_IFS
 
15569
  test -z "$as_dir" && as_dir=.
 
15570
    for ac_exec_ext in '' $ac_executable_extensions; do
 
15571
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
15572
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
15573
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15574
    break 2
 
15575
  fi
 
15576
done
 
15577
  done
 
15578
IFS=$as_save_IFS
 
15579
 
 
15580
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
 
15581
  ;;
 
15582
esac
 
15583
fi
 
15584
GMSGFMT=$ac_cv_path_GMSGFMT
 
15585
if test -n "$GMSGFMT"; then
 
15586
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
 
15587
$as_echo "$GMSGFMT" >&6; }
 
15588
else
 
15589
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15590
$as_echo "no" >&6; }
 
15591
fi
 
15592
 
 
15593
 
 
15594
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
 
15595
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
 
15596
fi
 
15597
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
 
15598
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
 
15599
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
 
15600
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
 
15601
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
 
15602
fi
 
15603
 
 
15604
# Extract the first word of "perl", so it can be a program name with args.
 
15605
set dummy perl; ac_word=$2
 
15606
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
15607
$as_echo_n "checking for $ac_word... " >&6; }
 
15608
if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
 
15609
  $as_echo_n "(cached) " >&6
 
15610
else
 
15611
  case $INTLTOOL_PERL in
 
15612
  [\\/]* | ?:[\\/]*)
 
15613
  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
 
15614
  ;;
 
15615
  *)
 
15616
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15617
for as_dir in $PATH
 
15618
do
 
15619
  IFS=$as_save_IFS
 
15620
  test -z "$as_dir" && as_dir=.
 
15621
    for ac_exec_ext in '' $ac_executable_extensions; do
 
15622
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
15623
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
 
15624
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15625
    break 2
 
15626
  fi
 
15627
done
 
15628
  done
 
15629
IFS=$as_save_IFS
 
15630
 
 
15631
  ;;
 
15632
esac
 
15633
fi
 
15634
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
 
15635
if test -n "$INTLTOOL_PERL"; then
 
15636
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
 
15637
$as_echo "$INTLTOOL_PERL" >&6; }
 
15638
else
 
15639
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15640
$as_echo "no" >&6; }
 
15641
fi
 
15642
 
 
15643
 
 
15644
if test -z "$INTLTOOL_PERL"; then
 
15645
   as_fn_error $? "perl not found" "$LINENO" 5
 
15646
fi
 
15647
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
 
15648
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
 
15649
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
 
15650
if test $? -ne 0; then
 
15651
   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
 
15652
else
 
15653
   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
 
15654
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
 
15655
$as_echo "$IT_PERL_VERSION" >&6; }
 
15656
fi
 
15657
if test "x" != "xno-xml"; then
 
15658
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
 
15659
$as_echo_n "checking for XML::Parser... " >&6; }
 
15660
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
 
15661
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 
15662
$as_echo "ok" >&6; }
 
15663
   else
 
15664
       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
 
15665
   fi
 
15666
fi
 
15667
 
 
15668
# Substitute ALL_LINGUAS so we can use it in po/Makefile
 
15669
 
 
15670
 
 
15671
# Set DATADIRNAME correctly if it is not set yet
 
15672
# (copied from glib-gettext.m4)
 
15673
if test -z "$DATADIRNAME"; then
 
15674
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15675
/* end confdefs.h.  */
 
15676
 
 
15677
int
 
15678
main ()
 
15679
{
 
15680
extern int _nl_msg_cat_cntr;
 
15681
                       return _nl_msg_cat_cntr
 
15682
  ;
 
15683
  return 0;
 
15684
}
 
15685
_ACEOF
 
15686
if ac_fn_c_try_link "$LINENO"; then :
 
15687
  DATADIRNAME=share
 
15688
else
 
15689
  case $host in
 
15690
    *-*-solaris*)
 
15691
                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
15692
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
 
15693
  DATADIRNAME=share
 
15694
else
 
15695
  DATADIRNAME=lib
 
15696
fi
 
15697
 
 
15698
    ;;
 
15699
    *)
 
15700
    DATADIRNAME=lib
 
15701
    ;;
 
15702
    esac
 
15703
fi
 
15704
rm -f core conftest.err conftest.$ac_objext \
 
15705
    conftest$ac_exeext conftest.$ac_ext
 
15706
fi
 
15707
 
 
15708
 
 
15709
 
 
15710
 
 
15711
 
 
15712
 
 
15713
# Check whether --enable-silent-rules was given.
 
15714
if test "${enable_silent_rules+set}" = set; then :
 
15715
  enableval=$enable_silent_rules;
 
15716
fi
 
15717
 
 
15718
case $enable_silent_rules in
 
15719
yes) AM_DEFAULT_VERBOSITY=0;;
 
15720
no)  AM_DEFAULT_VERBOSITY=1;;
 
15721
*)   AM_DEFAULT_VERBOSITY=0;;
 
15722
esac
 
15723
AM_BACKSLASH='\'
 
15724
 
 
15725
 
 
15726
# Extract the first word of "xsltproc", so it can be a program name with args.
 
15727
set dummy xsltproc; ac_word=$2
 
15728
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
15729
$as_echo_n "checking for $ac_word... " >&6; }
 
15730
if ${ac_cv_path_XSLTPROC+:} false; then :
 
15731
  $as_echo_n "(cached) " >&6
 
15732
else
 
15733
  case $XSLTPROC in
 
15734
  [\\/]* | ?:[\\/]*)
 
15735
  ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
 
15736
  ;;
 
15737
  *)
 
15738
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15739
for as_dir in $PATH
 
15740
do
 
15741
  IFS=$as_save_IFS
 
15742
  test -z "$as_dir" && as_dir=.
 
15743
    for ac_exec_ext in '' $ac_executable_extensions; do
 
15744
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
15745
    ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
 
15746
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15747
    break 2
 
15748
  fi
 
15749
done
 
15750
  done
 
15751
IFS=$as_save_IFS
 
15752
 
 
15753
  ;;
 
15754
esac
 
15755
fi
 
15756
XSLTPROC=$ac_cv_path_XSLTPROC
 
15757
if test -n "$XSLTPROC"; then
 
15758
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
 
15759
$as_echo "$XSLTPROC" >&6; }
 
15760
else
 
15761
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15762
$as_echo "no" >&6; }
 
15763
fi
 
15764
 
 
15765
 
 
15766
 if test x"$XSLTPROC" != x; then
 
15767
  HAVE_XSLTPROC_TRUE=
 
15768
  HAVE_XSLTPROC_FALSE='#'
 
15769
else
 
15770
  HAVE_XSLTPROC_TRUE='#'
 
15771
  HAVE_XSLTPROC_FALSE=
 
15772
fi
 
15773
 
 
15774
 
 
15775
 
 
15776
ac_config_files="$ac_config_files Makefile src/Makefile src/rygel/Makefile src/ui/Makefile src/plugins/Makefile data/Makefile data/xml/Makefile data/icons/Makefile data/icons/32x32/Makefile data/icons/48x48/Makefile data/icons/120x120/Makefile data/icons/scalable/Makefile data/rygel.desktop.in data/rygel-preferences.desktop.in doc/Makefile po/Makefile.in rygel-1.0.pc tests/Makefile"
 
15777
 
 
15778
cat >confcache <<\_ACEOF
 
15779
# This file is a shell script that caches the results of configure
 
15780
# tests run on this system so they can be shared between configure
 
15781
# scripts and configure runs, see configure's option --config-cache.
 
15782
# It is not useful on other systems.  If it contains results you don't
 
15783
# want to keep, you may remove or edit it.
 
15784
#
 
15785
# config.status only pays attention to the cache file if you give it
 
15786
# the --recheck option to rerun configure.
 
15787
#
 
15788
# `ac_cv_env_foo' variables (set or unset) will be overridden when
 
15789
# loading this file, other *unset* `ac_cv_foo' will be assigned the
 
15790
# following values.
 
15791
 
 
15792
_ACEOF
 
15793
 
 
15794
# The following way of writing the cache mishandles newlines in values,
 
15795
# but we know of no workaround that is simple, portable, and efficient.
 
15796
# So, we kill variables containing newlines.
 
15797
# Ultrix sh set writes to stderr and can't be redirected directly,
 
15798
# and sets the high bit in the cache file unless we assign to the vars.
 
15799
(
 
15800
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
15801
    eval ac_val=\$$ac_var
 
15802
    case $ac_val in #(
 
15803
    *${as_nl}*)
 
15804
      case $ac_var in #(
 
15805
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
15806
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
15807
      esac
 
15808
      case $ac_var in #(
 
15809
      _ | IFS | as_nl) ;; #(
 
15810
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
15811
      *) { eval $ac_var=; unset $ac_var;} ;;
 
15812
      esac ;;
 
15813
    esac
 
15814
  done
 
15815
 
 
15816
  (set) 2>&1 |
 
15817
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
15818
    *${as_nl}ac_space=\ *)
 
15819
      # `set' does not quote correctly, so add quotes: double-quote
 
15820
      # substitution turns \\\\ into \\, and sed turns \\ into \.
 
15821
      sed -n \
 
15822
        "s/'/'\\\\''/g;
 
15823
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
15824
      ;; #(
 
15825
    *)
 
15826
      # `set' quotes correctly as required by POSIX, so do not add quotes.
 
15827
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
15828
      ;;
 
15829
    esac |
 
15830
    sort
 
15831
) |
 
15832
  sed '
 
15833
     /^ac_cv_env_/b end
 
15834
     t clear
 
15835
     :clear
 
15836
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 
15837
     t end
 
15838
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
15839
     :end' >>confcache
 
15840
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
15841
  if test -w "$cache_file"; then
 
15842
    if test "x$cache_file" != "x/dev/null"; then
 
15843
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 
15844
$as_echo "$as_me: updating cache $cache_file" >&6;}
 
15845
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
15846
        cat confcache >"$cache_file"
 
15847
      else
 
15848
        case $cache_file in #(
 
15849
        */* | ?:*)
 
15850
          mv -f confcache "$cache_file"$$ &&
 
15851
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
15852
        *)
 
15853
          mv -f confcache "$cache_file" ;;
 
15854
        esac
 
15855
      fi
 
15856
    fi
 
15857
  else
 
15858
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 
15859
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
15860
  fi
 
15861
fi
 
15862
rm -f confcache
 
15863
 
 
15864
test "x$prefix" = xNONE && prefix=$ac_default_prefix
 
15865
# Let make expand exec_prefix.
 
15866
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 
15867
 
 
15868
DEFS=-DHAVE_CONFIG_H
 
15869
 
 
15870
ac_libobjs=
 
15871
ac_ltlibobjs=
 
15872
U=
 
15873
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 
15874
  # 1. Remove the extension, and $U if already installed.
 
15875
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
15876
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 
15877
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
15878
  #    will be set to the directory where LIBOBJS objects are built.
 
15879
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
15880
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
 
15881
done
 
15882
LIBOBJS=$ac_libobjs
 
15883
 
 
15884
LTLIBOBJS=$ac_ltlibobjs
 
15885
 
 
15886
 
 
15887
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 
15888
  as_fn_error $? "conditional \"AMDEP\" was never defined.
 
15889
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15890
fi
 
15891
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
15892
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
15893
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15894
fi
 
15895
 if test -n "$EXEEXT"; then
 
15896
  am__EXEEXT_TRUE=
 
15897
  am__EXEEXT_FALSE='#'
 
15898
else
 
15899
  am__EXEEXT_TRUE='#'
 
15900
  am__EXEEXT_FALSE=
 
15901
fi
 
15902
 
 
15903
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
 
15904
  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
 
15905
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15906
fi
 
15907
if test -z "${BUILD_TEST_PLUGIN_TRUE}" && test -z "${BUILD_TEST_PLUGIN_FALSE}"; then
 
15908
  as_fn_error $? "conditional \"BUILD_TEST_PLUGIN\" was never defined.
 
15909
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15910
fi
 
15911
if test -z "${BUILD_TRACKER_PLUGIN_TRUE}" && test -z "${BUILD_TRACKER_PLUGIN_FALSE}"; then
 
15912
  as_fn_error $? "conditional \"BUILD_TRACKER_PLUGIN\" was never defined.
 
15913
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15914
fi
 
15915
if test -z "${BUILD_EXTERNAL_PLUGIN_TRUE}" && test -z "${BUILD_EXTERNAL_PLUGIN_FALSE}"; then
 
15916
  as_fn_error $? "conditional \"BUILD_EXTERNAL_PLUGIN\" was never defined.
 
15917
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15918
fi
 
15919
if test -z "${BUILD_MPRIS_PLUGIN_TRUE}" && test -z "${BUILD_MPRIS_PLUGIN_FALSE}"; then
 
15920
  as_fn_error $? "conditional \"BUILD_MPRIS_PLUGIN\" was never defined.
 
15921
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15922
fi
 
15923
if test -z "${BUILD_PLAYBIN_PLUGIN_TRUE}" && test -z "${BUILD_PLAYBIN_PLUGIN_FALSE}"; then
 
15924
  as_fn_error $? "conditional \"BUILD_PLAYBIN_PLUGIN\" was never defined.
 
15925
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15926
fi
 
15927
if test -z "${BUILD_MEDIATHEK_PLUGIN_TRUE}" && test -z "${BUILD_MEDIATHEK_PLUGIN_FALSE}"; then
 
15928
  as_fn_error $? "conditional \"BUILD_MEDIATHEK_PLUGIN\" was never defined.
 
15929
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15930
fi
 
15931
if test -z "${BUILD_MEDIA_EXPORT_PLUGIN_TRUE}" && test -z "${BUILD_MEDIA_EXPORT_PLUGIN_FALSE}"; then
 
15932
  as_fn_error $? "conditional \"BUILD_MEDIA_EXPORT_PLUGIN\" was never defined.
 
15933
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15934
fi
 
15935
if test -z "${BUILD_GST_LAUNCH_PLUGIN_TRUE}" && test -z "${BUILD_GST_LAUNCH_PLUGIN_FALSE}"; then
 
15936
  as_fn_error $? "conditional \"BUILD_GST_LAUNCH_PLUGIN\" was never defined.
 
15937
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15938
fi
 
15939
if test -z "${UNINSTALLED_TRUE}" && test -z "${UNINSTALLED_FALSE}"; then
 
15940
  as_fn_error $? "conditional \"UNINSTALLED\" was never defined.
 
15941
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15942
fi
 
15943
if test -z "${BUILD_UI_TRUE}" && test -z "${BUILD_UI_FALSE}"; then
 
15944
  as_fn_error $? "conditional \"BUILD_UI\" was never defined.
 
15945
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15946
fi
 
15947
 
 
15948
  ac_config_commands="$ac_config_commands po/stamp-it"
 
15949
 
 
15950
 
 
15951
if test -z "${HAVE_XSLTPROC_TRUE}" && test -z "${HAVE_XSLTPROC_FALSE}"; then
 
15952
  as_fn_error $? "conditional \"HAVE_XSLTPROC\" was never defined.
 
15953
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15954
fi
 
15955
 
 
15956
: "${CONFIG_STATUS=./config.status}"
 
15957
ac_write_fail=0
 
15958
ac_clean_files_save=$ac_clean_files
 
15959
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 
15960
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 
15961
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
15962
as_write_fail=0
 
15963
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
 
15964
#! $SHELL
 
15965
# Generated by $as_me.
 
15966
# Run this file to recreate the current configuration.
 
15967
# Compiler output produced by configure, useful for debugging
 
15968
# configure, is in config.log if it exists.
 
15969
 
 
15970
debug=false
 
15971
ac_cs_recheck=false
 
15972
ac_cs_silent=false
 
15973
 
 
15974
SHELL=\${CONFIG_SHELL-$SHELL}
 
15975
export SHELL
 
15976
_ASEOF
 
15977
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
15978
## -------------------- ##
 
15979
## M4sh Initialization. ##
 
15980
## -------------------- ##
 
15981
 
 
15982
# Be more Bourne compatible
 
15983
DUALCASE=1; export DUALCASE # for MKS sh
 
15984
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 
15985
  emulate sh
 
15986
  NULLCMD=:
 
15987
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
15988
  # is contrary to our usage.  Disable this feature.
 
15989
  alias -g '${1+"$@"}'='"$@"'
 
15990
  setopt NO_GLOB_SUBST
 
15991
else
 
15992
  case `(set -o) 2>/dev/null` in #(
 
15993
  *posix*) :
 
15994
    set -o posix ;; #(
 
15995
  *) :
 
15996
     ;;
 
15997
esac
 
15998
fi
 
15999
 
 
16000
 
 
16001
as_nl='
 
16002
'
 
16003
export as_nl
 
16004
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
16005
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
16006
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
16007
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
16008
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
16009
# but without wasting forks for bash or zsh.
 
16010
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
16011
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
16012
  as_echo='print -r --'
 
16013
  as_echo_n='print -rn --'
 
16014
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
16015
  as_echo='printf %s\n'
 
16016
  as_echo_n='printf %s'
 
16017
else
 
16018
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
16019
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
16020
    as_echo_n='/usr/ucb/echo -n'
 
16021
  else
 
16022
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
16023
    as_echo_n_body='eval
 
16024
      arg=$1;
 
16025
      case $arg in #(
 
16026
      *"$as_nl"*)
 
16027
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
16028
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
16029
      esac;
 
16030
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
16031
    '
 
16032
    export as_echo_n_body
 
16033
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
16034
  fi
 
16035
  export as_echo_body
 
16036
  as_echo='sh -c $as_echo_body as_echo'
 
16037
fi
 
16038
 
 
16039
# The user is always right.
 
16040
if test "${PATH_SEPARATOR+set}" != set; then
 
16041
  PATH_SEPARATOR=:
 
16042
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
16043
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
16044
      PATH_SEPARATOR=';'
 
16045
  }
 
16046
fi
 
16047
 
 
16048
 
 
16049
# IFS
 
16050
# We need space, tab and new line, in precisely that order.  Quoting is
 
16051
# there to prevent editors from complaining about space-tab.
 
16052
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
16053
# splitting by setting IFS to empty value.)
 
16054
IFS=" ""        $as_nl"
 
16055
 
 
16056
# Find who we are.  Look in the path if we contain no directory separator.
 
16057
as_myself=
 
16058
case $0 in #((
 
16059
  *[\\/]* ) as_myself=$0 ;;
 
16060
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
16061
for as_dir in $PATH
 
16062
do
 
16063
  IFS=$as_save_IFS
 
16064
  test -z "$as_dir" && as_dir=.
 
16065
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
16066
  done
 
16067
IFS=$as_save_IFS
 
16068
 
 
16069
     ;;
 
16070
esac
 
16071
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
16072
# in which case we are not to be found in the path.
 
16073
if test "x$as_myself" = x; then
 
16074
  as_myself=$0
 
16075
fi
 
16076
if test ! -f "$as_myself"; then
 
16077
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
16078
  exit 1
 
16079
fi
 
16080
 
 
16081
# Unset variables that we do not need and which cause bugs (e.g. in
 
16082
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
16083
# suppresses any "Segmentation fault" message there.  '((' could
 
16084
# trigger a bug in pdksh 5.2.14.
 
16085
for as_var in BASH_ENV ENV MAIL MAILPATH
 
16086
do eval test x\${$as_var+set} = xset \
 
16087
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 
16088
done
 
16089
PS1='$ '
 
16090
PS2='> '
 
16091
PS4='+ '
 
16092
 
 
16093
# NLS nuisances.
 
16094
LC_ALL=C
 
16095
export LC_ALL
 
16096
LANGUAGE=C
 
16097
export LANGUAGE
 
16098
 
 
16099
# CDPATH.
 
16100
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
16101
 
 
16102
 
 
16103
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
16104
# ----------------------------------------
 
16105
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
16106
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
16107
# script with STATUS, using 1 if that was 0.
 
16108
as_fn_error ()
 
16109
{
 
16110
  as_status=$1; test $as_status -eq 0 && as_status=1
 
16111
  if test "$4"; then
 
16112
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
16113
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
16114
  fi
 
16115
  $as_echo "$as_me: error: $2" >&2
 
16116
  as_fn_exit $as_status
 
16117
} # as_fn_error
 
16118
 
 
16119
 
 
16120
# as_fn_set_status STATUS
 
16121
# -----------------------
 
16122
# Set $? to STATUS, without forking.
 
16123
as_fn_set_status ()
 
16124
{
 
16125
  return $1
 
16126
} # as_fn_set_status
 
16127
 
 
16128
# as_fn_exit STATUS
 
16129
# -----------------
 
16130
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
16131
as_fn_exit ()
 
16132
{
 
16133
  set +e
 
16134
  as_fn_set_status $1
 
16135
  exit $1
 
16136
} # as_fn_exit
 
16137
 
 
16138
# as_fn_unset VAR
 
16139
# ---------------
 
16140
# Portably unset VAR.
 
16141
as_fn_unset ()
 
16142
{
 
16143
  { eval $1=; unset $1;}
 
16144
}
 
16145
as_unset=as_fn_unset
 
16146
# as_fn_append VAR VALUE
 
16147
# ----------------------
 
16148
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
16149
# advantage of any shell optimizations that allow amortized linear growth over
 
16150
# repeated appends, instead of the typical quadratic growth present in naive
 
16151
# implementations.
 
16152
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
16153
  eval 'as_fn_append ()
 
16154
  {
 
16155
    eval $1+=\$2
 
16156
  }'
 
16157
else
 
16158
  as_fn_append ()
 
16159
  {
 
16160
    eval $1=\$$1\$2
 
16161
  }
 
16162
fi # as_fn_append
 
16163
 
 
16164
# as_fn_arith ARG...
 
16165
# ------------------
 
16166
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
16167
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
16168
# must be portable across $(()) and expr.
 
16169
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
16170
  eval 'as_fn_arith ()
 
16171
  {
 
16172
    as_val=$(( $* ))
 
16173
  }'
 
16174
else
 
16175
  as_fn_arith ()
 
16176
  {
 
16177
    as_val=`expr "$@" || test $? -eq 1`
 
16178
  }
 
16179
fi # as_fn_arith
 
16180
 
 
16181
 
 
16182
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
16183
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
16184
  as_expr=expr
 
16185
else
 
16186
  as_expr=false
 
16187
fi
 
16188
 
 
16189
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
16190
  as_basename=basename
 
16191
else
 
16192
  as_basename=false
 
16193
fi
 
16194
 
 
16195
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
16196
  as_dirname=dirname
 
16197
else
 
16198
  as_dirname=false
 
16199
fi
 
16200
 
 
16201
as_me=`$as_basename -- "$0" ||
 
16202
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
16203
         X"$0" : 'X\(//\)$' \| \
 
16204
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
16205
$as_echo X/"$0" |
 
16206
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
16207
            s//\1/
 
16208
            q
 
16209
          }
 
16210
          /^X\/\(\/\/\)$/{
 
16211
            s//\1/
 
16212
            q
 
16213
          }
 
16214
          /^X\/\(\/\).*/{
 
16215
            s//\1/
 
16216
            q
 
16217
          }
 
16218
          s/.*/./; q'`
 
16219
 
 
16220
# Avoid depending upon Character Ranges.
 
16221
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
16222
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
16223
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
16224
as_cr_digits='0123456789'
 
16225
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
16226
 
 
16227
ECHO_C= ECHO_N= ECHO_T=
 
16228
case `echo -n x` in #(((((
 
16229
-n*)
 
16230
  case `echo 'xy\c'` in
 
16231
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
16232
  xy)  ECHO_C='\c';;
 
16233
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
16234
       ECHO_T=' ';;
 
16235
  esac;;
 
16236
*)
 
16237
  ECHO_N='-n';;
 
16238
esac
 
16239
 
 
16240
rm -f conf$$ conf$$.exe conf$$.file
 
16241
if test -d conf$$.dir; then
 
16242
  rm -f conf$$.dir/conf$$.file
 
16243
else
 
16244
  rm -f conf$$.dir
 
16245
  mkdir conf$$.dir 2>/dev/null
 
16246
fi
 
16247
if (echo >conf$$.file) 2>/dev/null; then
 
16248
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
16249
    as_ln_s='ln -s'
 
16250
    # ... but there are two gotchas:
 
16251
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
16252
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
16253
    # In both cases, we have to default to `cp -p'.
 
16254
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
16255
      as_ln_s='cp -p'
 
16256
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
16257
    as_ln_s=ln
 
16258
  else
 
16259
    as_ln_s='cp -p'
 
16260
  fi
 
16261
else
 
16262
  as_ln_s='cp -p'
 
16263
fi
 
16264
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
16265
rmdir conf$$.dir 2>/dev/null
 
16266
 
 
16267
 
 
16268
# as_fn_mkdir_p
 
16269
# -------------
 
16270
# Create "$as_dir" as a directory, including parents if necessary.
 
16271
as_fn_mkdir_p ()
 
16272
{
 
16273
 
 
16274
  case $as_dir in #(
 
16275
  -*) as_dir=./$as_dir;;
 
16276
  esac
 
16277
  test -d "$as_dir" || eval $as_mkdir_p || {
 
16278
    as_dirs=
 
16279
    while :; do
 
16280
      case $as_dir in #(
 
16281
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
16282
      *) as_qdir=$as_dir;;
 
16283
      esac
 
16284
      as_dirs="'$as_qdir' $as_dirs"
 
16285
      as_dir=`$as_dirname -- "$as_dir" ||
 
16286
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
16287
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
16288
         X"$as_dir" : 'X\(//\)$' \| \
 
16289
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
16290
$as_echo X"$as_dir" |
 
16291
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
16292
            s//\1/
 
16293
            q
 
16294
          }
 
16295
          /^X\(\/\/\)[^/].*/{
 
16296
            s//\1/
 
16297
            q
 
16298
          }
 
16299
          /^X\(\/\/\)$/{
 
16300
            s//\1/
 
16301
            q
 
16302
          }
 
16303
          /^X\(\/\).*/{
 
16304
            s//\1/
 
16305
            q
 
16306
          }
 
16307
          s/.*/./; q'`
 
16308
      test -d "$as_dir" && break
 
16309
    done
 
16310
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
16311
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
16312
 
 
16313
 
 
16314
} # as_fn_mkdir_p
 
16315
if mkdir -p . 2>/dev/null; then
 
16316
  as_mkdir_p='mkdir -p "$as_dir"'
 
16317
else
 
16318
  test -d ./-p && rmdir ./-p
 
16319
  as_mkdir_p=false
 
16320
fi
 
16321
 
 
16322
if test -x / >/dev/null 2>&1; then
 
16323
  as_test_x='test -x'
 
16324
else
 
16325
  if ls -dL / >/dev/null 2>&1; then
 
16326
    as_ls_L_option=L
 
16327
  else
 
16328
    as_ls_L_option=
 
16329
  fi
 
16330
  as_test_x='
 
16331
    eval sh -c '\''
 
16332
      if test -d "$1"; then
 
16333
        test -d "$1/.";
 
16334
      else
 
16335
        case $1 in #(
 
16336
        -*)set "./$1";;
 
16337
        esac;
 
16338
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 
16339
        ???[sx]*):;;*)false;;esac;fi
 
16340
    '\'' sh
 
16341
  '
 
16342
fi
 
16343
as_executable_p=$as_test_x
 
16344
 
 
16345
# Sed expression to map a string onto a valid CPP name.
 
16346
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
16347
 
 
16348
# Sed expression to map a string onto a valid variable name.
 
16349
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
16350
 
 
16351
 
 
16352
exec 6>&1
 
16353
## ----------------------------------- ##
 
16354
## Main body of $CONFIG_STATUS script. ##
 
16355
## ----------------------------------- ##
 
16356
_ASEOF
 
16357
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
 
16358
 
 
16359
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
16360
# Save the log message, to keep $0 and so on meaningful, and to
 
16361
# report actual input values of CONFIG_FILES etc. instead of their
 
16362
# values after options handling.
 
16363
ac_log="
 
16364
This file was extended by Rygel $as_me 0.12.6, which was
 
16365
generated by GNU Autoconf 2.68.  Invocation command line was
 
16366
 
 
16367
  CONFIG_FILES    = $CONFIG_FILES
 
16368
  CONFIG_HEADERS  = $CONFIG_HEADERS
 
16369
  CONFIG_LINKS    = $CONFIG_LINKS
 
16370
  CONFIG_COMMANDS = $CONFIG_COMMANDS
 
16371
  $ $0 $@
 
16372
 
 
16373
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
16374
"
 
16375
 
 
16376
_ACEOF
 
16377
 
 
16378
case $ac_config_files in *"
 
16379
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
16380
esac
 
16381
 
 
16382
case $ac_config_headers in *"
 
16383
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
16384
esac
 
16385
 
 
16386
 
 
16387
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
16388
# Files that config.status was made for.
 
16389
config_files="$ac_config_files"
 
16390
config_headers="$ac_config_headers"
 
16391
config_commands="$ac_config_commands"
 
16392
 
 
16393
_ACEOF
 
16394
 
 
16395
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
16396
ac_cs_usage="\
 
16397
\`$as_me' instantiates files and other configuration actions
 
16398
from templates according to the current configuration.  Unless the files
 
16399
and actions are specified as TAGs, all are instantiated by default.
 
16400
 
 
16401
Usage: $0 [OPTION]... [TAG]...
 
16402
 
 
16403
  -h, --help       print this help, then exit
 
16404
  -V, --version    print version number and configuration settings, then exit
 
16405
      --config     print configuration, then exit
 
16406
  -q, --quiet, --silent
 
16407
                   do not print progress messages
 
16408
  -d, --debug      don't remove temporary files
 
16409
      --recheck    update $as_me by reconfiguring in the same conditions
 
16410
      --file=FILE[:TEMPLATE]
 
16411
                   instantiate the configuration file FILE
 
16412
      --header=FILE[:TEMPLATE]
 
16413
                   instantiate the configuration header FILE
 
16414
 
 
16415
Configuration files:
 
16416
$config_files
 
16417
 
 
16418
Configuration headers:
 
16419
$config_headers
 
16420
 
 
16421
Configuration commands:
 
16422
$config_commands
 
16423
 
 
16424
Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=Rygel>.
 
16425
Rygel home page: <http://live.gnome.org/Rygel>."
 
16426
 
 
16427
_ACEOF
 
16428
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
16429
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 
16430
ac_cs_version="\\
 
16431
Rygel config.status 0.12.6
 
16432
configured by $0, generated by GNU Autoconf 2.68,
 
16433
  with options \\"\$ac_cs_config\\"
 
16434
 
 
16435
Copyright (C) 2010 Free Software Foundation, Inc.
 
16436
This config.status script is free software; the Free Software Foundation
 
16437
gives unlimited permission to copy, distribute and modify it."
 
16438
 
 
16439
ac_pwd='$ac_pwd'
 
16440
srcdir='$srcdir'
 
16441
INSTALL='$INSTALL'
 
16442
MKDIR_P='$MKDIR_P'
 
16443
AWK='$AWK'
 
16444
test -n "\$AWK" || AWK=awk
 
16445
_ACEOF
 
16446
 
 
16447
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
16448
# The default lists apply if the user does not specify any file.
 
16449
ac_need_defaults=:
 
16450
while test $# != 0
 
16451
do
 
16452
  case $1 in
 
16453
  --*=?*)
 
16454
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
16455
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 
16456
    ac_shift=:
 
16457
    ;;
 
16458
  --*=)
 
16459
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
16460
    ac_optarg=
 
16461
    ac_shift=:
 
16462
    ;;
 
16463
  *)
 
16464
    ac_option=$1
 
16465
    ac_optarg=$2
 
16466
    ac_shift=shift
 
16467
    ;;
 
16468
  esac
 
16469
 
 
16470
  case $ac_option in
 
16471
  # Handling of the options.
 
16472
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 
16473
    ac_cs_recheck=: ;;
 
16474
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
16475
    $as_echo "$ac_cs_version"; exit ;;
 
16476
  --config | --confi | --conf | --con | --co | --c )
 
16477
    $as_echo "$ac_cs_config"; exit ;;
 
16478
  --debug | --debu | --deb | --de | --d | -d )
 
16479
    debug=: ;;
 
16480
  --file | --fil | --fi | --f )
 
16481
    $ac_shift
 
16482
    case $ac_optarg in
 
16483
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
16484
    '') as_fn_error $? "missing file argument" ;;
 
16485
    esac
 
16486
    as_fn_append CONFIG_FILES " '$ac_optarg'"
 
16487
    ac_need_defaults=false;;
 
16488
  --header | --heade | --head | --hea )
 
16489
    $ac_shift
 
16490
    case $ac_optarg in
 
16491
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
16492
    esac
 
16493
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
 
16494
    ac_need_defaults=false;;
 
16495
  --he | --h)
 
16496
    # Conflict between --help and --header
 
16497
    as_fn_error $? "ambiguous option: \`$1'
 
16498
Try \`$0 --help' for more information.";;
 
16499
  --help | --hel | -h )
 
16500
    $as_echo "$ac_cs_usage"; exit ;;
 
16501
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
16502
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
 
16503
    ac_cs_silent=: ;;
 
16504
 
 
16505
  # This is an error.
 
16506
  -*) as_fn_error $? "unrecognized option: \`$1'
 
16507
Try \`$0 --help' for more information." ;;
 
16508
 
 
16509
  *) as_fn_append ac_config_targets " $1"
 
16510
     ac_need_defaults=false ;;
 
16511
 
 
16512
  esac
 
16513
  shift
 
16514
done
 
16515
 
 
16516
ac_configure_extra_args=
 
16517
 
 
16518
if $ac_cs_silent; then
 
16519
  exec 6>/dev/null
 
16520
  ac_configure_extra_args="$ac_configure_extra_args --silent"
 
16521
fi
 
16522
 
 
16523
_ACEOF
 
16524
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
16525
if \$ac_cs_recheck; then
 
16526
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
16527
  shift
 
16528
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
16529
  CONFIG_SHELL='$SHELL'
 
16530
  export CONFIG_SHELL
 
16531
  exec "\$@"
 
16532
fi
 
16533
 
 
16534
_ACEOF
 
16535
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
16536
exec 5>>config.log
 
16537
{
 
16538
  echo
 
16539
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
16540
## Running $as_me. ##
 
16541
_ASBOX
 
16542
  $as_echo "$ac_log"
 
16543
} >&5
 
16544
 
 
16545
_ACEOF
 
16546
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
16547
#
 
16548
# INIT-COMMANDS
 
16549
#
 
16550
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 
16551
 
 
16552
 
 
16553
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
16554
# if CDPATH is set.
 
16555
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
16556
 
 
16557
sed_quote_subst='$sed_quote_subst'
 
16558
double_quote_subst='$double_quote_subst'
 
16559
delay_variable_subst='$delay_variable_subst'
 
16560
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
 
16561
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
 
16562
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
 
16563
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
 
16564
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
 
16565
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
 
16566
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
 
16567
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
 
16568
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
 
16569
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
 
16570
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
 
16571
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
 
16572
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
 
16573
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
 
16574
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
 
16575
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
 
16576
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
 
16577
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
 
16578
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
 
16579
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
 
16580
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
 
16581
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
 
16582
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
 
16583
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
 
16584
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
 
16585
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
 
16586
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
 
16587
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
 
16588
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
 
16589
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
 
16590
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
 
16591
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
 
16592
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
 
16593
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
 
16594
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
 
16595
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
 
16596
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
 
16597
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
 
16598
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
 
16599
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
 
16600
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
 
16601
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
 
16602
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
 
16603
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
 
16604
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
16605
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
16606
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
 
16607
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
 
16608
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
 
16609
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
 
16610
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
 
16611
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
 
16612
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
 
16613
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
 
16614
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
 
16615
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"`'
 
16616
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
 
16617
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
 
16618
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
 
16619
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
 
16620
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
 
16621
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
 
16622
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
 
16623
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
 
16624
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
 
16625
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
 
16626
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
 
16627
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
 
16628
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
 
16629
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
 
16630
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
 
16631
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
 
16632
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
 
16633
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
 
16634
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
16635
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
 
16636
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
 
16637
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
 
16638
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
 
16639
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
 
16640
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
 
16641
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
16642
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
 
16643
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
16644
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
 
16645
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
16646
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
 
16647
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
16648
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
16649
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
 
16650
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
 
16651
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
 
16652
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
 
16653
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
 
16654
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
 
16655
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
16656
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
 
16657
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
 
16658
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
 
16659
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
 
16660
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
 
16661
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
 
16662
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
 
16663
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
 
16664
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
 
16665
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
 
16666
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
 
16667
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
16668
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
 
16669
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
 
16670
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
 
16671
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
16672
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
 
16673
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
 
16674
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
 
16675
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
 
16676
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
 
16677
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
16678
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
16679
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
 
16680
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
 
16681
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
 
16682
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
 
16683
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
 
16684
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
 
16685
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
 
16686
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
 
16687
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
 
16688
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
 
16689
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
 
16690
 
 
16691
LTCC='$LTCC'
 
16692
LTCFLAGS='$LTCFLAGS'
 
16693
compiler='$compiler_DEFAULT'
 
16694
 
 
16695
# A function that is used when there is no print builtin or printf.
 
16696
func_fallback_echo ()
 
16697
{
 
16698
  eval 'cat <<_LTECHO_EOF
 
16699
\$1
 
16700
_LTECHO_EOF'
 
16701
}
 
16702
 
 
16703
# Quote evaled strings.
 
16704
for var in SHELL \
 
16705
ECHO \
 
16706
SED \
 
16707
GREP \
 
16708
EGREP \
 
16709
FGREP \
 
16710
LD \
 
16711
NM \
 
16712
LN_S \
 
16713
lt_SP2NL \
 
16714
lt_NL2SP \
 
16715
reload_flag \
 
16716
OBJDUMP \
 
16717
deplibs_check_method \
 
16718
file_magic_cmd \
 
16719
file_magic_glob \
 
16720
want_nocaseglob \
 
16721
DLLTOOL \
 
16722
sharedlib_from_linklib_cmd \
 
16723
AR \
 
16724
AR_FLAGS \
 
16725
archiver_list_spec \
 
16726
STRIP \
 
16727
RANLIB \
 
16728
CC \
 
16729
CFLAGS \
 
16730
compiler \
 
16731
lt_cv_sys_global_symbol_pipe \
 
16732
lt_cv_sys_global_symbol_to_cdecl \
 
16733
lt_cv_sys_global_symbol_to_c_name_address \
 
16734
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
16735
nm_file_list_spec \
 
16736
lt_prog_compiler_no_builtin_flag \
 
16737
lt_prog_compiler_pic \
 
16738
lt_prog_compiler_wl \
 
16739
lt_prog_compiler_static \
 
16740
lt_cv_prog_compiler_c_o \
 
16741
need_locks \
 
16742
MANIFEST_TOOL \
 
16743
DSYMUTIL \
 
16744
NMEDIT \
 
16745
LIPO \
 
16746
OTOOL \
 
16747
OTOOL64 \
 
16748
shrext_cmds \
 
16749
export_dynamic_flag_spec \
 
16750
whole_archive_flag_spec \
 
16751
compiler_needs_object \
 
16752
with_gnu_ld \
 
16753
allow_undefined_flag \
 
16754
no_undefined_flag \
 
16755
hardcode_libdir_flag_spec \
 
16756
hardcode_libdir_flag_spec_ld \
 
16757
hardcode_libdir_separator \
 
16758
exclude_expsyms \
 
16759
include_expsyms \
 
16760
file_list_spec \
 
16761
variables_saved_for_relink \
 
16762
libname_spec \
 
16763
library_names_spec \
 
16764
soname_spec \
 
16765
install_override_mode \
 
16766
finish_eval \
 
16767
old_striplib \
 
16768
striplib; do
 
16769
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
 
16770
    *[\\\\\\\`\\"\\\$]*)
 
16771
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
16772
      ;;
 
16773
    *)
 
16774
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
16775
      ;;
 
16776
    esac
 
16777
done
 
16778
 
 
16779
# Double-quote double-evaled strings.
 
16780
for var in reload_cmds \
 
16781
old_postinstall_cmds \
 
16782
old_postuninstall_cmds \
 
16783
old_archive_cmds \
 
16784
extract_expsyms_cmds \
 
16785
old_archive_from_new_cmds \
 
16786
old_archive_from_expsyms_cmds \
 
16787
archive_cmds \
 
16788
archive_expsym_cmds \
 
16789
module_cmds \
 
16790
module_expsym_cmds \
 
16791
export_symbols_cmds \
 
16792
prelink_cmds \
 
16793
postlink_cmds \
 
16794
postinstall_cmds \
 
16795
postuninstall_cmds \
 
16796
finish_cmds \
 
16797
sys_lib_search_path_spec \
 
16798
sys_lib_dlsearch_path_spec; do
 
16799
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
 
16800
    *[\\\\\\\`\\"\\\$]*)
 
16801
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
16802
      ;;
 
16803
    *)
 
16804
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
16805
      ;;
 
16806
    esac
 
16807
done
 
16808
 
 
16809
ac_aux_dir='$ac_aux_dir'
 
16810
xsi_shell='$xsi_shell'
 
16811
lt_shell_append='$lt_shell_append'
 
16812
 
 
16813
# See if we are running on zsh, and set the options which allow our
 
16814
# commands through without removal of \ escapes INIT.
 
16815
if test -n "\${ZSH_VERSION+set}" ; then
 
16816
   setopt NO_GLOB_SUBST
 
16817
fi
 
16818
 
 
16819
 
 
16820
    PACKAGE='$PACKAGE'
 
16821
    VERSION='$VERSION'
 
16822
    TIMESTAMP='$TIMESTAMP'
 
16823
    RM='$RM'
 
16824
    ofile='$ofile'
 
16825
 
 
16826
 
 
16827
 
 
16828
 
 
16829
 
 
16830
_ACEOF
 
16831
 
 
16832
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
16833
 
 
16834
# Handling of arguments.
 
16835
for ac_config_target in $ac_config_targets
 
16836
do
 
16837
  case $ac_config_target in
 
16838
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
16839
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
16840
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
 
16841
    "src/plugins/test/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/test/Makefile" ;;
 
16842
    "src/plugins/tracker/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/tracker/Makefile" ;;
 
16843
    "src/plugins/external/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/external/Makefile" ;;
 
16844
    "src/plugins/mpris/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/mpris/Makefile" ;;
 
16845
    "src/plugins/playbin/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/playbin/Makefile" ;;
 
16846
    "src/plugins/mediathek/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/mediathek/Makefile" ;;
 
16847
    "src/plugins/media-export/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/media-export/Makefile" ;;
 
16848
    "src/plugins/gst-launch/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/gst-launch/Makefile" ;;
 
16849
    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
 
16850
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
16851
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 
16852
    "src/rygel/Makefile") CONFIG_FILES="$CONFIG_FILES src/rygel/Makefile" ;;
 
16853
    "src/ui/Makefile") CONFIG_FILES="$CONFIG_FILES src/ui/Makefile" ;;
 
16854
    "src/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/Makefile" ;;
 
16855
    "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
 
16856
    "data/xml/Makefile") CONFIG_FILES="$CONFIG_FILES data/xml/Makefile" ;;
 
16857
    "data/icons/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/Makefile" ;;
 
16858
    "data/icons/32x32/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/32x32/Makefile" ;;
 
16859
    "data/icons/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/48x48/Makefile" ;;
 
16860
    "data/icons/120x120/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/120x120/Makefile" ;;
 
16861
    "data/icons/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/scalable/Makefile" ;;
 
16862
    "data/rygel.desktop.in") CONFIG_FILES="$CONFIG_FILES data/rygel.desktop.in" ;;
 
16863
    "data/rygel-preferences.desktop.in") CONFIG_FILES="$CONFIG_FILES data/rygel-preferences.desktop.in" ;;
 
16864
    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
 
16865
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
 
16866
    "rygel-1.0.pc") CONFIG_FILES="$CONFIG_FILES rygel-1.0.pc" ;;
 
16867
    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
 
16868
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
 
16869
 
 
16870
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 
16871
  esac
 
16872
done
 
16873
 
 
16874
 
 
16875
# If the user did not use the arguments to specify the items to instantiate,
 
16876
# then the envvar interface is used.  Set only those that are not.
 
16877
# We use the long form for the default assignment because of an extremely
 
16878
# bizarre bug on SunOS 4.1.3.
 
16879
if $ac_need_defaults; then
 
16880
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 
16881
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
 
16882
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
 
16883
fi
 
16884
 
 
16885
# Have a temporary directory for convenience.  Make it in the build tree
 
16886
# simply because there is no reason against having it here, and in addition,
 
16887
# creating and moving files from /tmp can sometimes cause problems.
 
16888
# Hook for its removal unless debugging.
 
16889
# Note that there is a small window in which the directory will not be cleaned:
 
16890
# after its creation but before its name has been assigned to `$tmp'.
 
16891
$debug ||
 
16892
{
 
16893
  tmp= ac_tmp=
 
16894
  trap 'exit_status=$?
 
16895
  : "${ac_tmp:=$tmp}"
 
16896
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
 
16897
' 0
 
16898
  trap 'as_fn_exit 1' 1 2 13 15
 
16899
}
 
16900
# Create a (secure) tmp directory for tmp files.
 
16901
 
 
16902
{
 
16903
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 
16904
  test -d "$tmp"
 
16905
}  ||
 
16906
{
 
16907
  tmp=./conf$$-$RANDOM
 
16908
  (umask 077 && mkdir "$tmp")
 
16909
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
16910
ac_tmp=$tmp
 
16911
 
 
16912
# Set up the scripts for CONFIG_FILES section.
 
16913
# No need to generate them if there are no CONFIG_FILES.
 
16914
# This happens for instance with `./config.status config.h'.
 
16915
if test -n "$CONFIG_FILES"; then
 
16916
 
 
16917
 
 
16918
ac_cr=`echo X | tr X '\015'`
 
16919
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
16920
# But we know of no other shell where ac_cr would be empty at this
 
16921
# point, so we can use a bashism as a fallback.
 
16922
if test "x$ac_cr" = x; then
 
16923
  eval ac_cr=\$\'\\r\'
 
16924
fi
 
16925
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
16926
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
16927
  ac_cs_awk_cr='\\r'
 
16928
else
 
16929
  ac_cs_awk_cr=$ac_cr
 
16930
fi
 
16931
 
 
16932
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
 
16933
_ACEOF
 
16934
 
 
16935
 
 
16936
{
 
16937
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
16938
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
16939
  echo "_ACEOF"
 
16940
} >conf$$subs.sh ||
 
16941
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
16942
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
 
16943
ac_delim='%!_!# '
 
16944
for ac_last_try in false false false false false :; do
 
16945
  . ./conf$$subs.sh ||
 
16946
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
16947
 
 
16948
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
16949
  if test $ac_delim_n = $ac_delim_num; then
 
16950
    break
 
16951
  elif $ac_last_try; then
 
16952
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
16953
  else
 
16954
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
16955
  fi
 
16956
done
 
16957
rm -f conf$$subs.sh
 
16958
 
 
16959
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
16960
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
 
16961
_ACEOF
 
16962
sed -n '
 
16963
h
 
16964
s/^/S["/; s/!.*/"]=/
 
16965
p
 
16966
g
 
16967
s/^[^!]*!//
 
16968
:repl
 
16969
t repl
 
16970
s/'"$ac_delim"'$//
 
16971
t delim
 
16972
:nl
 
16973
h
 
16974
s/\(.\{148\}\)..*/\1/
 
16975
t more1
 
16976
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
16977
p
 
16978
n
 
16979
b repl
 
16980
:more1
 
16981
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
16982
p
 
16983
g
 
16984
s/.\{148\}//
 
16985
t nl
 
16986
:delim
 
16987
h
 
16988
s/\(.\{148\}\)..*/\1/
 
16989
t more2
 
16990
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
16991
p
 
16992
b
 
16993
:more2
 
16994
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
16995
p
 
16996
g
 
16997
s/.\{148\}//
 
16998
t delim
 
16999
' <conf$$subs.awk | sed '
 
17000
/^[^""]/{
 
17001
  N
 
17002
  s/\n//
 
17003
}
 
17004
' >>$CONFIG_STATUS || ac_write_fail=1
 
17005
rm -f conf$$subs.awk
 
17006
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
17007
_ACAWK
 
17008
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
 
17009
  for (key in S) S_is_set[key] = 1
 
17010
  FS = ""
 
17011
 
 
17012
}
 
17013
{
 
17014
  line = $ 0
 
17015
  nfields = split(line, field, "@")
 
17016
  substed = 0
 
17017
  len = length(field[1])
 
17018
  for (i = 2; i < nfields; i++) {
 
17019
    key = field[i]
 
17020
    keylen = length(key)
 
17021
    if (S_is_set[key]) {
 
17022
      value = S[key]
 
17023
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
17024
      len += length(value) + length(field[++i])
 
17025
      substed = 1
 
17026
    } else
 
17027
      len += 1 + keylen
 
17028
  }
 
17029
 
 
17030
  print line
 
17031
}
 
17032
 
 
17033
_ACAWK
 
17034
_ACEOF
 
17035
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
17036
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
17037
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
17038
else
 
17039
  cat
 
17040
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
 
17041
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
 
17042
_ACEOF
 
17043
 
 
17044
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 
17045
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
 
17046
# trailing colons and then remove the whole line if VPATH becomes empty
 
17047
# (actually we leave an empty line to preserve line numbers).
 
17048
if test "x$srcdir" = x.; then
 
17049
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 
17050
h
 
17051
s///
 
17052
s/^/:/
 
17053
s/[      ]*$/:/
 
17054
s/:\$(srcdir):/:/g
 
17055
s/:\${srcdir}:/:/g
 
17056
s/:@srcdir@:/:/g
 
17057
s/^:*//
 
17058
s/:*$//
 
17059
x
 
17060
s/\(=[   ]*\).*/\1/
 
17061
G
 
17062
s/\n//
 
17063
s/^[^=]*=[       ]*$//
 
17064
}'
 
17065
fi
 
17066
 
 
17067
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
17068
fi # test -n "$CONFIG_FILES"
 
17069
 
 
17070
# Set up the scripts for CONFIG_HEADERS section.
 
17071
# No need to generate them if there are no CONFIG_HEADERS.
 
17072
# This happens for instance with `./config.status Makefile'.
 
17073
if test -n "$CONFIG_HEADERS"; then
 
17074
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
 
17075
BEGIN {
 
17076
_ACEOF
 
17077
 
 
17078
# Transform confdefs.h into an awk script `defines.awk', embedded as
 
17079
# here-document in config.status, that substitutes the proper values into
 
17080
# config.h.in to produce config.h.
 
17081
 
 
17082
# Create a delimiter string that does not exist in confdefs.h, to ease
 
17083
# handling of long lines.
 
17084
ac_delim='%!_!# '
 
17085
for ac_last_try in false false :; do
 
17086
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 
17087
  if test -z "$ac_tt"; then
 
17088
    break
 
17089
  elif $ac_last_try; then
 
17090
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
 
17091
  else
 
17092
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
17093
  fi
 
17094
done
 
17095
 
 
17096
# For the awk script, D is an array of macro values keyed by name,
 
17097
# likewise P contains macro parameters if any.  Preserve backslash
 
17098
# newline sequences.
 
17099
 
 
17100
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
17101
sed -n '
 
17102
s/.\{148\}/&'"$ac_delim"'/g
 
17103
t rset
 
17104
:rset
 
17105
s/^[     ]*#[    ]*define[       ][      ]*/ /
 
17106
t def
 
17107
d
 
17108
:def
 
17109
s/\\$//
 
17110
t bsnl
 
17111
s/["\\]/\\&/g
 
17112
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
17113
D["\1"]=" \3"/p
 
17114
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 
17115
d
 
17116
:bsnl
 
17117
s/["\\]/\\&/g
 
17118
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
17119
D["\1"]=" \3\\\\\\n"\\/p
 
17120
t cont
 
17121
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 
17122
t cont
 
17123
d
 
17124
:cont
 
17125
n
 
17126
s/.\{148\}/&'"$ac_delim"'/g
 
17127
t clear
 
17128
:clear
 
17129
s/\\$//
 
17130
t bsnlc
 
17131
s/["\\]/\\&/g; s/^/"/; s/$/"/p
 
17132
d
 
17133
:bsnlc
 
17134
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 
17135
b cont
 
17136
' <confdefs.h | sed '
 
17137
s/'"$ac_delim"'/"\\\
 
17138
"/g' >>$CONFIG_STATUS || ac_write_fail=1
 
17139
 
 
17140
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
17141
  for (key in D) D_is_set[key] = 1
 
17142
  FS = ""
 
17143
}
 
17144
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 
17145
  line = \$ 0
 
17146
  split(line, arg, " ")
 
17147
  if (arg[1] == "#") {
 
17148
    defundef = arg[2]
 
17149
    mac1 = arg[3]
 
17150
  } else {
 
17151
    defundef = substr(arg[1], 2)
 
17152
    mac1 = arg[2]
 
17153
  }
 
17154
  split(mac1, mac2, "(") #)
 
17155
  macro = mac2[1]
 
17156
  prefix = substr(line, 1, index(line, defundef) - 1)
 
17157
  if (D_is_set[macro]) {
 
17158
    # Preserve the white space surrounding the "#".
 
17159
    print prefix "define", macro P[macro] D[macro]
 
17160
    next
 
17161
  } else {
 
17162
    # Replace #undef with comments.  This is necessary, for example,
 
17163
    # in the case of _POSIX_SOURCE, which is predefined and required
 
17164
    # on some systems where configure will not decide to define it.
 
17165
    if (defundef == "undef") {
 
17166
      print "/*", prefix defundef, macro, "*/"
 
17167
      next
 
17168
    }
 
17169
  }
 
17170
}
 
17171
{ print }
 
17172
_ACAWK
 
17173
_ACEOF
 
17174
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
17175
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
 
17176
fi # test -n "$CONFIG_HEADERS"
 
17177
 
 
17178
 
 
17179
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 
17180
shift
 
17181
for ac_tag
 
17182
do
 
17183
  case $ac_tag in
 
17184
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
17185
  esac
 
17186
  case $ac_mode$ac_tag in
 
17187
  :[FHL]*:*);;
 
17188
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
 
17189
  :[FH]-) ac_tag=-:-;;
 
17190
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
17191
  esac
 
17192
  ac_save_IFS=$IFS
 
17193
  IFS=:
 
17194
  set x $ac_tag
 
17195
  IFS=$ac_save_IFS
 
17196
  shift
 
17197
  ac_file=$1
 
17198
  shift
 
17199
 
 
17200
  case $ac_mode in
 
17201
  :L) ac_source=$1;;
 
17202
  :[FH])
 
17203
    ac_file_inputs=
 
17204
    for ac_f
 
17205
    do
 
17206
      case $ac_f in
 
17207
      -) ac_f="$ac_tmp/stdin";;
 
17208
      *) # Look for the file first in the build tree, then in the source tree
 
17209
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
17210
         # because $ac_f cannot contain `:'.
 
17211
         test -f "$ac_f" ||
 
17212
           case $ac_f in
 
17213
           [\\/$]*) false;;
 
17214
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
17215
           esac ||
 
17216
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 
17217
      esac
 
17218
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
17219
      as_fn_append ac_file_inputs " '$ac_f'"
 
17220
    done
 
17221
 
 
17222
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
17223
    # use $as_me), people would be surprised to read:
 
17224
    #    /* config.h.  Generated by config.status.  */
 
17225
    configure_input='Generated from '`
 
17226
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
17227
        `' by configure.'
 
17228
    if test x"$ac_file" != x-; then
 
17229
      configure_input="$ac_file.  $configure_input"
 
17230
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
 
17231
$as_echo "$as_me: creating $ac_file" >&6;}
 
17232
    fi
 
17233
    # Neutralize special characters interpreted by sed in replacement strings.
 
17234
    case $configure_input in #(
 
17235
    *\&* | *\|* | *\\* )
 
17236
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
17237
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
17238
    *) ac_sed_conf_input=$configure_input;;
 
17239
    esac
 
17240
 
 
17241
    case $ac_tag in
 
17242
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
17243
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
 
17244
    esac
 
17245
    ;;
 
17246
  esac
 
17247
 
 
17248
  ac_dir=`$as_dirname -- "$ac_file" ||
 
17249
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
17250
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
17251
         X"$ac_file" : 'X\(//\)$' \| \
 
17252
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 
17253
$as_echo X"$ac_file" |
 
17254
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
17255
            s//\1/
 
17256
            q
 
17257
          }
 
17258
          /^X\(\/\/\)[^/].*/{
 
17259
            s//\1/
 
17260
            q
 
17261
          }
 
17262
          /^X\(\/\/\)$/{
 
17263
            s//\1/
 
17264
            q
 
17265
          }
 
17266
          /^X\(\/\).*/{
 
17267
            s//\1/
 
17268
            q
 
17269
          }
 
17270
          s/.*/./; q'`
 
17271
  as_dir="$ac_dir"; as_fn_mkdir_p
 
17272
  ac_builddir=.
 
17273
 
 
17274
case "$ac_dir" in
 
17275
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
17276
*)
 
17277
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
17278
  # A ".." for each directory in $ac_dir_suffix.
 
17279
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
17280
  case $ac_top_builddir_sub in
 
17281
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
17282
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
17283
  esac ;;
 
17284
esac
 
17285
ac_abs_top_builddir=$ac_pwd
 
17286
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
17287
# for backward compatibility:
 
17288
ac_top_builddir=$ac_top_build_prefix
 
17289
 
 
17290
case $srcdir in
 
17291
  .)  # We are building in place.
 
17292
    ac_srcdir=.
 
17293
    ac_top_srcdir=$ac_top_builddir_sub
 
17294
    ac_abs_top_srcdir=$ac_pwd ;;
 
17295
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
17296
    ac_srcdir=$srcdir$ac_dir_suffix;
 
17297
    ac_top_srcdir=$srcdir
 
17298
    ac_abs_top_srcdir=$srcdir ;;
 
17299
  *) # Relative name.
 
17300
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
17301
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
17302
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
17303
esac
 
17304
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
17305
 
 
17306
 
 
17307
  case $ac_mode in
 
17308
  :F)
 
17309
  #
 
17310
  # CONFIG_FILE
 
17311
  #
 
17312
 
 
17313
  case $INSTALL in
 
17314
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 
17315
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 
17316
  esac
 
17317
  ac_MKDIR_P=$MKDIR_P
 
17318
  case $MKDIR_P in
 
17319
  [\\/$]* | ?:[\\/]* ) ;;
 
17320
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 
17321
  esac
 
17322
_ACEOF
 
17323
 
 
17324
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
17325
# If the template does not know about datarootdir, expand it.
 
17326
# FIXME: This hack should be removed a few years after 2.60.
 
17327
ac_datarootdir_hack=; ac_datarootdir_seen=
 
17328
ac_sed_dataroot='
 
17329
/datarootdir/ {
 
17330
  p
 
17331
  q
 
17332
}
 
17333
/@datadir@/p
 
17334
/@docdir@/p
 
17335
/@infodir@/p
 
17336
/@localedir@/p
 
17337
/@mandir@/p'
 
17338
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 
17339
*datarootdir*) ac_datarootdir_seen=yes;;
 
17340
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
17341
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
17342
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
17343
_ACEOF
 
17344
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
17345
  ac_datarootdir_hack='
 
17346
  s&@datadir@&$datadir&g
 
17347
  s&@docdir@&$docdir&g
 
17348
  s&@infodir@&$infodir&g
 
17349
  s&@localedir@&$localedir&g
 
17350
  s&@mandir@&$mandir&g
 
17351
  s&\\\${datarootdir}&$datarootdir&g' ;;
 
17352
esac
 
17353
_ACEOF
 
17354
 
 
17355
# Neutralize VPATH when `$srcdir' = `.'.
 
17356
# Shell code in configure.ac might set extrasub.
 
17357
# FIXME: do we really want to maintain this feature?
 
17358
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
17359
ac_sed_extra="$ac_vpsub
 
17360
$extrasub
 
17361
_ACEOF
 
17362
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
17363
:t
 
17364
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
17365
s|@configure_input@|$ac_sed_conf_input|;t t
 
17366
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
17367
s&@top_build_prefix@&$ac_top_build_prefix&;t t
 
17368
s&@srcdir@&$ac_srcdir&;t t
 
17369
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
17370
s&@top_srcdir@&$ac_top_srcdir&;t t
 
17371
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
17372
s&@builddir@&$ac_builddir&;t t
 
17373
s&@abs_builddir@&$ac_abs_builddir&;t t
 
17374
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
17375
s&@INSTALL@&$ac_INSTALL&;t t
 
17376
s&@MKDIR_P@&$ac_MKDIR_P&;t t
 
17377
$ac_datarootdir_hack
 
17378
"
 
17379
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
17380
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
17381
 
 
17382
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
17383
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
17384
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
17385
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
 
17386
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
17387
which seems to be undefined.  Please make sure it is defined" >&5
 
17388
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
17389
which seems to be undefined.  Please make sure it is defined" >&2;}
 
17390
 
 
17391
  rm -f "$ac_tmp/stdin"
 
17392
  case $ac_file in
 
17393
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
17394
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
 
17395
  esac \
 
17396
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
17397
 ;;
 
17398
  :H)
 
17399
  #
 
17400
  # CONFIG_HEADER
 
17401
  #
 
17402
  if test x"$ac_file" != x-; then
 
17403
    {
 
17404
      $as_echo "/* $configure_input  */" \
 
17405
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 
17406
    } >"$ac_tmp/config.h" \
 
17407
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
17408
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
 
17409
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
 
17410
$as_echo "$as_me: $ac_file is unchanged" >&6;}
 
17411
    else
 
17412
      rm -f "$ac_file"
 
17413
      mv "$ac_tmp/config.h" "$ac_file" \
 
17414
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
17415
    fi
 
17416
  else
 
17417
    $as_echo "/* $configure_input  */" \
 
17418
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
 
17419
      || as_fn_error $? "could not create -" "$LINENO" 5
 
17420
  fi
 
17421
# Compute "$ac_file"'s index in $config_headers.
 
17422
_am_arg="$ac_file"
 
17423
_am_stamp_count=1
 
17424
for _am_header in $config_headers :; do
 
17425
  case $_am_header in
 
17426
    $_am_arg | $_am_arg:* )
 
17427
      break ;;
 
17428
    * )
 
17429
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
 
17430
  esac
 
17431
done
 
17432
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 
17433
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
17434
         X"$_am_arg" : 'X\(//\)[^/]' \| \
 
17435
         X"$_am_arg" : 'X\(//\)$' \| \
 
17436
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 
17437
$as_echo X"$_am_arg" |
 
17438
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
17439
            s//\1/
 
17440
            q
 
17441
          }
 
17442
          /^X\(\/\/\)[^/].*/{
 
17443
            s//\1/
 
17444
            q
 
17445
          }
 
17446
          /^X\(\/\/\)$/{
 
17447
            s//\1/
 
17448
            q
 
17449
          }
 
17450
          /^X\(\/\).*/{
 
17451
            s//\1/
 
17452
            q
 
17453
          }
 
17454
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
17455
 ;;
 
17456
 
 
17457
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
 
17458
$as_echo "$as_me: executing $ac_file commands" >&6;}
 
17459
 ;;
 
17460
  esac
 
17461
 
 
17462
 
 
17463
  case $ac_file$ac_mode in
 
17464
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 
17465
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
17466
  # are listed without --file.  Let's play safe and only enable the eval
 
17467
  # if we detect the quoting.
 
17468
  case $CONFIG_FILES in
 
17469
  *\'*) eval set x "$CONFIG_FILES" ;;
 
17470
  *)   set x $CONFIG_FILES ;;
 
17471
  esac
 
17472
  shift
 
17473
  for mf
 
17474
  do
 
17475
    # Strip MF so we end up with the name of the file.
 
17476
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
17477
    # Check whether this is an Automake generated Makefile or not.
 
17478
    # We used to match only the files named `Makefile.in', but
 
17479
    # some people rename them; so instead we look at the file content.
 
17480
    # Grep'ing the first line is not enough: some people post-process
 
17481
    # each Makefile.in and add a new line on top of each file to say so.
 
17482
    # Grep'ing the whole file is not good either: AIX grep has a line
 
17483
    # limit of 2048, but all sed's we know have understand at least 4000.
 
17484
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
17485
      dirpart=`$as_dirname -- "$mf" ||
 
17486
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
17487
         X"$mf" : 'X\(//\)[^/]' \| \
 
17488
         X"$mf" : 'X\(//\)$' \| \
 
17489
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 
17490
$as_echo X"$mf" |
 
17491
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
17492
            s//\1/
 
17493
            q
 
17494
          }
 
17495
          /^X\(\/\/\)[^/].*/{
 
17496
            s//\1/
 
17497
            q
 
17498
          }
 
17499
          /^X\(\/\/\)$/{
 
17500
            s//\1/
 
17501
            q
 
17502
          }
 
17503
          /^X\(\/\).*/{
 
17504
            s//\1/
 
17505
            q
 
17506
          }
 
17507
          s/.*/./; q'`
 
17508
    else
 
17509
      continue
 
17510
    fi
 
17511
    # Extract the definition of DEPDIR, am__include, and am__quote
 
17512
    # from the Makefile without running `make'.
 
17513
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
17514
    test -z "$DEPDIR" && continue
 
17515
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
17516
    test -z "am__include" && continue
 
17517
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
17518
    # When using ansi2knr, U may be empty or an underscore; expand it
 
17519
    U=`sed -n 's/^U = //p' < "$mf"`
 
17520
    # Find all dependency output files, they are included files with
 
17521
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
17522
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
17523
    # expansion.
 
17524
    for file in `sed -n "
 
17525
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
17526
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
17527
      # Make sure the directory exists.
 
17528
      test -f "$dirpart/$file" && continue
 
17529
      fdir=`$as_dirname -- "$file" ||
 
17530
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
17531
         X"$file" : 'X\(//\)[^/]' \| \
 
17532
         X"$file" : 'X\(//\)$' \| \
 
17533
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 
17534
$as_echo X"$file" |
 
17535
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
17536
            s//\1/
 
17537
            q
 
17538
          }
 
17539
          /^X\(\/\/\)[^/].*/{
 
17540
            s//\1/
 
17541
            q
 
17542
          }
 
17543
          /^X\(\/\/\)$/{
 
17544
            s//\1/
 
17545
            q
 
17546
          }
 
17547
          /^X\(\/\).*/{
 
17548
            s//\1/
 
17549
            q
 
17550
          }
 
17551
          s/.*/./; q'`
 
17552
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
 
17553
      # echo "creating $dirpart/$file"
 
17554
      echo '# dummy' > "$dirpart/$file"
 
17555
    done
 
17556
  done
 
17557
}
 
17558
 ;;
 
17559
    "libtool":C)
 
17560
 
 
17561
    # See if we are running on zsh, and set the options which allow our
 
17562
    # commands through without removal of \ escapes.
 
17563
    if test -n "${ZSH_VERSION+set}" ; then
 
17564
      setopt NO_GLOB_SUBST
 
17565
    fi
 
17566
 
 
17567
    cfgfile="${ofile}T"
 
17568
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 
17569
    $RM "$cfgfile"
 
17570
 
 
17571
    cat <<_LT_EOF >> "$cfgfile"
 
17572
#! $SHELL
 
17573
 
 
17574
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
17575
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 
17576
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
17577
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
17578
#
 
17579
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
17580
#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
 
17581
#                 Inc.
 
17582
#   Written by Gordon Matzigkeit, 1996
 
17583
#
 
17584
#   This file is part of GNU Libtool.
 
17585
#
 
17586
# GNU Libtool is free software; you can redistribute it and/or
 
17587
# modify it under the terms of the GNU General Public License as
 
17588
# published by the Free Software Foundation; either version 2 of
 
17589
# the License, or (at your option) any later version.
 
17590
#
 
17591
# As a special exception to the GNU General Public License,
 
17592
# if you distribute this file as part of a program or library that
 
17593
# is built using GNU Libtool, you may include this file under the
 
17594
# same distribution terms that you use for the rest of that program.
 
17595
#
 
17596
# GNU Libtool is distributed in the hope that it will be useful,
 
17597
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
17598
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
17599
# GNU General Public License for more details.
 
17600
#
 
17601
# You should have received a copy of the GNU General Public License
 
17602
# along with GNU Libtool; see the file COPYING.  If not, a copy
 
17603
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 
17604
# obtained by writing to the Free Software Foundation, Inc.,
 
17605
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
17606
 
 
17607
 
 
17608
# The names of the tagged configurations supported by this script.
 
17609
available_tags=""
 
17610
 
 
17611
# ### BEGIN LIBTOOL CONFIG
 
17612
 
 
17613
# Which release of libtool.m4 was used?
 
17614
macro_version=$macro_version
 
17615
macro_revision=$macro_revision
 
17616
 
 
17617
# Whether or not to build static libraries.
 
17618
build_old_libs=$enable_static
 
17619
 
 
17620
# Whether or not to build shared libraries.
 
17621
build_libtool_libs=$enable_shared
 
17622
 
 
17623
# What type of objects to build.
 
17624
pic_mode=$pic_mode
 
17625
 
 
17626
# Whether or not to optimize for fast installation.
 
17627
fast_install=$enable_fast_install
 
17628
 
 
17629
# Shell to use when invoking shell scripts.
 
17630
SHELL=$lt_SHELL
 
17631
 
 
17632
# An echo program that protects backslashes.
 
17633
ECHO=$lt_ECHO
 
17634
 
 
17635
# The host system.
 
17636
host_alias=$host_alias
 
17637
host=$host
 
17638
host_os=$host_os
 
17639
 
 
17640
# The build system.
 
17641
build_alias=$build_alias
 
17642
build=$build
 
17643
build_os=$build_os
 
17644
 
 
17645
# A sed program that does not truncate output.
 
17646
SED=$lt_SED
 
17647
 
 
17648
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
17649
Xsed="\$SED -e 1s/^X//"
 
17650
 
 
17651
# A grep program that handles long lines.
 
17652
GREP=$lt_GREP
 
17653
 
 
17654
# An ERE matcher.
 
17655
EGREP=$lt_EGREP
 
17656
 
 
17657
# A literal string matcher.
 
17658
FGREP=$lt_FGREP
 
17659
 
 
17660
# A BSD- or MS-compatible name lister.
 
17661
NM=$lt_NM
 
17662
 
 
17663
# Whether we need soft or hard links.
 
17664
LN_S=$lt_LN_S
 
17665
 
 
17666
# What is the maximum length of a command?
 
17667
max_cmd_len=$max_cmd_len
 
17668
 
 
17669
# Object file suffix (normally "o").
 
17670
objext=$ac_objext
 
17671
 
 
17672
# Executable file suffix (normally "").
 
17673
exeext=$exeext
 
17674
 
 
17675
# whether the shell understands "unset".
 
17676
lt_unset=$lt_unset
 
17677
 
 
17678
# turn spaces into newlines.
 
17679
SP2NL=$lt_lt_SP2NL
 
17680
 
 
17681
# turn newlines into spaces.
 
17682
NL2SP=$lt_lt_NL2SP
 
17683
 
 
17684
# convert \$build file names to \$host format.
 
17685
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
17686
 
 
17687
# convert \$build files to toolchain format.
 
17688
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
17689
 
 
17690
# An object symbol dumper.
 
17691
OBJDUMP=$lt_OBJDUMP
 
17692
 
 
17693
# Method to check whether dependent libraries are shared objects.
 
17694
deplibs_check_method=$lt_deplibs_check_method
 
17695
 
 
17696
# Command to use when deplibs_check_method = "file_magic".
 
17697
file_magic_cmd=$lt_file_magic_cmd
 
17698
 
 
17699
# How to find potential files when deplibs_check_method = "file_magic".
 
17700
file_magic_glob=$lt_file_magic_glob
 
17701
 
 
17702
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
 
17703
want_nocaseglob=$lt_want_nocaseglob
 
17704
 
 
17705
# DLL creation program.
 
17706
DLLTOOL=$lt_DLLTOOL
 
17707
 
 
17708
# Command to associate shared and link libraries.
 
17709
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
 
17710
 
 
17711
# The archiver.
 
17712
AR=$lt_AR
 
17713
 
 
17714
# Flags to create an archive.
 
17715
AR_FLAGS=$lt_AR_FLAGS
 
17716
 
 
17717
# How to feed a file listing to the archiver.
 
17718
archiver_list_spec=$lt_archiver_list_spec
 
17719
 
 
17720
# A symbol stripping program.
 
17721
STRIP=$lt_STRIP
 
17722
 
 
17723
# Commands used to install an old-style archive.
 
17724
RANLIB=$lt_RANLIB
 
17725
old_postinstall_cmds=$lt_old_postinstall_cmds
 
17726
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
17727
 
 
17728
# Whether to use a lock for old archive extraction.
 
17729
lock_old_archive_extraction=$lock_old_archive_extraction
 
17730
 
 
17731
# A C compiler.
 
17732
LTCC=$lt_CC
 
17733
 
 
17734
# LTCC compiler flags.
 
17735
LTCFLAGS=$lt_CFLAGS
 
17736
 
 
17737
# Take the output of nm and produce a listing of raw symbols and C names.
 
17738
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
17739
 
 
17740
# Transform the output of nm in a proper C declaration.
 
17741
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
17742
 
 
17743
# Transform the output of nm in a C name address pair.
 
17744
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
17745
 
 
17746
# Transform the output of nm in a C name address pair when lib prefix is needed.
 
17747
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 
17748
 
 
17749
# Specify filename containing input files for \$NM.
 
17750
nm_file_list_spec=$lt_nm_file_list_spec
 
17751
 
 
17752
# The root where to search for dependent libraries,and in which our libraries should be installed.
 
17753
lt_sysroot=$lt_sysroot
 
17754
 
 
17755
# The name of the directory that contains temporary libtool files.
 
17756
objdir=$objdir
 
17757
 
 
17758
# Used to examine libraries when file_magic_cmd begins with "file".
 
17759
MAGIC_CMD=$MAGIC_CMD
 
17760
 
 
17761
# Must we lock files when doing compilation?
 
17762
need_locks=$lt_need_locks
 
17763
 
 
17764
# Manifest tool.
 
17765
MANIFEST_TOOL=$lt_MANIFEST_TOOL
 
17766
 
 
17767
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 
17768
DSYMUTIL=$lt_DSYMUTIL
 
17769
 
 
17770
# Tool to change global to local symbols on Mac OS X.
 
17771
NMEDIT=$lt_NMEDIT
 
17772
 
 
17773
# Tool to manipulate fat objects and archives on Mac OS X.
 
17774
LIPO=$lt_LIPO
 
17775
 
 
17776
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
 
17777
OTOOL=$lt_OTOOL
 
17778
 
 
17779
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 
17780
OTOOL64=$lt_OTOOL64
 
17781
 
 
17782
# Old archive suffix (normally "a").
 
17783
libext=$libext
 
17784
 
 
17785
# Shared library suffix (normally ".so").
 
17786
shrext_cmds=$lt_shrext_cmds
 
17787
 
 
17788
# The commands to extract the exported symbol list from a shared archive.
 
17789
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
17790
 
 
17791
# Variables whose values should be saved in libtool wrapper scripts and
 
17792
# restored at link time.
 
17793
variables_saved_for_relink=$lt_variables_saved_for_relink
 
17794
 
 
17795
# Do we need the "lib" prefix for modules?
 
17796
need_lib_prefix=$need_lib_prefix
 
17797
 
 
17798
# Do we need a version for libraries?
 
17799
need_version=$need_version
 
17800
 
 
17801
# Library versioning type.
 
17802
version_type=$version_type
 
17803
 
 
17804
# Shared library runtime path variable.
 
17805
runpath_var=$runpath_var
 
17806
 
 
17807
# Shared library path variable.
 
17808
shlibpath_var=$shlibpath_var
 
17809
 
 
17810
# Is shlibpath searched before the hard-coded library search path?
 
17811
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
17812
 
 
17813
# Format of library name prefix.
 
17814
libname_spec=$lt_libname_spec
 
17815
 
 
17816
# List of archive names.  First name is the real one, the rest are links.
 
17817
# The last name is the one that the linker finds with -lNAME
 
17818
library_names_spec=$lt_library_names_spec
 
17819
 
 
17820
# The coded name of the library, if different from the real name.
 
17821
soname_spec=$lt_soname_spec
 
17822
 
 
17823
# Permission mode override for installation of shared libraries.
 
17824
install_override_mode=$lt_install_override_mode
 
17825
 
 
17826
# Command to use after installation of a shared archive.
 
17827
postinstall_cmds=$lt_postinstall_cmds
 
17828
 
 
17829
# Command to use after uninstallation of a shared archive.
 
17830
postuninstall_cmds=$lt_postuninstall_cmds
 
17831
 
 
17832
# Commands used to finish a libtool library installation in a directory.
 
17833
finish_cmds=$lt_finish_cmds
 
17834
 
 
17835
# As "finish_cmds", except a single script fragment to be evaled but
 
17836
# not shown.
 
17837
finish_eval=$lt_finish_eval
 
17838
 
 
17839
# Whether we should hardcode library paths into libraries.
 
17840
hardcode_into_libs=$hardcode_into_libs
 
17841
 
 
17842
# Compile-time system search path for libraries.
 
17843
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
17844
 
 
17845
# Run-time system search path for libraries.
 
17846
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
17847
 
 
17848
# Whether dlopen is supported.
 
17849
dlopen_support=$enable_dlopen
 
17850
 
 
17851
# Whether dlopen of programs is supported.
 
17852
dlopen_self=$enable_dlopen_self
 
17853
 
 
17854
# Whether dlopen of statically linked programs is supported.
 
17855
dlopen_self_static=$enable_dlopen_self_static
 
17856
 
 
17857
# Commands to strip libraries.
 
17858
old_striplib=$lt_old_striplib
 
17859
striplib=$lt_striplib
 
17860
 
 
17861
 
 
17862
# The linker used to build libraries.
 
17863
LD=$lt_LD
 
17864
 
 
17865
# How to create reloadable object files.
 
17866
reload_flag=$lt_reload_flag
 
17867
reload_cmds=$lt_reload_cmds
 
17868
 
 
17869
# Commands used to build an old-style archive.
 
17870
old_archive_cmds=$lt_old_archive_cmds
 
17871
 
 
17872
# A language specific compiler.
 
17873
CC=$lt_compiler
 
17874
 
 
17875
# Is the compiler the GNU compiler?
 
17876
with_gcc=$GCC
 
17877
 
 
17878
# Compiler flag to turn off builtin functions.
 
17879
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 
17880
 
 
17881
# Additional compiler flags for building library objects.
 
17882
pic_flag=$lt_lt_prog_compiler_pic
 
17883
 
 
17884
# How to pass a linker flag through the compiler.
 
17885
wl=$lt_lt_prog_compiler_wl
 
17886
 
 
17887
# Compiler flag to prevent dynamic linking.
 
17888
link_static_flag=$lt_lt_prog_compiler_static
 
17889
 
 
17890
# Does compiler simultaneously support -c and -o options?
 
17891
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 
17892
 
 
17893
# Whether or not to add -lc for building shared libraries.
 
17894
build_libtool_need_lc=$archive_cmds_need_lc
 
17895
 
 
17896
# Whether or not to disallow shared libs when runtime libs are static.
 
17897
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 
17898
 
 
17899
# Compiler flag to allow reflexive dlopens.
 
17900
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 
17901
 
 
17902
# Compiler flag to generate shared objects directly from archives.
 
17903
whole_archive_flag_spec=$lt_whole_archive_flag_spec
 
17904
 
 
17905
# Whether the compiler copes with passing no objects directly.
 
17906
compiler_needs_object=$lt_compiler_needs_object
 
17907
 
 
17908
# Create an old-style archive from a shared archive.
 
17909
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 
17910
 
 
17911
# Create a temporary old-style archive to link instead of a shared archive.
 
17912
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 
17913
 
 
17914
# Commands used to build a shared archive.
 
17915
archive_cmds=$lt_archive_cmds
 
17916
archive_expsym_cmds=$lt_archive_expsym_cmds
 
17917
 
 
17918
# Commands used to build a loadable module if different from building
 
17919
# a shared archive.
 
17920
module_cmds=$lt_module_cmds
 
17921
module_expsym_cmds=$lt_module_expsym_cmds
 
17922
 
 
17923
# Whether we are building with GNU ld or not.
 
17924
with_gnu_ld=$lt_with_gnu_ld
 
17925
 
 
17926
# Flag that allows shared libraries with undefined symbols to be built.
 
17927
allow_undefined_flag=$lt_allow_undefined_flag
 
17928
 
 
17929
# Flag that enforces no undefined symbols.
 
17930
no_undefined_flag=$lt_no_undefined_flag
 
17931
 
 
17932
# Flag to hardcode \$libdir into a binary during linking.
 
17933
# This must work even if \$libdir does not exist
 
17934
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
17935
 
 
17936
# If ld is used when linking, flag to hardcode \$libdir into a binary
 
17937
# during linking.  This must work even if \$libdir does not exist.
 
17938
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
 
17939
 
 
17940
# Whether we need a single "-rpath" flag with a separated argument.
 
17941
hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
17942
 
 
17943
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
17944
# DIR into the resulting binary.
 
17945
hardcode_direct=$hardcode_direct
 
17946
 
 
17947
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
17948
# DIR into the resulting binary and the resulting library dependency is
 
17949
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
17950
# library is relocated.
 
17951
hardcode_direct_absolute=$hardcode_direct_absolute
 
17952
 
 
17953
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
17954
# into the resulting binary.
 
17955
hardcode_minus_L=$hardcode_minus_L
 
17956
 
 
17957
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
17958
# into the resulting binary.
 
17959
hardcode_shlibpath_var=$hardcode_shlibpath_var
 
17960
 
 
17961
# Set to "yes" if building a shared library automatically hardcodes DIR
 
17962
# into the library and all subsequent libraries and executables linked
 
17963
# against it.
 
17964
hardcode_automatic=$hardcode_automatic
 
17965
 
 
17966
# Set to yes if linker adds runtime paths of dependent libraries
 
17967
# to runtime path list.
 
17968
inherit_rpath=$inherit_rpath
 
17969
 
 
17970
# Whether libtool must link a program against all its dependency libraries.
 
17971
link_all_deplibs=$link_all_deplibs
 
17972
 
 
17973
# Set to "yes" if exported symbols are required.
 
17974
always_export_symbols=$always_export_symbols
 
17975
 
 
17976
# The commands to list exported symbols.
 
17977
export_symbols_cmds=$lt_export_symbols_cmds
 
17978
 
 
17979
# Symbols that should not be listed in the preloaded symbols.
 
17980
exclude_expsyms=$lt_exclude_expsyms
 
17981
 
 
17982
# Symbols that must always be exported.
 
17983
include_expsyms=$lt_include_expsyms
 
17984
 
 
17985
# Commands necessary for linking programs (against libraries) with templates.
 
17986
prelink_cmds=$lt_prelink_cmds
 
17987
 
 
17988
# Commands necessary for finishing linking programs.
 
17989
postlink_cmds=$lt_postlink_cmds
 
17990
 
 
17991
# Specify filename containing input files.
 
17992
file_list_spec=$lt_file_list_spec
 
17993
 
 
17994
# How to hardcode a shared library path into an executable.
 
17995
hardcode_action=$hardcode_action
 
17996
 
 
17997
# ### END LIBTOOL CONFIG
 
17998
 
 
17999
_LT_EOF
 
18000
 
 
18001
  case $host_os in
 
18002
  aix3*)
 
18003
    cat <<\_LT_EOF >> "$cfgfile"
 
18004
# AIX sometimes has problems with the GCC collect2 program.  For some
 
18005
# reason, if we set the COLLECT_NAMES environment variable, the problems
 
18006
# vanish in a puff of smoke.
 
18007
if test "X${COLLECT_NAMES+set}" != Xset; then
 
18008
  COLLECT_NAMES=
 
18009
  export COLLECT_NAMES
 
18010
fi
 
18011
_LT_EOF
 
18012
    ;;
 
18013
  esac
 
18014
 
 
18015
 
 
18016
ltmain="$ac_aux_dir/ltmain.sh"
 
18017
 
 
18018
 
 
18019
  # We use sed instead of cat because bash on DJGPP gets confused if
 
18020
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
18021
  # text mode, it properly converts lines to CR/LF.  This bash problem
 
18022
  # is reportedly fixed, but why not run on old versions too?
 
18023
  sed '$q' "$ltmain" >> "$cfgfile" \
 
18024
     || (rm -f "$cfgfile"; exit 1)
 
18025
 
 
18026
  if test x"$xsi_shell" = xyes; then
 
18027
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
 
18028
func_dirname ()\
 
18029
{\
 
18030
\    case ${1} in\
 
18031
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
18032
\      *  ) func_dirname_result="${3}" ;;\
 
18033
\    esac\
 
18034
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
 
18035
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18036
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18037
test 0 -eq $? || _lt_function_replace_fail=:
 
18038
 
 
18039
 
 
18040
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
 
18041
func_basename ()\
 
18042
{\
 
18043
\    func_basename_result="${1##*/}"\
 
18044
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
18045
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18046
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18047
test 0 -eq $? || _lt_function_replace_fail=:
 
18048
 
 
18049
 
 
18050
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
 
18051
func_dirname_and_basename ()\
 
18052
{\
 
18053
\    case ${1} in\
 
18054
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
18055
\      *  ) func_dirname_result="${3}" ;;\
 
18056
\    esac\
 
18057
\    func_basename_result="${1##*/}"\
 
18058
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
18059
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18060
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18061
test 0 -eq $? || _lt_function_replace_fail=:
 
18062
 
 
18063
 
 
18064
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
 
18065
func_stripname ()\
 
18066
{\
 
18067
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
 
18068
\    # positional parameters, so assign one to ordinary parameter first.\
 
18069
\    func_stripname_result=${3}\
 
18070
\    func_stripname_result=${func_stripname_result#"${1}"}\
 
18071
\    func_stripname_result=${func_stripname_result%"${2}"}\
 
18072
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
 
18073
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18074
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18075
test 0 -eq $? || _lt_function_replace_fail=:
 
18076
 
 
18077
 
 
18078
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
 
18079
func_split_long_opt ()\
 
18080
{\
 
18081
\    func_split_long_opt_name=${1%%=*}\
 
18082
\    func_split_long_opt_arg=${1#*=}\
 
18083
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
18084
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18085
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18086
test 0 -eq $? || _lt_function_replace_fail=:
 
18087
 
 
18088
 
 
18089
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
 
18090
func_split_short_opt ()\
 
18091
{\
 
18092
\    func_split_short_opt_arg=${1#??}\
 
18093
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
 
18094
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
18095
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18096
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18097
test 0 -eq $? || _lt_function_replace_fail=:
 
18098
 
 
18099
 
 
18100
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
 
18101
func_lo2o ()\
 
18102
{\
 
18103
\    case ${1} in\
 
18104
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
 
18105
\      *)    func_lo2o_result=${1} ;;\
 
18106
\    esac\
 
18107
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
 
18108
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18109
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18110
test 0 -eq $? || _lt_function_replace_fail=:
 
18111
 
 
18112
 
 
18113
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
 
18114
func_xform ()\
 
18115
{\
 
18116
    func_xform_result=${1%.*}.lo\
 
18117
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
 
18118
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18119
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18120
test 0 -eq $? || _lt_function_replace_fail=:
 
18121
 
 
18122
 
 
18123
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
 
18124
func_arith ()\
 
18125
{\
 
18126
    func_arith_result=$(( $* ))\
 
18127
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
 
18128
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18129
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18130
test 0 -eq $? || _lt_function_replace_fail=:
 
18131
 
 
18132
 
 
18133
  sed -e '/^func_len ()$/,/^} # func_len /c\
 
18134
func_len ()\
 
18135
{\
 
18136
    func_len_result=${#1}\
 
18137
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
 
18138
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18139
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18140
test 0 -eq $? || _lt_function_replace_fail=:
 
18141
 
 
18142
fi
 
18143
 
 
18144
if test x"$lt_shell_append" = xyes; then
 
18145
  sed -e '/^func_append ()$/,/^} # func_append /c\
 
18146
func_append ()\
 
18147
{\
 
18148
    eval "${1}+=\\${2}"\
 
18149
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
 
18150
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18151
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18152
test 0 -eq $? || _lt_function_replace_fail=:
 
18153
 
 
18154
 
 
18155
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
 
18156
func_append_quoted ()\
 
18157
{\
 
18158
\    func_quote_for_eval "${2}"\
 
18159
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
 
18160
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
 
18161
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18162
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18163
test 0 -eq $? || _lt_function_replace_fail=:
 
18164
 
 
18165
 
 
18166
  # Save a `func_append' function call where possible by direct use of '+='
 
18167
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
 
18168
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18169
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18170
  test 0 -eq $? || _lt_function_replace_fail=:
 
18171
else
 
18172
  # Save a `func_append' function call even when '+=' is not available
 
18173
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
 
18174
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
18175
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
18176
  test 0 -eq $? || _lt_function_replace_fail=:
 
18177
fi
 
18178
 
 
18179
if test x"$_lt_function_replace_fail" = x":"; then
 
18180
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
 
18181
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 
18182
fi
 
18183
 
 
18184
 
 
18185
   mv -f "$cfgfile" "$ofile" ||
 
18186
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
18187
  chmod +x "$ofile"
 
18188
 
 
18189
 ;;
 
18190
    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
 
18191
        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
 
18192
      esac ;;
 
18193
    "po/stamp-it":C)
 
18194
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
 
18195
       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
 
18196
    fi
 
18197
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
 
18198
    >"po/stamp-it.tmp"
 
18199
    sed '/^#/d
 
18200
         s/^[[].*] *//
 
18201
         /^[    ]*$/d
 
18202
        '"s|^|  $ac_top_srcdir/|" \
 
18203
      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
 
18204
 
 
18205
    sed '/^POTFILES =/,/[^\\]$/ {
 
18206
                /^POTFILES =/!d
 
18207
                r po/POTFILES
 
18208
          }
 
18209
         ' "po/Makefile.in" >"po/Makefile"
 
18210
    rm -f "po/Makefile.tmp"
 
18211
    mv "po/stamp-it.tmp" "po/stamp-it"
 
18212
   ;;
 
18213
 
 
18214
  esac
 
18215
done # for ac_tag
 
18216
 
 
18217
 
 
18218
as_fn_exit 0
 
18219
_ACEOF
 
18220
ac_clean_files=$ac_clean_files_save
 
18221
 
 
18222
test $ac_write_fail = 0 ||
 
18223
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
18224
 
 
18225
 
 
18226
# configure is writing to config.log, and then calls config.status.
 
18227
# config.status does its own redirection, appending to config.log.
 
18228
# Unfortunately, on DOS this fails, as config.log is still kept open
 
18229
# by configure, so config.status won't be able to write to it; its
 
18230
# output is simply discarded.  So we exec the FD to /dev/null,
 
18231
# effectively closing config.log, so it can be properly (re)opened and
 
18232
# appended to by config.status.  When coming back to configure, we
 
18233
# need to make the FD available again.
 
18234
if test "$no_create" != yes; then
 
18235
  ac_cs_success=:
 
18236
  ac_config_status_args=
 
18237
  test "$silent" = yes &&
 
18238
    ac_config_status_args="$ac_config_status_args --quiet"
 
18239
  exec 5>/dev/null
 
18240
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 
18241
  exec 5>>config.log
 
18242
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 
18243
  # would make configure fail if this is the last instruction.
 
18244
  $ac_cs_success || as_fn_exit 1
 
18245
fi
 
18246
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
18247
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
18248
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 
18249
fi
 
18250
 
 
18251
 
 
18252
echo "
 
18253
 
 
18254
                    ${PACKAGE} ${VERSION}
 
18255
                    ============
 
18256
 
 
18257
 
 
18258
        Prefix:                 ${prefix}
 
18259
        Source code location:   ${srcdir}
 
18260
        Compiler:               ${CC}
 
18261
        CFLAGS:                 ${CFLAGS}
 
18262
        VALAFLAGS:              ${VALAFLAGS}
 
18263
        uninstalled:            ${enable_uninstalled}
 
18264
        preferences ui:         ${BUILD_UI}
 
18265
    Plugins:
 
18266
        test:                   ${enable_test_plugin}
 
18267
        tracker:                ${enable_tracker_plugin}
 
18268
        mediathek:              ${enable_mediathek_plugin}
 
18269
        media-export            ${enable_media_export_plugin}
 
18270
        external:               ${enable_external_plugin}
 
18271
        MPRIS2:                 ${enable_mpris_plugin}
 
18272
        gst-launch:             ${enable_gst_launch_plugin}
 
18273
        playbin:                ${enable_playbin_plugin}
 
18274
"