~ricmm/+junk/unity-lens_music-sc

« back to all changes in this revision

Viewing changes to configure

  • Committer: Ricardo Mendoza
  • Date: 2012-09-05 14:20:15 UTC
  • Revision ID: ricardo.mendoza@canonical.com-20120905142015-prem6hiyfshwgm8q
Initial commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh
 
2
# Guess values for system-dependent variables and create Makefiles.
 
3
# Generated by GNU Autoconf 2.69 for unity-lens-music 6.6.0.
 
4
#
 
5
# Report bugs to <https://launchpad.net/unity-lens-music>.
 
6
#
 
7
#
 
8
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
 
9
#
 
10
#
 
11
# This configure script is free software; the Free Software Foundation
 
12
# gives unlimited permission to copy, distribute and modify it.
 
13
#
 
14
# Copyright 2011-2012 Canonical
 
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
# Use a proper internal environment variable to ensure we don't fall
 
140
  # into an infinite loop, continuously re-executing ourselves.
 
141
  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
 
142
    _as_can_reexec=no; export _as_can_reexec;
 
143
    # We cannot yet assume a decent shell, so we have to provide a
 
144
# neutralization value for shells without unset; and this also
 
145
# works around shells that cannot unset nonexistent variables.
 
146
# Preserve -v and -x to the replacement shell.
 
147
BASH_ENV=/dev/null
 
148
ENV=/dev/null
 
149
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
150
case $- in # ((((
 
151
  *v*x* | *x*v* ) as_opts=-vx ;;
 
152
  *v* ) as_opts=-v ;;
 
153
  *x* ) as_opts=-x ;;
 
154
  * ) as_opts= ;;
 
155
esac
 
156
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
 
157
# Admittedly, this is quite paranoid, since all the known shells bail
 
158
# out after a failed `exec'.
 
159
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
 
160
as_fn_exit 255
 
161
  fi
 
162
  # We don't want this to propagate to other subprocesses.
 
163
          { _as_can_reexec=; unset _as_can_reexec;}
 
164
if test "x$CONFIG_SHELL" = x; then
 
165
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
166
  emulate sh
 
167
  NULLCMD=:
 
168
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
169
  # is contrary to our usage.  Disable this feature.
 
170
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
171
  setopt NO_GLOB_SUBST
 
172
else
 
173
  case \`(set -o) 2>/dev/null\` in #(
 
174
  *posix*) :
 
175
    set -o posix ;; #(
 
176
  *) :
 
177
     ;;
 
178
esac
 
179
fi
 
180
"
 
181
  as_required="as_fn_return () { (exit \$1); }
 
182
as_fn_success () { as_fn_return 0; }
 
183
as_fn_failure () { as_fn_return 1; }
 
184
as_fn_ret_success () { return 0; }
 
185
as_fn_ret_failure () { return 1; }
 
186
 
 
187
exitcode=0
 
188
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
189
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
190
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
191
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
192
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
193
 
 
194
else
 
195
  exitcode=1; echo positional parameters were not saved.
 
196
fi
 
197
test x\$exitcode = x0 || exit 1
 
198
test -x / || exit 1"
 
199
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
200
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
201
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
202
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
203
test \$(( 1 + 1 )) = 2 || exit 1
 
204
 
 
205
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
 
206
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
207
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
208
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
209
    PATH=/empty FPATH=/empty; export PATH FPATH
 
210
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
 
211
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
 
212
  if (eval "$as_required") 2>/dev/null; then :
 
213
  as_have_required=yes
 
214
else
 
215
  as_have_required=no
 
216
fi
 
217
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
218
 
 
219
else
 
220
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
221
as_found=false
 
222
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
223
do
 
224
  IFS=$as_save_IFS
 
225
  test -z "$as_dir" && as_dir=.
 
226
  as_found=:
 
227
  case $as_dir in #(
 
228
         /*)
 
229
           for as_base in sh bash ksh sh5; do
 
230
             # Try only shells that exist, to save several forks.
 
231
             as_shell=$as_dir/$as_base
 
232
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
233
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
234
  CONFIG_SHELL=$as_shell as_have_required=yes
 
235
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
236
  break 2
 
237
fi
 
238
fi
 
239
           done;;
 
240
       esac
 
241
  as_found=false
 
242
done
 
243
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
244
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
245
  CONFIG_SHELL=$SHELL as_have_required=yes
 
246
fi; }
 
247
IFS=$as_save_IFS
 
248
 
 
249
 
 
250
      if test "x$CONFIG_SHELL" != x; then :
 
251
  export CONFIG_SHELL
 
252
             # We cannot yet assume a decent shell, so we have to provide a
 
253
# neutralization value for shells without unset; and this also
 
254
# works around shells that cannot unset nonexistent variables.
 
255
# Preserve -v and -x to the replacement shell.
 
256
BASH_ENV=/dev/null
 
257
ENV=/dev/null
 
258
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
259
case $- in # ((((
 
260
  *v*x* | *x*v* ) as_opts=-vx ;;
 
261
  *v* ) as_opts=-v ;;
 
262
  *x* ) as_opts=-x ;;
 
263
  * ) as_opts= ;;
 
264
esac
 
265
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
 
266
# Admittedly, this is quite paranoid, since all the known shells bail
 
267
# out after a failed `exec'.
 
268
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
 
269
exit 255
 
270
fi
 
271
 
 
272
    if test x$as_have_required = xno; then :
 
273
  $as_echo "$0: This script requires a shell more modern than all"
 
274
  $as_echo "$0: the shells that I found on your system."
 
275
  if test x${ZSH_VERSION+set} = xset ; then
 
276
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
277
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 
278
  else
 
279
    $as_echo "$0: Please tell bug-autoconf@gnu.org and
 
280
$0: https://launchpad.net/unity-lens-music about your
 
281
$0: system, including any error possibly output before this
 
282
$0: message. Then install a modern shell, or manually run
 
283
$0: the script under such a shell if you do have one."
 
284
  fi
 
285
  exit 1
 
286
fi
 
287
fi
 
288
fi
 
289
SHELL=${CONFIG_SHELL-/bin/sh}
 
290
export SHELL
 
291
# Unset more variables known to interfere with behavior of common tools.
 
292
CLICOLOR_FORCE= GREP_OPTIONS=
 
293
unset CLICOLOR_FORCE GREP_OPTIONS
 
294
 
 
295
## --------------------- ##
 
296
## M4sh Shell Functions. ##
 
297
## --------------------- ##
 
298
# as_fn_unset VAR
 
299
# ---------------
 
300
# Portably unset VAR.
 
301
as_fn_unset ()
 
302
{
 
303
  { eval $1=; unset $1;}
 
304
}
 
305
as_unset=as_fn_unset
 
306
 
 
307
# as_fn_set_status STATUS
 
308
# -----------------------
 
309
# Set $? to STATUS, without forking.
 
310
as_fn_set_status ()
 
311
{
 
312
  return $1
 
313
} # as_fn_set_status
 
314
 
 
315
# as_fn_exit STATUS
 
316
# -----------------
 
317
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
318
as_fn_exit ()
 
319
{
 
320
  set +e
 
321
  as_fn_set_status $1
 
322
  exit $1
 
323
} # as_fn_exit
 
324
 
 
325
# as_fn_mkdir_p
 
326
# -------------
 
327
# Create "$as_dir" as a directory, including parents if necessary.
 
328
as_fn_mkdir_p ()
 
329
{
 
330
 
 
331
  case $as_dir in #(
 
332
  -*) as_dir=./$as_dir;;
 
333
  esac
 
334
  test -d "$as_dir" || eval $as_mkdir_p || {
 
335
    as_dirs=
 
336
    while :; do
 
337
      case $as_dir in #(
 
338
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
339
      *) as_qdir=$as_dir;;
 
340
      esac
 
341
      as_dirs="'$as_qdir' $as_dirs"
 
342
      as_dir=`$as_dirname -- "$as_dir" ||
 
343
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
344
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
345
         X"$as_dir" : 'X\(//\)$' \| \
 
346
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
347
$as_echo X"$as_dir" |
 
348
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
349
            s//\1/
 
350
            q
 
351
          }
 
352
          /^X\(\/\/\)[^/].*/{
 
353
            s//\1/
 
354
            q
 
355
          }
 
356
          /^X\(\/\/\)$/{
 
357
            s//\1/
 
358
            q
 
359
          }
 
360
          /^X\(\/\).*/{
 
361
            s//\1/
 
362
            q
 
363
          }
 
364
          s/.*/./; q'`
 
365
      test -d "$as_dir" && break
 
366
    done
 
367
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
368
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
369
 
 
370
 
 
371
} # as_fn_mkdir_p
 
372
 
 
373
# as_fn_executable_p FILE
 
374
# -----------------------
 
375
# Test if FILE is an executable regular file.
 
376
as_fn_executable_p ()
 
377
{
 
378
  test -f "$1" && test -x "$1"
 
379
} # as_fn_executable_p
 
380
# as_fn_append VAR VALUE
 
381
# ----------------------
 
382
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
383
# advantage of any shell optimizations that allow amortized linear growth over
 
384
# repeated appends, instead of the typical quadratic growth present in naive
 
385
# implementations.
 
386
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
387
  eval 'as_fn_append ()
 
388
  {
 
389
    eval $1+=\$2
 
390
  }'
 
391
else
 
392
  as_fn_append ()
 
393
  {
 
394
    eval $1=\$$1\$2
 
395
  }
 
396
fi # as_fn_append
 
397
 
 
398
# as_fn_arith ARG...
 
399
# ------------------
 
400
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
401
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
402
# must be portable across $(()) and expr.
 
403
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
404
  eval 'as_fn_arith ()
 
405
  {
 
406
    as_val=$(( $* ))
 
407
  }'
 
408
else
 
409
  as_fn_arith ()
 
410
  {
 
411
    as_val=`expr "$@" || test $? -eq 1`
 
412
  }
 
413
fi # as_fn_arith
 
414
 
 
415
 
 
416
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
417
# ----------------------------------------
 
418
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
419
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
420
# script with STATUS, using 1 if that was 0.
 
421
as_fn_error ()
 
422
{
 
423
  as_status=$1; test $as_status -eq 0 && as_status=1
 
424
  if test "$4"; then
 
425
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
426
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
427
  fi
 
428
  $as_echo "$as_me: error: $2" >&2
 
429
  as_fn_exit $as_status
 
430
} # as_fn_error
 
431
 
 
432
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
433
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
434
  as_expr=expr
 
435
else
 
436
  as_expr=false
 
437
fi
 
438
 
 
439
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
440
  as_basename=basename
 
441
else
 
442
  as_basename=false
 
443
fi
 
444
 
 
445
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
446
  as_dirname=dirname
 
447
else
 
448
  as_dirname=false
 
449
fi
 
450
 
 
451
as_me=`$as_basename -- "$0" ||
 
452
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
453
         X"$0" : 'X\(//\)$' \| \
 
454
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
455
$as_echo X/"$0" |
 
456
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
457
            s//\1/
 
458
            q
 
459
          }
 
460
          /^X\/\(\/\/\)$/{
 
461
            s//\1/
 
462
            q
 
463
          }
 
464
          /^X\/\(\/\).*/{
 
465
            s//\1/
 
466
            q
 
467
          }
 
468
          s/.*/./; q'`
 
469
 
 
470
# Avoid depending upon Character Ranges.
 
471
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
472
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
473
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
474
as_cr_digits='0123456789'
 
475
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
476
 
 
477
 
 
478
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
479
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
480
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
481
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
482
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
 
483
  sed -n '
 
484
    p
 
485
    /[$]LINENO/=
 
486
  ' <$as_myself |
 
487
    sed '
 
488
      s/[$]LINENO.*/&-/
 
489
      t lineno
 
490
      b
 
491
      :lineno
 
492
      N
 
493
      :loop
 
494
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 
495
      t loop
 
496
      s/-\n.*//
 
497
    ' >$as_me.lineno &&
 
498
  chmod +x "$as_me.lineno" ||
 
499
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
 
500
 
 
501
  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
 
502
  # already done that, so ensure we don't try to do so again and fall
 
503
  # in an infinite loop.  This has already happened in practice.
 
504
  _as_can_reexec=no; export _as_can_reexec
 
505
  # Don't try to exec as it changes $[0], causing all sort of problems
 
506
  # (the dirname of $[0] is not the place where we might find the
 
507
  # original and so on.  Autoconf is especially sensitive to this).
 
508
  . "./$as_me.lineno"
 
509
  # Exit status is that of the last command.
 
510
  exit
 
511
}
 
512
 
 
513
ECHO_C= ECHO_N= ECHO_T=
 
514
case `echo -n x` in #(((((
 
515
-n*)
 
516
  case `echo 'xy\c'` in
 
517
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
518
  xy)  ECHO_C='\c';;
 
519
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
520
       ECHO_T=' ';;
 
521
  esac;;
 
522
*)
 
523
  ECHO_N='-n';;
 
524
esac
 
525
 
 
526
rm -f conf$$ conf$$.exe conf$$.file
 
527
if test -d conf$$.dir; then
 
528
  rm -f conf$$.dir/conf$$.file
 
529
else
 
530
  rm -f conf$$.dir
 
531
  mkdir conf$$.dir 2>/dev/null
 
532
fi
 
533
if (echo >conf$$.file) 2>/dev/null; then
 
534
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
535
    as_ln_s='ln -s'
 
536
    # ... but there are two gotchas:
 
537
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
538
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
539
    # In both cases, we have to default to `cp -pR'.
 
540
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
541
      as_ln_s='cp -pR'
 
542
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
543
    as_ln_s=ln
 
544
  else
 
545
    as_ln_s='cp -pR'
 
546
  fi
 
547
else
 
548
  as_ln_s='cp -pR'
 
549
fi
 
550
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
551
rmdir conf$$.dir 2>/dev/null
 
552
 
 
553
if mkdir -p . 2>/dev/null; then
 
554
  as_mkdir_p='mkdir -p "$as_dir"'
 
555
else
 
556
  test -d ./-p && rmdir ./-p
 
557
  as_mkdir_p=false
 
558
fi
 
559
 
 
560
as_test_x='test -x'
 
561
as_executable_p=as_fn_executable_p
 
562
 
 
563
# Sed expression to map a string onto a valid CPP name.
 
564
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
565
 
 
566
# Sed expression to map a string onto a valid variable name.
 
567
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
568
 
 
569
as_awk_strverscmp='
 
570
  # Use only awk features that work with 7th edition Unix awk (1978).
 
571
  # My, what an old awk you have, Mr. Solaris!
 
572
  END {
 
573
    while (length(v1) && length(v2)) {
 
574
      # Set d1 to be the next thing to compare from v1, and likewise for d2.
 
575
      # Normally this is a single character, but if v1 and v2 contain digits,
 
576
      # compare them as integers and fractions as strverscmp does.
 
577
      if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
 
578
        # Split v1 and v2 into their leading digit string components d1 and d2,
 
579
        # and advance v1 and v2 past the leading digit strings.
 
580
        for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
 
581
        for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
 
582
        d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
 
583
        d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
 
584
        if (d1 ~ /^0/) {
 
585
          if (d2 ~ /^0/) {
 
586
            # Compare two fractions.
 
587
            while (d1 ~ /^0/ && d2 ~ /^0/) {
 
588
              d1 = substr(d1, 2); len1--
 
589
              d2 = substr(d2, 2); len2--
 
590
            }
 
591
            if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
 
592
              # The two components differ in length, and the common prefix
 
593
              # contains only leading zeros.  Consider the longer to be less.
 
594
              d1 = -len1
 
595
              d2 = -len2
 
596
            } else {
 
597
              # Otherwise, compare as strings.
 
598
              d1 = "x" d1
 
599
              d2 = "x" d2
 
600
            }
 
601
          } else {
 
602
            # A fraction is less than an integer.
 
603
            exit 1
 
604
          }
 
605
        } else {
 
606
          if (d2 ~ /^0/) {
 
607
            # An integer is greater than a fraction.
 
608
            exit 2
 
609
          } else {
 
610
            # Compare two integers.
 
611
            d1 += 0
 
612
            d2 += 0
 
613
          }
 
614
        }
 
615
      } else {
 
616
        # The normal case, without worrying about digits.
 
617
        d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
 
618
        d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
 
619
      }
 
620
      if (d1 < d2) exit 1
 
621
      if (d1 > d2) exit 2
 
622
    }
 
623
    # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
 
624
    # which mishandles some comparisons of empty strings to integers.
 
625
    if (length(v2)) exit 1
 
626
    if (length(v1)) exit 2
 
627
  }
 
628
'
 
629
SHELL=${CONFIG_SHELL-/bin/sh}
 
630
 
 
631
 
 
632
test -n "$DJDIR" || exec 7<&0 </dev/null
 
633
exec 6>&1
 
634
 
 
635
# Name of the host.
 
636
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
 
637
# so uname gets run too.
 
638
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
 
639
 
 
640
#
 
641
# Initializations.
 
642
#
 
643
ac_default_prefix=/usr/local
 
644
ac_clean_files=
 
645
ac_config_libobj_dir=.
 
646
LIBOBJS=
 
647
cross_compiling=no
 
648
subdirs=
 
649
MFLAGS=
 
650
MAKEFLAGS=
 
651
 
 
652
# Identity of this package.
 
653
PACKAGE_NAME='unity-lens-music'
 
654
PACKAGE_TARNAME='unity-lens-music'
 
655
PACKAGE_VERSION='6.6.0'
 
656
PACKAGE_STRING='unity-lens-music 6.6.0'
 
657
PACKAGE_BUGREPORT='https://launchpad.net/unity-lens-music'
 
658
PACKAGE_URL=''
 
659
 
 
660
# Factoring default headers for most tests.
 
661
ac_includes_default="\
 
662
#include <stdio.h>
 
663
#ifdef HAVE_SYS_TYPES_H
 
664
# include <sys/types.h>
 
665
#endif
 
666
#ifdef HAVE_SYS_STAT_H
 
667
# include <sys/stat.h>
 
668
#endif
 
669
#ifdef STDC_HEADERS
 
670
# include <stdlib.h>
 
671
# include <stddef.h>
 
672
#else
 
673
# ifdef HAVE_STDLIB_H
 
674
#  include <stdlib.h>
 
675
# endif
 
676
#endif
 
677
#ifdef HAVE_STRING_H
 
678
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
 
679
#  include <memory.h>
 
680
# endif
 
681
# include <string.h>
 
682
#endif
 
683
#ifdef HAVE_STRINGS_H
 
684
# include <strings.h>
 
685
#endif
 
686
#ifdef HAVE_INTTYPES_H
 
687
# include <inttypes.h>
 
688
#endif
 
689
#ifdef HAVE_STDINT_H
 
690
# include <stdint.h>
 
691
#endif
 
692
#ifdef HAVE_UNISTD_H
 
693
# include <unistd.h>
 
694
#endif"
 
695
 
 
696
ac_subst_vars='am__EXEEXT_FALSE
 
697
am__EXEEXT_TRUE
 
698
LTLIBOBJS
 
699
LIBOBJS
 
700
LENSESDIR
 
701
DBUSSERVICEDIR
 
702
DATADIR
 
703
PREFIX
 
704
HAVE_LOCALINSTALL_FALSE
 
705
HAVE_LOCALINSTALL_TRUE
 
706
PREVIEW_PLAYER_LIBS
 
707
PREVIEW_PLAYER_CFLAGS
 
708
LENS_DAEMON_LIBS
 
709
LENS_DAEMON_CFLAGS
 
710
PKG_CONFIG_LIBDIR
 
711
PKG_CONFIG_PATH
 
712
PKG_CONFIG
 
713
INTLTOOL_LENS_RULE
 
714
ALL_LINGUAS
 
715
INTLTOOL_PERL
 
716
MSGMERGE
 
717
INTLTOOL_POLICY_RULE
 
718
INTLTOOL_SERVICE_RULE
 
719
INTLTOOL_THEME_RULE
 
720
INTLTOOL_SCHEMAS_RULE
 
721
INTLTOOL_CAVES_RULE
 
722
INTLTOOL_XML_NOMERGE_RULE
 
723
INTLTOOL_XML_RULE
 
724
INTLTOOL_KBD_RULE
 
725
INTLTOOL_XAM_RULE
 
726
INTLTOOL_UI_RULE
 
727
INTLTOOL_SOUNDLIST_RULE
 
728
INTLTOOL_SHEET_RULE
 
729
INTLTOOL_SERVER_RULE
 
730
INTLTOOL_PONG_RULE
 
731
INTLTOOL_OAF_RULE
 
732
INTLTOOL_PROP_RULE
 
733
INTLTOOL_KEYS_RULE
 
734
INTLTOOL_DIRECTORY_RULE
 
735
INTLTOOL_DESKTOP_RULE
 
736
intltool__v_merge_options_0
 
737
intltool__v_merge_options_
 
738
INTLTOOL_V_MERGE_OPTIONS
 
739
INTLTOOL__v_MERGE_0
 
740
INTLTOOL__v_MERGE_
 
741
INTLTOOL_V_MERGE
 
742
INTLTOOL_EXTRACT
 
743
INTLTOOL_MERGE
 
744
INTLTOOL_UPDATE
 
745
MKINSTALLDIRS
 
746
POSUB
 
747
POFILES
 
748
PO_IN_DATADIR_FALSE
 
749
PO_IN_DATADIR_TRUE
 
750
INTLLIBS
 
751
INSTOBJEXT
 
752
GMOFILES
 
753
DATADIRNAME
 
754
CATOBJEXT
 
755
CATALOGS
 
756
XGETTEXT
 
757
GMSGFMT
 
758
MSGFMT_OPTS
 
759
MSGFMT
 
760
USE_NLS
 
761
CONFIG_STATUS_DEPENDENCIES
 
762
GETTEXT_PACKAGE
 
763
OTOOL64
 
764
OTOOL
 
765
LIPO
 
766
NMEDIT
 
767
DSYMUTIL
 
768
MANIFEST_TOOL
 
769
RANLIB
 
770
ac_ct_AR
 
771
AR
 
772
DLLTOOL
 
773
OBJDUMP
 
774
LN_S
 
775
NM
 
776
ac_ct_DUMPBIN
 
777
DUMPBIN
 
778
LD
 
779
FGREP
 
780
SED
 
781
host_os
 
782
host_vendor
 
783
host_cpu
 
784
host
 
785
build_os
 
786
build_vendor
 
787
build_cpu
 
788
build
 
789
LIBTOOL
 
790
EGREP
 
791
GREP
 
792
CPP
 
793
am__fastdepCC_FALSE
 
794
am__fastdepCC_TRUE
 
795
CCDEPMODE
 
796
am__nodep
 
797
AMDEPBACKSLASH
 
798
AMDEP_FALSE
 
799
AMDEP_TRUE
 
800
am__quote
 
801
am__include
 
802
DEPDIR
 
803
OBJEXT
 
804
EXEEXT
 
805
ac_ct_CC
 
806
CPPFLAGS
 
807
LDFLAGS
 
808
CFLAGS
 
809
CC
 
810
VALAC
 
811
MAINT
 
812
MAINTAINER_MODE_FALSE
 
813
MAINTAINER_MODE_TRUE
 
814
AM_BACKSLASH
 
815
AM_DEFAULT_VERBOSITY
 
816
AM_DEFAULT_V
 
817
AM_V
 
818
am__untar
 
819
am__tar
 
820
AMTAR
 
821
am__leading_dot
 
822
SET_MAKE
 
823
AWK
 
824
mkdir_p
 
825
MKDIR_P
 
826
INSTALL_STRIP_PROGRAM
 
827
STRIP
 
828
install_sh
 
829
MAKEINFO
 
830
AUTOHEADER
 
831
AUTOMAKE
 
832
AUTOCONF
 
833
ACLOCAL
 
834
VERSION
 
835
PACKAGE
 
836
CYGPATH_W
 
837
am__isrc
 
838
INSTALL_DATA
 
839
INSTALL_SCRIPT
 
840
INSTALL_PROGRAM
 
841
target_alias
 
842
host_alias
 
843
build_alias
 
844
LIBS
 
845
ECHO_T
 
846
ECHO_N
 
847
ECHO_C
 
848
DEFS
 
849
mandir
 
850
localedir
 
851
libdir
 
852
psdir
 
853
pdfdir
 
854
dvidir
 
855
htmldir
 
856
infodir
 
857
docdir
 
858
oldincludedir
 
859
includedir
 
860
localstatedir
 
861
sharedstatedir
 
862
sysconfdir
 
863
datadir
 
864
datarootdir
 
865
libexecdir
 
866
sbindir
 
867
bindir
 
868
program_transform_name
 
869
prefix
 
870
exec_prefix
 
871
PACKAGE_URL
 
872
PACKAGE_BUGREPORT
 
873
PACKAGE_STRING
 
874
PACKAGE_VERSION
 
875
PACKAGE_TARNAME
 
876
PACKAGE_NAME
 
877
PATH_SEPARATOR
 
878
SHELL'
 
879
ac_subst_files=''
 
880
ac_user_opts='
 
881
enable_option_checking
 
882
enable_silent_rules
 
883
enable_maintainer_mode
 
884
enable_dependency_tracking
 
885
enable_shared
 
886
enable_static
 
887
with_pic
 
888
enable_fast_install
 
889
with_gnu_ld
 
890
with_sysroot
 
891
enable_libtool_lock
 
892
enable_nls
 
893
enable_localinstall
 
894
'
 
895
      ac_precious_vars='build_alias
 
896
host_alias
 
897
target_alias
 
898
CC
 
899
CFLAGS
 
900
LDFLAGS
 
901
LIBS
 
902
CPPFLAGS
 
903
CPP
 
904
PKG_CONFIG
 
905
PKG_CONFIG_PATH
 
906
PKG_CONFIG_LIBDIR
 
907
LENS_DAEMON_CFLAGS
 
908
LENS_DAEMON_LIBS
 
909
PREVIEW_PLAYER_CFLAGS
 
910
PREVIEW_PLAYER_LIBS'
 
911
 
 
912
 
 
913
# Initialize some variables set by options.
 
914
ac_init_help=
 
915
ac_init_version=false
 
916
ac_unrecognized_opts=
 
917
ac_unrecognized_sep=
 
918
# The variables have the same names as the options, with
 
919
# dashes changed to underlines.
 
920
cache_file=/dev/null
 
921
exec_prefix=NONE
 
922
no_create=
 
923
no_recursion=
 
924
prefix=NONE
 
925
program_prefix=NONE
 
926
program_suffix=NONE
 
927
program_transform_name=s,x,x,
 
928
silent=
 
929
site=
 
930
srcdir=
 
931
verbose=
 
932
x_includes=NONE
 
933
x_libraries=NONE
 
934
 
 
935
# Installation directory options.
 
936
# These are left unexpanded so users can "make install exec_prefix=/foo"
 
937
# and all the variables that are supposed to be based on exec_prefix
 
938
# by default will actually change.
 
939
# Use braces instead of parens because sh, perl, etc. also accept them.
 
940
# (The list follows the same order as the GNU Coding Standards.)
 
941
bindir='${exec_prefix}/bin'
 
942
sbindir='${exec_prefix}/sbin'
 
943
libexecdir='${exec_prefix}/libexec'
 
944
datarootdir='${prefix}/share'
 
945
datadir='${datarootdir}'
 
946
sysconfdir='${prefix}/etc'
 
947
sharedstatedir='${prefix}/com'
 
948
localstatedir='${prefix}/var'
 
949
includedir='${prefix}/include'
 
950
oldincludedir='/usr/include'
 
951
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 
952
infodir='${datarootdir}/info'
 
953
htmldir='${docdir}'
 
954
dvidir='${docdir}'
 
955
pdfdir='${docdir}'
 
956
psdir='${docdir}'
 
957
libdir='${exec_prefix}/lib'
 
958
localedir='${datarootdir}/locale'
 
959
mandir='${datarootdir}/man'
 
960
 
 
961
ac_prev=
 
962
ac_dashdash=
 
963
for ac_option
 
964
do
 
965
  # If the previous option needs an argument, assign it.
 
966
  if test -n "$ac_prev"; then
 
967
    eval $ac_prev=\$ac_option
 
968
    ac_prev=
 
969
    continue
 
970
  fi
 
971
 
 
972
  case $ac_option in
 
973
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
974
  *=)   ac_optarg= ;;
 
975
  *)    ac_optarg=yes ;;
 
976
  esac
 
977
 
 
978
  # Accept the important Cygnus configure options, so we can diagnose typos.
 
979
 
 
980
  case $ac_dashdash$ac_option in
 
981
  --)
 
982
    ac_dashdash=yes ;;
 
983
 
 
984
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
 
985
    ac_prev=bindir ;;
 
986
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
 
987
    bindir=$ac_optarg ;;
 
988
 
 
989
  -build | --build | --buil | --bui | --bu)
 
990
    ac_prev=build_alias ;;
 
991
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
 
992
    build_alias=$ac_optarg ;;
 
993
 
 
994
  -cache-file | --cache-file | --cache-fil | --cache-fi \
 
995
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
 
996
    ac_prev=cache_file ;;
 
997
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
 
998
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
 
999
    cache_file=$ac_optarg ;;
 
1000
 
 
1001
  --config-cache | -C)
 
1002
    cache_file=config.cache ;;
 
1003
 
 
1004
  -datadir | --datadir | --datadi | --datad)
 
1005
    ac_prev=datadir ;;
 
1006
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
 
1007
    datadir=$ac_optarg ;;
 
1008
 
 
1009
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
1010
  | --dataroo | --dataro | --datar)
 
1011
    ac_prev=datarootdir ;;
 
1012
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
1013
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
1014
    datarootdir=$ac_optarg ;;
 
1015
 
 
1016
  -disable-* | --disable-*)
 
1017
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
1018
    # Reject names that are not valid shell variable names.
 
1019
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1020
      as_fn_error $? "invalid feature name: $ac_useropt"
 
1021
    ac_useropt_orig=$ac_useropt
 
1022
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1023
    case $ac_user_opts in
 
1024
      *"
 
1025
"enable_$ac_useropt"
 
1026
"*) ;;
 
1027
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
1028
         ac_unrecognized_sep=', ';;
 
1029
    esac
 
1030
    eval enable_$ac_useropt=no ;;
 
1031
 
 
1032
  -docdir | --docdir | --docdi | --doc | --do)
 
1033
    ac_prev=docdir ;;
 
1034
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
1035
    docdir=$ac_optarg ;;
 
1036
 
 
1037
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
1038
    ac_prev=dvidir ;;
 
1039
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
1040
    dvidir=$ac_optarg ;;
 
1041
 
 
1042
  -enable-* | --enable-*)
 
1043
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
1044
    # Reject names that are not valid shell variable names.
 
1045
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1046
      as_fn_error $? "invalid feature name: $ac_useropt"
 
1047
    ac_useropt_orig=$ac_useropt
 
1048
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1049
    case $ac_user_opts in
 
1050
      *"
 
1051
"enable_$ac_useropt"
 
1052
"*) ;;
 
1053
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
1054
         ac_unrecognized_sep=', ';;
 
1055
    esac
 
1056
    eval enable_$ac_useropt=\$ac_optarg ;;
 
1057
 
 
1058
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 
1059
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 
1060
  | --exec | --exe | --ex)
 
1061
    ac_prev=exec_prefix ;;
 
1062
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 
1063
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 
1064
  | --exec=* | --exe=* | --ex=*)
 
1065
    exec_prefix=$ac_optarg ;;
 
1066
 
 
1067
  -gas | --gas | --ga | --g)
 
1068
    # Obsolete; use --with-gas.
 
1069
    with_gas=yes ;;
 
1070
 
 
1071
  -help | --help | --hel | --he | -h)
 
1072
    ac_init_help=long ;;
 
1073
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
 
1074
    ac_init_help=recursive ;;
 
1075
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
 
1076
    ac_init_help=short ;;
 
1077
 
 
1078
  -host | --host | --hos | --ho)
 
1079
    ac_prev=host_alias ;;
 
1080
  -host=* | --host=* | --hos=* | --ho=*)
 
1081
    host_alias=$ac_optarg ;;
 
1082
 
 
1083
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
1084
    ac_prev=htmldir ;;
 
1085
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
1086
  | --ht=*)
 
1087
    htmldir=$ac_optarg ;;
 
1088
 
 
1089
  -includedir | --includedir | --includedi | --included | --include \
 
1090
  | --includ | --inclu | --incl | --inc)
 
1091
    ac_prev=includedir ;;
 
1092
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 
1093
  | --includ=* | --inclu=* | --incl=* | --inc=*)
 
1094
    includedir=$ac_optarg ;;
 
1095
 
 
1096
  -infodir | --infodir | --infodi | --infod | --info | --inf)
 
1097
    ac_prev=infodir ;;
 
1098
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 
1099
    infodir=$ac_optarg ;;
 
1100
 
 
1101
  -libdir | --libdir | --libdi | --libd)
 
1102
    ac_prev=libdir ;;
 
1103
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
 
1104
    libdir=$ac_optarg ;;
 
1105
 
 
1106
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 
1107
  | --libexe | --libex | --libe)
 
1108
    ac_prev=libexecdir ;;
 
1109
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 
1110
  | --libexe=* | --libex=* | --libe=*)
 
1111
    libexecdir=$ac_optarg ;;
 
1112
 
 
1113
  -localedir | --localedir | --localedi | --localed | --locale)
 
1114
    ac_prev=localedir ;;
 
1115
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
1116
    localedir=$ac_optarg ;;
 
1117
 
 
1118
  -localstatedir | --localstatedir | --localstatedi | --localstated \
 
1119
  | --localstate | --localstat | --localsta | --localst | --locals)
 
1120
    ac_prev=localstatedir ;;
 
1121
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 
1122
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 
1123
    localstatedir=$ac_optarg ;;
 
1124
 
 
1125
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 
1126
    ac_prev=mandir ;;
 
1127
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 
1128
    mandir=$ac_optarg ;;
 
1129
 
 
1130
  -nfp | --nfp | --nf)
 
1131
    # Obsolete; use --without-fp.
 
1132
    with_fp=no ;;
 
1133
 
 
1134
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 
1135
  | --no-cr | --no-c | -n)
 
1136
    no_create=yes ;;
 
1137
 
 
1138
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 
1139
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 
1140
    no_recursion=yes ;;
 
1141
 
 
1142
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 
1143
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 
1144
  | --oldin | --oldi | --old | --ol | --o)
 
1145
    ac_prev=oldincludedir ;;
 
1146
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 
1147
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 
1148
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 
1149
    oldincludedir=$ac_optarg ;;
 
1150
 
 
1151
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 
1152
    ac_prev=prefix ;;
 
1153
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 
1154
    prefix=$ac_optarg ;;
 
1155
 
 
1156
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
 
1157
  | --program-pre | --program-pr | --program-p)
 
1158
    ac_prev=program_prefix ;;
 
1159
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
 
1160
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 
1161
    program_prefix=$ac_optarg ;;
 
1162
 
 
1163
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
 
1164
  | --program-suf | --program-su | --program-s)
 
1165
    ac_prev=program_suffix ;;
 
1166
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
 
1167
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 
1168
    program_suffix=$ac_optarg ;;
 
1169
 
 
1170
  -program-transform-name | --program-transform-name \
 
1171
  | --program-transform-nam | --program-transform-na \
 
1172
  | --program-transform-n | --program-transform- \
 
1173
  | --program-transform | --program-transfor \
 
1174
  | --program-transfo | --program-transf \
 
1175
  | --program-trans | --program-tran \
 
1176
  | --progr-tra | --program-tr | --program-t)
 
1177
    ac_prev=program_transform_name ;;
 
1178
  -program-transform-name=* | --program-transform-name=* \
 
1179
  | --program-transform-nam=* | --program-transform-na=* \
 
1180
  | --program-transform-n=* | --program-transform-=* \
 
1181
  | --program-transform=* | --program-transfor=* \
 
1182
  | --program-transfo=* | --program-transf=* \
 
1183
  | --program-trans=* | --program-tran=* \
 
1184
  | --progr-tra=* | --program-tr=* | --program-t=*)
 
1185
    program_transform_name=$ac_optarg ;;
 
1186
 
 
1187
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1188
    ac_prev=pdfdir ;;
 
1189
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1190
    pdfdir=$ac_optarg ;;
 
1191
 
 
1192
  -psdir | --psdir | --psdi | --psd | --ps)
 
1193
    ac_prev=psdir ;;
 
1194
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1195
    psdir=$ac_optarg ;;
 
1196
 
 
1197
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
1198
  | -silent | --silent | --silen | --sile | --sil)
 
1199
    silent=yes ;;
 
1200
 
 
1201
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 
1202
    ac_prev=sbindir ;;
 
1203
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 
1204
  | --sbi=* | --sb=*)
 
1205
    sbindir=$ac_optarg ;;
 
1206
 
 
1207
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
 
1208
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 
1209
  | --sharedst | --shareds | --shared | --share | --shar \
 
1210
  | --sha | --sh)
 
1211
    ac_prev=sharedstatedir ;;
 
1212
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 
1213
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 
1214
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 
1215
  | --sha=* | --sh=*)
 
1216
    sharedstatedir=$ac_optarg ;;
 
1217
 
 
1218
  -site | --site | --sit)
 
1219
    ac_prev=site ;;
 
1220
  -site=* | --site=* | --sit=*)
 
1221
    site=$ac_optarg ;;
 
1222
 
 
1223
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 
1224
    ac_prev=srcdir ;;
 
1225
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 
1226
    srcdir=$ac_optarg ;;
 
1227
 
 
1228
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 
1229
  | --syscon | --sysco | --sysc | --sys | --sy)
 
1230
    ac_prev=sysconfdir ;;
 
1231
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 
1232
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 
1233
    sysconfdir=$ac_optarg ;;
 
1234
 
 
1235
  -target | --target | --targe | --targ | --tar | --ta | --t)
 
1236
    ac_prev=target_alias ;;
 
1237
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 
1238
    target_alias=$ac_optarg ;;
 
1239
 
 
1240
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
 
1241
    verbose=yes ;;
 
1242
 
 
1243
  -version | --version | --versio | --versi | --vers | -V)
 
1244
    ac_init_version=: ;;
 
1245
 
 
1246
  -with-* | --with-*)
 
1247
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1248
    # Reject names that are not valid shell variable names.
 
1249
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1250
      as_fn_error $? "invalid package name: $ac_useropt"
 
1251
    ac_useropt_orig=$ac_useropt
 
1252
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1253
    case $ac_user_opts in
 
1254
      *"
 
1255
"with_$ac_useropt"
 
1256
"*) ;;
 
1257
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1258
         ac_unrecognized_sep=', ';;
 
1259
    esac
 
1260
    eval with_$ac_useropt=\$ac_optarg ;;
 
1261
 
 
1262
  -without-* | --without-*)
 
1263
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1264
    # Reject names that are not valid shell variable names.
 
1265
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1266
      as_fn_error $? "invalid package name: $ac_useropt"
 
1267
    ac_useropt_orig=$ac_useropt
 
1268
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1269
    case $ac_user_opts in
 
1270
      *"
 
1271
"with_$ac_useropt"
 
1272
"*) ;;
 
1273
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1274
         ac_unrecognized_sep=', ';;
 
1275
    esac
 
1276
    eval with_$ac_useropt=no ;;
 
1277
 
 
1278
  --x)
 
1279
    # Obsolete; use --with-x.
 
1280
    with_x=yes ;;
 
1281
 
 
1282
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 
1283
  | --x-incl | --x-inc | --x-in | --x-i)
 
1284
    ac_prev=x_includes ;;
 
1285
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 
1286
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 
1287
    x_includes=$ac_optarg ;;
 
1288
 
 
1289
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
 
1290
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 
1291
    ac_prev=x_libraries ;;
 
1292
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 
1293
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 
1294
    x_libraries=$ac_optarg ;;
 
1295
 
 
1296
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 
1297
Try \`$0 --help' for more information"
 
1298
    ;;
 
1299
 
 
1300
  *=*)
 
1301
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 
1302
    # Reject names that are not valid shell variable names.
 
1303
    case $ac_envvar in #(
 
1304
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1305
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 
1306
    esac
 
1307
    eval $ac_envvar=\$ac_optarg
 
1308
    export $ac_envvar ;;
 
1309
 
 
1310
  *)
 
1311
    # FIXME: should be removed in autoconf 3.0.
 
1312
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1313
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
1314
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1315
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
 
1316
    ;;
 
1317
 
 
1318
  esac
 
1319
done
 
1320
 
 
1321
if test -n "$ac_prev"; then
 
1322
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 
1323
  as_fn_error $? "missing argument to $ac_option"
 
1324
fi
 
1325
 
 
1326
if test -n "$ac_unrecognized_opts"; then
 
1327
  case $enable_option_checking in
 
1328
    no) ;;
 
1329
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
 
1330
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1331
  esac
 
1332
fi
 
1333
 
 
1334
# Check all directory arguments for consistency.
 
1335
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1336
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1337
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1338
                libdir localedir mandir
 
1339
do
 
1340
  eval ac_val=\$$ac_var
 
1341
  # Remove trailing slashes.
 
1342
  case $ac_val in
 
1343
    */ )
 
1344
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1345
      eval $ac_var=\$ac_val;;
 
1346
  esac
 
1347
  # Be sure to have absolute directory names.
 
1348
  case $ac_val in
 
1349
    [\\/$]* | ?:[\\/]* )  continue;;
 
1350
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1351
  esac
 
1352
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
 
1353
done
 
1354
 
 
1355
# There might be people who depend on the old broken behavior: `$host'
 
1356
# used to hold the argument of --host etc.
 
1357
# FIXME: To remove some day.
 
1358
build=$build_alias
 
1359
host=$host_alias
 
1360
target=$target_alias
 
1361
 
 
1362
# FIXME: To remove some day.
 
1363
if test "x$host_alias" != x; then
 
1364
  if test "x$build_alias" = x; then
 
1365
    cross_compiling=maybe
 
1366
  elif test "x$build_alias" != "x$host_alias"; then
 
1367
    cross_compiling=yes
 
1368
  fi
 
1369
fi
 
1370
 
 
1371
ac_tool_prefix=
 
1372
test -n "$host_alias" && ac_tool_prefix=$host_alias-
 
1373
 
 
1374
test "$silent" = yes && exec 6>/dev/null
 
1375
 
 
1376
 
 
1377
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1378
ac_ls_di=`ls -di .` &&
 
1379
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1380
  as_fn_error $? "working directory cannot be determined"
 
1381
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1382
  as_fn_error $? "pwd does not report name of working directory"
 
1383
 
 
1384
 
 
1385
# Find the source files, if location was not specified.
 
1386
if test -z "$srcdir"; then
 
1387
  ac_srcdir_defaulted=yes
 
1388
  # Try the directory containing this script, then the parent directory.
 
1389
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1390
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1391
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1392
         X"$as_myself" : 'X\(//\)$' \| \
 
1393
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1394
$as_echo X"$as_myself" |
 
1395
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1396
            s//\1/
 
1397
            q
 
1398
          }
 
1399
          /^X\(\/\/\)[^/].*/{
 
1400
            s//\1/
 
1401
            q
 
1402
          }
 
1403
          /^X\(\/\/\)$/{
 
1404
            s//\1/
 
1405
            q
 
1406
          }
 
1407
          /^X\(\/\).*/{
 
1408
            s//\1/
 
1409
            q
 
1410
          }
 
1411
          s/.*/./; q'`
 
1412
  srcdir=$ac_confdir
 
1413
  if test ! -r "$srcdir/$ac_unique_file"; then
 
1414
    srcdir=..
 
1415
  fi
 
1416
else
 
1417
  ac_srcdir_defaulted=no
 
1418
fi
 
1419
if test ! -r "$srcdir/$ac_unique_file"; then
 
1420
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1421
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
 
1422
fi
 
1423
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1424
ac_abs_confdir=`(
 
1425
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
 
1426
        pwd)`
 
1427
# When building in place, set srcdir=.
 
1428
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1429
  srcdir=.
 
1430
fi
 
1431
# Remove unnecessary trailing slashes from srcdir.
 
1432
# Double slashes in file names in object file debugging info
 
1433
# mess up M-x gdb in Emacs.
 
1434
case $srcdir in
 
1435
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1436
esac
 
1437
for ac_var in $ac_precious_vars; do
 
1438
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1439
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1440
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1441
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1442
done
 
1443
 
 
1444
#
 
1445
# Report the --help message.
 
1446
#
 
1447
if test "$ac_init_help" = "long"; then
 
1448
  # Omit some internal or obsolete options to make the list less imposing.
 
1449
  # This message is too long to be a string in the A/UX 3.1 sh.
 
1450
  cat <<_ACEOF
 
1451
\`configure' configures unity-lens-music 6.6.0 to adapt to many kinds of systems.
 
1452
 
 
1453
Usage: $0 [OPTION]... [VAR=VALUE]...
 
1454
 
 
1455
To assign environment variables (e.g., CC, CFLAGS...), specify them as
 
1456
VAR=VALUE.  See below for descriptions of some of the useful variables.
 
1457
 
 
1458
Defaults for the options are specified in brackets.
 
1459
 
 
1460
Configuration:
 
1461
  -h, --help              display this help and exit
 
1462
      --help=short        display options specific to this package
 
1463
      --help=recursive    display the short help of all the included packages
 
1464
  -V, --version           display version information and exit
 
1465
  -q, --quiet, --silent   do not print \`checking ...' messages
 
1466
      --cache-file=FILE   cache test results in FILE [disabled]
 
1467
  -C, --config-cache      alias for \`--cache-file=config.cache'
 
1468
  -n, --no-create         do not create output files
 
1469
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 
1470
 
 
1471
Installation directories:
 
1472
  --prefix=PREFIX         install architecture-independent files in PREFIX
 
1473
                          [$ac_default_prefix]
 
1474
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 
1475
                          [PREFIX]
 
1476
 
 
1477
By default, \`make install' will install all the files in
 
1478
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 
1479
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 
1480
for instance \`--prefix=\$HOME'.
 
1481
 
 
1482
For better control, use the options below.
 
1483
 
 
1484
Fine tuning of the installation directories:
 
1485
  --bindir=DIR            user executables [EPREFIX/bin]
 
1486
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1487
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1488
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1489
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1490
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1491
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1492
  --includedir=DIR        C header files [PREFIX/include]
 
1493
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1494
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1495
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1496
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1497
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1498
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1499
  --docdir=DIR            documentation root
 
1500
                          [DATAROOTDIR/doc/unity-lens-music]
 
1501
  --htmldir=DIR           html documentation [DOCDIR]
 
1502
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1503
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1504
  --psdir=DIR             ps documentation [DOCDIR]
 
1505
_ACEOF
 
1506
 
 
1507
  cat <<\_ACEOF
 
1508
 
 
1509
Program names:
 
1510
  --program-prefix=PREFIX            prepend PREFIX to installed program names
 
1511
  --program-suffix=SUFFIX            append SUFFIX to installed program names
 
1512
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 
1513
 
 
1514
System types:
 
1515
  --build=BUILD     configure for building on BUILD [guessed]
 
1516
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 
1517
_ACEOF
 
1518
fi
 
1519
 
 
1520
if test -n "$ac_init_help"; then
 
1521
  case $ac_init_help in
 
1522
     short | recursive ) echo "Configuration of unity-lens-music 6.6.0:";;
 
1523
   esac
 
1524
  cat <<\_ACEOF
 
1525
 
 
1526
Optional Features:
 
1527
  --disable-option-checking  ignore unrecognized --enable/--with options
 
1528
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 
1529
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 
1530
  --enable-silent-rules          less verbose build output (undo: `make V=1')
 
1531
  --disable-silent-rules         verbose build output (undo: `make V=0')
 
1532
  --enable-maintainer-mode  enable make rules and dependencies not useful
 
1533
                          (and sometimes confusing) to the casual installer
 
1534
  --disable-dependency-tracking  speeds up one-time build
 
1535
  --enable-dependency-tracking   do not reject slow dependency extractors
 
1536
  --enable-shared[=PKGS]  build shared libraries [default=yes]
 
1537
  --enable-static[=PKGS]  build static libraries [default=yes]
 
1538
  --enable-fast-install[=PKGS]
 
1539
                          optimize for fast installation [default=yes]
 
1540
  --disable-libtool-lock  avoid locking (might break parallel builds)
 
1541
  --disable-nls           do not use Native Language Support
 
1542
  --enable-localinstall   Install all of the files locally instead of in
 
1543
                          system directories (for distcheck)
 
1544
 
 
1545
Optional Packages:
 
1546
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 
1547
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 
1548
  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
 
1549
                          both]
 
1550
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
1551
  --with-sysroot=DIR Search for dependent libraries within DIR
 
1552
                        (or the compiler's sysroot if not specified).
 
1553
 
 
1554
Some influential environment variables:
 
1555
  CC          C compiler command
 
1556
  CFLAGS      C compiler flags
 
1557
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 
1558
              nonstandard directory <lib dir>
 
1559
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1560
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
 
1561
              you have headers in a nonstandard directory <include dir>
 
1562
  CPP         C preprocessor
 
1563
  PKG_CONFIG  path to pkg-config utility
 
1564
  PKG_CONFIG_PATH
 
1565
              directories to add to pkg-config's search path
 
1566
  PKG_CONFIG_LIBDIR
 
1567
              path overriding pkg-config's built-in search path
 
1568
  LENS_DAEMON_CFLAGS
 
1569
              C compiler flags for LENS_DAEMON, overriding pkg-config
 
1570
  LENS_DAEMON_LIBS
 
1571
              linker flags for LENS_DAEMON, overriding pkg-config
 
1572
  PREVIEW_PLAYER_CFLAGS
 
1573
              C compiler flags for PREVIEW_PLAYER, overriding pkg-config
 
1574
  PREVIEW_PLAYER_LIBS
 
1575
              linker flags for PREVIEW_PLAYER, overriding pkg-config
 
1576
 
 
1577
Use these variables to override the choices made by `configure' or to help
 
1578
it to find libraries and programs with nonstandard names/locations.
 
1579
 
 
1580
Report bugs to <https://launchpad.net/unity-lens-music>.
 
1581
_ACEOF
 
1582
ac_status=$?
 
1583
fi
 
1584
 
 
1585
if test "$ac_init_help" = "recursive"; then
 
1586
  # If there are subdirs, report their specific --help.
 
1587
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 
1588
    test -d "$ac_dir" ||
 
1589
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1590
      continue
 
1591
    ac_builddir=.
 
1592
 
 
1593
case "$ac_dir" in
 
1594
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1595
*)
 
1596
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
1597
  # A ".." for each directory in $ac_dir_suffix.
 
1598
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
1599
  case $ac_top_builddir_sub in
 
1600
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1601
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1602
  esac ;;
 
1603
esac
 
1604
ac_abs_top_builddir=$ac_pwd
 
1605
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1606
# for backward compatibility:
 
1607
ac_top_builddir=$ac_top_build_prefix
 
1608
 
 
1609
case $srcdir in
 
1610
  .)  # We are building in place.
 
1611
    ac_srcdir=.
 
1612
    ac_top_srcdir=$ac_top_builddir_sub
 
1613
    ac_abs_top_srcdir=$ac_pwd ;;
 
1614
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
1615
    ac_srcdir=$srcdir$ac_dir_suffix;
 
1616
    ac_top_srcdir=$srcdir
 
1617
    ac_abs_top_srcdir=$srcdir ;;
 
1618
  *) # Relative name.
 
1619
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1620
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1621
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1622
esac
 
1623
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1624
 
 
1625
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1626
    # Check for guested configure.
 
1627
    if test -f "$ac_srcdir/configure.gnu"; then
 
1628
      echo &&
 
1629
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1630
    elif test -f "$ac_srcdir/configure"; then
 
1631
      echo &&
 
1632
      $SHELL "$ac_srcdir/configure" --help=recursive
 
1633
    else
 
1634
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1635
    fi || ac_status=$?
 
1636
    cd "$ac_pwd" || { ac_status=$?; break; }
 
1637
  done
 
1638
fi
 
1639
 
 
1640
test -n "$ac_init_help" && exit $ac_status
 
1641
if $ac_init_version; then
 
1642
  cat <<\_ACEOF
 
1643
unity-lens-music configure 6.6.0
 
1644
generated by GNU Autoconf 2.69
 
1645
 
 
1646
Copyright (C) 2012 Free Software Foundation, Inc.
 
1647
This configure script is free software; the Free Software Foundation
 
1648
gives unlimited permission to copy, distribute and modify it.
 
1649
 
 
1650
Copyright 2011-2012 Canonical
 
1651
_ACEOF
 
1652
  exit
 
1653
fi
 
1654
 
 
1655
## ------------------------ ##
 
1656
## Autoconf initialization. ##
 
1657
## ------------------------ ##
 
1658
 
 
1659
# ac_fn_c_try_compile LINENO
 
1660
# --------------------------
 
1661
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1662
ac_fn_c_try_compile ()
 
1663
{
 
1664
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1665
  rm -f conftest.$ac_objext
 
1666
  if { { ac_try="$ac_compile"
 
1667
case "(($ac_try" in
 
1668
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1669
  *) ac_try_echo=$ac_try;;
 
1670
esac
 
1671
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1672
$as_echo "$ac_try_echo"; } >&5
 
1673
  (eval "$ac_compile") 2>conftest.err
 
1674
  ac_status=$?
 
1675
  if test -s conftest.err; then
 
1676
    grep -v '^ *+' conftest.err >conftest.er1
 
1677
    cat conftest.er1 >&5
 
1678
    mv -f conftest.er1 conftest.err
 
1679
  fi
 
1680
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1681
  test $ac_status = 0; } && {
 
1682
         test -z "$ac_c_werror_flag" ||
 
1683
         test ! -s conftest.err
 
1684
       } && test -s conftest.$ac_objext; then :
 
1685
  ac_retval=0
 
1686
else
 
1687
  $as_echo "$as_me: failed program was:" >&5
 
1688
sed 's/^/| /' conftest.$ac_ext >&5
 
1689
 
 
1690
        ac_retval=1
 
1691
fi
 
1692
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1693
  as_fn_set_status $ac_retval
 
1694
 
 
1695
} # ac_fn_c_try_compile
 
1696
 
 
1697
# ac_fn_c_try_cpp LINENO
 
1698
# ----------------------
 
1699
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1700
ac_fn_c_try_cpp ()
 
1701
{
 
1702
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1703
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1704
case "(($ac_try" in
 
1705
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1706
  *) ac_try_echo=$ac_try;;
 
1707
esac
 
1708
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1709
$as_echo "$ac_try_echo"; } >&5
 
1710
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1711
  ac_status=$?
 
1712
  if test -s conftest.err; then
 
1713
    grep -v '^ *+' conftest.err >conftest.er1
 
1714
    cat conftest.er1 >&5
 
1715
    mv -f conftest.er1 conftest.err
 
1716
  fi
 
1717
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1718
  test $ac_status = 0; } > conftest.i && {
 
1719
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1720
         test ! -s conftest.err
 
1721
       }; then :
 
1722
  ac_retval=0
 
1723
else
 
1724
  $as_echo "$as_me: failed program was:" >&5
 
1725
sed 's/^/| /' conftest.$ac_ext >&5
 
1726
 
 
1727
    ac_retval=1
 
1728
fi
 
1729
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1730
  as_fn_set_status $ac_retval
 
1731
 
 
1732
} # ac_fn_c_try_cpp
 
1733
 
 
1734
# ac_fn_c_try_run LINENO
 
1735
# ----------------------
 
1736
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
1737
# that executables *can* be run.
 
1738
ac_fn_c_try_run ()
 
1739
{
 
1740
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1741
  if { { ac_try="$ac_link"
 
1742
case "(($ac_try" in
 
1743
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1744
  *) ac_try_echo=$ac_try;;
 
1745
esac
 
1746
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1747
$as_echo "$ac_try_echo"; } >&5
 
1748
  (eval "$ac_link") 2>&5
 
1749
  ac_status=$?
 
1750
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1751
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1752
  { { case "(($ac_try" in
 
1753
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1754
  *) ac_try_echo=$ac_try;;
 
1755
esac
 
1756
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1757
$as_echo "$ac_try_echo"; } >&5
 
1758
  (eval "$ac_try") 2>&5
 
1759
  ac_status=$?
 
1760
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1761
  test $ac_status = 0; }; }; then :
 
1762
  ac_retval=0
 
1763
else
 
1764
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1765
       $as_echo "$as_me: failed program was:" >&5
 
1766
sed 's/^/| /' conftest.$ac_ext >&5
 
1767
 
 
1768
       ac_retval=$ac_status
 
1769
fi
 
1770
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1771
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1772
  as_fn_set_status $ac_retval
 
1773
 
 
1774
} # ac_fn_c_try_run
 
1775
 
 
1776
# ac_fn_c_try_link LINENO
 
1777
# -----------------------
 
1778
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1779
ac_fn_c_try_link ()
 
1780
{
 
1781
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1782
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1783
  if { { ac_try="$ac_link"
 
1784
case "(($ac_try" in
 
1785
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1786
  *) ac_try_echo=$ac_try;;
 
1787
esac
 
1788
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1789
$as_echo "$ac_try_echo"; } >&5
 
1790
  (eval "$ac_link") 2>conftest.err
 
1791
  ac_status=$?
 
1792
  if test -s conftest.err; then
 
1793
    grep -v '^ *+' conftest.err >conftest.er1
 
1794
    cat conftest.er1 >&5
 
1795
    mv -f conftest.er1 conftest.err
 
1796
  fi
 
1797
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1798
  test $ac_status = 0; } && {
 
1799
         test -z "$ac_c_werror_flag" ||
 
1800
         test ! -s conftest.err
 
1801
       } && test -s conftest$ac_exeext && {
 
1802
         test "$cross_compiling" = yes ||
 
1803
         test -x conftest$ac_exeext
 
1804
       }; then :
 
1805
  ac_retval=0
 
1806
else
 
1807
  $as_echo "$as_me: failed program was:" >&5
 
1808
sed 's/^/| /' conftest.$ac_ext >&5
 
1809
 
 
1810
        ac_retval=1
 
1811
fi
 
1812
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1813
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1814
  # interfere with the next link command; also delete a directory that is
 
1815
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1816
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1817
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1818
  as_fn_set_status $ac_retval
 
1819
 
 
1820
} # ac_fn_c_try_link
 
1821
 
 
1822
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1823
# -------------------------------------------------------
 
1824
# Tests whether HEADER exists and can be compiled using the include files in
 
1825
# INCLUDES, setting the cache variable VAR accordingly.
 
1826
ac_fn_c_check_header_compile ()
 
1827
{
 
1828
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1829
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1830
$as_echo_n "checking for $2... " >&6; }
 
1831
if eval \${$3+:} false; then :
 
1832
  $as_echo_n "(cached) " >&6
 
1833
else
 
1834
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1835
/* end confdefs.h.  */
 
1836
$4
 
1837
#include <$2>
 
1838
_ACEOF
 
1839
if ac_fn_c_try_compile "$LINENO"; then :
 
1840
  eval "$3=yes"
 
1841
else
 
1842
  eval "$3=no"
 
1843
fi
 
1844
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1845
fi
 
1846
eval ac_res=\$$3
 
1847
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1848
$as_echo "$ac_res" >&6; }
 
1849
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1850
 
 
1851
} # ac_fn_c_check_header_compile
 
1852
 
 
1853
# ac_fn_c_check_func LINENO FUNC VAR
 
1854
# ----------------------------------
 
1855
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
1856
ac_fn_c_check_func ()
 
1857
{
 
1858
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1859
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1860
$as_echo_n "checking for $2... " >&6; }
 
1861
if eval \${$3+:} false; then :
 
1862
  $as_echo_n "(cached) " >&6
 
1863
else
 
1864
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1865
/* end confdefs.h.  */
 
1866
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
1867
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
1868
#define $2 innocuous_$2
 
1869
 
 
1870
/* System header to define __stub macros and hopefully few prototypes,
 
1871
    which can conflict with char $2 (); below.
 
1872
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
1873
    <limits.h> exists even on freestanding compilers.  */
 
1874
 
 
1875
#ifdef __STDC__
 
1876
# include <limits.h>
 
1877
#else
 
1878
# include <assert.h>
 
1879
#endif
 
1880
 
 
1881
#undef $2
 
1882
 
 
1883
/* Override any GCC internal prototype to avoid an error.
 
1884
   Use char because int might match the return type of a GCC
 
1885
   builtin and then its argument prototype would still apply.  */
 
1886
#ifdef __cplusplus
 
1887
extern "C"
 
1888
#endif
 
1889
char $2 ();
 
1890
/* The GNU C library defines this for functions which it implements
 
1891
    to always fail with ENOSYS.  Some functions are actually named
 
1892
    something starting with __ and the normal name is an alias.  */
 
1893
#if defined __stub_$2 || defined __stub___$2
 
1894
choke me
 
1895
#endif
 
1896
 
 
1897
int
 
1898
main ()
 
1899
{
 
1900
return $2 ();
 
1901
  ;
 
1902
  return 0;
 
1903
}
 
1904
_ACEOF
 
1905
if ac_fn_c_try_link "$LINENO"; then :
 
1906
  eval "$3=yes"
 
1907
else
 
1908
  eval "$3=no"
 
1909
fi
 
1910
rm -f core conftest.err conftest.$ac_objext \
 
1911
    conftest$ac_exeext conftest.$ac_ext
 
1912
fi
 
1913
eval ac_res=\$$3
 
1914
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1915
$as_echo "$ac_res" >&6; }
 
1916
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1917
 
 
1918
} # ac_fn_c_check_func
 
1919
 
 
1920
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 
1921
# -------------------------------------------------------
 
1922
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
1923
# the include files in INCLUDES and setting the cache variable VAR
 
1924
# accordingly.
 
1925
ac_fn_c_check_header_mongrel ()
 
1926
{
 
1927
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1928
  if eval \${$3+:} false; then :
 
1929
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1930
$as_echo_n "checking for $2... " >&6; }
 
1931
if eval \${$3+:} false; then :
 
1932
  $as_echo_n "(cached) " >&6
 
1933
fi
 
1934
eval ac_res=\$$3
 
1935
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1936
$as_echo "$ac_res" >&6; }
 
1937
else
 
1938
  # Is the header compilable?
 
1939
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
1940
$as_echo_n "checking $2 usability... " >&6; }
 
1941
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1942
/* end confdefs.h.  */
 
1943
$4
 
1944
#include <$2>
 
1945
_ACEOF
 
1946
if ac_fn_c_try_compile "$LINENO"; then :
 
1947
  ac_header_compiler=yes
 
1948
else
 
1949
  ac_header_compiler=no
 
1950
fi
 
1951
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1952
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
1953
$as_echo "$ac_header_compiler" >&6; }
 
1954
 
 
1955
# Is the header present?
 
1956
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
1957
$as_echo_n "checking $2 presence... " >&6; }
 
1958
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1959
/* end confdefs.h.  */
 
1960
#include <$2>
 
1961
_ACEOF
 
1962
if ac_fn_c_try_cpp "$LINENO"; then :
 
1963
  ac_header_preproc=yes
 
1964
else
 
1965
  ac_header_preproc=no
 
1966
fi
 
1967
rm -f conftest.err conftest.i conftest.$ac_ext
 
1968
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
1969
$as_echo "$ac_header_preproc" >&6; }
 
1970
 
 
1971
# So?  What about this header?
 
1972
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 
1973
  yes:no: )
 
1974
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
1975
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
1976
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
1977
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
1978
    ;;
 
1979
  no:yes:* )
 
1980
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
1981
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
1982
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
1983
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
1984
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
1985
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
1986
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
1987
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
1988
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
1989
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
1990
( $as_echo "## ----------------------------------------------------- ##
 
1991
## Report this to https://launchpad.net/unity-lens-music ##
 
1992
## ----------------------------------------------------- ##"
 
1993
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
1994
    ;;
 
1995
esac
 
1996
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1997
$as_echo_n "checking for $2... " >&6; }
 
1998
if eval \${$3+:} false; then :
 
1999
  $as_echo_n "(cached) " >&6
 
2000
else
 
2001
  eval "$3=\$ac_header_compiler"
 
2002
fi
 
2003
eval ac_res=\$$3
 
2004
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2005
$as_echo "$ac_res" >&6; }
 
2006
fi
 
2007
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
2008
 
 
2009
} # ac_fn_c_check_header_mongrel
 
2010
cat >config.log <<_ACEOF
 
2011
This file contains any messages produced by compilers while
 
2012
running configure, to aid debugging if configure makes a mistake.
 
2013
 
 
2014
It was created by unity-lens-music $as_me 6.6.0, which was
 
2015
generated by GNU Autoconf 2.69.  Invocation command line was
 
2016
 
 
2017
  $ $0 $@
 
2018
 
 
2019
_ACEOF
 
2020
exec 5>>config.log
 
2021
{
 
2022
cat <<_ASUNAME
 
2023
## --------- ##
 
2024
## Platform. ##
 
2025
## --------- ##
 
2026
 
 
2027
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 
2028
uname -m = `(uname -m) 2>/dev/null || echo unknown`
 
2029
uname -r = `(uname -r) 2>/dev/null || echo unknown`
 
2030
uname -s = `(uname -s) 2>/dev/null || echo unknown`
 
2031
uname -v = `(uname -v) 2>/dev/null || echo unknown`
 
2032
 
 
2033
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 
2034
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 
2035
 
 
2036
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 
2037
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 
2038
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 
2039
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 
2040
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 
2041
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 
2042
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 
2043
 
 
2044
_ASUNAME
 
2045
 
 
2046
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2047
for as_dir in $PATH
 
2048
do
 
2049
  IFS=$as_save_IFS
 
2050
  test -z "$as_dir" && as_dir=.
 
2051
    $as_echo "PATH: $as_dir"
 
2052
  done
 
2053
IFS=$as_save_IFS
 
2054
 
 
2055
} >&5
 
2056
 
 
2057
cat >&5 <<_ACEOF
 
2058
 
 
2059
 
 
2060
## ----------- ##
 
2061
## Core tests. ##
 
2062
## ----------- ##
 
2063
 
 
2064
_ACEOF
 
2065
 
 
2066
 
 
2067
# Keep a trace of the command line.
 
2068
# Strip out --no-create and --no-recursion so they do not pile up.
 
2069
# Strip out --silent because we don't want to record it for future runs.
 
2070
# Also quote any args containing shell meta-characters.
 
2071
# Make two passes to allow for proper duplicate-argument suppression.
 
2072
ac_configure_args=
 
2073
ac_configure_args0=
 
2074
ac_configure_args1=
 
2075
ac_must_keep_next=false
 
2076
for ac_pass in 1 2
 
2077
do
 
2078
  for ac_arg
 
2079
  do
 
2080
    case $ac_arg in
 
2081
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 
2082
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
2083
    | -silent | --silent | --silen | --sile | --sil)
 
2084
      continue ;;
 
2085
    *\'*)
 
2086
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2087
    esac
 
2088
    case $ac_pass in
 
2089
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
 
2090
    2)
 
2091
      as_fn_append ac_configure_args1 " '$ac_arg'"
 
2092
      if test $ac_must_keep_next = true; then
 
2093
        ac_must_keep_next=false # Got value, back to normal.
 
2094
      else
 
2095
        case $ac_arg in
 
2096
          *=* | --config-cache | -C | -disable-* | --disable-* \
 
2097
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 
2098
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 
2099
          | -with-* | --with-* | -without-* | --without-* | --x)
 
2100
            case "$ac_configure_args0 " in
 
2101
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 
2102
            esac
 
2103
            ;;
 
2104
          -* ) ac_must_keep_next=true ;;
 
2105
        esac
 
2106
      fi
 
2107
      as_fn_append ac_configure_args " '$ac_arg'"
 
2108
      ;;
 
2109
    esac
 
2110
  done
 
2111
done
 
2112
{ ac_configure_args0=; unset ac_configure_args0;}
 
2113
{ ac_configure_args1=; unset ac_configure_args1;}
 
2114
 
 
2115
# When interrupted or exit'd, cleanup temporary files, and complete
 
2116
# config.log.  We remove comments because anyway the quotes in there
 
2117
# would cause problems or look ugly.
 
2118
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
2119
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 
2120
trap 'exit_status=$?
 
2121
  # Save into config.log some information that might help in debugging.
 
2122
  {
 
2123
    echo
 
2124
 
 
2125
    $as_echo "## ---------------- ##
 
2126
## Cache variables. ##
 
2127
## ---------------- ##"
 
2128
    echo
 
2129
    # The following way of writing the cache mishandles newlines in values,
 
2130
(
 
2131
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
2132
    eval ac_val=\$$ac_var
 
2133
    case $ac_val in #(
 
2134
    *${as_nl}*)
 
2135
      case $ac_var in #(
 
2136
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
2137
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
2138
      esac
 
2139
      case $ac_var in #(
 
2140
      _ | IFS | as_nl) ;; #(
 
2141
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
2142
      *) { eval $ac_var=; unset $ac_var;} ;;
 
2143
      esac ;;
 
2144
    esac
 
2145
  done
 
2146
  (set) 2>&1 |
 
2147
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
2148
    *${as_nl}ac_space=\ *)
 
2149
      sed -n \
 
2150
        "s/'\''/'\''\\\\'\'''\''/g;
 
2151
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
2152
      ;; #(
 
2153
    *)
 
2154
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
2155
      ;;
 
2156
    esac |
 
2157
    sort
 
2158
)
 
2159
    echo
 
2160
 
 
2161
    $as_echo "## ----------------- ##
 
2162
## Output variables. ##
 
2163
## ----------------- ##"
 
2164
    echo
 
2165
    for ac_var in $ac_subst_vars
 
2166
    do
 
2167
      eval ac_val=\$$ac_var
 
2168
      case $ac_val in
 
2169
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2170
      esac
 
2171
      $as_echo "$ac_var='\''$ac_val'\''"
 
2172
    done | sort
 
2173
    echo
 
2174
 
 
2175
    if test -n "$ac_subst_files"; then
 
2176
      $as_echo "## ------------------- ##
 
2177
## File substitutions. ##
 
2178
## ------------------- ##"
 
2179
      echo
 
2180
      for ac_var in $ac_subst_files
 
2181
      do
 
2182
        eval ac_val=\$$ac_var
 
2183
        case $ac_val in
 
2184
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2185
        esac
 
2186
        $as_echo "$ac_var='\''$ac_val'\''"
 
2187
      done | sort
 
2188
      echo
 
2189
    fi
 
2190
 
 
2191
    if test -s confdefs.h; then
 
2192
      $as_echo "## ----------- ##
 
2193
## confdefs.h. ##
 
2194
## ----------- ##"
 
2195
      echo
 
2196
      cat confdefs.h
 
2197
      echo
 
2198
    fi
 
2199
    test "$ac_signal" != 0 &&
 
2200
      $as_echo "$as_me: caught signal $ac_signal"
 
2201
    $as_echo "$as_me: exit $exit_status"
 
2202
  } >&5
 
2203
  rm -f core *.core core.conftest.* &&
 
2204
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 
2205
    exit $exit_status
 
2206
' 0
 
2207
for ac_signal in 1 2 13 15; do
 
2208
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
 
2209
done
 
2210
ac_signal=0
 
2211
 
 
2212
# confdefs.h avoids OS command line length limits that DEFS can exceed.
 
2213
rm -f -r conftest* confdefs.h
 
2214
 
 
2215
$as_echo "/* confdefs.h */" > confdefs.h
 
2216
 
 
2217
# Predefined preprocessor variables.
 
2218
 
 
2219
cat >>confdefs.h <<_ACEOF
 
2220
#define PACKAGE_NAME "$PACKAGE_NAME"
 
2221
_ACEOF
 
2222
 
 
2223
cat >>confdefs.h <<_ACEOF
 
2224
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 
2225
_ACEOF
 
2226
 
 
2227
cat >>confdefs.h <<_ACEOF
 
2228
#define PACKAGE_VERSION "$PACKAGE_VERSION"
 
2229
_ACEOF
 
2230
 
 
2231
cat >>confdefs.h <<_ACEOF
 
2232
#define PACKAGE_STRING "$PACKAGE_STRING"
 
2233
_ACEOF
 
2234
 
 
2235
cat >>confdefs.h <<_ACEOF
 
2236
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 
2237
_ACEOF
 
2238
 
 
2239
cat >>confdefs.h <<_ACEOF
 
2240
#define PACKAGE_URL "$PACKAGE_URL"
 
2241
_ACEOF
 
2242
 
 
2243
 
 
2244
# Let the site file select an alternate cache file if it wants to.
 
2245
# Prefer an explicitly selected file to automatically selected ones.
 
2246
ac_site_file1=NONE
 
2247
ac_site_file2=NONE
 
2248
if test -n "$CONFIG_SITE"; then
 
2249
  # We do not want a PATH search for config.site.
 
2250
  case $CONFIG_SITE in #((
 
2251
    -*)  ac_site_file1=./$CONFIG_SITE;;
 
2252
    */*) ac_site_file1=$CONFIG_SITE;;
 
2253
    *)   ac_site_file1=./$CONFIG_SITE;;
 
2254
  esac
 
2255
elif test "x$prefix" != xNONE; then
 
2256
  ac_site_file1=$prefix/share/config.site
 
2257
  ac_site_file2=$prefix/etc/config.site
 
2258
else
 
2259
  ac_site_file1=$ac_default_prefix/share/config.site
 
2260
  ac_site_file2=$ac_default_prefix/etc/config.site
 
2261
fi
 
2262
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 
2263
do
 
2264
  test "x$ac_site_file" = xNONE && continue
 
2265
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
2266
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 
2267
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
 
2268
    sed 's/^/| /' "$ac_site_file" >&5
 
2269
    . "$ac_site_file" \
 
2270
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2271
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2272
as_fn_error $? "failed to load site script $ac_site_file
 
2273
See \`config.log' for more details" "$LINENO" 5; }
 
2274
  fi
 
2275
done
 
2276
 
 
2277
if test -r "$cache_file"; then
 
2278
  # Some versions of bash will fail to source /dev/null (special files
 
2279
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
2280
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
2281
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 
2282
$as_echo "$as_me: loading cache $cache_file" >&6;}
 
2283
    case $cache_file in
 
2284
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
2285
      *)                      . "./$cache_file";;
 
2286
    esac
 
2287
  fi
 
2288
else
 
2289
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 
2290
$as_echo "$as_me: creating cache $cache_file" >&6;}
 
2291
  >$cache_file
 
2292
fi
 
2293
 
 
2294
# Check that the precious variables saved in the cache have kept the same
 
2295
# value.
 
2296
ac_cache_corrupted=false
 
2297
for ac_var in $ac_precious_vars; do
 
2298
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
 
2299
  eval ac_new_set=\$ac_env_${ac_var}_set
 
2300
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
2301
  eval ac_new_val=\$ac_env_${ac_var}_value
 
2302
  case $ac_old_set,$ac_new_set in
 
2303
    set,)
 
2304
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2305
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
2306
      ac_cache_corrupted=: ;;
 
2307
    ,set)
 
2308
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 
2309
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
2310
      ac_cache_corrupted=: ;;
 
2311
    ,);;
 
2312
    *)
 
2313
      if test "x$ac_old_val" != "x$ac_new_val"; then
 
2314
        # differences in whitespace do not lead to failure.
 
2315
        ac_old_val_w=`echo x $ac_old_val`
 
2316
        ac_new_val_w=`echo x $ac_new_val`
 
2317
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
2318
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 
2319
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
2320
          ac_cache_corrupted=:
 
2321
        else
 
2322
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2323
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
2324
          eval $ac_var=\$ac_old_val
 
2325
        fi
 
2326
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 
2327
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
2328
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 
2329
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 
2330
      fi;;
 
2331
  esac
 
2332
  # Pass precious variables to config.status.
 
2333
  if test "$ac_new_set" = set; then
 
2334
    case $ac_new_val in
 
2335
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2336
    *) ac_arg=$ac_var=$ac_new_val ;;
 
2337
    esac
 
2338
    case " $ac_configure_args " in
 
2339
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 
2340
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
 
2341
    esac
 
2342
  fi
 
2343
done
 
2344
if $ac_cache_corrupted; then
 
2345
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2346
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2347
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 
2348
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
2349
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 
2350
fi
 
2351
## -------------------- ##
 
2352
## Main body of script. ##
 
2353
## -------------------- ##
 
2354
 
 
2355
ac_ext=c
 
2356
ac_cpp='$CPP $CPPFLAGS'
 
2357
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2358
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2359
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2360
 
 
2361
 
 
2362
 
 
2363
 
 
2364
am__api_version='1.11'
 
2365
 
 
2366
ac_aux_dir=
 
2367
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
2368
  if test -f "$ac_dir/install-sh"; then
 
2369
    ac_aux_dir=$ac_dir
 
2370
    ac_install_sh="$ac_aux_dir/install-sh -c"
 
2371
    break
 
2372
  elif test -f "$ac_dir/install.sh"; then
 
2373
    ac_aux_dir=$ac_dir
 
2374
    ac_install_sh="$ac_aux_dir/install.sh -c"
 
2375
    break
 
2376
  elif test -f "$ac_dir/shtool"; then
 
2377
    ac_aux_dir=$ac_dir
 
2378
    ac_install_sh="$ac_aux_dir/shtool install -c"
 
2379
    break
 
2380
  fi
 
2381
done
 
2382
if test -z "$ac_aux_dir"; then
 
2383
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 
2384
fi
 
2385
 
 
2386
# These three variables are undocumented and unsupported,
 
2387
# and are intended to be withdrawn in a future Autoconf release.
 
2388
# They can cause serious problems if a builder's source tree is in a directory
 
2389
# whose full name contains unusual characters.
 
2390
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
2391
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
2392
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
2393
 
 
2394
 
 
2395
# Find a good install program.  We prefer a C program (faster),
 
2396
# so one script is as good as another.  But avoid the broken or
 
2397
# incompatible versions:
 
2398
# SysV /etc/install, /usr/sbin/install
 
2399
# SunOS /usr/etc/install
 
2400
# IRIX /sbin/install
 
2401
# AIX /bin/install
 
2402
# AmigaOS /C/install, which installs bootblocks on floppy discs
 
2403
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 
2404
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
 
2405
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
2406
# OS/2's system install, which has a completely different semantic
 
2407
# ./install, which can be erroneously created by make from ./install.sh.
 
2408
# Reject install programs that cannot install multiple files.
 
2409
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 
2410
$as_echo_n "checking for a BSD-compatible install... " >&6; }
 
2411
if test -z "$INSTALL"; then
 
2412
if ${ac_cv_path_install+:} false; then :
 
2413
  $as_echo_n "(cached) " >&6
 
2414
else
 
2415
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2416
for as_dir in $PATH
 
2417
do
 
2418
  IFS=$as_save_IFS
 
2419
  test -z "$as_dir" && as_dir=.
 
2420
    # Account for people who put trailing slashes in PATH elements.
 
2421
case $as_dir/ in #((
 
2422
  ./ | .// | /[cC]/* | \
 
2423
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
2424
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
 
2425
  /usr/ucb/* ) ;;
 
2426
  *)
 
2427
    # OSF1 and SCO ODT 3.0 have their own names for install.
 
2428
    # Don't use installbsd from OSF since it installs stuff as root
 
2429
    # by default.
 
2430
    for ac_prog in ginstall scoinst install; do
 
2431
      for ac_exec_ext in '' $ac_executable_extensions; do
 
2432
        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
2433
          if test $ac_prog = install &&
 
2434
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
2435
            # AIX install.  It has an incompatible calling convention.
 
2436
            :
 
2437
          elif test $ac_prog = install &&
 
2438
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
2439
            # program-specific install script used by HP pwplus--don't use.
 
2440
            :
 
2441
          else
 
2442
            rm -rf conftest.one conftest.two conftest.dir
 
2443
            echo one > conftest.one
 
2444
            echo two > conftest.two
 
2445
            mkdir conftest.dir
 
2446
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
2447
              test -s conftest.one && test -s conftest.two &&
 
2448
              test -s conftest.dir/conftest.one &&
 
2449
              test -s conftest.dir/conftest.two
 
2450
            then
 
2451
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
2452
              break 3
 
2453
            fi
 
2454
          fi
 
2455
        fi
 
2456
      done
 
2457
    done
 
2458
    ;;
 
2459
esac
 
2460
 
 
2461
  done
 
2462
IFS=$as_save_IFS
 
2463
 
 
2464
rm -rf conftest.one conftest.two conftest.dir
 
2465
 
 
2466
fi
 
2467
  if test "${ac_cv_path_install+set}" = set; then
 
2468
    INSTALL=$ac_cv_path_install
 
2469
  else
 
2470
    # As a last resort, use the slow shell script.  Don't cache a
 
2471
    # value for INSTALL within a source directory, because that will
 
2472
    # break other packages using the cache if that directory is
 
2473
    # removed, or if the value is a relative name.
 
2474
    INSTALL=$ac_install_sh
 
2475
  fi
 
2476
fi
 
2477
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 
2478
$as_echo "$INSTALL" >&6; }
 
2479
 
 
2480
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 
2481
# It thinks the first close brace ends the variable substitution.
 
2482
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 
2483
 
 
2484
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 
2485
 
 
2486
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
2487
 
 
2488
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 
2489
$as_echo_n "checking whether build environment is sane... " >&6; }
 
2490
# Just in case
 
2491
sleep 1
 
2492
echo timestamp > conftest.file
 
2493
# Reject unsafe characters in $srcdir or the absolute working directory
 
2494
# name.  Accept space and tab only in the latter.
 
2495
am_lf='
 
2496
'
 
2497
case `pwd` in
 
2498
  *[\\\"\#\$\&\'\`$am_lf]*)
 
2499
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
 
2500
esac
 
2501
case $srcdir in
 
2502
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 
2503
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
2504
esac
 
2505
 
 
2506
# Do `set' in a subshell so we don't clobber the current shell's
 
2507
# arguments.  Must try -L first in case configure is actually a
 
2508
# symlink; some systems play weird games with the mod time of symlinks
 
2509
# (eg FreeBSD returns the mod time of the symlink's containing
 
2510
# directory).
 
2511
if (
 
2512
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
 
2513
   if test "$*" = "X"; then
 
2514
      # -L didn't work.
 
2515
      set X `ls -t "$srcdir/configure" conftest.file`
 
2516
   fi
 
2517
   rm -f conftest.file
 
2518
   if test "$*" != "X $srcdir/configure conftest.file" \
 
2519
      && test "$*" != "X conftest.file $srcdir/configure"; then
 
2520
 
 
2521
      # If neither matched, then we have a broken ls.  This can happen
 
2522
      # if, for instance, CONFIG_SHELL is bash and it inherits a
 
2523
      # broken ls alias from the environment.  This has actually
 
2524
      # happened.  Such a system could not be considered "sane".
 
2525
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 
2526
alias in your environment" "$LINENO" 5
 
2527
   fi
 
2528
 
 
2529
   test "$2" = conftest.file
 
2530
   )
 
2531
then
 
2532
   # Ok.
 
2533
   :
 
2534
else
 
2535
   as_fn_error $? "newly created file is older than distributed files!
 
2536
Check your system clock" "$LINENO" 5
 
2537
fi
 
2538
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2539
$as_echo "yes" >&6; }
 
2540
test "$program_prefix" != NONE &&
 
2541
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
 
2542
# Use a double $ so make ignores it.
 
2543
test "$program_suffix" != NONE &&
 
2544
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 
2545
# Double any \ or $.
 
2546
# By default was `s,x,x', remove it if useless.
 
2547
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
2548
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
 
2549
 
 
2550
# expand $ac_aux_dir to an absolute path
 
2551
am_aux_dir=`cd $ac_aux_dir && pwd`
 
2552
 
 
2553
if test x"${MISSING+set}" != xset; then
 
2554
  case $am_aux_dir in
 
2555
  *\ * | *\     *)
 
2556
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
2557
  *)
 
2558
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
2559
  esac
 
2560
fi
 
2561
# Use eval to expand $SHELL
 
2562
if eval "$MISSING --run true"; then
 
2563
  am_missing_run="$MISSING --run "
 
2564
else
 
2565
  am_missing_run=
 
2566
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
 
2567
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
2568
fi
 
2569
 
 
2570
if test x"${install_sh}" != xset; then
 
2571
  case $am_aux_dir in
 
2572
  *\ * | *\     *)
 
2573
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
2574
  *)
 
2575
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
2576
  esac
 
2577
fi
 
2578
 
 
2579
# Installed binaries are usually stripped using `strip' when the user
 
2580
# run `make install-strip'.  However `strip' might not be the right
 
2581
# tool to use in cross-compilation environments, therefore Automake
 
2582
# will honor the `STRIP' environment variable to overrule this program.
 
2583
if test "$cross_compiling" != no; then
 
2584
  if test -n "$ac_tool_prefix"; then
 
2585
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
2586
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
2587
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2588
$as_echo_n "checking for $ac_word... " >&6; }
 
2589
if ${ac_cv_prog_STRIP+:} false; then :
 
2590
  $as_echo_n "(cached) " >&6
 
2591
else
 
2592
  if test -n "$STRIP"; then
 
2593
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
2594
else
 
2595
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2596
for as_dir in $PATH
 
2597
do
 
2598
  IFS=$as_save_IFS
 
2599
  test -z "$as_dir" && as_dir=.
 
2600
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2601
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2602
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
2603
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2604
    break 2
 
2605
  fi
 
2606
done
 
2607
  done
 
2608
IFS=$as_save_IFS
 
2609
 
 
2610
fi
 
2611
fi
 
2612
STRIP=$ac_cv_prog_STRIP
 
2613
if test -n "$STRIP"; then
 
2614
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
2615
$as_echo "$STRIP" >&6; }
 
2616
else
 
2617
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2618
$as_echo "no" >&6; }
 
2619
fi
 
2620
 
 
2621
 
 
2622
fi
 
2623
if test -z "$ac_cv_prog_STRIP"; then
 
2624
  ac_ct_STRIP=$STRIP
 
2625
  # Extract the first word of "strip", so it can be a program name with args.
 
2626
set dummy strip; ac_word=$2
 
2627
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2628
$as_echo_n "checking for $ac_word... " >&6; }
 
2629
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 
2630
  $as_echo_n "(cached) " >&6
 
2631
else
 
2632
  if test -n "$ac_ct_STRIP"; then
 
2633
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
2634
else
 
2635
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2636
for as_dir in $PATH
 
2637
do
 
2638
  IFS=$as_save_IFS
 
2639
  test -z "$as_dir" && as_dir=.
 
2640
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2641
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2642
    ac_cv_prog_ac_ct_STRIP="strip"
 
2643
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2644
    break 2
 
2645
  fi
 
2646
done
 
2647
  done
 
2648
IFS=$as_save_IFS
 
2649
 
 
2650
fi
 
2651
fi
 
2652
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
2653
if test -n "$ac_ct_STRIP"; then
 
2654
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
2655
$as_echo "$ac_ct_STRIP" >&6; }
 
2656
else
 
2657
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2658
$as_echo "no" >&6; }
 
2659
fi
 
2660
 
 
2661
  if test "x$ac_ct_STRIP" = x; then
 
2662
    STRIP=":"
 
2663
  else
 
2664
    case $cross_compiling:$ac_tool_warned in
 
2665
yes:)
 
2666
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2667
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2668
ac_tool_warned=yes ;;
 
2669
esac
 
2670
    STRIP=$ac_ct_STRIP
 
2671
  fi
 
2672
else
 
2673
  STRIP="$ac_cv_prog_STRIP"
 
2674
fi
 
2675
 
 
2676
fi
 
2677
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
2678
 
 
2679
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 
2680
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 
2681
if test -z "$MKDIR_P"; then
 
2682
  if ${ac_cv_path_mkdir+:} false; then :
 
2683
  $as_echo_n "(cached) " >&6
 
2684
else
 
2685
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2686
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 
2687
do
 
2688
  IFS=$as_save_IFS
 
2689
  test -z "$as_dir" && as_dir=.
 
2690
    for ac_prog in mkdir gmkdir; do
 
2691
         for ac_exec_ext in '' $ac_executable_extensions; do
 
2692
           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
 
2693
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 
2694
             'mkdir (GNU coreutils) '* | \
 
2695
             'mkdir (coreutils) '* | \
 
2696
             'mkdir (fileutils) '4.1*)
 
2697
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 
2698
               break 3;;
 
2699
           esac
 
2700
         done
 
2701
       done
 
2702
  done
 
2703
IFS=$as_save_IFS
 
2704
 
 
2705
fi
 
2706
 
 
2707
  test -d ./--version && rmdir ./--version
 
2708
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2709
    MKDIR_P="$ac_cv_path_mkdir -p"
 
2710
  else
 
2711
    # As a last resort, use the slow shell script.  Don't cache a
 
2712
    # value for MKDIR_P within a source directory, because that will
 
2713
    # break other packages using the cache if that directory is
 
2714
    # removed, or if the value is a relative name.
 
2715
    MKDIR_P="$ac_install_sh -d"
 
2716
  fi
 
2717
fi
 
2718
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 
2719
$as_echo "$MKDIR_P" >&6; }
 
2720
 
 
2721
mkdir_p="$MKDIR_P"
 
2722
case $mkdir_p in
 
2723
  [\\/$]* | ?:[\\/]*) ;;
 
2724
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
2725
esac
 
2726
 
 
2727
for ac_prog in gawk mawk nawk awk
 
2728
do
 
2729
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
2730
set dummy $ac_prog; ac_word=$2
 
2731
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2732
$as_echo_n "checking for $ac_word... " >&6; }
 
2733
if ${ac_cv_prog_AWK+:} false; then :
 
2734
  $as_echo_n "(cached) " >&6
 
2735
else
 
2736
  if test -n "$AWK"; then
 
2737
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
 
2738
else
 
2739
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2740
for as_dir in $PATH
 
2741
do
 
2742
  IFS=$as_save_IFS
 
2743
  test -z "$as_dir" && as_dir=.
 
2744
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2745
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2746
    ac_cv_prog_AWK="$ac_prog"
 
2747
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2748
    break 2
 
2749
  fi
 
2750
done
 
2751
  done
 
2752
IFS=$as_save_IFS
 
2753
 
 
2754
fi
 
2755
fi
 
2756
AWK=$ac_cv_prog_AWK
 
2757
if test -n "$AWK"; then
 
2758
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 
2759
$as_echo "$AWK" >&6; }
 
2760
else
 
2761
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2762
$as_echo "no" >&6; }
 
2763
fi
 
2764
 
 
2765
 
 
2766
  test -n "$AWK" && break
 
2767
done
 
2768
 
 
2769
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2770
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
2771
set x ${MAKE-make}
 
2772
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2773
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
 
2774
  $as_echo_n "(cached) " >&6
 
2775
else
 
2776
  cat >conftest.make <<\_ACEOF
 
2777
SHELL = /bin/sh
 
2778
all:
 
2779
        @echo '@@@%%%=$(MAKE)=@@@%%%'
 
2780
_ACEOF
 
2781
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 
2782
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
2783
  *@@@%%%=?*=@@@%%%*)
 
2784
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
2785
  *)
 
2786
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
2787
esac
 
2788
rm -f conftest.make
 
2789
fi
 
2790
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
2791
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2792
$as_echo "yes" >&6; }
 
2793
  SET_MAKE=
 
2794
else
 
2795
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2796
$as_echo "no" >&6; }
 
2797
  SET_MAKE="MAKE=${MAKE-make}"
 
2798
fi
 
2799
 
 
2800
rm -rf .tst 2>/dev/null
 
2801
mkdir .tst 2>/dev/null
 
2802
if test -d .tst; then
 
2803
  am__leading_dot=.
 
2804
else
 
2805
  am__leading_dot=_
 
2806
fi
 
2807
rmdir .tst 2>/dev/null
 
2808
 
 
2809
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
2810
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
2811
  # is not polluted with repeated "-I."
 
2812
  am__isrc=' -I$(srcdir)'
 
2813
  # test to see if srcdir already configured
 
2814
  if test -f $srcdir/config.status; then
 
2815
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 
2816
  fi
 
2817
fi
 
2818
 
 
2819
# test whether we have cygpath
 
2820
if test -z "$CYGPATH_W"; then
 
2821
  if (cygpath --version) >/dev/null 2>/dev/null; then
 
2822
    CYGPATH_W='cygpath -w'
 
2823
  else
 
2824
    CYGPATH_W=echo
 
2825
  fi
 
2826
fi
 
2827
 
 
2828
 
 
2829
# Define the identity of the package.
 
2830
 PACKAGE=unity-lens-music
 
2831
 VERSION=6.6.0
 
2832
 
 
2833
 
 
2834
cat >>confdefs.h <<_ACEOF
 
2835
#define PACKAGE "$PACKAGE"
 
2836
_ACEOF
 
2837
 
 
2838
 
 
2839
cat >>confdefs.h <<_ACEOF
 
2840
#define VERSION "$VERSION"
 
2841
_ACEOF
 
2842
 
 
2843
# Some tools Automake needs.
 
2844
 
 
2845
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 
2846
 
 
2847
 
 
2848
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 
2849
 
 
2850
 
 
2851
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 
2852
 
 
2853
 
 
2854
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 
2855
 
 
2856
 
 
2857
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 
2858
 
 
2859
# We need awk for the "check" target.  The system "awk" is bad on
 
2860
# some platforms.
 
2861
# Always define AMTAR for backward compatibility.  Yes, it's still used
 
2862
# in the wild :-(  We should find a proper way to deprecate it ...
 
2863
AMTAR='$${TAR-tar}'
 
2864
 
 
2865
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
 
2866
 
 
2867
 
 
2868
 
 
2869
 
 
2870
 
 
2871
 
 
2872
#####################################################
 
2873
# Silent build rules
 
2874
#####################################################
 
2875
# Check whether --enable-silent-rules was given.
 
2876
if test "${enable_silent_rules+set}" = set; then :
 
2877
  enableval=$enable_silent_rules;
 
2878
fi
 
2879
 
 
2880
case $enable_silent_rules in
 
2881
yes) AM_DEFAULT_VERBOSITY=0;;
 
2882
no)  AM_DEFAULT_VERBOSITY=1;;
 
2883
*)   AM_DEFAULT_VERBOSITY=0;;
 
2884
esac
 
2885
am_make=${MAKE-make}
 
2886
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
 
2887
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
 
2888
if ${am_cv_make_support_nested_variables+:} false; then :
 
2889
  $as_echo_n "(cached) " >&6
 
2890
else
 
2891
  if $as_echo 'TRUE=$(BAR$(V))
 
2892
BAR0=false
 
2893
BAR1=true
 
2894
V=1
 
2895
am__doit:
 
2896
        @$(TRUE)
 
2897
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
 
2898
  am_cv_make_support_nested_variables=yes
 
2899
else
 
2900
  am_cv_make_support_nested_variables=no
 
2901
fi
 
2902
fi
 
2903
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
 
2904
$as_echo "$am_cv_make_support_nested_variables" >&6; }
 
2905
if test $am_cv_make_support_nested_variables = yes; then
 
2906
    AM_V='$(V)'
 
2907
  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
 
2908
else
 
2909
  AM_V=$AM_DEFAULT_VERBOSITY
 
2910
  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
 
2911
fi
 
2912
AM_BACKSLASH='\'
 
2913
 
 
2914
 
 
2915
 
 
2916
 
 
2917
ac_config_headers="$ac_config_headers config.h"
 
2918
 
 
2919
 
 
2920
#####################################################
 
2921
# Init the other things we depend on
 
2922
#####################################################
 
2923
 
 
2924
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
2925
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
 
2926
    # Check whether --enable-maintainer-mode was given.
 
2927
if test "${enable_maintainer_mode+set}" = set; then :
 
2928
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
 
2929
else
 
2930
  USE_MAINTAINER_MODE=no
 
2931
fi
 
2932
 
 
2933
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
 
2934
$as_echo "$USE_MAINTAINER_MODE" >&6; }
 
2935
   if test $USE_MAINTAINER_MODE = yes; then
 
2936
  MAINTAINER_MODE_TRUE=
 
2937
  MAINTAINER_MODE_FALSE='#'
 
2938
else
 
2939
  MAINTAINER_MODE_TRUE='#'
 
2940
  MAINTAINER_MODE_FALSE=
 
2941
fi
 
2942
 
 
2943
  MAINT=$MAINTAINER_MODE_TRUE
 
2944
 
 
2945
 
 
2946
# Extract the first word of "valac", so it can be a program name with args.
 
2947
set dummy valac; ac_word=$2
 
2948
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2949
$as_echo_n "checking for $ac_word... " >&6; }
 
2950
if ${ac_cv_path_VALAC+:} false; then :
 
2951
  $as_echo_n "(cached) " >&6
 
2952
else
 
2953
  case $VALAC in
 
2954
  [\\/]* | ?:[\\/]*)
 
2955
  ac_cv_path_VALAC="$VALAC" # Let the user override the test with a path.
 
2956
  ;;
 
2957
  *)
 
2958
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2959
for as_dir in $PATH
 
2960
do
 
2961
  IFS=$as_save_IFS
 
2962
  test -z "$as_dir" && as_dir=.
 
2963
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2964
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2965
    ac_cv_path_VALAC="$as_dir/$ac_word$ac_exec_ext"
 
2966
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2967
    break 2
 
2968
  fi
 
2969
done
 
2970
  done
 
2971
IFS=$as_save_IFS
 
2972
 
 
2973
  ;;
 
2974
esac
 
2975
fi
 
2976
VALAC=$ac_cv_path_VALAC
 
2977
if test -n "$VALAC"; then
 
2978
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALAC" >&5
 
2979
$as_echo "$VALAC" >&6; }
 
2980
else
 
2981
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2982
$as_echo "no" >&6; }
 
2983
fi
 
2984
 
 
2985
 
 
2986
 if test -z "$VALAC"; then :
 
2987
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No Vala compiler found.  You will not be able to compile .vala source files." >&5
 
2988
$as_echo "$as_me: WARNING: No Vala compiler found.  You will not be able to compile .vala source files." >&2;}
 
2989
else
 
2990
  if test -n "0.16.0"; then :
 
2991
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking $VALAC is at least version 0.16.0" >&5
 
2992
$as_echo_n "checking $VALAC is at least version 0.16.0... " >&6; }
 
2993
       am__vala_version=`$VALAC --version | sed 's/Vala  *//'`
 
2994
       as_arg_v1=0.16.0
 
2995
as_arg_v2="$am__vala_version"
 
2996
awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
 
2997
case $? in #(
 
2998
  1) :
 
2999
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3000
$as_echo "yes" >&6; } ;; #(
 
3001
  0) :
 
3002
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3003
$as_echo "yes" >&6; } ;; #(
 
3004
  2) :
 
3005
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3006
$as_echo "no" >&6; }
 
3007
          as_fn_error $? "Vala 0.16.0 not found." "$LINENO" 5 ;; #(
 
3008
  *) :
 
3009
     ;;
 
3010
esac
 
3011
fi
 
3012
fi
 
3013
 
 
3014
if test -z "$VALAC"; then :
 
3015
  as_fn_error $? "\"No valac compiler found.\"" "$LINENO" 5
 
3016
fi
 
3017
ac_ext=c
 
3018
ac_cpp='$CPP $CPPFLAGS'
 
3019
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3020
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3021
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3022
if test -n "$ac_tool_prefix"; then
 
3023
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
3024
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
3025
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3026
$as_echo_n "checking for $ac_word... " >&6; }
 
3027
if ${ac_cv_prog_CC+:} false; then :
 
3028
  $as_echo_n "(cached) " >&6
 
3029
else
 
3030
  if test -n "$CC"; then
 
3031
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3032
else
 
3033
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3034
for as_dir in $PATH
 
3035
do
 
3036
  IFS=$as_save_IFS
 
3037
  test -z "$as_dir" && as_dir=.
 
3038
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3039
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3040
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
3041
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3042
    break 2
 
3043
  fi
 
3044
done
 
3045
  done
 
3046
IFS=$as_save_IFS
 
3047
 
 
3048
fi
 
3049
fi
 
3050
CC=$ac_cv_prog_CC
 
3051
if test -n "$CC"; then
 
3052
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3053
$as_echo "$CC" >&6; }
 
3054
else
 
3055
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3056
$as_echo "no" >&6; }
 
3057
fi
 
3058
 
 
3059
 
 
3060
fi
 
3061
if test -z "$ac_cv_prog_CC"; then
 
3062
  ac_ct_CC=$CC
 
3063
  # Extract the first word of "gcc", so it can be a program name with args.
 
3064
set dummy gcc; ac_word=$2
 
3065
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3066
$as_echo_n "checking for $ac_word... " >&6; }
 
3067
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
3068
  $as_echo_n "(cached) " >&6
 
3069
else
 
3070
  if test -n "$ac_ct_CC"; then
 
3071
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
3072
else
 
3073
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3074
for as_dir in $PATH
 
3075
do
 
3076
  IFS=$as_save_IFS
 
3077
  test -z "$as_dir" && as_dir=.
 
3078
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3079
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3080
    ac_cv_prog_ac_ct_CC="gcc"
 
3081
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3082
    break 2
 
3083
  fi
 
3084
done
 
3085
  done
 
3086
IFS=$as_save_IFS
 
3087
 
 
3088
fi
 
3089
fi
 
3090
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
3091
if test -n "$ac_ct_CC"; then
 
3092
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
3093
$as_echo "$ac_ct_CC" >&6; }
 
3094
else
 
3095
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3096
$as_echo "no" >&6; }
 
3097
fi
 
3098
 
 
3099
  if test "x$ac_ct_CC" = x; then
 
3100
    CC=""
 
3101
  else
 
3102
    case $cross_compiling:$ac_tool_warned in
 
3103
yes:)
 
3104
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3105
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3106
ac_tool_warned=yes ;;
 
3107
esac
 
3108
    CC=$ac_ct_CC
 
3109
  fi
 
3110
else
 
3111
  CC="$ac_cv_prog_CC"
 
3112
fi
 
3113
 
 
3114
if test -z "$CC"; then
 
3115
          if test -n "$ac_tool_prefix"; then
 
3116
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
3117
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
3118
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3119
$as_echo_n "checking for $ac_word... " >&6; }
 
3120
if ${ac_cv_prog_CC+:} false; then :
 
3121
  $as_echo_n "(cached) " >&6
 
3122
else
 
3123
  if test -n "$CC"; then
 
3124
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3125
else
 
3126
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3127
for as_dir in $PATH
 
3128
do
 
3129
  IFS=$as_save_IFS
 
3130
  test -z "$as_dir" && as_dir=.
 
3131
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3132
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3133
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
3134
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3135
    break 2
 
3136
  fi
 
3137
done
 
3138
  done
 
3139
IFS=$as_save_IFS
 
3140
 
 
3141
fi
 
3142
fi
 
3143
CC=$ac_cv_prog_CC
 
3144
if test -n "$CC"; then
 
3145
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3146
$as_echo "$CC" >&6; }
 
3147
else
 
3148
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3149
$as_echo "no" >&6; }
 
3150
fi
 
3151
 
 
3152
 
 
3153
  fi
 
3154
fi
 
3155
if test -z "$CC"; then
 
3156
  # Extract the first word of "cc", so it can be a program name with args.
 
3157
set dummy cc; ac_word=$2
 
3158
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3159
$as_echo_n "checking for $ac_word... " >&6; }
 
3160
if ${ac_cv_prog_CC+:} false; then :
 
3161
  $as_echo_n "(cached) " >&6
 
3162
else
 
3163
  if test -n "$CC"; then
 
3164
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3165
else
 
3166
  ac_prog_rejected=no
 
3167
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3168
for as_dir in $PATH
 
3169
do
 
3170
  IFS=$as_save_IFS
 
3171
  test -z "$as_dir" && as_dir=.
 
3172
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3173
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3174
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
3175
       ac_prog_rejected=yes
 
3176
       continue
 
3177
     fi
 
3178
    ac_cv_prog_CC="cc"
 
3179
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3180
    break 2
 
3181
  fi
 
3182
done
 
3183
  done
 
3184
IFS=$as_save_IFS
 
3185
 
 
3186
if test $ac_prog_rejected = yes; then
 
3187
  # We found a bogon in the path, so make sure we never use it.
 
3188
  set dummy $ac_cv_prog_CC
 
3189
  shift
 
3190
  if test $# != 0; then
 
3191
    # We chose a different compiler from the bogus one.
 
3192
    # However, it has the same basename, so the bogon will be chosen
 
3193
    # first if we set CC to just the basename; use the full file name.
 
3194
    shift
 
3195
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
3196
  fi
 
3197
fi
 
3198
fi
 
3199
fi
 
3200
CC=$ac_cv_prog_CC
 
3201
if test -n "$CC"; then
 
3202
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3203
$as_echo "$CC" >&6; }
 
3204
else
 
3205
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3206
$as_echo "no" >&6; }
 
3207
fi
 
3208
 
 
3209
 
 
3210
fi
 
3211
if test -z "$CC"; then
 
3212
  if test -n "$ac_tool_prefix"; then
 
3213
  for ac_prog in cl.exe
 
3214
  do
 
3215
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
3216
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
3217
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3218
$as_echo_n "checking for $ac_word... " >&6; }
 
3219
if ${ac_cv_prog_CC+:} false; then :
 
3220
  $as_echo_n "(cached) " >&6
 
3221
else
 
3222
  if test -n "$CC"; then
 
3223
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3224
else
 
3225
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3226
for as_dir in $PATH
 
3227
do
 
3228
  IFS=$as_save_IFS
 
3229
  test -z "$as_dir" && as_dir=.
 
3230
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3231
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3232
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
3233
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3234
    break 2
 
3235
  fi
 
3236
done
 
3237
  done
 
3238
IFS=$as_save_IFS
 
3239
 
 
3240
fi
 
3241
fi
 
3242
CC=$ac_cv_prog_CC
 
3243
if test -n "$CC"; then
 
3244
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3245
$as_echo "$CC" >&6; }
 
3246
else
 
3247
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3248
$as_echo "no" >&6; }
 
3249
fi
 
3250
 
 
3251
 
 
3252
    test -n "$CC" && break
 
3253
  done
 
3254
fi
 
3255
if test -z "$CC"; then
 
3256
  ac_ct_CC=$CC
 
3257
  for ac_prog in cl.exe
 
3258
do
 
3259
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
3260
set dummy $ac_prog; ac_word=$2
 
3261
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3262
$as_echo_n "checking for $ac_word... " >&6; }
 
3263
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
3264
  $as_echo_n "(cached) " >&6
 
3265
else
 
3266
  if test -n "$ac_ct_CC"; then
 
3267
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
3268
else
 
3269
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3270
for as_dir in $PATH
 
3271
do
 
3272
  IFS=$as_save_IFS
 
3273
  test -z "$as_dir" && as_dir=.
 
3274
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3275
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3276
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
3277
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3278
    break 2
 
3279
  fi
 
3280
done
 
3281
  done
 
3282
IFS=$as_save_IFS
 
3283
 
 
3284
fi
 
3285
fi
 
3286
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
3287
if test -n "$ac_ct_CC"; then
 
3288
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
3289
$as_echo "$ac_ct_CC" >&6; }
 
3290
else
 
3291
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3292
$as_echo "no" >&6; }
 
3293
fi
 
3294
 
 
3295
 
 
3296
  test -n "$ac_ct_CC" && break
 
3297
done
 
3298
 
 
3299
  if test "x$ac_ct_CC" = x; then
 
3300
    CC=""
 
3301
  else
 
3302
    case $cross_compiling:$ac_tool_warned in
 
3303
yes:)
 
3304
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3305
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3306
ac_tool_warned=yes ;;
 
3307
esac
 
3308
    CC=$ac_ct_CC
 
3309
  fi
 
3310
fi
 
3311
 
 
3312
fi
 
3313
 
 
3314
 
 
3315
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3316
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3317
as_fn_error $? "no acceptable C compiler found in \$PATH
 
3318
See \`config.log' for more details" "$LINENO" 5; }
 
3319
 
 
3320
# Provide some information about the compiler.
 
3321
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
3322
set X $ac_compile
 
3323
ac_compiler=$2
 
3324
for ac_option in --version -v -V -qversion; do
 
3325
  { { ac_try="$ac_compiler $ac_option >&5"
 
3326
case "(($ac_try" in
 
3327
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3328
  *) ac_try_echo=$ac_try;;
 
3329
esac
 
3330
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3331
$as_echo "$ac_try_echo"; } >&5
 
3332
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
3333
  ac_status=$?
 
3334
  if test -s conftest.err; then
 
3335
    sed '10a\
 
3336
... rest of stderr output deleted ...
 
3337
         10q' conftest.err >conftest.er1
 
3338
    cat conftest.er1 >&5
 
3339
  fi
 
3340
  rm -f conftest.er1 conftest.err
 
3341
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3342
  test $ac_status = 0; }
 
3343
done
 
3344
 
 
3345
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3346
/* end confdefs.h.  */
 
3347
 
 
3348
int
 
3349
main ()
 
3350
{
 
3351
 
 
3352
  ;
 
3353
  return 0;
 
3354
}
 
3355
_ACEOF
 
3356
ac_clean_files_save=$ac_clean_files
 
3357
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 
3358
# Try to create an executable without -o first, disregard a.out.
 
3359
# It will help us diagnose broken compilers, and finding out an intuition
 
3360
# of exeext.
 
3361
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
3362
$as_echo_n "checking whether the C compiler works... " >&6; }
 
3363
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
3364
 
 
3365
# The possible output files:
 
3366
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
3367
 
 
3368
ac_rmfiles=
 
3369
for ac_file in $ac_files
 
3370
do
 
3371
  case $ac_file in
 
3372
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
3373
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
3374
  esac
 
3375
done
 
3376
rm -f $ac_rmfiles
 
3377
 
 
3378
if { { ac_try="$ac_link_default"
 
3379
case "(($ac_try" in
 
3380
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3381
  *) ac_try_echo=$ac_try;;
 
3382
esac
 
3383
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3384
$as_echo "$ac_try_echo"; } >&5
 
3385
  (eval "$ac_link_default") 2>&5
 
3386
  ac_status=$?
 
3387
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3388
  test $ac_status = 0; }; then :
 
3389
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
3390
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
3391
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
3392
# so that the user can short-circuit this test for compilers unknown to
 
3393
# Autoconf.
 
3394
for ac_file in $ac_files ''
 
3395
do
 
3396
  test -f "$ac_file" || continue
 
3397
  case $ac_file in
 
3398
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 
3399
        ;;
 
3400
    [ab].out )
 
3401
        # We found the default executable, but exeext='' is most
 
3402
        # certainly right.
 
3403
        break;;
 
3404
    *.* )
 
3405
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3406
        then :; else
 
3407
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3408
        fi
 
3409
        # We set ac_cv_exeext here because the later test for it is not
 
3410
        # safe: cross compilers may not add the suffix if given an `-o'
 
3411
        # argument, so we may need to know it at that point already.
 
3412
        # Even if this section looks crufty: it has the advantage of
 
3413
        # actually working.
 
3414
        break;;
 
3415
    * )
 
3416
        break;;
 
3417
  esac
 
3418
done
 
3419
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
3420
 
 
3421
else
 
3422
  ac_file=''
 
3423
fi
 
3424
if test -z "$ac_file"; then :
 
3425
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3426
$as_echo "no" >&6; }
 
3427
$as_echo "$as_me: failed program was:" >&5
 
3428
sed 's/^/| /' conftest.$ac_ext >&5
 
3429
 
 
3430
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3431
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3432
as_fn_error 77 "C compiler cannot create executables
 
3433
See \`config.log' for more details" "$LINENO" 5; }
 
3434
else
 
3435
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3436
$as_echo "yes" >&6; }
 
3437
fi
 
3438
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
3439
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3440
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 
3441
$as_echo "$ac_file" >&6; }
 
3442
ac_exeext=$ac_cv_exeext
 
3443
 
 
3444
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 
3445
ac_clean_files=$ac_clean_files_save
 
3446
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 
3447
$as_echo_n "checking for suffix of executables... " >&6; }
 
3448
if { { ac_try="$ac_link"
 
3449
case "(($ac_try" in
 
3450
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3451
  *) ac_try_echo=$ac_try;;
 
3452
esac
 
3453
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3454
$as_echo "$ac_try_echo"; } >&5
 
3455
  (eval "$ac_link") 2>&5
 
3456
  ac_status=$?
 
3457
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3458
  test $ac_status = 0; }; then :
 
3459
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
 
3460
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 
3461
# work properly (i.e., refer to `conftest.exe'), while it won't with
 
3462
# `rm'.
 
3463
for ac_file in conftest.exe conftest conftest.*; do
 
3464
  test -f "$ac_file" || continue
 
3465
  case $ac_file in
 
3466
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
3467
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3468
          break;;
 
3469
    * ) break;;
 
3470
  esac
 
3471
done
 
3472
else
 
3473
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3474
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3475
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 
3476
See \`config.log' for more details" "$LINENO" 5; }
 
3477
fi
 
3478
rm -f conftest conftest$ac_cv_exeext
 
3479
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 
3480
$as_echo "$ac_cv_exeext" >&6; }
 
3481
 
 
3482
rm -f conftest.$ac_ext
 
3483
EXEEXT=$ac_cv_exeext
 
3484
ac_exeext=$EXEEXT
 
3485
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3486
/* end confdefs.h.  */
 
3487
#include <stdio.h>
 
3488
int
 
3489
main ()
 
3490
{
 
3491
FILE *f = fopen ("conftest.out", "w");
 
3492
 return ferror (f) || fclose (f) != 0;
 
3493
 
 
3494
  ;
 
3495
  return 0;
 
3496
}
 
3497
_ACEOF
 
3498
ac_clean_files="$ac_clean_files conftest.out"
 
3499
# Check that the compiler produces executables we can run.  If not, either
 
3500
# the compiler is broken, or we cross compile.
 
3501
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3502
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3503
if test "$cross_compiling" != yes; then
 
3504
  { { ac_try="$ac_link"
 
3505
case "(($ac_try" in
 
3506
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3507
  *) ac_try_echo=$ac_try;;
 
3508
esac
 
3509
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3510
$as_echo "$ac_try_echo"; } >&5
 
3511
  (eval "$ac_link") 2>&5
 
3512
  ac_status=$?
 
3513
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3514
  test $ac_status = 0; }
 
3515
  if { ac_try='./conftest$ac_cv_exeext'
 
3516
  { { case "(($ac_try" in
 
3517
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3518
  *) ac_try_echo=$ac_try;;
 
3519
esac
 
3520
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3521
$as_echo "$ac_try_echo"; } >&5
 
3522
  (eval "$ac_try") 2>&5
 
3523
  ac_status=$?
 
3524
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3525
  test $ac_status = 0; }; }; then
 
3526
    cross_compiling=no
 
3527
  else
 
3528
    if test "$cross_compiling" = maybe; then
 
3529
        cross_compiling=yes
 
3530
    else
 
3531
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3532
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3533
as_fn_error $? "cannot run C compiled programs.
 
3534
If you meant to cross compile, use \`--host'.
 
3535
See \`config.log' for more details" "$LINENO" 5; }
 
3536
    fi
 
3537
  fi
 
3538
fi
 
3539
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3540
$as_echo "$cross_compiling" >&6; }
 
3541
 
 
3542
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
3543
ac_clean_files=$ac_clean_files_save
 
3544
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 
3545
$as_echo_n "checking for suffix of object files... " >&6; }
 
3546
if ${ac_cv_objext+:} false; then :
 
3547
  $as_echo_n "(cached) " >&6
 
3548
else
 
3549
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3550
/* end confdefs.h.  */
 
3551
 
 
3552
int
 
3553
main ()
 
3554
{
 
3555
 
 
3556
  ;
 
3557
  return 0;
 
3558
}
 
3559
_ACEOF
 
3560
rm -f conftest.o conftest.obj
 
3561
if { { ac_try="$ac_compile"
 
3562
case "(($ac_try" in
 
3563
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3564
  *) ac_try_echo=$ac_try;;
 
3565
esac
 
3566
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3567
$as_echo "$ac_try_echo"; } >&5
 
3568
  (eval "$ac_compile") 2>&5
 
3569
  ac_status=$?
 
3570
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3571
  test $ac_status = 0; }; then :
 
3572
  for ac_file in conftest.o conftest.obj conftest.*; do
 
3573
  test -f "$ac_file" || continue;
 
3574
  case $ac_file in
 
3575
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 
3576
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 
3577
       break;;
 
3578
  esac
 
3579
done
 
3580
else
 
3581
  $as_echo "$as_me: failed program was:" >&5
 
3582
sed 's/^/| /' conftest.$ac_ext >&5
 
3583
 
 
3584
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3585
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3586
as_fn_error $? "cannot compute suffix of object files: cannot compile
 
3587
See \`config.log' for more details" "$LINENO" 5; }
 
3588
fi
 
3589
rm -f conftest.$ac_cv_objext conftest.$ac_ext
 
3590
fi
 
3591
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 
3592
$as_echo "$ac_cv_objext" >&6; }
 
3593
OBJEXT=$ac_cv_objext
 
3594
ac_objext=$OBJEXT
 
3595
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
3596
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
3597
if ${ac_cv_c_compiler_gnu+:} false; then :
 
3598
  $as_echo_n "(cached) " >&6
 
3599
else
 
3600
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3601
/* end confdefs.h.  */
 
3602
 
 
3603
int
 
3604
main ()
 
3605
{
 
3606
#ifndef __GNUC__
 
3607
       choke me
 
3608
#endif
 
3609
 
 
3610
  ;
 
3611
  return 0;
 
3612
}
 
3613
_ACEOF
 
3614
if ac_fn_c_try_compile "$LINENO"; then :
 
3615
  ac_compiler_gnu=yes
 
3616
else
 
3617
  ac_compiler_gnu=no
 
3618
fi
 
3619
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3620
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
3621
 
 
3622
fi
 
3623
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
3624
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
3625
if test $ac_compiler_gnu = yes; then
 
3626
  GCC=yes
 
3627
else
 
3628
  GCC=
 
3629
fi
 
3630
ac_test_CFLAGS=${CFLAGS+set}
 
3631
ac_save_CFLAGS=$CFLAGS
 
3632
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
3633
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
3634
if ${ac_cv_prog_cc_g+:} false; then :
 
3635
  $as_echo_n "(cached) " >&6
 
3636
else
 
3637
  ac_save_c_werror_flag=$ac_c_werror_flag
 
3638
   ac_c_werror_flag=yes
 
3639
   ac_cv_prog_cc_g=no
 
3640
   CFLAGS="-g"
 
3641
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3642
/* end confdefs.h.  */
 
3643
 
 
3644
int
 
3645
main ()
 
3646
{
 
3647
 
 
3648
  ;
 
3649
  return 0;
 
3650
}
 
3651
_ACEOF
 
3652
if ac_fn_c_try_compile "$LINENO"; then :
 
3653
  ac_cv_prog_cc_g=yes
 
3654
else
 
3655
  CFLAGS=""
 
3656
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3657
/* end confdefs.h.  */
 
3658
 
 
3659
int
 
3660
main ()
 
3661
{
 
3662
 
 
3663
  ;
 
3664
  return 0;
 
3665
}
 
3666
_ACEOF
 
3667
if ac_fn_c_try_compile "$LINENO"; then :
 
3668
 
 
3669
else
 
3670
  ac_c_werror_flag=$ac_save_c_werror_flag
 
3671
         CFLAGS="-g"
 
3672
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3673
/* end confdefs.h.  */
 
3674
 
 
3675
int
 
3676
main ()
 
3677
{
 
3678
 
 
3679
  ;
 
3680
  return 0;
 
3681
}
 
3682
_ACEOF
 
3683
if ac_fn_c_try_compile "$LINENO"; then :
 
3684
  ac_cv_prog_cc_g=yes
 
3685
fi
 
3686
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3687
fi
 
3688
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3689
fi
 
3690
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3691
   ac_c_werror_flag=$ac_save_c_werror_flag
 
3692
fi
 
3693
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
3694
$as_echo "$ac_cv_prog_cc_g" >&6; }
 
3695
if test "$ac_test_CFLAGS" = set; then
 
3696
  CFLAGS=$ac_save_CFLAGS
 
3697
elif test $ac_cv_prog_cc_g = yes; then
 
3698
  if test "$GCC" = yes; then
 
3699
    CFLAGS="-g -O2"
 
3700
  else
 
3701
    CFLAGS="-g"
 
3702
  fi
 
3703
else
 
3704
  if test "$GCC" = yes; then
 
3705
    CFLAGS="-O2"
 
3706
  else
 
3707
    CFLAGS=
 
3708
  fi
 
3709
fi
 
3710
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
3711
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
3712
if ${ac_cv_prog_cc_c89+:} false; then :
 
3713
  $as_echo_n "(cached) " >&6
 
3714
else
 
3715
  ac_cv_prog_cc_c89=no
 
3716
ac_save_CC=$CC
 
3717
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3718
/* end confdefs.h.  */
 
3719
#include <stdarg.h>
 
3720
#include <stdio.h>
 
3721
struct stat;
 
3722
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
3723
struct buf { int x; };
 
3724
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
3725
static char *e (p, i)
 
3726
     char **p;
 
3727
     int i;
 
3728
{
 
3729
  return p[i];
 
3730
}
 
3731
static char *f (char * (*g) (char **, int), char **p, ...)
 
3732
{
 
3733
  char *s;
 
3734
  va_list v;
 
3735
  va_start (v,p);
 
3736
  s = g (p, va_arg (v,int));
 
3737
  va_end (v);
 
3738
  return s;
 
3739
}
 
3740
 
 
3741
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
3742
   function prototypes and stuff, but not '\xHH' hex character constants.
 
3743
   These don't provoke an error unfortunately, instead are silently treated
 
3744
   as 'x'.  The following induces an error, until -std is added to get
 
3745
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
3746
   array size at least.  It's necessary to write '\x00'==0 to get something
 
3747
   that's true only with -std.  */
 
3748
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
3749
 
 
3750
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
3751
   inside strings and character constants.  */
 
3752
#define FOO(x) 'x'
 
3753
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
3754
 
 
3755
int test (int i, double x);
 
3756
struct s1 {int (*f) (int a);};
 
3757
struct s2 {int (*f) (double a);};
 
3758
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
3759
int argc;
 
3760
char **argv;
 
3761
int
 
3762
main ()
 
3763
{
 
3764
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
3765
  ;
 
3766
  return 0;
 
3767
}
 
3768
_ACEOF
 
3769
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
3770
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3771
do
 
3772
  CC="$ac_save_CC $ac_arg"
 
3773
  if ac_fn_c_try_compile "$LINENO"; then :
 
3774
  ac_cv_prog_cc_c89=$ac_arg
 
3775
fi
 
3776
rm -f core conftest.err conftest.$ac_objext
 
3777
  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
3778
done
 
3779
rm -f conftest.$ac_ext
 
3780
CC=$ac_save_CC
 
3781
 
 
3782
fi
 
3783
# AC_CACHE_VAL
 
3784
case "x$ac_cv_prog_cc_c89" in
 
3785
  x)
 
3786
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
3787
$as_echo "none needed" >&6; } ;;
 
3788
  xno)
 
3789
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
3790
$as_echo "unsupported" >&6; } ;;
 
3791
  *)
 
3792
    CC="$CC $ac_cv_prog_cc_c89"
 
3793
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
3794
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 
3795
esac
 
3796
if test "x$ac_cv_prog_cc_c89" != xno; then :
 
3797
 
 
3798
fi
 
3799
 
 
3800
ac_ext=c
 
3801
ac_cpp='$CPP $CPPFLAGS'
 
3802
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3803
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3804
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3805
DEPDIR="${am__leading_dot}deps"
 
3806
 
 
3807
ac_config_commands="$ac_config_commands depfiles"
 
3808
 
 
3809
 
 
3810
am_make=${MAKE-make}
 
3811
cat > confinc << 'END'
 
3812
am__doit:
 
3813
        @echo this is the am__doit target
 
3814
.PHONY: am__doit
 
3815
END
 
3816
# If we don't find an include directive, just comment out the code.
 
3817
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 
3818
$as_echo_n "checking for style of include used by $am_make... " >&6; }
 
3819
am__include="#"
 
3820
am__quote=
 
3821
_am_result=none
 
3822
# First try GNU make style include.
 
3823
echo "include confinc" > confmf
 
3824
# Ignore all kinds of additional output from `make'.
 
3825
case `$am_make -s -f confmf 2> /dev/null` in #(
 
3826
*the\ am__doit\ target*)
 
3827
  am__include=include
 
3828
  am__quote=
 
3829
  _am_result=GNU
 
3830
  ;;
 
3831
esac
 
3832
# Now try BSD make style include.
 
3833
if test "$am__include" = "#"; then
 
3834
   echo '.include "confinc"' > confmf
 
3835
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
3836
   *the\ am__doit\ target*)
 
3837
     am__include=.include
 
3838
     am__quote="\""
 
3839
     _am_result=BSD
 
3840
     ;;
 
3841
   esac
 
3842
fi
 
3843
 
 
3844
 
 
3845
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 
3846
$as_echo "$_am_result" >&6; }
 
3847
rm -f confinc confmf
 
3848
 
 
3849
# Check whether --enable-dependency-tracking was given.
 
3850
if test "${enable_dependency_tracking+set}" = set; then :
 
3851
  enableval=$enable_dependency_tracking;
 
3852
fi
 
3853
 
 
3854
if test "x$enable_dependency_tracking" != xno; then
 
3855
  am_depcomp="$ac_aux_dir/depcomp"
 
3856
  AMDEPBACKSLASH='\'
 
3857
  am__nodep='_no'
 
3858
fi
 
3859
 if test "x$enable_dependency_tracking" != xno; then
 
3860
  AMDEP_TRUE=
 
3861
  AMDEP_FALSE='#'
 
3862
else
 
3863
  AMDEP_TRUE='#'
 
3864
  AMDEP_FALSE=
 
3865
fi
 
3866
 
 
3867
 
 
3868
 
 
3869
depcc="$CC"   am_compiler_list=
 
3870
 
 
3871
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
3872
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
3873
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
 
3874
  $as_echo_n "(cached) " >&6
 
3875
else
 
3876
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
3877
  # We make a subdir and do the tests there.  Otherwise we can end up
 
3878
  # making bogus files that we don't know about and never remove.  For
 
3879
  # instance it was reported that on HP-UX the gcc test will end up
 
3880
  # making a dummy file named `D' -- because `-MD' means `put the output
 
3881
  # in D'.
 
3882
  rm -rf conftest.dir
 
3883
  mkdir conftest.dir
 
3884
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
3885
  # using a relative directory.
 
3886
  cp "$am_depcomp" conftest.dir
 
3887
  cd conftest.dir
 
3888
  # We will build objects and dependencies in a subdirectory because
 
3889
  # it helps to detect inapplicable dependency modes.  For instance
 
3890
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
3891
  # side effect of compilation, but ICC will put the dependencies in
 
3892
  # the current directory while Tru64 will put them in the object
 
3893
  # directory.
 
3894
  mkdir sub
 
3895
 
 
3896
  am_cv_CC_dependencies_compiler_type=none
 
3897
  if test "$am_compiler_list" = ""; then
 
3898
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
3899
  fi
 
3900
  am__universal=false
 
3901
  case " $depcc " in #(
 
3902
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
3903
     esac
 
3904
 
 
3905
  for depmode in $am_compiler_list; do
 
3906
    # Setup a source with many dependencies, because some compilers
 
3907
    # like to wrap large dependency lists on column 80 (with \), and
 
3908
    # we should not choose a depcomp mode which is confused by this.
 
3909
    #
 
3910
    # We need to recreate these files for each test, as the compiler may
 
3911
    # overwrite some of them when testing with obscure command lines.
 
3912
    # This happens at least with the AIX C compiler.
 
3913
    : > sub/conftest.c
 
3914
    for i in 1 2 3 4 5 6; do
 
3915
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
3916
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
3917
      # Solaris 8's {/usr,}/bin/sh.
 
3918
      touch sub/conftst$i.h
 
3919
    done
 
3920
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
3921
 
 
3922
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
3923
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
3924
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
3925
    # versions had trouble with output in subdirs
 
3926
    am__obj=sub/conftest.${OBJEXT-o}
 
3927
    am__minus_obj="-o $am__obj"
 
3928
    case $depmode in
 
3929
    gcc)
 
3930
      # This depmode causes a compiler race in universal mode.
 
3931
      test "$am__universal" = false || continue
 
3932
      ;;
 
3933
    nosideeffect)
 
3934
      # after this tag, mechanisms are not by side-effect, so they'll
 
3935
      # only be used when explicitly requested
 
3936
      if test "x$enable_dependency_tracking" = xyes; then
 
3937
        continue
 
3938
      else
 
3939
        break
 
3940
      fi
 
3941
      ;;
 
3942
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
 
3943
      # This compiler won't grok `-c -o', but also, the minuso test has
 
3944
      # not run yet.  These depmodes are late enough in the game, and
 
3945
      # so weak that their functioning should not be impacted.
 
3946
      am__obj=conftest.${OBJEXT-o}
 
3947
      am__minus_obj=
 
3948
      ;;
 
3949
    none) break ;;
 
3950
    esac
 
3951
    if depmode=$depmode \
 
3952
       source=sub/conftest.c object=$am__obj \
 
3953
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
3954
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 
3955
         >/dev/null 2>conftest.err &&
 
3956
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
3957
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
3958
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 
3959
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
3960
      # icc doesn't choke on unknown options, it will just issue warnings
 
3961
      # or remarks (even with -Werror).  So we grep stderr for any message
 
3962
      # that says an option was ignored or not supported.
 
3963
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
3964
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
3965
      # The diagnosis changed in icc 8.0:
 
3966
      #   icc: Command line remark: option '-MP' not supported
 
3967
      if (grep 'ignoring option' conftest.err ||
 
3968
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
3969
        am_cv_CC_dependencies_compiler_type=$depmode
 
3970
        break
 
3971
      fi
 
3972
    fi
 
3973
  done
 
3974
 
 
3975
  cd ..
 
3976
  rm -rf conftest.dir
 
3977
else
 
3978
  am_cv_CC_dependencies_compiler_type=none
 
3979
fi
 
3980
 
 
3981
fi
 
3982
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3983
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 
3984
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
3985
 
 
3986
 if
 
3987
  test "x$enable_dependency_tracking" != xno \
 
3988
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
3989
  am__fastdepCC_TRUE=
 
3990
  am__fastdepCC_FALSE='#'
 
3991
else
 
3992
  am__fastdepCC_TRUE='#'
 
3993
  am__fastdepCC_FALSE=
 
3994
fi
 
3995
 
 
3996
 
 
3997
if test "x$CC" != xcc; then
 
3998
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
 
3999
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
 
4000
else
 
4001
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
 
4002
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
 
4003
fi
 
4004
set dummy $CC; ac_cc=`$as_echo "$2" |
 
4005
                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 
4006
if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
 
4007
  $as_echo_n "(cached) " >&6
 
4008
else
 
4009
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4010
/* end confdefs.h.  */
 
4011
 
 
4012
int
 
4013
main ()
 
4014
{
 
4015
 
 
4016
  ;
 
4017
  return 0;
 
4018
}
 
4019
_ACEOF
 
4020
# Make sure it works both with $CC and with simple cc.
 
4021
# We do the test twice because some compilers refuse to overwrite an
 
4022
# existing .o file with -o, though they will create one.
 
4023
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
 
4024
rm -f conftest2.*
 
4025
if { { case "(($ac_try" in
 
4026
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4027
  *) ac_try_echo=$ac_try;;
 
4028
esac
 
4029
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4030
$as_echo "$ac_try_echo"; } >&5
 
4031
  (eval "$ac_try") 2>&5
 
4032
  ac_status=$?
 
4033
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4034
  test $ac_status = 0; } &&
 
4035
   test -f conftest2.$ac_objext && { { case "(($ac_try" in
 
4036
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4037
  *) ac_try_echo=$ac_try;;
 
4038
esac
 
4039
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4040
$as_echo "$ac_try_echo"; } >&5
 
4041
  (eval "$ac_try") 2>&5
 
4042
  ac_status=$?
 
4043
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4044
  test $ac_status = 0; };
 
4045
then
 
4046
  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
 
4047
  if test "x$CC" != xcc; then
 
4048
    # Test first that cc exists at all.
 
4049
    if { ac_try='cc -c conftest.$ac_ext >&5'
 
4050
  { { case "(($ac_try" in
 
4051
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4052
  *) ac_try_echo=$ac_try;;
 
4053
esac
 
4054
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4055
$as_echo "$ac_try_echo"; } >&5
 
4056
  (eval "$ac_try") 2>&5
 
4057
  ac_status=$?
 
4058
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4059
  test $ac_status = 0; }; }; then
 
4060
      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
 
4061
      rm -f conftest2.*
 
4062
      if { { case "(($ac_try" in
 
4063
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4064
  *) ac_try_echo=$ac_try;;
 
4065
esac
 
4066
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4067
$as_echo "$ac_try_echo"; } >&5
 
4068
  (eval "$ac_try") 2>&5
 
4069
  ac_status=$?
 
4070
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4071
  test $ac_status = 0; } &&
 
4072
         test -f conftest2.$ac_objext && { { case "(($ac_try" in
 
4073
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4074
  *) ac_try_echo=$ac_try;;
 
4075
esac
 
4076
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4077
$as_echo "$ac_try_echo"; } >&5
 
4078
  (eval "$ac_try") 2>&5
 
4079
  ac_status=$?
 
4080
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4081
  test $ac_status = 0; };
 
4082
      then
 
4083
        # cc works too.
 
4084
        :
 
4085
      else
 
4086
        # cc exists but doesn't like -o.
 
4087
        eval ac_cv_prog_cc_${ac_cc}_c_o=no
 
4088
      fi
 
4089
    fi
 
4090
  fi
 
4091
else
 
4092
  eval ac_cv_prog_cc_${ac_cc}_c_o=no
 
4093
fi
 
4094
rm -f core conftest*
 
4095
 
 
4096
fi
 
4097
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
 
4098
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
4099
$as_echo "yes" >&6; }
 
4100
else
 
4101
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4102
$as_echo "no" >&6; }
 
4103
 
 
4104
$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
 
4105
 
 
4106
fi
 
4107
 
 
4108
# FIXME: we rely on the cache variable name because
 
4109
# there is no other way.
 
4110
set dummy $CC
 
4111
am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 
4112
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
 
4113
if test "$am_t" != yes; then
 
4114
   # Losing compiler, so override with the script.
 
4115
   # FIXME: It is wrong to rewrite CC.
 
4116
   # But if we don't then we get into trouble of one sort or another.
 
4117
   # A longer-term fix would be to have automake use am__CC in this case,
 
4118
   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
 
4119
   CC="$am_aux_dir/compile $CC"
 
4120
fi
 
4121
 
 
4122
 
 
4123
 
 
4124
ac_ext=c
 
4125
ac_cpp='$CPP $CPPFLAGS'
 
4126
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
4127
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
4128
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
4129
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 
4130
$as_echo_n "checking how to run the C preprocessor... " >&6; }
 
4131
# On Suns, sometimes $CPP names a directory.
 
4132
if test -n "$CPP" && test -d "$CPP"; then
 
4133
  CPP=
 
4134
fi
 
4135
if test -z "$CPP"; then
 
4136
  if ${ac_cv_prog_CPP+:} false; then :
 
4137
  $as_echo_n "(cached) " >&6
 
4138
else
 
4139
      # Double quotes because CPP needs to be expanded
 
4140
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
4141
    do
 
4142
      ac_preproc_ok=false
 
4143
for ac_c_preproc_warn_flag in '' yes
 
4144
do
 
4145
  # Use a header file that comes with gcc, so configuring glibc
 
4146
  # with a fresh cross-compiler works.
 
4147
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
4148
  # <limits.h> exists even on freestanding compilers.
 
4149
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
4150
  # not just through cpp. "Syntax error" is here to catch this case.
 
4151
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4152
/* end confdefs.h.  */
 
4153
#ifdef __STDC__
 
4154
# include <limits.h>
 
4155
#else
 
4156
# include <assert.h>
 
4157
#endif
 
4158
                     Syntax error
 
4159
_ACEOF
 
4160
if ac_fn_c_try_cpp "$LINENO"; then :
 
4161
 
 
4162
else
 
4163
  # Broken: fails on valid input.
 
4164
continue
 
4165
fi
 
4166
rm -f conftest.err conftest.i conftest.$ac_ext
 
4167
 
 
4168
  # OK, works on sane cases.  Now check whether nonexistent headers
 
4169
  # can be detected and how.
 
4170
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4171
/* end confdefs.h.  */
 
4172
#include <ac_nonexistent.h>
 
4173
_ACEOF
 
4174
if ac_fn_c_try_cpp "$LINENO"; then :
 
4175
  # Broken: success on invalid input.
 
4176
continue
 
4177
else
 
4178
  # Passes both tests.
 
4179
ac_preproc_ok=:
 
4180
break
 
4181
fi
 
4182
rm -f conftest.err conftest.i conftest.$ac_ext
 
4183
 
 
4184
done
 
4185
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
4186
rm -f conftest.i conftest.err conftest.$ac_ext
 
4187
if $ac_preproc_ok; then :
 
4188
  break
 
4189
fi
 
4190
 
 
4191
    done
 
4192
    ac_cv_prog_CPP=$CPP
 
4193
 
 
4194
fi
 
4195
  CPP=$ac_cv_prog_CPP
 
4196
else
 
4197
  ac_cv_prog_CPP=$CPP
 
4198
fi
 
4199
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 
4200
$as_echo "$CPP" >&6; }
 
4201
ac_preproc_ok=false
 
4202
for ac_c_preproc_warn_flag in '' yes
 
4203
do
 
4204
  # Use a header file that comes with gcc, so configuring glibc
 
4205
  # with a fresh cross-compiler works.
 
4206
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
4207
  # <limits.h> exists even on freestanding compilers.
 
4208
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
4209
  # not just through cpp. "Syntax error" is here to catch this case.
 
4210
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4211
/* end confdefs.h.  */
 
4212
#ifdef __STDC__
 
4213
# include <limits.h>
 
4214
#else
 
4215
# include <assert.h>
 
4216
#endif
 
4217
                     Syntax error
 
4218
_ACEOF
 
4219
if ac_fn_c_try_cpp "$LINENO"; then :
 
4220
 
 
4221
else
 
4222
  # Broken: fails on valid input.
 
4223
continue
 
4224
fi
 
4225
rm -f conftest.err conftest.i conftest.$ac_ext
 
4226
 
 
4227
  # OK, works on sane cases.  Now check whether nonexistent headers
 
4228
  # can be detected and how.
 
4229
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4230
/* end confdefs.h.  */
 
4231
#include <ac_nonexistent.h>
 
4232
_ACEOF
 
4233
if ac_fn_c_try_cpp "$LINENO"; then :
 
4234
  # Broken: success on invalid input.
 
4235
continue
 
4236
else
 
4237
  # Passes both tests.
 
4238
ac_preproc_ok=:
 
4239
break
 
4240
fi
 
4241
rm -f conftest.err conftest.i conftest.$ac_ext
 
4242
 
 
4243
done
 
4244
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
4245
rm -f conftest.i conftest.err conftest.$ac_ext
 
4246
if $ac_preproc_ok; then :
 
4247
 
 
4248
else
 
4249
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4250
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4251
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 
4252
See \`config.log' for more details" "$LINENO" 5; }
 
4253
fi
 
4254
 
 
4255
ac_ext=c
 
4256
ac_cpp='$CPP $CPPFLAGS'
 
4257
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
4258
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
4259
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
4260
 
 
4261
 
 
4262
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 
4263
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
4264
if ${ac_cv_path_GREP+:} false; then :
 
4265
  $as_echo_n "(cached) " >&6
 
4266
else
 
4267
  if test -z "$GREP"; then
 
4268
  ac_path_GREP_found=false
 
4269
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4270
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4271
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4272
do
 
4273
  IFS=$as_save_IFS
 
4274
  test -z "$as_dir" && as_dir=.
 
4275
    for ac_prog in grep ggrep; do
 
4276
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4277
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
4278
      as_fn_executable_p "$ac_path_GREP" || continue
 
4279
# Check for GNU ac_path_GREP and select it if it is found.
 
4280
  # Check for GNU $ac_path_GREP
 
4281
case `"$ac_path_GREP" --version 2>&1` in
 
4282
*GNU*)
 
4283
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
4284
*)
 
4285
  ac_count=0
 
4286
  $as_echo_n 0123456789 >"conftest.in"
 
4287
  while :
 
4288
  do
 
4289
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4290
    mv "conftest.tmp" "conftest.in"
 
4291
    cp "conftest.in" "conftest.nl"
 
4292
    $as_echo 'GREP' >> "conftest.nl"
 
4293
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4294
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4295
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4296
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
4297
      # Best one so far, save it but keep looking for a better one
 
4298
      ac_cv_path_GREP="$ac_path_GREP"
 
4299
      ac_path_GREP_max=$ac_count
 
4300
    fi
 
4301
    # 10*(2^10) chars as input seems more than enough
 
4302
    test $ac_count -gt 10 && break
 
4303
  done
 
4304
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4305
esac
 
4306
 
 
4307
      $ac_path_GREP_found && break 3
 
4308
    done
 
4309
  done
 
4310
  done
 
4311
IFS=$as_save_IFS
 
4312
  if test -z "$ac_cv_path_GREP"; then
 
4313
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4314
  fi
 
4315
else
 
4316
  ac_cv_path_GREP=$GREP
 
4317
fi
 
4318
 
 
4319
fi
 
4320
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 
4321
$as_echo "$ac_cv_path_GREP" >&6; }
 
4322
 GREP="$ac_cv_path_GREP"
 
4323
 
 
4324
 
 
4325
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 
4326
$as_echo_n "checking for egrep... " >&6; }
 
4327
if ${ac_cv_path_EGREP+:} false; then :
 
4328
  $as_echo_n "(cached) " >&6
 
4329
else
 
4330
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
4331
   then ac_cv_path_EGREP="$GREP -E"
 
4332
   else
 
4333
     if test -z "$EGREP"; then
 
4334
  ac_path_EGREP_found=false
 
4335
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4336
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4337
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4338
do
 
4339
  IFS=$as_save_IFS
 
4340
  test -z "$as_dir" && as_dir=.
 
4341
    for ac_prog in egrep; do
 
4342
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4343
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4344
      as_fn_executable_p "$ac_path_EGREP" || continue
 
4345
# Check for GNU ac_path_EGREP and select it if it is found.
 
4346
  # Check for GNU $ac_path_EGREP
 
4347
case `"$ac_path_EGREP" --version 2>&1` in
 
4348
*GNU*)
 
4349
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
4350
*)
 
4351
  ac_count=0
 
4352
  $as_echo_n 0123456789 >"conftest.in"
 
4353
  while :
 
4354
  do
 
4355
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4356
    mv "conftest.tmp" "conftest.in"
 
4357
    cp "conftest.in" "conftest.nl"
 
4358
    $as_echo 'EGREP' >> "conftest.nl"
 
4359
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4360
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4361
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4362
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
4363
      # Best one so far, save it but keep looking for a better one
 
4364
      ac_cv_path_EGREP="$ac_path_EGREP"
 
4365
      ac_path_EGREP_max=$ac_count
 
4366
    fi
 
4367
    # 10*(2^10) chars as input seems more than enough
 
4368
    test $ac_count -gt 10 && break
 
4369
  done
 
4370
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4371
esac
 
4372
 
 
4373
      $ac_path_EGREP_found && break 3
 
4374
    done
 
4375
  done
 
4376
  done
 
4377
IFS=$as_save_IFS
 
4378
  if test -z "$ac_cv_path_EGREP"; then
 
4379
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4380
  fi
 
4381
else
 
4382
  ac_cv_path_EGREP=$EGREP
 
4383
fi
 
4384
 
 
4385
   fi
 
4386
fi
 
4387
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 
4388
$as_echo "$ac_cv_path_EGREP" >&6; }
 
4389
 EGREP="$ac_cv_path_EGREP"
 
4390
 
 
4391
 
 
4392
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 
4393
$as_echo_n "checking for ANSI C header files... " >&6; }
 
4394
if ${ac_cv_header_stdc+:} false; then :
 
4395
  $as_echo_n "(cached) " >&6
 
4396
else
 
4397
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4398
/* end confdefs.h.  */
 
4399
#include <stdlib.h>
 
4400
#include <stdarg.h>
 
4401
#include <string.h>
 
4402
#include <float.h>
 
4403
 
 
4404
int
 
4405
main ()
 
4406
{
 
4407
 
 
4408
  ;
 
4409
  return 0;
 
4410
}
 
4411
_ACEOF
 
4412
if ac_fn_c_try_compile "$LINENO"; then :
 
4413
  ac_cv_header_stdc=yes
 
4414
else
 
4415
  ac_cv_header_stdc=no
 
4416
fi
 
4417
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4418
 
 
4419
if test $ac_cv_header_stdc = yes; then
 
4420
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
4421
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4422
/* end confdefs.h.  */
 
4423
#include <string.h>
 
4424
 
 
4425
_ACEOF
 
4426
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
4427
  $EGREP "memchr" >/dev/null 2>&1; then :
 
4428
 
 
4429
else
 
4430
  ac_cv_header_stdc=no
 
4431
fi
 
4432
rm -f conftest*
 
4433
 
 
4434
fi
 
4435
 
 
4436
if test $ac_cv_header_stdc = yes; then
 
4437
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
4438
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4439
/* end confdefs.h.  */
 
4440
#include <stdlib.h>
 
4441
 
 
4442
_ACEOF
 
4443
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
4444
  $EGREP "free" >/dev/null 2>&1; then :
 
4445
 
 
4446
else
 
4447
  ac_cv_header_stdc=no
 
4448
fi
 
4449
rm -f conftest*
 
4450
 
 
4451
fi
 
4452
 
 
4453
if test $ac_cv_header_stdc = yes; then
 
4454
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
4455
  if test "$cross_compiling" = yes; then :
 
4456
  :
 
4457
else
 
4458
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4459
/* end confdefs.h.  */
 
4460
#include <ctype.h>
 
4461
#include <stdlib.h>
 
4462
#if ((' ' & 0x0FF) == 0x020)
 
4463
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
4464
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
4465
#else
 
4466
# define ISLOWER(c) \
 
4467
                   (('a' <= (c) && (c) <= 'i') \
 
4468
                     || ('j' <= (c) && (c) <= 'r') \
 
4469
                     || ('s' <= (c) && (c) <= 'z'))
 
4470
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
4471
#endif
 
4472
 
 
4473
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
4474
int
 
4475
main ()
 
4476
{
 
4477
  int i;
 
4478
  for (i = 0; i < 256; i++)
 
4479
    if (XOR (islower (i), ISLOWER (i))
 
4480
        || toupper (i) != TOUPPER (i))
 
4481
      return 2;
 
4482
  return 0;
 
4483
}
 
4484
_ACEOF
 
4485
if ac_fn_c_try_run "$LINENO"; then :
 
4486
 
 
4487
else
 
4488
  ac_cv_header_stdc=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
fi
 
4496
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 
4497
$as_echo "$ac_cv_header_stdc" >&6; }
 
4498
if test $ac_cv_header_stdc = yes; then
 
4499
 
 
4500
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
 
4501
 
 
4502
fi
 
4503
 
 
4504
 
 
4505
case `pwd` in
 
4506
  *\ * | *\     *)
 
4507
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
4508
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
4509
esac
 
4510
 
 
4511
 
 
4512
 
 
4513
macro_version='2.4.2'
 
4514
macro_revision='1.3337'
 
4515
 
 
4516
 
 
4517
 
 
4518
 
 
4519
 
 
4520
 
 
4521
 
 
4522
 
 
4523
 
 
4524
 
 
4525
 
 
4526
 
 
4527
 
 
4528
ltmain="$ac_aux_dir/ltmain.sh"
 
4529
 
 
4530
# Make sure we can run config.sub.
 
4531
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
4532
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 
4533
 
 
4534
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 
4535
$as_echo_n "checking build system type... " >&6; }
 
4536
if ${ac_cv_build+:} false; then :
 
4537
  $as_echo_n "(cached) " >&6
 
4538
else
 
4539
  ac_build_alias=$build_alias
 
4540
test "x$ac_build_alias" = x &&
 
4541
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
4542
test "x$ac_build_alias" = x &&
 
4543
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
 
4544
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
4545
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 
4546
 
 
4547
fi
 
4548
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 
4549
$as_echo "$ac_cv_build" >&6; }
 
4550
case $ac_cv_build in
 
4551
*-*-*) ;;
 
4552
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
 
4553
esac
 
4554
build=$ac_cv_build
 
4555
ac_save_IFS=$IFS; IFS='-'
 
4556
set x $ac_cv_build
 
4557
shift
 
4558
build_cpu=$1
 
4559
build_vendor=$2
 
4560
shift; shift
 
4561
# Remember, the first character of IFS is used to create $*,
 
4562
# except with old shells:
 
4563
build_os=$*
 
4564
IFS=$ac_save_IFS
 
4565
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
4566
 
 
4567
 
 
4568
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 
4569
$as_echo_n "checking host system type... " >&6; }
 
4570
if ${ac_cv_host+:} false; then :
 
4571
  $as_echo_n "(cached) " >&6
 
4572
else
 
4573
  if test "x$host_alias" = x; then
 
4574
  ac_cv_host=$ac_cv_build
 
4575
else
 
4576
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
4577
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 
4578
fi
 
4579
 
 
4580
fi
 
4581
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 
4582
$as_echo "$ac_cv_host" >&6; }
 
4583
case $ac_cv_host in
 
4584
*-*-*) ;;
 
4585
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
 
4586
esac
 
4587
host=$ac_cv_host
 
4588
ac_save_IFS=$IFS; IFS='-'
 
4589
set x $ac_cv_host
 
4590
shift
 
4591
host_cpu=$1
 
4592
host_vendor=$2
 
4593
shift; shift
 
4594
# Remember, the first character of IFS is used to create $*,
 
4595
# except with old shells:
 
4596
host_os=$*
 
4597
IFS=$ac_save_IFS
 
4598
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
4599
 
 
4600
 
 
4601
# Backslashify metacharacters that are still active within
 
4602
# double-quoted strings.
 
4603
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
4604
 
 
4605
# Same as above, but do not quote variable references.
 
4606
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
4607
 
 
4608
# Sed substitution to delay expansion of an escaped shell variable in a
 
4609
# double_quote_subst'ed string.
 
4610
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
4611
 
 
4612
# Sed substitution to delay expansion of an escaped single quote.
 
4613
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
4614
 
 
4615
# Sed substitution to avoid accidental globbing in evaled expressions
 
4616
no_glob_subst='s/\*/\\\*/g'
 
4617
 
 
4618
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
4619
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 
4620
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 
4621
 
 
4622
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
 
4623
$as_echo_n "checking how to print strings... " >&6; }
 
4624
# Test print first, because it will be a builtin if present.
 
4625
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
 
4626
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
 
4627
  ECHO='print -r --'
 
4628
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
 
4629
  ECHO='printf %s\n'
 
4630
else
 
4631
  # Use this function as a fallback that always works.
 
4632
  func_fallback_echo ()
 
4633
  {
 
4634
    eval 'cat <<_LTECHO_EOF
 
4635
$1
 
4636
_LTECHO_EOF'
 
4637
  }
 
4638
  ECHO='func_fallback_echo'
 
4639
fi
 
4640
 
 
4641
# func_echo_all arg...
 
4642
# Invoke $ECHO with all args, space-separated.
 
4643
func_echo_all ()
 
4644
{
 
4645
    $ECHO ""
 
4646
}
 
4647
 
 
4648
case "$ECHO" in
 
4649
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
 
4650
$as_echo "printf" >&6; } ;;
 
4651
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
 
4652
$as_echo "print -r" >&6; } ;;
 
4653
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
 
4654
$as_echo "cat" >&6; } ;;
 
4655
esac
 
4656
 
 
4657
 
 
4658
 
 
4659
 
 
4660
 
 
4661
 
 
4662
 
 
4663
 
 
4664
 
 
4665
 
 
4666
 
 
4667
 
 
4668
 
 
4669
 
 
4670
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 
4671
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
4672
if ${ac_cv_path_SED+:} false; then :
 
4673
  $as_echo_n "(cached) " >&6
 
4674
else
 
4675
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
4676
     for ac_i in 1 2 3 4 5 6 7; do
 
4677
       ac_script="$ac_script$as_nl$ac_script"
 
4678
     done
 
4679
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
4680
     { ac_script=; unset ac_script;}
 
4681
     if test -z "$SED"; then
 
4682
  ac_path_SED_found=false
 
4683
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4684
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4685
for as_dir in $PATH
 
4686
do
 
4687
  IFS=$as_save_IFS
 
4688
  test -z "$as_dir" && as_dir=.
 
4689
    for ac_prog in sed gsed; do
 
4690
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4691
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
4692
      as_fn_executable_p "$ac_path_SED" || continue
 
4693
# Check for GNU ac_path_SED and select it if it is found.
 
4694
  # Check for GNU $ac_path_SED
 
4695
case `"$ac_path_SED" --version 2>&1` in
 
4696
*GNU*)
 
4697
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
4698
*)
 
4699
  ac_count=0
 
4700
  $as_echo_n 0123456789 >"conftest.in"
 
4701
  while :
 
4702
  do
 
4703
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4704
    mv "conftest.tmp" "conftest.in"
 
4705
    cp "conftest.in" "conftest.nl"
 
4706
    $as_echo '' >> "conftest.nl"
 
4707
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4708
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4709
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4710
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
4711
      # Best one so far, save it but keep looking for a better one
 
4712
      ac_cv_path_SED="$ac_path_SED"
 
4713
      ac_path_SED_max=$ac_count
 
4714
    fi
 
4715
    # 10*(2^10) chars as input seems more than enough
 
4716
    test $ac_count -gt 10 && break
 
4717
  done
 
4718
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4719
esac
 
4720
 
 
4721
      $ac_path_SED_found && break 3
 
4722
    done
 
4723
  done
 
4724
  done
 
4725
IFS=$as_save_IFS
 
4726
  if test -z "$ac_cv_path_SED"; then
 
4727
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
4728
  fi
 
4729
else
 
4730
  ac_cv_path_SED=$SED
 
4731
fi
 
4732
 
 
4733
fi
 
4734
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 
4735
$as_echo "$ac_cv_path_SED" >&6; }
 
4736
 SED="$ac_cv_path_SED"
 
4737
  rm -f conftest.sed
 
4738
 
 
4739
test -z "$SED" && SED=sed
 
4740
Xsed="$SED -e 1s/^X//"
 
4741
 
 
4742
 
 
4743
 
 
4744
 
 
4745
 
 
4746
 
 
4747
 
 
4748
 
 
4749
 
 
4750
 
 
4751
 
 
4752
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
 
4753
$as_echo_n "checking for fgrep... " >&6; }
 
4754
if ${ac_cv_path_FGREP+:} false; then :
 
4755
  $as_echo_n "(cached) " >&6
 
4756
else
 
4757
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 
4758
   then ac_cv_path_FGREP="$GREP -F"
 
4759
   else
 
4760
     if test -z "$FGREP"; then
 
4761
  ac_path_FGREP_found=false
 
4762
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4763
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4764
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4765
do
 
4766
  IFS=$as_save_IFS
 
4767
  test -z "$as_dir" && as_dir=.
 
4768
    for ac_prog in fgrep; do
 
4769
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4770
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4771
      as_fn_executable_p "$ac_path_FGREP" || continue
 
4772
# Check for GNU ac_path_FGREP and select it if it is found.
 
4773
  # Check for GNU $ac_path_FGREP
 
4774
case `"$ac_path_FGREP" --version 2>&1` in
 
4775
*GNU*)
 
4776
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 
4777
*)
 
4778
  ac_count=0
 
4779
  $as_echo_n 0123456789 >"conftest.in"
 
4780
  while :
 
4781
  do
 
4782
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4783
    mv "conftest.tmp" "conftest.in"
 
4784
    cp "conftest.in" "conftest.nl"
 
4785
    $as_echo 'FGREP' >> "conftest.nl"
 
4786
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4787
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4788
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4789
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 
4790
      # Best one so far, save it but keep looking for a better one
 
4791
      ac_cv_path_FGREP="$ac_path_FGREP"
 
4792
      ac_path_FGREP_max=$ac_count
 
4793
    fi
 
4794
    # 10*(2^10) chars as input seems more than enough
 
4795
    test $ac_count -gt 10 && break
 
4796
  done
 
4797
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4798
esac
 
4799
 
 
4800
      $ac_path_FGREP_found && break 3
 
4801
    done
 
4802
  done
 
4803
  done
 
4804
IFS=$as_save_IFS
 
4805
  if test -z "$ac_cv_path_FGREP"; then
 
4806
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4807
  fi
 
4808
else
 
4809
  ac_cv_path_FGREP=$FGREP
 
4810
fi
 
4811
 
 
4812
   fi
 
4813
fi
 
4814
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
 
4815
$as_echo "$ac_cv_path_FGREP" >&6; }
 
4816
 FGREP="$ac_cv_path_FGREP"
 
4817
 
 
4818
 
 
4819
test -z "$GREP" && GREP=grep
 
4820
 
 
4821
 
 
4822
 
 
4823
 
 
4824
 
 
4825
 
 
4826
 
 
4827
 
 
4828
 
 
4829
 
 
4830
 
 
4831
 
 
4832
 
 
4833
 
 
4834
 
 
4835
 
 
4836
 
 
4837
 
 
4838
 
 
4839
# Check whether --with-gnu-ld was given.
 
4840
if test "${with_gnu_ld+set}" = set; then :
 
4841
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 
4842
else
 
4843
  with_gnu_ld=no
 
4844
fi
 
4845
 
 
4846
ac_prog=ld
 
4847
if test "$GCC" = yes; then
 
4848
  # Check if gcc -print-prog-name=ld gives a path.
 
4849
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
 
4850
$as_echo_n "checking for ld used by $CC... " >&6; }
 
4851
  case $host in
 
4852
  *-*-mingw*)
 
4853
    # gcc leaves a trailing carriage return which upsets mingw
 
4854
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 
4855
  *)
 
4856
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 
4857
  esac
 
4858
  case $ac_prog in
 
4859
    # Accept absolute paths.
 
4860
    [\\/]* | ?:[\\/]*)
 
4861
      re_direlt='/[^/][^/]*/\.\./'
 
4862
      # Canonicalize the pathname of ld
 
4863
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
4864
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
4865
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
 
4866
      done
 
4867
      test -z "$LD" && LD="$ac_prog"
 
4868
      ;;
 
4869
  "")
 
4870
    # If it fails, then pretend we aren't using GCC.
 
4871
    ac_prog=ld
 
4872
    ;;
 
4873
  *)
 
4874
    # If it is relative, then search for the first ld in PATH.
 
4875
    with_gnu_ld=unknown
 
4876
    ;;
 
4877
  esac
 
4878
elif test "$with_gnu_ld" = yes; then
 
4879
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 
4880
$as_echo_n "checking for GNU ld... " >&6; }
 
4881
else
 
4882
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 
4883
$as_echo_n "checking for non-GNU ld... " >&6; }
 
4884
fi
 
4885
if ${lt_cv_path_LD+:} false; then :
 
4886
  $as_echo_n "(cached) " >&6
 
4887
else
 
4888
  if test -z "$LD"; then
 
4889
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
4890
  for ac_dir in $PATH; do
 
4891
    IFS="$lt_save_ifs"
 
4892
    test -z "$ac_dir" && ac_dir=.
 
4893
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 
4894
      lt_cv_path_LD="$ac_dir/$ac_prog"
 
4895
      # Check to see if the program is GNU ld.  I'd rather use --version,
 
4896
      # but apparently some variants of GNU ld only accept -v.
 
4897
      # Break only if it was the GNU/non-GNU ld that we prefer.
 
4898
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 
4899
      *GNU* | *'with BFD'*)
 
4900
        test "$with_gnu_ld" != no && break
 
4901
        ;;
 
4902
      *)
 
4903
        test "$with_gnu_ld" != yes && break
 
4904
        ;;
 
4905
      esac
 
4906
    fi
 
4907
  done
 
4908
  IFS="$lt_save_ifs"
 
4909
else
 
4910
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
 
4911
fi
 
4912
fi
 
4913
 
 
4914
LD="$lt_cv_path_LD"
 
4915
if test -n "$LD"; then
 
4916
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 
4917
$as_echo "$LD" >&6; }
 
4918
else
 
4919
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4920
$as_echo "no" >&6; }
 
4921
fi
 
4922
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
 
4923
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 
4924
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 
4925
if ${lt_cv_prog_gnu_ld+:} false; then :
 
4926
  $as_echo_n "(cached) " >&6
 
4927
else
 
4928
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
 
4929
case `$LD -v 2>&1 </dev/null` in
 
4930
*GNU* | *'with BFD'*)
 
4931
  lt_cv_prog_gnu_ld=yes
 
4932
  ;;
 
4933
*)
 
4934
  lt_cv_prog_gnu_ld=no
 
4935
  ;;
 
4936
esac
 
4937
fi
 
4938
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
 
4939
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
 
4940
with_gnu_ld=$lt_cv_prog_gnu_ld
 
4941
 
 
4942
 
 
4943
 
 
4944
 
 
4945
 
 
4946
 
 
4947
 
 
4948
 
 
4949
 
 
4950
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
 
4951
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
 
4952
if ${lt_cv_path_NM+:} false; then :
 
4953
  $as_echo_n "(cached) " >&6
 
4954
else
 
4955
  if test -n "$NM"; then
 
4956
  # Let the user override the test.
 
4957
  lt_cv_path_NM="$NM"
 
4958
else
 
4959
  lt_nm_to_check="${ac_tool_prefix}nm"
 
4960
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 
4961
    lt_nm_to_check="$lt_nm_to_check nm"
 
4962
  fi
 
4963
  for lt_tmp_nm in $lt_nm_to_check; do
 
4964
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
4965
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 
4966
      IFS="$lt_save_ifs"
 
4967
      test -z "$ac_dir" && ac_dir=.
 
4968
      tmp_nm="$ac_dir/$lt_tmp_nm"
 
4969
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 
4970
        # Check to see if the nm accepts a BSD-compat flag.
 
4971
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
 
4972
        #   nm: unknown option "B" ignored
 
4973
        # Tru64's nm complains that /dev/null is an invalid object file
 
4974
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 
4975
        */dev/null* | *'Invalid file or object type'*)
 
4976
          lt_cv_path_NM="$tmp_nm -B"
 
4977
          break
 
4978
          ;;
 
4979
        *)
 
4980
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 
4981
          */dev/null*)
 
4982
            lt_cv_path_NM="$tmp_nm -p"
 
4983
            break
 
4984
            ;;
 
4985
          *)
 
4986
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 
4987
            continue # so that we can try to find one that supports BSD flags
 
4988
            ;;
 
4989
          esac
 
4990
          ;;
 
4991
        esac
 
4992
      fi
 
4993
    done
 
4994
    IFS="$lt_save_ifs"
 
4995
  done
 
4996
  : ${lt_cv_path_NM=no}
 
4997
fi
 
4998
fi
 
4999
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
 
5000
$as_echo "$lt_cv_path_NM" >&6; }
 
5001
if test "$lt_cv_path_NM" != "no"; then
 
5002
  NM="$lt_cv_path_NM"
 
5003
else
 
5004
  # Didn't find any BSD compatible name lister, look for dumpbin.
 
5005
  if test -n "$DUMPBIN"; then :
 
5006
    # Let the user override the test.
 
5007
  else
 
5008
    if test -n "$ac_tool_prefix"; then
 
5009
  for ac_prog in dumpbin "link -dump"
 
5010
  do
 
5011
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
5012
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
5013
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5014
$as_echo_n "checking for $ac_word... " >&6; }
 
5015
if ${ac_cv_prog_DUMPBIN+:} false; then :
 
5016
  $as_echo_n "(cached) " >&6
 
5017
else
 
5018
  if test -n "$DUMPBIN"; then
 
5019
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 
5020
else
 
5021
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5022
for as_dir in $PATH
 
5023
do
 
5024
  IFS=$as_save_IFS
 
5025
  test -z "$as_dir" && as_dir=.
 
5026
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5027
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5028
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 
5029
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5030
    break 2
 
5031
  fi
 
5032
done
 
5033
  done
 
5034
IFS=$as_save_IFS
 
5035
 
 
5036
fi
 
5037
fi
 
5038
DUMPBIN=$ac_cv_prog_DUMPBIN
 
5039
if test -n "$DUMPBIN"; then
 
5040
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
 
5041
$as_echo "$DUMPBIN" >&6; }
 
5042
else
 
5043
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5044
$as_echo "no" >&6; }
 
5045
fi
 
5046
 
 
5047
 
 
5048
    test -n "$DUMPBIN" && break
 
5049
  done
 
5050
fi
 
5051
if test -z "$DUMPBIN"; then
 
5052
  ac_ct_DUMPBIN=$DUMPBIN
 
5053
  for ac_prog in dumpbin "link -dump"
 
5054
do
 
5055
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
5056
set dummy $ac_prog; ac_word=$2
 
5057
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5058
$as_echo_n "checking for $ac_word... " >&6; }
 
5059
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
 
5060
  $as_echo_n "(cached) " >&6
 
5061
else
 
5062
  if test -n "$ac_ct_DUMPBIN"; then
 
5063
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 
5064
else
 
5065
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5066
for as_dir in $PATH
 
5067
do
 
5068
  IFS=$as_save_IFS
 
5069
  test -z "$as_dir" && as_dir=.
 
5070
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5071
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5072
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 
5073
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5074
    break 2
 
5075
  fi
 
5076
done
 
5077
  done
 
5078
IFS=$as_save_IFS
 
5079
 
 
5080
fi
 
5081
fi
 
5082
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 
5083
if test -n "$ac_ct_DUMPBIN"; then
 
5084
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
 
5085
$as_echo "$ac_ct_DUMPBIN" >&6; }
 
5086
else
 
5087
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5088
$as_echo "no" >&6; }
 
5089
fi
 
5090
 
 
5091
 
 
5092
  test -n "$ac_ct_DUMPBIN" && break
 
5093
done
 
5094
 
 
5095
  if test "x$ac_ct_DUMPBIN" = x; then
 
5096
    DUMPBIN=":"
 
5097
  else
 
5098
    case $cross_compiling:$ac_tool_warned in
 
5099
yes:)
 
5100
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5101
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5102
ac_tool_warned=yes ;;
 
5103
esac
 
5104
    DUMPBIN=$ac_ct_DUMPBIN
 
5105
  fi
 
5106
fi
 
5107
 
 
5108
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
 
5109
    *COFF*)
 
5110
      DUMPBIN="$DUMPBIN -symbols"
 
5111
      ;;
 
5112
    *)
 
5113
      DUMPBIN=:
 
5114
      ;;
 
5115
    esac
 
5116
  fi
 
5117
 
 
5118
  if test "$DUMPBIN" != ":"; then
 
5119
    NM="$DUMPBIN"
 
5120
  fi
 
5121
fi
 
5122
test -z "$NM" && NM=nm
 
5123
 
 
5124
 
 
5125
 
 
5126
 
 
5127
 
 
5128
 
 
5129
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
 
5130
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
 
5131
if ${lt_cv_nm_interface+:} false; then :
 
5132
  $as_echo_n "(cached) " >&6
 
5133
else
 
5134
  lt_cv_nm_interface="BSD nm"
 
5135
  echo "int some_variable = 0;" > conftest.$ac_ext
 
5136
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
 
5137
  (eval "$ac_compile" 2>conftest.err)
 
5138
  cat conftest.err >&5
 
5139
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
5140
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 
5141
  cat conftest.err >&5
 
5142
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
 
5143
  cat conftest.out >&5
 
5144
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 
5145
    lt_cv_nm_interface="MS dumpbin"
 
5146
  fi
 
5147
  rm -f conftest*
 
5148
fi
 
5149
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
 
5150
$as_echo "$lt_cv_nm_interface" >&6; }
 
5151
 
 
5152
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 
5153
$as_echo_n "checking whether ln -s works... " >&6; }
 
5154
LN_S=$as_ln_s
 
5155
if test "$LN_S" = "ln -s"; then
 
5156
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
5157
$as_echo "yes" >&6; }
 
5158
else
 
5159
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
 
5160
$as_echo "no, using $LN_S" >&6; }
 
5161
fi
 
5162
 
 
5163
# find the maximum length of command line arguments
 
5164
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
 
5165
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
 
5166
if ${lt_cv_sys_max_cmd_len+:} false; then :
 
5167
  $as_echo_n "(cached) " >&6
 
5168
else
 
5169
    i=0
 
5170
  teststring="ABCD"
 
5171
 
 
5172
  case $build_os in
 
5173
  msdosdjgpp*)
 
5174
    # On DJGPP, this test can blow up pretty badly due to problems in libc
 
5175
    # (any single argument exceeding 2000 bytes causes a buffer overrun
 
5176
    # during glob expansion).  Even if it were fixed, the result of this
 
5177
    # check would be larger than it should be.
 
5178
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 
5179
    ;;
 
5180
 
 
5181
  gnu*)
 
5182
    # Under GNU Hurd, this test is not required because there is
 
5183
    # no limit to the length of command line arguments.
 
5184
    # Libtool will interpret -1 as no limit whatsoever
 
5185
    lt_cv_sys_max_cmd_len=-1;
 
5186
    ;;
 
5187
 
 
5188
  cygwin* | mingw* | cegcc*)
 
5189
    # On Win9x/ME, this test blows up -- it succeeds, but takes
 
5190
    # about 5 minutes as the teststring grows exponentially.
 
5191
    # Worse, since 9x/ME are not pre-emptively multitasking,
 
5192
    # you end up with a "frozen" computer, even though with patience
 
5193
    # the test eventually succeeds (with a max line length of 256k).
 
5194
    # Instead, let's just punt: use the minimum linelength reported by
 
5195
    # all of the supported platforms: 8192 (on NT/2K/XP).
 
5196
    lt_cv_sys_max_cmd_len=8192;
 
5197
    ;;
 
5198
 
 
5199
  mint*)
 
5200
    # On MiNT this can take a long time and run out of memory.
 
5201
    lt_cv_sys_max_cmd_len=8192;
 
5202
    ;;
 
5203
 
 
5204
  amigaos*)
 
5205
    # On AmigaOS with pdksh, this test takes hours, literally.
 
5206
    # So we just punt and use a minimum line length of 8192.
 
5207
    lt_cv_sys_max_cmd_len=8192;
 
5208
    ;;
 
5209
 
 
5210
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
5211
    # This has been around since 386BSD, at least.  Likely further.
 
5212
    if test -x /sbin/sysctl; then
 
5213
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
5214
    elif test -x /usr/sbin/sysctl; then
 
5215
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
5216
    else
 
5217
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
5218
    fi
 
5219
    # And add a safety zone
 
5220
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
5221
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
5222
    ;;
 
5223
 
 
5224
  interix*)
 
5225
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
5226
    lt_cv_sys_max_cmd_len=196608
 
5227
    ;;
 
5228
 
 
5229
  os2*)
 
5230
    # The test takes a long time on OS/2.
 
5231
    lt_cv_sys_max_cmd_len=8192
 
5232
    ;;
 
5233
 
 
5234
  osf*)
 
5235
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
5236
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
5237
    # nice to cause kernel panics so lets avoid the loop below.
 
5238
    # First set a reasonable default.
 
5239
    lt_cv_sys_max_cmd_len=16384
 
5240
    #
 
5241
    if test -x /sbin/sysconfig; then
 
5242
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
5243
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
5244
      esac
 
5245
    fi
 
5246
    ;;
 
5247
  sco3.2v5*)
 
5248
    lt_cv_sys_max_cmd_len=102400
 
5249
    ;;
 
5250
  sysv5* | sco5v6* | sysv4.2uw2*)
 
5251
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
5252
    if test -n "$kargmax"; then
 
5253
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
 
5254
    else
 
5255
      lt_cv_sys_max_cmd_len=32768
 
5256
    fi
 
5257
    ;;
 
5258
  *)
 
5259
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
5260
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
5261
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
5262
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
5263
    else
 
5264
      # Make teststring a little bigger before we do anything with it.
 
5265
      # a 1K string should be a reasonable start.
 
5266
      for i in 1 2 3 4 5 6 7 8 ; do
 
5267
        teststring=$teststring$teststring
 
5268
      done
 
5269
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
5270
      # If test is not a shell built-in, we'll probably end up computing a
 
5271
      # maximum length that is only half of the actual maximum length, but
 
5272
      # we can't tell.
 
5273
      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
 
5274
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
 
5275
              test $i != 17 # 1/2 MB should be enough
 
5276
      do
 
5277
        i=`expr $i + 1`
 
5278
        teststring=$teststring$teststring
 
5279
      done
 
5280
      # Only check the string length outside the loop.
 
5281
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 
5282
      teststring=
 
5283
      # Add a significant safety factor because C++ compilers can tack on
 
5284
      # massive amounts of additional arguments before passing them to the
 
5285
      # linker.  It appears as though 1/2 is a usable value.
 
5286
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
5287
    fi
 
5288
    ;;
 
5289
  esac
 
5290
 
 
5291
fi
 
5292
 
 
5293
if test -n $lt_cv_sys_max_cmd_len ; then
 
5294
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
 
5295
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
 
5296
else
 
5297
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
 
5298
$as_echo "none" >&6; }
 
5299
fi
 
5300
max_cmd_len=$lt_cv_sys_max_cmd_len
 
5301
 
 
5302
 
 
5303
 
 
5304
 
 
5305
 
 
5306
 
 
5307
: ${CP="cp -f"}
 
5308
: ${MV="mv -f"}
 
5309
: ${RM="rm -f"}
 
5310
 
 
5311
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
 
5312
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
 
5313
# Try some XSI features
 
5314
xsi_shell=no
 
5315
( _lt_dummy="a/b/c"
 
5316
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
 
5317
      = c,a/b,b/c, \
 
5318
    && eval 'test $(( 1 + 1 )) -eq 2 \
 
5319
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 
5320
  && xsi_shell=yes
 
5321
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
 
5322
$as_echo "$xsi_shell" >&6; }
 
5323
 
 
5324
 
 
5325
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
 
5326
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
 
5327
lt_shell_append=no
 
5328
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
 
5329
    >/dev/null 2>&1 \
 
5330
  && lt_shell_append=yes
 
5331
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
 
5332
$as_echo "$lt_shell_append" >&6; }
 
5333
 
 
5334
 
 
5335
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
5336
  lt_unset=unset
 
5337
else
 
5338
  lt_unset=false
 
5339
fi
 
5340
 
 
5341
 
 
5342
 
 
5343
 
 
5344
 
 
5345
# test EBCDIC or ASCII
 
5346
case `echo X|tr X '\101'` in
 
5347
 A) # ASCII based system
 
5348
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 
5349
  lt_SP2NL='tr \040 \012'
 
5350
  lt_NL2SP='tr \015\012 \040\040'
 
5351
  ;;
 
5352
 *) # EBCDIC based system
 
5353
  lt_SP2NL='tr \100 \n'
 
5354
  lt_NL2SP='tr \r\n \100\100'
 
5355
  ;;
 
5356
esac
 
5357
 
 
5358
 
 
5359
 
 
5360
 
 
5361
 
 
5362
 
 
5363
 
 
5364
 
 
5365
 
 
5366
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
 
5367
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
 
5368
if ${lt_cv_to_host_file_cmd+:} false; then :
 
5369
  $as_echo_n "(cached) " >&6
 
5370
else
 
5371
  case $host in
 
5372
  *-*-mingw* )
 
5373
    case $build in
 
5374
      *-*-mingw* ) # actually msys
 
5375
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
 
5376
        ;;
 
5377
      *-*-cygwin* )
 
5378
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
 
5379
        ;;
 
5380
      * ) # otherwise, assume *nix
 
5381
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
 
5382
        ;;
 
5383
    esac
 
5384
    ;;
 
5385
  *-*-cygwin* )
 
5386
    case $build in
 
5387
      *-*-mingw* ) # actually msys
 
5388
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
 
5389
        ;;
 
5390
      *-*-cygwin* )
 
5391
        lt_cv_to_host_file_cmd=func_convert_file_noop
 
5392
        ;;
 
5393
      * ) # otherwise, assume *nix
 
5394
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
 
5395
        ;;
 
5396
    esac
 
5397
    ;;
 
5398
  * ) # unhandled hosts (and "normal" native builds)
 
5399
    lt_cv_to_host_file_cmd=func_convert_file_noop
 
5400
    ;;
 
5401
esac
 
5402
 
 
5403
fi
 
5404
 
 
5405
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
5406
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
 
5407
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
 
5408
 
 
5409
 
 
5410
 
 
5411
 
 
5412
 
 
5413
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
 
5414
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
 
5415
if ${lt_cv_to_tool_file_cmd+:} false; then :
 
5416
  $as_echo_n "(cached) " >&6
 
5417
else
 
5418
  #assume ordinary cross tools, or native build.
 
5419
lt_cv_to_tool_file_cmd=func_convert_file_noop
 
5420
case $host in
 
5421
  *-*-mingw* )
 
5422
    case $build in
 
5423
      *-*-mingw* ) # actually msys
 
5424
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
 
5425
        ;;
 
5426
    esac
 
5427
    ;;
 
5428
esac
 
5429
 
 
5430
fi
 
5431
 
 
5432
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
5433
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
 
5434
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
 
5435
 
 
5436
 
 
5437
 
 
5438
 
 
5439
 
 
5440
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
 
5441
$as_echo_n "checking for $LD option to reload object files... " >&6; }
 
5442
if ${lt_cv_ld_reload_flag+:} false; then :
 
5443
  $as_echo_n "(cached) " >&6
 
5444
else
 
5445
  lt_cv_ld_reload_flag='-r'
 
5446
fi
 
5447
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
 
5448
$as_echo "$lt_cv_ld_reload_flag" >&6; }
 
5449
reload_flag=$lt_cv_ld_reload_flag
 
5450
case $reload_flag in
 
5451
"" | " "*) ;;
 
5452
*) reload_flag=" $reload_flag" ;;
 
5453
esac
 
5454
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
5455
case $host_os in
 
5456
  cygwin* | mingw* | pw32* | cegcc*)
 
5457
    if test "$GCC" != yes; then
 
5458
      reload_cmds=false
 
5459
    fi
 
5460
    ;;
 
5461
  darwin*)
 
5462
    if test "$GCC" = yes; then
 
5463
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
5464
    else
 
5465
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
5466
    fi
 
5467
    ;;
 
5468
esac
 
5469
 
 
5470
 
 
5471
 
 
5472
 
 
5473
 
 
5474
 
 
5475
 
 
5476
 
 
5477
 
 
5478
if test -n "$ac_tool_prefix"; then
 
5479
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
5480
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
5481
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5482
$as_echo_n "checking for $ac_word... " >&6; }
 
5483
if ${ac_cv_prog_OBJDUMP+:} false; then :
 
5484
  $as_echo_n "(cached) " >&6
 
5485
else
 
5486
  if test -n "$OBJDUMP"; then
 
5487
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
5488
else
 
5489
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5490
for as_dir in $PATH
 
5491
do
 
5492
  IFS=$as_save_IFS
 
5493
  test -z "$as_dir" && as_dir=.
 
5494
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5495
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5496
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
5497
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5498
    break 2
 
5499
  fi
 
5500
done
 
5501
  done
 
5502
IFS=$as_save_IFS
 
5503
 
 
5504
fi
 
5505
fi
 
5506
OBJDUMP=$ac_cv_prog_OBJDUMP
 
5507
if test -n "$OBJDUMP"; then
 
5508
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
 
5509
$as_echo "$OBJDUMP" >&6; }
 
5510
else
 
5511
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5512
$as_echo "no" >&6; }
 
5513
fi
 
5514
 
 
5515
 
 
5516
fi
 
5517
if test -z "$ac_cv_prog_OBJDUMP"; then
 
5518
  ac_ct_OBJDUMP=$OBJDUMP
 
5519
  # Extract the first word of "objdump", so it can be a program name with args.
 
5520
set dummy objdump; ac_word=$2
 
5521
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5522
$as_echo_n "checking for $ac_word... " >&6; }
 
5523
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
 
5524
  $as_echo_n "(cached) " >&6
 
5525
else
 
5526
  if test -n "$ac_ct_OBJDUMP"; then
 
5527
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
5528
else
 
5529
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5530
for as_dir in $PATH
 
5531
do
 
5532
  IFS=$as_save_IFS
 
5533
  test -z "$as_dir" && as_dir=.
 
5534
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5535
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5536
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
5537
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5538
    break 2
 
5539
  fi
 
5540
done
 
5541
  done
 
5542
IFS=$as_save_IFS
 
5543
 
 
5544
fi
 
5545
fi
 
5546
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
5547
if test -n "$ac_ct_OBJDUMP"; then
 
5548
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
 
5549
$as_echo "$ac_ct_OBJDUMP" >&6; }
 
5550
else
 
5551
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5552
$as_echo "no" >&6; }
 
5553
fi
 
5554
 
 
5555
  if test "x$ac_ct_OBJDUMP" = x; then
 
5556
    OBJDUMP="false"
 
5557
  else
 
5558
    case $cross_compiling:$ac_tool_warned in
 
5559
yes:)
 
5560
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5561
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5562
ac_tool_warned=yes ;;
 
5563
esac
 
5564
    OBJDUMP=$ac_ct_OBJDUMP
 
5565
  fi
 
5566
else
 
5567
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
5568
fi
 
5569
 
 
5570
test -z "$OBJDUMP" && OBJDUMP=objdump
 
5571
 
 
5572
 
 
5573
 
 
5574
 
 
5575
 
 
5576
 
 
5577
 
 
5578
 
 
5579
 
 
5580
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
 
5581
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
 
5582
if ${lt_cv_deplibs_check_method+:} false; then :
 
5583
  $as_echo_n "(cached) " >&6
 
5584
else
 
5585
  lt_cv_file_magic_cmd='$MAGIC_CMD'
 
5586
lt_cv_file_magic_test_file=
 
5587
lt_cv_deplibs_check_method='unknown'
 
5588
# Need to set the preceding variable on all platforms that support
 
5589
# interlibrary dependencies.
 
5590
# 'none' -- dependencies not supported.
 
5591
# `unknown' -- same as none, but documents that we really don't know.
 
5592
# 'pass_all' -- all dependencies passed with no checks.
 
5593
# 'test_compile' -- check by making test program.
 
5594
# 'file_magic [[regex]]' -- check by looking for files in library path
 
5595
# which responds to the $file_magic_cmd with a given extended regex.
 
5596
# If you have `file' or equivalent on your system and you're not sure
 
5597
# whether `pass_all' will *always* work, you probably want this one.
 
5598
 
 
5599
case $host_os in
 
5600
aix[4-9]*)
 
5601
  lt_cv_deplibs_check_method=pass_all
 
5602
  ;;
 
5603
 
 
5604
beos*)
 
5605
  lt_cv_deplibs_check_method=pass_all
 
5606
  ;;
 
5607
 
 
5608
bsdi[45]*)
 
5609
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
 
5610
  lt_cv_file_magic_cmd='/usr/bin/file -L'
 
5611
  lt_cv_file_magic_test_file=/shlib/libc.so
 
5612
  ;;
 
5613
 
 
5614
cygwin*)
 
5615
  # func_win32_libid is a shell function defined in ltmain.sh
 
5616
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
5617
  lt_cv_file_magic_cmd='func_win32_libid'
 
5618
  ;;
 
5619
 
 
5620
mingw* | pw32*)
 
5621
  # Base MSYS/MinGW do not provide the 'file' command needed by
 
5622
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 
5623
  # unless we find 'file', for example because we are cross-compiling.
 
5624
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
 
5625
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
 
5626
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
5627
    lt_cv_file_magic_cmd='func_win32_libid'
 
5628
  else
 
5629
    # Keep this pattern in sync with the one in func_win32_libid.
 
5630
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
 
5631
    lt_cv_file_magic_cmd='$OBJDUMP -f'
 
5632
  fi
 
5633
  ;;
 
5634
 
 
5635
cegcc*)
 
5636
  # use the weaker test based on 'objdump'. See mingw*.
 
5637
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 
5638
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
5639
  ;;
 
5640
 
 
5641
darwin* | rhapsody*)
 
5642
  lt_cv_deplibs_check_method=pass_all
 
5643
  ;;
 
5644
 
 
5645
freebsd* | dragonfly*)
 
5646
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
5647
    case $host_cpu in
 
5648
    i*86 )
 
5649
      # Not sure whether the presence of OpenBSD here was a mistake.
 
5650
      # Let's accept both of them until this is cleared up.
 
5651
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
 
5652
      lt_cv_file_magic_cmd=/usr/bin/file
 
5653
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 
5654
      ;;
 
5655
    esac
 
5656
  else
 
5657
    lt_cv_deplibs_check_method=pass_all
 
5658
  fi
 
5659
  ;;
 
5660
 
 
5661
gnu*)
 
5662
  lt_cv_deplibs_check_method=pass_all
 
5663
  ;;
 
5664
 
 
5665
haiku*)
 
5666
  lt_cv_deplibs_check_method=pass_all
 
5667
  ;;
 
5668
 
 
5669
hpux10.20* | hpux11*)
 
5670
  lt_cv_file_magic_cmd=/usr/bin/file
 
5671
  case $host_cpu in
 
5672
  ia64*)
 
5673
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
 
5674
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
 
5675
    ;;
 
5676
  hppa*64*)
 
5677
    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]'
 
5678
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
 
5679
    ;;
 
5680
  *)
 
5681
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
 
5682
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
 
5683
    ;;
 
5684
  esac
 
5685
  ;;
 
5686
 
 
5687
interix[3-9]*)
 
5688
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 
5689
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
 
5690
  ;;
 
5691
 
 
5692
irix5* | irix6* | nonstopux*)
 
5693
  case $LD in
 
5694
  *-32|*"-32 ") libmagic=32-bit;;
 
5695
  *-n32|*"-n32 ") libmagic=N32;;
 
5696
  *-64|*"-64 ") libmagic=64-bit;;
 
5697
  *) libmagic=never-match;;
 
5698
  esac
 
5699
  lt_cv_deplibs_check_method=pass_all
 
5700
  ;;
 
5701
 
 
5702
# This must be glibc/ELF.
 
5703
linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
5704
  lt_cv_deplibs_check_method=pass_all
 
5705
  ;;
 
5706
 
 
5707
netbsd* | netbsdelf*-gnu)
 
5708
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
5709
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 
5710
  else
 
5711
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
 
5712
  fi
 
5713
  ;;
 
5714
 
 
5715
newos6*)
 
5716
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
 
5717
  lt_cv_file_magic_cmd=/usr/bin/file
 
5718
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
 
5719
  ;;
 
5720
 
 
5721
*nto* | *qnx*)
 
5722
  lt_cv_deplibs_check_method=pass_all
 
5723
  ;;
 
5724
 
 
5725
openbsd*)
 
5726
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
5727
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
 
5728
  else
 
5729
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 
5730
  fi
 
5731
  ;;
 
5732
 
 
5733
osf3* | osf4* | osf5*)
 
5734
  lt_cv_deplibs_check_method=pass_all
 
5735
  ;;
 
5736
 
 
5737
rdos*)
 
5738
  lt_cv_deplibs_check_method=pass_all
 
5739
  ;;
 
5740
 
 
5741
solaris*)
 
5742
  lt_cv_deplibs_check_method=pass_all
 
5743
  ;;
 
5744
 
 
5745
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
5746
  lt_cv_deplibs_check_method=pass_all
 
5747
  ;;
 
5748
 
 
5749
sysv4 | sysv4.3*)
 
5750
  case $host_vendor in
 
5751
  motorola)
 
5752
    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]'
 
5753
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
 
5754
    ;;
 
5755
  ncr)
 
5756
    lt_cv_deplibs_check_method=pass_all
 
5757
    ;;
 
5758
  sequent)
 
5759
    lt_cv_file_magic_cmd='/bin/file'
 
5760
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
 
5761
    ;;
 
5762
  sni)
 
5763
    lt_cv_file_magic_cmd='/bin/file'
 
5764
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
 
5765
    lt_cv_file_magic_test_file=/lib/libc.so
 
5766
    ;;
 
5767
  siemens)
 
5768
    lt_cv_deplibs_check_method=pass_all
 
5769
    ;;
 
5770
  pc)
 
5771
    lt_cv_deplibs_check_method=pass_all
 
5772
    ;;
 
5773
  esac
 
5774
  ;;
 
5775
 
 
5776
tpf*)
 
5777
  lt_cv_deplibs_check_method=pass_all
 
5778
  ;;
 
5779
esac
 
5780
 
 
5781
fi
 
5782
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
 
5783
$as_echo "$lt_cv_deplibs_check_method" >&6; }
 
5784
 
 
5785
file_magic_glob=
 
5786
want_nocaseglob=no
 
5787
if test "$build" = "$host"; then
 
5788
  case $host_os in
 
5789
  mingw* | pw32*)
 
5790
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
 
5791
      want_nocaseglob=yes
 
5792
    else
 
5793
      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
 
5794
    fi
 
5795
    ;;
 
5796
  esac
 
5797
fi
 
5798
 
 
5799
file_magic_cmd=$lt_cv_file_magic_cmd
 
5800
deplibs_check_method=$lt_cv_deplibs_check_method
 
5801
test -z "$deplibs_check_method" && deplibs_check_method=unknown
 
5802
 
 
5803
 
 
5804
 
 
5805
 
 
5806
 
 
5807
 
 
5808
 
 
5809
 
 
5810
 
 
5811
 
 
5812
 
 
5813
 
 
5814
 
 
5815
 
 
5816
 
 
5817
 
 
5818
 
 
5819
 
 
5820
 
 
5821
 
 
5822
 
 
5823
 
 
5824
if test -n "$ac_tool_prefix"; then
 
5825
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 
5826
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 
5827
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5828
$as_echo_n "checking for $ac_word... " >&6; }
 
5829
if ${ac_cv_prog_DLLTOOL+:} false; then :
 
5830
  $as_echo_n "(cached) " >&6
 
5831
else
 
5832
  if test -n "$DLLTOOL"; then
 
5833
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 
5834
else
 
5835
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5836
for as_dir in $PATH
 
5837
do
 
5838
  IFS=$as_save_IFS
 
5839
  test -z "$as_dir" && as_dir=.
 
5840
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5841
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5842
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 
5843
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5844
    break 2
 
5845
  fi
 
5846
done
 
5847
  done
 
5848
IFS=$as_save_IFS
 
5849
 
 
5850
fi
 
5851
fi
 
5852
DLLTOOL=$ac_cv_prog_DLLTOOL
 
5853
if test -n "$DLLTOOL"; then
 
5854
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 
5855
$as_echo "$DLLTOOL" >&6; }
 
5856
else
 
5857
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5858
$as_echo "no" >&6; }
 
5859
fi
 
5860
 
 
5861
 
 
5862
fi
 
5863
if test -z "$ac_cv_prog_DLLTOOL"; then
 
5864
  ac_ct_DLLTOOL=$DLLTOOL
 
5865
  # Extract the first word of "dlltool", so it can be a program name with args.
 
5866
set dummy dlltool; ac_word=$2
 
5867
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5868
$as_echo_n "checking for $ac_word... " >&6; }
 
5869
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
 
5870
  $as_echo_n "(cached) " >&6
 
5871
else
 
5872
  if test -n "$ac_ct_DLLTOOL"; then
 
5873
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 
5874
else
 
5875
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5876
for as_dir in $PATH
 
5877
do
 
5878
  IFS=$as_save_IFS
 
5879
  test -z "$as_dir" && as_dir=.
 
5880
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5881
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5882
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 
5883
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5884
    break 2
 
5885
  fi
 
5886
done
 
5887
  done
 
5888
IFS=$as_save_IFS
 
5889
 
 
5890
fi
 
5891
fi
 
5892
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 
5893
if test -n "$ac_ct_DLLTOOL"; then
 
5894
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 
5895
$as_echo "$ac_ct_DLLTOOL" >&6; }
 
5896
else
 
5897
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5898
$as_echo "no" >&6; }
 
5899
fi
 
5900
 
 
5901
  if test "x$ac_ct_DLLTOOL" = x; then
 
5902
    DLLTOOL="false"
 
5903
  else
 
5904
    case $cross_compiling:$ac_tool_warned in
 
5905
yes:)
 
5906
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5907
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5908
ac_tool_warned=yes ;;
 
5909
esac
 
5910
    DLLTOOL=$ac_ct_DLLTOOL
 
5911
  fi
 
5912
else
 
5913
  DLLTOOL="$ac_cv_prog_DLLTOOL"
 
5914
fi
 
5915
 
 
5916
test -z "$DLLTOOL" && DLLTOOL=dlltool
 
5917
 
 
5918
 
 
5919
 
 
5920
 
 
5921
 
 
5922
 
 
5923
 
 
5924
 
 
5925
 
 
5926
 
 
5927
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
 
5928
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
 
5929
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
 
5930
  $as_echo_n "(cached) " >&6
 
5931
else
 
5932
  lt_cv_sharedlib_from_linklib_cmd='unknown'
 
5933
 
 
5934
case $host_os in
 
5935
cygwin* | mingw* | pw32* | cegcc*)
 
5936
  # two different shell functions defined in ltmain.sh
 
5937
  # decide which to use based on capabilities of $DLLTOOL
 
5938
  case `$DLLTOOL --help 2>&1` in
 
5939
  *--identify-strict*)
 
5940
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
 
5941
    ;;
 
5942
  *)
 
5943
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
 
5944
    ;;
 
5945
  esac
 
5946
  ;;
 
5947
*)
 
5948
  # fallback: assume linklib IS sharedlib
 
5949
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
 
5950
  ;;
 
5951
esac
 
5952
 
 
5953
fi
 
5954
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
 
5955
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
 
5956
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
 
5957
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
 
5958
 
 
5959
 
 
5960
 
 
5961
 
 
5962
 
 
5963
 
 
5964
 
 
5965
if test -n "$ac_tool_prefix"; then
 
5966
  for ac_prog in ar
 
5967
  do
 
5968
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
5969
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
5970
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5971
$as_echo_n "checking for $ac_word... " >&6; }
 
5972
if ${ac_cv_prog_AR+:} false; then :
 
5973
  $as_echo_n "(cached) " >&6
 
5974
else
 
5975
  if test -n "$AR"; then
 
5976
  ac_cv_prog_AR="$AR" # Let the user override the test.
 
5977
else
 
5978
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5979
for as_dir in $PATH
 
5980
do
 
5981
  IFS=$as_save_IFS
 
5982
  test -z "$as_dir" && as_dir=.
 
5983
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5984
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5985
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
 
5986
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5987
    break 2
 
5988
  fi
 
5989
done
 
5990
  done
 
5991
IFS=$as_save_IFS
 
5992
 
 
5993
fi
 
5994
fi
 
5995
AR=$ac_cv_prog_AR
 
5996
if test -n "$AR"; then
 
5997
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
 
5998
$as_echo "$AR" >&6; }
 
5999
else
 
6000
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6001
$as_echo "no" >&6; }
 
6002
fi
 
6003
 
 
6004
 
 
6005
    test -n "$AR" && break
 
6006
  done
 
6007
fi
 
6008
if test -z "$AR"; then
 
6009
  ac_ct_AR=$AR
 
6010
  for ac_prog in ar
 
6011
do
 
6012
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
6013
set dummy $ac_prog; ac_word=$2
 
6014
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6015
$as_echo_n "checking for $ac_word... " >&6; }
 
6016
if ${ac_cv_prog_ac_ct_AR+:} false; then :
 
6017
  $as_echo_n "(cached) " >&6
 
6018
else
 
6019
  if test -n "$ac_ct_AR"; then
 
6020
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 
6021
else
 
6022
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6023
for as_dir in $PATH
 
6024
do
 
6025
  IFS=$as_save_IFS
 
6026
  test -z "$as_dir" && as_dir=.
 
6027
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6028
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6029
    ac_cv_prog_ac_ct_AR="$ac_prog"
 
6030
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6031
    break 2
 
6032
  fi
 
6033
done
 
6034
  done
 
6035
IFS=$as_save_IFS
 
6036
 
 
6037
fi
 
6038
fi
 
6039
ac_ct_AR=$ac_cv_prog_ac_ct_AR
 
6040
if test -n "$ac_ct_AR"; then
 
6041
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
 
6042
$as_echo "$ac_ct_AR" >&6; }
 
6043
else
 
6044
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6045
$as_echo "no" >&6; }
 
6046
fi
 
6047
 
 
6048
 
 
6049
  test -n "$ac_ct_AR" && break
 
6050
done
 
6051
 
 
6052
  if test "x$ac_ct_AR" = x; then
 
6053
    AR="false"
 
6054
  else
 
6055
    case $cross_compiling:$ac_tool_warned in
 
6056
yes:)
 
6057
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6058
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6059
ac_tool_warned=yes ;;
 
6060
esac
 
6061
    AR=$ac_ct_AR
 
6062
  fi
 
6063
fi
 
6064
 
 
6065
: ${AR=ar}
 
6066
: ${AR_FLAGS=cru}
 
6067
 
 
6068
 
 
6069
 
 
6070
 
 
6071
 
 
6072
 
 
6073
 
 
6074
 
 
6075
 
 
6076
 
 
6077
 
 
6078
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
 
6079
$as_echo_n "checking for archiver @FILE support... " >&6; }
 
6080
if ${lt_cv_ar_at_file+:} false; then :
 
6081
  $as_echo_n "(cached) " >&6
 
6082
else
 
6083
  lt_cv_ar_at_file=no
 
6084
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6085
/* end confdefs.h.  */
 
6086
 
 
6087
int
 
6088
main ()
 
6089
{
 
6090
 
 
6091
  ;
 
6092
  return 0;
 
6093
}
 
6094
_ACEOF
 
6095
if ac_fn_c_try_compile "$LINENO"; then :
 
6096
  echo conftest.$ac_objext > conftest.lst
 
6097
      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
 
6098
      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
6099
  (eval $lt_ar_try) 2>&5
 
6100
  ac_status=$?
 
6101
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6102
  test $ac_status = 0; }
 
6103
      if test "$ac_status" -eq 0; then
 
6104
        # Ensure the archiver fails upon bogus file names.
 
6105
        rm -f conftest.$ac_objext libconftest.a
 
6106
        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
6107
  (eval $lt_ar_try) 2>&5
 
6108
  ac_status=$?
 
6109
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6110
  test $ac_status = 0; }
 
6111
        if test "$ac_status" -ne 0; then
 
6112
          lt_cv_ar_at_file=@
 
6113
        fi
 
6114
      fi
 
6115
      rm -f conftest.* libconftest.a
 
6116
 
 
6117
fi
 
6118
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6119
 
 
6120
fi
 
6121
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
 
6122
$as_echo "$lt_cv_ar_at_file" >&6; }
 
6123
 
 
6124
if test "x$lt_cv_ar_at_file" = xno; then
 
6125
  archiver_list_spec=
 
6126
else
 
6127
  archiver_list_spec=$lt_cv_ar_at_file
 
6128
fi
 
6129
 
 
6130
 
 
6131
 
 
6132
 
 
6133
 
 
6134
 
 
6135
 
 
6136
if test -n "$ac_tool_prefix"; then
 
6137
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
6138
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
6139
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6140
$as_echo_n "checking for $ac_word... " >&6; }
 
6141
if ${ac_cv_prog_STRIP+:} false; then :
 
6142
  $as_echo_n "(cached) " >&6
 
6143
else
 
6144
  if test -n "$STRIP"; then
 
6145
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
6146
else
 
6147
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6148
for as_dir in $PATH
 
6149
do
 
6150
  IFS=$as_save_IFS
 
6151
  test -z "$as_dir" && as_dir=.
 
6152
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6153
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6154
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
6155
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6156
    break 2
 
6157
  fi
 
6158
done
 
6159
  done
 
6160
IFS=$as_save_IFS
 
6161
 
 
6162
fi
 
6163
fi
 
6164
STRIP=$ac_cv_prog_STRIP
 
6165
if test -n "$STRIP"; then
 
6166
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
6167
$as_echo "$STRIP" >&6; }
 
6168
else
 
6169
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6170
$as_echo "no" >&6; }
 
6171
fi
 
6172
 
 
6173
 
 
6174
fi
 
6175
if test -z "$ac_cv_prog_STRIP"; then
 
6176
  ac_ct_STRIP=$STRIP
 
6177
  # Extract the first word of "strip", so it can be a program name with args.
 
6178
set dummy strip; ac_word=$2
 
6179
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6180
$as_echo_n "checking for $ac_word... " >&6; }
 
6181
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 
6182
  $as_echo_n "(cached) " >&6
 
6183
else
 
6184
  if test -n "$ac_ct_STRIP"; then
 
6185
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
6186
else
 
6187
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6188
for as_dir in $PATH
 
6189
do
 
6190
  IFS=$as_save_IFS
 
6191
  test -z "$as_dir" && as_dir=.
 
6192
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6193
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6194
    ac_cv_prog_ac_ct_STRIP="strip"
 
6195
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6196
    break 2
 
6197
  fi
 
6198
done
 
6199
  done
 
6200
IFS=$as_save_IFS
 
6201
 
 
6202
fi
 
6203
fi
 
6204
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
6205
if test -n "$ac_ct_STRIP"; then
 
6206
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
6207
$as_echo "$ac_ct_STRIP" >&6; }
 
6208
else
 
6209
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6210
$as_echo "no" >&6; }
 
6211
fi
 
6212
 
 
6213
  if test "x$ac_ct_STRIP" = x; then
 
6214
    STRIP=":"
 
6215
  else
 
6216
    case $cross_compiling:$ac_tool_warned in
 
6217
yes:)
 
6218
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6219
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6220
ac_tool_warned=yes ;;
 
6221
esac
 
6222
    STRIP=$ac_ct_STRIP
 
6223
  fi
 
6224
else
 
6225
  STRIP="$ac_cv_prog_STRIP"
 
6226
fi
 
6227
 
 
6228
test -z "$STRIP" && STRIP=:
 
6229
 
 
6230
 
 
6231
 
 
6232
 
 
6233
 
 
6234
 
 
6235
if test -n "$ac_tool_prefix"; then
 
6236
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
6237
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
6238
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6239
$as_echo_n "checking for $ac_word... " >&6; }
 
6240
if ${ac_cv_prog_RANLIB+:} false; then :
 
6241
  $as_echo_n "(cached) " >&6
 
6242
else
 
6243
  if test -n "$RANLIB"; then
 
6244
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
6245
else
 
6246
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6247
for as_dir in $PATH
 
6248
do
 
6249
  IFS=$as_save_IFS
 
6250
  test -z "$as_dir" && as_dir=.
 
6251
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6252
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6253
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
6254
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6255
    break 2
 
6256
  fi
 
6257
done
 
6258
  done
 
6259
IFS=$as_save_IFS
 
6260
 
 
6261
fi
 
6262
fi
 
6263
RANLIB=$ac_cv_prog_RANLIB
 
6264
if test -n "$RANLIB"; then
 
6265
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 
6266
$as_echo "$RANLIB" >&6; }
 
6267
else
 
6268
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6269
$as_echo "no" >&6; }
 
6270
fi
 
6271
 
 
6272
 
 
6273
fi
 
6274
if test -z "$ac_cv_prog_RANLIB"; then
 
6275
  ac_ct_RANLIB=$RANLIB
 
6276
  # Extract the first word of "ranlib", so it can be a program name with args.
 
6277
set dummy ranlib; ac_word=$2
 
6278
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6279
$as_echo_n "checking for $ac_word... " >&6; }
 
6280
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
 
6281
  $as_echo_n "(cached) " >&6
 
6282
else
 
6283
  if test -n "$ac_ct_RANLIB"; then
 
6284
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
6285
else
 
6286
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6287
for as_dir in $PATH
 
6288
do
 
6289
  IFS=$as_save_IFS
 
6290
  test -z "$as_dir" && as_dir=.
 
6291
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6292
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6293
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
6294
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6295
    break 2
 
6296
  fi
 
6297
done
 
6298
  done
 
6299
IFS=$as_save_IFS
 
6300
 
 
6301
fi
 
6302
fi
 
6303
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
6304
if test -n "$ac_ct_RANLIB"; then
 
6305
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 
6306
$as_echo "$ac_ct_RANLIB" >&6; }
 
6307
else
 
6308
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6309
$as_echo "no" >&6; }
 
6310
fi
 
6311
 
 
6312
  if test "x$ac_ct_RANLIB" = x; then
 
6313
    RANLIB=":"
 
6314
  else
 
6315
    case $cross_compiling:$ac_tool_warned in
 
6316
yes:)
 
6317
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6318
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6319
ac_tool_warned=yes ;;
 
6320
esac
 
6321
    RANLIB=$ac_ct_RANLIB
 
6322
  fi
 
6323
else
 
6324
  RANLIB="$ac_cv_prog_RANLIB"
 
6325
fi
 
6326
 
 
6327
test -z "$RANLIB" && RANLIB=:
 
6328
 
 
6329
 
 
6330
 
 
6331
 
 
6332
 
 
6333
 
 
6334
# Determine commands to create old-style static archives.
 
6335
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 
6336
old_postinstall_cmds='chmod 644 $oldlib'
 
6337
old_postuninstall_cmds=
 
6338
 
 
6339
if test -n "$RANLIB"; then
 
6340
  case $host_os in
 
6341
  openbsd*)
 
6342
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
 
6343
    ;;
 
6344
  *)
 
6345
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
 
6346
    ;;
 
6347
  esac
 
6348
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
 
6349
fi
 
6350
 
 
6351
case $host_os in
 
6352
  darwin*)
 
6353
    lock_old_archive_extraction=yes ;;
 
6354
  *)
 
6355
    lock_old_archive_extraction=no ;;
 
6356
esac
 
6357
 
 
6358
 
 
6359
 
 
6360
 
 
6361
 
 
6362
 
 
6363
 
 
6364
 
 
6365
 
 
6366
 
 
6367
 
 
6368
 
 
6369
 
 
6370
 
 
6371
 
 
6372
 
 
6373
 
 
6374
 
 
6375
 
 
6376
 
 
6377
 
 
6378
 
 
6379
 
 
6380
 
 
6381
 
 
6382
 
 
6383
 
 
6384
 
 
6385
 
 
6386
 
 
6387
 
 
6388
 
 
6389
 
 
6390
 
 
6391
 
 
6392
 
 
6393
 
 
6394
 
 
6395
 
 
6396
# If no C compiler was specified, use CC.
 
6397
LTCC=${LTCC-"$CC"}
 
6398
 
 
6399
# If no C compiler flags were specified, use CFLAGS.
 
6400
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
6401
 
 
6402
# Allow CC to be a program name with arguments.
 
6403
compiler=$CC
 
6404
 
 
6405
 
 
6406
# Check for command to grab the raw symbol name followed by C symbol from nm.
 
6407
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
 
6408
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
 
6409
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
 
6410
  $as_echo_n "(cached) " >&6
 
6411
else
 
6412
 
 
6413
# These are sane defaults that work on at least a few old systems.
 
6414
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
 
6415
 
 
6416
# Character class describing NM global symbol codes.
 
6417
symcode='[BCDEGRST]'
 
6418
 
 
6419
# Regexp to match symbols that can be accessed directly from C.
 
6420
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
 
6421
 
 
6422
# Define system-specific variables.
 
6423
case $host_os in
 
6424
aix*)
 
6425
  symcode='[BCDT]'
 
6426
  ;;
 
6427
cygwin* | mingw* | pw32* | cegcc*)
 
6428
  symcode='[ABCDGISTW]'
 
6429
  ;;
 
6430
hpux*)
 
6431
  if test "$host_cpu" = ia64; then
 
6432
    symcode='[ABCDEGRST]'
 
6433
  fi
 
6434
  ;;
 
6435
irix* | nonstopux*)
 
6436
  symcode='[BCDEGRST]'
 
6437
  ;;
 
6438
osf*)
 
6439
  symcode='[BCDEGQRST]'
 
6440
  ;;
 
6441
solaris*)
 
6442
  symcode='[BDRT]'
 
6443
  ;;
 
6444
sco3.2v5*)
 
6445
  symcode='[DT]'
 
6446
  ;;
 
6447
sysv4.2uw2*)
 
6448
  symcode='[DT]'
 
6449
  ;;
 
6450
sysv5* | sco5v6* | unixware* | OpenUNIX*)
 
6451
  symcode='[ABDT]'
 
6452
  ;;
 
6453
sysv4)
 
6454
  symcode='[DFNSTU]'
 
6455
  ;;
 
6456
esac
 
6457
 
 
6458
# If we're using GNU nm, then use its standard symbol codes.
 
6459
case `$NM -V 2>&1` in
 
6460
*GNU* | *'with BFD'*)
 
6461
  symcode='[ABCDGIRSTW]' ;;
 
6462
esac
 
6463
 
 
6464
# Transform an extracted symbol line into a proper C declaration.
 
6465
# Some systems (esp. on ia64) link data and code symbols differently,
 
6466
# so use this general approach.
 
6467
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
6468
 
 
6469
# Transform an extracted symbol line into symbol name and symbol address
 
6470
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
6471
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'"
 
6472
 
 
6473
# Handle CRLF in mingw tool chain
 
6474
opt_cr=
 
6475
case $build_os in
 
6476
mingw*)
 
6477
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
6478
  ;;
 
6479
esac
 
6480
 
 
6481
# Try without a prefix underscore, then with it.
 
6482
for ac_symprfx in "" "_"; do
 
6483
 
 
6484
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
 
6485
  symxfrm="\\1 $ac_symprfx\\2 \\2"
 
6486
 
 
6487
  # Write the raw and C identifiers.
 
6488
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
6489
    # Fake it for dumpbin and say T for any non-static function
 
6490
    # and D for any global variable.
 
6491
    # Also find C++ and __fastcall symbols from MSVC++,
 
6492
    # which start with @ or ?.
 
6493
    lt_cv_sys_global_symbol_pipe="$AWK '"\
 
6494
"     {last_section=section; section=\$ 3};"\
 
6495
"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
 
6496
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 
6497
"     \$ 0!~/External *\|/{next};"\
 
6498
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 
6499
"     {if(hide[section]) next};"\
 
6500
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 
6501
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 
6502
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 
6503
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 
6504
"     ' prfx=^$ac_symprfx"
 
6505
  else
 
6506
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
6507
  fi
 
6508
  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
 
6509
 
 
6510
  # Check to see that the pipe works correctly.
 
6511
  pipe_works=no
 
6512
 
 
6513
  rm -f conftest*
 
6514
  cat > conftest.$ac_ext <<_LT_EOF
 
6515
#ifdef __cplusplus
 
6516
extern "C" {
 
6517
#endif
 
6518
char nm_test_var;
 
6519
void nm_test_func(void);
 
6520
void nm_test_func(void){}
 
6521
#ifdef __cplusplus
 
6522
}
 
6523
#endif
 
6524
int main(){nm_test_var='a';nm_test_func();return(0);}
 
6525
_LT_EOF
 
6526
 
 
6527
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
6528
  (eval $ac_compile) 2>&5
 
6529
  ac_status=$?
 
6530
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6531
  test $ac_status = 0; }; then
 
6532
    # Now try to grab the symbols.
 
6533
    nlist=conftest.nm
 
6534
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
 
6535
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
 
6536
  ac_status=$?
 
6537
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6538
  test $ac_status = 0; } && test -s "$nlist"; then
 
6539
      # Try sorting and uniquifying the output.
 
6540
      if sort "$nlist" | uniq > "$nlist"T; then
 
6541
        mv -f "$nlist"T "$nlist"
 
6542
      else
 
6543
        rm -f "$nlist"T
 
6544
      fi
 
6545
 
 
6546
      # Make sure that we snagged all the symbols we need.
 
6547
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 
6548
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 
6549
          cat <<_LT_EOF > conftest.$ac_ext
 
6550
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
 
6551
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
 
6552
/* DATA imports from DLLs on WIN32 con't be const, because runtime
 
6553
   relocations are performed -- see ld's documentation on pseudo-relocs.  */
 
6554
# define LT_DLSYM_CONST
 
6555
#elif defined(__osf__)
 
6556
/* This system does not cope well with relocations in const data.  */
 
6557
# define LT_DLSYM_CONST
 
6558
#else
 
6559
# define LT_DLSYM_CONST const
 
6560
#endif
 
6561
 
 
6562
#ifdef __cplusplus
 
6563
extern "C" {
 
6564
#endif
 
6565
 
 
6566
_LT_EOF
 
6567
          # Now generate the symbol file.
 
6568
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 
6569
 
 
6570
          cat <<_LT_EOF >> conftest.$ac_ext
 
6571
 
 
6572
/* The mapping between symbol names and symbols.  */
 
6573
LT_DLSYM_CONST struct {
 
6574
  const char *name;
 
6575
  void       *address;
 
6576
}
 
6577
lt__PROGRAM__LTX_preloaded_symbols[] =
 
6578
{
 
6579
  { "@PROGRAM@", (void *) 0 },
 
6580
_LT_EOF
 
6581
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 
6582
          cat <<\_LT_EOF >> conftest.$ac_ext
 
6583
  {0, (void *) 0}
 
6584
};
 
6585
 
 
6586
/* This works around a problem in FreeBSD linker */
 
6587
#ifdef FREEBSD_WORKAROUND
 
6588
static const void *lt_preloaded_setup() {
 
6589
  return lt__PROGRAM__LTX_preloaded_symbols;
 
6590
}
 
6591
#endif
 
6592
 
 
6593
#ifdef __cplusplus
 
6594
}
 
6595
#endif
 
6596
_LT_EOF
 
6597
          # Now try linking the two files.
 
6598
          mv conftest.$ac_objext conftstm.$ac_objext
 
6599
          lt_globsym_save_LIBS=$LIBS
 
6600
          lt_globsym_save_CFLAGS=$CFLAGS
 
6601
          LIBS="conftstm.$ac_objext"
 
6602
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
 
6603
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
6604
  (eval $ac_link) 2>&5
 
6605
  ac_status=$?
 
6606
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6607
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
 
6608
            pipe_works=yes
 
6609
          fi
 
6610
          LIBS=$lt_globsym_save_LIBS
 
6611
          CFLAGS=$lt_globsym_save_CFLAGS
 
6612
        else
 
6613
          echo "cannot find nm_test_func in $nlist" >&5
 
6614
        fi
 
6615
      else
 
6616
        echo "cannot find nm_test_var in $nlist" >&5
 
6617
      fi
 
6618
    else
 
6619
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
 
6620
    fi
 
6621
  else
 
6622
    echo "$progname: failed program was:" >&5
 
6623
    cat conftest.$ac_ext >&5
 
6624
  fi
 
6625
  rm -rf conftest* conftst*
 
6626
 
 
6627
  # Do not use the global_symbol_pipe unless it works.
 
6628
  if test "$pipe_works" = yes; then
 
6629
    break
 
6630
  else
 
6631
    lt_cv_sys_global_symbol_pipe=
 
6632
  fi
 
6633
done
 
6634
 
 
6635
fi
 
6636
 
 
6637
if test -z "$lt_cv_sys_global_symbol_pipe"; then
 
6638
  lt_cv_sys_global_symbol_to_cdecl=
 
6639
fi
 
6640
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
 
6641
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
 
6642
$as_echo "failed" >&6; }
 
6643
else
 
6644
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 
6645
$as_echo "ok" >&6; }
 
6646
fi
 
6647
 
 
6648
# Response file support.
 
6649
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
6650
  nm_file_list_spec='@'
 
6651
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
 
6652
  nm_file_list_spec='@'
 
6653
fi
 
6654
 
 
6655
 
 
6656
 
 
6657
 
 
6658
 
 
6659
 
 
6660
 
 
6661
 
 
6662
 
 
6663
 
 
6664
 
 
6665
 
 
6666
 
 
6667
 
 
6668
 
 
6669
 
 
6670
 
 
6671
 
 
6672
 
 
6673
 
 
6674
 
 
6675
 
 
6676
 
 
6677
 
 
6678
 
 
6679
 
 
6680
 
 
6681
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
 
6682
$as_echo_n "checking for sysroot... " >&6; }
 
6683
 
 
6684
# Check whether --with-sysroot was given.
 
6685
if test "${with_sysroot+set}" = set; then :
 
6686
  withval=$with_sysroot;
 
6687
else
 
6688
  with_sysroot=no
 
6689
fi
 
6690
 
 
6691
 
 
6692
lt_sysroot=
 
6693
case ${with_sysroot} in #(
 
6694
 yes)
 
6695
   if test "$GCC" = yes; then
 
6696
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
 
6697
   fi
 
6698
   ;; #(
 
6699
 /*)
 
6700
   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
 
6701
   ;; #(
 
6702
 no|'')
 
6703
   ;; #(
 
6704
 *)
 
6705
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
 
6706
$as_echo "${with_sysroot}" >&6; }
 
6707
   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
 
6708
   ;;
 
6709
esac
 
6710
 
 
6711
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 
6712
$as_echo "${lt_sysroot:-no}" >&6; }
 
6713
 
 
6714
 
 
6715
 
 
6716
 
 
6717
 
 
6718
# Check whether --enable-libtool-lock was given.
 
6719
if test "${enable_libtool_lock+set}" = set; then :
 
6720
  enableval=$enable_libtool_lock;
 
6721
fi
 
6722
 
 
6723
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
6724
 
 
6725
# Some flags need to be propagated to the compiler or linker for good
 
6726
# libtool support.
 
6727
case $host in
 
6728
ia64-*-hpux*)
 
6729
  # Find out which ABI we are using.
 
6730
  echo 'int i;' > conftest.$ac_ext
 
6731
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
6732
  (eval $ac_compile) 2>&5
 
6733
  ac_status=$?
 
6734
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6735
  test $ac_status = 0; }; then
 
6736
    case `/usr/bin/file conftest.$ac_objext` in
 
6737
      *ELF-32*)
 
6738
        HPUX_IA64_MODE="32"
 
6739
        ;;
 
6740
      *ELF-64*)
 
6741
        HPUX_IA64_MODE="64"
 
6742
        ;;
 
6743
    esac
 
6744
  fi
 
6745
  rm -rf conftest*
 
6746
  ;;
 
6747
*-*-irix6*)
 
6748
  # Find out which ABI we are using.
 
6749
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
 
6750
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
6751
  (eval $ac_compile) 2>&5
 
6752
  ac_status=$?
 
6753
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6754
  test $ac_status = 0; }; then
 
6755
    if test "$lt_cv_prog_gnu_ld" = yes; then
 
6756
      case `/usr/bin/file conftest.$ac_objext` in
 
6757
        *32-bit*)
 
6758
          LD="${LD-ld} -melf32bsmip"
 
6759
          ;;
 
6760
        *N32*)
 
6761
          LD="${LD-ld} -melf32bmipn32"
 
6762
          ;;
 
6763
        *64-bit*)
 
6764
          LD="${LD-ld} -melf64bmip"
 
6765
        ;;
 
6766
      esac
 
6767
    else
 
6768
      case `/usr/bin/file conftest.$ac_objext` in
 
6769
        *32-bit*)
 
6770
          LD="${LD-ld} -32"
 
6771
          ;;
 
6772
        *N32*)
 
6773
          LD="${LD-ld} -n32"
 
6774
          ;;
 
6775
        *64-bit*)
 
6776
          LD="${LD-ld} -64"
 
6777
          ;;
 
6778
      esac
 
6779
    fi
 
6780
  fi
 
6781
  rm -rf conftest*
 
6782
  ;;
 
6783
 
 
6784
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
6785
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 
6786
  # Find out which ABI we are using.
 
6787
  echo 'int i;' > conftest.$ac_ext
 
6788
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
6789
  (eval $ac_compile) 2>&5
 
6790
  ac_status=$?
 
6791
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6792
  test $ac_status = 0; }; then
 
6793
    case `/usr/bin/file conftest.o` in
 
6794
      *32-bit*)
 
6795
        case $host in
 
6796
          x86_64-*kfreebsd*-gnu)
 
6797
            LD="${LD-ld} -m elf_i386_fbsd"
 
6798
            ;;
 
6799
          x86_64-*linux*)
 
6800
            LD="${LD-ld} -m elf_i386"
 
6801
            ;;
 
6802
          ppc64-*linux*|powerpc64-*linux*)
 
6803
            LD="${LD-ld} -m elf32ppclinux"
 
6804
            ;;
 
6805
          s390x-*linux*)
 
6806
            LD="${LD-ld} -m elf_s390"
 
6807
            ;;
 
6808
          sparc64-*linux*)
 
6809
            LD="${LD-ld} -m elf32_sparc"
 
6810
            ;;
 
6811
        esac
 
6812
        ;;
 
6813
      *64-bit*)
 
6814
        case $host in
 
6815
          x86_64-*kfreebsd*-gnu)
 
6816
            LD="${LD-ld} -m elf_x86_64_fbsd"
 
6817
            ;;
 
6818
          x86_64-*linux*)
 
6819
            LD="${LD-ld} -m elf_x86_64"
 
6820
            ;;
 
6821
          ppc*-*linux*|powerpc*-*linux*)
 
6822
            LD="${LD-ld} -m elf64ppc"
 
6823
            ;;
 
6824
          s390*-*linux*|s390*-*tpf*)
 
6825
            LD="${LD-ld} -m elf64_s390"
 
6826
            ;;
 
6827
          sparc*-*linux*)
 
6828
            LD="${LD-ld} -m elf64_sparc"
 
6829
            ;;
 
6830
        esac
 
6831
        ;;
 
6832
    esac
 
6833
  fi
 
6834
  rm -rf conftest*
 
6835
  ;;
 
6836
 
 
6837
*-*-sco3.2v5*)
 
6838
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
6839
  SAVE_CFLAGS="$CFLAGS"
 
6840
  CFLAGS="$CFLAGS -belf"
 
6841
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
 
6842
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 
6843
if ${lt_cv_cc_needs_belf+:} false; then :
 
6844
  $as_echo_n "(cached) " >&6
 
6845
else
 
6846
  ac_ext=c
 
6847
ac_cpp='$CPP $CPPFLAGS'
 
6848
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6849
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6850
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6851
 
 
6852
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6853
/* end confdefs.h.  */
 
6854
 
 
6855
int
 
6856
main ()
 
6857
{
 
6858
 
 
6859
  ;
 
6860
  return 0;
 
6861
}
 
6862
_ACEOF
 
6863
if ac_fn_c_try_link "$LINENO"; then :
 
6864
  lt_cv_cc_needs_belf=yes
 
6865
else
 
6866
  lt_cv_cc_needs_belf=no
 
6867
fi
 
6868
rm -f core conftest.err conftest.$ac_objext \
 
6869
    conftest$ac_exeext conftest.$ac_ext
 
6870
     ac_ext=c
 
6871
ac_cpp='$CPP $CPPFLAGS'
 
6872
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6873
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6874
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6875
 
 
6876
fi
 
6877
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
 
6878
$as_echo "$lt_cv_cc_needs_belf" >&6; }
 
6879
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
6880
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
6881
    CFLAGS="$SAVE_CFLAGS"
 
6882
  fi
 
6883
  ;;
 
6884
*-*solaris*)
 
6885
  # Find out which ABI we are using.
 
6886
  echo 'int i;' > conftest.$ac_ext
 
6887
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
6888
  (eval $ac_compile) 2>&5
 
6889
  ac_status=$?
 
6890
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6891
  test $ac_status = 0; }; then
 
6892
    case `/usr/bin/file conftest.o` in
 
6893
    *64-bit*)
 
6894
      case $lt_cv_prog_gnu_ld in
 
6895
      yes*)
 
6896
        case $host in
 
6897
        i?86-*-solaris*)
 
6898
          LD="${LD-ld} -m elf_x86_64"
 
6899
          ;;
 
6900
        sparc*-*-solaris*)
 
6901
          LD="${LD-ld} -m elf64_sparc"
 
6902
          ;;
 
6903
        esac
 
6904
        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
 
6905
        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
 
6906
          LD="${LD-ld}_sol2"
 
6907
        fi
 
6908
        ;;
 
6909
      *)
 
6910
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
6911
          LD="${LD-ld} -64"
 
6912
        fi
 
6913
        ;;
 
6914
      esac
 
6915
      ;;
 
6916
    esac
 
6917
  fi
 
6918
  rm -rf conftest*
 
6919
  ;;
 
6920
esac
 
6921
 
 
6922
need_locks="$enable_libtool_lock"
 
6923
 
 
6924
if test -n "$ac_tool_prefix"; then
 
6925
  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
 
6926
set dummy ${ac_tool_prefix}mt; ac_word=$2
 
6927
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6928
$as_echo_n "checking for $ac_word... " >&6; }
 
6929
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
 
6930
  $as_echo_n "(cached) " >&6
 
6931
else
 
6932
  if test -n "$MANIFEST_TOOL"; then
 
6933
  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
 
6934
else
 
6935
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6936
for as_dir in $PATH
 
6937
do
 
6938
  IFS=$as_save_IFS
 
6939
  test -z "$as_dir" && as_dir=.
 
6940
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6941
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6942
    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
 
6943
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6944
    break 2
 
6945
  fi
 
6946
done
 
6947
  done
 
6948
IFS=$as_save_IFS
 
6949
 
 
6950
fi
 
6951
fi
 
6952
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
 
6953
if test -n "$MANIFEST_TOOL"; then
 
6954
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
 
6955
$as_echo "$MANIFEST_TOOL" >&6; }
 
6956
else
 
6957
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6958
$as_echo "no" >&6; }
 
6959
fi
 
6960
 
 
6961
 
 
6962
fi
 
6963
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
 
6964
  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
 
6965
  # Extract the first word of "mt", so it can be a program name with args.
 
6966
set dummy mt; ac_word=$2
 
6967
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6968
$as_echo_n "checking for $ac_word... " >&6; }
 
6969
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
 
6970
  $as_echo_n "(cached) " >&6
 
6971
else
 
6972
  if test -n "$ac_ct_MANIFEST_TOOL"; then
 
6973
  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
 
6974
else
 
6975
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6976
for as_dir in $PATH
 
6977
do
 
6978
  IFS=$as_save_IFS
 
6979
  test -z "$as_dir" && as_dir=.
 
6980
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6981
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6982
    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
 
6983
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6984
    break 2
 
6985
  fi
 
6986
done
 
6987
  done
 
6988
IFS=$as_save_IFS
 
6989
 
 
6990
fi
 
6991
fi
 
6992
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
 
6993
if test -n "$ac_ct_MANIFEST_TOOL"; then
 
6994
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
 
6995
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
 
6996
else
 
6997
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6998
$as_echo "no" >&6; }
 
6999
fi
 
7000
 
 
7001
  if test "x$ac_ct_MANIFEST_TOOL" = x; then
 
7002
    MANIFEST_TOOL=":"
 
7003
  else
 
7004
    case $cross_compiling:$ac_tool_warned in
 
7005
yes:)
 
7006
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7007
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7008
ac_tool_warned=yes ;;
 
7009
esac
 
7010
    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
 
7011
  fi
 
7012
else
 
7013
  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
 
7014
fi
 
7015
 
 
7016
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
 
7017
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
 
7018
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
 
7019
if ${lt_cv_path_mainfest_tool+:} false; then :
 
7020
  $as_echo_n "(cached) " >&6
 
7021
else
 
7022
  lt_cv_path_mainfest_tool=no
 
7023
  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
 
7024
  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
 
7025
  cat conftest.err >&5
 
7026
  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
 
7027
    lt_cv_path_mainfest_tool=yes
 
7028
  fi
 
7029
  rm -f conftest*
 
7030
fi
 
7031
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
 
7032
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
 
7033
if test "x$lt_cv_path_mainfest_tool" != xyes; then
 
7034
  MANIFEST_TOOL=:
 
7035
fi
 
7036
 
 
7037
 
 
7038
 
 
7039
 
 
7040
 
 
7041
 
 
7042
  case $host_os in
 
7043
    rhapsody* | darwin*)
 
7044
    if test -n "$ac_tool_prefix"; then
 
7045
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
 
7046
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 
7047
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7048
$as_echo_n "checking for $ac_word... " >&6; }
 
7049
if ${ac_cv_prog_DSYMUTIL+:} false; then :
 
7050
  $as_echo_n "(cached) " >&6
 
7051
else
 
7052
  if test -n "$DSYMUTIL"; then
 
7053
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
 
7054
else
 
7055
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7056
for as_dir in $PATH
 
7057
do
 
7058
  IFS=$as_save_IFS
 
7059
  test -z "$as_dir" && as_dir=.
 
7060
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7061
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7062
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
 
7063
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7064
    break 2
 
7065
  fi
 
7066
done
 
7067
  done
 
7068
IFS=$as_save_IFS
 
7069
 
 
7070
fi
 
7071
fi
 
7072
DSYMUTIL=$ac_cv_prog_DSYMUTIL
 
7073
if test -n "$DSYMUTIL"; then
 
7074
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
 
7075
$as_echo "$DSYMUTIL" >&6; }
 
7076
else
 
7077
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7078
$as_echo "no" >&6; }
 
7079
fi
 
7080
 
 
7081
 
 
7082
fi
 
7083
if test -z "$ac_cv_prog_DSYMUTIL"; then
 
7084
  ac_ct_DSYMUTIL=$DSYMUTIL
 
7085
  # Extract the first word of "dsymutil", so it can be a program name with args.
 
7086
set dummy dsymutil; ac_word=$2
 
7087
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7088
$as_echo_n "checking for $ac_word... " >&6; }
 
7089
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
 
7090
  $as_echo_n "(cached) " >&6
 
7091
else
 
7092
  if test -n "$ac_ct_DSYMUTIL"; then
 
7093
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
 
7094
else
 
7095
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7096
for as_dir in $PATH
 
7097
do
 
7098
  IFS=$as_save_IFS
 
7099
  test -z "$as_dir" && as_dir=.
 
7100
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7101
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7102
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
 
7103
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7104
    break 2
 
7105
  fi
 
7106
done
 
7107
  done
 
7108
IFS=$as_save_IFS
 
7109
 
 
7110
fi
 
7111
fi
 
7112
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
 
7113
if test -n "$ac_ct_DSYMUTIL"; then
 
7114
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
 
7115
$as_echo "$ac_ct_DSYMUTIL" >&6; }
 
7116
else
 
7117
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7118
$as_echo "no" >&6; }
 
7119
fi
 
7120
 
 
7121
  if test "x$ac_ct_DSYMUTIL" = x; then
 
7122
    DSYMUTIL=":"
 
7123
  else
 
7124
    case $cross_compiling:$ac_tool_warned in
 
7125
yes:)
 
7126
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7127
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7128
ac_tool_warned=yes ;;
 
7129
esac
 
7130
    DSYMUTIL=$ac_ct_DSYMUTIL
 
7131
  fi
 
7132
else
 
7133
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
 
7134
fi
 
7135
 
 
7136
    if test -n "$ac_tool_prefix"; then
 
7137
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
 
7138
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 
7139
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7140
$as_echo_n "checking for $ac_word... " >&6; }
 
7141
if ${ac_cv_prog_NMEDIT+:} false; then :
 
7142
  $as_echo_n "(cached) " >&6
 
7143
else
 
7144
  if test -n "$NMEDIT"; then
 
7145
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
 
7146
else
 
7147
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7148
for as_dir in $PATH
 
7149
do
 
7150
  IFS=$as_save_IFS
 
7151
  test -z "$as_dir" && as_dir=.
 
7152
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7153
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7154
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
 
7155
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7156
    break 2
 
7157
  fi
 
7158
done
 
7159
  done
 
7160
IFS=$as_save_IFS
 
7161
 
 
7162
fi
 
7163
fi
 
7164
NMEDIT=$ac_cv_prog_NMEDIT
 
7165
if test -n "$NMEDIT"; then
 
7166
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
 
7167
$as_echo "$NMEDIT" >&6; }
 
7168
else
 
7169
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7170
$as_echo "no" >&6; }
 
7171
fi
 
7172
 
 
7173
 
 
7174
fi
 
7175
if test -z "$ac_cv_prog_NMEDIT"; then
 
7176
  ac_ct_NMEDIT=$NMEDIT
 
7177
  # Extract the first word of "nmedit", so it can be a program name with args.
 
7178
set dummy nmedit; ac_word=$2
 
7179
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7180
$as_echo_n "checking for $ac_word... " >&6; }
 
7181
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
 
7182
  $as_echo_n "(cached) " >&6
 
7183
else
 
7184
  if test -n "$ac_ct_NMEDIT"; then
 
7185
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 
7186
else
 
7187
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7188
for as_dir in $PATH
 
7189
do
 
7190
  IFS=$as_save_IFS
 
7191
  test -z "$as_dir" && as_dir=.
 
7192
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7193
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7194
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
 
7195
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7196
    break 2
 
7197
  fi
 
7198
done
 
7199
  done
 
7200
IFS=$as_save_IFS
 
7201
 
 
7202
fi
 
7203
fi
 
7204
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 
7205
if test -n "$ac_ct_NMEDIT"; then
 
7206
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
 
7207
$as_echo "$ac_ct_NMEDIT" >&6; }
 
7208
else
 
7209
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7210
$as_echo "no" >&6; }
 
7211
fi
 
7212
 
 
7213
  if test "x$ac_ct_NMEDIT" = x; then
 
7214
    NMEDIT=":"
 
7215
  else
 
7216
    case $cross_compiling:$ac_tool_warned in
 
7217
yes:)
 
7218
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7219
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7220
ac_tool_warned=yes ;;
 
7221
esac
 
7222
    NMEDIT=$ac_ct_NMEDIT
 
7223
  fi
 
7224
else
 
7225
  NMEDIT="$ac_cv_prog_NMEDIT"
 
7226
fi
 
7227
 
 
7228
    if test -n "$ac_tool_prefix"; then
 
7229
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 
7230
set dummy ${ac_tool_prefix}lipo; ac_word=$2
 
7231
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7232
$as_echo_n "checking for $ac_word... " >&6; }
 
7233
if ${ac_cv_prog_LIPO+:} false; then :
 
7234
  $as_echo_n "(cached) " >&6
 
7235
else
 
7236
  if test -n "$LIPO"; then
 
7237
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 
7238
else
 
7239
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7240
for as_dir in $PATH
 
7241
do
 
7242
  IFS=$as_save_IFS
 
7243
  test -z "$as_dir" && as_dir=.
 
7244
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7245
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7246
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 
7247
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7248
    break 2
 
7249
  fi
 
7250
done
 
7251
  done
 
7252
IFS=$as_save_IFS
 
7253
 
 
7254
fi
 
7255
fi
 
7256
LIPO=$ac_cv_prog_LIPO
 
7257
if test -n "$LIPO"; then
 
7258
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
 
7259
$as_echo "$LIPO" >&6; }
 
7260
else
 
7261
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7262
$as_echo "no" >&6; }
 
7263
fi
 
7264
 
 
7265
 
 
7266
fi
 
7267
if test -z "$ac_cv_prog_LIPO"; then
 
7268
  ac_ct_LIPO=$LIPO
 
7269
  # Extract the first word of "lipo", so it can be a program name with args.
 
7270
set dummy lipo; ac_word=$2
 
7271
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7272
$as_echo_n "checking for $ac_word... " >&6; }
 
7273
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
 
7274
  $as_echo_n "(cached) " >&6
 
7275
else
 
7276
  if test -n "$ac_ct_LIPO"; then
 
7277
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 
7278
else
 
7279
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7280
for as_dir in $PATH
 
7281
do
 
7282
  IFS=$as_save_IFS
 
7283
  test -z "$as_dir" && as_dir=.
 
7284
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7285
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7286
    ac_cv_prog_ac_ct_LIPO="lipo"
 
7287
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7288
    break 2
 
7289
  fi
 
7290
done
 
7291
  done
 
7292
IFS=$as_save_IFS
 
7293
 
 
7294
fi
 
7295
fi
 
7296
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 
7297
if test -n "$ac_ct_LIPO"; then
 
7298
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
 
7299
$as_echo "$ac_ct_LIPO" >&6; }
 
7300
else
 
7301
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7302
$as_echo "no" >&6; }
 
7303
fi
 
7304
 
 
7305
  if test "x$ac_ct_LIPO" = x; then
 
7306
    LIPO=":"
 
7307
  else
 
7308
    case $cross_compiling:$ac_tool_warned in
 
7309
yes:)
 
7310
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7311
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7312
ac_tool_warned=yes ;;
 
7313
esac
 
7314
    LIPO=$ac_ct_LIPO
 
7315
  fi
 
7316
else
 
7317
  LIPO="$ac_cv_prog_LIPO"
 
7318
fi
 
7319
 
 
7320
    if test -n "$ac_tool_prefix"; then
 
7321
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 
7322
set dummy ${ac_tool_prefix}otool; ac_word=$2
 
7323
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7324
$as_echo_n "checking for $ac_word... " >&6; }
 
7325
if ${ac_cv_prog_OTOOL+:} false; then :
 
7326
  $as_echo_n "(cached) " >&6
 
7327
else
 
7328
  if test -n "$OTOOL"; then
 
7329
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 
7330
else
 
7331
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7332
for as_dir in $PATH
 
7333
do
 
7334
  IFS=$as_save_IFS
 
7335
  test -z "$as_dir" && as_dir=.
 
7336
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7337
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7338
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 
7339
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7340
    break 2
 
7341
  fi
 
7342
done
 
7343
  done
 
7344
IFS=$as_save_IFS
 
7345
 
 
7346
fi
 
7347
fi
 
7348
OTOOL=$ac_cv_prog_OTOOL
 
7349
if test -n "$OTOOL"; then
 
7350
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
 
7351
$as_echo "$OTOOL" >&6; }
 
7352
else
 
7353
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7354
$as_echo "no" >&6; }
 
7355
fi
 
7356
 
 
7357
 
 
7358
fi
 
7359
if test -z "$ac_cv_prog_OTOOL"; then
 
7360
  ac_ct_OTOOL=$OTOOL
 
7361
  # Extract the first word of "otool", so it can be a program name with args.
 
7362
set dummy otool; ac_word=$2
 
7363
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7364
$as_echo_n "checking for $ac_word... " >&6; }
 
7365
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
 
7366
  $as_echo_n "(cached) " >&6
 
7367
else
 
7368
  if test -n "$ac_ct_OTOOL"; then
 
7369
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 
7370
else
 
7371
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7372
for as_dir in $PATH
 
7373
do
 
7374
  IFS=$as_save_IFS
 
7375
  test -z "$as_dir" && as_dir=.
 
7376
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7377
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7378
    ac_cv_prog_ac_ct_OTOOL="otool"
 
7379
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7380
    break 2
 
7381
  fi
 
7382
done
 
7383
  done
 
7384
IFS=$as_save_IFS
 
7385
 
 
7386
fi
 
7387
fi
 
7388
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 
7389
if test -n "$ac_ct_OTOOL"; then
 
7390
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
 
7391
$as_echo "$ac_ct_OTOOL" >&6; }
 
7392
else
 
7393
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7394
$as_echo "no" >&6; }
 
7395
fi
 
7396
 
 
7397
  if test "x$ac_ct_OTOOL" = x; then
 
7398
    OTOOL=":"
 
7399
  else
 
7400
    case $cross_compiling:$ac_tool_warned in
 
7401
yes:)
 
7402
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7403
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7404
ac_tool_warned=yes ;;
 
7405
esac
 
7406
    OTOOL=$ac_ct_OTOOL
 
7407
  fi
 
7408
else
 
7409
  OTOOL="$ac_cv_prog_OTOOL"
 
7410
fi
 
7411
 
 
7412
    if test -n "$ac_tool_prefix"; then
 
7413
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 
7414
set dummy ${ac_tool_prefix}otool64; ac_word=$2
 
7415
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7416
$as_echo_n "checking for $ac_word... " >&6; }
 
7417
if ${ac_cv_prog_OTOOL64+:} false; then :
 
7418
  $as_echo_n "(cached) " >&6
 
7419
else
 
7420
  if test -n "$OTOOL64"; then
 
7421
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 
7422
else
 
7423
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7424
for as_dir in $PATH
 
7425
do
 
7426
  IFS=$as_save_IFS
 
7427
  test -z "$as_dir" && as_dir=.
 
7428
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7429
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7430
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 
7431
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7432
    break 2
 
7433
  fi
 
7434
done
 
7435
  done
 
7436
IFS=$as_save_IFS
 
7437
 
 
7438
fi
 
7439
fi
 
7440
OTOOL64=$ac_cv_prog_OTOOL64
 
7441
if test -n "$OTOOL64"; then
 
7442
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
 
7443
$as_echo "$OTOOL64" >&6; }
 
7444
else
 
7445
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7446
$as_echo "no" >&6; }
 
7447
fi
 
7448
 
 
7449
 
 
7450
fi
 
7451
if test -z "$ac_cv_prog_OTOOL64"; then
 
7452
  ac_ct_OTOOL64=$OTOOL64
 
7453
  # Extract the first word of "otool64", so it can be a program name with args.
 
7454
set dummy otool64; ac_word=$2
 
7455
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7456
$as_echo_n "checking for $ac_word... " >&6; }
 
7457
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
 
7458
  $as_echo_n "(cached) " >&6
 
7459
else
 
7460
  if test -n "$ac_ct_OTOOL64"; then
 
7461
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 
7462
else
 
7463
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7464
for as_dir in $PATH
 
7465
do
 
7466
  IFS=$as_save_IFS
 
7467
  test -z "$as_dir" && as_dir=.
 
7468
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7469
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
7470
    ac_cv_prog_ac_ct_OTOOL64="otool64"
 
7471
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7472
    break 2
 
7473
  fi
 
7474
done
 
7475
  done
 
7476
IFS=$as_save_IFS
 
7477
 
 
7478
fi
 
7479
fi
 
7480
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 
7481
if test -n "$ac_ct_OTOOL64"; then
 
7482
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
 
7483
$as_echo "$ac_ct_OTOOL64" >&6; }
 
7484
else
 
7485
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7486
$as_echo "no" >&6; }
 
7487
fi
 
7488
 
 
7489
  if test "x$ac_ct_OTOOL64" = x; then
 
7490
    OTOOL64=":"
 
7491
  else
 
7492
    case $cross_compiling:$ac_tool_warned in
 
7493
yes:)
 
7494
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7495
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7496
ac_tool_warned=yes ;;
 
7497
esac
 
7498
    OTOOL64=$ac_ct_OTOOL64
 
7499
  fi
 
7500
else
 
7501
  OTOOL64="$ac_cv_prog_OTOOL64"
 
7502
fi
 
7503
 
 
7504
 
 
7505
 
 
7506
 
 
7507
 
 
7508
 
 
7509
 
 
7510
 
 
7511
 
 
7512
 
 
7513
 
 
7514
 
 
7515
 
 
7516
 
 
7517
 
 
7518
 
 
7519
 
 
7520
 
 
7521
 
 
7522
 
 
7523
 
 
7524
 
 
7525
 
 
7526
 
 
7527
 
 
7528
 
 
7529
 
 
7530
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
 
7531
$as_echo_n "checking for -single_module linker flag... " >&6; }
 
7532
if ${lt_cv_apple_cc_single_mod+:} false; then :
 
7533
  $as_echo_n "(cached) " >&6
 
7534
else
 
7535
  lt_cv_apple_cc_single_mod=no
 
7536
      if test -z "${LT_MULTI_MODULE}"; then
 
7537
        # By default we will add the -single_module flag. You can override
 
7538
        # by either setting the environment variable LT_MULTI_MODULE
 
7539
        # non-empty at configure time, or by adding -multi_module to the
 
7540
        # link flags.
 
7541
        rm -rf libconftest.dylib*
 
7542
        echo "int foo(void){return 1;}" > conftest.c
 
7543
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
7544
-dynamiclib -Wl,-single_module conftest.c" >&5
 
7545
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
7546
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 
7547
        _lt_result=$?
 
7548
        # If there is a non-empty error log, and "single_module"
 
7549
        # appears in it, assume the flag caused a linker warning
 
7550
        if test -s conftest.err && $GREP single_module conftest.err; then
 
7551
          cat conftest.err >&5
 
7552
        # Otherwise, if the output was created with a 0 exit code from
 
7553
        # the compiler, it worked.
 
7554
        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
 
7555
          lt_cv_apple_cc_single_mod=yes
 
7556
        else
 
7557
          cat conftest.err >&5
 
7558
        fi
 
7559
        rm -rf libconftest.dylib*
 
7560
        rm -f conftest.*
 
7561
      fi
 
7562
fi
 
7563
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
 
7564
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
7565
 
 
7566
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
 
7567
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
 
7568
if ${lt_cv_ld_exported_symbols_list+:} false; then :
 
7569
  $as_echo_n "(cached) " >&6
 
7570
else
 
7571
  lt_cv_ld_exported_symbols_list=no
 
7572
      save_LDFLAGS=$LDFLAGS
 
7573
      echo "_main" > conftest.sym
 
7574
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 
7575
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7576
/* end confdefs.h.  */
 
7577
 
 
7578
int
 
7579
main ()
 
7580
{
 
7581
 
 
7582
  ;
 
7583
  return 0;
 
7584
}
 
7585
_ACEOF
 
7586
if ac_fn_c_try_link "$LINENO"; then :
 
7587
  lt_cv_ld_exported_symbols_list=yes
 
7588
else
 
7589
  lt_cv_ld_exported_symbols_list=no
 
7590
fi
 
7591
rm -f core conftest.err conftest.$ac_objext \
 
7592
    conftest$ac_exeext conftest.$ac_ext
 
7593
        LDFLAGS="$save_LDFLAGS"
 
7594
 
 
7595
fi
 
7596
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
 
7597
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
7598
 
 
7599
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
 
7600
$as_echo_n "checking for -force_load linker flag... " >&6; }
 
7601
if ${lt_cv_ld_force_load+:} false; then :
 
7602
  $as_echo_n "(cached) " >&6
 
7603
else
 
7604
  lt_cv_ld_force_load=no
 
7605
      cat > conftest.c << _LT_EOF
 
7606
int forced_loaded() { return 2;}
 
7607
_LT_EOF
 
7608
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
 
7609
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
 
7610
      echo "$AR cru libconftest.a conftest.o" >&5
 
7611
      $AR cru libconftest.a conftest.o 2>&5
 
7612
      echo "$RANLIB libconftest.a" >&5
 
7613
      $RANLIB libconftest.a 2>&5
 
7614
      cat > conftest.c << _LT_EOF
 
7615
int main() { return 0;}
 
7616
_LT_EOF
 
7617
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
 
7618
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
 
7619
      _lt_result=$?
 
7620
      if test -s conftest.err && $GREP force_load conftest.err; then
 
7621
        cat conftest.err >&5
 
7622
      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
 
7623
        lt_cv_ld_force_load=yes
 
7624
      else
 
7625
        cat conftest.err >&5
 
7626
      fi
 
7627
        rm -f conftest.err libconftest.a conftest conftest.c
 
7628
        rm -rf conftest.dSYM
 
7629
 
 
7630
fi
 
7631
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
 
7632
$as_echo "$lt_cv_ld_force_load" >&6; }
 
7633
    case $host_os in
 
7634
    rhapsody* | darwin1.[012])
 
7635
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 
7636
    darwin1.*)
 
7637
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
7638
    darwin*) # darwin 5.x on
 
7639
      # if running on 10.5 or later, the deployment target defaults
 
7640
      # to the OS version, if on x86, and 10.4, the deployment
 
7641
      # target defaults to 10.4. Don't you love it?
 
7642
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 
7643
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
7644
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
7645
        10.[012]*)
 
7646
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
7647
        10.*)
 
7648
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
7649
      esac
 
7650
    ;;
 
7651
  esac
 
7652
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 
7653
      _lt_dar_single_mod='$single_module'
 
7654
    fi
 
7655
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 
7656
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 
7657
    else
 
7658
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
7659
    fi
 
7660
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
 
7661
      _lt_dsymutil='~$DSYMUTIL $lib || :'
 
7662
    else
 
7663
      _lt_dsymutil=
 
7664
    fi
 
7665
    ;;
 
7666
  esac
 
7667
 
 
7668
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
7669
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
7670
                  inttypes.h stdint.h unistd.h
 
7671
do :
 
7672
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
7673
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
7674
"
 
7675
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
7676
  cat >>confdefs.h <<_ACEOF
 
7677
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
7678
_ACEOF
 
7679
 
 
7680
fi
 
7681
 
 
7682
done
 
7683
 
 
7684
 
 
7685
for ac_header in dlfcn.h
 
7686
do :
 
7687
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 
7688
"
 
7689
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
 
7690
  cat >>confdefs.h <<_ACEOF
 
7691
#define HAVE_DLFCN_H 1
 
7692
_ACEOF
 
7693
 
 
7694
fi
 
7695
 
 
7696
done
 
7697
 
 
7698
 
 
7699
 
 
7700
 
 
7701
 
 
7702
# Set options
 
7703
 
 
7704
 
 
7705
 
 
7706
        enable_dlopen=no
 
7707
 
 
7708
 
 
7709
  enable_win32_dll=no
 
7710
 
 
7711
 
 
7712
            # Check whether --enable-shared was given.
 
7713
if test "${enable_shared+set}" = set; then :
 
7714
  enableval=$enable_shared; p=${PACKAGE-default}
 
7715
    case $enableval in
 
7716
    yes) enable_shared=yes ;;
 
7717
    no) enable_shared=no ;;
 
7718
    *)
 
7719
      enable_shared=no
 
7720
      # Look at the argument we got.  We use all the common list separators.
 
7721
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
7722
      for pkg in $enableval; do
 
7723
        IFS="$lt_save_ifs"
 
7724
        if test "X$pkg" = "X$p"; then
 
7725
          enable_shared=yes
 
7726
        fi
 
7727
      done
 
7728
      IFS="$lt_save_ifs"
 
7729
      ;;
 
7730
    esac
 
7731
else
 
7732
  enable_shared=yes
 
7733
fi
 
7734
 
 
7735
 
 
7736
 
 
7737
 
 
7738
 
 
7739
 
 
7740
 
 
7741
 
 
7742
 
 
7743
  # Check whether --enable-static was given.
 
7744
if test "${enable_static+set}" = set; then :
 
7745
  enableval=$enable_static; p=${PACKAGE-default}
 
7746
    case $enableval in
 
7747
    yes) enable_static=yes ;;
 
7748
    no) enable_static=no ;;
 
7749
    *)
 
7750
     enable_static=no
 
7751
      # Look at the argument we got.  We use all the common list separators.
 
7752
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
7753
      for pkg in $enableval; do
 
7754
        IFS="$lt_save_ifs"
 
7755
        if test "X$pkg" = "X$p"; then
 
7756
          enable_static=yes
 
7757
        fi
 
7758
      done
 
7759
      IFS="$lt_save_ifs"
 
7760
      ;;
 
7761
    esac
 
7762
else
 
7763
  enable_static=yes
 
7764
fi
 
7765
 
 
7766
 
 
7767
 
 
7768
 
 
7769
 
 
7770
 
 
7771
 
 
7772
 
 
7773
 
 
7774
 
 
7775
# Check whether --with-pic was given.
 
7776
if test "${with_pic+set}" = set; then :
 
7777
  withval=$with_pic; lt_p=${PACKAGE-default}
 
7778
    case $withval in
 
7779
    yes|no) pic_mode=$withval ;;
 
7780
    *)
 
7781
      pic_mode=default
 
7782
      # Look at the argument we got.  We use all the common list separators.
 
7783
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
7784
      for lt_pkg in $withval; do
 
7785
        IFS="$lt_save_ifs"
 
7786
        if test "X$lt_pkg" = "X$lt_p"; then
 
7787
          pic_mode=yes
 
7788
        fi
 
7789
      done
 
7790
      IFS="$lt_save_ifs"
 
7791
      ;;
 
7792
    esac
 
7793
else
 
7794
  pic_mode=default
 
7795
fi
 
7796
 
 
7797
 
 
7798
test -z "$pic_mode" && pic_mode=default
 
7799
 
 
7800
 
 
7801
 
 
7802
 
 
7803
 
 
7804
 
 
7805
 
 
7806
  # Check whether --enable-fast-install was given.
 
7807
if test "${enable_fast_install+set}" = set; then :
 
7808
  enableval=$enable_fast_install; p=${PACKAGE-default}
 
7809
    case $enableval in
 
7810
    yes) enable_fast_install=yes ;;
 
7811
    no) enable_fast_install=no ;;
 
7812
    *)
 
7813
      enable_fast_install=no
 
7814
      # Look at the argument we got.  We use all the common list separators.
 
7815
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
7816
      for pkg in $enableval; do
 
7817
        IFS="$lt_save_ifs"
 
7818
        if test "X$pkg" = "X$p"; then
 
7819
          enable_fast_install=yes
 
7820
        fi
 
7821
      done
 
7822
      IFS="$lt_save_ifs"
 
7823
      ;;
 
7824
    esac
 
7825
else
 
7826
  enable_fast_install=yes
 
7827
fi
 
7828
 
 
7829
 
 
7830
 
 
7831
 
 
7832
 
 
7833
 
 
7834
 
 
7835
 
 
7836
 
 
7837
 
 
7838
 
 
7839
# This can be used to rebuild libtool when needed
 
7840
LIBTOOL_DEPS="$ltmain"
 
7841
 
 
7842
# Always use our own libtool.
 
7843
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
7844
 
 
7845
 
 
7846
 
 
7847
 
 
7848
 
 
7849
 
 
7850
 
 
7851
 
 
7852
 
 
7853
 
 
7854
 
 
7855
 
 
7856
 
 
7857
 
 
7858
 
 
7859
 
 
7860
 
 
7861
 
 
7862
 
 
7863
 
 
7864
 
 
7865
 
 
7866
 
 
7867
 
 
7868
 
 
7869
 
 
7870
 
 
7871
 
 
7872
 
 
7873
 
 
7874
test -z "$LN_S" && LN_S="ln -s"
 
7875
 
 
7876
 
 
7877
 
 
7878
 
 
7879
 
 
7880
 
 
7881
 
 
7882
 
 
7883
 
 
7884
 
 
7885
 
 
7886
 
 
7887
 
 
7888
 
 
7889
if test -n "${ZSH_VERSION+set}" ; then
 
7890
   setopt NO_GLOB_SUBST
 
7891
fi
 
7892
 
 
7893
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
 
7894
$as_echo_n "checking for objdir... " >&6; }
 
7895
if ${lt_cv_objdir+:} false; then :
 
7896
  $as_echo_n "(cached) " >&6
 
7897
else
 
7898
  rm -f .libs 2>/dev/null
 
7899
mkdir .libs 2>/dev/null
 
7900
if test -d .libs; then
 
7901
  lt_cv_objdir=.libs
 
7902
else
 
7903
  # MS-DOS does not allow filenames that begin with a dot.
 
7904
  lt_cv_objdir=_libs
 
7905
fi
 
7906
rmdir .libs 2>/dev/null
 
7907
fi
 
7908
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
 
7909
$as_echo "$lt_cv_objdir" >&6; }
 
7910
objdir=$lt_cv_objdir
 
7911
 
 
7912
 
 
7913
 
 
7914
 
 
7915
 
 
7916
cat >>confdefs.h <<_ACEOF
 
7917
#define LT_OBJDIR "$lt_cv_objdir/"
 
7918
_ACEOF
 
7919
 
 
7920
 
 
7921
 
 
7922
 
 
7923
case $host_os in
 
7924
aix3*)
 
7925
  # AIX sometimes has problems with the GCC collect2 program.  For some
 
7926
  # reason, if we set the COLLECT_NAMES environment variable, the problems
 
7927
  # vanish in a puff of smoke.
 
7928
  if test "X${COLLECT_NAMES+set}" != Xset; then
 
7929
    COLLECT_NAMES=
 
7930
    export COLLECT_NAMES
 
7931
  fi
 
7932
  ;;
 
7933
esac
 
7934
 
 
7935
# Global variables:
 
7936
ofile=libtool
 
7937
can_build_shared=yes
 
7938
 
 
7939
# All known linkers require a `.a' archive for static linking (except MSVC,
 
7940
# which needs '.lib').
 
7941
libext=a
 
7942
 
 
7943
with_gnu_ld="$lt_cv_prog_gnu_ld"
 
7944
 
 
7945
old_CC="$CC"
 
7946
old_CFLAGS="$CFLAGS"
 
7947
 
 
7948
# Set sane defaults for various variables
 
7949
test -z "$CC" && CC=cc
 
7950
test -z "$LTCC" && LTCC=$CC
 
7951
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 
7952
test -z "$LD" && LD=ld
 
7953
test -z "$ac_objext" && ac_objext=o
 
7954
 
 
7955
for cc_temp in $compiler""; do
 
7956
  case $cc_temp in
 
7957
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
7958
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
7959
    \-*) ;;
 
7960
    *) break;;
 
7961
  esac
 
7962
done
 
7963
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
 
7964
 
 
7965
 
 
7966
# Only perform the check for file, if the check method requires it
 
7967
test -z "$MAGIC_CMD" && MAGIC_CMD=file
 
7968
case $deplibs_check_method in
 
7969
file_magic*)
 
7970
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 
7971
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
 
7972
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
 
7973
if ${lt_cv_path_MAGIC_CMD+:} false; then :
 
7974
  $as_echo_n "(cached) " >&6
 
7975
else
 
7976
  case $MAGIC_CMD in
 
7977
[\\/*] |  ?:[\\/]*)
 
7978
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
7979
  ;;
 
7980
*)
 
7981
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
7982
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
7983
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
7984
  for ac_dir in $ac_dummy; do
 
7985
    IFS="$lt_save_ifs"
 
7986
    test -z "$ac_dir" && ac_dir=.
 
7987
    if test -f $ac_dir/${ac_tool_prefix}file; then
 
7988
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
 
7989
      if test -n "$file_magic_test_file"; then
 
7990
        case $deplibs_check_method in
 
7991
        "file_magic "*)
 
7992
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
7993
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
7994
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
7995
            $EGREP "$file_magic_regex" > /dev/null; then
 
7996
            :
 
7997
          else
 
7998
            cat <<_LT_EOF 1>&2
 
7999
 
 
8000
*** Warning: the command libtool uses to detect shared libraries,
 
8001
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
8002
*** The result is that libtool may fail to recognize shared libraries
 
8003
*** as such.  This will affect the creation of libtool libraries that
 
8004
*** depend on shared libraries, but programs linked with such libtool
 
8005
*** libraries will work regardless of this problem.  Nevertheless, you
 
8006
*** may want to report the problem to your system manager and/or to
 
8007
*** bug-libtool@gnu.org
 
8008
 
 
8009
_LT_EOF
 
8010
          fi ;;
 
8011
        esac
 
8012
      fi
 
8013
      break
 
8014
    fi
 
8015
  done
 
8016
  IFS="$lt_save_ifs"
 
8017
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
8018
  ;;
 
8019
esac
 
8020
fi
 
8021
 
 
8022
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
8023
if test -n "$MAGIC_CMD"; then
 
8024
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
8025
$as_echo "$MAGIC_CMD" >&6; }
 
8026
else
 
8027
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8028
$as_echo "no" >&6; }
 
8029
fi
 
8030
 
 
8031
 
 
8032
 
 
8033
 
 
8034
 
 
8035
if test -z "$lt_cv_path_MAGIC_CMD"; then
 
8036
  if test -n "$ac_tool_prefix"; then
 
8037
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
 
8038
$as_echo_n "checking for file... " >&6; }
 
8039
if ${lt_cv_path_MAGIC_CMD+:} false; then :
 
8040
  $as_echo_n "(cached) " >&6
 
8041
else
 
8042
  case $MAGIC_CMD in
 
8043
[\\/*] |  ?:[\\/]*)
 
8044
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
8045
  ;;
 
8046
*)
 
8047
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
8048
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
8049
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
8050
  for ac_dir in $ac_dummy; do
 
8051
    IFS="$lt_save_ifs"
 
8052
    test -z "$ac_dir" && ac_dir=.
 
8053
    if test -f $ac_dir/file; then
 
8054
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
 
8055
      if test -n "$file_magic_test_file"; then
 
8056
        case $deplibs_check_method in
 
8057
        "file_magic "*)
 
8058
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
8059
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
8060
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
8061
            $EGREP "$file_magic_regex" > /dev/null; then
 
8062
            :
 
8063
          else
 
8064
            cat <<_LT_EOF 1>&2
 
8065
 
 
8066
*** Warning: the command libtool uses to detect shared libraries,
 
8067
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
8068
*** The result is that libtool may fail to recognize shared libraries
 
8069
*** as such.  This will affect the creation of libtool libraries that
 
8070
*** depend on shared libraries, but programs linked with such libtool
 
8071
*** libraries will work regardless of this problem.  Nevertheless, you
 
8072
*** may want to report the problem to your system manager and/or to
 
8073
*** bug-libtool@gnu.org
 
8074
 
 
8075
_LT_EOF
 
8076
          fi ;;
 
8077
        esac
 
8078
      fi
 
8079
      break
 
8080
    fi
 
8081
  done
 
8082
  IFS="$lt_save_ifs"
 
8083
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
8084
  ;;
 
8085
esac
 
8086
fi
 
8087
 
 
8088
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
8089
if test -n "$MAGIC_CMD"; then
 
8090
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
8091
$as_echo "$MAGIC_CMD" >&6; }
 
8092
else
 
8093
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8094
$as_echo "no" >&6; }
 
8095
fi
 
8096
 
 
8097
 
 
8098
  else
 
8099
    MAGIC_CMD=:
 
8100
  fi
 
8101
fi
 
8102
 
 
8103
  fi
 
8104
  ;;
 
8105
esac
 
8106
 
 
8107
# Use C for the default configuration in the libtool script
 
8108
 
 
8109
lt_save_CC="$CC"
 
8110
ac_ext=c
 
8111
ac_cpp='$CPP $CPPFLAGS'
 
8112
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
8113
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
8114
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
8115
 
 
8116
 
 
8117
# Source file extension for C test sources.
 
8118
ac_ext=c
 
8119
 
 
8120
# Object file extension for compiled C test sources.
 
8121
objext=o
 
8122
objext=$objext
 
8123
 
 
8124
# Code to be used in simple compile tests
 
8125
lt_simple_compile_test_code="int some_variable = 0;"
 
8126
 
 
8127
# Code to be used in simple link tests
 
8128
lt_simple_link_test_code='int main(){return(0);}'
 
8129
 
 
8130
 
 
8131
 
 
8132
 
 
8133
 
 
8134
 
 
8135
 
 
8136
# If no C compiler was specified, use CC.
 
8137
LTCC=${LTCC-"$CC"}
 
8138
 
 
8139
# If no C compiler flags were specified, use CFLAGS.
 
8140
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
8141
 
 
8142
# Allow CC to be a program name with arguments.
 
8143
compiler=$CC
 
8144
 
 
8145
# Save the default compiler, since it gets overwritten when the other
 
8146
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 
8147
compiler_DEFAULT=$CC
 
8148
 
 
8149
# save warnings/boilerplate of simple test code
 
8150
ac_outfile=conftest.$ac_objext
 
8151
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
8152
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
8153
_lt_compiler_boilerplate=`cat conftest.err`
 
8154
$RM conftest*
 
8155
 
 
8156
ac_outfile=conftest.$ac_objext
 
8157
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
8158
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
8159
_lt_linker_boilerplate=`cat conftest.err`
 
8160
$RM -r conftest*
 
8161
 
 
8162
 
 
8163
## CAVEAT EMPTOR:
 
8164
## There is no encapsulation within the following macros, do not change
 
8165
## the running order or otherwise move them around unless you know exactly
 
8166
## what you are doing...
 
8167
if test -n "$compiler"; then
 
8168
 
 
8169
lt_prog_compiler_no_builtin_flag=
 
8170
 
 
8171
if test "$GCC" = yes; then
 
8172
  case $cc_basename in
 
8173
  nvcc*)
 
8174
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
 
8175
  *)
 
8176
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
 
8177
  esac
 
8178
 
 
8179
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
8180
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
 
8181
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
 
8182
  $as_echo_n "(cached) " >&6
 
8183
else
 
8184
  lt_cv_prog_compiler_rtti_exceptions=no
 
8185
   ac_outfile=conftest.$ac_objext
 
8186
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8187
   lt_compiler_flag="-fno-rtti -fno-exceptions"
 
8188
   # Insert the option either (1) after the last *FLAGS variable, or
 
8189
   # (2) before a word containing "conftest.", or (3) at the end.
 
8190
   # Note that $ac_compile itself does not contain backslashes and begins
 
8191
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
8192
   # The option is referenced via a variable to avoid confusing sed.
 
8193
   lt_compile=`echo "$ac_compile" | $SED \
 
8194
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
8195
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
8196
   -e 's:$: $lt_compiler_flag:'`
 
8197
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
8198
   (eval "$lt_compile" 2>conftest.err)
 
8199
   ac_status=$?
 
8200
   cat conftest.err >&5
 
8201
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8202
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
8203
     # The compiler can only warn and ignore the option if not recognized
 
8204
     # So say no if there are warnings other than the usual output.
 
8205
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
 
8206
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
8207
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
8208
       lt_cv_prog_compiler_rtti_exceptions=yes
 
8209
     fi
 
8210
   fi
 
8211
   $RM conftest*
 
8212
 
 
8213
fi
 
8214
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
8215
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 
8216
 
 
8217
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
 
8218
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
 
8219
else
 
8220
    :
 
8221
fi
 
8222
 
 
8223
fi
 
8224
 
 
8225
 
 
8226
 
 
8227
 
 
8228
 
 
8229
 
 
8230
  lt_prog_compiler_wl=
 
8231
lt_prog_compiler_pic=
 
8232
lt_prog_compiler_static=
 
8233
 
 
8234
 
 
8235
  if test "$GCC" = yes; then
 
8236
    lt_prog_compiler_wl='-Wl,'
 
8237
    lt_prog_compiler_static='-static'
 
8238
 
 
8239
    case $host_os in
 
8240
      aix*)
 
8241
      # All AIX code is PIC.
 
8242
      if test "$host_cpu" = ia64; then
 
8243
        # AIX 5 now supports IA64 processor
 
8244
        lt_prog_compiler_static='-Bstatic'
 
8245
      fi
 
8246
      ;;
 
8247
 
 
8248
    amigaos*)
 
8249
      case $host_cpu in
 
8250
      powerpc)
 
8251
            # see comment about AmigaOS4 .so support
 
8252
            lt_prog_compiler_pic='-fPIC'
 
8253
        ;;
 
8254
      m68k)
 
8255
            # FIXME: we need at least 68020 code to build shared libraries, but
 
8256
            # adding the `-m68020' flag to GCC prevents building anything better,
 
8257
            # like `-m68040'.
 
8258
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
8259
        ;;
 
8260
      esac
 
8261
      ;;
 
8262
 
 
8263
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
8264
      # PIC is the default for these OSes.
 
8265
      ;;
 
8266
 
 
8267
    mingw* | cygwin* | pw32* | os2* | cegcc*)
 
8268
      # This hack is so that the source file can tell whether it is being
 
8269
      # built for inclusion in a dll (and should export symbols for example).
 
8270
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
8271
      # (--disable-auto-import) libraries
 
8272
      lt_prog_compiler_pic='-DDLL_EXPORT'
 
8273
      ;;
 
8274
 
 
8275
    darwin* | rhapsody*)
 
8276
      # PIC is the default on this platform
 
8277
      # Common symbols not allowed in MH_DYLIB files
 
8278
      lt_prog_compiler_pic='-fno-common'
 
8279
      ;;
 
8280
 
 
8281
    haiku*)
 
8282
      # PIC is the default for Haiku.
 
8283
      # The "-static" flag exists, but is broken.
 
8284
      lt_prog_compiler_static=
 
8285
      ;;
 
8286
 
 
8287
    hpux*)
 
8288
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
8289
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
8290
      # sets the default TLS model and affects inlining.
 
8291
      case $host_cpu in
 
8292
      hppa*64*)
 
8293
        # +Z the default
 
8294
        ;;
 
8295
      *)
 
8296
        lt_prog_compiler_pic='-fPIC'
 
8297
        ;;
 
8298
      esac
 
8299
      ;;
 
8300
 
 
8301
    interix[3-9]*)
 
8302
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
8303
      # Instead, we relocate shared libraries at runtime.
 
8304
      ;;
 
8305
 
 
8306
    msdosdjgpp*)
 
8307
      # Just because we use GCC doesn't mean we suddenly get shared libraries
 
8308
      # on systems that don't support them.
 
8309
      lt_prog_compiler_can_build_shared=no
 
8310
      enable_shared=no
 
8311
      ;;
 
8312
 
 
8313
    *nto* | *qnx*)
 
8314
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
8315
      # it will coredump.
 
8316
      lt_prog_compiler_pic='-fPIC -shared'
 
8317
      ;;
 
8318
 
 
8319
    sysv4*MP*)
 
8320
      if test -d /usr/nec; then
 
8321
        lt_prog_compiler_pic=-Kconform_pic
 
8322
      fi
 
8323
      ;;
 
8324
 
 
8325
    *)
 
8326
      lt_prog_compiler_pic='-fPIC'
 
8327
      ;;
 
8328
    esac
 
8329
 
 
8330
    case $cc_basename in
 
8331
    nvcc*) # Cuda Compiler Driver 2.2
 
8332
      lt_prog_compiler_wl='-Xlinker '
 
8333
      if test -n "$lt_prog_compiler_pic"; then
 
8334
        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
 
8335
      fi
 
8336
      ;;
 
8337
    esac
 
8338
  else
 
8339
    # PORTME Check for flag to pass linker flags through the system compiler.
 
8340
    case $host_os in
 
8341
    aix*)
 
8342
      lt_prog_compiler_wl='-Wl,'
 
8343
      if test "$host_cpu" = ia64; then
 
8344
        # AIX 5 now supports IA64 processor
 
8345
        lt_prog_compiler_static='-Bstatic'
 
8346
      else
 
8347
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
 
8348
      fi
 
8349
      ;;
 
8350
 
 
8351
    mingw* | cygwin* | pw32* | os2* | cegcc*)
 
8352
      # This hack is so that the source file can tell whether it is being
 
8353
      # built for inclusion in a dll (and should export symbols for example).
 
8354
      lt_prog_compiler_pic='-DDLL_EXPORT'
 
8355
      ;;
 
8356
 
 
8357
    hpux9* | hpux10* | hpux11*)
 
8358
      lt_prog_compiler_wl='-Wl,'
 
8359
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 
8360
      # not for PA HP-UX.
 
8361
      case $host_cpu in
 
8362
      hppa*64*|ia64*)
 
8363
        # +Z the default
 
8364
        ;;
 
8365
      *)
 
8366
        lt_prog_compiler_pic='+Z'
 
8367
        ;;
 
8368
      esac
 
8369
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
 
8370
      lt_prog_compiler_static='${wl}-a ${wl}archive'
 
8371
      ;;
 
8372
 
 
8373
    irix5* | irix6* | nonstopux*)
 
8374
      lt_prog_compiler_wl='-Wl,'
 
8375
      # PIC (with -KPIC) is the default.
 
8376
      lt_prog_compiler_static='-non_shared'
 
8377
      ;;
 
8378
 
 
8379
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
8380
      case $cc_basename in
 
8381
      # old Intel for x86_64 which still supported -KPIC.
 
8382
      ecc*)
 
8383
        lt_prog_compiler_wl='-Wl,'
 
8384
        lt_prog_compiler_pic='-KPIC'
 
8385
        lt_prog_compiler_static='-static'
 
8386
        ;;
 
8387
      # icc used to be incompatible with GCC.
 
8388
      # ICC 10 doesn't accept -KPIC any more.
 
8389
      icc* | ifort*)
 
8390
        lt_prog_compiler_wl='-Wl,'
 
8391
        lt_prog_compiler_pic='-fPIC'
 
8392
        lt_prog_compiler_static='-static'
 
8393
        ;;
 
8394
      # Lahey Fortran 8.1.
 
8395
      lf95*)
 
8396
        lt_prog_compiler_wl='-Wl,'
 
8397
        lt_prog_compiler_pic='--shared'
 
8398
        lt_prog_compiler_static='--static'
 
8399
        ;;
 
8400
      nagfor*)
 
8401
        # NAG Fortran compiler
 
8402
        lt_prog_compiler_wl='-Wl,-Wl,,'
 
8403
        lt_prog_compiler_pic='-PIC'
 
8404
        lt_prog_compiler_static='-Bstatic'
 
8405
        ;;
 
8406
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
 
8407
        # Portland Group compilers (*not* the Pentium gcc compiler,
 
8408
        # which looks to be a dead project)
 
8409
        lt_prog_compiler_wl='-Wl,'
 
8410
        lt_prog_compiler_pic='-fpic'
 
8411
        lt_prog_compiler_static='-Bstatic'
 
8412
        ;;
 
8413
      ccc*)
 
8414
        lt_prog_compiler_wl='-Wl,'
 
8415
        # All Alpha code is PIC.
 
8416
        lt_prog_compiler_static='-non_shared'
 
8417
        ;;
 
8418
      xl* | bgxl* | bgf* | mpixl*)
 
8419
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
 
8420
        lt_prog_compiler_wl='-Wl,'
 
8421
        lt_prog_compiler_pic='-qpic'
 
8422
        lt_prog_compiler_static='-qstaticlink'
 
8423
        ;;
 
8424
      *)
 
8425
        case `$CC -V 2>&1 | sed 5q` in
 
8426
        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
 
8427
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
8428
          lt_prog_compiler_pic='-KPIC'
 
8429
          lt_prog_compiler_static='-Bstatic'
 
8430
          lt_prog_compiler_wl=''
 
8431
          ;;
 
8432
        *Sun\ F* | *Sun*Fortran*)
 
8433
          lt_prog_compiler_pic='-KPIC'
 
8434
          lt_prog_compiler_static='-Bstatic'
 
8435
          lt_prog_compiler_wl='-Qoption ld '
 
8436
          ;;
 
8437
        *Sun\ C*)
 
8438
          # Sun C 5.9
 
8439
          lt_prog_compiler_pic='-KPIC'
 
8440
          lt_prog_compiler_static='-Bstatic'
 
8441
          lt_prog_compiler_wl='-Wl,'
 
8442
          ;;
 
8443
        *Intel*\ [CF]*Compiler*)
 
8444
          lt_prog_compiler_wl='-Wl,'
 
8445
          lt_prog_compiler_pic='-fPIC'
 
8446
          lt_prog_compiler_static='-static'
 
8447
          ;;
 
8448
        *Portland\ Group*)
 
8449
          lt_prog_compiler_wl='-Wl,'
 
8450
          lt_prog_compiler_pic='-fpic'
 
8451
          lt_prog_compiler_static='-Bstatic'
 
8452
          ;;
 
8453
        esac
 
8454
        ;;
 
8455
      esac
 
8456
      ;;
 
8457
 
 
8458
    newsos6)
 
8459
      lt_prog_compiler_pic='-KPIC'
 
8460
      lt_prog_compiler_static='-Bstatic'
 
8461
      ;;
 
8462
 
 
8463
    *nto* | *qnx*)
 
8464
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
8465
      # it will coredump.
 
8466
      lt_prog_compiler_pic='-fPIC -shared'
 
8467
      ;;
 
8468
 
 
8469
    osf3* | osf4* | osf5*)
 
8470
      lt_prog_compiler_wl='-Wl,'
 
8471
      # All OSF/1 code is PIC.
 
8472
      lt_prog_compiler_static='-non_shared'
 
8473
      ;;
 
8474
 
 
8475
    rdos*)
 
8476
      lt_prog_compiler_static='-non_shared'
 
8477
      ;;
 
8478
 
 
8479
    solaris*)
 
8480
      lt_prog_compiler_pic='-KPIC'
 
8481
      lt_prog_compiler_static='-Bstatic'
 
8482
      case $cc_basename in
 
8483
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
 
8484
        lt_prog_compiler_wl='-Qoption ld ';;
 
8485
      *)
 
8486
        lt_prog_compiler_wl='-Wl,';;
 
8487
      esac
 
8488
      ;;
 
8489
 
 
8490
    sunos4*)
 
8491
      lt_prog_compiler_wl='-Qoption ld '
 
8492
      lt_prog_compiler_pic='-PIC'
 
8493
      lt_prog_compiler_static='-Bstatic'
 
8494
      ;;
 
8495
 
 
8496
    sysv4 | sysv4.2uw2* | sysv4.3*)
 
8497
      lt_prog_compiler_wl='-Wl,'
 
8498
      lt_prog_compiler_pic='-KPIC'
 
8499
      lt_prog_compiler_static='-Bstatic'
 
8500
      ;;
 
8501
 
 
8502
    sysv4*MP*)
 
8503
      if test -d /usr/nec ;then
 
8504
        lt_prog_compiler_pic='-Kconform_pic'
 
8505
        lt_prog_compiler_static='-Bstatic'
 
8506
      fi
 
8507
      ;;
 
8508
 
 
8509
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
8510
      lt_prog_compiler_wl='-Wl,'
 
8511
      lt_prog_compiler_pic='-KPIC'
 
8512
      lt_prog_compiler_static='-Bstatic'
 
8513
      ;;
 
8514
 
 
8515
    unicos*)
 
8516
      lt_prog_compiler_wl='-Wl,'
 
8517
      lt_prog_compiler_can_build_shared=no
 
8518
      ;;
 
8519
 
 
8520
    uts4*)
 
8521
      lt_prog_compiler_pic='-pic'
 
8522
      lt_prog_compiler_static='-Bstatic'
 
8523
      ;;
 
8524
 
 
8525
    *)
 
8526
      lt_prog_compiler_can_build_shared=no
 
8527
      ;;
 
8528
    esac
 
8529
  fi
 
8530
 
 
8531
case $host_os in
 
8532
  # For platforms which do not support PIC, -DPIC is meaningless:
 
8533
  *djgpp*)
 
8534
    lt_prog_compiler_pic=
 
8535
    ;;
 
8536
  *)
 
8537
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 
8538
    ;;
 
8539
esac
 
8540
 
 
8541
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
8542
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
8543
if ${lt_cv_prog_compiler_pic+:} false; then :
 
8544
  $as_echo_n "(cached) " >&6
 
8545
else
 
8546
  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
 
8547
fi
 
8548
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
 
8549
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
 
8550
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
 
8551
 
 
8552
#
 
8553
# Check to make sure the PIC flag actually works.
 
8554
#
 
8555
if test -n "$lt_prog_compiler_pic"; then
 
8556
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
8557
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
 
8558
if ${lt_cv_prog_compiler_pic_works+:} false; then :
 
8559
  $as_echo_n "(cached) " >&6
 
8560
else
 
8561
  lt_cv_prog_compiler_pic_works=no
 
8562
   ac_outfile=conftest.$ac_objext
 
8563
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8564
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
 
8565
   # Insert the option either (1) after the last *FLAGS variable, or
 
8566
   # (2) before a word containing "conftest.", or (3) at the end.
 
8567
   # Note that $ac_compile itself does not contain backslashes and begins
 
8568
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
8569
   # The option is referenced via a variable to avoid confusing sed.
 
8570
   lt_compile=`echo "$ac_compile" | $SED \
 
8571
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
8572
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
8573
   -e 's:$: $lt_compiler_flag:'`
 
8574
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
8575
   (eval "$lt_compile" 2>conftest.err)
 
8576
   ac_status=$?
 
8577
   cat conftest.err >&5
 
8578
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8579
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
8580
     # The compiler can only warn and ignore the option if not recognized
 
8581
     # So say no if there are warnings other than the usual output.
 
8582
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
 
8583
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
8584
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
8585
       lt_cv_prog_compiler_pic_works=yes
 
8586
     fi
 
8587
   fi
 
8588
   $RM conftest*
 
8589
 
 
8590
fi
 
8591
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
 
8592
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
 
8593
 
 
8594
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
 
8595
    case $lt_prog_compiler_pic in
 
8596
     "" | " "*) ;;
 
8597
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
 
8598
     esac
 
8599
else
 
8600
    lt_prog_compiler_pic=
 
8601
     lt_prog_compiler_can_build_shared=no
 
8602
fi
 
8603
 
 
8604
fi
 
8605
 
 
8606
 
 
8607
 
 
8608
 
 
8609
 
 
8610
 
 
8611
 
 
8612
 
 
8613
 
 
8614
 
 
8615
 
 
8616
#
 
8617
# Check to make sure the static flag actually works.
 
8618
#
 
8619
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
 
8620
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
8621
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
8622
if ${lt_cv_prog_compiler_static_works+:} false; then :
 
8623
  $as_echo_n "(cached) " >&6
 
8624
else
 
8625
  lt_cv_prog_compiler_static_works=no
 
8626
   save_LDFLAGS="$LDFLAGS"
 
8627
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
8628
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
8629
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
8630
     # The linker can only warn and ignore the option if not recognized
 
8631
     # So say no if there are warnings
 
8632
     if test -s conftest.err; then
 
8633
       # Append any errors to the config.log.
 
8634
       cat conftest.err 1>&5
 
8635
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
8636
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
8637
       if diff conftest.exp conftest.er2 >/dev/null; then
 
8638
         lt_cv_prog_compiler_static_works=yes
 
8639
       fi
 
8640
     else
 
8641
       lt_cv_prog_compiler_static_works=yes
 
8642
     fi
 
8643
   fi
 
8644
   $RM -r conftest*
 
8645
   LDFLAGS="$save_LDFLAGS"
 
8646
 
 
8647
fi
 
8648
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
 
8649
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
 
8650
 
 
8651
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
 
8652
    :
 
8653
else
 
8654
    lt_prog_compiler_static=
 
8655
fi
 
8656
 
 
8657
 
 
8658
 
 
8659
 
 
8660
 
 
8661
 
 
8662
 
 
8663
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8664
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
8665
if ${lt_cv_prog_compiler_c_o+:} false; then :
 
8666
  $as_echo_n "(cached) " >&6
 
8667
else
 
8668
  lt_cv_prog_compiler_c_o=no
 
8669
   $RM -r conftest 2>/dev/null
 
8670
   mkdir conftest
 
8671
   cd conftest
 
8672
   mkdir out
 
8673
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8674
 
 
8675
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
8676
   # Insert the option either (1) after the last *FLAGS variable, or
 
8677
   # (2) before a word containing "conftest.", or (3) at the end.
 
8678
   # Note that $ac_compile itself does not contain backslashes and begins
 
8679
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
8680
   lt_compile=`echo "$ac_compile" | $SED \
 
8681
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
8682
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
8683
   -e 's:$: $lt_compiler_flag:'`
 
8684
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
8685
   (eval "$lt_compile" 2>out/conftest.err)
 
8686
   ac_status=$?
 
8687
   cat out/conftest.err >&5
 
8688
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8689
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
8690
   then
 
8691
     # The compiler can only warn and ignore the option if not recognized
 
8692
     # So say no if there are warnings
 
8693
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 
8694
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
8695
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
8696
       lt_cv_prog_compiler_c_o=yes
 
8697
     fi
 
8698
   fi
 
8699
   chmod u+w . 2>&5
 
8700
   $RM conftest*
 
8701
   # SGI C++ compiler will create directory out/ii_files/ for
 
8702
   # template instantiation
 
8703
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
8704
   $RM out/* && rmdir out
 
8705
   cd ..
 
8706
   $RM -r conftest
 
8707
   $RM conftest*
 
8708
 
 
8709
fi
 
8710
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
8711
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
8712
 
 
8713
 
 
8714
 
 
8715
 
 
8716
 
 
8717
 
 
8718
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8719
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
8720
if ${lt_cv_prog_compiler_c_o+:} false; then :
 
8721
  $as_echo_n "(cached) " >&6
 
8722
else
 
8723
  lt_cv_prog_compiler_c_o=no
 
8724
   $RM -r conftest 2>/dev/null
 
8725
   mkdir conftest
 
8726
   cd conftest
 
8727
   mkdir out
 
8728
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8729
 
 
8730
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
8731
   # Insert the option either (1) after the last *FLAGS variable, or
 
8732
   # (2) before a word containing "conftest.", or (3) at the end.
 
8733
   # Note that $ac_compile itself does not contain backslashes and begins
 
8734
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
8735
   lt_compile=`echo "$ac_compile" | $SED \
 
8736
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
8737
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
8738
   -e 's:$: $lt_compiler_flag:'`
 
8739
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
8740
   (eval "$lt_compile" 2>out/conftest.err)
 
8741
   ac_status=$?
 
8742
   cat out/conftest.err >&5
 
8743
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8744
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
8745
   then
 
8746
     # The compiler can only warn and ignore the option if not recognized
 
8747
     # So say no if there are warnings
 
8748
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 
8749
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
8750
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
8751
       lt_cv_prog_compiler_c_o=yes
 
8752
     fi
 
8753
   fi
 
8754
   chmod u+w . 2>&5
 
8755
   $RM conftest*
 
8756
   # SGI C++ compiler will create directory out/ii_files/ for
 
8757
   # template instantiation
 
8758
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
8759
   $RM out/* && rmdir out
 
8760
   cd ..
 
8761
   $RM -r conftest
 
8762
   $RM conftest*
 
8763
 
 
8764
fi
 
8765
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
8766
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
8767
 
 
8768
 
 
8769
 
 
8770
 
 
8771
hard_links="nottested"
 
8772
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
 
8773
  # do not overwrite the value of need_locks provided by the user
 
8774
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
 
8775
$as_echo_n "checking if we can lock with hard links... " >&6; }
 
8776
  hard_links=yes
 
8777
  $RM conftest*
 
8778
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
8779
  touch conftest.a
 
8780
  ln conftest.a conftest.b 2>&5 || hard_links=no
 
8781
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
8782
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
 
8783
$as_echo "$hard_links" >&6; }
 
8784
  if test "$hard_links" = no; then
 
8785
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
8786
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
8787
    need_locks=warn
 
8788
  fi
 
8789
else
 
8790
  need_locks=no
 
8791
fi
 
8792
 
 
8793
 
 
8794
 
 
8795
 
 
8796
 
 
8797
 
 
8798
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
8799
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 
8800
 
 
8801
  runpath_var=
 
8802
  allow_undefined_flag=
 
8803
  always_export_symbols=no
 
8804
  archive_cmds=
 
8805
  archive_expsym_cmds=
 
8806
  compiler_needs_object=no
 
8807
  enable_shared_with_static_runtimes=no
 
8808
  export_dynamic_flag_spec=
 
8809
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
8810
  hardcode_automatic=no
 
8811
  hardcode_direct=no
 
8812
  hardcode_direct_absolute=no
 
8813
  hardcode_libdir_flag_spec=
 
8814
  hardcode_libdir_separator=
 
8815
  hardcode_minus_L=no
 
8816
  hardcode_shlibpath_var=unsupported
 
8817
  inherit_rpath=no
 
8818
  link_all_deplibs=unknown
 
8819
  module_cmds=
 
8820
  module_expsym_cmds=
 
8821
  old_archive_from_new_cmds=
 
8822
  old_archive_from_expsyms_cmds=
 
8823
  thread_safe_flag_spec=
 
8824
  whole_archive_flag_spec=
 
8825
  # include_expsyms should be a list of space-separated symbols to be *always*
 
8826
  # included in the symbol list
 
8827
  include_expsyms=
 
8828
  # exclude_expsyms can be an extended regexp of symbols to exclude
 
8829
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
 
8830
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
 
8831
  # as well as any symbol that contains `d'.
 
8832
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
 
8833
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 
8834
  # platforms (ab)use it in PIC code, but their linkers get confused if
 
8835
  # the symbol is explicitly referenced.  Since portable code cannot
 
8836
  # rely on this symbol name, it's probably fine to never include it in
 
8837
  # preloaded symbol tables.
 
8838
  # Exclude shared library initialization/finalization symbols.
 
8839
  extract_expsyms_cmds=
 
8840
 
 
8841
  case $host_os in
 
8842
  cygwin* | mingw* | pw32* | cegcc*)
 
8843
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
 
8844
    # When not using gcc, we currently assume that we are using
 
8845
    # Microsoft Visual C++.
 
8846
    if test "$GCC" != yes; then
 
8847
      with_gnu_ld=no
 
8848
    fi
 
8849
    ;;
 
8850
  interix*)
 
8851
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
8852
    with_gnu_ld=yes
 
8853
    ;;
 
8854
  openbsd*)
 
8855
    with_gnu_ld=no
 
8856
    ;;
 
8857
  linux* | k*bsd*-gnu | gnu*)
 
8858
    link_all_deplibs=no
 
8859
    ;;
 
8860
  esac
 
8861
 
 
8862
  ld_shlibs=yes
 
8863
 
 
8864
  # On some targets, GNU ld is compatible enough with the native linker
 
8865
  # that we're better off using the native interface for both.
 
8866
  lt_use_gnu_ld_interface=no
 
8867
  if test "$with_gnu_ld" = yes; then
 
8868
    case $host_os in
 
8869
      aix*)
 
8870
        # The AIX port of GNU ld has always aspired to compatibility
 
8871
        # with the native linker.  However, as the warning in the GNU ld
 
8872
        # block says, versions before 2.19.5* couldn't really create working
 
8873
        # shared libraries, regardless of the interface used.
 
8874
        case `$LD -v 2>&1` in
 
8875
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
 
8876
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
 
8877
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
 
8878
          *)
 
8879
            lt_use_gnu_ld_interface=yes
 
8880
            ;;
 
8881
        esac
 
8882
        ;;
 
8883
      *)
 
8884
        lt_use_gnu_ld_interface=yes
 
8885
        ;;
 
8886
    esac
 
8887
  fi
 
8888
 
 
8889
  if test "$lt_use_gnu_ld_interface" = yes; then
 
8890
    # If archive_cmds runs LD, not CC, wlarc should be empty
 
8891
    wlarc='${wl}'
 
8892
 
 
8893
    # Set some defaults for GNU ld with shared library support. These
 
8894
    # are reset later if shared libraries are not supported. Putting them
 
8895
    # here allows them to be overridden if necessary.
 
8896
    runpath_var=LD_RUN_PATH
 
8897
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
8898
    export_dynamic_flag_spec='${wl}--export-dynamic'
 
8899
    # ancient GNU ld didn't support --whole-archive et. al.
 
8900
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 
8901
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
8902
    else
 
8903
      whole_archive_flag_spec=
 
8904
    fi
 
8905
    supports_anon_versioning=no
 
8906
    case `$LD -v 2>&1` in
 
8907
      *GNU\ gold*) supports_anon_versioning=yes ;;
 
8908
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 
8909
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
8910
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
8911
      *\ 2.11.*) ;; # other 2.11 versions
 
8912
      *) supports_anon_versioning=yes ;;
 
8913
    esac
 
8914
 
 
8915
    # See if GNU ld supports shared libraries.
 
8916
    case $host_os in
 
8917
    aix[3-9]*)
 
8918
      # On AIX/PPC, the GNU linker is very broken
 
8919
      if test "$host_cpu" != ia64; then
 
8920
        ld_shlibs=no
 
8921
        cat <<_LT_EOF 1>&2
 
8922
 
 
8923
*** Warning: the GNU linker, at least up to release 2.19, is reported
 
8924
*** to be unable to reliably create shared libraries on AIX.
 
8925
*** Therefore, libtool is disabling shared libraries support.  If you
 
8926
*** really care for shared libraries, you may want to install binutils
 
8927
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
 
8928
*** You will then need to restart the configuration process.
 
8929
 
 
8930
_LT_EOF
 
8931
      fi
 
8932
      ;;
 
8933
 
 
8934
    amigaos*)
 
8935
      case $host_cpu in
 
8936
      powerpc)
 
8937
            # see comment about AmigaOS4 .so support
 
8938
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8939
            archive_expsym_cmds=''
 
8940
        ;;
 
8941
      m68k)
 
8942
            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)'
 
8943
            hardcode_libdir_flag_spec='-L$libdir'
 
8944
            hardcode_minus_L=yes
 
8945
        ;;
 
8946
      esac
 
8947
      ;;
 
8948
 
 
8949
    beos*)
 
8950
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
8951
        allow_undefined_flag=unsupported
 
8952
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
8953
        # support --undefined.  This deserves some investigation.  FIXME
 
8954
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8955
      else
 
8956
        ld_shlibs=no
 
8957
      fi
 
8958
      ;;
 
8959
 
 
8960
    cygwin* | mingw* | pw32* | cegcc*)
 
8961
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 
8962
      # as there is no search path for DLLs.
 
8963
      hardcode_libdir_flag_spec='-L$libdir'
 
8964
      export_dynamic_flag_spec='${wl}--export-all-symbols'
 
8965
      allow_undefined_flag=unsupported
 
8966
      always_export_symbols=no
 
8967
      enable_shared_with_static_runtimes=yes
 
8968
      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'
 
8969
      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
 
8970
 
 
8971
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 
8972
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
8973
        # If the export-symbols file already is a .def file (1st line
 
8974
        # is EXPORTS), use it as is; otherwise, prepend...
 
8975
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
8976
          cp $export_symbols $output_objdir/$soname.def;
 
8977
        else
 
8978
          echo EXPORTS > $output_objdir/$soname.def;
 
8979
          cat $export_symbols >> $output_objdir/$soname.def;
 
8980
        fi~
 
8981
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
8982
      else
 
8983
        ld_shlibs=no
 
8984
      fi
 
8985
      ;;
 
8986
 
 
8987
    haiku*)
 
8988
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8989
      link_all_deplibs=yes
 
8990
      ;;
 
8991
 
 
8992
    interix[3-9]*)
 
8993
      hardcode_direct=no
 
8994
      hardcode_shlibpath_var=no
 
8995
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
8996
      export_dynamic_flag_spec='${wl}-E'
 
8997
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
8998
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
8999
      # default) and relocated if they conflict, which is a slow very memory
 
9000
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
9001
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
9002
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
9003
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
9004
      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'
 
9005
      ;;
 
9006
 
 
9007
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
 
9008
      tmp_diet=no
 
9009
      if test "$host_os" = linux-dietlibc; then
 
9010
        case $cc_basename in
 
9011
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
 
9012
        esac
 
9013
      fi
 
9014
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 
9015
         && test "$tmp_diet" = no
 
9016
      then
 
9017
        tmp_addflag=' $pic_flag'
 
9018
        tmp_sharedflag='-shared'
 
9019
        case $cc_basename,$host_cpu in
 
9020
        pgcc*)                          # Portland Group C compiler
 
9021
          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'
 
9022
          tmp_addflag=' $pic_flag'
 
9023
          ;;
 
9024
        pgf77* | pgf90* | pgf95* | pgfortran*)
 
9025
                                        # Portland Group f77 and f90 compilers
 
9026
          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'
 
9027
          tmp_addflag=' $pic_flag -Mnomain' ;;
 
9028
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
 
9029
          tmp_addflag=' -i_dynamic' ;;
 
9030
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
 
9031
          tmp_addflag=' -i_dynamic -nofor_main' ;;
 
9032
        ifc* | ifort*)                  # Intel Fortran compiler
 
9033
          tmp_addflag=' -nofor_main' ;;
 
9034
        lf95*)                          # Lahey Fortran 8.1
 
9035
          whole_archive_flag_spec=
 
9036
          tmp_sharedflag='--shared' ;;
 
9037
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
 
9038
          tmp_sharedflag='-qmkshrobj'
 
9039
          tmp_addflag= ;;
 
9040
        nvcc*)  # Cuda Compiler Driver 2.2
 
9041
          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'
 
9042
          compiler_needs_object=yes
 
9043
          ;;
 
9044
        esac
 
9045
        case `$CC -V 2>&1 | sed 5q` in
 
9046
        *Sun\ C*)                       # Sun C 5.9
 
9047
          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'
 
9048
          compiler_needs_object=yes
 
9049
          tmp_sharedflag='-G' ;;
 
9050
        *Sun\ F*)                       # Sun Fortran 8.3
 
9051
          tmp_sharedflag='-G' ;;
 
9052
        esac
 
9053
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9054
 
 
9055
        if test "x$supports_anon_versioning" = xyes; then
 
9056
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
9057
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
9058
            echo "local: *; };" >> $output_objdir/$libname.ver~
 
9059
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
9060
        fi
 
9061
 
 
9062
        case $cc_basename in
 
9063
        xlf* | bgf* | bgxlf* | mpixlf*)
 
9064
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 
9065
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
 
9066
          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9067
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
 
9068
          if test "x$supports_anon_versioning" = xyes; then
 
9069
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
9070
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
9071
              echo "local: *; };" >> $output_objdir/$libname.ver~
 
9072
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
9073
          fi
 
9074
          ;;
 
9075
        esac
 
9076
      else
 
9077
        ld_shlibs=no
 
9078
      fi
 
9079
      ;;
 
9080
 
 
9081
    netbsd* | netbsdelf*-gnu)
 
9082
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
9083
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 
9084
        wlarc=
 
9085
      else
 
9086
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9087
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9088
      fi
 
9089
      ;;
 
9090
 
 
9091
    solaris*)
 
9092
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
 
9093
        ld_shlibs=no
 
9094
        cat <<_LT_EOF 1>&2
 
9095
 
 
9096
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
 
9097
*** create shared libraries on Solaris systems.  Therefore, libtool
 
9098
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
9099
*** binutils to release 2.9.1 or newer.  Another option is to modify
 
9100
*** your PATH or compiler configuration so that the native linker is
 
9101
*** used, and then restart.
 
9102
 
 
9103
_LT_EOF
 
9104
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
9105
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9106
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9107
      else
 
9108
        ld_shlibs=no
 
9109
      fi
 
9110
      ;;
 
9111
 
 
9112
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
9113
      case `$LD -v 2>&1` in
 
9114
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
9115
        ld_shlibs=no
 
9116
        cat <<_LT_EOF 1>&2
 
9117
 
 
9118
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
9119
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
9120
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
9121
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
9122
*** your PATH or compiler configuration so that the native linker is
 
9123
*** used, and then restart.
 
9124
 
 
9125
_LT_EOF
 
9126
        ;;
 
9127
        *)
 
9128
          # For security reasons, it is highly recommended that you always
 
9129
          # use absolute paths for naming shared libraries, and exclude the
 
9130
          # DT_RUNPATH tag from executables and libraries.  But doing so
 
9131
          # requires that you compile everything twice, which is a pain.
 
9132
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
9133
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9134
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9135
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9136
          else
 
9137
            ld_shlibs=no
 
9138
          fi
 
9139
        ;;
 
9140
      esac
 
9141
      ;;
 
9142
 
 
9143
    sunos4*)
 
9144
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
9145
      wlarc=
 
9146
      hardcode_direct=yes
 
9147
      hardcode_shlibpath_var=no
 
9148
      ;;
 
9149
 
 
9150
    *)
 
9151
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
9152
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9153
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9154
      else
 
9155
        ld_shlibs=no
 
9156
      fi
 
9157
      ;;
 
9158
    esac
 
9159
 
 
9160
    if test "$ld_shlibs" = no; then
 
9161
      runpath_var=
 
9162
      hardcode_libdir_flag_spec=
 
9163
      export_dynamic_flag_spec=
 
9164
      whole_archive_flag_spec=
 
9165
    fi
 
9166
  else
 
9167
    # PORTME fill in a description of your system's linker (not GNU ld)
 
9168
    case $host_os in
 
9169
    aix3*)
 
9170
      allow_undefined_flag=unsupported
 
9171
      always_export_symbols=yes
 
9172
      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'
 
9173
      # Note: this linker hardcodes the directories in LIBPATH if there
 
9174
      # are no directories specified by -L.
 
9175
      hardcode_minus_L=yes
 
9176
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
 
9177
        # Neither direct hardcoding nor static linking is supported with a
 
9178
        # broken collect2.
 
9179
        hardcode_direct=unsupported
 
9180
      fi
 
9181
      ;;
 
9182
 
 
9183
    aix[4-9]*)
 
9184
      if test "$host_cpu" = ia64; then
 
9185
        # On IA64, the linker does run time linking by default, so we don't
 
9186
        # have to do anything special.
 
9187
        aix_use_runtimelinking=no
 
9188
        exp_sym_flag='-Bexport'
 
9189
        no_entry_flag=""
 
9190
      else
 
9191
        # If we're using GNU nm, then we don't want the "-C" option.
 
9192
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
9193
        # Also, AIX nm treats weak defined symbols like other global
 
9194
        # defined symbols, whereas GNU nm marks them as "W".
 
9195
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
9196
          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'
 
9197
        else
 
9198
          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'
 
9199
        fi
 
9200
        aix_use_runtimelinking=no
 
9201
 
 
9202
        # Test if we are trying to use run time linking or normal
 
9203
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 
9204
        # need to do runtime linking.
 
9205
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
 
9206
          for ld_flag in $LDFLAGS; do
 
9207
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
9208
            aix_use_runtimelinking=yes
 
9209
            break
 
9210
          fi
 
9211
          done
 
9212
          ;;
 
9213
        esac
 
9214
 
 
9215
        exp_sym_flag='-bexport'
 
9216
        no_entry_flag='-bnoentry'
 
9217
      fi
 
9218
 
 
9219
      # When large executables or shared objects are built, AIX ld can
 
9220
      # have problems creating the table of contents.  If linking a library
 
9221
      # or program results in "error TOC overflow" add -mminimal-toc to
 
9222
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 
9223
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
9224
 
 
9225
      archive_cmds=''
 
9226
      hardcode_direct=yes
 
9227
      hardcode_direct_absolute=yes
 
9228
      hardcode_libdir_separator=':'
 
9229
      link_all_deplibs=yes
 
9230
      file_list_spec='${wl}-f,'
 
9231
 
 
9232
      if test "$GCC" = yes; then
 
9233
        case $host_os in aix4.[012]|aix4.[012].*)
 
9234
        # We only want to do this on AIX 4.2 and lower, the check
 
9235
        # below for broken collect2 doesn't work under 4.3+
 
9236
          collect2name=`${CC} -print-prog-name=collect2`
 
9237
          if test -f "$collect2name" &&
 
9238
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
 
9239
          then
 
9240
          # We have reworked collect2
 
9241
          :
 
9242
          else
 
9243
          # We have old collect2
 
9244
          hardcode_direct=unsupported
 
9245
          # It fails to find uninstalled libraries when the uninstalled
 
9246
          # path is not listed in the libpath.  Setting hardcode_minus_L
 
9247
          # to unsupported forces relinking
 
9248
          hardcode_minus_L=yes
 
9249
          hardcode_libdir_flag_spec='-L$libdir'
 
9250
          hardcode_libdir_separator=
 
9251
          fi
 
9252
          ;;
 
9253
        esac
 
9254
        shared_flag='-shared'
 
9255
        if test "$aix_use_runtimelinking" = yes; then
 
9256
          shared_flag="$shared_flag "'${wl}-G'
 
9257
        fi
 
9258
        link_all_deplibs=no
 
9259
      else
 
9260
        # not using gcc
 
9261
        if test "$host_cpu" = ia64; then
 
9262
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
9263
        # chokes on -Wl,-G. The following line is correct:
 
9264
          shared_flag='-G'
 
9265
        else
 
9266
          if test "$aix_use_runtimelinking" = yes; then
 
9267
            shared_flag='${wl}-G'
 
9268
          else
 
9269
            shared_flag='${wl}-bM:SRE'
 
9270
          fi
 
9271
        fi
 
9272
      fi
 
9273
 
 
9274
      export_dynamic_flag_spec='${wl}-bexpall'
 
9275
      # It seems that -bexpall does not export symbols beginning with
 
9276
      # underscore (_), so it is better to generate a list of symbols to export.
 
9277
      always_export_symbols=yes
 
9278
      if test "$aix_use_runtimelinking" = yes; then
 
9279
        # Warning - without using the other runtime loading flags (-brtl),
 
9280
        # -berok will link without error, but may produce a broken library.
 
9281
        allow_undefined_flag='-berok'
 
9282
        # Determine the default libpath from the value encoded in an
 
9283
        # empty executable.
 
9284
        if test "${lt_cv_aix_libpath+set}" = set; then
 
9285
  aix_libpath=$lt_cv_aix_libpath
 
9286
else
 
9287
  if ${lt_cv_aix_libpath_+:} false; then :
 
9288
  $as_echo_n "(cached) " >&6
 
9289
else
 
9290
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9291
/* end confdefs.h.  */
 
9292
 
 
9293
int
 
9294
main ()
 
9295
{
 
9296
 
 
9297
  ;
 
9298
  return 0;
 
9299
}
 
9300
_ACEOF
 
9301
if ac_fn_c_try_link "$LINENO"; then :
 
9302
 
 
9303
  lt_aix_libpath_sed='
 
9304
      /Import File Strings/,/^$/ {
 
9305
          /^0/ {
 
9306
              s/^0  *\([^ ]*\) *$/\1/
 
9307
              p
 
9308
          }
 
9309
      }'
 
9310
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9311
  # Check for a 64-bit object if we didn't find anything.
 
9312
  if test -z "$lt_cv_aix_libpath_"; then
 
9313
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9314
  fi
 
9315
fi
 
9316
rm -f core conftest.err conftest.$ac_objext \
 
9317
    conftest$ac_exeext conftest.$ac_ext
 
9318
  if test -z "$lt_cv_aix_libpath_"; then
 
9319
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
9320
  fi
 
9321
 
 
9322
fi
 
9323
 
 
9324
  aix_libpath=$lt_cv_aix_libpath_
 
9325
fi
 
9326
 
 
9327
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
9328
        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"
 
9329
      else
 
9330
        if test "$host_cpu" = ia64; then
 
9331
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
 
9332
          allow_undefined_flag="-z nodefs"
 
9333
          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"
 
9334
        else
 
9335
         # Determine the default libpath from the value encoded in an
 
9336
         # empty executable.
 
9337
         if test "${lt_cv_aix_libpath+set}" = set; then
 
9338
  aix_libpath=$lt_cv_aix_libpath
 
9339
else
 
9340
  if ${lt_cv_aix_libpath_+:} false; then :
 
9341
  $as_echo_n "(cached) " >&6
 
9342
else
 
9343
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9344
/* end confdefs.h.  */
 
9345
 
 
9346
int
 
9347
main ()
 
9348
{
 
9349
 
 
9350
  ;
 
9351
  return 0;
 
9352
}
 
9353
_ACEOF
 
9354
if ac_fn_c_try_link "$LINENO"; then :
 
9355
 
 
9356
  lt_aix_libpath_sed='
 
9357
      /Import File Strings/,/^$/ {
 
9358
          /^0/ {
 
9359
              s/^0  *\([^ ]*\) *$/\1/
 
9360
              p
 
9361
          }
 
9362
      }'
 
9363
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9364
  # Check for a 64-bit object if we didn't find anything.
 
9365
  if test -z "$lt_cv_aix_libpath_"; then
 
9366
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9367
  fi
 
9368
fi
 
9369
rm -f core conftest.err conftest.$ac_objext \
 
9370
    conftest$ac_exeext conftest.$ac_ext
 
9371
  if test -z "$lt_cv_aix_libpath_"; then
 
9372
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
9373
  fi
 
9374
 
 
9375
fi
 
9376
 
 
9377
  aix_libpath=$lt_cv_aix_libpath_
 
9378
fi
 
9379
 
 
9380
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
9381
          # Warning - without using the other run time loading flags,
 
9382
          # -berok will link without error, but may produce a broken library.
 
9383
          no_undefined_flag=' ${wl}-bernotok'
 
9384
          allow_undefined_flag=' ${wl}-berok'
 
9385
          if test "$with_gnu_ld" = yes; then
 
9386
            # We only use this code for GNU lds that support --whole-archive.
 
9387
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
9388
          else
 
9389
            # Exported symbols can be pulled into shared objects from archives
 
9390
            whole_archive_flag_spec='$convenience'
 
9391
          fi
 
9392
          archive_cmds_need_lc=yes
 
9393
          # This is similar to how AIX traditionally builds its shared libraries.
 
9394
          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'
 
9395
        fi
 
9396
      fi
 
9397
      ;;
 
9398
 
 
9399
    amigaos*)
 
9400
      case $host_cpu in
 
9401
      powerpc)
 
9402
            # see comment about AmigaOS4 .so support
 
9403
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9404
            archive_expsym_cmds=''
 
9405
        ;;
 
9406
      m68k)
 
9407
            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)'
 
9408
            hardcode_libdir_flag_spec='-L$libdir'
 
9409
            hardcode_minus_L=yes
 
9410
        ;;
 
9411
      esac
 
9412
      ;;
 
9413
 
 
9414
    bsdi[45]*)
 
9415
      export_dynamic_flag_spec=-rdynamic
 
9416
      ;;
 
9417
 
 
9418
    cygwin* | mingw* | pw32* | cegcc*)
 
9419
      # When not using gcc, we currently assume that we are using
 
9420
      # Microsoft Visual C++.
 
9421
      # hardcode_libdir_flag_spec is actually meaningless, as there is
 
9422
      # no search path for DLLs.
 
9423
      case $cc_basename in
 
9424
      cl*)
 
9425
        # Native MSVC
 
9426
        hardcode_libdir_flag_spec=' '
 
9427
        allow_undefined_flag=unsupported
 
9428
        always_export_symbols=yes
 
9429
        file_list_spec='@'
 
9430
        # Tell ltmain to make .lib files, not .a files.
 
9431
        libext=lib
 
9432
        # Tell ltmain to make .dll files, not .so files.
 
9433
        shrext_cmds=".dll"
 
9434
        # FIXME: Setting linknames here is a bad hack.
 
9435
        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 
9436
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
9437
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 
9438
          else
 
9439
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 
9440
          fi~
 
9441
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
9442
          linknames='
 
9443
        # The linker will not automatically build a static lib if we build a DLL.
 
9444
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
 
9445
        enable_shared_with_static_runtimes=yes
 
9446
        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
 
9447
        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
9448
        # Don't use ranlib
 
9449
        old_postinstall_cmds='chmod 644 $oldlib'
 
9450
        postlink_cmds='lt_outputfile="@OUTPUT@"~
 
9451
          lt_tool_outputfile="@TOOL_OUTPUT@"~
 
9452
          case $lt_outputfile in
 
9453
            *.exe|*.EXE) ;;
 
9454
            *)
 
9455
              lt_outputfile="$lt_outputfile.exe"
 
9456
              lt_tool_outputfile="$lt_tool_outputfile.exe"
 
9457
              ;;
 
9458
          esac~
 
9459
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 
9460
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
9461
            $RM "$lt_outputfile.manifest";
 
9462
          fi'
 
9463
        ;;
 
9464
      *)
 
9465
        # Assume MSVC wrapper
 
9466
        hardcode_libdir_flag_spec=' '
 
9467
        allow_undefined_flag=unsupported
 
9468
        # Tell ltmain to make .lib files, not .a files.
 
9469
        libext=lib
 
9470
        # Tell ltmain to make .dll files, not .so files.
 
9471
        shrext_cmds=".dll"
 
9472
        # FIXME: Setting linknames here is a bad hack.
 
9473
        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
 
9474
        # The linker will automatically build a .lib file if we build a DLL.
 
9475
        old_archive_from_new_cmds='true'
 
9476
        # FIXME: Should let the user specify the lib program.
 
9477
        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
9478
        enable_shared_with_static_runtimes=yes
 
9479
        ;;
 
9480
      esac
 
9481
      ;;
 
9482
 
 
9483
    darwin* | rhapsody*)
 
9484
 
 
9485
 
 
9486
  archive_cmds_need_lc=no
 
9487
  hardcode_direct=no
 
9488
  hardcode_automatic=yes
 
9489
  hardcode_shlibpath_var=unsupported
 
9490
  if test "$lt_cv_ld_force_load" = "yes"; then
 
9491
    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\"`'
 
9492
 
 
9493
  else
 
9494
    whole_archive_flag_spec=''
 
9495
  fi
 
9496
  link_all_deplibs=yes
 
9497
  allow_undefined_flag="$_lt_dar_allow_undefined"
 
9498
  case $cc_basename in
 
9499
     ifort*) _lt_dar_can_shared=yes ;;
 
9500
     *) _lt_dar_can_shared=$GCC ;;
 
9501
  esac
 
9502
  if test "$_lt_dar_can_shared" = "yes"; then
 
9503
    output_verbose_link_cmd=func_echo_all
 
9504
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
9505
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
9506
    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}"
 
9507
    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}"
 
9508
 
 
9509
  else
 
9510
  ld_shlibs=no
 
9511
  fi
 
9512
 
 
9513
      ;;
 
9514
 
 
9515
    dgux*)
 
9516
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9517
      hardcode_libdir_flag_spec='-L$libdir'
 
9518
      hardcode_shlibpath_var=no
 
9519
      ;;
 
9520
 
 
9521
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
 
9522
    # support.  Future versions do this automatically, but an explicit c++rt0.o
 
9523
    # does not break anything, and helps significantly (at the cost of a little
 
9524
    # extra space).
 
9525
    freebsd2.2*)
 
9526
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
 
9527
      hardcode_libdir_flag_spec='-R$libdir'
 
9528
      hardcode_direct=yes
 
9529
      hardcode_shlibpath_var=no
 
9530
      ;;
 
9531
 
 
9532
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
 
9533
    freebsd2.*)
 
9534
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
9535
      hardcode_direct=yes
 
9536
      hardcode_minus_L=yes
 
9537
      hardcode_shlibpath_var=no
 
9538
      ;;
 
9539
 
 
9540
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
 
9541
    freebsd* | dragonfly*)
 
9542
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
9543
      hardcode_libdir_flag_spec='-R$libdir'
 
9544
      hardcode_direct=yes
 
9545
      hardcode_shlibpath_var=no
 
9546
      ;;
 
9547
 
 
9548
    hpux9*)
 
9549
      if test "$GCC" = yes; then
 
9550
        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'
 
9551
      else
 
9552
        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'
 
9553
      fi
 
9554
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
9555
      hardcode_libdir_separator=:
 
9556
      hardcode_direct=yes
 
9557
 
 
9558
      # hardcode_minus_L: Not really in the search PATH,
 
9559
      # but as the default location of the library.
 
9560
      hardcode_minus_L=yes
 
9561
      export_dynamic_flag_spec='${wl}-E'
 
9562
      ;;
 
9563
 
 
9564
    hpux10*)
 
9565
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 
9566
        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9567
      else
 
9568
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
9569
      fi
 
9570
      if test "$with_gnu_ld" = no; then
 
9571
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
9572
        hardcode_libdir_separator=:
 
9573
        hardcode_direct=yes
 
9574
        hardcode_direct_absolute=yes
 
9575
        export_dynamic_flag_spec='${wl}-E'
 
9576
        # hardcode_minus_L: Not really in the search PATH,
 
9577
        # but as the default location of the library.
 
9578
        hardcode_minus_L=yes
 
9579
      fi
 
9580
      ;;
 
9581
 
 
9582
    hpux11*)
 
9583
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 
9584
        case $host_cpu in
 
9585
        hppa*64*)
 
9586
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9587
          ;;
 
9588
        ia64*)
 
9589
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
9590
          ;;
 
9591
        *)
 
9592
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9593
          ;;
 
9594
        esac
 
9595
      else
 
9596
        case $host_cpu in
 
9597
        hppa*64*)
 
9598
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9599
          ;;
 
9600
        ia64*)
 
9601
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
9602
          ;;
 
9603
        *)
 
9604
 
 
9605
          # Older versions of the 11.00 compiler do not understand -b yet
 
9606
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
 
9607
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
 
9608
$as_echo_n "checking if $CC understands -b... " >&6; }
 
9609
if ${lt_cv_prog_compiler__b+:} false; then :
 
9610
  $as_echo_n "(cached) " >&6
 
9611
else
 
9612
  lt_cv_prog_compiler__b=no
 
9613
   save_LDFLAGS="$LDFLAGS"
 
9614
   LDFLAGS="$LDFLAGS -b"
 
9615
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
9616
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
9617
     # The linker can only warn and ignore the option if not recognized
 
9618
     # So say no if there are warnings
 
9619
     if test -s conftest.err; then
 
9620
       # Append any errors to the config.log.
 
9621
       cat conftest.err 1>&5
 
9622
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
9623
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
9624
       if diff conftest.exp conftest.er2 >/dev/null; then
 
9625
         lt_cv_prog_compiler__b=yes
 
9626
       fi
 
9627
     else
 
9628
       lt_cv_prog_compiler__b=yes
 
9629
     fi
 
9630
   fi
 
9631
   $RM -r conftest*
 
9632
   LDFLAGS="$save_LDFLAGS"
 
9633
 
 
9634
fi
 
9635
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
 
9636
$as_echo "$lt_cv_prog_compiler__b" >&6; }
 
9637
 
 
9638
if test x"$lt_cv_prog_compiler__b" = xyes; then
 
9639
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9640
else
 
9641
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
9642
fi
 
9643
 
 
9644
          ;;
 
9645
        esac
 
9646
      fi
 
9647
      if test "$with_gnu_ld" = no; then
 
9648
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
9649
        hardcode_libdir_separator=:
 
9650
 
 
9651
        case $host_cpu in
 
9652
        hppa*64*|ia64*)
 
9653
          hardcode_direct=no
 
9654
          hardcode_shlibpath_var=no
 
9655
          ;;
 
9656
        *)
 
9657
          hardcode_direct=yes
 
9658
          hardcode_direct_absolute=yes
 
9659
          export_dynamic_flag_spec='${wl}-E'
 
9660
 
 
9661
          # hardcode_minus_L: Not really in the search PATH,
 
9662
          # but as the default location of the library.
 
9663
          hardcode_minus_L=yes
 
9664
          ;;
 
9665
        esac
 
9666
      fi
 
9667
      ;;
 
9668
 
 
9669
    irix5* | irix6* | nonstopux*)
 
9670
      if test "$GCC" = yes; then
 
9671
        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'
 
9672
        # Try to use the -exported_symbol ld option, if it does not
 
9673
        # work, assume that -exports_file does not work either and
 
9674
        # implicitly export all symbols.
 
9675
        # This should be the same for all languages, so no per-tag cache variable.
 
9676
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
 
9677
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
 
9678
if ${lt_cv_irix_exported_symbol+:} false; then :
 
9679
  $as_echo_n "(cached) " >&6
 
9680
else
 
9681
  save_LDFLAGS="$LDFLAGS"
 
9682
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
9683
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9684
/* end confdefs.h.  */
 
9685
int foo (void) { return 0; }
 
9686
_ACEOF
 
9687
if ac_fn_c_try_link "$LINENO"; then :
 
9688
  lt_cv_irix_exported_symbol=yes
 
9689
else
 
9690
  lt_cv_irix_exported_symbol=no
 
9691
fi
 
9692
rm -f core conftest.err conftest.$ac_objext \
 
9693
    conftest$ac_exeext conftest.$ac_ext
 
9694
           LDFLAGS="$save_LDFLAGS"
 
9695
fi
 
9696
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
 
9697
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
 
9698
        if test "$lt_cv_irix_exported_symbol" = yes; then
 
9699
          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'
 
9700
        fi
 
9701
      else
 
9702
        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'
 
9703
        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'
 
9704
      fi
 
9705
      archive_cmds_need_lc='no'
 
9706
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9707
      hardcode_libdir_separator=:
 
9708
      inherit_rpath=yes
 
9709
      link_all_deplibs=yes
 
9710
      ;;
 
9711
 
 
9712
    netbsd* | netbsdelf*-gnu)
 
9713
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
9714
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 
9715
      else
 
9716
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 
9717
      fi
 
9718
      hardcode_libdir_flag_spec='-R$libdir'
 
9719
      hardcode_direct=yes
 
9720
      hardcode_shlibpath_var=no
 
9721
      ;;
 
9722
 
 
9723
    newsos6)
 
9724
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9725
      hardcode_direct=yes
 
9726
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9727
      hardcode_libdir_separator=:
 
9728
      hardcode_shlibpath_var=no
 
9729
      ;;
 
9730
 
 
9731
    *nto* | *qnx*)
 
9732
      ;;
 
9733
 
 
9734
    openbsd*)
 
9735
      if test -f /usr/libexec/ld.so; then
 
9736
        hardcode_direct=yes
 
9737
        hardcode_shlibpath_var=no
 
9738
        hardcode_direct_absolute=yes
 
9739
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
9740
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
9741
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
9742
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
9743
          export_dynamic_flag_spec='${wl}-E'
 
9744
        else
 
9745
          case $host_os in
 
9746
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
9747
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
9748
             hardcode_libdir_flag_spec='-R$libdir'
 
9749
             ;;
 
9750
           *)
 
9751
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
9752
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
9753
             ;;
 
9754
          esac
 
9755
        fi
 
9756
      else
 
9757
        ld_shlibs=no
 
9758
      fi
 
9759
      ;;
 
9760
 
 
9761
    os2*)
 
9762
      hardcode_libdir_flag_spec='-L$libdir'
 
9763
      hardcode_minus_L=yes
 
9764
      allow_undefined_flag=unsupported
 
9765
      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'
 
9766
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
9767
      ;;
 
9768
 
 
9769
    osf3*)
 
9770
      if test "$GCC" = yes; then
 
9771
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
9772
        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'
 
9773
      else
 
9774
        allow_undefined_flag=' -expect_unresolved \*'
 
9775
        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'
 
9776
      fi
 
9777
      archive_cmds_need_lc='no'
 
9778
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9779
      hardcode_libdir_separator=:
 
9780
      ;;
 
9781
 
 
9782
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
 
9783
      if test "$GCC" = yes; then
 
9784
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
9785
        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'
 
9786
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9787
      else
 
9788
        allow_undefined_flag=' -expect_unresolved \*'
 
9789
        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'
 
9790
        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~
 
9791
        $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'
 
9792
 
 
9793
        # Both c and cxx compiler support -rpath directly
 
9794
        hardcode_libdir_flag_spec='-rpath $libdir'
 
9795
      fi
 
9796
      archive_cmds_need_lc='no'
 
9797
      hardcode_libdir_separator=:
 
9798
      ;;
 
9799
 
 
9800
    solaris*)
 
9801
      no_undefined_flag=' -z defs'
 
9802
      if test "$GCC" = yes; then
 
9803
        wlarc='${wl}'
 
9804
        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9805
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
9806
          $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'
 
9807
      else
 
9808
        case `$CC -V 2>&1` in
 
9809
        *"Compilers 5.0"*)
 
9810
          wlarc=''
 
9811
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9812
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
9813
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 
9814
          ;;
 
9815
        *)
 
9816
          wlarc='${wl}'
 
9817
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
9818
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
9819
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
9820
          ;;
 
9821
        esac
 
9822
      fi
 
9823
      hardcode_libdir_flag_spec='-R$libdir'
 
9824
      hardcode_shlibpath_var=no
 
9825
      case $host_os in
 
9826
      solaris2.[0-5] | solaris2.[0-5].*) ;;
 
9827
      *)
 
9828
        # The compiler driver will combine and reorder linker options,
 
9829
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
9830
        # but is careful enough not to reorder.
 
9831
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
9832
        if test "$GCC" = yes; then
 
9833
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
9834
        else
 
9835
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
 
9836
        fi
 
9837
        ;;
 
9838
      esac
 
9839
      link_all_deplibs=yes
 
9840
      ;;
 
9841
 
 
9842
    sunos4*)
 
9843
      if test "x$host_vendor" = xsequent; then
 
9844
        # Use $CC to link under sequent, because it throws in some extra .o
 
9845
        # files that make .init and .fini sections work.
 
9846
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
9847
      else
 
9848
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 
9849
      fi
 
9850
      hardcode_libdir_flag_spec='-L$libdir'
 
9851
      hardcode_direct=yes
 
9852
      hardcode_minus_L=yes
 
9853
      hardcode_shlibpath_var=no
 
9854
      ;;
 
9855
 
 
9856
    sysv4)
 
9857
      case $host_vendor in
 
9858
        sni)
 
9859
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9860
          hardcode_direct=yes # is this really true???
 
9861
        ;;
 
9862
        siemens)
 
9863
          ## LD is ld it makes a PLAMLIB
 
9864
          ## CC just makes a GrossModule.
 
9865
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 
9866
          reload_cmds='$CC -r -o $output$reload_objs'
 
9867
          hardcode_direct=no
 
9868
        ;;
 
9869
        motorola)
 
9870
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9871
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
 
9872
        ;;
 
9873
      esac
 
9874
      runpath_var='LD_RUN_PATH'
 
9875
      hardcode_shlibpath_var=no
 
9876
      ;;
 
9877
 
 
9878
    sysv4.3*)
 
9879
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9880
      hardcode_shlibpath_var=no
 
9881
      export_dynamic_flag_spec='-Bexport'
 
9882
      ;;
 
9883
 
 
9884
    sysv4*MP*)
 
9885
      if test -d /usr/nec; then
 
9886
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9887
        hardcode_shlibpath_var=no
 
9888
        runpath_var=LD_RUN_PATH
 
9889
        hardcode_runpath_var=yes
 
9890
        ld_shlibs=yes
 
9891
      fi
 
9892
      ;;
 
9893
 
 
9894
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
9895
      no_undefined_flag='${wl}-z,text'
 
9896
      archive_cmds_need_lc=no
 
9897
      hardcode_shlibpath_var=no
 
9898
      runpath_var='LD_RUN_PATH'
 
9899
 
 
9900
      if test "$GCC" = yes; then
 
9901
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9902
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9903
      else
 
9904
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9905
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9906
      fi
 
9907
      ;;
 
9908
 
 
9909
    sysv5* | sco3.2v5* | sco5v6*)
 
9910
      # Note: We can NOT use -z defs as we might desire, because we do not
 
9911
      # link with -lc, and that would cause any symbols used from libc to
 
9912
      # always be unresolved, which means just about no library would
 
9913
      # ever link correctly.  If we're not using GNU ld we use -z text
 
9914
      # though, which does catch some bad symbols but isn't as heavy-handed
 
9915
      # as -z defs.
 
9916
      no_undefined_flag='${wl}-z,text'
 
9917
      allow_undefined_flag='${wl}-z,nodefs'
 
9918
      archive_cmds_need_lc=no
 
9919
      hardcode_shlibpath_var=no
 
9920
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
 
9921
      hardcode_libdir_separator=':'
 
9922
      link_all_deplibs=yes
 
9923
      export_dynamic_flag_spec='${wl}-Bexport'
 
9924
      runpath_var='LD_RUN_PATH'
 
9925
 
 
9926
      if test "$GCC" = yes; then
 
9927
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9928
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9929
      else
 
9930
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9931
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9932
      fi
 
9933
      ;;
 
9934
 
 
9935
    uts4*)
 
9936
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9937
      hardcode_libdir_flag_spec='-L$libdir'
 
9938
      hardcode_shlibpath_var=no
 
9939
      ;;
 
9940
 
 
9941
    *)
 
9942
      ld_shlibs=no
 
9943
      ;;
 
9944
    esac
 
9945
 
 
9946
    if test x$host_vendor = xsni; then
 
9947
      case $host in
 
9948
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
9949
        export_dynamic_flag_spec='${wl}-Blargedynsym'
 
9950
        ;;
 
9951
      esac
 
9952
    fi
 
9953
  fi
 
9954
 
 
9955
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
 
9956
$as_echo "$ld_shlibs" >&6; }
 
9957
test "$ld_shlibs" = no && can_build_shared=no
 
9958
 
 
9959
with_gnu_ld=$with_gnu_ld
 
9960
 
 
9961
 
 
9962
 
 
9963
 
 
9964
 
 
9965
 
 
9966
 
 
9967
 
 
9968
 
 
9969
 
 
9970
 
 
9971
 
 
9972
 
 
9973
 
 
9974
 
 
9975
#
 
9976
# Do we need to explicitly link libc?
 
9977
#
 
9978
case "x$archive_cmds_need_lc" in
 
9979
x|xyes)
 
9980
  # Assume -lc should be added
 
9981
  archive_cmds_need_lc=yes
 
9982
 
 
9983
  if test "$enable_shared" = yes && test "$GCC" = yes; then
 
9984
    case $archive_cmds in
 
9985
    *'~'*)
 
9986
      # FIXME: we may have to deal with multi-command sequences.
 
9987
      ;;
 
9988
    '$CC '*)
 
9989
      # Test whether the compiler implicitly links with -lc since on some
 
9990
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
 
9991
      # to ld, don't add -lc before -lgcc.
 
9992
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 
9993
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
9994
if ${lt_cv_archive_cmds_need_lc+:} false; then :
 
9995
  $as_echo_n "(cached) " >&6
 
9996
else
 
9997
  $RM conftest*
 
9998
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9999
 
 
10000
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
10001
  (eval $ac_compile) 2>&5
 
10002
  ac_status=$?
 
10003
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10004
  test $ac_status = 0; } 2>conftest.err; then
 
10005
          soname=conftest
 
10006
          lib=conftest
 
10007
          libobjs=conftest.$ac_objext
 
10008
          deplibs=
 
10009
          wl=$lt_prog_compiler_wl
 
10010
          pic_flag=$lt_prog_compiler_pic
 
10011
          compiler_flags=-v
 
10012
          linker_flags=-v
 
10013
          verstring=
 
10014
          output_objdir=.
 
10015
          libname=conftest
 
10016
          lt_save_allow_undefined_flag=$allow_undefined_flag
 
10017
          allow_undefined_flag=
 
10018
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
10019
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
10020
  ac_status=$?
 
10021
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10022
  test $ac_status = 0; }
 
10023
          then
 
10024
            lt_cv_archive_cmds_need_lc=no
 
10025
          else
 
10026
            lt_cv_archive_cmds_need_lc=yes
 
10027
          fi
 
10028
          allow_undefined_flag=$lt_save_allow_undefined_flag
 
10029
        else
 
10030
          cat conftest.err 1>&5
 
10031
        fi
 
10032
        $RM conftest*
 
10033
 
 
10034
fi
 
10035
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
 
10036
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
 
10037
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
 
10038
      ;;
 
10039
    esac
 
10040
  fi
 
10041
  ;;
 
10042
esac
 
10043
 
 
10044
 
 
10045
 
 
10046
 
 
10047
 
 
10048
 
 
10049
 
 
10050
 
 
10051
 
 
10052
 
 
10053
 
 
10054
 
 
10055
 
 
10056
 
 
10057
 
 
10058
 
 
10059
 
 
10060
 
 
10061
 
 
10062
 
 
10063
 
 
10064
 
 
10065
 
 
10066
 
 
10067
 
 
10068
 
 
10069
 
 
10070
 
 
10071
 
 
10072
 
 
10073
 
 
10074
 
 
10075
 
 
10076
 
 
10077
 
 
10078
 
 
10079
 
 
10080
 
 
10081
 
 
10082
 
 
10083
 
 
10084
 
 
10085
 
 
10086
 
 
10087
 
 
10088
 
 
10089
 
 
10090
 
 
10091
 
 
10092
 
 
10093
 
 
10094
 
 
10095
 
 
10096
 
 
10097
 
 
10098
 
 
10099
 
 
10100
 
 
10101
 
 
10102
 
 
10103
 
 
10104
 
 
10105
 
 
10106
 
 
10107
 
 
10108
 
 
10109
 
 
10110
 
 
10111
 
 
10112
 
 
10113
 
 
10114
 
 
10115
 
 
10116
 
 
10117
 
 
10118
 
 
10119
 
 
10120
 
 
10121
 
 
10122
 
 
10123
 
 
10124
 
 
10125
 
 
10126
 
 
10127
 
 
10128
 
 
10129
 
 
10130
 
 
10131
 
 
10132
 
 
10133
 
 
10134
 
 
10135
 
 
10136
 
 
10137
 
 
10138
 
 
10139
 
 
10140
 
 
10141
 
 
10142
 
 
10143
 
 
10144
 
 
10145
 
 
10146
 
 
10147
 
 
10148
 
 
10149
 
 
10150
 
 
10151
 
 
10152
 
 
10153
 
 
10154
 
 
10155
 
 
10156
 
 
10157
 
 
10158
 
 
10159
 
 
10160
 
 
10161
 
 
10162
 
 
10163
 
 
10164
 
 
10165
 
 
10166
 
 
10167
 
 
10168
 
 
10169
 
 
10170
 
 
10171
 
 
10172
 
 
10173
 
 
10174
 
 
10175
 
 
10176
 
 
10177
 
 
10178
 
 
10179
 
 
10180
 
 
10181
 
 
10182
 
 
10183
 
 
10184
 
 
10185
 
 
10186
 
 
10187
 
 
10188
 
 
10189
 
 
10190
 
 
10191
 
 
10192
 
 
10193
 
 
10194
 
 
10195
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
 
10196
$as_echo_n "checking dynamic linker characteristics... " >&6; }
 
10197
 
 
10198
if test "$GCC" = yes; then
 
10199
  case $host_os in
 
10200
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 
10201
    *) lt_awk_arg="/^libraries:/" ;;
 
10202
  esac
 
10203
  case $host_os in
 
10204
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
 
10205
    *) lt_sed_strip_eq="s,=/,/,g" ;;
 
10206
  esac
 
10207
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
 
10208
  case $lt_search_path_spec in
 
10209
  *\;*)
 
10210
    # if the path contains ";" then we assume it to be the separator
 
10211
    # otherwise default to the standard path separator (i.e. ":") - it is
 
10212
    # assumed that no part of a normal pathname contains ";" but that should
 
10213
    # okay in the real world where ";" in dirpaths is itself problematic.
 
10214
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
 
10215
    ;;
 
10216
  *)
 
10217
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
 
10218
    ;;
 
10219
  esac
 
10220
  # Ok, now we have the path, separated by spaces, we can step through it
 
10221
  # and add multilib dir if necessary.
 
10222
  lt_tmp_lt_search_path_spec=
 
10223
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 
10224
  for lt_sys_path in $lt_search_path_spec; do
 
10225
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 
10226
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 
10227
    else
 
10228
      test -d "$lt_sys_path" && \
 
10229
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 
10230
    fi
 
10231
  done
 
10232
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
 
10233
BEGIN {RS=" "; FS="/|\n";} {
 
10234
  lt_foo="";
 
10235
  lt_count=0;
 
10236
  for (lt_i = NF; lt_i > 0; lt_i--) {
 
10237
    if ($lt_i != "" && $lt_i != ".") {
 
10238
      if ($lt_i == "..") {
 
10239
        lt_count++;
 
10240
      } else {
 
10241
        if (lt_count == 0) {
 
10242
          lt_foo="/" $lt_i lt_foo;
 
10243
        } else {
 
10244
          lt_count--;
 
10245
        }
 
10246
      }
 
10247
    }
 
10248
  }
 
10249
  if (lt_foo != "") { lt_freq[lt_foo]++; }
 
10250
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
 
10251
}'`
 
10252
  # AWK program above erroneously prepends '/' to C:/dos/paths
 
10253
  # for these hosts.
 
10254
  case $host_os in
 
10255
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
 
10256
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
 
10257
  esac
 
10258
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
 
10259
else
 
10260
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 
10261
fi
 
10262
library_names_spec=
 
10263
libname_spec='lib$name'
 
10264
soname_spec=
 
10265
shrext_cmds=".so"
 
10266
postinstall_cmds=
 
10267
postuninstall_cmds=
 
10268
finish_cmds=
 
10269
finish_eval=
 
10270
shlibpath_var=
 
10271
shlibpath_overrides_runpath=unknown
 
10272
version_type=none
 
10273
dynamic_linker="$host_os ld.so"
 
10274
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
10275
need_lib_prefix=unknown
 
10276
hardcode_into_libs=no
 
10277
 
 
10278
# when you set need_version to no, make sure it does not cause -set_version
 
10279
# flags to be left without arguments
 
10280
need_version=unknown
 
10281
 
 
10282
case $host_os in
 
10283
aix3*)
 
10284
  version_type=linux # correct to gnu/linux during the next big refactor
 
10285
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 
10286
  shlibpath_var=LIBPATH
 
10287
 
 
10288
  # AIX 3 has no versioning support, so we append a major version to the name.
 
10289
  soname_spec='${libname}${release}${shared_ext}$major'
 
10290
  ;;
 
10291
 
 
10292
aix[4-9]*)
 
10293
  version_type=linux # correct to gnu/linux during the next big refactor
 
10294
  need_lib_prefix=no
 
10295
  need_version=no
 
10296
  hardcode_into_libs=yes
 
10297
  if test "$host_cpu" = ia64; then
 
10298
    # AIX 5 supports IA64
 
10299
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 
10300
    shlibpath_var=LD_LIBRARY_PATH
 
10301
  else
 
10302
    # With GCC up to 2.95.x, collect2 would create an import file
 
10303
    # for dependence libraries.  The import file would start with
 
10304
    # the line `#! .'.  This would cause the generated library to
 
10305
    # depend on `.', always an invalid library.  This was fixed in
 
10306
    # development snapshots of GCC prior to 3.0.
 
10307
    case $host_os in
 
10308
      aix4 | aix4.[01] | aix4.[01].*)
 
10309
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 
10310
           echo ' yes '
 
10311
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
 
10312
        :
 
10313
      else
 
10314
        can_build_shared=no
 
10315
      fi
 
10316
      ;;
 
10317
    esac
 
10318
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 
10319
    # soname into executable. Probably we can add versioning support to
 
10320
    # collect2, so additional links can be useful in future.
 
10321
    if test "$aix_use_runtimelinking" = yes; then
 
10322
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 
10323
      # instead of lib<name>.a to let people know that these are not
 
10324
      # typical AIX shared libraries.
 
10325
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10326
    else
 
10327
      # We preserve .a as extension for shared libraries through AIX4.2
 
10328
      # and later when we are not doing run time linking.
 
10329
      library_names_spec='${libname}${release}.a $libname.a'
 
10330
      soname_spec='${libname}${release}${shared_ext}$major'
 
10331
    fi
 
10332
    shlibpath_var=LIBPATH
 
10333
  fi
 
10334
  ;;
 
10335
 
 
10336
amigaos*)
 
10337
  case $host_cpu in
 
10338
  powerpc)
 
10339
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
10340
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
10341
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10342
    ;;
 
10343
  m68k)
 
10344
    library_names_spec='$libname.ixlibrary $libname.a'
 
10345
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
10346
    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'
 
10347
    ;;
 
10348
  esac
 
10349
  ;;
 
10350
 
 
10351
beos*)
 
10352
  library_names_spec='${libname}${shared_ext}'
 
10353
  dynamic_linker="$host_os ld.so"
 
10354
  shlibpath_var=LIBRARY_PATH
 
10355
  ;;
 
10356
 
 
10357
bsdi[45]*)
 
10358
  version_type=linux # correct to gnu/linux during the next big refactor
 
10359
  need_version=no
 
10360
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10361
  soname_spec='${libname}${release}${shared_ext}$major'
 
10362
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 
10363
  shlibpath_var=LD_LIBRARY_PATH
 
10364
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 
10365
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 
10366
  # the default ld.so.conf also contains /usr/contrib/lib and
 
10367
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 
10368
  # libtool to hard-code these into programs
 
10369
  ;;
 
10370
 
 
10371
cygwin* | mingw* | pw32* | cegcc*)
 
10372
  version_type=windows
 
10373
  shrext_cmds=".dll"
 
10374
  need_version=no
 
10375
  need_lib_prefix=no
 
10376
 
 
10377
  case $GCC,$cc_basename in
 
10378
  yes,*)
 
10379
    # gcc
 
10380
    library_names_spec='$libname.dll.a'
 
10381
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
10382
    postinstall_cmds='base_file=`basename \${file}`~
 
10383
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
10384
      dldir=$destdir/`dirname \$dlpath`~
 
10385
      test -d \$dldir || mkdir -p \$dldir~
 
10386
      $install_prog $dir/$dlname \$dldir/$dlname~
 
10387
      chmod a+x \$dldir/$dlname~
 
10388
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
10389
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
10390
      fi'
 
10391
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
10392
      dlpath=$dir/\$dldll~
 
10393
       $RM \$dlpath'
 
10394
    shlibpath_overrides_runpath=yes
 
10395
 
 
10396
    case $host_os in
 
10397
    cygwin*)
 
10398
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 
10399
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
10400
 
 
10401
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
 
10402
      ;;
 
10403
    mingw* | cegcc*)
 
10404
      # MinGW DLLs use traditional 'lib' prefix
 
10405
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
10406
      ;;
 
10407
    pw32*)
 
10408
      # pw32 DLLs use 'pw' prefix rather than 'lib'
 
10409
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
10410
      ;;
 
10411
    esac
 
10412
    dynamic_linker='Win32 ld.exe'
 
10413
    ;;
 
10414
 
 
10415
  *,cl*)
 
10416
    # Native MSVC
 
10417
    libname_spec='$name'
 
10418
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
10419
    library_names_spec='${libname}.dll.lib'
 
10420
 
 
10421
    case $build_os in
 
10422
    mingw*)
 
10423
      sys_lib_search_path_spec=
 
10424
      lt_save_ifs=$IFS
 
10425
      IFS=';'
 
10426
      for lt_path in $LIB
 
10427
      do
 
10428
        IFS=$lt_save_ifs
 
10429
        # Let DOS variable expansion print the short 8.3 style file name.
 
10430
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 
10431
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 
10432
      done
 
10433
      IFS=$lt_save_ifs
 
10434
      # Convert to MSYS style.
 
10435
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 
10436
      ;;
 
10437
    cygwin*)
 
10438
      # Convert to unix form, then to dos form, then back to unix form
 
10439
      # but this time dos style (no spaces!) so that the unix form looks
 
10440
      # like /cygdrive/c/PROGRA~1:/cygdr...
 
10441
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 
10442
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 
10443
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
10444
      ;;
 
10445
    *)
 
10446
      sys_lib_search_path_spec="$LIB"
 
10447
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
10448
        # It is most probably a Windows format PATH.
 
10449
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
10450
      else
 
10451
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
10452
      fi
 
10453
      # FIXME: find the short name or the path components, as spaces are
 
10454
      # common. (e.g. "Program Files" -> "PROGRA~1")
 
10455
      ;;
 
10456
    esac
 
10457
 
 
10458
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
10459
    postinstall_cmds='base_file=`basename \${file}`~
 
10460
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
10461
      dldir=$destdir/`dirname \$dlpath`~
 
10462
      test -d \$dldir || mkdir -p \$dldir~
 
10463
      $install_prog $dir/$dlname \$dldir/$dlname'
 
10464
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
10465
      dlpath=$dir/\$dldll~
 
10466
       $RM \$dlpath'
 
10467
    shlibpath_overrides_runpath=yes
 
10468
    dynamic_linker='Win32 link.exe'
 
10469
    ;;
 
10470
 
 
10471
  *)
 
10472
    # Assume MSVC wrapper
 
10473
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
10474
    dynamic_linker='Win32 ld.exe'
 
10475
    ;;
 
10476
  esac
 
10477
  # FIXME: first we should search . and the directory the executable is in
 
10478
  shlibpath_var=PATH
 
10479
  ;;
 
10480
 
 
10481
darwin* | rhapsody*)
 
10482
  dynamic_linker="$host_os dyld"
 
10483
  version_type=darwin
 
10484
  need_lib_prefix=no
 
10485
  need_version=no
 
10486
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
10487
  soname_spec='${libname}${release}${major}$shared_ext'
 
10488
  shlibpath_overrides_runpath=yes
 
10489
  shlibpath_var=DYLD_LIBRARY_PATH
 
10490
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 
10491
 
 
10492
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
 
10493
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 
10494
  ;;
 
10495
 
 
10496
dgux*)
 
10497
  version_type=linux # correct to gnu/linux during the next big refactor
 
10498
  need_lib_prefix=no
 
10499
  need_version=no
 
10500
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 
10501
  soname_spec='${libname}${release}${shared_ext}$major'
 
10502
  shlibpath_var=LD_LIBRARY_PATH
 
10503
  ;;
 
10504
 
 
10505
freebsd* | dragonfly*)
 
10506
  # DragonFly does not have aout.  When/if they implement a new
 
10507
  # versioning mechanism, adjust this.
 
10508
  if test -x /usr/bin/objformat; then
 
10509
    objformat=`/usr/bin/objformat`
 
10510
  else
 
10511
    case $host_os in
 
10512
    freebsd[23].*) objformat=aout ;;
 
10513
    *) objformat=elf ;;
 
10514
    esac
 
10515
  fi
 
10516
  version_type=freebsd-$objformat
 
10517
  case $version_type in
 
10518
    freebsd-elf*)
 
10519
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
10520
      need_version=no
 
10521
      need_lib_prefix=no
 
10522
      ;;
 
10523
    freebsd-*)
 
10524
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 
10525
      need_version=yes
 
10526
      ;;
 
10527
  esac
 
10528
  shlibpath_var=LD_LIBRARY_PATH
 
10529
  case $host_os in
 
10530
  freebsd2.*)
 
10531
    shlibpath_overrides_runpath=yes
 
10532
    ;;
 
10533
  freebsd3.[01]* | freebsdelf3.[01]*)
 
10534
    shlibpath_overrides_runpath=yes
 
10535
    hardcode_into_libs=yes
 
10536
    ;;
 
10537
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
10538
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
 
10539
    shlibpath_overrides_runpath=no
 
10540
    hardcode_into_libs=yes
 
10541
    ;;
 
10542
  *) # from 4.6 on, and DragonFly
 
10543
    shlibpath_overrides_runpath=yes
 
10544
    hardcode_into_libs=yes
 
10545
    ;;
 
10546
  esac
 
10547
  ;;
 
10548
 
 
10549
gnu*)
 
10550
  version_type=linux # correct to gnu/linux during the next big refactor
 
10551
  need_lib_prefix=no
 
10552
  need_version=no
 
10553
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
10554
  soname_spec='${libname}${release}${shared_ext}$major'
 
10555
  shlibpath_var=LD_LIBRARY_PATH
 
10556
  shlibpath_overrides_runpath=no
 
10557
  hardcode_into_libs=yes
 
10558
  ;;
 
10559
 
 
10560
haiku*)
 
10561
  version_type=linux # correct to gnu/linux during the next big refactor
 
10562
  need_lib_prefix=no
 
10563
  need_version=no
 
10564
  dynamic_linker="$host_os runtime_loader"
 
10565
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
10566
  soname_spec='${libname}${release}${shared_ext}$major'
 
10567
  shlibpath_var=LIBRARY_PATH
 
10568
  shlibpath_overrides_runpath=yes
 
10569
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
 
10570
  hardcode_into_libs=yes
 
10571
  ;;
 
10572
 
 
10573
hpux9* | hpux10* | hpux11*)
 
10574
  # Give a soname corresponding to the major version so that dld.sl refuses to
 
10575
  # link against other versions.
 
10576
  version_type=sunos
 
10577
  need_lib_prefix=no
 
10578
  need_version=no
 
10579
  case $host_cpu in
 
10580
  ia64*)
 
10581
    shrext_cmds='.so'
 
10582
    hardcode_into_libs=yes
 
10583
    dynamic_linker="$host_os dld.so"
 
10584
    shlibpath_var=LD_LIBRARY_PATH
 
10585
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
10586
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10587
    soname_spec='${libname}${release}${shared_ext}$major'
 
10588
    if test "X$HPUX_IA64_MODE" = X32; then
 
10589
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 
10590
    else
 
10591
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 
10592
    fi
 
10593
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
10594
    ;;
 
10595
  hppa*64*)
 
10596
    shrext_cmds='.sl'
 
10597
    hardcode_into_libs=yes
 
10598
    dynamic_linker="$host_os dld.sl"
 
10599
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
10600
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
10601
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10602
    soname_spec='${libname}${release}${shared_ext}$major'
 
10603
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
10604
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
10605
    ;;
 
10606
  *)
 
10607
    shrext_cmds='.sl'
 
10608
    dynamic_linker="$host_os dld.sl"
 
10609
    shlibpath_var=SHLIB_PATH
 
10610
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 
10611
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10612
    soname_spec='${libname}${release}${shared_ext}$major'
 
10613
    ;;
 
10614
  esac
 
10615
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
 
10616
  postinstall_cmds='chmod 555 $lib'
 
10617
  # or fails outright, so override atomically:
 
10618
  install_override_mode=555
 
10619
  ;;
 
10620
 
 
10621
interix[3-9]*)
 
10622
  version_type=linux # correct to gnu/linux during the next big refactor
 
10623
  need_lib_prefix=no
 
10624
  need_version=no
 
10625
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
10626
  soname_spec='${libname}${release}${shared_ext}$major'
 
10627
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
10628
  shlibpath_var=LD_LIBRARY_PATH
 
10629
  shlibpath_overrides_runpath=no
 
10630
  hardcode_into_libs=yes
 
10631
  ;;
 
10632
 
 
10633
irix5* | irix6* | nonstopux*)
 
10634
  case $host_os in
 
10635
    nonstopux*) version_type=nonstopux ;;
 
10636
    *)
 
10637
        if test "$lt_cv_prog_gnu_ld" = yes; then
 
10638
                version_type=linux # correct to gnu/linux during the next big refactor
 
10639
        else
 
10640
                version_type=irix
 
10641
        fi ;;
 
10642
  esac
 
10643
  need_lib_prefix=no
 
10644
  need_version=no
 
10645
  soname_spec='${libname}${release}${shared_ext}$major'
 
10646
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 
10647
  case $host_os in
 
10648
  irix5* | nonstopux*)
 
10649
    libsuff= shlibsuff=
 
10650
    ;;
 
10651
  *)
 
10652
    case $LD in # libtool.m4 will add one of these switches to LD
 
10653
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 
10654
      libsuff= shlibsuff= libmagic=32-bit;;
 
10655
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 
10656
      libsuff=32 shlibsuff=N32 libmagic=N32;;
 
10657
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 
10658
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
 
10659
    *) libsuff= shlibsuff= libmagic=never-match;;
 
10660
    esac
 
10661
    ;;
 
10662
  esac
 
10663
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 
10664
  shlibpath_overrides_runpath=no
 
10665
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
10666
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 
10667
  hardcode_into_libs=yes
 
10668
  ;;
 
10669
 
 
10670
# No shared lib support for Linux oldld, aout, or coff.
 
10671
linux*oldld* | linux*aout* | linux*coff*)
 
10672
  dynamic_linker=no
 
10673
  ;;
 
10674
 
 
10675
# This must be glibc/ELF.
 
10676
linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
10677
  version_type=linux # correct to gnu/linux during the next big refactor
 
10678
  need_lib_prefix=no
 
10679
  need_version=no
 
10680
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10681
  soname_spec='${libname}${release}${shared_ext}$major'
 
10682
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 
10683
  shlibpath_var=LD_LIBRARY_PATH
 
10684
  shlibpath_overrides_runpath=no
 
10685
 
 
10686
  # Some binutils ld are patched to set DT_RUNPATH
 
10687
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
 
10688
  $as_echo_n "(cached) " >&6
 
10689
else
 
10690
  lt_cv_shlibpath_overrides_runpath=no
 
10691
    save_LDFLAGS=$LDFLAGS
 
10692
    save_libdir=$libdir
 
10693
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
10694
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
10695
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10696
/* end confdefs.h.  */
 
10697
 
 
10698
int
 
10699
main ()
 
10700
{
 
10701
 
 
10702
  ;
 
10703
  return 0;
 
10704
}
 
10705
_ACEOF
 
10706
if ac_fn_c_try_link "$LINENO"; then :
 
10707
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
 
10708
  lt_cv_shlibpath_overrides_runpath=yes
 
10709
fi
 
10710
fi
 
10711
rm -f core conftest.err conftest.$ac_objext \
 
10712
    conftest$ac_exeext conftest.$ac_ext
 
10713
    LDFLAGS=$save_LDFLAGS
 
10714
    libdir=$save_libdir
 
10715
 
 
10716
fi
 
10717
 
 
10718
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
 
10719
 
 
10720
  # This implies no fast_install, which is unacceptable.
 
10721
  # Some rework will be needed to allow for fast_install
 
10722
  # before this can be enabled.
 
10723
  hardcode_into_libs=yes
 
10724
 
 
10725
  # Append ld.so.conf contents to the search path
 
10726
  if test -f /etc/ld.so.conf; then
 
10727
    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' ' '`
 
10728
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
10729
  fi
 
10730
 
 
10731
  # We used to test for /lib/ld.so.1 and disable shared libraries on
 
10732
  # powerpc, because MkLinux only supported shared libraries with the
 
10733
  # GNU dynamic linker.  Since this was broken with cross compilers,
 
10734
  # most powerpc-linux boxes support dynamic linking these days and
 
10735
  # people can always --disable-shared, the test was removed, and we
 
10736
  # assume the GNU/Linux dynamic linker is in use.
 
10737
  dynamic_linker='GNU/Linux ld.so'
 
10738
  ;;
 
10739
 
 
10740
netbsdelf*-gnu)
 
10741
  version_type=linux
 
10742
  need_lib_prefix=no
 
10743
  need_version=no
 
10744
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
10745
  soname_spec='${libname}${release}${shared_ext}$major'
 
10746
  shlibpath_var=LD_LIBRARY_PATH
 
10747
  shlibpath_overrides_runpath=no
 
10748
  hardcode_into_libs=yes
 
10749
  dynamic_linker='NetBSD ld.elf_so'
 
10750
  ;;
 
10751
 
 
10752
netbsd*)
 
10753
  version_type=sunos
 
10754
  need_lib_prefix=no
 
10755
  need_version=no
 
10756
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
10757
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
10758
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
10759
    dynamic_linker='NetBSD (a.out) ld.so'
 
10760
  else
 
10761
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
10762
    soname_spec='${libname}${release}${shared_ext}$major'
 
10763
    dynamic_linker='NetBSD ld.elf_so'
 
10764
  fi
 
10765
  shlibpath_var=LD_LIBRARY_PATH
 
10766
  shlibpath_overrides_runpath=yes
 
10767
  hardcode_into_libs=yes
 
10768
  ;;
 
10769
 
 
10770
newsos6)
 
10771
  version_type=linux # correct to gnu/linux during the next big refactor
 
10772
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10773
  shlibpath_var=LD_LIBRARY_PATH
 
10774
  shlibpath_overrides_runpath=yes
 
10775
  ;;
 
10776
 
 
10777
*nto* | *qnx*)
 
10778
  version_type=qnx
 
10779
  need_lib_prefix=no
 
10780
  need_version=no
 
10781
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10782
  soname_spec='${libname}${release}${shared_ext}$major'
 
10783
  shlibpath_var=LD_LIBRARY_PATH
 
10784
  shlibpath_overrides_runpath=no
 
10785
  hardcode_into_libs=yes
 
10786
  dynamic_linker='ldqnx.so'
 
10787
  ;;
 
10788
 
 
10789
openbsd*)
 
10790
  version_type=sunos
 
10791
  sys_lib_dlsearch_path_spec="/usr/lib"
 
10792
  need_lib_prefix=no
 
10793
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
10794
  case $host_os in
 
10795
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
10796
    *)                          need_version=no  ;;
 
10797
  esac
 
10798
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
10799
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
10800
  shlibpath_var=LD_LIBRARY_PATH
 
10801
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
10802
    case $host_os in
 
10803
      openbsd2.[89] | openbsd2.[89].*)
 
10804
        shlibpath_overrides_runpath=no
 
10805
        ;;
 
10806
      *)
 
10807
        shlibpath_overrides_runpath=yes
 
10808
        ;;
 
10809
      esac
 
10810
  else
 
10811
    shlibpath_overrides_runpath=yes
 
10812
  fi
 
10813
  ;;
 
10814
 
 
10815
os2*)
 
10816
  libname_spec='$name'
 
10817
  shrext_cmds=".dll"
 
10818
  need_lib_prefix=no
 
10819
  library_names_spec='$libname${shared_ext} $libname.a'
 
10820
  dynamic_linker='OS/2 ld.exe'
 
10821
  shlibpath_var=LIBPATH
 
10822
  ;;
 
10823
 
 
10824
osf3* | osf4* | osf5*)
 
10825
  version_type=osf
 
10826
  need_lib_prefix=no
 
10827
  need_version=no
 
10828
  soname_spec='${libname}${release}${shared_ext}$major'
 
10829
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10830
  shlibpath_var=LD_LIBRARY_PATH
 
10831
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 
10832
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 
10833
  ;;
 
10834
 
 
10835
rdos*)
 
10836
  dynamic_linker=no
 
10837
  ;;
 
10838
 
 
10839
solaris*)
 
10840
  version_type=linux # correct to gnu/linux during the next big refactor
 
10841
  need_lib_prefix=no
 
10842
  need_version=no
 
10843
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10844
  soname_spec='${libname}${release}${shared_ext}$major'
 
10845
  shlibpath_var=LD_LIBRARY_PATH
 
10846
  shlibpath_overrides_runpath=yes
 
10847
  hardcode_into_libs=yes
 
10848
  # ldd complains unless libraries are executable
 
10849
  postinstall_cmds='chmod +x $lib'
 
10850
  ;;
 
10851
 
 
10852
sunos4*)
 
10853
  version_type=sunos
 
10854
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
10855
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 
10856
  shlibpath_var=LD_LIBRARY_PATH
 
10857
  shlibpath_overrides_runpath=yes
 
10858
  if test "$with_gnu_ld" = yes; then
 
10859
    need_lib_prefix=no
 
10860
  fi
 
10861
  need_version=yes
 
10862
  ;;
 
10863
 
 
10864
sysv4 | sysv4.3*)
 
10865
  version_type=linux # correct to gnu/linux during the next big refactor
 
10866
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10867
  soname_spec='${libname}${release}${shared_ext}$major'
 
10868
  shlibpath_var=LD_LIBRARY_PATH
 
10869
  case $host_vendor in
 
10870
    sni)
 
10871
      shlibpath_overrides_runpath=no
 
10872
      need_lib_prefix=no
 
10873
      runpath_var=LD_RUN_PATH
 
10874
      ;;
 
10875
    siemens)
 
10876
      need_lib_prefix=no
 
10877
      ;;
 
10878
    motorola)
 
10879
      need_lib_prefix=no
 
10880
      need_version=no
 
10881
      shlibpath_overrides_runpath=no
 
10882
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 
10883
      ;;
 
10884
  esac
 
10885
  ;;
 
10886
 
 
10887
sysv4*MP*)
 
10888
  if test -d /usr/nec ;then
 
10889
    version_type=linux # correct to gnu/linux during the next big refactor
 
10890
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 
10891
    soname_spec='$libname${shared_ext}.$major'
 
10892
    shlibpath_var=LD_LIBRARY_PATH
 
10893
  fi
 
10894
  ;;
 
10895
 
 
10896
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
10897
  version_type=freebsd-elf
 
10898
  need_lib_prefix=no
 
10899
  need_version=no
 
10900
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
10901
  soname_spec='${libname}${release}${shared_ext}$major'
 
10902
  shlibpath_var=LD_LIBRARY_PATH
 
10903
  shlibpath_overrides_runpath=yes
 
10904
  hardcode_into_libs=yes
 
10905
  if test "$with_gnu_ld" = yes; then
 
10906
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
10907
  else
 
10908
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
10909
    case $host_os in
 
10910
      sco3.2v5*)
 
10911
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
10912
        ;;
 
10913
    esac
 
10914
  fi
 
10915
  sys_lib_dlsearch_path_spec='/usr/lib'
 
10916
  ;;
 
10917
 
 
10918
tpf*)
 
10919
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
10920
  version_type=linux # correct to gnu/linux during the next big refactor
 
10921
  need_lib_prefix=no
 
10922
  need_version=no
 
10923
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10924
  shlibpath_var=LD_LIBRARY_PATH
 
10925
  shlibpath_overrides_runpath=no
 
10926
  hardcode_into_libs=yes
 
10927
  ;;
 
10928
 
 
10929
uts4*)
 
10930
  version_type=linux # correct to gnu/linux during the next big refactor
 
10931
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10932
  soname_spec='${libname}${release}${shared_ext}$major'
 
10933
  shlibpath_var=LD_LIBRARY_PATH
 
10934
  ;;
 
10935
 
 
10936
*)
 
10937
  dynamic_linker=no
 
10938
  ;;
 
10939
esac
 
10940
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
 
10941
$as_echo "$dynamic_linker" >&6; }
 
10942
test "$dynamic_linker" = no && can_build_shared=no
 
10943
 
 
10944
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
10945
if test "$GCC" = yes; then
 
10946
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
10947
fi
 
10948
 
 
10949
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
10950
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
10951
fi
 
10952
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
10953
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
10954
fi
 
10955
 
 
10956
 
 
10957
 
 
10958
 
 
10959
 
 
10960
 
 
10961
 
 
10962
 
 
10963
 
 
10964
 
 
10965
 
 
10966
 
 
10967
 
 
10968
 
 
10969
 
 
10970
 
 
10971
 
 
10972
 
 
10973
 
 
10974
 
 
10975
 
 
10976
 
 
10977
 
 
10978
 
 
10979
 
 
10980
 
 
10981
 
 
10982
 
 
10983
 
 
10984
 
 
10985
 
 
10986
 
 
10987
 
 
10988
 
 
10989
 
 
10990
 
 
10991
 
 
10992
 
 
10993
 
 
10994
 
 
10995
 
 
10996
 
 
10997
 
 
10998
 
 
10999
 
 
11000
 
 
11001
 
 
11002
 
 
11003
 
 
11004
 
 
11005
 
 
11006
 
 
11007
 
 
11008
 
 
11009
 
 
11010
 
 
11011
 
 
11012
 
 
11013
 
 
11014
 
 
11015
 
 
11016
 
 
11017
 
 
11018
 
 
11019
 
 
11020
 
 
11021
 
 
11022
 
 
11023
 
 
11024
 
 
11025
 
 
11026
 
 
11027
 
 
11028
 
 
11029
 
 
11030
 
 
11031
 
 
11032
 
 
11033
 
 
11034
 
 
11035
 
 
11036
 
 
11037
 
 
11038
 
 
11039
 
 
11040
 
 
11041
 
 
11042
 
 
11043
 
 
11044
 
 
11045
 
 
11046
 
 
11047
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
 
11048
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
 
11049
hardcode_action=
 
11050
if test -n "$hardcode_libdir_flag_spec" ||
 
11051
   test -n "$runpath_var" ||
 
11052
   test "X$hardcode_automatic" = "Xyes" ; then
 
11053
 
 
11054
  # We can hardcode non-existent directories.
 
11055
  if test "$hardcode_direct" != no &&
 
11056
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
 
11057
     # have to relink, otherwise we might link with an installed library
 
11058
     # when we should be linking with a yet-to-be-installed one
 
11059
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
 
11060
     test "$hardcode_minus_L" != no; then
 
11061
    # Linking always hardcodes the temporary library directory.
 
11062
    hardcode_action=relink
 
11063
  else
 
11064
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
 
11065
    hardcode_action=immediate
 
11066
  fi
 
11067
else
 
11068
  # We cannot hardcode anything, or else we can only hardcode existing
 
11069
  # directories.
 
11070
  hardcode_action=unsupported
 
11071
fi
 
11072
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
 
11073
$as_echo "$hardcode_action" >&6; }
 
11074
 
 
11075
if test "$hardcode_action" = relink ||
 
11076
   test "$inherit_rpath" = yes; then
 
11077
  # Fast installation is not supported
 
11078
  enable_fast_install=no
 
11079
elif test "$shlibpath_overrides_runpath" = yes ||
 
11080
     test "$enable_shared" = no; then
 
11081
  # Fast installation is not necessary
 
11082
  enable_fast_install=needless
 
11083
fi
 
11084
 
 
11085
 
 
11086
 
 
11087
 
 
11088
 
 
11089
 
 
11090
  if test "x$enable_dlopen" != xyes; then
 
11091
  enable_dlopen=unknown
 
11092
  enable_dlopen_self=unknown
 
11093
  enable_dlopen_self_static=unknown
 
11094
else
 
11095
  lt_cv_dlopen=no
 
11096
  lt_cv_dlopen_libs=
 
11097
 
 
11098
  case $host_os in
 
11099
  beos*)
 
11100
    lt_cv_dlopen="load_add_on"
 
11101
    lt_cv_dlopen_libs=
 
11102
    lt_cv_dlopen_self=yes
 
11103
    ;;
 
11104
 
 
11105
  mingw* | pw32* | cegcc*)
 
11106
    lt_cv_dlopen="LoadLibrary"
 
11107
    lt_cv_dlopen_libs=
 
11108
    ;;
 
11109
 
 
11110
  cygwin*)
 
11111
    lt_cv_dlopen="dlopen"
 
11112
    lt_cv_dlopen_libs=
 
11113
    ;;
 
11114
 
 
11115
  darwin*)
 
11116
  # if libdl is installed we need to link against it
 
11117
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
11118
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
11119
if ${ac_cv_lib_dl_dlopen+:} false; then :
 
11120
  $as_echo_n "(cached) " >&6
 
11121
else
 
11122
  ac_check_lib_save_LIBS=$LIBS
 
11123
LIBS="-ldl  $LIBS"
 
11124
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11125
/* end confdefs.h.  */
 
11126
 
 
11127
/* Override any GCC internal prototype to avoid an error.
 
11128
   Use char because int might match the return type of a GCC
 
11129
   builtin and then its argument prototype would still apply.  */
 
11130
#ifdef __cplusplus
 
11131
extern "C"
 
11132
#endif
 
11133
char dlopen ();
 
11134
int
 
11135
main ()
 
11136
{
 
11137
return dlopen ();
 
11138
  ;
 
11139
  return 0;
 
11140
}
 
11141
_ACEOF
 
11142
if ac_fn_c_try_link "$LINENO"; then :
 
11143
  ac_cv_lib_dl_dlopen=yes
 
11144
else
 
11145
  ac_cv_lib_dl_dlopen=no
 
11146
fi
 
11147
rm -f core conftest.err conftest.$ac_objext \
 
11148
    conftest$ac_exeext conftest.$ac_ext
 
11149
LIBS=$ac_check_lib_save_LIBS
 
11150
fi
 
11151
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
11152
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
11153
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
 
11154
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
11155
else
 
11156
 
 
11157
    lt_cv_dlopen="dyld"
 
11158
    lt_cv_dlopen_libs=
 
11159
    lt_cv_dlopen_self=yes
 
11160
 
 
11161
fi
 
11162
 
 
11163
    ;;
 
11164
 
 
11165
  *)
 
11166
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
 
11167
if test "x$ac_cv_func_shl_load" = xyes; then :
 
11168
  lt_cv_dlopen="shl_load"
 
11169
else
 
11170
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
 
11171
$as_echo_n "checking for shl_load in -ldld... " >&6; }
 
11172
if ${ac_cv_lib_dld_shl_load+:} false; then :
 
11173
  $as_echo_n "(cached) " >&6
 
11174
else
 
11175
  ac_check_lib_save_LIBS=$LIBS
 
11176
LIBS="-ldld  $LIBS"
 
11177
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11178
/* end confdefs.h.  */
 
11179
 
 
11180
/* Override any GCC internal prototype to avoid an error.
 
11181
   Use char because int might match the return type of a GCC
 
11182
   builtin and then its argument prototype would still apply.  */
 
11183
#ifdef __cplusplus
 
11184
extern "C"
 
11185
#endif
 
11186
char shl_load ();
 
11187
int
 
11188
main ()
 
11189
{
 
11190
return shl_load ();
 
11191
  ;
 
11192
  return 0;
 
11193
}
 
11194
_ACEOF
 
11195
if ac_fn_c_try_link "$LINENO"; then :
 
11196
  ac_cv_lib_dld_shl_load=yes
 
11197
else
 
11198
  ac_cv_lib_dld_shl_load=no
 
11199
fi
 
11200
rm -f core conftest.err conftest.$ac_objext \
 
11201
    conftest$ac_exeext conftest.$ac_ext
 
11202
LIBS=$ac_check_lib_save_LIBS
 
11203
fi
 
11204
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
 
11205
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
 
11206
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
 
11207
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
 
11208
else
 
11209
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
 
11210
if test "x$ac_cv_func_dlopen" = xyes; then :
 
11211
  lt_cv_dlopen="dlopen"
 
11212
else
 
11213
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
11214
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
11215
if ${ac_cv_lib_dl_dlopen+:} false; then :
 
11216
  $as_echo_n "(cached) " >&6
 
11217
else
 
11218
  ac_check_lib_save_LIBS=$LIBS
 
11219
LIBS="-ldl  $LIBS"
 
11220
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11221
/* end confdefs.h.  */
 
11222
 
 
11223
/* Override any GCC internal prototype to avoid an error.
 
11224
   Use char because int might match the return type of a GCC
 
11225
   builtin and then its argument prototype would still apply.  */
 
11226
#ifdef __cplusplus
 
11227
extern "C"
 
11228
#endif
 
11229
char dlopen ();
 
11230
int
 
11231
main ()
 
11232
{
 
11233
return dlopen ();
 
11234
  ;
 
11235
  return 0;
 
11236
}
 
11237
_ACEOF
 
11238
if ac_fn_c_try_link "$LINENO"; then :
 
11239
  ac_cv_lib_dl_dlopen=yes
 
11240
else
 
11241
  ac_cv_lib_dl_dlopen=no
 
11242
fi
 
11243
rm -f core conftest.err conftest.$ac_objext \
 
11244
    conftest$ac_exeext conftest.$ac_ext
 
11245
LIBS=$ac_check_lib_save_LIBS
 
11246
fi
 
11247
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
11248
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
11249
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
 
11250
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
11251
else
 
11252
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
 
11253
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
 
11254
if ${ac_cv_lib_svld_dlopen+:} false; then :
 
11255
  $as_echo_n "(cached) " >&6
 
11256
else
 
11257
  ac_check_lib_save_LIBS=$LIBS
 
11258
LIBS="-lsvld  $LIBS"
 
11259
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11260
/* end confdefs.h.  */
 
11261
 
 
11262
/* Override any GCC internal prototype to avoid an error.
 
11263
   Use char because int might match the return type of a GCC
 
11264
   builtin and then its argument prototype would still apply.  */
 
11265
#ifdef __cplusplus
 
11266
extern "C"
 
11267
#endif
 
11268
char dlopen ();
 
11269
int
 
11270
main ()
 
11271
{
 
11272
return dlopen ();
 
11273
  ;
 
11274
  return 0;
 
11275
}
 
11276
_ACEOF
 
11277
if ac_fn_c_try_link "$LINENO"; then :
 
11278
  ac_cv_lib_svld_dlopen=yes
 
11279
else
 
11280
  ac_cv_lib_svld_dlopen=no
 
11281
fi
 
11282
rm -f core conftest.err conftest.$ac_objext \
 
11283
    conftest$ac_exeext conftest.$ac_ext
 
11284
LIBS=$ac_check_lib_save_LIBS
 
11285
fi
 
11286
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
 
11287
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
 
11288
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
 
11289
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
 
11290
else
 
11291
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
 
11292
$as_echo_n "checking for dld_link in -ldld... " >&6; }
 
11293
if ${ac_cv_lib_dld_dld_link+:} false; then :
 
11294
  $as_echo_n "(cached) " >&6
 
11295
else
 
11296
  ac_check_lib_save_LIBS=$LIBS
 
11297
LIBS="-ldld  $LIBS"
 
11298
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11299
/* end confdefs.h.  */
 
11300
 
 
11301
/* Override any GCC internal prototype to avoid an error.
 
11302
   Use char because int might match the return type of a GCC
 
11303
   builtin and then its argument prototype would still apply.  */
 
11304
#ifdef __cplusplus
 
11305
extern "C"
 
11306
#endif
 
11307
char dld_link ();
 
11308
int
 
11309
main ()
 
11310
{
 
11311
return dld_link ();
 
11312
  ;
 
11313
  return 0;
 
11314
}
 
11315
_ACEOF
 
11316
if ac_fn_c_try_link "$LINENO"; then :
 
11317
  ac_cv_lib_dld_dld_link=yes
 
11318
else
 
11319
  ac_cv_lib_dld_dld_link=no
 
11320
fi
 
11321
rm -f core conftest.err conftest.$ac_objext \
 
11322
    conftest$ac_exeext conftest.$ac_ext
 
11323
LIBS=$ac_check_lib_save_LIBS
 
11324
fi
 
11325
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
 
11326
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
 
11327
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
 
11328
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
 
11329
fi
 
11330
 
 
11331
 
 
11332
fi
 
11333
 
 
11334
 
 
11335
fi
 
11336
 
 
11337
 
 
11338
fi
 
11339
 
 
11340
 
 
11341
fi
 
11342
 
 
11343
 
 
11344
fi
 
11345
 
 
11346
    ;;
 
11347
  esac
 
11348
 
 
11349
  if test "x$lt_cv_dlopen" != xno; then
 
11350
    enable_dlopen=yes
 
11351
  else
 
11352
    enable_dlopen=no
 
11353
  fi
 
11354
 
 
11355
  case $lt_cv_dlopen in
 
11356
  dlopen)
 
11357
    save_CPPFLAGS="$CPPFLAGS"
 
11358
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
 
11359
 
 
11360
    save_LDFLAGS="$LDFLAGS"
 
11361
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 
11362
 
 
11363
    save_LIBS="$LIBS"
 
11364
    LIBS="$lt_cv_dlopen_libs $LIBS"
 
11365
 
 
11366
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
 
11367
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
 
11368
if ${lt_cv_dlopen_self+:} false; then :
 
11369
  $as_echo_n "(cached) " >&6
 
11370
else
 
11371
          if test "$cross_compiling" = yes; then :
 
11372
  lt_cv_dlopen_self=cross
 
11373
else
 
11374
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
11375
  lt_status=$lt_dlunknown
 
11376
  cat > conftest.$ac_ext <<_LT_EOF
 
11377
#line $LINENO "configure"
 
11378
#include "confdefs.h"
 
11379
 
 
11380
#if HAVE_DLFCN_H
 
11381
#include <dlfcn.h>
 
11382
#endif
 
11383
 
 
11384
#include <stdio.h>
 
11385
 
 
11386
#ifdef RTLD_GLOBAL
 
11387
#  define LT_DLGLOBAL           RTLD_GLOBAL
 
11388
#else
 
11389
#  ifdef DL_GLOBAL
 
11390
#    define LT_DLGLOBAL         DL_GLOBAL
 
11391
#  else
 
11392
#    define LT_DLGLOBAL         0
 
11393
#  endif
 
11394
#endif
 
11395
 
 
11396
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
11397
   find out it does not work in some platform. */
 
11398
#ifndef LT_DLLAZY_OR_NOW
 
11399
#  ifdef RTLD_LAZY
 
11400
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
 
11401
#  else
 
11402
#    ifdef DL_LAZY
 
11403
#      define LT_DLLAZY_OR_NOW          DL_LAZY
 
11404
#    else
 
11405
#      ifdef RTLD_NOW
 
11406
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
 
11407
#      else
 
11408
#        ifdef DL_NOW
 
11409
#          define LT_DLLAZY_OR_NOW      DL_NOW
 
11410
#        else
 
11411
#          define LT_DLLAZY_OR_NOW      0
 
11412
#        endif
 
11413
#      endif
 
11414
#    endif
 
11415
#  endif
 
11416
#endif
 
11417
 
 
11418
/* When -fvisbility=hidden is used, assume the code has been annotated
 
11419
   correspondingly for the symbols needed.  */
 
11420
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
11421
int fnord () __attribute__((visibility("default")));
 
11422
#endif
 
11423
 
 
11424
int fnord () { return 42; }
 
11425
int main ()
 
11426
{
 
11427
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
11428
  int status = $lt_dlunknown;
 
11429
 
 
11430
  if (self)
 
11431
    {
 
11432
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
11433
      else
 
11434
        {
 
11435
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
11436
          else puts (dlerror ());
 
11437
        }
 
11438
      /* dlclose (self); */
 
11439
    }
 
11440
  else
 
11441
    puts (dlerror ());
 
11442
 
 
11443
  return status;
 
11444
}
 
11445
_LT_EOF
 
11446
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
11447
  (eval $ac_link) 2>&5
 
11448
  ac_status=$?
 
11449
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11450
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
 
11451
    (./conftest; exit; ) >&5 2>/dev/null
 
11452
    lt_status=$?
 
11453
    case x$lt_status in
 
11454
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
 
11455
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
 
11456
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
 
11457
    esac
 
11458
  else :
 
11459
    # compilation failed
 
11460
    lt_cv_dlopen_self=no
 
11461
  fi
 
11462
fi
 
11463
rm -fr conftest*
 
11464
 
 
11465
 
 
11466
fi
 
11467
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
 
11468
$as_echo "$lt_cv_dlopen_self" >&6; }
 
11469
 
 
11470
    if test "x$lt_cv_dlopen_self" = xyes; then
 
11471
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
 
11472
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
 
11473
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
 
11474
if ${lt_cv_dlopen_self_static+:} false; then :
 
11475
  $as_echo_n "(cached) " >&6
 
11476
else
 
11477
          if test "$cross_compiling" = yes; then :
 
11478
  lt_cv_dlopen_self_static=cross
 
11479
else
 
11480
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
11481
  lt_status=$lt_dlunknown
 
11482
  cat > conftest.$ac_ext <<_LT_EOF
 
11483
#line $LINENO "configure"
 
11484
#include "confdefs.h"
 
11485
 
 
11486
#if HAVE_DLFCN_H
 
11487
#include <dlfcn.h>
 
11488
#endif
 
11489
 
 
11490
#include <stdio.h>
 
11491
 
 
11492
#ifdef RTLD_GLOBAL
 
11493
#  define LT_DLGLOBAL           RTLD_GLOBAL
 
11494
#else
 
11495
#  ifdef DL_GLOBAL
 
11496
#    define LT_DLGLOBAL         DL_GLOBAL
 
11497
#  else
 
11498
#    define LT_DLGLOBAL         0
 
11499
#  endif
 
11500
#endif
 
11501
 
 
11502
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
11503
   find out it does not work in some platform. */
 
11504
#ifndef LT_DLLAZY_OR_NOW
 
11505
#  ifdef RTLD_LAZY
 
11506
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
 
11507
#  else
 
11508
#    ifdef DL_LAZY
 
11509
#      define LT_DLLAZY_OR_NOW          DL_LAZY
 
11510
#    else
 
11511
#      ifdef RTLD_NOW
 
11512
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
 
11513
#      else
 
11514
#        ifdef DL_NOW
 
11515
#          define LT_DLLAZY_OR_NOW      DL_NOW
 
11516
#        else
 
11517
#          define LT_DLLAZY_OR_NOW      0
 
11518
#        endif
 
11519
#      endif
 
11520
#    endif
 
11521
#  endif
 
11522
#endif
 
11523
 
 
11524
/* When -fvisbility=hidden is used, assume the code has been annotated
 
11525
   correspondingly for the symbols needed.  */
 
11526
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
11527
int fnord () __attribute__((visibility("default")));
 
11528
#endif
 
11529
 
 
11530
int fnord () { return 42; }
 
11531
int main ()
 
11532
{
 
11533
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
11534
  int status = $lt_dlunknown;
 
11535
 
 
11536
  if (self)
 
11537
    {
 
11538
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
11539
      else
 
11540
        {
 
11541
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
11542
          else puts (dlerror ());
 
11543
        }
 
11544
      /* dlclose (self); */
 
11545
    }
 
11546
  else
 
11547
    puts (dlerror ());
 
11548
 
 
11549
  return status;
 
11550
}
 
11551
_LT_EOF
 
11552
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
11553
  (eval $ac_link) 2>&5
 
11554
  ac_status=$?
 
11555
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11556
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
 
11557
    (./conftest; exit; ) >&5 2>/dev/null
 
11558
    lt_status=$?
 
11559
    case x$lt_status in
 
11560
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
 
11561
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
 
11562
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
 
11563
    esac
 
11564
  else :
 
11565
    # compilation failed
 
11566
    lt_cv_dlopen_self_static=no
 
11567
  fi
 
11568
fi
 
11569
rm -fr conftest*
 
11570
 
 
11571
 
 
11572
fi
 
11573
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
 
11574
$as_echo "$lt_cv_dlopen_self_static" >&6; }
 
11575
    fi
 
11576
 
 
11577
    CPPFLAGS="$save_CPPFLAGS"
 
11578
    LDFLAGS="$save_LDFLAGS"
 
11579
    LIBS="$save_LIBS"
 
11580
    ;;
 
11581
  esac
 
11582
 
 
11583
  case $lt_cv_dlopen_self in
 
11584
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
 
11585
  *) enable_dlopen_self=unknown ;;
 
11586
  esac
 
11587
 
 
11588
  case $lt_cv_dlopen_self_static in
 
11589
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
 
11590
  *) enable_dlopen_self_static=unknown ;;
 
11591
  esac
 
11592
fi
 
11593
 
 
11594
 
 
11595
 
 
11596
 
 
11597
 
 
11598
 
 
11599
 
 
11600
 
 
11601
 
 
11602
 
 
11603
 
 
11604
 
 
11605
 
 
11606
 
 
11607
 
 
11608
 
 
11609
 
 
11610
striplib=
 
11611
old_striplib=
 
11612
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
 
11613
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
 
11614
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 
11615
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
11616
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
11617
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
11618
$as_echo "yes" >&6; }
 
11619
else
 
11620
# FIXME - insert some real tests, host_os isn't really good enough
 
11621
  case $host_os in
 
11622
  darwin*)
 
11623
    if test -n "$STRIP" ; then
 
11624
      striplib="$STRIP -x"
 
11625
      old_striplib="$STRIP -S"
 
11626
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
11627
$as_echo "yes" >&6; }
 
11628
    else
 
11629
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11630
$as_echo "no" >&6; }
 
11631
    fi
 
11632
    ;;
 
11633
  *)
 
11634
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11635
$as_echo "no" >&6; }
 
11636
    ;;
 
11637
  esac
 
11638
fi
 
11639
 
 
11640
 
 
11641
 
 
11642
 
 
11643
 
 
11644
 
 
11645
 
 
11646
 
 
11647
 
 
11648
 
 
11649
 
 
11650
 
 
11651
  # Report which library types will actually be built
 
11652
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
 
11653
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
11654
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
 
11655
$as_echo "$can_build_shared" >&6; }
 
11656
 
 
11657
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
 
11658
$as_echo_n "checking whether to build shared libraries... " >&6; }
 
11659
  test "$can_build_shared" = "no" && enable_shared=no
 
11660
 
 
11661
  # On AIX, shared libraries and static libraries use the same namespace, and
 
11662
  # are all built from PIC.
 
11663
  case $host_os in
 
11664
  aix3*)
 
11665
    test "$enable_shared" = yes && enable_static=no
 
11666
    if test -n "$RANLIB"; then
 
11667
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
11668
      postinstall_cmds='$RANLIB $lib'
 
11669
    fi
 
11670
    ;;
 
11671
 
 
11672
  aix[4-9]*)
 
11673
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
11674
      test "$enable_shared" = yes && enable_static=no
 
11675
    fi
 
11676
    ;;
 
11677
  esac
 
11678
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
 
11679
$as_echo "$enable_shared" >&6; }
 
11680
 
 
11681
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
 
11682
$as_echo_n "checking whether to build static libraries... " >&6; }
 
11683
  # Make sure either enable_shared or enable_static is yes.
 
11684
  test "$enable_shared" = yes || enable_static=yes
 
11685
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
 
11686
$as_echo "$enable_static" >&6; }
 
11687
 
 
11688
 
 
11689
 
 
11690
 
 
11691
fi
 
11692
ac_ext=c
 
11693
ac_cpp='$CPP $CPPFLAGS'
 
11694
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
11695
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
11696
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
11697
 
 
11698
CC="$lt_save_CC"
 
11699
 
 
11700
 
 
11701
 
 
11702
 
 
11703
 
 
11704
 
 
11705
 
 
11706
 
 
11707
 
 
11708
 
 
11709
 
 
11710
 
 
11711
 
 
11712
 
 
11713
 
 
11714
        ac_config_commands="$ac_config_commands libtool"
 
11715
 
 
11716
 
 
11717
 
 
11718
 
 
11719
# Only expand once:
 
11720
 
 
11721
 
 
11722
 
 
11723
 
 
11724
#############################################
 
11725
# Gettext
 
11726
#############################################
 
11727
GETTEXT_PACKAGE="$PACKAGE"
 
11728
 
 
11729
CONFIG_STATUS_DEPENDENCIES='$(top_srcdir)/po/LINGUAS'
 
11730
 
 
11731
 
 
11732
cat >>confdefs.h <<_ACEOF
 
11733
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
 
11734
_ACEOF
 
11735
 
 
11736
 
 
11737
   for ac_header in locale.h
 
11738
do :
 
11739
  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
 
11740
if test "x$ac_cv_header_locale_h" = xyes; then :
 
11741
  cat >>confdefs.h <<_ACEOF
 
11742
#define HAVE_LOCALE_H 1
 
11743
_ACEOF
 
11744
 
 
11745
fi
 
11746
 
 
11747
done
 
11748
 
 
11749
    if test $ac_cv_header_locale_h = yes; then
 
11750
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
 
11751
$as_echo_n "checking for LC_MESSAGES... " >&6; }
 
11752
if ${am_cv_val_LC_MESSAGES+:} false; then :
 
11753
  $as_echo_n "(cached) " >&6
 
11754
else
 
11755
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11756
/* end confdefs.h.  */
 
11757
#include <locale.h>
 
11758
int
 
11759
main ()
 
11760
{
 
11761
return LC_MESSAGES
 
11762
  ;
 
11763
  return 0;
 
11764
}
 
11765
_ACEOF
 
11766
if ac_fn_c_try_link "$LINENO"; then :
 
11767
  am_cv_val_LC_MESSAGES=yes
 
11768
else
 
11769
  am_cv_val_LC_MESSAGES=no
 
11770
fi
 
11771
rm -f core conftest.err conftest.$ac_objext \
 
11772
    conftest$ac_exeext conftest.$ac_ext
 
11773
fi
 
11774
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
 
11775
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
 
11776
    if test $am_cv_val_LC_MESSAGES = yes; then
 
11777
 
 
11778
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
 
11779
 
 
11780
    fi
 
11781
  fi
 
11782
     USE_NLS=yes
 
11783
 
 
11784
 
 
11785
    gt_cv_have_gettext=no
 
11786
 
 
11787
    CATOBJEXT=NONE
 
11788
    XGETTEXT=:
 
11789
    INTLLIBS=
 
11790
 
 
11791
    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
 
11792
if test "x$ac_cv_header_libintl_h" = xyes; then :
 
11793
  gt_cv_func_dgettext_libintl="no"
 
11794
      libintl_extra_libs=""
 
11795
 
 
11796
      #
 
11797
      # First check in libc
 
11798
      #
 
11799
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
 
11800
$as_echo_n "checking for ngettext in libc... " >&6; }
 
11801
if ${gt_cv_func_ngettext_libc+:} false; then :
 
11802
  $as_echo_n "(cached) " >&6
 
11803
else
 
11804
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11805
/* end confdefs.h.  */
 
11806
 
 
11807
#include <libintl.h>
 
11808
 
 
11809
int
 
11810
main ()
 
11811
{
 
11812
return !ngettext ("","", 1)
 
11813
  ;
 
11814
  return 0;
 
11815
}
 
11816
_ACEOF
 
11817
if ac_fn_c_try_link "$LINENO"; then :
 
11818
  gt_cv_func_ngettext_libc=yes
 
11819
else
 
11820
  gt_cv_func_ngettext_libc=no
 
11821
fi
 
11822
rm -f core conftest.err conftest.$ac_objext \
 
11823
    conftest$ac_exeext conftest.$ac_ext
 
11824
 
 
11825
fi
 
11826
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
 
11827
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
 
11828
 
 
11829
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
 
11830
              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
 
11831
$as_echo_n "checking for dgettext in libc... " >&6; }
 
11832
if ${gt_cv_func_dgettext_libc+:} false; then :
 
11833
  $as_echo_n "(cached) " >&6
 
11834
else
 
11835
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11836
/* end confdefs.h.  */
 
11837
 
 
11838
#include <libintl.h>
 
11839
 
 
11840
int
 
11841
main ()
 
11842
{
 
11843
return !dgettext ("","")
 
11844
  ;
 
11845
  return 0;
 
11846
}
 
11847
_ACEOF
 
11848
if ac_fn_c_try_link "$LINENO"; then :
 
11849
  gt_cv_func_dgettext_libc=yes
 
11850
else
 
11851
  gt_cv_func_dgettext_libc=no
 
11852
fi
 
11853
rm -f core conftest.err conftest.$ac_objext \
 
11854
    conftest$ac_exeext conftest.$ac_ext
 
11855
 
 
11856
fi
 
11857
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
 
11858
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
 
11859
      fi
 
11860
 
 
11861
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
 
11862
        for ac_func in bind_textdomain_codeset
 
11863
do :
 
11864
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
11865
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
 
11866
  cat >>confdefs.h <<_ACEOF
 
11867
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
 
11868
_ACEOF
 
11869
 
 
11870
fi
 
11871
done
 
11872
 
 
11873
      fi
 
11874
 
 
11875
      #
 
11876
      # If we don't have everything we want, check in libintl
 
11877
      #
 
11878
      if test "$gt_cv_func_dgettext_libc" != "yes" \
 
11879
         || test "$gt_cv_func_ngettext_libc" != "yes" \
 
11880
         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
 
11881
 
 
11882
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
 
11883
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
 
11884
if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
 
11885
  $as_echo_n "(cached) " >&6
 
11886
else
 
11887
  ac_check_lib_save_LIBS=$LIBS
 
11888
LIBS="-lintl  $LIBS"
 
11889
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11890
/* end confdefs.h.  */
 
11891
 
 
11892
/* Override any GCC internal prototype to avoid an error.
 
11893
   Use char because int might match the return type of a GCC
 
11894
   builtin and then its argument prototype would still apply.  */
 
11895
#ifdef __cplusplus
 
11896
extern "C"
 
11897
#endif
 
11898
char bindtextdomain ();
 
11899
int
 
11900
main ()
 
11901
{
 
11902
return bindtextdomain ();
 
11903
  ;
 
11904
  return 0;
 
11905
}
 
11906
_ACEOF
 
11907
if ac_fn_c_try_link "$LINENO"; then :
 
11908
  ac_cv_lib_intl_bindtextdomain=yes
 
11909
else
 
11910
  ac_cv_lib_intl_bindtextdomain=no
 
11911
fi
 
11912
rm -f core conftest.err conftest.$ac_objext \
 
11913
    conftest$ac_exeext conftest.$ac_ext
 
11914
LIBS=$ac_check_lib_save_LIBS
 
11915
fi
 
11916
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
 
11917
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
 
11918
if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
 
11919
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
 
11920
$as_echo_n "checking for ngettext in -lintl... " >&6; }
 
11921
if ${ac_cv_lib_intl_ngettext+:} false; then :
 
11922
  $as_echo_n "(cached) " >&6
 
11923
else
 
11924
  ac_check_lib_save_LIBS=$LIBS
 
11925
LIBS="-lintl  $LIBS"
 
11926
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11927
/* end confdefs.h.  */
 
11928
 
 
11929
/* Override any GCC internal prototype to avoid an error.
 
11930
   Use char because int might match the return type of a GCC
 
11931
   builtin and then its argument prototype would still apply.  */
 
11932
#ifdef __cplusplus
 
11933
extern "C"
 
11934
#endif
 
11935
char ngettext ();
 
11936
int
 
11937
main ()
 
11938
{
 
11939
return ngettext ();
 
11940
  ;
 
11941
  return 0;
 
11942
}
 
11943
_ACEOF
 
11944
if ac_fn_c_try_link "$LINENO"; then :
 
11945
  ac_cv_lib_intl_ngettext=yes
 
11946
else
 
11947
  ac_cv_lib_intl_ngettext=no
 
11948
fi
 
11949
rm -f core conftest.err conftest.$ac_objext \
 
11950
    conftest$ac_exeext conftest.$ac_ext
 
11951
LIBS=$ac_check_lib_save_LIBS
 
11952
fi
 
11953
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
 
11954
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
 
11955
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
 
11956
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
 
11957
$as_echo_n "checking for dgettext in -lintl... " >&6; }
 
11958
if ${ac_cv_lib_intl_dgettext+:} false; then :
 
11959
  $as_echo_n "(cached) " >&6
 
11960
else
 
11961
  ac_check_lib_save_LIBS=$LIBS
 
11962
LIBS="-lintl  $LIBS"
 
11963
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11964
/* end confdefs.h.  */
 
11965
 
 
11966
/* Override any GCC internal prototype to avoid an error.
 
11967
   Use char because int might match the return type of a GCC
 
11968
   builtin and then its argument prototype would still apply.  */
 
11969
#ifdef __cplusplus
 
11970
extern "C"
 
11971
#endif
 
11972
char dgettext ();
 
11973
int
 
11974
main ()
 
11975
{
 
11976
return dgettext ();
 
11977
  ;
 
11978
  return 0;
 
11979
}
 
11980
_ACEOF
 
11981
if ac_fn_c_try_link "$LINENO"; then :
 
11982
  ac_cv_lib_intl_dgettext=yes
 
11983
else
 
11984
  ac_cv_lib_intl_dgettext=no
 
11985
fi
 
11986
rm -f core conftest.err conftest.$ac_objext \
 
11987
    conftest$ac_exeext conftest.$ac_ext
 
11988
LIBS=$ac_check_lib_save_LIBS
 
11989
fi
 
11990
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
 
11991
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
 
11992
if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
 
11993
  gt_cv_func_dgettext_libintl=yes
 
11994
fi
 
11995
 
 
11996
fi
 
11997
 
 
11998
fi
 
11999
 
 
12000
 
 
12001
        if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
 
12002
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
 
12003
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
 
12004
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
 
12005
$as_echo "" >&6; }
 
12006
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
 
12007
$as_echo_n "checking for ngettext in -lintl... " >&6; }
 
12008
if ${ac_cv_lib_intl_ngettext+:} false; then :
 
12009
  $as_echo_n "(cached) " >&6
 
12010
else
 
12011
  ac_check_lib_save_LIBS=$LIBS
 
12012
LIBS="-lintl -liconv $LIBS"
 
12013
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12014
/* end confdefs.h.  */
 
12015
 
 
12016
/* Override any GCC internal prototype to avoid an error.
 
12017
   Use char because int might match the return type of a GCC
 
12018
   builtin and then its argument prototype would still apply.  */
 
12019
#ifdef __cplusplus
 
12020
extern "C"
 
12021
#endif
 
12022
char ngettext ();
 
12023
int
 
12024
main ()
 
12025
{
 
12026
return ngettext ();
 
12027
  ;
 
12028
  return 0;
 
12029
}
 
12030
_ACEOF
 
12031
if ac_fn_c_try_link "$LINENO"; then :
 
12032
  ac_cv_lib_intl_ngettext=yes
 
12033
else
 
12034
  ac_cv_lib_intl_ngettext=no
 
12035
fi
 
12036
rm -f core conftest.err conftest.$ac_objext \
 
12037
    conftest$ac_exeext conftest.$ac_ext
 
12038
LIBS=$ac_check_lib_save_LIBS
 
12039
fi
 
12040
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
 
12041
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
 
12042
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
 
12043
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
 
12044
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
 
12045
if ${ac_cv_lib_intl_dcgettext+:} false; then :
 
12046
  $as_echo_n "(cached) " >&6
 
12047
else
 
12048
  ac_check_lib_save_LIBS=$LIBS
 
12049
LIBS="-lintl -liconv $LIBS"
 
12050
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12051
/* end confdefs.h.  */
 
12052
 
 
12053
/* Override any GCC internal prototype to avoid an error.
 
12054
   Use char because int might match the return type of a GCC
 
12055
   builtin and then its argument prototype would still apply.  */
 
12056
#ifdef __cplusplus
 
12057
extern "C"
 
12058
#endif
 
12059
char dcgettext ();
 
12060
int
 
12061
main ()
 
12062
{
 
12063
return dcgettext ();
 
12064
  ;
 
12065
  return 0;
 
12066
}
 
12067
_ACEOF
 
12068
if ac_fn_c_try_link "$LINENO"; then :
 
12069
  ac_cv_lib_intl_dcgettext=yes
 
12070
else
 
12071
  ac_cv_lib_intl_dcgettext=no
 
12072
fi
 
12073
rm -f core conftest.err conftest.$ac_objext \
 
12074
    conftest$ac_exeext conftest.$ac_ext
 
12075
LIBS=$ac_check_lib_save_LIBS
 
12076
fi
 
12077
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
 
12078
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
 
12079
if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
 
12080
  gt_cv_func_dgettext_libintl=yes
 
12081
                        libintl_extra_libs=-liconv
 
12082
else
 
12083
  :
 
12084
fi
 
12085
 
 
12086
else
 
12087
  :
 
12088
fi
 
12089
 
 
12090
        fi
 
12091
 
 
12092
        #
 
12093
        # If we found libintl, then check in it for bind_textdomain_codeset();
 
12094
        # we'll prefer libc if neither have bind_textdomain_codeset(),
 
12095
        # and both have dgettext and ngettext
 
12096
        #
 
12097
        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
 
12098
          glib_save_LIBS="$LIBS"
 
12099
          LIBS="$LIBS -lintl $libintl_extra_libs"
 
12100
          unset ac_cv_func_bind_textdomain_codeset
 
12101
          for ac_func in bind_textdomain_codeset
 
12102
do :
 
12103
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
12104
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
 
12105
  cat >>confdefs.h <<_ACEOF
 
12106
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
 
12107
_ACEOF
 
12108
 
 
12109
fi
 
12110
done
 
12111
 
 
12112
          LIBS="$glib_save_LIBS"
 
12113
 
 
12114
          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
 
12115
            gt_cv_func_dgettext_libc=no
 
12116
          else
 
12117
            if test "$gt_cv_func_dgettext_libc" = "yes" \
 
12118
                && test "$gt_cv_func_ngettext_libc" = "yes"; then
 
12119
              gt_cv_func_dgettext_libintl=no
 
12120
            fi
 
12121
          fi
 
12122
        fi
 
12123
      fi
 
12124
 
 
12125
      if test "$gt_cv_func_dgettext_libc" = "yes" \
 
12126
        || test "$gt_cv_func_dgettext_libintl" = "yes"; then
 
12127
        gt_cv_have_gettext=yes
 
12128
      fi
 
12129
 
 
12130
      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
 
12131
        INTLLIBS="-lintl $libintl_extra_libs"
 
12132
      fi
 
12133
 
 
12134
      if test "$gt_cv_have_gettext" = "yes"; then
 
12135
 
 
12136
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
 
12137
 
 
12138
        # Extract the first word of "msgfmt", so it can be a program name with args.
 
12139
set dummy msgfmt; ac_word=$2
 
12140
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12141
$as_echo_n "checking for $ac_word... " >&6; }
 
12142
if ${ac_cv_path_MSGFMT+:} false; then :
 
12143
  $as_echo_n "(cached) " >&6
 
12144
else
 
12145
  case "$MSGFMT" in
 
12146
  /*)
 
12147
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
 
12148
  ;;
 
12149
  *)
 
12150
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
 
12151
  for ac_dir in $PATH; do
 
12152
    test -z "$ac_dir" && ac_dir=.
 
12153
    if test -f $ac_dir/$ac_word; then
 
12154
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
 
12155
        ac_cv_path_MSGFMT="$ac_dir/$ac_word"
 
12156
        break
 
12157
      fi
 
12158
    fi
 
12159
  done
 
12160
  IFS="$ac_save_ifs"
 
12161
  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
 
12162
  ;;
 
12163
esac
 
12164
fi
 
12165
MSGFMT="$ac_cv_path_MSGFMT"
 
12166
if test "$MSGFMT" != "no"; then
 
12167
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
 
12168
$as_echo "$MSGFMT" >&6; }
 
12169
else
 
12170
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12171
$as_echo "no" >&6; }
 
12172
fi
 
12173
        if test "$MSGFMT" != "no"; then
 
12174
          glib_save_LIBS="$LIBS"
 
12175
          LIBS="$LIBS $INTLLIBS"
 
12176
          for ac_func in dcgettext
 
12177
do :
 
12178
  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
 
12179
if test "x$ac_cv_func_dcgettext" = xyes; then :
 
12180
  cat >>confdefs.h <<_ACEOF
 
12181
#define HAVE_DCGETTEXT 1
 
12182
_ACEOF
 
12183
 
 
12184
fi
 
12185
done
 
12186
 
 
12187
          MSGFMT_OPTS=
 
12188
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
 
12189
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
 
12190
          cat >conftest.foo <<_ACEOF
 
12191
 
 
12192
msgid ""
 
12193
msgstr ""
 
12194
"Content-Type: text/plain; charset=UTF-8\n"
 
12195
"Project-Id-Version: test 1.0\n"
 
12196
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
 
12197
"Last-Translator: test <foo@bar.xx>\n"
 
12198
"Language-Team: C <LL@li.org>\n"
 
12199
"MIME-Version: 1.0\n"
 
12200
"Content-Transfer-Encoding: 8bit\n"
 
12201
 
 
12202
_ACEOF
 
12203
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
 
12204
  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
 
12205
  ac_status=$?
 
12206
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12207
  test $ac_status = 0; }; then
 
12208
  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
12209
$as_echo "yes" >&6; }
 
12210
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12211
$as_echo "no" >&6; }
 
12212
echo "$as_me: failed input was:" >&5
 
12213
sed 's/^/| /' conftest.foo >&5
 
12214
fi
 
12215
 
 
12216
          # Extract the first word of "gmsgfmt", so it can be a program name with args.
 
12217
set dummy gmsgfmt; ac_word=$2
 
12218
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12219
$as_echo_n "checking for $ac_word... " >&6; }
 
12220
if ${ac_cv_path_GMSGFMT+:} false; then :
 
12221
  $as_echo_n "(cached) " >&6
 
12222
else
 
12223
  case $GMSGFMT in
 
12224
  [\\/]* | ?:[\\/]*)
 
12225
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
 
12226
  ;;
 
12227
  *)
 
12228
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12229
for as_dir in $PATH
 
12230
do
 
12231
  IFS=$as_save_IFS
 
12232
  test -z "$as_dir" && as_dir=.
 
12233
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12234
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
12235
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
12236
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12237
    break 2
 
12238
  fi
 
12239
done
 
12240
  done
 
12241
IFS=$as_save_IFS
 
12242
 
 
12243
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
 
12244
  ;;
 
12245
esac
 
12246
fi
 
12247
GMSGFMT=$ac_cv_path_GMSGFMT
 
12248
if test -n "$GMSGFMT"; then
 
12249
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
 
12250
$as_echo "$GMSGFMT" >&6; }
 
12251
else
 
12252
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12253
$as_echo "no" >&6; }
 
12254
fi
 
12255
 
 
12256
 
 
12257
          # Extract the first word of "xgettext", so it can be a program name with args.
 
12258
set dummy xgettext; ac_word=$2
 
12259
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12260
$as_echo_n "checking for $ac_word... " >&6; }
 
12261
if ${ac_cv_path_XGETTEXT+:} false; then :
 
12262
  $as_echo_n "(cached) " >&6
 
12263
else
 
12264
  case "$XGETTEXT" in
 
12265
  /*)
 
12266
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
 
12267
  ;;
 
12268
  *)
 
12269
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
 
12270
  for ac_dir in $PATH; do
 
12271
    test -z "$ac_dir" && ac_dir=.
 
12272
    if test -f $ac_dir/$ac_word; then
 
12273
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
 
12274
        ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
 
12275
        break
 
12276
      fi
 
12277
    fi
 
12278
  done
 
12279
  IFS="$ac_save_ifs"
 
12280
  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
 
12281
  ;;
 
12282
esac
 
12283
fi
 
12284
XGETTEXT="$ac_cv_path_XGETTEXT"
 
12285
if test "$XGETTEXT" != ":"; then
 
12286
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
 
12287
$as_echo "$XGETTEXT" >&6; }
 
12288
else
 
12289
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12290
$as_echo "no" >&6; }
 
12291
fi
 
12292
 
 
12293
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12294
/* end confdefs.h.  */
 
12295
 
 
12296
int
 
12297
main ()
 
12298
{
 
12299
extern int _nl_msg_cat_cntr;
 
12300
                         return _nl_msg_cat_cntr
 
12301
  ;
 
12302
  return 0;
 
12303
}
 
12304
_ACEOF
 
12305
if ac_fn_c_try_link "$LINENO"; then :
 
12306
  CATOBJEXT=.gmo
 
12307
             DATADIRNAME=share
 
12308
else
 
12309
  case $host in
 
12310
            *-*-solaris*)
 
12311
                                                                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
12312
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
 
12313
  CATOBJEXT=.gmo
 
12314
               DATADIRNAME=share
 
12315
else
 
12316
  CATOBJEXT=.mo
 
12317
               DATADIRNAME=lib
 
12318
fi
 
12319
 
 
12320
            ;;
 
12321
            *-*-openbsd*)
 
12322
            CATOBJEXT=.mo
 
12323
            DATADIRNAME=share
 
12324
            ;;
 
12325
            *)
 
12326
            CATOBJEXT=.mo
 
12327
            DATADIRNAME=lib
 
12328
            ;;
 
12329
            esac
 
12330
fi
 
12331
rm -f core conftest.err conftest.$ac_objext \
 
12332
    conftest$ac_exeext conftest.$ac_ext
 
12333
          LIBS="$glib_save_LIBS"
 
12334
          INSTOBJEXT=.mo
 
12335
        else
 
12336
          gt_cv_have_gettext=no
 
12337
        fi
 
12338
      fi
 
12339
 
 
12340
fi
 
12341
 
 
12342
 
 
12343
 
 
12344
    if test "$gt_cv_have_gettext" = "yes" ; then
 
12345
 
 
12346
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
 
12347
 
 
12348
    fi
 
12349
 
 
12350
        if test "$XGETTEXT" != ":"; then
 
12351
                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
 
12352
        : ;
 
12353
      else
 
12354
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
 
12355
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
 
12356
        XGETTEXT=":"
 
12357
      fi
 
12358
    fi
 
12359
 
 
12360
    # We need to process the po/ directory.
 
12361
    POSUB=po
 
12362
 
 
12363
    ac_config_commands="$ac_config_commands default-1"
 
12364
 
 
12365
 
 
12366
                for lang in $ALL_LINGUAS; do
 
12367
      GMOFILES="$GMOFILES $lang.gmo"
 
12368
      POFILES="$POFILES $lang.po"
 
12369
    done
 
12370
 
 
12371
 
 
12372
 
 
12373
 
 
12374
 
 
12375
 
 
12376
 
 
12377
 
 
12378
 
 
12379
 
 
12380
 
 
12381
 
 
12382
 
 
12383
   if test "$gt_cv_have_gettext" = "yes"; then
 
12384
     if test "x$ALL_LINGUAS" = "x"; then
 
12385
       LINGUAS=
 
12386
     else
 
12387
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
 
12388
$as_echo_n "checking for catalogs to be installed... " >&6; }
 
12389
       NEW_LINGUAS=
 
12390
       for presentlang in $ALL_LINGUAS; do
 
12391
         useit=no
 
12392
         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
 
12393
           desiredlanguages="$LINGUAS"
 
12394
         else
 
12395
           desiredlanguages="$ALL_LINGUAS"
 
12396
         fi
 
12397
         for desiredlang in $desiredlanguages; do
 
12398
           # Use the presentlang catalog if desiredlang is
 
12399
           #   a. equal to presentlang, or
 
12400
           #   b. a variant of presentlang (because in this case,
 
12401
           #      presentlang can be used as a fallback for messages
 
12402
           #      which are not translated in the desiredlang catalog).
 
12403
           case "$desiredlang" in
 
12404
             "$presentlang"*) useit=yes;;
 
12405
           esac
 
12406
         done
 
12407
         if test $useit = yes; then
 
12408
           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
 
12409
         fi
 
12410
       done
 
12411
       LINGUAS=$NEW_LINGUAS
 
12412
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
 
12413
$as_echo "$LINGUAS" >&6; }
 
12414
     fi
 
12415
 
 
12416
          if test -n "$LINGUAS"; then
 
12417
       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
 
12418
     fi
 
12419
   fi
 
12420
 
 
12421
            MKINSTALLDIRS=
 
12422
   if test -n "$ac_aux_dir"; then
 
12423
     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
 
12424
   fi
 
12425
   if test -z "$MKINSTALLDIRS"; then
 
12426
     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
 
12427
   fi
 
12428
 
 
12429
 
 
12430
         test -d po || mkdir po
 
12431
   if test "x$srcdir" != "x."; then
 
12432
     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
 
12433
       posrcprefix="$srcdir/"
 
12434
     else
 
12435
       posrcprefix="../$srcdir/"
 
12436
     fi
 
12437
   else
 
12438
     posrcprefix="../"
 
12439
   fi
 
12440
   rm -f po/POTFILES
 
12441
   sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
 
12442
        < $srcdir/po/POTFILES.in > po/POTFILES
 
12443
 
 
12444
 
 
12445
# AM_GNOME_GETTEXT above substs $DATADIRNAME
 
12446
# this is the directory where the *.{mo,gmo} files are installed
 
12447
localedir='${prefix}/${DATADIRNAME}/locale'
 
12448
 
 
12449
 
 
12450
 
 
12451
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
 
12452
$as_echo_n "checking whether NLS is requested... " >&6; }
 
12453
    # Check whether --enable-nls was given.
 
12454
if test "${enable_nls+set}" = set; then :
 
12455
  enableval=$enable_nls; USE_NLS=$enableval
 
12456
else
 
12457
  USE_NLS=yes
 
12458
fi
 
12459
 
 
12460
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
 
12461
$as_echo "$USE_NLS" >&6; }
 
12462
 
 
12463
 
 
12464
 
 
12465
 
 
12466
case "$am__api_version" in
 
12467
    1.01234)
 
12468
        as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
 
12469
    ;;
 
12470
    *)
 
12471
    ;;
 
12472
esac
 
12473
 
 
12474
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.40.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
 
12475
INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
 
12476
INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
 
12477
if test -n "0.40.0"; then
 
12478
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.40.0" >&5
 
12479
$as_echo_n "checking for intltool >= 0.40.0... " >&6; }
 
12480
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
 
12481
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
 
12482
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
 
12483
        as_fn_error $? "Your intltool is too old.  You need intltool 0.40.0 or later." "$LINENO" 5
 
12484
fi
 
12485
 
 
12486
# Extract the first word of "intltool-update", so it can be a program name with args.
 
12487
set dummy intltool-update; ac_word=$2
 
12488
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12489
$as_echo_n "checking for $ac_word... " >&6; }
 
12490
if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
 
12491
  $as_echo_n "(cached) " >&6
 
12492
else
 
12493
  case $INTLTOOL_UPDATE in
 
12494
  [\\/]* | ?:[\\/]*)
 
12495
  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
 
12496
  ;;
 
12497
  *)
 
12498
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12499
for as_dir in $PATH
 
12500
do
 
12501
  IFS=$as_save_IFS
 
12502
  test -z "$as_dir" && as_dir=.
 
12503
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12504
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
12505
    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
 
12506
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12507
    break 2
 
12508
  fi
 
12509
done
 
12510
  done
 
12511
IFS=$as_save_IFS
 
12512
 
 
12513
  ;;
 
12514
esac
 
12515
fi
 
12516
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
 
12517
if test -n "$INTLTOOL_UPDATE"; then
 
12518
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
 
12519
$as_echo "$INTLTOOL_UPDATE" >&6; }
 
12520
else
 
12521
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12522
$as_echo "no" >&6; }
 
12523
fi
 
12524
 
 
12525
 
 
12526
# Extract the first word of "intltool-merge", so it can be a program name with args.
 
12527
set dummy intltool-merge; ac_word=$2
 
12528
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12529
$as_echo_n "checking for $ac_word... " >&6; }
 
12530
if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
 
12531
  $as_echo_n "(cached) " >&6
 
12532
else
 
12533
  case $INTLTOOL_MERGE in
 
12534
  [\\/]* | ?:[\\/]*)
 
12535
  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
 
12536
  ;;
 
12537
  *)
 
12538
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12539
for as_dir in $PATH
 
12540
do
 
12541
  IFS=$as_save_IFS
 
12542
  test -z "$as_dir" && as_dir=.
 
12543
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12544
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
12545
    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
 
12546
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12547
    break 2
 
12548
  fi
 
12549
done
 
12550
  done
 
12551
IFS=$as_save_IFS
 
12552
 
 
12553
  ;;
 
12554
esac
 
12555
fi
 
12556
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
 
12557
if test -n "$INTLTOOL_MERGE"; then
 
12558
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
 
12559
$as_echo "$INTLTOOL_MERGE" >&6; }
 
12560
else
 
12561
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12562
$as_echo "no" >&6; }
 
12563
fi
 
12564
 
 
12565
 
 
12566
# Extract the first word of "intltool-extract", so it can be a program name with args.
 
12567
set dummy intltool-extract; ac_word=$2
 
12568
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12569
$as_echo_n "checking for $ac_word... " >&6; }
 
12570
if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
 
12571
  $as_echo_n "(cached) " >&6
 
12572
else
 
12573
  case $INTLTOOL_EXTRACT in
 
12574
  [\\/]* | ?:[\\/]*)
 
12575
  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
 
12576
  ;;
 
12577
  *)
 
12578
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12579
for as_dir in $PATH
 
12580
do
 
12581
  IFS=$as_save_IFS
 
12582
  test -z "$as_dir" && as_dir=.
 
12583
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12584
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
12585
    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
 
12586
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12587
    break 2
 
12588
  fi
 
12589
done
 
12590
  done
 
12591
IFS=$as_save_IFS
 
12592
 
 
12593
  ;;
 
12594
esac
 
12595
fi
 
12596
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
 
12597
if test -n "$INTLTOOL_EXTRACT"; then
 
12598
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
 
12599
$as_echo "$INTLTOOL_EXTRACT" >&6; }
 
12600
else
 
12601
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12602
$as_echo "no" >&6; }
 
12603
fi
 
12604
 
 
12605
 
 
12606
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
 
12607
    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
 
12608
fi
 
12609
 
 
12610
if test -z "$AM_DEFAULT_VERBOSITY"; then
 
12611
  AM_DEFAULT_VERBOSITY=1
 
12612
fi
 
12613
 
 
12614
 
 
12615
INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
 
12616
INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
 
12617
INTLTOOL__v_MERGE_0='@echo "  ITMRG " $@;'
 
12618
 
 
12619
 
 
12620
 
 
12621
 
 
12622
INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
 
12623
intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
 
12624
intltool__v_merge_options_0='-q'
 
12625
 
 
12626
 
 
12627
 
 
12628
 
 
12629
  INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12630
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12631
     INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12632
     INTLTOOL_PROP_RULE='%.prop:      %.prop.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12633
      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@'
 
12634
     INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12635
   INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12636
    INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12637
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12638
       INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12639
      INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12640
if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
 
12641
      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@'
 
12642
else
 
12643
      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir'
 
12644
fi
 
12645
      INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12646
      INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12647
    INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12648
  INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12649
    INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12650
    INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12651
   INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12652
 
 
12653
 
 
12654
 
 
12655
 
 
12656
 
 
12657
 
 
12658
 
 
12659
 
 
12660
 
 
12661
 
 
12662
 
 
12663
 
 
12664
 
 
12665
 
 
12666
 
 
12667
 
 
12668
 
 
12669
 
 
12670
 
 
12671
 
 
12672
 
 
12673
 
 
12674
 
 
12675
 
 
12676
 
 
12677
 
 
12678
 
 
12679
 
 
12680
 
 
12681
 
 
12682
 
 
12683
 
 
12684
 
 
12685
 
 
12686
 
 
12687
 
 
12688
 
 
12689
 
 
12690
 
 
12691
 
 
12692
 
 
12693
 
 
12694
 
 
12695
 
 
12696
 
 
12697
 
 
12698
 
 
12699
 
 
12700
 
 
12701
 
 
12702
 
 
12703
 
 
12704
 
 
12705
 
 
12706
 
 
12707
 
 
12708
 
 
12709
 
 
12710
 
 
12711
 
 
12712
 
 
12713
 
 
12714
 
 
12715
 
 
12716
 
 
12717
 
 
12718
 
 
12719
 
 
12720
 
 
12721
 
 
12722
 
 
12723
 
 
12724
 
 
12725
 
 
12726
 
 
12727
 
 
12728
 
 
12729
 
 
12730
 
 
12731
 
 
12732
 
 
12733
 
 
12734
 
 
12735
 
 
12736
 
 
12737
 
 
12738
 
 
12739
 
 
12740
 
 
12741
 
 
12742
 
 
12743
 
 
12744
 
 
12745
 
 
12746
 
 
12747
 
 
12748
 
 
12749
# Check the gettext tools to make sure they are GNU
 
12750
# Extract the first word of "xgettext", so it can be a program name with args.
 
12751
set dummy xgettext; ac_word=$2
 
12752
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12753
$as_echo_n "checking for $ac_word... " >&6; }
 
12754
if ${ac_cv_path_XGETTEXT+:} false; then :
 
12755
  $as_echo_n "(cached) " >&6
 
12756
else
 
12757
  case $XGETTEXT in
 
12758
  [\\/]* | ?:[\\/]*)
 
12759
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
 
12760
  ;;
 
12761
  *)
 
12762
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12763
for as_dir in $PATH
 
12764
do
 
12765
  IFS=$as_save_IFS
 
12766
  test -z "$as_dir" && as_dir=.
 
12767
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12768
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
12769
    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
 
12770
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12771
    break 2
 
12772
  fi
 
12773
done
 
12774
  done
 
12775
IFS=$as_save_IFS
 
12776
 
 
12777
  ;;
 
12778
esac
 
12779
fi
 
12780
XGETTEXT=$ac_cv_path_XGETTEXT
 
12781
if test -n "$XGETTEXT"; then
 
12782
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
 
12783
$as_echo "$XGETTEXT" >&6; }
 
12784
else
 
12785
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12786
$as_echo "no" >&6; }
 
12787
fi
 
12788
 
 
12789
 
 
12790
# Extract the first word of "msgmerge", so it can be a program name with args.
 
12791
set dummy msgmerge; ac_word=$2
 
12792
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12793
$as_echo_n "checking for $ac_word... " >&6; }
 
12794
if ${ac_cv_path_MSGMERGE+:} false; then :
 
12795
  $as_echo_n "(cached) " >&6
 
12796
else
 
12797
  case $MSGMERGE in
 
12798
  [\\/]* | ?:[\\/]*)
 
12799
  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
 
12800
  ;;
 
12801
  *)
 
12802
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12803
for as_dir in $PATH
 
12804
do
 
12805
  IFS=$as_save_IFS
 
12806
  test -z "$as_dir" && as_dir=.
 
12807
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12808
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
12809
    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
 
12810
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12811
    break 2
 
12812
  fi
 
12813
done
 
12814
  done
 
12815
IFS=$as_save_IFS
 
12816
 
 
12817
  ;;
 
12818
esac
 
12819
fi
 
12820
MSGMERGE=$ac_cv_path_MSGMERGE
 
12821
if test -n "$MSGMERGE"; then
 
12822
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
 
12823
$as_echo "$MSGMERGE" >&6; }
 
12824
else
 
12825
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12826
$as_echo "no" >&6; }
 
12827
fi
 
12828
 
 
12829
 
 
12830
# Extract the first word of "msgfmt", so it can be a program name with args.
 
12831
set dummy msgfmt; ac_word=$2
 
12832
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12833
$as_echo_n "checking for $ac_word... " >&6; }
 
12834
if ${ac_cv_path_MSGFMT+:} false; then :
 
12835
  $as_echo_n "(cached) " >&6
 
12836
else
 
12837
  case $MSGFMT in
 
12838
  [\\/]* | ?:[\\/]*)
 
12839
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
 
12840
  ;;
 
12841
  *)
 
12842
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12843
for as_dir in $PATH
 
12844
do
 
12845
  IFS=$as_save_IFS
 
12846
  test -z "$as_dir" && as_dir=.
 
12847
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12848
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
12849
    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
12850
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12851
    break 2
 
12852
  fi
 
12853
done
 
12854
  done
 
12855
IFS=$as_save_IFS
 
12856
 
 
12857
  ;;
 
12858
esac
 
12859
fi
 
12860
MSGFMT=$ac_cv_path_MSGFMT
 
12861
if test -n "$MSGFMT"; then
 
12862
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
 
12863
$as_echo "$MSGFMT" >&6; }
 
12864
else
 
12865
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12866
$as_echo "no" >&6; }
 
12867
fi
 
12868
 
 
12869
 
 
12870
# Extract the first word of "gmsgfmt", so it can be a program name with args.
 
12871
set dummy gmsgfmt; ac_word=$2
 
12872
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12873
$as_echo_n "checking for $ac_word... " >&6; }
 
12874
if ${ac_cv_path_GMSGFMT+:} false; then :
 
12875
  $as_echo_n "(cached) " >&6
 
12876
else
 
12877
  case $GMSGFMT in
 
12878
  [\\/]* | ?:[\\/]*)
 
12879
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
 
12880
  ;;
 
12881
  *)
 
12882
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12883
for as_dir in $PATH
 
12884
do
 
12885
  IFS=$as_save_IFS
 
12886
  test -z "$as_dir" && as_dir=.
 
12887
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12888
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
12889
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
12890
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12891
    break 2
 
12892
  fi
 
12893
done
 
12894
  done
 
12895
IFS=$as_save_IFS
 
12896
 
 
12897
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
 
12898
  ;;
 
12899
esac
 
12900
fi
 
12901
GMSGFMT=$ac_cv_path_GMSGFMT
 
12902
if test -n "$GMSGFMT"; then
 
12903
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
 
12904
$as_echo "$GMSGFMT" >&6; }
 
12905
else
 
12906
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12907
$as_echo "no" >&6; }
 
12908
fi
 
12909
 
 
12910
 
 
12911
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
 
12912
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
 
12913
fi
 
12914
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
 
12915
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
 
12916
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
 
12917
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
 
12918
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
 
12919
fi
 
12920
 
 
12921
# Extract the first word of "perl", so it can be a program name with args.
 
12922
set dummy perl; ac_word=$2
 
12923
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12924
$as_echo_n "checking for $ac_word... " >&6; }
 
12925
if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
 
12926
  $as_echo_n "(cached) " >&6
 
12927
else
 
12928
  case $INTLTOOL_PERL in
 
12929
  [\\/]* | ?:[\\/]*)
 
12930
  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
 
12931
  ;;
 
12932
  *)
 
12933
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12934
for as_dir in $PATH
 
12935
do
 
12936
  IFS=$as_save_IFS
 
12937
  test -z "$as_dir" && as_dir=.
 
12938
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12939
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
12940
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
 
12941
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12942
    break 2
 
12943
  fi
 
12944
done
 
12945
  done
 
12946
IFS=$as_save_IFS
 
12947
 
 
12948
  ;;
 
12949
esac
 
12950
fi
 
12951
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
 
12952
if test -n "$INTLTOOL_PERL"; then
 
12953
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
 
12954
$as_echo "$INTLTOOL_PERL" >&6; }
 
12955
else
 
12956
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12957
$as_echo "no" >&6; }
 
12958
fi
 
12959
 
 
12960
 
 
12961
if test -z "$INTLTOOL_PERL"; then
 
12962
   as_fn_error $? "perl not found" "$LINENO" 5
 
12963
fi
 
12964
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
 
12965
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
 
12966
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
 
12967
if test $? -ne 0; then
 
12968
   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
 
12969
else
 
12970
   IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
 
12971
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
 
12972
$as_echo "$IT_PERL_VERSION" >&6; }
 
12973
fi
 
12974
if test "x" != "xno-xml"; then
 
12975
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
 
12976
$as_echo_n "checking for XML::Parser... " >&6; }
 
12977
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
 
12978
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 
12979
$as_echo "ok" >&6; }
 
12980
   else
 
12981
       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
 
12982
   fi
 
12983
fi
 
12984
 
 
12985
# Substitute ALL_LINGUAS so we can use it in po/Makefile
 
12986
 
 
12987
 
 
12988
# Set DATADIRNAME correctly if it is not set yet
 
12989
# (copied from glib-gettext.m4)
 
12990
if test -z "$DATADIRNAME"; then
 
12991
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12992
/* end confdefs.h.  */
 
12993
 
 
12994
int
 
12995
main ()
 
12996
{
 
12997
extern int _nl_msg_cat_cntr;
 
12998
                       return _nl_msg_cat_cntr
 
12999
  ;
 
13000
  return 0;
 
13001
}
 
13002
_ACEOF
 
13003
if ac_fn_c_try_link "$LINENO"; then :
 
13004
  DATADIRNAME=share
 
13005
else
 
13006
  case $host in
 
13007
    *-*-solaris*)
 
13008
                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
13009
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
 
13010
  DATADIRNAME=share
 
13011
else
 
13012
  DATADIRNAME=lib
 
13013
fi
 
13014
 
 
13015
    ;;
 
13016
    *)
 
13017
    DATADIRNAME=lib
 
13018
    ;;
 
13019
    esac
 
13020
fi
 
13021
rm -f core conftest.err conftest.$ac_objext \
 
13022
    conftest$ac_exeext conftest.$ac_ext
 
13023
fi
 
13024
 
 
13025
 
 
13026
 
 
13027
 
 
13028
 
 
13029
 
 
13030
 
 
13031
cat >>confdefs.h <<_ACEOF
 
13032
#define LOCALE_DIR "${PREFIX}/${DATADIRNAME}/locale"
 
13033
_ACEOF
 
13034
 
 
13035
 
 
13036
cat >>confdefs.h <<_ACEOF
 
13037
#define DATADIR "${PREFIX}/${DATADIRNAME}"
 
13038
_ACEOF
 
13039
 
 
13040
 
 
13041
cat >>confdefs.h <<_ACEOF
 
13042
#define PREFIXDIR "${PREFIX}"
 
13043
_ACEOF
 
13044
 
 
13045
 
 
13046
######################################################
 
13047
# intltool rule for generating translated .lens file
 
13048
######################################################
 
13049
INTLTOOL_LENS_RULE='%.lens: %.lens.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 $< $@'
 
13050
 
 
13051
 
 
13052
#####################################################
 
13053
# Check for module and library dependancies
 
13054
#####################################################
 
13055
GLIB_REQUIRED=2.27
 
13056
 
 
13057
 
 
13058
 
 
13059
 
 
13060
 
 
13061
 
 
13062
 
 
13063
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
 
13064
        if test -n "$ac_tool_prefix"; then
 
13065
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
 
13066
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
 
13067
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
13068
$as_echo_n "checking for $ac_word... " >&6; }
 
13069
if ${ac_cv_path_PKG_CONFIG+:} false; then :
 
13070
  $as_echo_n "(cached) " >&6
 
13071
else
 
13072
  case $PKG_CONFIG in
 
13073
  [\\/]* | ?:[\\/]*)
 
13074
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 
13075
  ;;
 
13076
  *)
 
13077
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
13078
for as_dir in $PATH
 
13079
do
 
13080
  IFS=$as_save_IFS
 
13081
  test -z "$as_dir" && as_dir=.
 
13082
    for ac_exec_ext in '' $ac_executable_extensions; do
 
13083
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
13084
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
13085
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13086
    break 2
 
13087
  fi
 
13088
done
 
13089
  done
 
13090
IFS=$as_save_IFS
 
13091
 
 
13092
  ;;
 
13093
esac
 
13094
fi
 
13095
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 
13096
if test -n "$PKG_CONFIG"; then
 
13097
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
 
13098
$as_echo "$PKG_CONFIG" >&6; }
 
13099
else
 
13100
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13101
$as_echo "no" >&6; }
 
13102
fi
 
13103
 
 
13104
 
 
13105
fi
 
13106
if test -z "$ac_cv_path_PKG_CONFIG"; then
 
13107
  ac_pt_PKG_CONFIG=$PKG_CONFIG
 
13108
  # Extract the first word of "pkg-config", so it can be a program name with args.
 
13109
set dummy pkg-config; ac_word=$2
 
13110
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
13111
$as_echo_n "checking for $ac_word... " >&6; }
 
13112
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
 
13113
  $as_echo_n "(cached) " >&6
 
13114
else
 
13115
  case $ac_pt_PKG_CONFIG in
 
13116
  [\\/]* | ?:[\\/]*)
 
13117
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
 
13118
  ;;
 
13119
  *)
 
13120
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
13121
for as_dir in $PATH
 
13122
do
 
13123
  IFS=$as_save_IFS
 
13124
  test -z "$as_dir" && as_dir=.
 
13125
    for ac_exec_ext in '' $ac_executable_extensions; do
 
13126
  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
13127
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
13128
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13129
    break 2
 
13130
  fi
 
13131
done
 
13132
  done
 
13133
IFS=$as_save_IFS
 
13134
 
 
13135
  ;;
 
13136
esac
 
13137
fi
 
13138
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
 
13139
if test -n "$ac_pt_PKG_CONFIG"; then
 
13140
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
 
13141
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
 
13142
else
 
13143
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13144
$as_echo "no" >&6; }
 
13145
fi
 
13146
 
 
13147
  if test "x$ac_pt_PKG_CONFIG" = x; then
 
13148
    PKG_CONFIG=""
 
13149
  else
 
13150
    case $cross_compiling:$ac_tool_warned in
 
13151
yes:)
 
13152
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
13153
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
13154
ac_tool_warned=yes ;;
 
13155
esac
 
13156
    PKG_CONFIG=$ac_pt_PKG_CONFIG
 
13157
  fi
 
13158
else
 
13159
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
 
13160
fi
 
13161
 
 
13162
fi
 
13163
if test -n "$PKG_CONFIG"; then
 
13164
        _pkg_min_version=0.9.0
 
13165
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
 
13166
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
 
13167
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
 
13168
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
13169
$as_echo "yes" >&6; }
 
13170
        else
 
13171
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13172
$as_echo "no" >&6; }
 
13173
                PKG_CONFIG=""
 
13174
        fi
 
13175
fi
 
13176
 
 
13177
pkg_failed=no
 
13178
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LENS_DAEMON" >&5
 
13179
$as_echo_n "checking for LENS_DAEMON... " >&6; }
 
13180
 
 
13181
if test -n "$LENS_DAEMON_CFLAGS"; then
 
13182
    pkg_cv_LENS_DAEMON_CFLAGS="$LENS_DAEMON_CFLAGS"
 
13183
 elif test -n "$PKG_CONFIG"; then
 
13184
    if test -n "$PKG_CONFIG" && \
 
13185
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED
 
13186
                  gobject-2.0 >= \$GLIB_REQUIRED
 
13187
                  gio-2.0 >= \$GLIB_REQUIRED
 
13188
                  gio-unix-2.0 >= \$GLIB_REQUIRED
 
13189
                  dee-1.0 >= 1.0.7
 
13190
                  sqlite3 >= 3.7.7
 
13191
                  gee-1.0
 
13192
                  json-glib-1.0
 
13193
                  unity >= 4.99.0
 
13194
                  tdb >= 1.2.6\""; } >&5
 
13195
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED
 
13196
                  gobject-2.0 >= $GLIB_REQUIRED
 
13197
                  gio-2.0 >= $GLIB_REQUIRED
 
13198
                  gio-unix-2.0 >= $GLIB_REQUIRED
 
13199
                  dee-1.0 >= 1.0.7
 
13200
                  sqlite3 >= 3.7.7
 
13201
                  gee-1.0
 
13202
                  json-glib-1.0
 
13203
                  unity >= 4.99.0
 
13204
                  tdb >= 1.2.6") 2>&5
 
13205
  ac_status=$?
 
13206
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13207
  test $ac_status = 0; }; then
 
13208
  pkg_cv_LENS_DAEMON_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQUIRED
 
13209
                  gobject-2.0 >= $GLIB_REQUIRED
 
13210
                  gio-2.0 >= $GLIB_REQUIRED
 
13211
                  gio-unix-2.0 >= $GLIB_REQUIRED
 
13212
                  dee-1.0 >= 1.0.7
 
13213
                  sqlite3 >= 3.7.7
 
13214
                  gee-1.0
 
13215
                  json-glib-1.0
 
13216
                  unity >= 4.99.0
 
13217
                  tdb >= 1.2.6" 2>/dev/null`
 
13218
                      test "x$?" != "x0" && pkg_failed=yes
 
13219
else
 
13220
  pkg_failed=yes
 
13221
fi
 
13222
 else
 
13223
    pkg_failed=untried
 
13224
fi
 
13225
if test -n "$LENS_DAEMON_LIBS"; then
 
13226
    pkg_cv_LENS_DAEMON_LIBS="$LENS_DAEMON_LIBS"
 
13227
 elif test -n "$PKG_CONFIG"; then
 
13228
    if test -n "$PKG_CONFIG" && \
 
13229
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED
 
13230
                  gobject-2.0 >= \$GLIB_REQUIRED
 
13231
                  gio-2.0 >= \$GLIB_REQUIRED
 
13232
                  gio-unix-2.0 >= \$GLIB_REQUIRED
 
13233
                  dee-1.0 >= 1.0.7
 
13234
                  sqlite3 >= 3.7.7
 
13235
                  gee-1.0
 
13236
                  json-glib-1.0
 
13237
                  unity >= 4.99.0
 
13238
                  tdb >= 1.2.6\""; } >&5
 
13239
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED
 
13240
                  gobject-2.0 >= $GLIB_REQUIRED
 
13241
                  gio-2.0 >= $GLIB_REQUIRED
 
13242
                  gio-unix-2.0 >= $GLIB_REQUIRED
 
13243
                  dee-1.0 >= 1.0.7
 
13244
                  sqlite3 >= 3.7.7
 
13245
                  gee-1.0
 
13246
                  json-glib-1.0
 
13247
                  unity >= 4.99.0
 
13248
                  tdb >= 1.2.6") 2>&5
 
13249
  ac_status=$?
 
13250
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13251
  test $ac_status = 0; }; then
 
13252
  pkg_cv_LENS_DAEMON_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQUIRED
 
13253
                  gobject-2.0 >= $GLIB_REQUIRED
 
13254
                  gio-2.0 >= $GLIB_REQUIRED
 
13255
                  gio-unix-2.0 >= $GLIB_REQUIRED
 
13256
                  dee-1.0 >= 1.0.7
 
13257
                  sqlite3 >= 3.7.7
 
13258
                  gee-1.0
 
13259
                  json-glib-1.0
 
13260
                  unity >= 4.99.0
 
13261
                  tdb >= 1.2.6" 2>/dev/null`
 
13262
                      test "x$?" != "x0" && pkg_failed=yes
 
13263
else
 
13264
  pkg_failed=yes
 
13265
fi
 
13266
 else
 
13267
    pkg_failed=untried
 
13268
fi
 
13269
 
 
13270
 
 
13271
 
 
13272
if test $pkg_failed = yes; then
 
13273
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13274
$as_echo "no" >&6; }
 
13275
 
 
13276
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
13277
        _pkg_short_errors_supported=yes
 
13278
else
 
13279
        _pkg_short_errors_supported=no
 
13280
fi
 
13281
        if test $_pkg_short_errors_supported = yes; then
 
13282
                LENS_DAEMON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= $GLIB_REQUIRED
 
13283
                  gobject-2.0 >= $GLIB_REQUIRED
 
13284
                  gio-2.0 >= $GLIB_REQUIRED
 
13285
                  gio-unix-2.0 >= $GLIB_REQUIRED
 
13286
                  dee-1.0 >= 1.0.7
 
13287
                  sqlite3 >= 3.7.7
 
13288
                  gee-1.0
 
13289
                  json-glib-1.0
 
13290
                  unity >= 4.99.0
 
13291
                  tdb >= 1.2.6" 2>&1`
 
13292
        else
 
13293
                LENS_DAEMON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= $GLIB_REQUIRED
 
13294
                  gobject-2.0 >= $GLIB_REQUIRED
 
13295
                  gio-2.0 >= $GLIB_REQUIRED
 
13296
                  gio-unix-2.0 >= $GLIB_REQUIRED
 
13297
                  dee-1.0 >= 1.0.7
 
13298
                  sqlite3 >= 3.7.7
 
13299
                  gee-1.0
 
13300
                  json-glib-1.0
 
13301
                  unity >= 4.99.0
 
13302
                  tdb >= 1.2.6" 2>&1`
 
13303
        fi
 
13304
        # Put the nasty error message in config.log where it belongs
 
13305
        echo "$LENS_DAEMON_PKG_ERRORS" >&5
 
13306
 
 
13307
        as_fn_error $? "Package requirements (glib-2.0 >= $GLIB_REQUIRED
 
13308
                  gobject-2.0 >= $GLIB_REQUIRED
 
13309
                  gio-2.0 >= $GLIB_REQUIRED
 
13310
                  gio-unix-2.0 >= $GLIB_REQUIRED
 
13311
                  dee-1.0 >= 1.0.7
 
13312
                  sqlite3 >= 3.7.7
 
13313
                  gee-1.0
 
13314
                  json-glib-1.0
 
13315
                  unity >= 4.99.0
 
13316
                  tdb >= 1.2.6) were not met:
 
13317
 
 
13318
$LENS_DAEMON_PKG_ERRORS
 
13319
 
 
13320
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
13321
installed software in a non-standard prefix.
 
13322
 
 
13323
Alternatively, you may set the environment variables LENS_DAEMON_CFLAGS
 
13324
and LENS_DAEMON_LIBS to avoid the need to call pkg-config.
 
13325
See the pkg-config man page for more details." "$LINENO" 5
 
13326
elif test $pkg_failed = untried; then
 
13327
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13328
$as_echo "no" >&6; }
 
13329
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
13330
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
13331
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
13332
is in your PATH or set the PKG_CONFIG environment variable to the full
 
13333
path to pkg-config.
 
13334
 
 
13335
Alternatively, you may set the environment variables LENS_DAEMON_CFLAGS
 
13336
and LENS_DAEMON_LIBS to avoid the need to call pkg-config.
 
13337
See the pkg-config man page for more details.
 
13338
 
 
13339
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
13340
See \`config.log' for more details" "$LINENO" 5; }
 
13341
else
 
13342
        LENS_DAEMON_CFLAGS=$pkg_cv_LENS_DAEMON_CFLAGS
 
13343
        LENS_DAEMON_LIBS=$pkg_cv_LENS_DAEMON_LIBS
 
13344
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
13345
$as_echo "yes" >&6; }
 
13346
 
 
13347
fi
 
13348
 
 
13349
 
 
13350
pkg_failed=no
 
13351
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PREVIEW_PLAYER" >&5
 
13352
$as_echo_n "checking for PREVIEW_PLAYER... " >&6; }
 
13353
 
 
13354
if test -n "$PREVIEW_PLAYER_CFLAGS"; then
 
13355
    pkg_cv_PREVIEW_PLAYER_CFLAGS="$PREVIEW_PLAYER_CFLAGS"
 
13356
 elif test -n "$PKG_CONFIG"; then
 
13357
    if test -n "$PKG_CONFIG" && \
 
13358
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED
 
13359
                  gobject-2.0 >= \$GLIB_REQUIRED
 
13360
                  gio-2.0 >= \$GLIB_REQUIRED
 
13361
                  gstreamer-0.10 >= 0.10.36
 
13362
                  gstreamer-pbutils-0.10 >= 0.10.36
 
13363
                  \""; } >&5
 
13364
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED
 
13365
                  gobject-2.0 >= $GLIB_REQUIRED
 
13366
                  gio-2.0 >= $GLIB_REQUIRED
 
13367
                  gstreamer-0.10 >= 0.10.36
 
13368
                  gstreamer-pbutils-0.10 >= 0.10.36
 
13369
                  ") 2>&5
 
13370
  ac_status=$?
 
13371
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13372
  test $ac_status = 0; }; then
 
13373
  pkg_cv_PREVIEW_PLAYER_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQUIRED
 
13374
                  gobject-2.0 >= $GLIB_REQUIRED
 
13375
                  gio-2.0 >= $GLIB_REQUIRED
 
13376
                  gstreamer-0.10 >= 0.10.36
 
13377
                  gstreamer-pbutils-0.10 >= 0.10.36
 
13378
                  " 2>/dev/null`
 
13379
                      test "x$?" != "x0" && pkg_failed=yes
 
13380
else
 
13381
  pkg_failed=yes
 
13382
fi
 
13383
 else
 
13384
    pkg_failed=untried
 
13385
fi
 
13386
if test -n "$PREVIEW_PLAYER_LIBS"; then
 
13387
    pkg_cv_PREVIEW_PLAYER_LIBS="$PREVIEW_PLAYER_LIBS"
 
13388
 elif test -n "$PKG_CONFIG"; then
 
13389
    if test -n "$PKG_CONFIG" && \
 
13390
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED
 
13391
                  gobject-2.0 >= \$GLIB_REQUIRED
 
13392
                  gio-2.0 >= \$GLIB_REQUIRED
 
13393
                  gstreamer-0.10 >= 0.10.36
 
13394
                  gstreamer-pbutils-0.10 >= 0.10.36
 
13395
                  \""; } >&5
 
13396
  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED
 
13397
                  gobject-2.0 >= $GLIB_REQUIRED
 
13398
                  gio-2.0 >= $GLIB_REQUIRED
 
13399
                  gstreamer-0.10 >= 0.10.36
 
13400
                  gstreamer-pbutils-0.10 >= 0.10.36
 
13401
                  ") 2>&5
 
13402
  ac_status=$?
 
13403
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13404
  test $ac_status = 0; }; then
 
13405
  pkg_cv_PREVIEW_PLAYER_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQUIRED
 
13406
                  gobject-2.0 >= $GLIB_REQUIRED
 
13407
                  gio-2.0 >= $GLIB_REQUIRED
 
13408
                  gstreamer-0.10 >= 0.10.36
 
13409
                  gstreamer-pbutils-0.10 >= 0.10.36
 
13410
                  " 2>/dev/null`
 
13411
                      test "x$?" != "x0" && pkg_failed=yes
 
13412
else
 
13413
  pkg_failed=yes
 
13414
fi
 
13415
 else
 
13416
    pkg_failed=untried
 
13417
fi
 
13418
 
 
13419
 
 
13420
 
 
13421
if test $pkg_failed = yes; then
 
13422
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13423
$as_echo "no" >&6; }
 
13424
 
 
13425
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
13426
        _pkg_short_errors_supported=yes
 
13427
else
 
13428
        _pkg_short_errors_supported=no
 
13429
fi
 
13430
        if test $_pkg_short_errors_supported = yes; then
 
13431
                PREVIEW_PLAYER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= $GLIB_REQUIRED
 
13432
                  gobject-2.0 >= $GLIB_REQUIRED
 
13433
                  gio-2.0 >= $GLIB_REQUIRED
 
13434
                  gstreamer-0.10 >= 0.10.36
 
13435
                  gstreamer-pbutils-0.10 >= 0.10.36
 
13436
                  " 2>&1`
 
13437
        else
 
13438
                PREVIEW_PLAYER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= $GLIB_REQUIRED
 
13439
                  gobject-2.0 >= $GLIB_REQUIRED
 
13440
                  gio-2.0 >= $GLIB_REQUIRED
 
13441
                  gstreamer-0.10 >= 0.10.36
 
13442
                  gstreamer-pbutils-0.10 >= 0.10.36
 
13443
                  " 2>&1`
 
13444
        fi
 
13445
        # Put the nasty error message in config.log where it belongs
 
13446
        echo "$PREVIEW_PLAYER_PKG_ERRORS" >&5
 
13447
 
 
13448
        as_fn_error $? "Package requirements (glib-2.0 >= $GLIB_REQUIRED
 
13449
                  gobject-2.0 >= $GLIB_REQUIRED
 
13450
                  gio-2.0 >= $GLIB_REQUIRED
 
13451
                  gstreamer-0.10 >= 0.10.36
 
13452
                  gstreamer-pbutils-0.10 >= 0.10.36
 
13453
                  ) were not met:
 
13454
 
 
13455
$PREVIEW_PLAYER_PKG_ERRORS
 
13456
 
 
13457
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
13458
installed software in a non-standard prefix.
 
13459
 
 
13460
Alternatively, you may set the environment variables PREVIEW_PLAYER_CFLAGS
 
13461
and PREVIEW_PLAYER_LIBS to avoid the need to call pkg-config.
 
13462
See the pkg-config man page for more details." "$LINENO" 5
 
13463
elif test $pkg_failed = untried; then
 
13464
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13465
$as_echo "no" >&6; }
 
13466
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
13467
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
13468
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
13469
is in your PATH or set the PKG_CONFIG environment variable to the full
 
13470
path to pkg-config.
 
13471
 
 
13472
Alternatively, you may set the environment variables PREVIEW_PLAYER_CFLAGS
 
13473
and PREVIEW_PLAYER_LIBS to avoid the need to call pkg-config.
 
13474
See the pkg-config man page for more details.
 
13475
 
 
13476
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
13477
See \`config.log' for more details" "$LINENO" 5; }
 
13478
else
 
13479
        PREVIEW_PLAYER_CFLAGS=$pkg_cv_PREVIEW_PLAYER_CFLAGS
 
13480
        PREVIEW_PLAYER_LIBS=$pkg_cv_PREVIEW_PLAYER_LIBS
 
13481
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
13482
$as_echo "yes" >&6; }
 
13483
 
 
13484
fi
 
13485
 
 
13486
 
 
13487
 
 
13488
 
 
13489
 
 
13490
 
 
13491
#####################################################
 
13492
# local install for distcheck and stand-alone running
 
13493
#####################################################
 
13494
with_localinstall="no"
 
13495
# Check whether --enable-localinstall was given.
 
13496
if test "${enable_localinstall+set}" = set; then :
 
13497
  enableval=$enable_localinstall; with_localinstall=$enableval
 
13498
else
 
13499
  with_localinstall=no
 
13500
fi
 
13501
 
 
13502
 
 
13503
 if test "x$with_localinstall" = "xyes"; then
 
13504
  HAVE_LOCALINSTALL_TRUE=
 
13505
  HAVE_LOCALINSTALL_FALSE='#'
 
13506
else
 
13507
  HAVE_LOCALINSTALL_TRUE='#'
 
13508
  HAVE_LOCALINSTALL_FALSE=
 
13509
fi
 
13510
 
 
13511
 
 
13512
#####################################################
 
13513
# Expand variables needed for config.vala
 
13514
#####################################################
 
13515
 
 
13516
  EXP_VAR=PREFIX
 
13517
  FROM_VAR=$prefix
 
13518
 
 
13519
    prefix_save=$prefix
 
13520
  exec_prefix_save=$exec_prefix
 
13521
 
 
13522
    if test "x$prefix" = "xNONE"; then
 
13523
    prefix=$ac_default_prefix
 
13524
  fi
 
13525
    if test "x$exec_prefix" = "xNONE"; then
 
13526
    exec_prefix=$prefix
 
13527
  fi
 
13528
 
 
13529
  full_var="$FROM_VAR"
 
13530
    while true; do
 
13531
    new_full_var="`eval echo $full_var`"
 
13532
    if test "x$new_full_var"="x$full_var"; then break; fi
 
13533
    full_var=$new_full_var
 
13534
  done
 
13535
 
 
13536
    full_var=$new_full_var
 
13537
  PREFIX="$full_var"
 
13538
 
 
13539
 
 
13540
    prefix=$prefix_save
 
13541
  exec_prefix=$exec_prefix_save
 
13542
 
 
13543
 
 
13544
 
 
13545
 
 
13546
  EXP_VAR=DATADIR
 
13547
  FROM_VAR=$datarootdir
 
13548
 
 
13549
    prefix_save=$prefix
 
13550
  exec_prefix_save=$exec_prefix
 
13551
 
 
13552
    if test "x$prefix" = "xNONE"; then
 
13553
    prefix=$ac_default_prefix
 
13554
  fi
 
13555
    if test "x$exec_prefix" = "xNONE"; then
 
13556
    exec_prefix=$prefix
 
13557
  fi
 
13558
 
 
13559
  full_var="$FROM_VAR"
 
13560
    while true; do
 
13561
    new_full_var="`eval echo $full_var`"
 
13562
    if test "x$new_full_var"="x$full_var"; then break; fi
 
13563
    full_var=$new_full_var
 
13564
  done
 
13565
 
 
13566
    full_var=$new_full_var
 
13567
  DATADIR="$full_var"
 
13568
 
 
13569
 
 
13570
    prefix=$prefix_save
 
13571
  exec_prefix=$exec_prefix_save
 
13572
 
 
13573
 
 
13574
 
 
13575
#####################################################
 
13576
# Look for dbus service dir
 
13577
#####################################################
 
13578
if test "x$with_localinstall" = "xyes"; then
 
13579
        DBUSSERVICEDIR="${datadir}/dbus-1/services/"
 
13580
else
 
13581
        DBUSSERVICEDIR=`$PKG_CONFIG --variable=session_bus_services_dir dbus-1`
 
13582
fi
 
13583
 
 
13584
 
 
13585
#####################################################
 
13586
# Look for correct Lenses dir
 
13587
#####################################################
 
13588
if test "x$with_localinstall" = "xyes"; then
 
13589
        LENSESDIR="${datadir}/unity/lenses"
 
13590
else
 
13591
        LENSESDIR=`$PKG_CONFIG --variable=lensesdir unity`
 
13592
fi
 
13593
 
 
13594
 
 
13595
#####################################################
 
13596
# Create the Makefiles
 
13597
#####################################################
 
13598
ac_config_files="$ac_config_files Makefile music.lens.in data/Makefile src/Makefile src/config.vala po/Makefile.in tests/Makefile tests/unit/Makefile"
 
13599
 
 
13600
cat >confcache <<\_ACEOF
 
13601
# This file is a shell script that caches the results of configure
 
13602
# tests run on this system so they can be shared between configure
 
13603
# scripts and configure runs, see configure's option --config-cache.
 
13604
# It is not useful on other systems.  If it contains results you don't
 
13605
# want to keep, you may remove or edit it.
 
13606
#
 
13607
# config.status only pays attention to the cache file if you give it
 
13608
# the --recheck option to rerun configure.
 
13609
#
 
13610
# `ac_cv_env_foo' variables (set or unset) will be overridden when
 
13611
# loading this file, other *unset* `ac_cv_foo' will be assigned the
 
13612
# following values.
 
13613
 
 
13614
_ACEOF
 
13615
 
 
13616
# The following way of writing the cache mishandles newlines in values,
 
13617
# but we know of no workaround that is simple, portable, and efficient.
 
13618
# So, we kill variables containing newlines.
 
13619
# Ultrix sh set writes to stderr and can't be redirected directly,
 
13620
# and sets the high bit in the cache file unless we assign to the vars.
 
13621
(
 
13622
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
13623
    eval ac_val=\$$ac_var
 
13624
    case $ac_val in #(
 
13625
    *${as_nl}*)
 
13626
      case $ac_var in #(
 
13627
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
13628
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
13629
      esac
 
13630
      case $ac_var in #(
 
13631
      _ | IFS | as_nl) ;; #(
 
13632
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
13633
      *) { eval $ac_var=; unset $ac_var;} ;;
 
13634
      esac ;;
 
13635
    esac
 
13636
  done
 
13637
 
 
13638
  (set) 2>&1 |
 
13639
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
13640
    *${as_nl}ac_space=\ *)
 
13641
      # `set' does not quote correctly, so add quotes: double-quote
 
13642
      # substitution turns \\\\ into \\, and sed turns \\ into \.
 
13643
      sed -n \
 
13644
        "s/'/'\\\\''/g;
 
13645
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
13646
      ;; #(
 
13647
    *)
 
13648
      # `set' quotes correctly as required by POSIX, so do not add quotes.
 
13649
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
13650
      ;;
 
13651
    esac |
 
13652
    sort
 
13653
) |
 
13654
  sed '
 
13655
     /^ac_cv_env_/b end
 
13656
     t clear
 
13657
     :clear
 
13658
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 
13659
     t end
 
13660
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
13661
     :end' >>confcache
 
13662
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
13663
  if test -w "$cache_file"; then
 
13664
    if test "x$cache_file" != "x/dev/null"; then
 
13665
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 
13666
$as_echo "$as_me: updating cache $cache_file" >&6;}
 
13667
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
13668
        cat confcache >"$cache_file"
 
13669
      else
 
13670
        case $cache_file in #(
 
13671
        */* | ?:*)
 
13672
          mv -f confcache "$cache_file"$$ &&
 
13673
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
13674
        *)
 
13675
          mv -f confcache "$cache_file" ;;
 
13676
        esac
 
13677
      fi
 
13678
    fi
 
13679
  else
 
13680
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 
13681
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
13682
  fi
 
13683
fi
 
13684
rm -f confcache
 
13685
 
 
13686
test "x$prefix" = xNONE && prefix=$ac_default_prefix
 
13687
# Let make expand exec_prefix.
 
13688
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 
13689
 
 
13690
DEFS=-DHAVE_CONFIG_H
 
13691
 
 
13692
ac_libobjs=
 
13693
ac_ltlibobjs=
 
13694
U=
 
13695
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 
13696
  # 1. Remove the extension, and $U if already installed.
 
13697
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
13698
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 
13699
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
13700
  #    will be set to the directory where LIBOBJS objects are built.
 
13701
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
13702
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
 
13703
done
 
13704
LIBOBJS=$ac_libobjs
 
13705
 
 
13706
LTLIBOBJS=$ac_ltlibobjs
 
13707
 
 
13708
 
 
13709
 if test -n "$EXEEXT"; then
 
13710
  am__EXEEXT_TRUE=
 
13711
  am__EXEEXT_FALSE='#'
 
13712
else
 
13713
  am__EXEEXT_TRUE='#'
 
13714
  am__EXEEXT_FALSE=
 
13715
fi
 
13716
 
 
13717
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
 
13718
  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
 
13719
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13720
fi
 
13721
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 
13722
  as_fn_error $? "conditional \"AMDEP\" was never defined.
 
13723
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13724
fi
 
13725
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
13726
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
13727
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13728
fi
 
13729
 
 
13730
  ac_config_commands="$ac_config_commands po/stamp-it"
 
13731
 
 
13732
 
 
13733
if test -z "${HAVE_LOCALINSTALL_TRUE}" && test -z "${HAVE_LOCALINSTALL_FALSE}"; then
 
13734
  as_fn_error $? "conditional \"HAVE_LOCALINSTALL\" was never defined.
 
13735
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13736
fi
 
13737
 
 
13738
: "${CONFIG_STATUS=./config.status}"
 
13739
ac_write_fail=0
 
13740
ac_clean_files_save=$ac_clean_files
 
13741
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 
13742
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 
13743
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
13744
as_write_fail=0
 
13745
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
 
13746
#! $SHELL
 
13747
# Generated by $as_me.
 
13748
# Run this file to recreate the current configuration.
 
13749
# Compiler output produced by configure, useful for debugging
 
13750
# configure, is in config.log if it exists.
 
13751
 
 
13752
debug=false
 
13753
ac_cs_recheck=false
 
13754
ac_cs_silent=false
 
13755
 
 
13756
SHELL=\${CONFIG_SHELL-$SHELL}
 
13757
export SHELL
 
13758
_ASEOF
 
13759
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
13760
## -------------------- ##
 
13761
## M4sh Initialization. ##
 
13762
## -------------------- ##
 
13763
 
 
13764
# Be more Bourne compatible
 
13765
DUALCASE=1; export DUALCASE # for MKS sh
 
13766
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 
13767
  emulate sh
 
13768
  NULLCMD=:
 
13769
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
13770
  # is contrary to our usage.  Disable this feature.
 
13771
  alias -g '${1+"$@"}'='"$@"'
 
13772
  setopt NO_GLOB_SUBST
 
13773
else
 
13774
  case `(set -o) 2>/dev/null` in #(
 
13775
  *posix*) :
 
13776
    set -o posix ;; #(
 
13777
  *) :
 
13778
     ;;
 
13779
esac
 
13780
fi
 
13781
 
 
13782
 
 
13783
as_nl='
 
13784
'
 
13785
export as_nl
 
13786
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
13787
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
13788
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
13789
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
13790
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
13791
# but without wasting forks for bash or zsh.
 
13792
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
13793
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
13794
  as_echo='print -r --'
 
13795
  as_echo_n='print -rn --'
 
13796
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
13797
  as_echo='printf %s\n'
 
13798
  as_echo_n='printf %s'
 
13799
else
 
13800
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
13801
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
13802
    as_echo_n='/usr/ucb/echo -n'
 
13803
  else
 
13804
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
13805
    as_echo_n_body='eval
 
13806
      arg=$1;
 
13807
      case $arg in #(
 
13808
      *"$as_nl"*)
 
13809
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
13810
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
13811
      esac;
 
13812
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
13813
    '
 
13814
    export as_echo_n_body
 
13815
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
13816
  fi
 
13817
  export as_echo_body
 
13818
  as_echo='sh -c $as_echo_body as_echo'
 
13819
fi
 
13820
 
 
13821
# The user is always right.
 
13822
if test "${PATH_SEPARATOR+set}" != set; then
 
13823
  PATH_SEPARATOR=:
 
13824
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
13825
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
13826
      PATH_SEPARATOR=';'
 
13827
  }
 
13828
fi
 
13829
 
 
13830
 
 
13831
# IFS
 
13832
# We need space, tab and new line, in precisely that order.  Quoting is
 
13833
# there to prevent editors from complaining about space-tab.
 
13834
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
13835
# splitting by setting IFS to empty value.)
 
13836
IFS=" ""        $as_nl"
 
13837
 
 
13838
# Find who we are.  Look in the path if we contain no directory separator.
 
13839
as_myself=
 
13840
case $0 in #((
 
13841
  *[\\/]* ) as_myself=$0 ;;
 
13842
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
13843
for as_dir in $PATH
 
13844
do
 
13845
  IFS=$as_save_IFS
 
13846
  test -z "$as_dir" && as_dir=.
 
13847
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
13848
  done
 
13849
IFS=$as_save_IFS
 
13850
 
 
13851
     ;;
 
13852
esac
 
13853
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
13854
# in which case we are not to be found in the path.
 
13855
if test "x$as_myself" = x; then
 
13856
  as_myself=$0
 
13857
fi
 
13858
if test ! -f "$as_myself"; then
 
13859
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
13860
  exit 1
 
13861
fi
 
13862
 
 
13863
# Unset variables that we do not need and which cause bugs (e.g. in
 
13864
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
13865
# suppresses any "Segmentation fault" message there.  '((' could
 
13866
# trigger a bug in pdksh 5.2.14.
 
13867
for as_var in BASH_ENV ENV MAIL MAILPATH
 
13868
do eval test x\${$as_var+set} = xset \
 
13869
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 
13870
done
 
13871
PS1='$ '
 
13872
PS2='> '
 
13873
PS4='+ '
 
13874
 
 
13875
# NLS nuisances.
 
13876
LC_ALL=C
 
13877
export LC_ALL
 
13878
LANGUAGE=C
 
13879
export LANGUAGE
 
13880
 
 
13881
# CDPATH.
 
13882
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
13883
 
 
13884
 
 
13885
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
13886
# ----------------------------------------
 
13887
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
13888
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
13889
# script with STATUS, using 1 if that was 0.
 
13890
as_fn_error ()
 
13891
{
 
13892
  as_status=$1; test $as_status -eq 0 && as_status=1
 
13893
  if test "$4"; then
 
13894
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
13895
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
13896
  fi
 
13897
  $as_echo "$as_me: error: $2" >&2
 
13898
  as_fn_exit $as_status
 
13899
} # as_fn_error
 
13900
 
 
13901
 
 
13902
# as_fn_set_status STATUS
 
13903
# -----------------------
 
13904
# Set $? to STATUS, without forking.
 
13905
as_fn_set_status ()
 
13906
{
 
13907
  return $1
 
13908
} # as_fn_set_status
 
13909
 
 
13910
# as_fn_exit STATUS
 
13911
# -----------------
 
13912
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
13913
as_fn_exit ()
 
13914
{
 
13915
  set +e
 
13916
  as_fn_set_status $1
 
13917
  exit $1
 
13918
} # as_fn_exit
 
13919
 
 
13920
# as_fn_unset VAR
 
13921
# ---------------
 
13922
# Portably unset VAR.
 
13923
as_fn_unset ()
 
13924
{
 
13925
  { eval $1=; unset $1;}
 
13926
}
 
13927
as_unset=as_fn_unset
 
13928
# as_fn_append VAR VALUE
 
13929
# ----------------------
 
13930
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
13931
# advantage of any shell optimizations that allow amortized linear growth over
 
13932
# repeated appends, instead of the typical quadratic growth present in naive
 
13933
# implementations.
 
13934
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
13935
  eval 'as_fn_append ()
 
13936
  {
 
13937
    eval $1+=\$2
 
13938
  }'
 
13939
else
 
13940
  as_fn_append ()
 
13941
  {
 
13942
    eval $1=\$$1\$2
 
13943
  }
 
13944
fi # as_fn_append
 
13945
 
 
13946
# as_fn_arith ARG...
 
13947
# ------------------
 
13948
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
13949
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
13950
# must be portable across $(()) and expr.
 
13951
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
13952
  eval 'as_fn_arith ()
 
13953
  {
 
13954
    as_val=$(( $* ))
 
13955
  }'
 
13956
else
 
13957
  as_fn_arith ()
 
13958
  {
 
13959
    as_val=`expr "$@" || test $? -eq 1`
 
13960
  }
 
13961
fi # as_fn_arith
 
13962
 
 
13963
 
 
13964
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
13965
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
13966
  as_expr=expr
 
13967
else
 
13968
  as_expr=false
 
13969
fi
 
13970
 
 
13971
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
13972
  as_basename=basename
 
13973
else
 
13974
  as_basename=false
 
13975
fi
 
13976
 
 
13977
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
13978
  as_dirname=dirname
 
13979
else
 
13980
  as_dirname=false
 
13981
fi
 
13982
 
 
13983
as_me=`$as_basename -- "$0" ||
 
13984
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
13985
         X"$0" : 'X\(//\)$' \| \
 
13986
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
13987
$as_echo X/"$0" |
 
13988
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
13989
            s//\1/
 
13990
            q
 
13991
          }
 
13992
          /^X\/\(\/\/\)$/{
 
13993
            s//\1/
 
13994
            q
 
13995
          }
 
13996
          /^X\/\(\/\).*/{
 
13997
            s//\1/
 
13998
            q
 
13999
          }
 
14000
          s/.*/./; q'`
 
14001
 
 
14002
# Avoid depending upon Character Ranges.
 
14003
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
14004
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
14005
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
14006
as_cr_digits='0123456789'
 
14007
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
14008
 
 
14009
ECHO_C= ECHO_N= ECHO_T=
 
14010
case `echo -n x` in #(((((
 
14011
-n*)
 
14012
  case `echo 'xy\c'` in
 
14013
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
14014
  xy)  ECHO_C='\c';;
 
14015
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
14016
       ECHO_T=' ';;
 
14017
  esac;;
 
14018
*)
 
14019
  ECHO_N='-n';;
 
14020
esac
 
14021
 
 
14022
rm -f conf$$ conf$$.exe conf$$.file
 
14023
if test -d conf$$.dir; then
 
14024
  rm -f conf$$.dir/conf$$.file
 
14025
else
 
14026
  rm -f conf$$.dir
 
14027
  mkdir conf$$.dir 2>/dev/null
 
14028
fi
 
14029
if (echo >conf$$.file) 2>/dev/null; then
 
14030
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
14031
    as_ln_s='ln -s'
 
14032
    # ... but there are two gotchas:
 
14033
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
14034
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
14035
    # In both cases, we have to default to `cp -pR'.
 
14036
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
14037
      as_ln_s='cp -pR'
 
14038
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
14039
    as_ln_s=ln
 
14040
  else
 
14041
    as_ln_s='cp -pR'
 
14042
  fi
 
14043
else
 
14044
  as_ln_s='cp -pR'
 
14045
fi
 
14046
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
14047
rmdir conf$$.dir 2>/dev/null
 
14048
 
 
14049
 
 
14050
# as_fn_mkdir_p
 
14051
# -------------
 
14052
# Create "$as_dir" as a directory, including parents if necessary.
 
14053
as_fn_mkdir_p ()
 
14054
{
 
14055
 
 
14056
  case $as_dir in #(
 
14057
  -*) as_dir=./$as_dir;;
 
14058
  esac
 
14059
  test -d "$as_dir" || eval $as_mkdir_p || {
 
14060
    as_dirs=
 
14061
    while :; do
 
14062
      case $as_dir in #(
 
14063
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
14064
      *) as_qdir=$as_dir;;
 
14065
      esac
 
14066
      as_dirs="'$as_qdir' $as_dirs"
 
14067
      as_dir=`$as_dirname -- "$as_dir" ||
 
14068
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
14069
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
14070
         X"$as_dir" : 'X\(//\)$' \| \
 
14071
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
14072
$as_echo X"$as_dir" |
 
14073
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
14074
            s//\1/
 
14075
            q
 
14076
          }
 
14077
          /^X\(\/\/\)[^/].*/{
 
14078
            s//\1/
 
14079
            q
 
14080
          }
 
14081
          /^X\(\/\/\)$/{
 
14082
            s//\1/
 
14083
            q
 
14084
          }
 
14085
          /^X\(\/\).*/{
 
14086
            s//\1/
 
14087
            q
 
14088
          }
 
14089
          s/.*/./; q'`
 
14090
      test -d "$as_dir" && break
 
14091
    done
 
14092
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
14093
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
14094
 
 
14095
 
 
14096
} # as_fn_mkdir_p
 
14097
if mkdir -p . 2>/dev/null; then
 
14098
  as_mkdir_p='mkdir -p "$as_dir"'
 
14099
else
 
14100
  test -d ./-p && rmdir ./-p
 
14101
  as_mkdir_p=false
 
14102
fi
 
14103
 
 
14104
 
 
14105
# as_fn_executable_p FILE
 
14106
# -----------------------
 
14107
# Test if FILE is an executable regular file.
 
14108
as_fn_executable_p ()
 
14109
{
 
14110
  test -f "$1" && test -x "$1"
 
14111
} # as_fn_executable_p
 
14112
as_test_x='test -x'
 
14113
as_executable_p=as_fn_executable_p
 
14114
 
 
14115
# Sed expression to map a string onto a valid CPP name.
 
14116
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
14117
 
 
14118
# Sed expression to map a string onto a valid variable name.
 
14119
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
14120
 
 
14121
 
 
14122
exec 6>&1
 
14123
## ----------------------------------- ##
 
14124
## Main body of $CONFIG_STATUS script. ##
 
14125
## ----------------------------------- ##
 
14126
_ASEOF
 
14127
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
 
14128
 
 
14129
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
14130
# Save the log message, to keep $0 and so on meaningful, and to
 
14131
# report actual input values of CONFIG_FILES etc. instead of their
 
14132
# values after options handling.
 
14133
ac_log="
 
14134
This file was extended by unity-lens-music $as_me 6.6.0, which was
 
14135
generated by GNU Autoconf 2.69.  Invocation command line was
 
14136
 
 
14137
  CONFIG_FILES    = $CONFIG_FILES
 
14138
  CONFIG_HEADERS  = $CONFIG_HEADERS
 
14139
  CONFIG_LINKS    = $CONFIG_LINKS
 
14140
  CONFIG_COMMANDS = $CONFIG_COMMANDS
 
14141
  $ $0 $@
 
14142
 
 
14143
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
14144
"
 
14145
 
 
14146
_ACEOF
 
14147
 
 
14148
case $ac_config_files in *"
 
14149
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
14150
esac
 
14151
 
 
14152
case $ac_config_headers in *"
 
14153
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
14154
esac
 
14155
 
 
14156
 
 
14157
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
14158
# Files that config.status was made for.
 
14159
config_files="$ac_config_files"
 
14160
config_headers="$ac_config_headers"
 
14161
config_commands="$ac_config_commands"
 
14162
 
 
14163
_ACEOF
 
14164
 
 
14165
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
14166
ac_cs_usage="\
 
14167
\`$as_me' instantiates files and other configuration actions
 
14168
from templates according to the current configuration.  Unless the files
 
14169
and actions are specified as TAGs, all are instantiated by default.
 
14170
 
 
14171
Usage: $0 [OPTION]... [TAG]...
 
14172
 
 
14173
  -h, --help       print this help, then exit
 
14174
  -V, --version    print version number and configuration settings, then exit
 
14175
      --config     print configuration, then exit
 
14176
  -q, --quiet, --silent
 
14177
                   do not print progress messages
 
14178
  -d, --debug      don't remove temporary files
 
14179
      --recheck    update $as_me by reconfiguring in the same conditions
 
14180
      --file=FILE[:TEMPLATE]
 
14181
                   instantiate the configuration file FILE
 
14182
      --header=FILE[:TEMPLATE]
 
14183
                   instantiate the configuration header FILE
 
14184
 
 
14185
Configuration files:
 
14186
$config_files
 
14187
 
 
14188
Configuration headers:
 
14189
$config_headers
 
14190
 
 
14191
Configuration commands:
 
14192
$config_commands
 
14193
 
 
14194
Report bugs to <https://launchpad.net/unity-lens-music>."
 
14195
 
 
14196
_ACEOF
 
14197
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
14198
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 
14199
ac_cs_version="\\
 
14200
unity-lens-music config.status 6.6.0
 
14201
configured by $0, generated by GNU Autoconf 2.69,
 
14202
  with options \\"\$ac_cs_config\\"
 
14203
 
 
14204
Copyright (C) 2012 Free Software Foundation, Inc.
 
14205
This config.status script is free software; the Free Software Foundation
 
14206
gives unlimited permission to copy, distribute and modify it."
 
14207
 
 
14208
ac_pwd='$ac_pwd'
 
14209
srcdir='$srcdir'
 
14210
INSTALL='$INSTALL'
 
14211
MKDIR_P='$MKDIR_P'
 
14212
AWK='$AWK'
 
14213
test -n "\$AWK" || AWK=awk
 
14214
_ACEOF
 
14215
 
 
14216
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
14217
# The default lists apply if the user does not specify any file.
 
14218
ac_need_defaults=:
 
14219
while test $# != 0
 
14220
do
 
14221
  case $1 in
 
14222
  --*=?*)
 
14223
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
14224
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 
14225
    ac_shift=:
 
14226
    ;;
 
14227
  --*=)
 
14228
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
14229
    ac_optarg=
 
14230
    ac_shift=:
 
14231
    ;;
 
14232
  *)
 
14233
    ac_option=$1
 
14234
    ac_optarg=$2
 
14235
    ac_shift=shift
 
14236
    ;;
 
14237
  esac
 
14238
 
 
14239
  case $ac_option in
 
14240
  # Handling of the options.
 
14241
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 
14242
    ac_cs_recheck=: ;;
 
14243
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
14244
    $as_echo "$ac_cs_version"; exit ;;
 
14245
  --config | --confi | --conf | --con | --co | --c )
 
14246
    $as_echo "$ac_cs_config"; exit ;;
 
14247
  --debug | --debu | --deb | --de | --d | -d )
 
14248
    debug=: ;;
 
14249
  --file | --fil | --fi | --f )
 
14250
    $ac_shift
 
14251
    case $ac_optarg in
 
14252
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
14253
    '') as_fn_error $? "missing file argument" ;;
 
14254
    esac
 
14255
    as_fn_append CONFIG_FILES " '$ac_optarg'"
 
14256
    ac_need_defaults=false;;
 
14257
  --header | --heade | --head | --hea )
 
14258
    $ac_shift
 
14259
    case $ac_optarg in
 
14260
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
14261
    esac
 
14262
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
 
14263
    ac_need_defaults=false;;
 
14264
  --he | --h)
 
14265
    # Conflict between --help and --header
 
14266
    as_fn_error $? "ambiguous option: \`$1'
 
14267
Try \`$0 --help' for more information.";;
 
14268
  --help | --hel | -h )
 
14269
    $as_echo "$ac_cs_usage"; exit ;;
 
14270
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
14271
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
 
14272
    ac_cs_silent=: ;;
 
14273
 
 
14274
  # This is an error.
 
14275
  -*) as_fn_error $? "unrecognized option: \`$1'
 
14276
Try \`$0 --help' for more information." ;;
 
14277
 
 
14278
  *) as_fn_append ac_config_targets " $1"
 
14279
     ac_need_defaults=false ;;
 
14280
 
 
14281
  esac
 
14282
  shift
 
14283
done
 
14284
 
 
14285
ac_configure_extra_args=
 
14286
 
 
14287
if $ac_cs_silent; then
 
14288
  exec 6>/dev/null
 
14289
  ac_configure_extra_args="$ac_configure_extra_args --silent"
 
14290
fi
 
14291
 
 
14292
_ACEOF
 
14293
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
14294
if \$ac_cs_recheck; then
 
14295
  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
14296
  shift
 
14297
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
14298
  CONFIG_SHELL='$SHELL'
 
14299
  export CONFIG_SHELL
 
14300
  exec "\$@"
 
14301
fi
 
14302
 
 
14303
_ACEOF
 
14304
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
14305
exec 5>>config.log
 
14306
{
 
14307
  echo
 
14308
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
14309
## Running $as_me. ##
 
14310
_ASBOX
 
14311
  $as_echo "$ac_log"
 
14312
} >&5
 
14313
 
 
14314
_ACEOF
 
14315
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
14316
#
 
14317
# INIT-COMMANDS
 
14318
#
 
14319
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 
14320
 
 
14321
 
 
14322
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
14323
# if CDPATH is set.
 
14324
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
14325
 
 
14326
sed_quote_subst='$sed_quote_subst'
 
14327
double_quote_subst='$double_quote_subst'
 
14328
delay_variable_subst='$delay_variable_subst'
 
14329
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
 
14330
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
 
14331
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
 
14332
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
 
14333
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
 
14334
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
 
14335
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
 
14336
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
 
14337
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
 
14338
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
 
14339
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
 
14340
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
 
14341
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
 
14342
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
 
14343
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
 
14344
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
 
14345
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
 
14346
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
 
14347
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
 
14348
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
 
14349
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
 
14350
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
 
14351
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
 
14352
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
 
14353
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
 
14354
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
 
14355
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
 
14356
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
 
14357
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
 
14358
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
 
14359
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
 
14360
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
 
14361
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
 
14362
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
 
14363
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
 
14364
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
 
14365
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
 
14366
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
 
14367
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
 
14368
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
 
14369
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
 
14370
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
 
14371
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
 
14372
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
 
14373
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
 
14374
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
14375
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
14376
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
 
14377
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
 
14378
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
 
14379
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
 
14380
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
 
14381
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
 
14382
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
 
14383
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
 
14384
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
 
14385
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"`'
 
14386
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
 
14387
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
 
14388
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
 
14389
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
 
14390
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
 
14391
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
 
14392
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
 
14393
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
 
14394
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
 
14395
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
 
14396
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
 
14397
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
 
14398
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
 
14399
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
 
14400
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
 
14401
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
 
14402
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
 
14403
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
 
14404
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
14405
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
 
14406
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
 
14407
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
 
14408
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
 
14409
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
 
14410
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
 
14411
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
14412
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
 
14413
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
14414
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
 
14415
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
14416
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
 
14417
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
14418
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
14419
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
 
14420
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
 
14421
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
 
14422
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
 
14423
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
 
14424
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
14425
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
 
14426
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
 
14427
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
 
14428
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
 
14429
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
 
14430
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
 
14431
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
 
14432
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
 
14433
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
 
14434
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
 
14435
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
 
14436
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
14437
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
 
14438
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
 
14439
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
 
14440
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
14441
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
 
14442
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
 
14443
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
 
14444
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
 
14445
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
 
14446
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
14447
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
14448
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
 
14449
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
 
14450
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
 
14451
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
 
14452
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
 
14453
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
 
14454
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
 
14455
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
 
14456
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
 
14457
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
 
14458
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
 
14459
 
 
14460
LTCC='$LTCC'
 
14461
LTCFLAGS='$LTCFLAGS'
 
14462
compiler='$compiler_DEFAULT'
 
14463
 
 
14464
# A function that is used when there is no print builtin or printf.
 
14465
func_fallback_echo ()
 
14466
{
 
14467
  eval 'cat <<_LTECHO_EOF
 
14468
\$1
 
14469
_LTECHO_EOF'
 
14470
}
 
14471
 
 
14472
# Quote evaled strings.
 
14473
for var in SHELL \
 
14474
ECHO \
 
14475
PATH_SEPARATOR \
 
14476
SED \
 
14477
GREP \
 
14478
EGREP \
 
14479
FGREP \
 
14480
LD \
 
14481
NM \
 
14482
LN_S \
 
14483
lt_SP2NL \
 
14484
lt_NL2SP \
 
14485
reload_flag \
 
14486
OBJDUMP \
 
14487
deplibs_check_method \
 
14488
file_magic_cmd \
 
14489
file_magic_glob \
 
14490
want_nocaseglob \
 
14491
DLLTOOL \
 
14492
sharedlib_from_linklib_cmd \
 
14493
AR \
 
14494
AR_FLAGS \
 
14495
archiver_list_spec \
 
14496
STRIP \
 
14497
RANLIB \
 
14498
CC \
 
14499
CFLAGS \
 
14500
compiler \
 
14501
lt_cv_sys_global_symbol_pipe \
 
14502
lt_cv_sys_global_symbol_to_cdecl \
 
14503
lt_cv_sys_global_symbol_to_c_name_address \
 
14504
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
14505
nm_file_list_spec \
 
14506
lt_prog_compiler_no_builtin_flag \
 
14507
lt_prog_compiler_pic \
 
14508
lt_prog_compiler_wl \
 
14509
lt_prog_compiler_static \
 
14510
lt_cv_prog_compiler_c_o \
 
14511
need_locks \
 
14512
MANIFEST_TOOL \
 
14513
DSYMUTIL \
 
14514
NMEDIT \
 
14515
LIPO \
 
14516
OTOOL \
 
14517
OTOOL64 \
 
14518
shrext_cmds \
 
14519
export_dynamic_flag_spec \
 
14520
whole_archive_flag_spec \
 
14521
compiler_needs_object \
 
14522
with_gnu_ld \
 
14523
allow_undefined_flag \
 
14524
no_undefined_flag \
 
14525
hardcode_libdir_flag_spec \
 
14526
hardcode_libdir_separator \
 
14527
exclude_expsyms \
 
14528
include_expsyms \
 
14529
file_list_spec \
 
14530
variables_saved_for_relink \
 
14531
libname_spec \
 
14532
library_names_spec \
 
14533
soname_spec \
 
14534
install_override_mode \
 
14535
finish_eval \
 
14536
old_striplib \
 
14537
striplib; do
 
14538
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
 
14539
    *[\\\\\\\`\\"\\\$]*)
 
14540
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
14541
      ;;
 
14542
    *)
 
14543
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
14544
      ;;
 
14545
    esac
 
14546
done
 
14547
 
 
14548
# Double-quote double-evaled strings.
 
14549
for var in reload_cmds \
 
14550
old_postinstall_cmds \
 
14551
old_postuninstall_cmds \
 
14552
old_archive_cmds \
 
14553
extract_expsyms_cmds \
 
14554
old_archive_from_new_cmds \
 
14555
old_archive_from_expsyms_cmds \
 
14556
archive_cmds \
 
14557
archive_expsym_cmds \
 
14558
module_cmds \
 
14559
module_expsym_cmds \
 
14560
export_symbols_cmds \
 
14561
prelink_cmds \
 
14562
postlink_cmds \
 
14563
postinstall_cmds \
 
14564
postuninstall_cmds \
 
14565
finish_cmds \
 
14566
sys_lib_search_path_spec \
 
14567
sys_lib_dlsearch_path_spec; do
 
14568
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
 
14569
    *[\\\\\\\`\\"\\\$]*)
 
14570
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
14571
      ;;
 
14572
    *)
 
14573
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
14574
      ;;
 
14575
    esac
 
14576
done
 
14577
 
 
14578
ac_aux_dir='$ac_aux_dir'
 
14579
xsi_shell='$xsi_shell'
 
14580
lt_shell_append='$lt_shell_append'
 
14581
 
 
14582
# See if we are running on zsh, and set the options which allow our
 
14583
# commands through without removal of \ escapes INIT.
 
14584
if test -n "\${ZSH_VERSION+set}" ; then
 
14585
   setopt NO_GLOB_SUBST
 
14586
fi
 
14587
 
 
14588
 
 
14589
    PACKAGE='$PACKAGE'
 
14590
    VERSION='$VERSION'
 
14591
    TIMESTAMP='$TIMESTAMP'
 
14592
    RM='$RM'
 
14593
    ofile='$ofile'
 
14594
 
 
14595
 
 
14596
 
 
14597
 
 
14598
 
 
14599
_ACEOF
 
14600
 
 
14601
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
14602
 
 
14603
# Handling of arguments.
 
14604
for ac_config_target in $ac_config_targets
 
14605
do
 
14606
  case $ac_config_target in
 
14607
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
14608
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
14609
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
 
14610
    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
 
14611
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
14612
    "music.lens.in") CONFIG_FILES="$CONFIG_FILES music.lens.in" ;;
 
14613
    "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
 
14614
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 
14615
    "src/config.vala") CONFIG_FILES="$CONFIG_FILES src/config.vala" ;;
 
14616
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
 
14617
    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
 
14618
    "tests/unit/Makefile") CONFIG_FILES="$CONFIG_FILES tests/unit/Makefile" ;;
 
14619
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
 
14620
 
 
14621
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 
14622
  esac
 
14623
done
 
14624
 
 
14625
 
 
14626
# If the user did not use the arguments to specify the items to instantiate,
 
14627
# then the envvar interface is used.  Set only those that are not.
 
14628
# We use the long form for the default assignment because of an extremely
 
14629
# bizarre bug on SunOS 4.1.3.
 
14630
if $ac_need_defaults; then
 
14631
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 
14632
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
 
14633
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
 
14634
fi
 
14635
 
 
14636
# Have a temporary directory for convenience.  Make it in the build tree
 
14637
# simply because there is no reason against having it here, and in addition,
 
14638
# creating and moving files from /tmp can sometimes cause problems.
 
14639
# Hook for its removal unless debugging.
 
14640
# Note that there is a small window in which the directory will not be cleaned:
 
14641
# after its creation but before its name has been assigned to `$tmp'.
 
14642
$debug ||
 
14643
{
 
14644
  tmp= ac_tmp=
 
14645
  trap 'exit_status=$?
 
14646
  : "${ac_tmp:=$tmp}"
 
14647
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
 
14648
' 0
 
14649
  trap 'as_fn_exit 1' 1 2 13 15
 
14650
}
 
14651
# Create a (secure) tmp directory for tmp files.
 
14652
 
 
14653
{
 
14654
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 
14655
  test -d "$tmp"
 
14656
}  ||
 
14657
{
 
14658
  tmp=./conf$$-$RANDOM
 
14659
  (umask 077 && mkdir "$tmp")
 
14660
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
14661
ac_tmp=$tmp
 
14662
 
 
14663
# Set up the scripts for CONFIG_FILES section.
 
14664
# No need to generate them if there are no CONFIG_FILES.
 
14665
# This happens for instance with `./config.status config.h'.
 
14666
if test -n "$CONFIG_FILES"; then
 
14667
 
 
14668
 
 
14669
ac_cr=`echo X | tr X '\015'`
 
14670
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
14671
# But we know of no other shell where ac_cr would be empty at this
 
14672
# point, so we can use a bashism as a fallback.
 
14673
if test "x$ac_cr" = x; then
 
14674
  eval ac_cr=\$\'\\r\'
 
14675
fi
 
14676
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
14677
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
14678
  ac_cs_awk_cr='\\r'
 
14679
else
 
14680
  ac_cs_awk_cr=$ac_cr
 
14681
fi
 
14682
 
 
14683
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
 
14684
_ACEOF
 
14685
 
 
14686
 
 
14687
{
 
14688
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
14689
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
14690
  echo "_ACEOF"
 
14691
} >conf$$subs.sh ||
 
14692
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
14693
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
 
14694
ac_delim='%!_!# '
 
14695
for ac_last_try in false false false false false :; do
 
14696
  . ./conf$$subs.sh ||
 
14697
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
14698
 
 
14699
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
14700
  if test $ac_delim_n = $ac_delim_num; then
 
14701
    break
 
14702
  elif $ac_last_try; then
 
14703
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
14704
  else
 
14705
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
14706
  fi
 
14707
done
 
14708
rm -f conf$$subs.sh
 
14709
 
 
14710
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
14711
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
 
14712
_ACEOF
 
14713
sed -n '
 
14714
h
 
14715
s/^/S["/; s/!.*/"]=/
 
14716
p
 
14717
g
 
14718
s/^[^!]*!//
 
14719
:repl
 
14720
t repl
 
14721
s/'"$ac_delim"'$//
 
14722
t delim
 
14723
:nl
 
14724
h
 
14725
s/\(.\{148\}\)..*/\1/
 
14726
t more1
 
14727
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
14728
p
 
14729
n
 
14730
b repl
 
14731
:more1
 
14732
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
14733
p
 
14734
g
 
14735
s/.\{148\}//
 
14736
t nl
 
14737
:delim
 
14738
h
 
14739
s/\(.\{148\}\)..*/\1/
 
14740
t more2
 
14741
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
14742
p
 
14743
b
 
14744
:more2
 
14745
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
14746
p
 
14747
g
 
14748
s/.\{148\}//
 
14749
t delim
 
14750
' <conf$$subs.awk | sed '
 
14751
/^[^""]/{
 
14752
  N
 
14753
  s/\n//
 
14754
}
 
14755
' >>$CONFIG_STATUS || ac_write_fail=1
 
14756
rm -f conf$$subs.awk
 
14757
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
14758
_ACAWK
 
14759
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
 
14760
  for (key in S) S_is_set[key] = 1
 
14761
  FS = ""
 
14762
 
 
14763
}
 
14764
{
 
14765
  line = $ 0
 
14766
  nfields = split(line, field, "@")
 
14767
  substed = 0
 
14768
  len = length(field[1])
 
14769
  for (i = 2; i < nfields; i++) {
 
14770
    key = field[i]
 
14771
    keylen = length(key)
 
14772
    if (S_is_set[key]) {
 
14773
      value = S[key]
 
14774
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
14775
      len += length(value) + length(field[++i])
 
14776
      substed = 1
 
14777
    } else
 
14778
      len += 1 + keylen
 
14779
  }
 
14780
 
 
14781
  print line
 
14782
}
 
14783
 
 
14784
_ACAWK
 
14785
_ACEOF
 
14786
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
14787
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
14788
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
14789
else
 
14790
  cat
 
14791
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
 
14792
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
 
14793
_ACEOF
 
14794
 
 
14795
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 
14796
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
 
14797
# trailing colons and then remove the whole line if VPATH becomes empty
 
14798
# (actually we leave an empty line to preserve line numbers).
 
14799
if test "x$srcdir" = x.; then
 
14800
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 
14801
h
 
14802
s///
 
14803
s/^/:/
 
14804
s/[      ]*$/:/
 
14805
s/:\$(srcdir):/:/g
 
14806
s/:\${srcdir}:/:/g
 
14807
s/:@srcdir@:/:/g
 
14808
s/^:*//
 
14809
s/:*$//
 
14810
x
 
14811
s/\(=[   ]*\).*/\1/
 
14812
G
 
14813
s/\n//
 
14814
s/^[^=]*=[       ]*$//
 
14815
}'
 
14816
fi
 
14817
 
 
14818
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
14819
fi # test -n "$CONFIG_FILES"
 
14820
 
 
14821
# Set up the scripts for CONFIG_HEADERS section.
 
14822
# No need to generate them if there are no CONFIG_HEADERS.
 
14823
# This happens for instance with `./config.status Makefile'.
 
14824
if test -n "$CONFIG_HEADERS"; then
 
14825
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
 
14826
BEGIN {
 
14827
_ACEOF
 
14828
 
 
14829
# Transform confdefs.h into an awk script `defines.awk', embedded as
 
14830
# here-document in config.status, that substitutes the proper values into
 
14831
# config.h.in to produce config.h.
 
14832
 
 
14833
# Create a delimiter string that does not exist in confdefs.h, to ease
 
14834
# handling of long lines.
 
14835
ac_delim='%!_!# '
 
14836
for ac_last_try in false false :; do
 
14837
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 
14838
  if test -z "$ac_tt"; then
 
14839
    break
 
14840
  elif $ac_last_try; then
 
14841
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
 
14842
  else
 
14843
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
14844
  fi
 
14845
done
 
14846
 
 
14847
# For the awk script, D is an array of macro values keyed by name,
 
14848
# likewise P contains macro parameters if any.  Preserve backslash
 
14849
# newline sequences.
 
14850
 
 
14851
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
14852
sed -n '
 
14853
s/.\{148\}/&'"$ac_delim"'/g
 
14854
t rset
 
14855
:rset
 
14856
s/^[     ]*#[    ]*define[       ][      ]*/ /
 
14857
t def
 
14858
d
 
14859
:def
 
14860
s/\\$//
 
14861
t bsnl
 
14862
s/["\\]/\\&/g
 
14863
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
14864
D["\1"]=" \3"/p
 
14865
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 
14866
d
 
14867
:bsnl
 
14868
s/["\\]/\\&/g
 
14869
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
14870
D["\1"]=" \3\\\\\\n"\\/p
 
14871
t cont
 
14872
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 
14873
t cont
 
14874
d
 
14875
:cont
 
14876
n
 
14877
s/.\{148\}/&'"$ac_delim"'/g
 
14878
t clear
 
14879
:clear
 
14880
s/\\$//
 
14881
t bsnlc
 
14882
s/["\\]/\\&/g; s/^/"/; s/$/"/p
 
14883
d
 
14884
:bsnlc
 
14885
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 
14886
b cont
 
14887
' <confdefs.h | sed '
 
14888
s/'"$ac_delim"'/"\\\
 
14889
"/g' >>$CONFIG_STATUS || ac_write_fail=1
 
14890
 
 
14891
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
14892
  for (key in D) D_is_set[key] = 1
 
14893
  FS = ""
 
14894
}
 
14895
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 
14896
  line = \$ 0
 
14897
  split(line, arg, " ")
 
14898
  if (arg[1] == "#") {
 
14899
    defundef = arg[2]
 
14900
    mac1 = arg[3]
 
14901
  } else {
 
14902
    defundef = substr(arg[1], 2)
 
14903
    mac1 = arg[2]
 
14904
  }
 
14905
  split(mac1, mac2, "(") #)
 
14906
  macro = mac2[1]
 
14907
  prefix = substr(line, 1, index(line, defundef) - 1)
 
14908
  if (D_is_set[macro]) {
 
14909
    # Preserve the white space surrounding the "#".
 
14910
    print prefix "define", macro P[macro] D[macro]
 
14911
    next
 
14912
  } else {
 
14913
    # Replace #undef with comments.  This is necessary, for example,
 
14914
    # in the case of _POSIX_SOURCE, which is predefined and required
 
14915
    # on some systems where configure will not decide to define it.
 
14916
    if (defundef == "undef") {
 
14917
      print "/*", prefix defundef, macro, "*/"
 
14918
      next
 
14919
    }
 
14920
  }
 
14921
}
 
14922
{ print }
 
14923
_ACAWK
 
14924
_ACEOF
 
14925
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
14926
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
 
14927
fi # test -n "$CONFIG_HEADERS"
 
14928
 
 
14929
 
 
14930
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 
14931
shift
 
14932
for ac_tag
 
14933
do
 
14934
  case $ac_tag in
 
14935
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
14936
  esac
 
14937
  case $ac_mode$ac_tag in
 
14938
  :[FHL]*:*);;
 
14939
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
 
14940
  :[FH]-) ac_tag=-:-;;
 
14941
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
14942
  esac
 
14943
  ac_save_IFS=$IFS
 
14944
  IFS=:
 
14945
  set x $ac_tag
 
14946
  IFS=$ac_save_IFS
 
14947
  shift
 
14948
  ac_file=$1
 
14949
  shift
 
14950
 
 
14951
  case $ac_mode in
 
14952
  :L) ac_source=$1;;
 
14953
  :[FH])
 
14954
    ac_file_inputs=
 
14955
    for ac_f
 
14956
    do
 
14957
      case $ac_f in
 
14958
      -) ac_f="$ac_tmp/stdin";;
 
14959
      *) # Look for the file first in the build tree, then in the source tree
 
14960
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
14961
         # because $ac_f cannot contain `:'.
 
14962
         test -f "$ac_f" ||
 
14963
           case $ac_f in
 
14964
           [\\/$]*) false;;
 
14965
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
14966
           esac ||
 
14967
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 
14968
      esac
 
14969
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
14970
      as_fn_append ac_file_inputs " '$ac_f'"
 
14971
    done
 
14972
 
 
14973
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
14974
    # use $as_me), people would be surprised to read:
 
14975
    #    /* config.h.  Generated by config.status.  */
 
14976
    configure_input='Generated from '`
 
14977
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
14978
        `' by configure.'
 
14979
    if test x"$ac_file" != x-; then
 
14980
      configure_input="$ac_file.  $configure_input"
 
14981
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
 
14982
$as_echo "$as_me: creating $ac_file" >&6;}
 
14983
    fi
 
14984
    # Neutralize special characters interpreted by sed in replacement strings.
 
14985
    case $configure_input in #(
 
14986
    *\&* | *\|* | *\\* )
 
14987
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
14988
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
14989
    *) ac_sed_conf_input=$configure_input;;
 
14990
    esac
 
14991
 
 
14992
    case $ac_tag in
 
14993
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
14994
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
 
14995
    esac
 
14996
    ;;
 
14997
  esac
 
14998
 
 
14999
  ac_dir=`$as_dirname -- "$ac_file" ||
 
15000
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
15001
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
15002
         X"$ac_file" : 'X\(//\)$' \| \
 
15003
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 
15004
$as_echo X"$ac_file" |
 
15005
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
15006
            s//\1/
 
15007
            q
 
15008
          }
 
15009
          /^X\(\/\/\)[^/].*/{
 
15010
            s//\1/
 
15011
            q
 
15012
          }
 
15013
          /^X\(\/\/\)$/{
 
15014
            s//\1/
 
15015
            q
 
15016
          }
 
15017
          /^X\(\/\).*/{
 
15018
            s//\1/
 
15019
            q
 
15020
          }
 
15021
          s/.*/./; q'`
 
15022
  as_dir="$ac_dir"; as_fn_mkdir_p
 
15023
  ac_builddir=.
 
15024
 
 
15025
case "$ac_dir" in
 
15026
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
15027
*)
 
15028
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
15029
  # A ".." for each directory in $ac_dir_suffix.
 
15030
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
15031
  case $ac_top_builddir_sub in
 
15032
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
15033
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
15034
  esac ;;
 
15035
esac
 
15036
ac_abs_top_builddir=$ac_pwd
 
15037
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
15038
# for backward compatibility:
 
15039
ac_top_builddir=$ac_top_build_prefix
 
15040
 
 
15041
case $srcdir in
 
15042
  .)  # We are building in place.
 
15043
    ac_srcdir=.
 
15044
    ac_top_srcdir=$ac_top_builddir_sub
 
15045
    ac_abs_top_srcdir=$ac_pwd ;;
 
15046
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
15047
    ac_srcdir=$srcdir$ac_dir_suffix;
 
15048
    ac_top_srcdir=$srcdir
 
15049
    ac_abs_top_srcdir=$srcdir ;;
 
15050
  *) # Relative name.
 
15051
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
15052
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
15053
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
15054
esac
 
15055
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
15056
 
 
15057
 
 
15058
  case $ac_mode in
 
15059
  :F)
 
15060
  #
 
15061
  # CONFIG_FILE
 
15062
  #
 
15063
 
 
15064
  case $INSTALL in
 
15065
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 
15066
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 
15067
  esac
 
15068
  ac_MKDIR_P=$MKDIR_P
 
15069
  case $MKDIR_P in
 
15070
  [\\/$]* | ?:[\\/]* ) ;;
 
15071
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 
15072
  esac
 
15073
_ACEOF
 
15074
 
 
15075
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
15076
# If the template does not know about datarootdir, expand it.
 
15077
# FIXME: This hack should be removed a few years after 2.60.
 
15078
ac_datarootdir_hack=; ac_datarootdir_seen=
 
15079
ac_sed_dataroot='
 
15080
/datarootdir/ {
 
15081
  p
 
15082
  q
 
15083
}
 
15084
/@datadir@/p
 
15085
/@docdir@/p
 
15086
/@infodir@/p
 
15087
/@localedir@/p
 
15088
/@mandir@/p'
 
15089
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 
15090
*datarootdir*) ac_datarootdir_seen=yes;;
 
15091
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
15092
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
15093
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
15094
_ACEOF
 
15095
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
15096
  ac_datarootdir_hack='
 
15097
  s&@datadir@&$datadir&g
 
15098
  s&@docdir@&$docdir&g
 
15099
  s&@infodir@&$infodir&g
 
15100
  s&@localedir@&$localedir&g
 
15101
  s&@mandir@&$mandir&g
 
15102
  s&\\\${datarootdir}&$datarootdir&g' ;;
 
15103
esac
 
15104
_ACEOF
 
15105
 
 
15106
# Neutralize VPATH when `$srcdir' = `.'.
 
15107
# Shell code in configure.ac might set extrasub.
 
15108
# FIXME: do we really want to maintain this feature?
 
15109
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
15110
ac_sed_extra="$ac_vpsub
 
15111
$extrasub
 
15112
_ACEOF
 
15113
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
15114
:t
 
15115
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
15116
s|@configure_input@|$ac_sed_conf_input|;t t
 
15117
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
15118
s&@top_build_prefix@&$ac_top_build_prefix&;t t
 
15119
s&@srcdir@&$ac_srcdir&;t t
 
15120
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
15121
s&@top_srcdir@&$ac_top_srcdir&;t t
 
15122
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
15123
s&@builddir@&$ac_builddir&;t t
 
15124
s&@abs_builddir@&$ac_abs_builddir&;t t
 
15125
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
15126
s&@INSTALL@&$ac_INSTALL&;t t
 
15127
s&@MKDIR_P@&$ac_MKDIR_P&;t t
 
15128
$ac_datarootdir_hack
 
15129
"
 
15130
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
15131
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
15132
 
 
15133
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
15134
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
15135
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
15136
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
 
15137
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
15138
which seems to be undefined.  Please make sure it is defined" >&5
 
15139
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
15140
which seems to be undefined.  Please make sure it is defined" >&2;}
 
15141
 
 
15142
  rm -f "$ac_tmp/stdin"
 
15143
  case $ac_file in
 
15144
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
15145
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
 
15146
  esac \
 
15147
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
15148
 ;;
 
15149
  :H)
 
15150
  #
 
15151
  # CONFIG_HEADER
 
15152
  #
 
15153
  if test x"$ac_file" != x-; then
 
15154
    {
 
15155
      $as_echo "/* $configure_input  */" \
 
15156
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 
15157
    } >"$ac_tmp/config.h" \
 
15158
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
15159
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
 
15160
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
 
15161
$as_echo "$as_me: $ac_file is unchanged" >&6;}
 
15162
    else
 
15163
      rm -f "$ac_file"
 
15164
      mv "$ac_tmp/config.h" "$ac_file" \
 
15165
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
15166
    fi
 
15167
  else
 
15168
    $as_echo "/* $configure_input  */" \
 
15169
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
 
15170
      || as_fn_error $? "could not create -" "$LINENO" 5
 
15171
  fi
 
15172
# Compute "$ac_file"'s index in $config_headers.
 
15173
_am_arg="$ac_file"
 
15174
_am_stamp_count=1
 
15175
for _am_header in $config_headers :; do
 
15176
  case $_am_header in
 
15177
    $_am_arg | $_am_arg:* )
 
15178
      break ;;
 
15179
    * )
 
15180
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
 
15181
  esac
 
15182
done
 
15183
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 
15184
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
15185
         X"$_am_arg" : 'X\(//\)[^/]' \| \
 
15186
         X"$_am_arg" : 'X\(//\)$' \| \
 
15187
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 
15188
$as_echo X"$_am_arg" |
 
15189
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
15190
            s//\1/
 
15191
            q
 
15192
          }
 
15193
          /^X\(\/\/\)[^/].*/{
 
15194
            s//\1/
 
15195
            q
 
15196
          }
 
15197
          /^X\(\/\/\)$/{
 
15198
            s//\1/
 
15199
            q
 
15200
          }
 
15201
          /^X\(\/\).*/{
 
15202
            s//\1/
 
15203
            q
 
15204
          }
 
15205
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
15206
 ;;
 
15207
 
 
15208
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
 
15209
$as_echo "$as_me: executing $ac_file commands" >&6;}
 
15210
 ;;
 
15211
  esac
 
15212
 
 
15213
 
 
15214
  case $ac_file$ac_mode in
 
15215
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 
15216
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
15217
  # are listed without --file.  Let's play safe and only enable the eval
 
15218
  # if we detect the quoting.
 
15219
  case $CONFIG_FILES in
 
15220
  *\'*) eval set x "$CONFIG_FILES" ;;
 
15221
  *)   set x $CONFIG_FILES ;;
 
15222
  esac
 
15223
  shift
 
15224
  for mf
 
15225
  do
 
15226
    # Strip MF so we end up with the name of the file.
 
15227
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
15228
    # Check whether this is an Automake generated Makefile or not.
 
15229
    # We used to match only the files named `Makefile.in', but
 
15230
    # some people rename them; so instead we look at the file content.
 
15231
    # Grep'ing the first line is not enough: some people post-process
 
15232
    # each Makefile.in and add a new line on top of each file to say so.
 
15233
    # Grep'ing the whole file is not good either: AIX grep has a line
 
15234
    # limit of 2048, but all sed's we know have understand at least 4000.
 
15235
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
15236
      dirpart=`$as_dirname -- "$mf" ||
 
15237
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
15238
         X"$mf" : 'X\(//\)[^/]' \| \
 
15239
         X"$mf" : 'X\(//\)$' \| \
 
15240
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 
15241
$as_echo X"$mf" |
 
15242
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
15243
            s//\1/
 
15244
            q
 
15245
          }
 
15246
          /^X\(\/\/\)[^/].*/{
 
15247
            s//\1/
 
15248
            q
 
15249
          }
 
15250
          /^X\(\/\/\)$/{
 
15251
            s//\1/
 
15252
            q
 
15253
          }
 
15254
          /^X\(\/\).*/{
 
15255
            s//\1/
 
15256
            q
 
15257
          }
 
15258
          s/.*/./; q'`
 
15259
    else
 
15260
      continue
 
15261
    fi
 
15262
    # Extract the definition of DEPDIR, am__include, and am__quote
 
15263
    # from the Makefile without running `make'.
 
15264
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
15265
    test -z "$DEPDIR" && continue
 
15266
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
15267
    test -z "am__include" && continue
 
15268
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
15269
    # When using ansi2knr, U may be empty or an underscore; expand it
 
15270
    U=`sed -n 's/^U = //p' < "$mf"`
 
15271
    # Find all dependency output files, they are included files with
 
15272
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
15273
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
15274
    # expansion.
 
15275
    for file in `sed -n "
 
15276
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
15277
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
15278
      # Make sure the directory exists.
 
15279
      test -f "$dirpart/$file" && continue
 
15280
      fdir=`$as_dirname -- "$file" ||
 
15281
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
15282
         X"$file" : 'X\(//\)[^/]' \| \
 
15283
         X"$file" : 'X\(//\)$' \| \
 
15284
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 
15285
$as_echo X"$file" |
 
15286
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
15287
            s//\1/
 
15288
            q
 
15289
          }
 
15290
          /^X\(\/\/\)[^/].*/{
 
15291
            s//\1/
 
15292
            q
 
15293
          }
 
15294
          /^X\(\/\/\)$/{
 
15295
            s//\1/
 
15296
            q
 
15297
          }
 
15298
          /^X\(\/\).*/{
 
15299
            s//\1/
 
15300
            q
 
15301
          }
 
15302
          s/.*/./; q'`
 
15303
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
 
15304
      # echo "creating $dirpart/$file"
 
15305
      echo '# dummy' > "$dirpart/$file"
 
15306
    done
 
15307
  done
 
15308
}
 
15309
 ;;
 
15310
    "libtool":C)
 
15311
 
 
15312
    # See if we are running on zsh, and set the options which allow our
 
15313
    # commands through without removal of \ escapes.
 
15314
    if test -n "${ZSH_VERSION+set}" ; then
 
15315
      setopt NO_GLOB_SUBST
 
15316
    fi
 
15317
 
 
15318
    cfgfile="${ofile}T"
 
15319
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 
15320
    $RM "$cfgfile"
 
15321
 
 
15322
    cat <<_LT_EOF >> "$cfgfile"
 
15323
#! $SHELL
 
15324
 
 
15325
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
15326
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 
15327
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
15328
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
15329
#
 
15330
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
15331
#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
 
15332
#                 Foundation, Inc.
 
15333
#   Written by Gordon Matzigkeit, 1996
 
15334
#
 
15335
#   This file is part of GNU Libtool.
 
15336
#
 
15337
# GNU Libtool is free software; you can redistribute it and/or
 
15338
# modify it under the terms of the GNU General Public License as
 
15339
# published by the Free Software Foundation; either version 2 of
 
15340
# the License, or (at your option) any later version.
 
15341
#
 
15342
# As a special exception to the GNU General Public License,
 
15343
# if you distribute this file as part of a program or library that
 
15344
# is built using GNU Libtool, you may include this file under the
 
15345
# same distribution terms that you use for the rest of that program.
 
15346
#
 
15347
# GNU Libtool is distributed in the hope that it will be useful,
 
15348
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
15349
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
15350
# GNU General Public License for more details.
 
15351
#
 
15352
# You should have received a copy of the GNU General Public License
 
15353
# along with GNU Libtool; see the file COPYING.  If not, a copy
 
15354
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 
15355
# obtained by writing to the Free Software Foundation, Inc.,
 
15356
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
15357
 
 
15358
 
 
15359
# The names of the tagged configurations supported by this script.
 
15360
available_tags=""
 
15361
 
 
15362
# ### BEGIN LIBTOOL CONFIG
 
15363
 
 
15364
# Which release of libtool.m4 was used?
 
15365
macro_version=$macro_version
 
15366
macro_revision=$macro_revision
 
15367
 
 
15368
# Whether or not to build shared libraries.
 
15369
build_libtool_libs=$enable_shared
 
15370
 
 
15371
# Whether or not to build static libraries.
 
15372
build_old_libs=$enable_static
 
15373
 
 
15374
# What type of objects to build.
 
15375
pic_mode=$pic_mode
 
15376
 
 
15377
# Whether or not to optimize for fast installation.
 
15378
fast_install=$enable_fast_install
 
15379
 
 
15380
# Shell to use when invoking shell scripts.
 
15381
SHELL=$lt_SHELL
 
15382
 
 
15383
# An echo program that protects backslashes.
 
15384
ECHO=$lt_ECHO
 
15385
 
 
15386
# The PATH separator for the build system.
 
15387
PATH_SEPARATOR=$lt_PATH_SEPARATOR
 
15388
 
 
15389
# The host system.
 
15390
host_alias=$host_alias
 
15391
host=$host
 
15392
host_os=$host_os
 
15393
 
 
15394
# The build system.
 
15395
build_alias=$build_alias
 
15396
build=$build
 
15397
build_os=$build_os
 
15398
 
 
15399
# A sed program that does not truncate output.
 
15400
SED=$lt_SED
 
15401
 
 
15402
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
15403
Xsed="\$SED -e 1s/^X//"
 
15404
 
 
15405
# A grep program that handles long lines.
 
15406
GREP=$lt_GREP
 
15407
 
 
15408
# An ERE matcher.
 
15409
EGREP=$lt_EGREP
 
15410
 
 
15411
# A literal string matcher.
 
15412
FGREP=$lt_FGREP
 
15413
 
 
15414
# A BSD- or MS-compatible name lister.
 
15415
NM=$lt_NM
 
15416
 
 
15417
# Whether we need soft or hard links.
 
15418
LN_S=$lt_LN_S
 
15419
 
 
15420
# What is the maximum length of a command?
 
15421
max_cmd_len=$max_cmd_len
 
15422
 
 
15423
# Object file suffix (normally "o").
 
15424
objext=$ac_objext
 
15425
 
 
15426
# Executable file suffix (normally "").
 
15427
exeext=$exeext
 
15428
 
 
15429
# whether the shell understands "unset".
 
15430
lt_unset=$lt_unset
 
15431
 
 
15432
# turn spaces into newlines.
 
15433
SP2NL=$lt_lt_SP2NL
 
15434
 
 
15435
# turn newlines into spaces.
 
15436
NL2SP=$lt_lt_NL2SP
 
15437
 
 
15438
# convert \$build file names to \$host format.
 
15439
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
15440
 
 
15441
# convert \$build files to toolchain format.
 
15442
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
15443
 
 
15444
# An object symbol dumper.
 
15445
OBJDUMP=$lt_OBJDUMP
 
15446
 
 
15447
# Method to check whether dependent libraries are shared objects.
 
15448
deplibs_check_method=$lt_deplibs_check_method
 
15449
 
 
15450
# Command to use when deplibs_check_method = "file_magic".
 
15451
file_magic_cmd=$lt_file_magic_cmd
 
15452
 
 
15453
# How to find potential files when deplibs_check_method = "file_magic".
 
15454
file_magic_glob=$lt_file_magic_glob
 
15455
 
 
15456
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
 
15457
want_nocaseglob=$lt_want_nocaseglob
 
15458
 
 
15459
# DLL creation program.
 
15460
DLLTOOL=$lt_DLLTOOL
 
15461
 
 
15462
# Command to associate shared and link libraries.
 
15463
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
 
15464
 
 
15465
# The archiver.
 
15466
AR=$lt_AR
 
15467
 
 
15468
# Flags to create an archive.
 
15469
AR_FLAGS=$lt_AR_FLAGS
 
15470
 
 
15471
# How to feed a file listing to the archiver.
 
15472
archiver_list_spec=$lt_archiver_list_spec
 
15473
 
 
15474
# A symbol stripping program.
 
15475
STRIP=$lt_STRIP
 
15476
 
 
15477
# Commands used to install an old-style archive.
 
15478
RANLIB=$lt_RANLIB
 
15479
old_postinstall_cmds=$lt_old_postinstall_cmds
 
15480
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
15481
 
 
15482
# Whether to use a lock for old archive extraction.
 
15483
lock_old_archive_extraction=$lock_old_archive_extraction
 
15484
 
 
15485
# A C compiler.
 
15486
LTCC=$lt_CC
 
15487
 
 
15488
# LTCC compiler flags.
 
15489
LTCFLAGS=$lt_CFLAGS
 
15490
 
 
15491
# Take the output of nm and produce a listing of raw symbols and C names.
 
15492
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
15493
 
 
15494
# Transform the output of nm in a proper C declaration.
 
15495
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
15496
 
 
15497
# Transform the output of nm in a C name address pair.
 
15498
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
15499
 
 
15500
# Transform the output of nm in a C name address pair when lib prefix is needed.
 
15501
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 
15502
 
 
15503
# Specify filename containing input files for \$NM.
 
15504
nm_file_list_spec=$lt_nm_file_list_spec
 
15505
 
 
15506
# The root where to search for dependent libraries,and in which our libraries should be installed.
 
15507
lt_sysroot=$lt_sysroot
 
15508
 
 
15509
# The name of the directory that contains temporary libtool files.
 
15510
objdir=$objdir
 
15511
 
 
15512
# Used to examine libraries when file_magic_cmd begins with "file".
 
15513
MAGIC_CMD=$MAGIC_CMD
 
15514
 
 
15515
# Must we lock files when doing compilation?
 
15516
need_locks=$lt_need_locks
 
15517
 
 
15518
# Manifest tool.
 
15519
MANIFEST_TOOL=$lt_MANIFEST_TOOL
 
15520
 
 
15521
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 
15522
DSYMUTIL=$lt_DSYMUTIL
 
15523
 
 
15524
# Tool to change global to local symbols on Mac OS X.
 
15525
NMEDIT=$lt_NMEDIT
 
15526
 
 
15527
# Tool to manipulate fat objects and archives on Mac OS X.
 
15528
LIPO=$lt_LIPO
 
15529
 
 
15530
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
 
15531
OTOOL=$lt_OTOOL
 
15532
 
 
15533
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 
15534
OTOOL64=$lt_OTOOL64
 
15535
 
 
15536
# Old archive suffix (normally "a").
 
15537
libext=$libext
 
15538
 
 
15539
# Shared library suffix (normally ".so").
 
15540
shrext_cmds=$lt_shrext_cmds
 
15541
 
 
15542
# The commands to extract the exported symbol list from a shared archive.
 
15543
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
15544
 
 
15545
# Variables whose values should be saved in libtool wrapper scripts and
 
15546
# restored at link time.
 
15547
variables_saved_for_relink=$lt_variables_saved_for_relink
 
15548
 
 
15549
# Do we need the "lib" prefix for modules?
 
15550
need_lib_prefix=$need_lib_prefix
 
15551
 
 
15552
# Do we need a version for libraries?
 
15553
need_version=$need_version
 
15554
 
 
15555
# Library versioning type.
 
15556
version_type=$version_type
 
15557
 
 
15558
# Shared library runtime path variable.
 
15559
runpath_var=$runpath_var
 
15560
 
 
15561
# Shared library path variable.
 
15562
shlibpath_var=$shlibpath_var
 
15563
 
 
15564
# Is shlibpath searched before the hard-coded library search path?
 
15565
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
15566
 
 
15567
# Format of library name prefix.
 
15568
libname_spec=$lt_libname_spec
 
15569
 
 
15570
# List of archive names.  First name is the real one, the rest are links.
 
15571
# The last name is the one that the linker finds with -lNAME
 
15572
library_names_spec=$lt_library_names_spec
 
15573
 
 
15574
# The coded name of the library, if different from the real name.
 
15575
soname_spec=$lt_soname_spec
 
15576
 
 
15577
# Permission mode override for installation of shared libraries.
 
15578
install_override_mode=$lt_install_override_mode
 
15579
 
 
15580
# Command to use after installation of a shared archive.
 
15581
postinstall_cmds=$lt_postinstall_cmds
 
15582
 
 
15583
# Command to use after uninstallation of a shared archive.
 
15584
postuninstall_cmds=$lt_postuninstall_cmds
 
15585
 
 
15586
# Commands used to finish a libtool library installation in a directory.
 
15587
finish_cmds=$lt_finish_cmds
 
15588
 
 
15589
# As "finish_cmds", except a single script fragment to be evaled but
 
15590
# not shown.
 
15591
finish_eval=$lt_finish_eval
 
15592
 
 
15593
# Whether we should hardcode library paths into libraries.
 
15594
hardcode_into_libs=$hardcode_into_libs
 
15595
 
 
15596
# Compile-time system search path for libraries.
 
15597
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
15598
 
 
15599
# Run-time system search path for libraries.
 
15600
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
15601
 
 
15602
# Whether dlopen is supported.
 
15603
dlopen_support=$enable_dlopen
 
15604
 
 
15605
# Whether dlopen of programs is supported.
 
15606
dlopen_self=$enable_dlopen_self
 
15607
 
 
15608
# Whether dlopen of statically linked programs is supported.
 
15609
dlopen_self_static=$enable_dlopen_self_static
 
15610
 
 
15611
# Commands to strip libraries.
 
15612
old_striplib=$lt_old_striplib
 
15613
striplib=$lt_striplib
 
15614
 
 
15615
 
 
15616
# The linker used to build libraries.
 
15617
LD=$lt_LD
 
15618
 
 
15619
# How to create reloadable object files.
 
15620
reload_flag=$lt_reload_flag
 
15621
reload_cmds=$lt_reload_cmds
 
15622
 
 
15623
# Commands used to build an old-style archive.
 
15624
old_archive_cmds=$lt_old_archive_cmds
 
15625
 
 
15626
# A language specific compiler.
 
15627
CC=$lt_compiler
 
15628
 
 
15629
# Is the compiler the GNU compiler?
 
15630
with_gcc=$GCC
 
15631
 
 
15632
# Compiler flag to turn off builtin functions.
 
15633
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 
15634
 
 
15635
# Additional compiler flags for building library objects.
 
15636
pic_flag=$lt_lt_prog_compiler_pic
 
15637
 
 
15638
# How to pass a linker flag through the compiler.
 
15639
wl=$lt_lt_prog_compiler_wl
 
15640
 
 
15641
# Compiler flag to prevent dynamic linking.
 
15642
link_static_flag=$lt_lt_prog_compiler_static
 
15643
 
 
15644
# Does compiler simultaneously support -c and -o options?
 
15645
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 
15646
 
 
15647
# Whether or not to add -lc for building shared libraries.
 
15648
build_libtool_need_lc=$archive_cmds_need_lc
 
15649
 
 
15650
# Whether or not to disallow shared libs when runtime libs are static.
 
15651
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 
15652
 
 
15653
# Compiler flag to allow reflexive dlopens.
 
15654
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 
15655
 
 
15656
# Compiler flag to generate shared objects directly from archives.
 
15657
whole_archive_flag_spec=$lt_whole_archive_flag_spec
 
15658
 
 
15659
# Whether the compiler copes with passing no objects directly.
 
15660
compiler_needs_object=$lt_compiler_needs_object
 
15661
 
 
15662
# Create an old-style archive from a shared archive.
 
15663
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 
15664
 
 
15665
# Create a temporary old-style archive to link instead of a shared archive.
 
15666
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 
15667
 
 
15668
# Commands used to build a shared archive.
 
15669
archive_cmds=$lt_archive_cmds
 
15670
archive_expsym_cmds=$lt_archive_expsym_cmds
 
15671
 
 
15672
# Commands used to build a loadable module if different from building
 
15673
# a shared archive.
 
15674
module_cmds=$lt_module_cmds
 
15675
module_expsym_cmds=$lt_module_expsym_cmds
 
15676
 
 
15677
# Whether we are building with GNU ld or not.
 
15678
with_gnu_ld=$lt_with_gnu_ld
 
15679
 
 
15680
# Flag that allows shared libraries with undefined symbols to be built.
 
15681
allow_undefined_flag=$lt_allow_undefined_flag
 
15682
 
 
15683
# Flag that enforces no undefined symbols.
 
15684
no_undefined_flag=$lt_no_undefined_flag
 
15685
 
 
15686
# Flag to hardcode \$libdir into a binary during linking.
 
15687
# This must work even if \$libdir does not exist
 
15688
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
15689
 
 
15690
# Whether we need a single "-rpath" flag with a separated argument.
 
15691
hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
15692
 
 
15693
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
15694
# DIR into the resulting binary.
 
15695
hardcode_direct=$hardcode_direct
 
15696
 
 
15697
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
15698
# DIR into the resulting binary and the resulting library dependency is
 
15699
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
15700
# library is relocated.
 
15701
hardcode_direct_absolute=$hardcode_direct_absolute
 
15702
 
 
15703
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
15704
# into the resulting binary.
 
15705
hardcode_minus_L=$hardcode_minus_L
 
15706
 
 
15707
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
15708
# into the resulting binary.
 
15709
hardcode_shlibpath_var=$hardcode_shlibpath_var
 
15710
 
 
15711
# Set to "yes" if building a shared library automatically hardcodes DIR
 
15712
# into the library and all subsequent libraries and executables linked
 
15713
# against it.
 
15714
hardcode_automatic=$hardcode_automatic
 
15715
 
 
15716
# Set to yes if linker adds runtime paths of dependent libraries
 
15717
# to runtime path list.
 
15718
inherit_rpath=$inherit_rpath
 
15719
 
 
15720
# Whether libtool must link a program against all its dependency libraries.
 
15721
link_all_deplibs=$link_all_deplibs
 
15722
 
 
15723
# Set to "yes" if exported symbols are required.
 
15724
always_export_symbols=$always_export_symbols
 
15725
 
 
15726
# The commands to list exported symbols.
 
15727
export_symbols_cmds=$lt_export_symbols_cmds
 
15728
 
 
15729
# Symbols that should not be listed in the preloaded symbols.
 
15730
exclude_expsyms=$lt_exclude_expsyms
 
15731
 
 
15732
# Symbols that must always be exported.
 
15733
include_expsyms=$lt_include_expsyms
 
15734
 
 
15735
# Commands necessary for linking programs (against libraries) with templates.
 
15736
prelink_cmds=$lt_prelink_cmds
 
15737
 
 
15738
# Commands necessary for finishing linking programs.
 
15739
postlink_cmds=$lt_postlink_cmds
 
15740
 
 
15741
# Specify filename containing input files.
 
15742
file_list_spec=$lt_file_list_spec
 
15743
 
 
15744
# How to hardcode a shared library path into an executable.
 
15745
hardcode_action=$hardcode_action
 
15746
 
 
15747
# ### END LIBTOOL CONFIG
 
15748
 
 
15749
_LT_EOF
 
15750
 
 
15751
  case $host_os in
 
15752
  aix3*)
 
15753
    cat <<\_LT_EOF >> "$cfgfile"
 
15754
# AIX sometimes has problems with the GCC collect2 program.  For some
 
15755
# reason, if we set the COLLECT_NAMES environment variable, the problems
 
15756
# vanish in a puff of smoke.
 
15757
if test "X${COLLECT_NAMES+set}" != Xset; then
 
15758
  COLLECT_NAMES=
 
15759
  export COLLECT_NAMES
 
15760
fi
 
15761
_LT_EOF
 
15762
    ;;
 
15763
  esac
 
15764
 
 
15765
 
 
15766
ltmain="$ac_aux_dir/ltmain.sh"
 
15767
 
 
15768
 
 
15769
  # We use sed instead of cat because bash on DJGPP gets confused if
 
15770
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
15771
  # text mode, it properly converts lines to CR/LF.  This bash problem
 
15772
  # is reportedly fixed, but why not run on old versions too?
 
15773
  sed '$q' "$ltmain" >> "$cfgfile" \
 
15774
     || (rm -f "$cfgfile"; exit 1)
 
15775
 
 
15776
  if test x"$xsi_shell" = xyes; then
 
15777
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
 
15778
func_dirname ()\
 
15779
{\
 
15780
\    case ${1} in\
 
15781
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
15782
\      *  ) func_dirname_result="${3}" ;;\
 
15783
\    esac\
 
15784
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
 
15785
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15786
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15787
test 0 -eq $? || _lt_function_replace_fail=:
 
15788
 
 
15789
 
 
15790
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
 
15791
func_basename ()\
 
15792
{\
 
15793
\    func_basename_result="${1##*/}"\
 
15794
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
15795
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15796
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15797
test 0 -eq $? || _lt_function_replace_fail=:
 
15798
 
 
15799
 
 
15800
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
 
15801
func_dirname_and_basename ()\
 
15802
{\
 
15803
\    case ${1} in\
 
15804
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
15805
\      *  ) func_dirname_result="${3}" ;;\
 
15806
\    esac\
 
15807
\    func_basename_result="${1##*/}"\
 
15808
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
15809
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15810
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15811
test 0 -eq $? || _lt_function_replace_fail=:
 
15812
 
 
15813
 
 
15814
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
 
15815
func_stripname ()\
 
15816
{\
 
15817
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
 
15818
\    # positional parameters, so assign one to ordinary parameter first.\
 
15819
\    func_stripname_result=${3}\
 
15820
\    func_stripname_result=${func_stripname_result#"${1}"}\
 
15821
\    func_stripname_result=${func_stripname_result%"${2}"}\
 
15822
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
 
15823
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15824
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15825
test 0 -eq $? || _lt_function_replace_fail=:
 
15826
 
 
15827
 
 
15828
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
 
15829
func_split_long_opt ()\
 
15830
{\
 
15831
\    func_split_long_opt_name=${1%%=*}\
 
15832
\    func_split_long_opt_arg=${1#*=}\
 
15833
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
15834
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15835
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15836
test 0 -eq $? || _lt_function_replace_fail=:
 
15837
 
 
15838
 
 
15839
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
 
15840
func_split_short_opt ()\
 
15841
{\
 
15842
\    func_split_short_opt_arg=${1#??}\
 
15843
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
 
15844
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
15845
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15846
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15847
test 0 -eq $? || _lt_function_replace_fail=:
 
15848
 
 
15849
 
 
15850
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
 
15851
func_lo2o ()\
 
15852
{\
 
15853
\    case ${1} in\
 
15854
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
 
15855
\      *)    func_lo2o_result=${1} ;;\
 
15856
\    esac\
 
15857
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
 
15858
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15859
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15860
test 0 -eq $? || _lt_function_replace_fail=:
 
15861
 
 
15862
 
 
15863
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
 
15864
func_xform ()\
 
15865
{\
 
15866
    func_xform_result=${1%.*}.lo\
 
15867
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
 
15868
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15869
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15870
test 0 -eq $? || _lt_function_replace_fail=:
 
15871
 
 
15872
 
 
15873
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
 
15874
func_arith ()\
 
15875
{\
 
15876
    func_arith_result=$(( $* ))\
 
15877
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
 
15878
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15879
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15880
test 0 -eq $? || _lt_function_replace_fail=:
 
15881
 
 
15882
 
 
15883
  sed -e '/^func_len ()$/,/^} # func_len /c\
 
15884
func_len ()\
 
15885
{\
 
15886
    func_len_result=${#1}\
 
15887
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
 
15888
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15889
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15890
test 0 -eq $? || _lt_function_replace_fail=:
 
15891
 
 
15892
fi
 
15893
 
 
15894
if test x"$lt_shell_append" = xyes; then
 
15895
  sed -e '/^func_append ()$/,/^} # func_append /c\
 
15896
func_append ()\
 
15897
{\
 
15898
    eval "${1}+=\\${2}"\
 
15899
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
 
15900
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15901
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15902
test 0 -eq $? || _lt_function_replace_fail=:
 
15903
 
 
15904
 
 
15905
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
 
15906
func_append_quoted ()\
 
15907
{\
 
15908
\    func_quote_for_eval "${2}"\
 
15909
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
 
15910
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
 
15911
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15912
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15913
test 0 -eq $? || _lt_function_replace_fail=:
 
15914
 
 
15915
 
 
15916
  # Save a `func_append' function call where possible by direct use of '+='
 
15917
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
 
15918
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15919
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15920
  test 0 -eq $? || _lt_function_replace_fail=:
 
15921
else
 
15922
  # Save a `func_append' function call even when '+=' is not available
 
15923
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
 
15924
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
15925
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
15926
  test 0 -eq $? || _lt_function_replace_fail=:
 
15927
fi
 
15928
 
 
15929
if test x"$_lt_function_replace_fail" = x":"; then
 
15930
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
 
15931
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 
15932
fi
 
15933
 
 
15934
 
 
15935
   mv -f "$cfgfile" "$ofile" ||
 
15936
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
15937
  chmod +x "$ofile"
 
15938
 
 
15939
 ;;
 
15940
    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
 
15941
        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
 
15942
      esac ;;
 
15943
    "po/stamp-it":C)
 
15944
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
 
15945
       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
 
15946
    fi
 
15947
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
 
15948
    >"po/stamp-it.tmp"
 
15949
    sed '/^#/d
 
15950
         s/^[[].*] *//
 
15951
         /^[    ]*$/d
 
15952
        '"s|^|  $ac_top_srcdir/|" \
 
15953
      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
 
15954
 
 
15955
    sed '/^POTFILES =/,/[^\\]$/ {
 
15956
                /^POTFILES =/!d
 
15957
                r po/POTFILES
 
15958
          }
 
15959
         ' "po/Makefile.in" >"po/Makefile"
 
15960
    rm -f "po/Makefile.tmp"
 
15961
    mv "po/stamp-it.tmp" "po/stamp-it"
 
15962
   ;;
 
15963
 
 
15964
  esac
 
15965
done # for ac_tag
 
15966
 
 
15967
 
 
15968
as_fn_exit 0
 
15969
_ACEOF
 
15970
ac_clean_files=$ac_clean_files_save
 
15971
 
 
15972
test $ac_write_fail = 0 ||
 
15973
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
15974
 
 
15975
 
 
15976
# configure is writing to config.log, and then calls config.status.
 
15977
# config.status does its own redirection, appending to config.log.
 
15978
# Unfortunately, on DOS this fails, as config.log is still kept open
 
15979
# by configure, so config.status won't be able to write to it; its
 
15980
# output is simply discarded.  So we exec the FD to /dev/null,
 
15981
# effectively closing config.log, so it can be properly (re)opened and
 
15982
# appended to by config.status.  When coming back to configure, we
 
15983
# need to make the FD available again.
 
15984
if test "$no_create" != yes; then
 
15985
  ac_cs_success=:
 
15986
  ac_config_status_args=
 
15987
  test "$silent" = yes &&
 
15988
    ac_config_status_args="$ac_config_status_args --quiet"
 
15989
  exec 5>/dev/null
 
15990
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 
15991
  exec 5>>config.log
 
15992
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 
15993
  # would make configure fail if this is the last instruction.
 
15994
  $ac_cs_success || as_fn_exit 1
 
15995
fi
 
15996
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
15997
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
15998
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 
15999
fi
 
16000
 
 
16001
 
 
16002
#####################################################
 
16003
# Output the results
 
16004
#####################################################
 
16005
{ $as_echo "$as_me:${as_lineno-$LINENO}:
 
16006
 
 
16007
  Unity Music Lens Daemon $VERSION
 
16008
  -------------------------------
 
16009
 
 
16010
  Prefix          : ${prefix}
 
16011
 
 
16012
  Local install   : ${with_localinstall}
 
16013
 
 
16014
  Extra CFlags    : ${CPPFLAGS} $MAINTAINER_CFLAGS
 
16015
  Extra ValaFlags : ${CPPFLAGS} $MAINTAINER_VALAFLAGS
 
16016
 
 
16017
  Lenses Directory: ${LENSESDIR}
 
16018
" >&5
 
16019
$as_echo "$as_me:
 
16020
 
 
16021
  Unity Music Lens Daemon $VERSION
 
16022
  -------------------------------
 
16023
 
 
16024
  Prefix          : ${prefix}
 
16025
 
 
16026
  Local install   : ${with_localinstall}
 
16027
 
 
16028
  Extra CFlags    : ${CPPFLAGS} $MAINTAINER_CFLAGS
 
16029
  Extra ValaFlags : ${CPPFLAGS} $MAINTAINER_VALAFLAGS
 
16030
 
 
16031
  Lenses Directory: ${LENSESDIR}
 
16032
" >&6;}