~ubuntu-branches/ubuntu/wily/lyricue/wily

« back to all changes in this revision

Viewing changes to configure

  • Committer: Package Import Robot
  • Author(s): Ilya Barygin
  • Date: 2011-11-06 16:24:28 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20111106162428-o9tmwfr5hbq1884c
Tags: 3.2.1-0ubuntu1
* New upstream release (LP: #389654).
* Packaging based on upstream's PPA:
  - lists of (build-)dependencies updated
  - menu file dropped
  - postinst/postrm scripts removed, lyricue guides setup on first run
  - debian/rules: use dh sequencer
* Generate manpage with pod2man.
* extra-docs.patch: don't install some unneded files.
* manpage-name.patch: make manpage valid.
* desktop.patch: make desktop files valid.
* Convert copyright file to DEP5 format.
* Use source format 3.0 (quilt).
* Update homepage and watch file.
* Bump Standards-Version to 3.9.2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh
 
2
# Guess values for system-dependent variables and create Makefiles.
 
3
# Generated by GNU Autoconf 2.68 for lyricue 3.0.36.
 
4
#
 
5
# Report bugs to <http://www.lyricue.org>.
 
6
#
 
7
#
 
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
 
10
# Foundation, Inc.
 
11
#
 
12
#
 
13
# This configure script is free software; the Free Software Foundation
 
14
# gives unlimited permission to copy, distribute and modify it.
 
15
## -------------------- ##
 
16
## M4sh Initialization. ##
 
17
## -------------------- ##
 
18
 
 
19
# Be more Bourne compatible
 
20
DUALCASE=1; export DUALCASE # for MKS sh
 
21
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 
22
  emulate sh
 
23
  NULLCMD=:
 
24
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
25
  # is contrary to our usage.  Disable this feature.
 
26
  alias -g '${1+"$@"}'='"$@"'
 
27
  setopt NO_GLOB_SUBST
 
28
else
 
29
  case `(set -o) 2>/dev/null` in #(
 
30
  *posix*) :
 
31
    set -o posix ;; #(
 
32
  *) :
 
33
     ;;
 
34
esac
 
35
fi
 
36
 
 
37
 
 
38
as_nl='
 
39
'
 
40
export as_nl
 
41
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
42
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
43
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
44
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
45
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
46
# but without wasting forks for bash or zsh.
 
47
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
48
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
49
  as_echo='print -r --'
 
50
  as_echo_n='print -rn --'
 
51
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
52
  as_echo='printf %s\n'
 
53
  as_echo_n='printf %s'
 
54
else
 
55
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
56
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
57
    as_echo_n='/usr/ucb/echo -n'
 
58
  else
 
59
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
60
    as_echo_n_body='eval
 
61
      arg=$1;
 
62
      case $arg in #(
 
63
      *"$as_nl"*)
 
64
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
65
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
66
      esac;
 
67
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
68
    '
 
69
    export as_echo_n_body
 
70
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
71
  fi
 
72
  export as_echo_body
 
73
  as_echo='sh -c $as_echo_body as_echo'
 
74
fi
 
75
 
 
76
# The user is always right.
 
77
if test "${PATH_SEPARATOR+set}" != set; then
 
78
  PATH_SEPARATOR=:
 
79
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
80
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
81
      PATH_SEPARATOR=';'
 
82
  }
 
83
fi
 
84
 
 
85
 
 
86
# IFS
 
87
# We need space, tab and new line, in precisely that order.  Quoting is
 
88
# there to prevent editors from complaining about space-tab.
 
89
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
90
# splitting by setting IFS to empty value.)
 
91
IFS=" ""        $as_nl"
 
92
 
 
93
# Find who we are.  Look in the path if we contain no directory separator.
 
94
as_myself=
 
95
case $0 in #((
 
96
  *[\\/]* ) as_myself=$0 ;;
 
97
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
98
for as_dir in $PATH
 
99
do
 
100
  IFS=$as_save_IFS
 
101
  test -z "$as_dir" && as_dir=.
 
102
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
103
  done
 
104
IFS=$as_save_IFS
 
105
 
 
106
     ;;
 
107
esac
 
108
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
109
# in which case we are not to be found in the path.
 
110
if test "x$as_myself" = x; then
 
111
  as_myself=$0
 
112
fi
 
113
if test ! -f "$as_myself"; then
 
114
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
115
  exit 1
 
116
fi
 
117
 
 
118
# Unset variables that we do not need and which cause bugs (e.g. in
 
119
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
120
# suppresses any "Segmentation fault" message there.  '((' could
 
121
# trigger a bug in pdksh 5.2.14.
 
122
for as_var in BASH_ENV ENV MAIL MAILPATH
 
123
do eval test x\${$as_var+set} = xset \
 
124
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 
125
done
 
126
PS1='$ '
 
127
PS2='> '
 
128
PS4='+ '
 
129
 
 
130
# NLS nuisances.
 
131
LC_ALL=C
 
132
export LC_ALL
 
133
LANGUAGE=C
 
134
export LANGUAGE
 
135
 
 
136
# CDPATH.
 
137
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
138
 
 
139
if test "x$CONFIG_SHELL" = x; then
 
140
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
141
  emulate sh
 
142
  NULLCMD=:
 
143
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
144
  # is contrary to our usage.  Disable this feature.
 
145
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
146
  setopt NO_GLOB_SUBST
 
147
else
 
148
  case \`(set -o) 2>/dev/null\` in #(
 
149
  *posix*) :
 
150
    set -o posix ;; #(
 
151
  *) :
 
152
     ;;
 
153
esac
 
154
fi
 
155
"
 
156
  as_required="as_fn_return () { (exit \$1); }
 
157
as_fn_success () { as_fn_return 0; }
 
158
as_fn_failure () { as_fn_return 1; }
 
159
as_fn_ret_success () { return 0; }
 
160
as_fn_ret_failure () { return 1; }
 
161
 
 
162
exitcode=0
 
163
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
164
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
165
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
166
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
167
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
168
 
 
169
else
 
170
  exitcode=1; echo positional parameters were not saved.
 
171
fi
 
172
test x\$exitcode = x0 || exit 1"
 
173
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
174
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
175
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
176
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
177
test \$(( 1 + 1 )) = 2 || exit 1
 
178
 
 
179
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
 
180
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
181
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
182
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
183
    PATH=/empty FPATH=/empty; export PATH FPATH
 
184
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
 
185
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
 
186
  if (eval "$as_required") 2>/dev/null; then :
 
187
  as_have_required=yes
 
188
else
 
189
  as_have_required=no
 
190
fi
 
191
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
192
 
 
193
else
 
194
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
195
as_found=false
 
196
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
197
do
 
198
  IFS=$as_save_IFS
 
199
  test -z "$as_dir" && as_dir=.
 
200
  as_found=:
 
201
  case $as_dir in #(
 
202
         /*)
 
203
           for as_base in sh bash ksh sh5; do
 
204
             # Try only shells that exist, to save several forks.
 
205
             as_shell=$as_dir/$as_base
 
206
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
207
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
208
  CONFIG_SHELL=$as_shell as_have_required=yes
 
209
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
210
  break 2
 
211
fi
 
212
fi
 
213
           done;;
 
214
       esac
 
215
  as_found=false
 
216
done
 
217
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
218
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
219
  CONFIG_SHELL=$SHELL as_have_required=yes
 
220
fi; }
 
221
IFS=$as_save_IFS
 
222
 
 
223
 
 
224
      if test "x$CONFIG_SHELL" != x; then :
 
225
  # We cannot yet assume a decent shell, so we have to provide a
 
226
        # neutralization value for shells without unset; and this also
 
227
        # works around shells that cannot unset nonexistent variables.
 
228
        # Preserve -v and -x to the replacement shell.
 
229
        BASH_ENV=/dev/null
 
230
        ENV=/dev/null
 
231
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
232
        export CONFIG_SHELL
 
233
        case $- in # ((((
 
234
          *v*x* | *x*v* ) as_opts=-vx ;;
 
235
          *v* ) as_opts=-v ;;
 
236
          *x* ) as_opts=-x ;;
 
237
          * ) as_opts= ;;
 
238
        esac
 
239
        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
 
240
fi
 
241
 
 
242
    if test x$as_have_required = xno; then :
 
243
  $as_echo "$0: This script requires a shell more modern than all"
 
244
  $as_echo "$0: the shells that I found on your system."
 
245
  if test x${ZSH_VERSION+set} = xset ; then
 
246
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
247
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 
248
  else
 
249
    $as_echo "$0: Please tell bug-autoconf@gnu.org and
 
250
$0: http://www.lyricue.org about your system, including any
 
251
$0: error possibly output before this message. Then install
 
252
$0: a modern shell, or manually run the script under such a
 
253
$0: shell if you do have one."
 
254
  fi
 
255
  exit 1
 
256
fi
 
257
fi
 
258
fi
 
259
SHELL=${CONFIG_SHELL-/bin/sh}
 
260
export SHELL
 
261
# Unset more variables known to interfere with behavior of common tools.
 
262
CLICOLOR_FORCE= GREP_OPTIONS=
 
263
unset CLICOLOR_FORCE GREP_OPTIONS
 
264
 
 
265
## --------------------- ##
 
266
## M4sh Shell Functions. ##
 
267
## --------------------- ##
 
268
# as_fn_unset VAR
 
269
# ---------------
 
270
# Portably unset VAR.
 
271
as_fn_unset ()
 
272
{
 
273
  { eval $1=; unset $1;}
 
274
}
 
275
as_unset=as_fn_unset
 
276
 
 
277
# as_fn_set_status STATUS
 
278
# -----------------------
 
279
# Set $? to STATUS, without forking.
 
280
as_fn_set_status ()
 
281
{
 
282
  return $1
 
283
} # as_fn_set_status
 
284
 
 
285
# as_fn_exit STATUS
 
286
# -----------------
 
287
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
288
as_fn_exit ()
 
289
{
 
290
  set +e
 
291
  as_fn_set_status $1
 
292
  exit $1
 
293
} # as_fn_exit
 
294
 
 
295
# as_fn_mkdir_p
 
296
# -------------
 
297
# Create "$as_dir" as a directory, including parents if necessary.
 
298
as_fn_mkdir_p ()
 
299
{
 
300
 
 
301
  case $as_dir in #(
 
302
  -*) as_dir=./$as_dir;;
 
303
  esac
 
304
  test -d "$as_dir" || eval $as_mkdir_p || {
 
305
    as_dirs=
 
306
    while :; do
 
307
      case $as_dir in #(
 
308
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
309
      *) as_qdir=$as_dir;;
 
310
      esac
 
311
      as_dirs="'$as_qdir' $as_dirs"
 
312
      as_dir=`$as_dirname -- "$as_dir" ||
 
313
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
314
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
315
         X"$as_dir" : 'X\(//\)$' \| \
 
316
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
317
$as_echo X"$as_dir" |
 
318
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
319
            s//\1/
 
320
            q
 
321
          }
 
322
          /^X\(\/\/\)[^/].*/{
 
323
            s//\1/
 
324
            q
 
325
          }
 
326
          /^X\(\/\/\)$/{
 
327
            s//\1/
 
328
            q
 
329
          }
 
330
          /^X\(\/\).*/{
 
331
            s//\1/
 
332
            q
 
333
          }
 
334
          s/.*/./; q'`
 
335
      test -d "$as_dir" && break
 
336
    done
 
337
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
338
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
339
 
 
340
 
 
341
} # as_fn_mkdir_p
 
342
# as_fn_append VAR VALUE
 
343
# ----------------------
 
344
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
345
# advantage of any shell optimizations that allow amortized linear growth over
 
346
# repeated appends, instead of the typical quadratic growth present in naive
 
347
# implementations.
 
348
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
349
  eval 'as_fn_append ()
 
350
  {
 
351
    eval $1+=\$2
 
352
  }'
 
353
else
 
354
  as_fn_append ()
 
355
  {
 
356
    eval $1=\$$1\$2
 
357
  }
 
358
fi # as_fn_append
 
359
 
 
360
# as_fn_arith ARG...
 
361
# ------------------
 
362
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
363
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
364
# must be portable across $(()) and expr.
 
365
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
366
  eval 'as_fn_arith ()
 
367
  {
 
368
    as_val=$(( $* ))
 
369
  }'
 
370
else
 
371
  as_fn_arith ()
 
372
  {
 
373
    as_val=`expr "$@" || test $? -eq 1`
 
374
  }
 
375
fi # as_fn_arith
 
376
 
 
377
 
 
378
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
379
# ----------------------------------------
 
380
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
381
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
382
# script with STATUS, using 1 if that was 0.
 
383
as_fn_error ()
 
384
{
 
385
  as_status=$1; test $as_status -eq 0 && as_status=1
 
386
  if test "$4"; then
 
387
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
388
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
389
  fi
 
390
  $as_echo "$as_me: error: $2" >&2
 
391
  as_fn_exit $as_status
 
392
} # as_fn_error
 
393
 
 
394
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
395
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
396
  as_expr=expr
 
397
else
 
398
  as_expr=false
 
399
fi
 
400
 
 
401
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
402
  as_basename=basename
 
403
else
 
404
  as_basename=false
 
405
fi
 
406
 
 
407
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
408
  as_dirname=dirname
 
409
else
 
410
  as_dirname=false
 
411
fi
 
412
 
 
413
as_me=`$as_basename -- "$0" ||
 
414
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
415
         X"$0" : 'X\(//\)$' \| \
 
416
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
417
$as_echo X/"$0" |
 
418
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
419
            s//\1/
 
420
            q
 
421
          }
 
422
          /^X\/\(\/\/\)$/{
 
423
            s//\1/
 
424
            q
 
425
          }
 
426
          /^X\/\(\/\).*/{
 
427
            s//\1/
 
428
            q
 
429
          }
 
430
          s/.*/./; q'`
 
431
 
 
432
# Avoid depending upon Character Ranges.
 
433
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
434
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
435
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
436
as_cr_digits='0123456789'
 
437
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
438
 
 
439
 
 
440
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
441
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
442
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
443
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
444
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
 
445
  sed -n '
 
446
    p
 
447
    /[$]LINENO/=
 
448
  ' <$as_myself |
 
449
    sed '
 
450
      s/[$]LINENO.*/&-/
 
451
      t lineno
 
452
      b
 
453
      :lineno
 
454
      N
 
455
      :loop
 
456
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 
457
      t loop
 
458
      s/-\n.*//
 
459
    ' >$as_me.lineno &&
 
460
  chmod +x "$as_me.lineno" ||
 
461
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
 
462
 
 
463
  # Don't try to exec as it changes $[0], causing all sort of problems
 
464
  # (the dirname of $[0] is not the place where we might find the
 
465
  # original and so on.  Autoconf is especially sensitive to this).
 
466
  . "./$as_me.lineno"
 
467
  # Exit status is that of the last command.
 
468
  exit
 
469
}
 
470
 
 
471
ECHO_C= ECHO_N= ECHO_T=
 
472
case `echo -n x` in #(((((
 
473
-n*)
 
474
  case `echo 'xy\c'` in
 
475
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
476
  xy)  ECHO_C='\c';;
 
477
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
478
       ECHO_T=' ';;
 
479
  esac;;
 
480
*)
 
481
  ECHO_N='-n';;
 
482
esac
 
483
 
 
484
rm -f conf$$ conf$$.exe conf$$.file
 
485
if test -d conf$$.dir; then
 
486
  rm -f conf$$.dir/conf$$.file
 
487
else
 
488
  rm -f conf$$.dir
 
489
  mkdir conf$$.dir 2>/dev/null
 
490
fi
 
491
if (echo >conf$$.file) 2>/dev/null; then
 
492
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
493
    as_ln_s='ln -s'
 
494
    # ... but there are two gotchas:
 
495
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
496
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
497
    # In both cases, we have to default to `cp -p'.
 
498
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
499
      as_ln_s='cp -p'
 
500
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
501
    as_ln_s=ln
 
502
  else
 
503
    as_ln_s='cp -p'
 
504
  fi
 
505
else
 
506
  as_ln_s='cp -p'
 
507
fi
 
508
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
509
rmdir conf$$.dir 2>/dev/null
 
510
 
 
511
if mkdir -p . 2>/dev/null; then
 
512
  as_mkdir_p='mkdir -p "$as_dir"'
 
513
else
 
514
  test -d ./-p && rmdir ./-p
 
515
  as_mkdir_p=false
 
516
fi
 
517
 
 
518
if test -x / >/dev/null 2>&1; then
 
519
  as_test_x='test -x'
 
520
else
 
521
  if ls -dL / >/dev/null 2>&1; then
 
522
    as_ls_L_option=L
 
523
  else
 
524
    as_ls_L_option=
 
525
  fi
 
526
  as_test_x='
 
527
    eval sh -c '\''
 
528
      if test -d "$1"; then
 
529
        test -d "$1/.";
 
530
      else
 
531
        case $1 in #(
 
532
        -*)set "./$1";;
 
533
        esac;
 
534
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 
535
        ???[sx]*):;;*)false;;esac;fi
 
536
    '\'' sh
 
537
  '
 
538
fi
 
539
as_executable_p=$as_test_x
 
540
 
 
541
# Sed expression to map a string onto a valid CPP name.
 
542
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
543
 
 
544
# Sed expression to map a string onto a valid variable name.
 
545
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
546
 
 
547
SHELL=${CONFIG_SHELL-/bin/sh}
 
548
 
 
549
 
 
550
test -n "$DJDIR" || exec 7<&0 </dev/null
 
551
exec 6>&1
 
552
 
 
553
# Name of the host.
 
554
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
 
555
# so uname gets run too.
 
556
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
 
557
 
 
558
#
 
559
# Initializations.
 
560
#
 
561
ac_default_prefix=/usr/local
 
562
ac_clean_files=
 
563
ac_config_libobj_dir=.
 
564
LIBOBJS=
 
565
cross_compiling=no
 
566
subdirs=
 
567
MFLAGS=
 
568
MAKEFLAGS=
 
569
 
 
570
# Identity of this package.
 
571
PACKAGE_NAME='lyricue'
 
572
PACKAGE_TARNAME='lyricue'
 
573
PACKAGE_VERSION='3.0.36'
 
574
PACKAGE_STRING='lyricue 3.0.36'
 
575
PACKAGE_BUGREPORT='http://www.lyricue.org'
 
576
PACKAGE_URL=''
 
577
 
 
578
# Factoring default headers for most tests.
 
579
ac_includes_default="\
 
580
#include <stdio.h>
 
581
#ifdef HAVE_SYS_TYPES_H
 
582
# include <sys/types.h>
 
583
#endif
 
584
#ifdef HAVE_SYS_STAT_H
 
585
# include <sys/stat.h>
 
586
#endif
 
587
#ifdef STDC_HEADERS
 
588
# include <stdlib.h>
 
589
# include <stddef.h>
 
590
#else
 
591
# ifdef HAVE_STDLIB_H
 
592
#  include <stdlib.h>
 
593
# endif
 
594
#endif
 
595
#ifdef HAVE_STRING_H
 
596
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
 
597
#  include <memory.h>
 
598
# endif
 
599
# include <string.h>
 
600
#endif
 
601
#ifdef HAVE_STRINGS_H
 
602
# include <strings.h>
 
603
#endif
 
604
#ifdef HAVE_INTTYPES_H
 
605
# include <inttypes.h>
 
606
#endif
 
607
#ifdef HAVE_STDINT_H
 
608
# include <stdint.h>
 
609
#endif
 
610
#ifdef HAVE_UNISTD_H
 
611
# include <unistd.h>
 
612
#endif"
 
613
 
 
614
ac_subst_vars='am__EXEEXT_FALSE
 
615
am__EXEEXT_TRUE
 
616
LTLIBOBJS
 
617
LIBOBJS
 
618
GSTREAMER_LIBS
 
619
GSTREAMER_CFLAGS
 
620
CLUTTERGST_LIBS
 
621
CLUTTERGST_CFLAGS
 
622
CLUTTERGTK_LIBS
 
623
CLUTTERGTK_CFLAGS
 
624
CLUTTER_LIBS
 
625
CLUTTER_CFLAGS
 
626
PKG_CONFIG_LIBDIR
 
627
PKG_CONFIG_PATH
 
628
PKG_CONFIG
 
629
OTOOL64
 
630
OTOOL
 
631
LIPO
 
632
NMEDIT
 
633
DSYMUTIL
 
634
MANIFEST_TOOL
 
635
RANLIB
 
636
ac_ct_AR
 
637
AR
 
638
DLLTOOL
 
639
OBJDUMP
 
640
LN_S
 
641
NM
 
642
ac_ct_DUMPBIN
 
643
DUMPBIN
 
644
LD
 
645
FGREP
 
646
SED
 
647
host_os
 
648
host_vendor
 
649
host_cpu
 
650
host
 
651
build_os
 
652
build_vendor
 
653
build_cpu
 
654
build
 
655
LIBTOOL
 
656
ALL_LINGUAS
 
657
INTLTOOL_PERL
 
658
MSGMERGE
 
659
INTLTOOL_POLICY_RULE
 
660
INTLTOOL_SERVICE_RULE
 
661
INTLTOOL_THEME_RULE
 
662
INTLTOOL_SCHEMAS_RULE
 
663
INTLTOOL_CAVES_RULE
 
664
INTLTOOL_XML_NOMERGE_RULE
 
665
INTLTOOL_XML_RULE
 
666
INTLTOOL_KBD_RULE
 
667
INTLTOOL_XAM_RULE
 
668
INTLTOOL_UI_RULE
 
669
INTLTOOL_SOUNDLIST_RULE
 
670
INTLTOOL_SHEET_RULE
 
671
INTLTOOL_SERVER_RULE
 
672
INTLTOOL_PONG_RULE
 
673
INTLTOOL_OAF_RULE
 
674
INTLTOOL_PROP_RULE
 
675
INTLTOOL_KEYS_RULE
 
676
INTLTOOL_DIRECTORY_RULE
 
677
INTLTOOL_DESKTOP_RULE
 
678
INTLTOOL_EXTRACT
 
679
INTLTOOL_MERGE
 
680
INTLTOOL_UPDATE
 
681
MKINSTALLDIRS
 
682
POSUB
 
683
POFILES
 
684
PO_IN_DATADIR_FALSE
 
685
PO_IN_DATADIR_TRUE
 
686
INTLLIBS
 
687
INSTOBJEXT
 
688
GMOFILES
 
689
DATADIRNAME
 
690
CATOBJEXT
 
691
CATALOGS
 
692
XGETTEXT
 
693
GMSGFMT
 
694
MSGFMT_OPTS
 
695
MSGFMT
 
696
USE_NLS
 
697
GETTEXT_PACKAGE
 
698
EGREP
 
699
GREP
 
700
CPP
 
701
am__fastdepCC_FALSE
 
702
am__fastdepCC_TRUE
 
703
CCDEPMODE
 
704
AMDEPBACKSLASH
 
705
AMDEP_FALSE
 
706
AMDEP_TRUE
 
707
am__quote
 
708
am__include
 
709
DEPDIR
 
710
OBJEXT
 
711
EXEEXT
 
712
ac_ct_CC
 
713
CPPFLAGS
 
714
LDFLAGS
 
715
CC
 
716
MAINT
 
717
MAINTAINER_MODE_FALSE
 
718
MAINTAINER_MODE_TRUE
 
719
am__untar
 
720
am__tar
 
721
AMTAR
 
722
am__leading_dot
 
723
SET_MAKE
 
724
AWK
 
725
mkdir_p
 
726
MKDIR_P
 
727
INSTALL_STRIP_PROGRAM
 
728
STRIP
 
729
install_sh
 
730
MAKEINFO
 
731
AUTOHEADER
 
732
AUTOMAKE
 
733
AUTOCONF
 
734
ACLOCAL
 
735
VERSION
 
736
PACKAGE
 
737
CYGPATH_W
 
738
am__isrc
 
739
INSTALL_DATA
 
740
INSTALL_SCRIPT
 
741
INSTALL_PROGRAM
 
742
AM_BACKSLASH
 
743
AM_DEFAULT_VERBOSITY
 
744
CFLAGS
 
745
target_alias
 
746
host_alias
 
747
build_alias
 
748
LIBS
 
749
ECHO_T
 
750
ECHO_N
 
751
ECHO_C
 
752
DEFS
 
753
mandir
 
754
localedir
 
755
libdir
 
756
psdir
 
757
pdfdir
 
758
dvidir
 
759
htmldir
 
760
infodir
 
761
docdir
 
762
oldincludedir
 
763
includedir
 
764
localstatedir
 
765
sharedstatedir
 
766
sysconfdir
 
767
datadir
 
768
datarootdir
 
769
libexecdir
 
770
sbindir
 
771
bindir
 
772
program_transform_name
 
773
prefix
 
774
exec_prefix
 
775
PACKAGE_URL
 
776
PACKAGE_BUGREPORT
 
777
PACKAGE_STRING
 
778
PACKAGE_VERSION
 
779
PACKAGE_TARNAME
 
780
PACKAGE_NAME
 
781
PATH_SEPARATOR
 
782
SHELL'
 
783
ac_subst_files=''
 
784
ac_user_opts='
 
785
enable_option_checking
 
786
enable_silent_rules
 
787
enable_maintainer_mode
 
788
enable_dependency_tracking
 
789
enable_nls
 
790
enable_shared
 
791
enable_static
 
792
with_pic
 
793
enable_fast_install
 
794
with_gnu_ld
 
795
with_sysroot
 
796
enable_libtool_lock
 
797
'
 
798
      ac_precious_vars='build_alias
 
799
host_alias
 
800
target_alias
 
801
CC
 
802
CFLAGS
 
803
LDFLAGS
 
804
LIBS
 
805
CPPFLAGS
 
806
CPP
 
807
PKG_CONFIG
 
808
PKG_CONFIG_PATH
 
809
PKG_CONFIG_LIBDIR
 
810
CLUTTER_CFLAGS
 
811
CLUTTER_LIBS
 
812
CLUTTERGTK_CFLAGS
 
813
CLUTTERGTK_LIBS
 
814
CLUTTERGST_CFLAGS
 
815
CLUTTERGST_LIBS
 
816
GSTREAMER_CFLAGS
 
817
GSTREAMER_LIBS'
 
818
 
 
819
 
 
820
# Initialize some variables set by options.
 
821
ac_init_help=
 
822
ac_init_version=false
 
823
ac_unrecognized_opts=
 
824
ac_unrecognized_sep=
 
825
# The variables have the same names as the options, with
 
826
# dashes changed to underlines.
 
827
cache_file=/dev/null
 
828
exec_prefix=NONE
 
829
no_create=
 
830
no_recursion=
 
831
prefix=NONE
 
832
program_prefix=NONE
 
833
program_suffix=NONE
 
834
program_transform_name=s,x,x,
 
835
silent=
 
836
site=
 
837
srcdir=
 
838
verbose=
 
839
x_includes=NONE
 
840
x_libraries=NONE
 
841
 
 
842
# Installation directory options.
 
843
# These are left unexpanded so users can "make install exec_prefix=/foo"
 
844
# and all the variables that are supposed to be based on exec_prefix
 
845
# by default will actually change.
 
846
# Use braces instead of parens because sh, perl, etc. also accept them.
 
847
# (The list follows the same order as the GNU Coding Standards.)
 
848
bindir='${exec_prefix}/bin'
 
849
sbindir='${exec_prefix}/sbin'
 
850
libexecdir='${exec_prefix}/libexec'
 
851
datarootdir='${prefix}/share'
 
852
datadir='${datarootdir}'
 
853
sysconfdir='${prefix}/etc'
 
854
sharedstatedir='${prefix}/com'
 
855
localstatedir='${prefix}/var'
 
856
includedir='${prefix}/include'
 
857
oldincludedir='/usr/include'
 
858
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 
859
infodir='${datarootdir}/info'
 
860
htmldir='${docdir}'
 
861
dvidir='${docdir}'
 
862
pdfdir='${docdir}'
 
863
psdir='${docdir}'
 
864
libdir='${exec_prefix}/lib'
 
865
localedir='${datarootdir}/locale'
 
866
mandir='${datarootdir}/man'
 
867
 
 
868
ac_prev=
 
869
ac_dashdash=
 
870
for ac_option
 
871
do
 
872
  # If the previous option needs an argument, assign it.
 
873
  if test -n "$ac_prev"; then
 
874
    eval $ac_prev=\$ac_option
 
875
    ac_prev=
 
876
    continue
 
877
  fi
 
878
 
 
879
  case $ac_option in
 
880
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
881
  *=)   ac_optarg= ;;
 
882
  *)    ac_optarg=yes ;;
 
883
  esac
 
884
 
 
885
  # Accept the important Cygnus configure options, so we can diagnose typos.
 
886
 
 
887
  case $ac_dashdash$ac_option in
 
888
  --)
 
889
    ac_dashdash=yes ;;
 
890
 
 
891
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
 
892
    ac_prev=bindir ;;
 
893
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
 
894
    bindir=$ac_optarg ;;
 
895
 
 
896
  -build | --build | --buil | --bui | --bu)
 
897
    ac_prev=build_alias ;;
 
898
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
 
899
    build_alias=$ac_optarg ;;
 
900
 
 
901
  -cache-file | --cache-file | --cache-fil | --cache-fi \
 
902
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
 
903
    ac_prev=cache_file ;;
 
904
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
 
905
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
 
906
    cache_file=$ac_optarg ;;
 
907
 
 
908
  --config-cache | -C)
 
909
    cache_file=config.cache ;;
 
910
 
 
911
  -datadir | --datadir | --datadi | --datad)
 
912
    ac_prev=datadir ;;
 
913
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
 
914
    datadir=$ac_optarg ;;
 
915
 
 
916
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
917
  | --dataroo | --dataro | --datar)
 
918
    ac_prev=datarootdir ;;
 
919
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
920
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
921
    datarootdir=$ac_optarg ;;
 
922
 
 
923
  -disable-* | --disable-*)
 
924
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
925
    # Reject names that are not valid shell variable names.
 
926
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
927
      as_fn_error $? "invalid feature name: $ac_useropt"
 
928
    ac_useropt_orig=$ac_useropt
 
929
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
930
    case $ac_user_opts in
 
931
      *"
 
932
"enable_$ac_useropt"
 
933
"*) ;;
 
934
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
935
         ac_unrecognized_sep=', ';;
 
936
    esac
 
937
    eval enable_$ac_useropt=no ;;
 
938
 
 
939
  -docdir | --docdir | --docdi | --doc | --do)
 
940
    ac_prev=docdir ;;
 
941
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
942
    docdir=$ac_optarg ;;
 
943
 
 
944
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
945
    ac_prev=dvidir ;;
 
946
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
947
    dvidir=$ac_optarg ;;
 
948
 
 
949
  -enable-* | --enable-*)
 
950
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
951
    # Reject names that are not valid shell variable names.
 
952
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
953
      as_fn_error $? "invalid feature name: $ac_useropt"
 
954
    ac_useropt_orig=$ac_useropt
 
955
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
956
    case $ac_user_opts in
 
957
      *"
 
958
"enable_$ac_useropt"
 
959
"*) ;;
 
960
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
961
         ac_unrecognized_sep=', ';;
 
962
    esac
 
963
    eval enable_$ac_useropt=\$ac_optarg ;;
 
964
 
 
965
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 
966
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 
967
  | --exec | --exe | --ex)
 
968
    ac_prev=exec_prefix ;;
 
969
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 
970
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 
971
  | --exec=* | --exe=* | --ex=*)
 
972
    exec_prefix=$ac_optarg ;;
 
973
 
 
974
  -gas | --gas | --ga | --g)
 
975
    # Obsolete; use --with-gas.
 
976
    with_gas=yes ;;
 
977
 
 
978
  -help | --help | --hel | --he | -h)
 
979
    ac_init_help=long ;;
 
980
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
 
981
    ac_init_help=recursive ;;
 
982
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
 
983
    ac_init_help=short ;;
 
984
 
 
985
  -host | --host | --hos | --ho)
 
986
    ac_prev=host_alias ;;
 
987
  -host=* | --host=* | --hos=* | --ho=*)
 
988
    host_alias=$ac_optarg ;;
 
989
 
 
990
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
991
    ac_prev=htmldir ;;
 
992
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
993
  | --ht=*)
 
994
    htmldir=$ac_optarg ;;
 
995
 
 
996
  -includedir | --includedir | --includedi | --included | --include \
 
997
  | --includ | --inclu | --incl | --inc)
 
998
    ac_prev=includedir ;;
 
999
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 
1000
  | --includ=* | --inclu=* | --incl=* | --inc=*)
 
1001
    includedir=$ac_optarg ;;
 
1002
 
 
1003
  -infodir | --infodir | --infodi | --infod | --info | --inf)
 
1004
    ac_prev=infodir ;;
 
1005
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 
1006
    infodir=$ac_optarg ;;
 
1007
 
 
1008
  -libdir | --libdir | --libdi | --libd)
 
1009
    ac_prev=libdir ;;
 
1010
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
 
1011
    libdir=$ac_optarg ;;
 
1012
 
 
1013
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 
1014
  | --libexe | --libex | --libe)
 
1015
    ac_prev=libexecdir ;;
 
1016
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 
1017
  | --libexe=* | --libex=* | --libe=*)
 
1018
    libexecdir=$ac_optarg ;;
 
1019
 
 
1020
  -localedir | --localedir | --localedi | --localed | --locale)
 
1021
    ac_prev=localedir ;;
 
1022
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
1023
    localedir=$ac_optarg ;;
 
1024
 
 
1025
  -localstatedir | --localstatedir | --localstatedi | --localstated \
 
1026
  | --localstate | --localstat | --localsta | --localst | --locals)
 
1027
    ac_prev=localstatedir ;;
 
1028
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 
1029
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 
1030
    localstatedir=$ac_optarg ;;
 
1031
 
 
1032
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 
1033
    ac_prev=mandir ;;
 
1034
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 
1035
    mandir=$ac_optarg ;;
 
1036
 
 
1037
  -nfp | --nfp | --nf)
 
1038
    # Obsolete; use --without-fp.
 
1039
    with_fp=no ;;
 
1040
 
 
1041
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 
1042
  | --no-cr | --no-c | -n)
 
1043
    no_create=yes ;;
 
1044
 
 
1045
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 
1046
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 
1047
    no_recursion=yes ;;
 
1048
 
 
1049
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 
1050
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 
1051
  | --oldin | --oldi | --old | --ol | --o)
 
1052
    ac_prev=oldincludedir ;;
 
1053
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 
1054
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 
1055
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 
1056
    oldincludedir=$ac_optarg ;;
 
1057
 
 
1058
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 
1059
    ac_prev=prefix ;;
 
1060
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 
1061
    prefix=$ac_optarg ;;
 
1062
 
 
1063
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
 
1064
  | --program-pre | --program-pr | --program-p)
 
1065
    ac_prev=program_prefix ;;
 
1066
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
 
1067
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 
1068
    program_prefix=$ac_optarg ;;
 
1069
 
 
1070
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
 
1071
  | --program-suf | --program-su | --program-s)
 
1072
    ac_prev=program_suffix ;;
 
1073
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
 
1074
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 
1075
    program_suffix=$ac_optarg ;;
 
1076
 
 
1077
  -program-transform-name | --program-transform-name \
 
1078
  | --program-transform-nam | --program-transform-na \
 
1079
  | --program-transform-n | --program-transform- \
 
1080
  | --program-transform | --program-transfor \
 
1081
  | --program-transfo | --program-transf \
 
1082
  | --program-trans | --program-tran \
 
1083
  | --progr-tra | --program-tr | --program-t)
 
1084
    ac_prev=program_transform_name ;;
 
1085
  -program-transform-name=* | --program-transform-name=* \
 
1086
  | --program-transform-nam=* | --program-transform-na=* \
 
1087
  | --program-transform-n=* | --program-transform-=* \
 
1088
  | --program-transform=* | --program-transfor=* \
 
1089
  | --program-transfo=* | --program-transf=* \
 
1090
  | --program-trans=* | --program-tran=* \
 
1091
  | --progr-tra=* | --program-tr=* | --program-t=*)
 
1092
    program_transform_name=$ac_optarg ;;
 
1093
 
 
1094
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1095
    ac_prev=pdfdir ;;
 
1096
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1097
    pdfdir=$ac_optarg ;;
 
1098
 
 
1099
  -psdir | --psdir | --psdi | --psd | --ps)
 
1100
    ac_prev=psdir ;;
 
1101
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1102
    psdir=$ac_optarg ;;
 
1103
 
 
1104
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
1105
  | -silent | --silent | --silen | --sile | --sil)
 
1106
    silent=yes ;;
 
1107
 
 
1108
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 
1109
    ac_prev=sbindir ;;
 
1110
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 
1111
  | --sbi=* | --sb=*)
 
1112
    sbindir=$ac_optarg ;;
 
1113
 
 
1114
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
 
1115
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 
1116
  | --sharedst | --shareds | --shared | --share | --shar \
 
1117
  | --sha | --sh)
 
1118
    ac_prev=sharedstatedir ;;
 
1119
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 
1120
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 
1121
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 
1122
  | --sha=* | --sh=*)
 
1123
    sharedstatedir=$ac_optarg ;;
 
1124
 
 
1125
  -site | --site | --sit)
 
1126
    ac_prev=site ;;
 
1127
  -site=* | --site=* | --sit=*)
 
1128
    site=$ac_optarg ;;
 
1129
 
 
1130
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 
1131
    ac_prev=srcdir ;;
 
1132
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 
1133
    srcdir=$ac_optarg ;;
 
1134
 
 
1135
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 
1136
  | --syscon | --sysco | --sysc | --sys | --sy)
 
1137
    ac_prev=sysconfdir ;;
 
1138
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 
1139
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 
1140
    sysconfdir=$ac_optarg ;;
 
1141
 
 
1142
  -target | --target | --targe | --targ | --tar | --ta | --t)
 
1143
    ac_prev=target_alias ;;
 
1144
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 
1145
    target_alias=$ac_optarg ;;
 
1146
 
 
1147
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
 
1148
    verbose=yes ;;
 
1149
 
 
1150
  -version | --version | --versio | --versi | --vers | -V)
 
1151
    ac_init_version=: ;;
 
1152
 
 
1153
  -with-* | --with-*)
 
1154
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1155
    # Reject names that are not valid shell variable names.
 
1156
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1157
      as_fn_error $? "invalid package name: $ac_useropt"
 
1158
    ac_useropt_orig=$ac_useropt
 
1159
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1160
    case $ac_user_opts in
 
1161
      *"
 
1162
"with_$ac_useropt"
 
1163
"*) ;;
 
1164
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1165
         ac_unrecognized_sep=', ';;
 
1166
    esac
 
1167
    eval with_$ac_useropt=\$ac_optarg ;;
 
1168
 
 
1169
  -without-* | --without-*)
 
1170
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1171
    # Reject names that are not valid shell variable names.
 
1172
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1173
      as_fn_error $? "invalid package name: $ac_useropt"
 
1174
    ac_useropt_orig=$ac_useropt
 
1175
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1176
    case $ac_user_opts in
 
1177
      *"
 
1178
"with_$ac_useropt"
 
1179
"*) ;;
 
1180
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1181
         ac_unrecognized_sep=', ';;
 
1182
    esac
 
1183
    eval with_$ac_useropt=no ;;
 
1184
 
 
1185
  --x)
 
1186
    # Obsolete; use --with-x.
 
1187
    with_x=yes ;;
 
1188
 
 
1189
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 
1190
  | --x-incl | --x-inc | --x-in | --x-i)
 
1191
    ac_prev=x_includes ;;
 
1192
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 
1193
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 
1194
    x_includes=$ac_optarg ;;
 
1195
 
 
1196
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
 
1197
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 
1198
    ac_prev=x_libraries ;;
 
1199
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 
1200
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 
1201
    x_libraries=$ac_optarg ;;
 
1202
 
 
1203
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 
1204
Try \`$0 --help' for more information"
 
1205
    ;;
 
1206
 
 
1207
  *=*)
 
1208
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 
1209
    # Reject names that are not valid shell variable names.
 
1210
    case $ac_envvar in #(
 
1211
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1212
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 
1213
    esac
 
1214
    eval $ac_envvar=\$ac_optarg
 
1215
    export $ac_envvar ;;
 
1216
 
 
1217
  *)
 
1218
    # FIXME: should be removed in autoconf 3.0.
 
1219
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1220
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
1221
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1222
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
 
1223
    ;;
 
1224
 
 
1225
  esac
 
1226
done
 
1227
 
 
1228
if test -n "$ac_prev"; then
 
1229
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 
1230
  as_fn_error $? "missing argument to $ac_option"
 
1231
fi
 
1232
 
 
1233
if test -n "$ac_unrecognized_opts"; then
 
1234
  case $enable_option_checking in
 
1235
    no) ;;
 
1236
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
 
1237
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1238
  esac
 
1239
fi
 
1240
 
 
1241
# Check all directory arguments for consistency.
 
1242
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1243
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1244
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1245
                libdir localedir mandir
 
1246
do
 
1247
  eval ac_val=\$$ac_var
 
1248
  # Remove trailing slashes.
 
1249
  case $ac_val in
 
1250
    */ )
 
1251
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1252
      eval $ac_var=\$ac_val;;
 
1253
  esac
 
1254
  # Be sure to have absolute directory names.
 
1255
  case $ac_val in
 
1256
    [\\/$]* | ?:[\\/]* )  continue;;
 
1257
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1258
  esac
 
1259
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
 
1260
done
 
1261
 
 
1262
# There might be people who depend on the old broken behavior: `$host'
 
1263
# used to hold the argument of --host etc.
 
1264
# FIXME: To remove some day.
 
1265
build=$build_alias
 
1266
host=$host_alias
 
1267
target=$target_alias
 
1268
 
 
1269
# FIXME: To remove some day.
 
1270
if test "x$host_alias" != x; then
 
1271
  if test "x$build_alias" = x; then
 
1272
    cross_compiling=maybe
 
1273
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 
1274
    If a cross compiler is detected then cross compile mode will be used" >&2
 
1275
  elif test "x$build_alias" != "x$host_alias"; then
 
1276
    cross_compiling=yes
 
1277
  fi
 
1278
fi
 
1279
 
 
1280
ac_tool_prefix=
 
1281
test -n "$host_alias" && ac_tool_prefix=$host_alias-
 
1282
 
 
1283
test "$silent" = yes && exec 6>/dev/null
 
1284
 
 
1285
 
 
1286
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1287
ac_ls_di=`ls -di .` &&
 
1288
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1289
  as_fn_error $? "working directory cannot be determined"
 
1290
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1291
  as_fn_error $? "pwd does not report name of working directory"
 
1292
 
 
1293
 
 
1294
# Find the source files, if location was not specified.
 
1295
if test -z "$srcdir"; then
 
1296
  ac_srcdir_defaulted=yes
 
1297
  # Try the directory containing this script, then the parent directory.
 
1298
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1299
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1300
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1301
         X"$as_myself" : 'X\(//\)$' \| \
 
1302
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1303
$as_echo X"$as_myself" |
 
1304
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1305
            s//\1/
 
1306
            q
 
1307
          }
 
1308
          /^X\(\/\/\)[^/].*/{
 
1309
            s//\1/
 
1310
            q
 
1311
          }
 
1312
          /^X\(\/\/\)$/{
 
1313
            s//\1/
 
1314
            q
 
1315
          }
 
1316
          /^X\(\/\).*/{
 
1317
            s//\1/
 
1318
            q
 
1319
          }
 
1320
          s/.*/./; q'`
 
1321
  srcdir=$ac_confdir
 
1322
  if test ! -r "$srcdir/$ac_unique_file"; then
 
1323
    srcdir=..
 
1324
  fi
 
1325
else
 
1326
  ac_srcdir_defaulted=no
 
1327
fi
 
1328
if test ! -r "$srcdir/$ac_unique_file"; then
 
1329
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1330
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
 
1331
fi
 
1332
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1333
ac_abs_confdir=`(
 
1334
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
 
1335
        pwd)`
 
1336
# When building in place, set srcdir=.
 
1337
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1338
  srcdir=.
 
1339
fi
 
1340
# Remove unnecessary trailing slashes from srcdir.
 
1341
# Double slashes in file names in object file debugging info
 
1342
# mess up M-x gdb in Emacs.
 
1343
case $srcdir in
 
1344
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1345
esac
 
1346
for ac_var in $ac_precious_vars; do
 
1347
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1348
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1349
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1350
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1351
done
 
1352
 
 
1353
#
 
1354
# Report the --help message.
 
1355
#
 
1356
if test "$ac_init_help" = "long"; then
 
1357
  # Omit some internal or obsolete options to make the list less imposing.
 
1358
  # This message is too long to be a string in the A/UX 3.1 sh.
 
1359
  cat <<_ACEOF
 
1360
\`configure' configures lyricue 3.0.36 to adapt to many kinds of systems.
 
1361
 
 
1362
Usage: $0 [OPTION]... [VAR=VALUE]...
 
1363
 
 
1364
To assign environment variables (e.g., CC, CFLAGS...), specify them as
 
1365
VAR=VALUE.  See below for descriptions of some of the useful variables.
 
1366
 
 
1367
Defaults for the options are specified in brackets.
 
1368
 
 
1369
Configuration:
 
1370
  -h, --help              display this help and exit
 
1371
      --help=short        display options specific to this package
 
1372
      --help=recursive    display the short help of all the included packages
 
1373
  -V, --version           display version information and exit
 
1374
  -q, --quiet, --silent   do not print \`checking ...' messages
 
1375
      --cache-file=FILE   cache test results in FILE [disabled]
 
1376
  -C, --config-cache      alias for \`--cache-file=config.cache'
 
1377
  -n, --no-create         do not create output files
 
1378
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 
1379
 
 
1380
Installation directories:
 
1381
  --prefix=PREFIX         install architecture-independent files in PREFIX
 
1382
                          [$ac_default_prefix]
 
1383
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 
1384
                          [PREFIX]
 
1385
 
 
1386
By default, \`make install' will install all the files in
 
1387
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 
1388
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 
1389
for instance \`--prefix=\$HOME'.
 
1390
 
 
1391
For better control, use the options below.
 
1392
 
 
1393
Fine tuning of the installation directories:
 
1394
  --bindir=DIR            user executables [EPREFIX/bin]
 
1395
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1396
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1397
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1398
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1399
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1400
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1401
  --includedir=DIR        C header files [PREFIX/include]
 
1402
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1403
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1404
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1405
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1406
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1407
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1408
  --docdir=DIR            documentation root [DATAROOTDIR/doc/lyricue]
 
1409
  --htmldir=DIR           html documentation [DOCDIR]
 
1410
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1411
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1412
  --psdir=DIR             ps documentation [DOCDIR]
 
1413
_ACEOF
 
1414
 
 
1415
  cat <<\_ACEOF
 
1416
 
 
1417
Program names:
 
1418
  --program-prefix=PREFIX            prepend PREFIX to installed program names
 
1419
  --program-suffix=SUFFIX            append SUFFIX to installed program names
 
1420
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 
1421
 
 
1422
System types:
 
1423
  --build=BUILD     configure for building on BUILD [guessed]
 
1424
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 
1425
_ACEOF
 
1426
fi
 
1427
 
 
1428
if test -n "$ac_init_help"; then
 
1429
  case $ac_init_help in
 
1430
     short | recursive ) echo "Configuration of lyricue 3.0.36:";;
 
1431
   esac
 
1432
  cat <<\_ACEOF
 
1433
 
 
1434
Optional Features:
 
1435
  --disable-option-checking  ignore unrecognized --enable/--with options
 
1436
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 
1437
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 
1438
  --enable-silent-rules          less verbose build output (undo: `make V=1')
 
1439
  --disable-silent-rules         verbose build output (undo: `make V=0')
 
1440
  --enable-maintainer-mode  enable make rules and dependencies not useful
 
1441
                          (and sometimes confusing) to the casual installer
 
1442
  --disable-dependency-tracking  speeds up one-time build
 
1443
  --enable-dependency-tracking   do not reject slow dependency extractors
 
1444
  --disable-nls           do not use Native Language Support
 
1445
  --enable-shared[=PKGS]  build shared libraries [default=yes]
 
1446
  --enable-static[=PKGS]  build static libraries [default=yes]
 
1447
  --enable-fast-install[=PKGS]
 
1448
                          optimize for fast installation [default=yes]
 
1449
  --disable-libtool-lock  avoid locking (might break parallel builds)
 
1450
 
 
1451
Optional Packages:
 
1452
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 
1453
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 
1454
  --with-pic              try to use only PIC/non-PIC objects [default=use
 
1455
                          both]
 
1456
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
1457
  --with-sysroot=DIR Search for dependent libraries within DIR
 
1458
                        (or the compiler's sysroot if not specified).
 
1459
 
 
1460
Some influential environment variables:
 
1461
  CC          C compiler command
 
1462
  CFLAGS      C compiler flags
 
1463
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 
1464
              nonstandard directory <lib dir>
 
1465
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1466
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
 
1467
              you have headers in a nonstandard directory <include dir>
 
1468
  CPP         C preprocessor
 
1469
  PKG_CONFIG  path to pkg-config utility
 
1470
  PKG_CONFIG_PATH
 
1471
              directories to add to pkg-config's search path
 
1472
  PKG_CONFIG_LIBDIR
 
1473
              path overriding pkg-config's built-in search path
 
1474
  CLUTTER_CFLAGS
 
1475
              C compiler flags for CLUTTER, overriding pkg-config
 
1476
  CLUTTER_LIBS
 
1477
              linker flags for CLUTTER, overriding pkg-config
 
1478
  CLUTTERGTK_CFLAGS
 
1479
              C compiler flags for CLUTTERGTK, overriding pkg-config
 
1480
  CLUTTERGTK_LIBS
 
1481
              linker flags for CLUTTERGTK, overriding pkg-config
 
1482
  CLUTTERGST_CFLAGS
 
1483
              C compiler flags for CLUTTERGST, overriding pkg-config
 
1484
  CLUTTERGST_LIBS
 
1485
              linker flags for CLUTTERGST, overriding pkg-config
 
1486
  GSTREAMER_CFLAGS
 
1487
              C compiler flags for GSTREAMER, overriding pkg-config
 
1488
  GSTREAMER_LIBS
 
1489
              linker flags for GSTREAMER, overriding pkg-config
 
1490
 
 
1491
Use these variables to override the choices made by `configure' or to help
 
1492
it to find libraries and programs with nonstandard names/locations.
 
1493
 
 
1494
Report bugs to <http://www.lyricue.org>.
 
1495
_ACEOF
 
1496
ac_status=$?
 
1497
fi
 
1498
 
 
1499
if test "$ac_init_help" = "recursive"; then
 
1500
  # If there are subdirs, report their specific --help.
 
1501
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 
1502
    test -d "$ac_dir" ||
 
1503
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1504
      continue
 
1505
    ac_builddir=.
 
1506
 
 
1507
case "$ac_dir" in
 
1508
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1509
*)
 
1510
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
1511
  # A ".." for each directory in $ac_dir_suffix.
 
1512
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
1513
  case $ac_top_builddir_sub in
 
1514
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1515
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1516
  esac ;;
 
1517
esac
 
1518
ac_abs_top_builddir=$ac_pwd
 
1519
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1520
# for backward compatibility:
 
1521
ac_top_builddir=$ac_top_build_prefix
 
1522
 
 
1523
case $srcdir in
 
1524
  .)  # We are building in place.
 
1525
    ac_srcdir=.
 
1526
    ac_top_srcdir=$ac_top_builddir_sub
 
1527
    ac_abs_top_srcdir=$ac_pwd ;;
 
1528
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
1529
    ac_srcdir=$srcdir$ac_dir_suffix;
 
1530
    ac_top_srcdir=$srcdir
 
1531
    ac_abs_top_srcdir=$srcdir ;;
 
1532
  *) # Relative name.
 
1533
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1534
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1535
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1536
esac
 
1537
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1538
 
 
1539
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1540
    # Check for guested configure.
 
1541
    if test -f "$ac_srcdir/configure.gnu"; then
 
1542
      echo &&
 
1543
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1544
    elif test -f "$ac_srcdir/configure"; then
 
1545
      echo &&
 
1546
      $SHELL "$ac_srcdir/configure" --help=recursive
 
1547
    else
 
1548
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1549
    fi || ac_status=$?
 
1550
    cd "$ac_pwd" || { ac_status=$?; break; }
 
1551
  done
 
1552
fi
 
1553
 
 
1554
test -n "$ac_init_help" && exit $ac_status
 
1555
if $ac_init_version; then
 
1556
  cat <<\_ACEOF
 
1557
lyricue configure 3.0.36
 
1558
generated by GNU Autoconf 2.68
 
1559
 
 
1560
Copyright (C) 2010 Free Software Foundation, Inc.
 
1561
This configure script is free software; the Free Software Foundation
 
1562
gives unlimited permission to copy, distribute and modify it.
 
1563
_ACEOF
 
1564
  exit
 
1565
fi
 
1566
 
 
1567
## ------------------------ ##
 
1568
## Autoconf initialization. ##
 
1569
## ------------------------ ##
 
1570
 
 
1571
# ac_fn_c_try_compile LINENO
 
1572
# --------------------------
 
1573
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1574
ac_fn_c_try_compile ()
 
1575
{
 
1576
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1577
  rm -f conftest.$ac_objext
 
1578
  if { { ac_try="$ac_compile"
 
1579
case "(($ac_try" in
 
1580
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1581
  *) ac_try_echo=$ac_try;;
 
1582
esac
 
1583
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1584
$as_echo "$ac_try_echo"; } >&5
 
1585
  (eval "$ac_compile") 2>conftest.err
 
1586
  ac_status=$?
 
1587
  if test -s conftest.err; then
 
1588
    grep -v '^ *+' conftest.err >conftest.er1
 
1589
    cat conftest.er1 >&5
 
1590
    mv -f conftest.er1 conftest.err
 
1591
  fi
 
1592
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1593
  test $ac_status = 0; } && {
 
1594
         test -z "$ac_c_werror_flag" ||
 
1595
         test ! -s conftest.err
 
1596
       } && test -s conftest.$ac_objext; then :
 
1597
  ac_retval=0
 
1598
else
 
1599
  $as_echo "$as_me: failed program was:" >&5
 
1600
sed 's/^/| /' conftest.$ac_ext >&5
 
1601
 
 
1602
        ac_retval=1
 
1603
fi
 
1604
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1605
  as_fn_set_status $ac_retval
 
1606
 
 
1607
} # ac_fn_c_try_compile
 
1608
 
 
1609
# ac_fn_c_try_link LINENO
 
1610
# -----------------------
 
1611
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1612
ac_fn_c_try_link ()
 
1613
{
 
1614
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1615
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1616
  if { { ac_try="$ac_link"
 
1617
case "(($ac_try" in
 
1618
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1619
  *) ac_try_echo=$ac_try;;
 
1620
esac
 
1621
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1622
$as_echo "$ac_try_echo"; } >&5
 
1623
  (eval "$ac_link") 2>conftest.err
 
1624
  ac_status=$?
 
1625
  if test -s conftest.err; then
 
1626
    grep -v '^ *+' conftest.err >conftest.er1
 
1627
    cat conftest.er1 >&5
 
1628
    mv -f conftest.er1 conftest.err
 
1629
  fi
 
1630
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1631
  test $ac_status = 0; } && {
 
1632
         test -z "$ac_c_werror_flag" ||
 
1633
         test ! -s conftest.err
 
1634
       } && test -s conftest$ac_exeext && {
 
1635
         test "$cross_compiling" = yes ||
 
1636
         $as_test_x conftest$ac_exeext
 
1637
       }; then :
 
1638
  ac_retval=0
 
1639
else
 
1640
  $as_echo "$as_me: failed program was:" >&5
 
1641
sed 's/^/| /' conftest.$ac_ext >&5
 
1642
 
 
1643
        ac_retval=1
 
1644
fi
 
1645
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1646
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1647
  # interfere with the next link command; also delete a directory that is
 
1648
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1649
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1650
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1651
  as_fn_set_status $ac_retval
 
1652
 
 
1653
} # ac_fn_c_try_link
 
1654
 
 
1655
# ac_fn_c_try_cpp LINENO
 
1656
# ----------------------
 
1657
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1658
ac_fn_c_try_cpp ()
 
1659
{
 
1660
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1661
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1662
case "(($ac_try" in
 
1663
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1664
  *) ac_try_echo=$ac_try;;
 
1665
esac
 
1666
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1667
$as_echo "$ac_try_echo"; } >&5
 
1668
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1669
  ac_status=$?
 
1670
  if test -s conftest.err; then
 
1671
    grep -v '^ *+' conftest.err >conftest.er1
 
1672
    cat conftest.er1 >&5
 
1673
    mv -f conftest.er1 conftest.err
 
1674
  fi
 
1675
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1676
  test $ac_status = 0; } > conftest.i && {
 
1677
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1678
         test ! -s conftest.err
 
1679
       }; then :
 
1680
  ac_retval=0
 
1681
else
 
1682
  $as_echo "$as_me: failed program was:" >&5
 
1683
sed 's/^/| /' conftest.$ac_ext >&5
 
1684
 
 
1685
    ac_retval=1
 
1686
fi
 
1687
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1688
  as_fn_set_status $ac_retval
 
1689
 
 
1690
} # ac_fn_c_try_cpp
 
1691
 
 
1692
# ac_fn_c_try_run LINENO
 
1693
# ----------------------
 
1694
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
1695
# that executables *can* be run.
 
1696
ac_fn_c_try_run ()
 
1697
{
 
1698
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1699
  if { { ac_try="$ac_link"
 
1700
case "(($ac_try" in
 
1701
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1702
  *) ac_try_echo=$ac_try;;
 
1703
esac
 
1704
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1705
$as_echo "$ac_try_echo"; } >&5
 
1706
  (eval "$ac_link") 2>&5
 
1707
  ac_status=$?
 
1708
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1709
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1710
  { { case "(($ac_try" in
 
1711
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1712
  *) ac_try_echo=$ac_try;;
 
1713
esac
 
1714
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1715
$as_echo "$ac_try_echo"; } >&5
 
1716
  (eval "$ac_try") 2>&5
 
1717
  ac_status=$?
 
1718
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1719
  test $ac_status = 0; }; }; then :
 
1720
  ac_retval=0
 
1721
else
 
1722
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1723
       $as_echo "$as_me: failed program was:" >&5
 
1724
sed 's/^/| /' conftest.$ac_ext >&5
 
1725
 
 
1726
       ac_retval=$ac_status
 
1727
fi
 
1728
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1729
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1730
  as_fn_set_status $ac_retval
 
1731
 
 
1732
} # ac_fn_c_try_run
 
1733
 
 
1734
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 
1735
# -------------------------------------------------------
 
1736
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
1737
# the include files in INCLUDES and setting the cache variable VAR
 
1738
# accordingly.
 
1739
ac_fn_c_check_header_mongrel ()
 
1740
{
 
1741
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1742
  if eval \${$3+:} false; then :
 
1743
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1744
$as_echo_n "checking for $2... " >&6; }
 
1745
if eval \${$3+:} false; then :
 
1746
  $as_echo_n "(cached) " >&6
 
1747
fi
 
1748
eval ac_res=\$$3
 
1749
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1750
$as_echo "$ac_res" >&6; }
 
1751
else
 
1752
  # Is the header compilable?
 
1753
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
1754
$as_echo_n "checking $2 usability... " >&6; }
 
1755
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1756
/* end confdefs.h.  */
 
1757
$4
 
1758
#include <$2>
 
1759
_ACEOF
 
1760
if ac_fn_c_try_compile "$LINENO"; then :
 
1761
  ac_header_compiler=yes
 
1762
else
 
1763
  ac_header_compiler=no
 
1764
fi
 
1765
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1766
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
1767
$as_echo "$ac_header_compiler" >&6; }
 
1768
 
 
1769
# Is the header present?
 
1770
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
1771
$as_echo_n "checking $2 presence... " >&6; }
 
1772
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1773
/* end confdefs.h.  */
 
1774
#include <$2>
 
1775
_ACEOF
 
1776
if ac_fn_c_try_cpp "$LINENO"; then :
 
1777
  ac_header_preproc=yes
 
1778
else
 
1779
  ac_header_preproc=no
 
1780
fi
 
1781
rm -f conftest.err conftest.i conftest.$ac_ext
 
1782
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
1783
$as_echo "$ac_header_preproc" >&6; }
 
1784
 
 
1785
# So?  What about this header?
 
1786
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 
1787
  yes:no: )
 
1788
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
1789
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
1790
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
1791
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
1792
    ;;
 
1793
  no:yes:* )
 
1794
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
1795
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
1796
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
1797
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
1798
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
1799
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
1800
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
1801
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
1802
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
1803
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
1804
( $as_echo "## ------------------------------------- ##
 
1805
## Report this to http://www.lyricue.org ##
 
1806
## ------------------------------------- ##"
 
1807
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
1808
    ;;
 
1809
esac
 
1810
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1811
$as_echo_n "checking for $2... " >&6; }
 
1812
if eval \${$3+:} false; then :
 
1813
  $as_echo_n "(cached) " >&6
 
1814
else
 
1815
  eval "$3=\$ac_header_compiler"
 
1816
fi
 
1817
eval ac_res=\$$3
 
1818
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1819
$as_echo "$ac_res" >&6; }
 
1820
fi
 
1821
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1822
 
 
1823
} # ac_fn_c_check_header_mongrel
 
1824
 
 
1825
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1826
# -------------------------------------------------------
 
1827
# Tests whether HEADER exists and can be compiled using the include files in
 
1828
# INCLUDES, setting the cache variable VAR accordingly.
 
1829
ac_fn_c_check_header_compile ()
 
1830
{
 
1831
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1832
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1833
$as_echo_n "checking for $2... " >&6; }
 
1834
if eval \${$3+:} false; then :
 
1835
  $as_echo_n "(cached) " >&6
 
1836
else
 
1837
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1838
/* end confdefs.h.  */
 
1839
$4
 
1840
#include <$2>
 
1841
_ACEOF
 
1842
if ac_fn_c_try_compile "$LINENO"; then :
 
1843
  eval "$3=yes"
 
1844
else
 
1845
  eval "$3=no"
 
1846
fi
 
1847
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1848
fi
 
1849
eval ac_res=\$$3
 
1850
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1851
$as_echo "$ac_res" >&6; }
 
1852
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1853
 
 
1854
} # ac_fn_c_check_header_compile
 
1855
 
 
1856
# ac_fn_c_check_func LINENO FUNC VAR
 
1857
# ----------------------------------
 
1858
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
1859
ac_fn_c_check_func ()
 
1860
{
 
1861
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1862
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1863
$as_echo_n "checking for $2... " >&6; }
 
1864
if eval \${$3+:} false; then :
 
1865
  $as_echo_n "(cached) " >&6
 
1866
else
 
1867
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1868
/* end confdefs.h.  */
 
1869
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
1870
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
1871
#define $2 innocuous_$2
 
1872
 
 
1873
/* System header to define __stub macros and hopefully few prototypes,
 
1874
    which can conflict with char $2 (); below.
 
1875
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
1876
    <limits.h> exists even on freestanding compilers.  */
 
1877
 
 
1878
#ifdef __STDC__
 
1879
# include <limits.h>
 
1880
#else
 
1881
# include <assert.h>
 
1882
#endif
 
1883
 
 
1884
#undef $2
 
1885
 
 
1886
/* Override any GCC internal prototype to avoid an error.
 
1887
   Use char because int might match the return type of a GCC
 
1888
   builtin and then its argument prototype would still apply.  */
 
1889
#ifdef __cplusplus
 
1890
extern "C"
 
1891
#endif
 
1892
char $2 ();
 
1893
/* The GNU C library defines this for functions which it implements
 
1894
    to always fail with ENOSYS.  Some functions are actually named
 
1895
    something starting with __ and the normal name is an alias.  */
 
1896
#if defined __stub_$2 || defined __stub___$2
 
1897
choke me
 
1898
#endif
 
1899
 
 
1900
int
 
1901
main ()
 
1902
{
 
1903
return $2 ();
 
1904
  ;
 
1905
  return 0;
 
1906
}
 
1907
_ACEOF
 
1908
if ac_fn_c_try_link "$LINENO"; then :
 
1909
  eval "$3=yes"
 
1910
else
 
1911
  eval "$3=no"
 
1912
fi
 
1913
rm -f core conftest.err conftest.$ac_objext \
 
1914
    conftest$ac_exeext conftest.$ac_ext
 
1915
fi
 
1916
eval ac_res=\$$3
 
1917
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1918
$as_echo "$ac_res" >&6; }
 
1919
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1920
 
 
1921
} # ac_fn_c_check_func
 
1922
cat >config.log <<_ACEOF
 
1923
This file contains any messages produced by compilers while
 
1924
running configure, to aid debugging if configure makes a mistake.
 
1925
 
 
1926
It was created by lyricue $as_me 3.0.36, which was
 
1927
generated by GNU Autoconf 2.68.  Invocation command line was
 
1928
 
 
1929
  $ $0 $@
 
1930
 
 
1931
_ACEOF
 
1932
exec 5>>config.log
 
1933
{
 
1934
cat <<_ASUNAME
 
1935
## --------- ##
 
1936
## Platform. ##
 
1937
## --------- ##
 
1938
 
 
1939
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 
1940
uname -m = `(uname -m) 2>/dev/null || echo unknown`
 
1941
uname -r = `(uname -r) 2>/dev/null || echo unknown`
 
1942
uname -s = `(uname -s) 2>/dev/null || echo unknown`
 
1943
uname -v = `(uname -v) 2>/dev/null || echo unknown`
 
1944
 
 
1945
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 
1946
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 
1947
 
 
1948
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 
1949
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 
1950
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 
1951
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 
1952
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 
1953
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 
1954
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 
1955
 
 
1956
_ASUNAME
 
1957
 
 
1958
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1959
for as_dir in $PATH
 
1960
do
 
1961
  IFS=$as_save_IFS
 
1962
  test -z "$as_dir" && as_dir=.
 
1963
    $as_echo "PATH: $as_dir"
 
1964
  done
 
1965
IFS=$as_save_IFS
 
1966
 
 
1967
} >&5
 
1968
 
 
1969
cat >&5 <<_ACEOF
 
1970
 
 
1971
 
 
1972
## ----------- ##
 
1973
## Core tests. ##
 
1974
## ----------- ##
 
1975
 
 
1976
_ACEOF
 
1977
 
 
1978
 
 
1979
# Keep a trace of the command line.
 
1980
# Strip out --no-create and --no-recursion so they do not pile up.
 
1981
# Strip out --silent because we don't want to record it for future runs.
 
1982
# Also quote any args containing shell meta-characters.
 
1983
# Make two passes to allow for proper duplicate-argument suppression.
 
1984
ac_configure_args=
 
1985
ac_configure_args0=
 
1986
ac_configure_args1=
 
1987
ac_must_keep_next=false
 
1988
for ac_pass in 1 2
 
1989
do
 
1990
  for ac_arg
 
1991
  do
 
1992
    case $ac_arg in
 
1993
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 
1994
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
1995
    | -silent | --silent | --silen | --sile | --sil)
 
1996
      continue ;;
 
1997
    *\'*)
 
1998
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1999
    esac
 
2000
    case $ac_pass in
 
2001
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
 
2002
    2)
 
2003
      as_fn_append ac_configure_args1 " '$ac_arg'"
 
2004
      if test $ac_must_keep_next = true; then
 
2005
        ac_must_keep_next=false # Got value, back to normal.
 
2006
      else
 
2007
        case $ac_arg in
 
2008
          *=* | --config-cache | -C | -disable-* | --disable-* \
 
2009
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 
2010
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 
2011
          | -with-* | --with-* | -without-* | --without-* | --x)
 
2012
            case "$ac_configure_args0 " in
 
2013
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 
2014
            esac
 
2015
            ;;
 
2016
          -* ) ac_must_keep_next=true ;;
 
2017
        esac
 
2018
      fi
 
2019
      as_fn_append ac_configure_args " '$ac_arg'"
 
2020
      ;;
 
2021
    esac
 
2022
  done
 
2023
done
 
2024
{ ac_configure_args0=; unset ac_configure_args0;}
 
2025
{ ac_configure_args1=; unset ac_configure_args1;}
 
2026
 
 
2027
# When interrupted or exit'd, cleanup temporary files, and complete
 
2028
# config.log.  We remove comments because anyway the quotes in there
 
2029
# would cause problems or look ugly.
 
2030
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
2031
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 
2032
trap 'exit_status=$?
 
2033
  # Save into config.log some information that might help in debugging.
 
2034
  {
 
2035
    echo
 
2036
 
 
2037
    $as_echo "## ---------------- ##
 
2038
## Cache variables. ##
 
2039
## ---------------- ##"
 
2040
    echo
 
2041
    # The following way of writing the cache mishandles newlines in values,
 
2042
(
 
2043
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
2044
    eval ac_val=\$$ac_var
 
2045
    case $ac_val in #(
 
2046
    *${as_nl}*)
 
2047
      case $ac_var in #(
 
2048
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
2049
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
2050
      esac
 
2051
      case $ac_var in #(
 
2052
      _ | IFS | as_nl) ;; #(
 
2053
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
2054
      *) { eval $ac_var=; unset $ac_var;} ;;
 
2055
      esac ;;
 
2056
    esac
 
2057
  done
 
2058
  (set) 2>&1 |
 
2059
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
2060
    *${as_nl}ac_space=\ *)
 
2061
      sed -n \
 
2062
        "s/'\''/'\''\\\\'\'''\''/g;
 
2063
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
2064
      ;; #(
 
2065
    *)
 
2066
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
2067
      ;;
 
2068
    esac |
 
2069
    sort
 
2070
)
 
2071
    echo
 
2072
 
 
2073
    $as_echo "## ----------------- ##
 
2074
## Output variables. ##
 
2075
## ----------------- ##"
 
2076
    echo
 
2077
    for ac_var in $ac_subst_vars
 
2078
    do
 
2079
      eval ac_val=\$$ac_var
 
2080
      case $ac_val in
 
2081
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2082
      esac
 
2083
      $as_echo "$ac_var='\''$ac_val'\''"
 
2084
    done | sort
 
2085
    echo
 
2086
 
 
2087
    if test -n "$ac_subst_files"; then
 
2088
      $as_echo "## ------------------- ##
 
2089
## File substitutions. ##
 
2090
## ------------------- ##"
 
2091
      echo
 
2092
      for ac_var in $ac_subst_files
 
2093
      do
 
2094
        eval ac_val=\$$ac_var
 
2095
        case $ac_val in
 
2096
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2097
        esac
 
2098
        $as_echo "$ac_var='\''$ac_val'\''"
 
2099
      done | sort
 
2100
      echo
 
2101
    fi
 
2102
 
 
2103
    if test -s confdefs.h; then
 
2104
      $as_echo "## ----------- ##
 
2105
## confdefs.h. ##
 
2106
## ----------- ##"
 
2107
      echo
 
2108
      cat confdefs.h
 
2109
      echo
 
2110
    fi
 
2111
    test "$ac_signal" != 0 &&
 
2112
      $as_echo "$as_me: caught signal $ac_signal"
 
2113
    $as_echo "$as_me: exit $exit_status"
 
2114
  } >&5
 
2115
  rm -f core *.core core.conftest.* &&
 
2116
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 
2117
    exit $exit_status
 
2118
' 0
 
2119
for ac_signal in 1 2 13 15; do
 
2120
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
 
2121
done
 
2122
ac_signal=0
 
2123
 
 
2124
# confdefs.h avoids OS command line length limits that DEFS can exceed.
 
2125
rm -f -r conftest* confdefs.h
 
2126
 
 
2127
$as_echo "/* confdefs.h */" > confdefs.h
 
2128
 
 
2129
# Predefined preprocessor variables.
 
2130
 
 
2131
cat >>confdefs.h <<_ACEOF
 
2132
#define PACKAGE_NAME "$PACKAGE_NAME"
 
2133
_ACEOF
 
2134
 
 
2135
cat >>confdefs.h <<_ACEOF
 
2136
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 
2137
_ACEOF
 
2138
 
 
2139
cat >>confdefs.h <<_ACEOF
 
2140
#define PACKAGE_VERSION "$PACKAGE_VERSION"
 
2141
_ACEOF
 
2142
 
 
2143
cat >>confdefs.h <<_ACEOF
 
2144
#define PACKAGE_STRING "$PACKAGE_STRING"
 
2145
_ACEOF
 
2146
 
 
2147
cat >>confdefs.h <<_ACEOF
 
2148
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 
2149
_ACEOF
 
2150
 
 
2151
cat >>confdefs.h <<_ACEOF
 
2152
#define PACKAGE_URL "$PACKAGE_URL"
 
2153
_ACEOF
 
2154
 
 
2155
 
 
2156
# Let the site file select an alternate cache file if it wants to.
 
2157
# Prefer an explicitly selected file to automatically selected ones.
 
2158
ac_site_file1=NONE
 
2159
ac_site_file2=NONE
 
2160
if test -n "$CONFIG_SITE"; then
 
2161
  # We do not want a PATH search for config.site.
 
2162
  case $CONFIG_SITE in #((
 
2163
    -*)  ac_site_file1=./$CONFIG_SITE;;
 
2164
    */*) ac_site_file1=$CONFIG_SITE;;
 
2165
    *)   ac_site_file1=./$CONFIG_SITE;;
 
2166
  esac
 
2167
elif test "x$prefix" != xNONE; then
 
2168
  ac_site_file1=$prefix/share/config.site
 
2169
  ac_site_file2=$prefix/etc/config.site
 
2170
else
 
2171
  ac_site_file1=$ac_default_prefix/share/config.site
 
2172
  ac_site_file2=$ac_default_prefix/etc/config.site
 
2173
fi
 
2174
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 
2175
do
 
2176
  test "x$ac_site_file" = xNONE && continue
 
2177
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
2178
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 
2179
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
 
2180
    sed 's/^/| /' "$ac_site_file" >&5
 
2181
    . "$ac_site_file" \
 
2182
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2183
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2184
as_fn_error $? "failed to load site script $ac_site_file
 
2185
See \`config.log' for more details" "$LINENO" 5; }
 
2186
  fi
 
2187
done
 
2188
 
 
2189
if test -r "$cache_file"; then
 
2190
  # Some versions of bash will fail to source /dev/null (special files
 
2191
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
2192
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
2193
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 
2194
$as_echo "$as_me: loading cache $cache_file" >&6;}
 
2195
    case $cache_file in
 
2196
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
2197
      *)                      . "./$cache_file";;
 
2198
    esac
 
2199
  fi
 
2200
else
 
2201
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 
2202
$as_echo "$as_me: creating cache $cache_file" >&6;}
 
2203
  >$cache_file
 
2204
fi
 
2205
 
 
2206
# Check that the precious variables saved in the cache have kept the same
 
2207
# value.
 
2208
ac_cache_corrupted=false
 
2209
for ac_var in $ac_precious_vars; do
 
2210
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
 
2211
  eval ac_new_set=\$ac_env_${ac_var}_set
 
2212
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
2213
  eval ac_new_val=\$ac_env_${ac_var}_value
 
2214
  case $ac_old_set,$ac_new_set in
 
2215
    set,)
 
2216
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2217
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
2218
      ac_cache_corrupted=: ;;
 
2219
    ,set)
 
2220
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 
2221
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
2222
      ac_cache_corrupted=: ;;
 
2223
    ,);;
 
2224
    *)
 
2225
      if test "x$ac_old_val" != "x$ac_new_val"; then
 
2226
        # differences in whitespace do not lead to failure.
 
2227
        ac_old_val_w=`echo x $ac_old_val`
 
2228
        ac_new_val_w=`echo x $ac_new_val`
 
2229
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
2230
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 
2231
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
2232
          ac_cache_corrupted=:
 
2233
        else
 
2234
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2235
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
2236
          eval $ac_var=\$ac_old_val
 
2237
        fi
 
2238
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 
2239
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
2240
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 
2241
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 
2242
      fi;;
 
2243
  esac
 
2244
  # Pass precious variables to config.status.
 
2245
  if test "$ac_new_set" = set; then
 
2246
    case $ac_new_val in
 
2247
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2248
    *) ac_arg=$ac_var=$ac_new_val ;;
 
2249
    esac
 
2250
    case " $ac_configure_args " in
 
2251
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 
2252
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
 
2253
    esac
 
2254
  fi
 
2255
done
 
2256
if $ac_cache_corrupted; then
 
2257
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2258
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2259
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 
2260
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
2261
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 
2262
fi
 
2263
## -------------------- ##
 
2264
## Main body of script. ##
 
2265
## -------------------- ##
 
2266
 
 
2267
ac_ext=c
 
2268
ac_cpp='$CPP $CPPFLAGS'
 
2269
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2270
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2271
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2272
 
 
2273
 
 
2274
ac_aux_dir=
 
2275
for ac_dir in build-aux "$srcdir"/build-aux; do
 
2276
  if test -f "$ac_dir/install-sh"; then
 
2277
    ac_aux_dir=$ac_dir
 
2278
    ac_install_sh="$ac_aux_dir/install-sh -c"
 
2279
    break
 
2280
  elif test -f "$ac_dir/install.sh"; then
 
2281
    ac_aux_dir=$ac_dir
 
2282
    ac_install_sh="$ac_aux_dir/install.sh -c"
 
2283
    break
 
2284
  elif test -f "$ac_dir/shtool"; then
 
2285
    ac_aux_dir=$ac_dir
 
2286
    ac_install_sh="$ac_aux_dir/shtool install -c"
 
2287
    break
 
2288
  fi
 
2289
done
 
2290
if test -z "$ac_aux_dir"; then
 
2291
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
 
2292
fi
 
2293
 
 
2294
# These three variables are undocumented and unsupported,
 
2295
# and are intended to be withdrawn in a future Autoconf release.
 
2296
# They can cause serious problems if a builder's source tree is in a directory
 
2297
# whose full name contains unusual characters.
 
2298
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
2299
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
2300
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
2301
 
 
2302
 
 
2303
 
 
2304
LIBS=`mysql_config --libs`
 
2305
 
 
2306
 
 
2307
CFLAGS=`mysql_config --cflags`
 
2308
 
 
2309
 
 
2310
# Check whether --enable-silent-rules was given.
 
2311
if test "${enable_silent_rules+set}" = set; then :
 
2312
  enableval=$enable_silent_rules;
 
2313
fi
 
2314
 
 
2315
case $enable_silent_rules in
 
2316
yes) AM_DEFAULT_VERBOSITY=0;;
 
2317
no)  AM_DEFAULT_VERBOSITY=1;;
 
2318
*)   AM_DEFAULT_VERBOSITY=0;;
 
2319
esac
 
2320
AM_BACKSLASH='\'
 
2321
 
 
2322
 
 
2323
am__api_version='1.11'
 
2324
 
 
2325
# Find a good install program.  We prefer a C program (faster),
 
2326
# so one script is as good as another.  But avoid the broken or
 
2327
# incompatible versions:
 
2328
# SysV /etc/install, /usr/sbin/install
 
2329
# SunOS /usr/etc/install
 
2330
# IRIX /sbin/install
 
2331
# AIX /bin/install
 
2332
# AmigaOS /C/install, which installs bootblocks on floppy discs
 
2333
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 
2334
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
 
2335
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
2336
# OS/2's system install, which has a completely different semantic
 
2337
# ./install, which can be erroneously created by make from ./install.sh.
 
2338
# Reject install programs that cannot install multiple files.
 
2339
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 
2340
$as_echo_n "checking for a BSD-compatible install... " >&6; }
 
2341
if test -z "$INSTALL"; then
 
2342
if ${ac_cv_path_install+:} false; then :
 
2343
  $as_echo_n "(cached) " >&6
 
2344
else
 
2345
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2346
for as_dir in $PATH
 
2347
do
 
2348
  IFS=$as_save_IFS
 
2349
  test -z "$as_dir" && as_dir=.
 
2350
    # Account for people who put trailing slashes in PATH elements.
 
2351
case $as_dir/ in #((
 
2352
  ./ | .// | /[cC]/* | \
 
2353
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
2354
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
 
2355
  /usr/ucb/* ) ;;
 
2356
  *)
 
2357
    # OSF1 and SCO ODT 3.0 have their own names for install.
 
2358
    # Don't use installbsd from OSF since it installs stuff as root
 
2359
    # by default.
 
2360
    for ac_prog in ginstall scoinst install; do
 
2361
      for ac_exec_ext in '' $ac_executable_extensions; do
 
2362
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 
2363
          if test $ac_prog = install &&
 
2364
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
2365
            # AIX install.  It has an incompatible calling convention.
 
2366
            :
 
2367
          elif test $ac_prog = install &&
 
2368
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
2369
            # program-specific install script used by HP pwplus--don't use.
 
2370
            :
 
2371
          else
 
2372
            rm -rf conftest.one conftest.two conftest.dir
 
2373
            echo one > conftest.one
 
2374
            echo two > conftest.two
 
2375
            mkdir conftest.dir
 
2376
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
2377
              test -s conftest.one && test -s conftest.two &&
 
2378
              test -s conftest.dir/conftest.one &&
 
2379
              test -s conftest.dir/conftest.two
 
2380
            then
 
2381
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
2382
              break 3
 
2383
            fi
 
2384
          fi
 
2385
        fi
 
2386
      done
 
2387
    done
 
2388
    ;;
 
2389
esac
 
2390
 
 
2391
  done
 
2392
IFS=$as_save_IFS
 
2393
 
 
2394
rm -rf conftest.one conftest.two conftest.dir
 
2395
 
 
2396
fi
 
2397
  if test "${ac_cv_path_install+set}" = set; then
 
2398
    INSTALL=$ac_cv_path_install
 
2399
  else
 
2400
    # As a last resort, use the slow shell script.  Don't cache a
 
2401
    # value for INSTALL within a source directory, because that will
 
2402
    # break other packages using the cache if that directory is
 
2403
    # removed, or if the value is a relative name.
 
2404
    INSTALL=$ac_install_sh
 
2405
  fi
 
2406
fi
 
2407
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 
2408
$as_echo "$INSTALL" >&6; }
 
2409
 
 
2410
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 
2411
# It thinks the first close brace ends the variable substitution.
 
2412
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 
2413
 
 
2414
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 
2415
 
 
2416
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
2417
 
 
2418
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 
2419
$as_echo_n "checking whether build environment is sane... " >&6; }
 
2420
# Just in case
 
2421
sleep 1
 
2422
echo timestamp > conftest.file
 
2423
# Reject unsafe characters in $srcdir or the absolute working directory
 
2424
# name.  Accept space and tab only in the latter.
 
2425
am_lf='
 
2426
'
 
2427
case `pwd` in
 
2428
  *[\\\"\#\$\&\'\`$am_lf]*)
 
2429
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
 
2430
esac
 
2431
case $srcdir in
 
2432
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 
2433
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
2434
esac
 
2435
 
 
2436
# Do `set' in a subshell so we don't clobber the current shell's
 
2437
# arguments.  Must try -L first in case configure is actually a
 
2438
# symlink; some systems play weird games with the mod time of symlinks
 
2439
# (eg FreeBSD returns the mod time of the symlink's containing
 
2440
# directory).
 
2441
if (
 
2442
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
 
2443
   if test "$*" = "X"; then
 
2444
      # -L didn't work.
 
2445
      set X `ls -t "$srcdir/configure" conftest.file`
 
2446
   fi
 
2447
   rm -f conftest.file
 
2448
   if test "$*" != "X $srcdir/configure conftest.file" \
 
2449
      && test "$*" != "X conftest.file $srcdir/configure"; then
 
2450
 
 
2451
      # If neither matched, then we have a broken ls.  This can happen
 
2452
      # if, for instance, CONFIG_SHELL is bash and it inherits a
 
2453
      # broken ls alias from the environment.  This has actually
 
2454
      # happened.  Such a system could not be considered "sane".
 
2455
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 
2456
alias in your environment" "$LINENO" 5
 
2457
   fi
 
2458
 
 
2459
   test "$2" = conftest.file
 
2460
   )
 
2461
then
 
2462
   # Ok.
 
2463
   :
 
2464
else
 
2465
   as_fn_error $? "newly created file is older than distributed files!
 
2466
Check your system clock" "$LINENO" 5
 
2467
fi
 
2468
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2469
$as_echo "yes" >&6; }
 
2470
test "$program_prefix" != NONE &&
 
2471
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
 
2472
# Use a double $ so make ignores it.
 
2473
test "$program_suffix" != NONE &&
 
2474
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 
2475
# Double any \ or $.
 
2476
# By default was `s,x,x', remove it if useless.
 
2477
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
2478
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
 
2479
 
 
2480
# expand $ac_aux_dir to an absolute path
 
2481
am_aux_dir=`cd $ac_aux_dir && pwd`
 
2482
 
 
2483
if test x"${MISSING+set}" != xset; then
 
2484
  case $am_aux_dir in
 
2485
  *\ * | *\     *)
 
2486
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
2487
  *)
 
2488
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
2489
  esac
 
2490
fi
 
2491
# Use eval to expand $SHELL
 
2492
if eval "$MISSING --run true"; then
 
2493
  am_missing_run="$MISSING --run "
 
2494
else
 
2495
  am_missing_run=
 
2496
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
 
2497
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
2498
fi
 
2499
 
 
2500
if test x"${install_sh}" != xset; then
 
2501
  case $am_aux_dir in
 
2502
  *\ * | *\     *)
 
2503
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
2504
  *)
 
2505
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
2506
  esac
 
2507
fi
 
2508
 
 
2509
# Installed binaries are usually stripped using `strip' when the user
 
2510
# run `make install-strip'.  However `strip' might not be the right
 
2511
# tool to use in cross-compilation environments, therefore Automake
 
2512
# will honor the `STRIP' environment variable to overrule this program.
 
2513
if test "$cross_compiling" != no; then
 
2514
  if test -n "$ac_tool_prefix"; then
 
2515
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
2516
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
2517
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2518
$as_echo_n "checking for $ac_word... " >&6; }
 
2519
if ${ac_cv_prog_STRIP+:} false; then :
 
2520
  $as_echo_n "(cached) " >&6
 
2521
else
 
2522
  if test -n "$STRIP"; then
 
2523
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
2524
else
 
2525
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2526
for as_dir in $PATH
 
2527
do
 
2528
  IFS=$as_save_IFS
 
2529
  test -z "$as_dir" && as_dir=.
 
2530
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2531
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2532
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
2533
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2534
    break 2
 
2535
  fi
 
2536
done
 
2537
  done
 
2538
IFS=$as_save_IFS
 
2539
 
 
2540
fi
 
2541
fi
 
2542
STRIP=$ac_cv_prog_STRIP
 
2543
if test -n "$STRIP"; then
 
2544
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
2545
$as_echo "$STRIP" >&6; }
 
2546
else
 
2547
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2548
$as_echo "no" >&6; }
 
2549
fi
 
2550
 
 
2551
 
 
2552
fi
 
2553
if test -z "$ac_cv_prog_STRIP"; then
 
2554
  ac_ct_STRIP=$STRIP
 
2555
  # Extract the first word of "strip", so it can be a program name with args.
 
2556
set dummy strip; ac_word=$2
 
2557
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2558
$as_echo_n "checking for $ac_word... " >&6; }
 
2559
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 
2560
  $as_echo_n "(cached) " >&6
 
2561
else
 
2562
  if test -n "$ac_ct_STRIP"; then
 
2563
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
2564
else
 
2565
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2566
for as_dir in $PATH
 
2567
do
 
2568
  IFS=$as_save_IFS
 
2569
  test -z "$as_dir" && as_dir=.
 
2570
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2571
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2572
    ac_cv_prog_ac_ct_STRIP="strip"
 
2573
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2574
    break 2
 
2575
  fi
 
2576
done
 
2577
  done
 
2578
IFS=$as_save_IFS
 
2579
 
 
2580
fi
 
2581
fi
 
2582
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
2583
if test -n "$ac_ct_STRIP"; then
 
2584
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
2585
$as_echo "$ac_ct_STRIP" >&6; }
 
2586
else
 
2587
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2588
$as_echo "no" >&6; }
 
2589
fi
 
2590
 
 
2591
  if test "x$ac_ct_STRIP" = x; then
 
2592
    STRIP=":"
 
2593
  else
 
2594
    case $cross_compiling:$ac_tool_warned in
 
2595
yes:)
 
2596
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2597
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2598
ac_tool_warned=yes ;;
 
2599
esac
 
2600
    STRIP=$ac_ct_STRIP
 
2601
  fi
 
2602
else
 
2603
  STRIP="$ac_cv_prog_STRIP"
 
2604
fi
 
2605
 
 
2606
fi
 
2607
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
2608
 
 
2609
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 
2610
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 
2611
if test -z "$MKDIR_P"; then
 
2612
  if ${ac_cv_path_mkdir+:} false; then :
 
2613
  $as_echo_n "(cached) " >&6
 
2614
else
 
2615
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2616
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 
2617
do
 
2618
  IFS=$as_save_IFS
 
2619
  test -z "$as_dir" && as_dir=.
 
2620
    for ac_prog in mkdir gmkdir; do
 
2621
         for ac_exec_ext in '' $ac_executable_extensions; do
 
2622
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 
2623
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 
2624
             'mkdir (GNU coreutils) '* | \
 
2625
             'mkdir (coreutils) '* | \
 
2626
             'mkdir (fileutils) '4.1*)
 
2627
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 
2628
               break 3;;
 
2629
           esac
 
2630
         done
 
2631
       done
 
2632
  done
 
2633
IFS=$as_save_IFS
 
2634
 
 
2635
fi
 
2636
 
 
2637
  test -d ./--version && rmdir ./--version
 
2638
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2639
    MKDIR_P="$ac_cv_path_mkdir -p"
 
2640
  else
 
2641
    # As a last resort, use the slow shell script.  Don't cache a
 
2642
    # value for MKDIR_P within a source directory, because that will
 
2643
    # break other packages using the cache if that directory is
 
2644
    # removed, or if the value is a relative name.
 
2645
    MKDIR_P="$ac_install_sh -d"
 
2646
  fi
 
2647
fi
 
2648
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 
2649
$as_echo "$MKDIR_P" >&6; }
 
2650
 
 
2651
mkdir_p="$MKDIR_P"
 
2652
case $mkdir_p in
 
2653
  [\\/$]* | ?:[\\/]*) ;;
 
2654
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
2655
esac
 
2656
 
 
2657
for ac_prog in gawk mawk nawk awk
 
2658
do
 
2659
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
2660
set dummy $ac_prog; ac_word=$2
 
2661
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2662
$as_echo_n "checking for $ac_word... " >&6; }
 
2663
if ${ac_cv_prog_AWK+:} false; then :
 
2664
  $as_echo_n "(cached) " >&6
 
2665
else
 
2666
  if test -n "$AWK"; then
 
2667
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
 
2668
else
 
2669
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2670
for as_dir in $PATH
 
2671
do
 
2672
  IFS=$as_save_IFS
 
2673
  test -z "$as_dir" && as_dir=.
 
2674
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2675
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2676
    ac_cv_prog_AWK="$ac_prog"
 
2677
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2678
    break 2
 
2679
  fi
 
2680
done
 
2681
  done
 
2682
IFS=$as_save_IFS
 
2683
 
 
2684
fi
 
2685
fi
 
2686
AWK=$ac_cv_prog_AWK
 
2687
if test -n "$AWK"; then
 
2688
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 
2689
$as_echo "$AWK" >&6; }
 
2690
else
 
2691
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2692
$as_echo "no" >&6; }
 
2693
fi
 
2694
 
 
2695
 
 
2696
  test -n "$AWK" && break
 
2697
done
 
2698
 
 
2699
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2700
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
2701
set x ${MAKE-make}
 
2702
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2703
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
 
2704
  $as_echo_n "(cached) " >&6
 
2705
else
 
2706
  cat >conftest.make <<\_ACEOF
 
2707
SHELL = /bin/sh
 
2708
all:
 
2709
        @echo '@@@%%%=$(MAKE)=@@@%%%'
 
2710
_ACEOF
 
2711
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 
2712
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
2713
  *@@@%%%=?*=@@@%%%*)
 
2714
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
2715
  *)
 
2716
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
2717
esac
 
2718
rm -f conftest.make
 
2719
fi
 
2720
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
2721
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2722
$as_echo "yes" >&6; }
 
2723
  SET_MAKE=
 
2724
else
 
2725
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2726
$as_echo "no" >&6; }
 
2727
  SET_MAKE="MAKE=${MAKE-make}"
 
2728
fi
 
2729
 
 
2730
rm -rf .tst 2>/dev/null
 
2731
mkdir .tst 2>/dev/null
 
2732
if test -d .tst; then
 
2733
  am__leading_dot=.
 
2734
else
 
2735
  am__leading_dot=_
 
2736
fi
 
2737
rmdir .tst 2>/dev/null
 
2738
 
 
2739
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
2740
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
2741
  # is not polluted with repeated "-I."
 
2742
  am__isrc=' -I$(srcdir)'
 
2743
  # test to see if srcdir already configured
 
2744
  if test -f $srcdir/config.status; then
 
2745
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 
2746
  fi
 
2747
fi
 
2748
 
 
2749
# test whether we have cygpath
 
2750
if test -z "$CYGPATH_W"; then
 
2751
  if (cygpath --version) >/dev/null 2>/dev/null; then
 
2752
    CYGPATH_W='cygpath -w'
 
2753
  else
 
2754
    CYGPATH_W=echo
 
2755
  fi
 
2756
fi
 
2757
 
 
2758
 
 
2759
# Define the identity of the package.
 
2760
 PACKAGE=lyricue
 
2761
 VERSION=3.0.36
 
2762
 
 
2763
 
 
2764
cat >>confdefs.h <<_ACEOF
 
2765
#define PACKAGE "$PACKAGE"
 
2766
_ACEOF
 
2767
 
 
2768
 
 
2769
cat >>confdefs.h <<_ACEOF
 
2770
#define VERSION "$VERSION"
 
2771
_ACEOF
 
2772
 
 
2773
# Some tools Automake needs.
 
2774
 
 
2775
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 
2776
 
 
2777
 
 
2778
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 
2779
 
 
2780
 
 
2781
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 
2782
 
 
2783
 
 
2784
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 
2785
 
 
2786
 
 
2787
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 
2788
 
 
2789
# We need awk for the "check" target.  The system "awk" is bad on
 
2790
# some platforms.
 
2791
# Always define AMTAR for backward compatibility.
 
2792
 
 
2793
AMTAR=${AMTAR-"${am_missing_run}tar"}
 
2794
 
 
2795
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 
2796
 
 
2797
 
 
2798
 
 
2799
 
 
2800
 
 
2801
ac_config_headers="$ac_config_headers config.h"
 
2802
 
 
2803
 
 
2804
 
 
2805
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
2806
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
 
2807
    # Check whether --enable-maintainer-mode was given.
 
2808
if test "${enable_maintainer_mode+set}" = set; then :
 
2809
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
 
2810
else
 
2811
  USE_MAINTAINER_MODE=no
 
2812
fi
 
2813
 
 
2814
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
 
2815
$as_echo "$USE_MAINTAINER_MODE" >&6; }
 
2816
   if test $USE_MAINTAINER_MODE = yes; then
 
2817
  MAINTAINER_MODE_TRUE=
 
2818
  MAINTAINER_MODE_FALSE='#'
 
2819
else
 
2820
  MAINTAINER_MODE_TRUE='#'
 
2821
  MAINTAINER_MODE_FALSE=
 
2822
fi
 
2823
 
 
2824
  MAINT=$MAINTAINER_MODE_TRUE
 
2825
 
 
2826
 
 
2827
 
 
2828
DEPDIR="${am__leading_dot}deps"
 
2829
 
 
2830
ac_config_commands="$ac_config_commands depfiles"
 
2831
 
 
2832
 
 
2833
am_make=${MAKE-make}
 
2834
cat > confinc << 'END'
 
2835
am__doit:
 
2836
        @echo this is the am__doit target
 
2837
.PHONY: am__doit
 
2838
END
 
2839
# If we don't find an include directive, just comment out the code.
 
2840
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 
2841
$as_echo_n "checking for style of include used by $am_make... " >&6; }
 
2842
am__include="#"
 
2843
am__quote=
 
2844
_am_result=none
 
2845
# First try GNU make style include.
 
2846
echo "include confinc" > confmf
 
2847
# Ignore all kinds of additional output from `make'.
 
2848
case `$am_make -s -f confmf 2> /dev/null` in #(
 
2849
*the\ am__doit\ target*)
 
2850
  am__include=include
 
2851
  am__quote=
 
2852
  _am_result=GNU
 
2853
  ;;
 
2854
esac
 
2855
# Now try BSD make style include.
 
2856
if test "$am__include" = "#"; then
 
2857
   echo '.include "confinc"' > confmf
 
2858
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
2859
   *the\ am__doit\ target*)
 
2860
     am__include=.include
 
2861
     am__quote="\""
 
2862
     _am_result=BSD
 
2863
     ;;
 
2864
   esac
 
2865
fi
 
2866
 
 
2867
 
 
2868
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 
2869
$as_echo "$_am_result" >&6; }
 
2870
rm -f confinc confmf
 
2871
 
 
2872
# Check whether --enable-dependency-tracking was given.
 
2873
if test "${enable_dependency_tracking+set}" = set; then :
 
2874
  enableval=$enable_dependency_tracking;
 
2875
fi
 
2876
 
 
2877
if test "x$enable_dependency_tracking" != xno; then
 
2878
  am_depcomp="$ac_aux_dir/depcomp"
 
2879
  AMDEPBACKSLASH='\'
 
2880
fi
 
2881
 if test "x$enable_dependency_tracking" != xno; then
 
2882
  AMDEP_TRUE=
 
2883
  AMDEP_FALSE='#'
 
2884
else
 
2885
  AMDEP_TRUE='#'
 
2886
  AMDEP_FALSE=
 
2887
fi
 
2888
 
 
2889
 
 
2890
ac_ext=c
 
2891
ac_cpp='$CPP $CPPFLAGS'
 
2892
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2893
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2894
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2895
if test -n "$ac_tool_prefix"; then
 
2896
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
2897
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
2898
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2899
$as_echo_n "checking for $ac_word... " >&6; }
 
2900
if ${ac_cv_prog_CC+:} false; then :
 
2901
  $as_echo_n "(cached) " >&6
 
2902
else
 
2903
  if test -n "$CC"; then
 
2904
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
2905
else
 
2906
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2907
for as_dir in $PATH
 
2908
do
 
2909
  IFS=$as_save_IFS
 
2910
  test -z "$as_dir" && as_dir=.
 
2911
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2912
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2913
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
2914
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2915
    break 2
 
2916
  fi
 
2917
done
 
2918
  done
 
2919
IFS=$as_save_IFS
 
2920
 
 
2921
fi
 
2922
fi
 
2923
CC=$ac_cv_prog_CC
 
2924
if test -n "$CC"; then
 
2925
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
2926
$as_echo "$CC" >&6; }
 
2927
else
 
2928
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2929
$as_echo "no" >&6; }
 
2930
fi
 
2931
 
 
2932
 
 
2933
fi
 
2934
if test -z "$ac_cv_prog_CC"; then
 
2935
  ac_ct_CC=$CC
 
2936
  # Extract the first word of "gcc", so it can be a program name with args.
 
2937
set dummy gcc; ac_word=$2
 
2938
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2939
$as_echo_n "checking for $ac_word... " >&6; }
 
2940
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
2941
  $as_echo_n "(cached) " >&6
 
2942
else
 
2943
  if test -n "$ac_ct_CC"; then
 
2944
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
2945
else
 
2946
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2947
for as_dir in $PATH
 
2948
do
 
2949
  IFS=$as_save_IFS
 
2950
  test -z "$as_dir" && as_dir=.
 
2951
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2952
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2953
    ac_cv_prog_ac_ct_CC="gcc"
 
2954
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2955
    break 2
 
2956
  fi
 
2957
done
 
2958
  done
 
2959
IFS=$as_save_IFS
 
2960
 
 
2961
fi
 
2962
fi
 
2963
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
2964
if test -n "$ac_ct_CC"; then
 
2965
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
2966
$as_echo "$ac_ct_CC" >&6; }
 
2967
else
 
2968
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2969
$as_echo "no" >&6; }
 
2970
fi
 
2971
 
 
2972
  if test "x$ac_ct_CC" = x; then
 
2973
    CC=""
 
2974
  else
 
2975
    case $cross_compiling:$ac_tool_warned in
 
2976
yes:)
 
2977
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2978
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2979
ac_tool_warned=yes ;;
 
2980
esac
 
2981
    CC=$ac_ct_CC
 
2982
  fi
 
2983
else
 
2984
  CC="$ac_cv_prog_CC"
 
2985
fi
 
2986
 
 
2987
if test -z "$CC"; then
 
2988
          if test -n "$ac_tool_prefix"; then
 
2989
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
2990
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
2991
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2992
$as_echo_n "checking for $ac_word... " >&6; }
 
2993
if ${ac_cv_prog_CC+:} false; then :
 
2994
  $as_echo_n "(cached) " >&6
 
2995
else
 
2996
  if test -n "$CC"; then
 
2997
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
2998
else
 
2999
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3000
for as_dir in $PATH
 
3001
do
 
3002
  IFS=$as_save_IFS
 
3003
  test -z "$as_dir" && as_dir=.
 
3004
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3005
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3006
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
3007
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3008
    break 2
 
3009
  fi
 
3010
done
 
3011
  done
 
3012
IFS=$as_save_IFS
 
3013
 
 
3014
fi
 
3015
fi
 
3016
CC=$ac_cv_prog_CC
 
3017
if test -n "$CC"; then
 
3018
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3019
$as_echo "$CC" >&6; }
 
3020
else
 
3021
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3022
$as_echo "no" >&6; }
 
3023
fi
 
3024
 
 
3025
 
 
3026
  fi
 
3027
fi
 
3028
if test -z "$CC"; then
 
3029
  # Extract the first word of "cc", so it can be a program name with args.
 
3030
set dummy cc; ac_word=$2
 
3031
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3032
$as_echo_n "checking for $ac_word... " >&6; }
 
3033
if ${ac_cv_prog_CC+:} false; then :
 
3034
  $as_echo_n "(cached) " >&6
 
3035
else
 
3036
  if test -n "$CC"; then
 
3037
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3038
else
 
3039
  ac_prog_rejected=no
 
3040
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3041
for as_dir in $PATH
 
3042
do
 
3043
  IFS=$as_save_IFS
 
3044
  test -z "$as_dir" && as_dir=.
 
3045
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3046
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3047
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
3048
       ac_prog_rejected=yes
 
3049
       continue
 
3050
     fi
 
3051
    ac_cv_prog_CC="cc"
 
3052
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3053
    break 2
 
3054
  fi
 
3055
done
 
3056
  done
 
3057
IFS=$as_save_IFS
 
3058
 
 
3059
if test $ac_prog_rejected = yes; then
 
3060
  # We found a bogon in the path, so make sure we never use it.
 
3061
  set dummy $ac_cv_prog_CC
 
3062
  shift
 
3063
  if test $# != 0; then
 
3064
    # We chose a different compiler from the bogus one.
 
3065
    # However, it has the same basename, so the bogon will be chosen
 
3066
    # first if we set CC to just the basename; use the full file name.
 
3067
    shift
 
3068
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
3069
  fi
 
3070
fi
 
3071
fi
 
3072
fi
 
3073
CC=$ac_cv_prog_CC
 
3074
if test -n "$CC"; then
 
3075
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3076
$as_echo "$CC" >&6; }
 
3077
else
 
3078
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3079
$as_echo "no" >&6; }
 
3080
fi
 
3081
 
 
3082
 
 
3083
fi
 
3084
if test -z "$CC"; then
 
3085
  if test -n "$ac_tool_prefix"; then
 
3086
  for ac_prog in cl.exe
 
3087
  do
 
3088
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
3089
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
3090
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3091
$as_echo_n "checking for $ac_word... " >&6; }
 
3092
if ${ac_cv_prog_CC+:} false; then :
 
3093
  $as_echo_n "(cached) " >&6
 
3094
else
 
3095
  if test -n "$CC"; then
 
3096
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3097
else
 
3098
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3099
for as_dir in $PATH
 
3100
do
 
3101
  IFS=$as_save_IFS
 
3102
  test -z "$as_dir" && as_dir=.
 
3103
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3104
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3105
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
3106
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3107
    break 2
 
3108
  fi
 
3109
done
 
3110
  done
 
3111
IFS=$as_save_IFS
 
3112
 
 
3113
fi
 
3114
fi
 
3115
CC=$ac_cv_prog_CC
 
3116
if test -n "$CC"; then
 
3117
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3118
$as_echo "$CC" >&6; }
 
3119
else
 
3120
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3121
$as_echo "no" >&6; }
 
3122
fi
 
3123
 
 
3124
 
 
3125
    test -n "$CC" && break
 
3126
  done
 
3127
fi
 
3128
if test -z "$CC"; then
 
3129
  ac_ct_CC=$CC
 
3130
  for ac_prog in cl.exe
 
3131
do
 
3132
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
3133
set dummy $ac_prog; ac_word=$2
 
3134
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3135
$as_echo_n "checking for $ac_word... " >&6; }
 
3136
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
3137
  $as_echo_n "(cached) " >&6
 
3138
else
 
3139
  if test -n "$ac_ct_CC"; then
 
3140
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
3141
else
 
3142
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3143
for as_dir in $PATH
 
3144
do
 
3145
  IFS=$as_save_IFS
 
3146
  test -z "$as_dir" && as_dir=.
 
3147
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3148
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3149
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
3150
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3151
    break 2
 
3152
  fi
 
3153
done
 
3154
  done
 
3155
IFS=$as_save_IFS
 
3156
 
 
3157
fi
 
3158
fi
 
3159
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
3160
if test -n "$ac_ct_CC"; then
 
3161
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
3162
$as_echo "$ac_ct_CC" >&6; }
 
3163
else
 
3164
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3165
$as_echo "no" >&6; }
 
3166
fi
 
3167
 
 
3168
 
 
3169
  test -n "$ac_ct_CC" && break
 
3170
done
 
3171
 
 
3172
  if test "x$ac_ct_CC" = x; then
 
3173
    CC=""
 
3174
  else
 
3175
    case $cross_compiling:$ac_tool_warned in
 
3176
yes:)
 
3177
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3178
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3179
ac_tool_warned=yes ;;
 
3180
esac
 
3181
    CC=$ac_ct_CC
 
3182
  fi
 
3183
fi
 
3184
 
 
3185
fi
 
3186
 
 
3187
 
 
3188
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3189
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3190
as_fn_error $? "no acceptable C compiler found in \$PATH
 
3191
See \`config.log' for more details" "$LINENO" 5; }
 
3192
 
 
3193
# Provide some information about the compiler.
 
3194
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
3195
set X $ac_compile
 
3196
ac_compiler=$2
 
3197
for ac_option in --version -v -V -qversion; do
 
3198
  { { ac_try="$ac_compiler $ac_option >&5"
 
3199
case "(($ac_try" in
 
3200
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3201
  *) ac_try_echo=$ac_try;;
 
3202
esac
 
3203
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3204
$as_echo "$ac_try_echo"; } >&5
 
3205
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
3206
  ac_status=$?
 
3207
  if test -s conftest.err; then
 
3208
    sed '10a\
 
3209
... rest of stderr output deleted ...
 
3210
         10q' conftest.err >conftest.er1
 
3211
    cat conftest.er1 >&5
 
3212
  fi
 
3213
  rm -f conftest.er1 conftest.err
 
3214
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3215
  test $ac_status = 0; }
 
3216
done
 
3217
 
 
3218
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3219
/* end confdefs.h.  */
 
3220
 
 
3221
int
 
3222
main ()
 
3223
{
 
3224
 
 
3225
  ;
 
3226
  return 0;
 
3227
}
 
3228
_ACEOF
 
3229
ac_clean_files_save=$ac_clean_files
 
3230
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 
3231
# Try to create an executable without -o first, disregard a.out.
 
3232
# It will help us diagnose broken compilers, and finding out an intuition
 
3233
# of exeext.
 
3234
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
3235
$as_echo_n "checking whether the C compiler works... " >&6; }
 
3236
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
3237
 
 
3238
# The possible output files:
 
3239
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
3240
 
 
3241
ac_rmfiles=
 
3242
for ac_file in $ac_files
 
3243
do
 
3244
  case $ac_file in
 
3245
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
3246
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
3247
  esac
 
3248
done
 
3249
rm -f $ac_rmfiles
 
3250
 
 
3251
if { { ac_try="$ac_link_default"
 
3252
case "(($ac_try" in
 
3253
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3254
  *) ac_try_echo=$ac_try;;
 
3255
esac
 
3256
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3257
$as_echo "$ac_try_echo"; } >&5
 
3258
  (eval "$ac_link_default") 2>&5
 
3259
  ac_status=$?
 
3260
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3261
  test $ac_status = 0; }; then :
 
3262
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
3263
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
3264
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
3265
# so that the user can short-circuit this test for compilers unknown to
 
3266
# Autoconf.
 
3267
for ac_file in $ac_files ''
 
3268
do
 
3269
  test -f "$ac_file" || continue
 
3270
  case $ac_file in
 
3271
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 
3272
        ;;
 
3273
    [ab].out )
 
3274
        # We found the default executable, but exeext='' is most
 
3275
        # certainly right.
 
3276
        break;;
 
3277
    *.* )
 
3278
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3279
        then :; else
 
3280
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3281
        fi
 
3282
        # We set ac_cv_exeext here because the later test for it is not
 
3283
        # safe: cross compilers may not add the suffix if given an `-o'
 
3284
        # argument, so we may need to know it at that point already.
 
3285
        # Even if this section looks crufty: it has the advantage of
 
3286
        # actually working.
 
3287
        break;;
 
3288
    * )
 
3289
        break;;
 
3290
  esac
 
3291
done
 
3292
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
3293
 
 
3294
else
 
3295
  ac_file=''
 
3296
fi
 
3297
if test -z "$ac_file"; then :
 
3298
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3299
$as_echo "no" >&6; }
 
3300
$as_echo "$as_me: failed program was:" >&5
 
3301
sed 's/^/| /' conftest.$ac_ext >&5
 
3302
 
 
3303
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3304
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3305
as_fn_error 77 "C compiler cannot create executables
 
3306
See \`config.log' for more details" "$LINENO" 5; }
 
3307
else
 
3308
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3309
$as_echo "yes" >&6; }
 
3310
fi
 
3311
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
3312
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3313
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 
3314
$as_echo "$ac_file" >&6; }
 
3315
ac_exeext=$ac_cv_exeext
 
3316
 
 
3317
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 
3318
ac_clean_files=$ac_clean_files_save
 
3319
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 
3320
$as_echo_n "checking for suffix of executables... " >&6; }
 
3321
if { { ac_try="$ac_link"
 
3322
case "(($ac_try" in
 
3323
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3324
  *) ac_try_echo=$ac_try;;
 
3325
esac
 
3326
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3327
$as_echo "$ac_try_echo"; } >&5
 
3328
  (eval "$ac_link") 2>&5
 
3329
  ac_status=$?
 
3330
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3331
  test $ac_status = 0; }; then :
 
3332
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
 
3333
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 
3334
# work properly (i.e., refer to `conftest.exe'), while it won't with
 
3335
# `rm'.
 
3336
for ac_file in conftest.exe conftest conftest.*; do
 
3337
  test -f "$ac_file" || continue
 
3338
  case $ac_file in
 
3339
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
3340
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3341
          break;;
 
3342
    * ) break;;
 
3343
  esac
 
3344
done
 
3345
else
 
3346
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3347
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3348
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 
3349
See \`config.log' for more details" "$LINENO" 5; }
 
3350
fi
 
3351
rm -f conftest conftest$ac_cv_exeext
 
3352
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 
3353
$as_echo "$ac_cv_exeext" >&6; }
 
3354
 
 
3355
rm -f conftest.$ac_ext
 
3356
EXEEXT=$ac_cv_exeext
 
3357
ac_exeext=$EXEEXT
 
3358
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3359
/* end confdefs.h.  */
 
3360
#include <stdio.h>
 
3361
int
 
3362
main ()
 
3363
{
 
3364
FILE *f = fopen ("conftest.out", "w");
 
3365
 return ferror (f) || fclose (f) != 0;
 
3366
 
 
3367
  ;
 
3368
  return 0;
 
3369
}
 
3370
_ACEOF
 
3371
ac_clean_files="$ac_clean_files conftest.out"
 
3372
# Check that the compiler produces executables we can run.  If not, either
 
3373
# the compiler is broken, or we cross compile.
 
3374
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3375
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3376
if test "$cross_compiling" != yes; then
 
3377
  { { ac_try="$ac_link"
 
3378
case "(($ac_try" in
 
3379
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3380
  *) ac_try_echo=$ac_try;;
 
3381
esac
 
3382
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3383
$as_echo "$ac_try_echo"; } >&5
 
3384
  (eval "$ac_link") 2>&5
 
3385
  ac_status=$?
 
3386
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3387
  test $ac_status = 0; }
 
3388
  if { ac_try='./conftest$ac_cv_exeext'
 
3389
  { { case "(($ac_try" in
 
3390
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3391
  *) ac_try_echo=$ac_try;;
 
3392
esac
 
3393
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3394
$as_echo "$ac_try_echo"; } >&5
 
3395
  (eval "$ac_try") 2>&5
 
3396
  ac_status=$?
 
3397
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3398
  test $ac_status = 0; }; }; then
 
3399
    cross_compiling=no
 
3400
  else
 
3401
    if test "$cross_compiling" = maybe; then
 
3402
        cross_compiling=yes
 
3403
    else
 
3404
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3405
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3406
as_fn_error $? "cannot run C compiled programs.
 
3407
If you meant to cross compile, use \`--host'.
 
3408
See \`config.log' for more details" "$LINENO" 5; }
 
3409
    fi
 
3410
  fi
 
3411
fi
 
3412
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3413
$as_echo "$cross_compiling" >&6; }
 
3414
 
 
3415
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
3416
ac_clean_files=$ac_clean_files_save
 
3417
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 
3418
$as_echo_n "checking for suffix of object files... " >&6; }
 
3419
if ${ac_cv_objext+:} false; then :
 
3420
  $as_echo_n "(cached) " >&6
 
3421
else
 
3422
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3423
/* end confdefs.h.  */
 
3424
 
 
3425
int
 
3426
main ()
 
3427
{
 
3428
 
 
3429
  ;
 
3430
  return 0;
 
3431
}
 
3432
_ACEOF
 
3433
rm -f conftest.o conftest.obj
 
3434
if { { ac_try="$ac_compile"
 
3435
case "(($ac_try" in
 
3436
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3437
  *) ac_try_echo=$ac_try;;
 
3438
esac
 
3439
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3440
$as_echo "$ac_try_echo"; } >&5
 
3441
  (eval "$ac_compile") 2>&5
 
3442
  ac_status=$?
 
3443
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3444
  test $ac_status = 0; }; then :
 
3445
  for ac_file in conftest.o conftest.obj conftest.*; do
 
3446
  test -f "$ac_file" || continue;
 
3447
  case $ac_file in
 
3448
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 
3449
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 
3450
       break;;
 
3451
  esac
 
3452
done
 
3453
else
 
3454
  $as_echo "$as_me: failed program was:" >&5
 
3455
sed 's/^/| /' conftest.$ac_ext >&5
 
3456
 
 
3457
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3458
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3459
as_fn_error $? "cannot compute suffix of object files: cannot compile
 
3460
See \`config.log' for more details" "$LINENO" 5; }
 
3461
fi
 
3462
rm -f conftest.$ac_cv_objext conftest.$ac_ext
 
3463
fi
 
3464
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 
3465
$as_echo "$ac_cv_objext" >&6; }
 
3466
OBJEXT=$ac_cv_objext
 
3467
ac_objext=$OBJEXT
 
3468
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
3469
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
3470
if ${ac_cv_c_compiler_gnu+:} false; then :
 
3471
  $as_echo_n "(cached) " >&6
 
3472
else
 
3473
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3474
/* end confdefs.h.  */
 
3475
 
 
3476
int
 
3477
main ()
 
3478
{
 
3479
#ifndef __GNUC__
 
3480
       choke me
 
3481
#endif
 
3482
 
 
3483
  ;
 
3484
  return 0;
 
3485
}
 
3486
_ACEOF
 
3487
if ac_fn_c_try_compile "$LINENO"; then :
 
3488
  ac_compiler_gnu=yes
 
3489
else
 
3490
  ac_compiler_gnu=no
 
3491
fi
 
3492
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3493
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
3494
 
 
3495
fi
 
3496
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
3497
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
3498
if test $ac_compiler_gnu = yes; then
 
3499
  GCC=yes
 
3500
else
 
3501
  GCC=
 
3502
fi
 
3503
ac_test_CFLAGS=${CFLAGS+set}
 
3504
ac_save_CFLAGS=$CFLAGS
 
3505
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
3506
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
3507
if ${ac_cv_prog_cc_g+:} false; then :
 
3508
  $as_echo_n "(cached) " >&6
 
3509
else
 
3510
  ac_save_c_werror_flag=$ac_c_werror_flag
 
3511
   ac_c_werror_flag=yes
 
3512
   ac_cv_prog_cc_g=no
 
3513
   CFLAGS="-g"
 
3514
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3515
/* end confdefs.h.  */
 
3516
 
 
3517
int
 
3518
main ()
 
3519
{
 
3520
 
 
3521
  ;
 
3522
  return 0;
 
3523
}
 
3524
_ACEOF
 
3525
if ac_fn_c_try_compile "$LINENO"; then :
 
3526
  ac_cv_prog_cc_g=yes
 
3527
else
 
3528
  CFLAGS=""
 
3529
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3530
/* end confdefs.h.  */
 
3531
 
 
3532
int
 
3533
main ()
 
3534
{
 
3535
 
 
3536
  ;
 
3537
  return 0;
 
3538
}
 
3539
_ACEOF
 
3540
if ac_fn_c_try_compile "$LINENO"; then :
 
3541
 
 
3542
else
 
3543
  ac_c_werror_flag=$ac_save_c_werror_flag
 
3544
         CFLAGS="-g"
 
3545
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3546
/* end confdefs.h.  */
 
3547
 
 
3548
int
 
3549
main ()
 
3550
{
 
3551
 
 
3552
  ;
 
3553
  return 0;
 
3554
}
 
3555
_ACEOF
 
3556
if ac_fn_c_try_compile "$LINENO"; then :
 
3557
  ac_cv_prog_cc_g=yes
 
3558
fi
 
3559
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3560
fi
 
3561
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3562
fi
 
3563
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3564
   ac_c_werror_flag=$ac_save_c_werror_flag
 
3565
fi
 
3566
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
3567
$as_echo "$ac_cv_prog_cc_g" >&6; }
 
3568
if test "$ac_test_CFLAGS" = set; then
 
3569
  CFLAGS=$ac_save_CFLAGS
 
3570
elif test $ac_cv_prog_cc_g = yes; then
 
3571
  if test "$GCC" = yes; then
 
3572
    CFLAGS="-g -O2"
 
3573
  else
 
3574
    CFLAGS="-g"
 
3575
  fi
 
3576
else
 
3577
  if test "$GCC" = yes; then
 
3578
    CFLAGS="-O2"
 
3579
  else
 
3580
    CFLAGS=
 
3581
  fi
 
3582
fi
 
3583
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
3584
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
3585
if ${ac_cv_prog_cc_c89+:} false; then :
 
3586
  $as_echo_n "(cached) " >&6
 
3587
else
 
3588
  ac_cv_prog_cc_c89=no
 
3589
ac_save_CC=$CC
 
3590
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3591
/* end confdefs.h.  */
 
3592
#include <stdarg.h>
 
3593
#include <stdio.h>
 
3594
#include <sys/types.h>
 
3595
#include <sys/stat.h>
 
3596
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
3597
struct buf { int x; };
 
3598
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
3599
static char *e (p, i)
 
3600
     char **p;
 
3601
     int i;
 
3602
{
 
3603
  return p[i];
 
3604
}
 
3605
static char *f (char * (*g) (char **, int), char **p, ...)
 
3606
{
 
3607
  char *s;
 
3608
  va_list v;
 
3609
  va_start (v,p);
 
3610
  s = g (p, va_arg (v,int));
 
3611
  va_end (v);
 
3612
  return s;
 
3613
}
 
3614
 
 
3615
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
3616
   function prototypes and stuff, but not '\xHH' hex character constants.
 
3617
   These don't provoke an error unfortunately, instead are silently treated
 
3618
   as 'x'.  The following induces an error, until -std is added to get
 
3619
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
3620
   array size at least.  It's necessary to write '\x00'==0 to get something
 
3621
   that's true only with -std.  */
 
3622
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
3623
 
 
3624
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
3625
   inside strings and character constants.  */
 
3626
#define FOO(x) 'x'
 
3627
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
3628
 
 
3629
int test (int i, double x);
 
3630
struct s1 {int (*f) (int a);};
 
3631
struct s2 {int (*f) (double a);};
 
3632
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
3633
int argc;
 
3634
char **argv;
 
3635
int
 
3636
main ()
 
3637
{
 
3638
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
3639
  ;
 
3640
  return 0;
 
3641
}
 
3642
_ACEOF
 
3643
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
3644
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3645
do
 
3646
  CC="$ac_save_CC $ac_arg"
 
3647
  if ac_fn_c_try_compile "$LINENO"; then :
 
3648
  ac_cv_prog_cc_c89=$ac_arg
 
3649
fi
 
3650
rm -f core conftest.err conftest.$ac_objext
 
3651
  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
3652
done
 
3653
rm -f conftest.$ac_ext
 
3654
CC=$ac_save_CC
 
3655
 
 
3656
fi
 
3657
# AC_CACHE_VAL
 
3658
case "x$ac_cv_prog_cc_c89" in
 
3659
  x)
 
3660
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
3661
$as_echo "none needed" >&6; } ;;
 
3662
  xno)
 
3663
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
3664
$as_echo "unsupported" >&6; } ;;
 
3665
  *)
 
3666
    CC="$CC $ac_cv_prog_cc_c89"
 
3667
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
3668
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 
3669
esac
 
3670
if test "x$ac_cv_prog_cc_c89" != xno; then :
 
3671
 
 
3672
fi
 
3673
 
 
3674
ac_ext=c
 
3675
ac_cpp='$CPP $CPPFLAGS'
 
3676
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3677
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3678
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3679
 
 
3680
depcc="$CC"   am_compiler_list=
 
3681
 
 
3682
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
3683
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
3684
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
 
3685
  $as_echo_n "(cached) " >&6
 
3686
else
 
3687
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
3688
  # We make a subdir and do the tests there.  Otherwise we can end up
 
3689
  # making bogus files that we don't know about and never remove.  For
 
3690
  # instance it was reported that on HP-UX the gcc test will end up
 
3691
  # making a dummy file named `D' -- because `-MD' means `put the output
 
3692
  # in D'.
 
3693
  mkdir conftest.dir
 
3694
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
3695
  # using a relative directory.
 
3696
  cp "$am_depcomp" conftest.dir
 
3697
  cd conftest.dir
 
3698
  # We will build objects and dependencies in a subdirectory because
 
3699
  # it helps to detect inapplicable dependency modes.  For instance
 
3700
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
3701
  # side effect of compilation, but ICC will put the dependencies in
 
3702
  # the current directory while Tru64 will put them in the object
 
3703
  # directory.
 
3704
  mkdir sub
 
3705
 
 
3706
  am_cv_CC_dependencies_compiler_type=none
 
3707
  if test "$am_compiler_list" = ""; then
 
3708
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
3709
  fi
 
3710
  am__universal=false
 
3711
  case " $depcc " in #(
 
3712
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
3713
     esac
 
3714
 
 
3715
  for depmode in $am_compiler_list; do
 
3716
    # Setup a source with many dependencies, because some compilers
 
3717
    # like to wrap large dependency lists on column 80 (with \), and
 
3718
    # we should not choose a depcomp mode which is confused by this.
 
3719
    #
 
3720
    # We need to recreate these files for each test, as the compiler may
 
3721
    # overwrite some of them when testing with obscure command lines.
 
3722
    # This happens at least with the AIX C compiler.
 
3723
    : > sub/conftest.c
 
3724
    for i in 1 2 3 4 5 6; do
 
3725
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
3726
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
3727
      # Solaris 8's {/usr,}/bin/sh.
 
3728
      touch sub/conftst$i.h
 
3729
    done
 
3730
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
3731
 
 
3732
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
3733
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
3734
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
3735
    # versions had trouble with output in subdirs
 
3736
    am__obj=sub/conftest.${OBJEXT-o}
 
3737
    am__minus_obj="-o $am__obj"
 
3738
    case $depmode in
 
3739
    gcc)
 
3740
      # This depmode causes a compiler race in universal mode.
 
3741
      test "$am__universal" = false || continue
 
3742
      ;;
 
3743
    nosideeffect)
 
3744
      # after this tag, mechanisms are not by side-effect, so they'll
 
3745
      # only be used when explicitly requested
 
3746
      if test "x$enable_dependency_tracking" = xyes; then
 
3747
        continue
 
3748
      else
 
3749
        break
 
3750
      fi
 
3751
      ;;
 
3752
    msvisualcpp | msvcmsys)
 
3753
      # This compiler won't grok `-c -o', but also, the minuso test has
 
3754
      # not run yet.  These depmodes are late enough in the game, and
 
3755
      # so weak that their functioning should not be impacted.
 
3756
      am__obj=conftest.${OBJEXT-o}
 
3757
      am__minus_obj=
 
3758
      ;;
 
3759
    none) break ;;
 
3760
    esac
 
3761
    if depmode=$depmode \
 
3762
       source=sub/conftest.c object=$am__obj \
 
3763
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
3764
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 
3765
         >/dev/null 2>conftest.err &&
 
3766
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
3767
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
3768
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 
3769
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
3770
      # icc doesn't choke on unknown options, it will just issue warnings
 
3771
      # or remarks (even with -Werror).  So we grep stderr for any message
 
3772
      # that says an option was ignored or not supported.
 
3773
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
3774
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
3775
      # The diagnosis changed in icc 8.0:
 
3776
      #   icc: Command line remark: option '-MP' not supported
 
3777
      if (grep 'ignoring option' conftest.err ||
 
3778
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
3779
        am_cv_CC_dependencies_compiler_type=$depmode
 
3780
        break
 
3781
      fi
 
3782
    fi
 
3783
  done
 
3784
 
 
3785
  cd ..
 
3786
  rm -rf conftest.dir
 
3787
else
 
3788
  am_cv_CC_dependencies_compiler_type=none
 
3789
fi
 
3790
 
 
3791
fi
 
3792
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3793
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 
3794
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
3795
 
 
3796
 if
 
3797
  test "x$enable_dependency_tracking" != xno \
 
3798
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
3799
  am__fastdepCC_TRUE=
 
3800
  am__fastdepCC_FALSE='#'
 
3801
else
 
3802
  am__fastdepCC_TRUE='#'
 
3803
  am__fastdepCC_FALSE=
 
3804
fi
 
3805
 
 
3806
 
 
3807
 
 
3808
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
 
3809
$as_echo_n "checking for library containing strerror... " >&6; }
 
3810
if ${ac_cv_search_strerror+:} false; then :
 
3811
  $as_echo_n "(cached) " >&6
 
3812
else
 
3813
  ac_func_search_save_LIBS=$LIBS
 
3814
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3815
/* end confdefs.h.  */
 
3816
 
 
3817
/* Override any GCC internal prototype to avoid an error.
 
3818
   Use char because int might match the return type of a GCC
 
3819
   builtin and then its argument prototype would still apply.  */
 
3820
#ifdef __cplusplus
 
3821
extern "C"
 
3822
#endif
 
3823
char strerror ();
 
3824
int
 
3825
main ()
 
3826
{
 
3827
return strerror ();
 
3828
  ;
 
3829
  return 0;
 
3830
}
 
3831
_ACEOF
 
3832
for ac_lib in '' cposix; do
 
3833
  if test -z "$ac_lib"; then
 
3834
    ac_res="none required"
 
3835
  else
 
3836
    ac_res=-l$ac_lib
 
3837
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 
3838
  fi
 
3839
  if ac_fn_c_try_link "$LINENO"; then :
 
3840
  ac_cv_search_strerror=$ac_res
 
3841
fi
 
3842
rm -f core conftest.err conftest.$ac_objext \
 
3843
    conftest$ac_exeext
 
3844
  if ${ac_cv_search_strerror+:} false; then :
 
3845
  break
 
3846
fi
 
3847
done
 
3848
if ${ac_cv_search_strerror+:} false; then :
 
3849
 
 
3850
else
 
3851
  ac_cv_search_strerror=no
 
3852
fi
 
3853
rm conftest.$ac_ext
 
3854
LIBS=$ac_func_search_save_LIBS
 
3855
fi
 
3856
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
 
3857
$as_echo "$ac_cv_search_strerror" >&6; }
 
3858
ac_res=$ac_cv_search_strerror
 
3859
if test "$ac_res" != no; then :
 
3860
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
3861
 
 
3862
fi
 
3863
 
 
3864
ac_ext=c
 
3865
ac_cpp='$CPP $CPPFLAGS'
 
3866
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3867
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3868
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3869
if test -n "$ac_tool_prefix"; then
 
3870
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
3871
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
3872
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3873
$as_echo_n "checking for $ac_word... " >&6; }
 
3874
if ${ac_cv_prog_CC+:} false; then :
 
3875
  $as_echo_n "(cached) " >&6
 
3876
else
 
3877
  if test -n "$CC"; then
 
3878
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3879
else
 
3880
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3881
for as_dir in $PATH
 
3882
do
 
3883
  IFS=$as_save_IFS
 
3884
  test -z "$as_dir" && as_dir=.
 
3885
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3886
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3887
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
3888
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3889
    break 2
 
3890
  fi
 
3891
done
 
3892
  done
 
3893
IFS=$as_save_IFS
 
3894
 
 
3895
fi
 
3896
fi
 
3897
CC=$ac_cv_prog_CC
 
3898
if test -n "$CC"; then
 
3899
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3900
$as_echo "$CC" >&6; }
 
3901
else
 
3902
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3903
$as_echo "no" >&6; }
 
3904
fi
 
3905
 
 
3906
 
 
3907
fi
 
3908
if test -z "$ac_cv_prog_CC"; then
 
3909
  ac_ct_CC=$CC
 
3910
  # Extract the first word of "gcc", so it can be a program name with args.
 
3911
set dummy gcc; ac_word=$2
 
3912
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3913
$as_echo_n "checking for $ac_word... " >&6; }
 
3914
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
3915
  $as_echo_n "(cached) " >&6
 
3916
else
 
3917
  if test -n "$ac_ct_CC"; then
 
3918
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
3919
else
 
3920
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3921
for as_dir in $PATH
 
3922
do
 
3923
  IFS=$as_save_IFS
 
3924
  test -z "$as_dir" && as_dir=.
 
3925
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3926
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3927
    ac_cv_prog_ac_ct_CC="gcc"
 
3928
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3929
    break 2
 
3930
  fi
 
3931
done
 
3932
  done
 
3933
IFS=$as_save_IFS
 
3934
 
 
3935
fi
 
3936
fi
 
3937
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
3938
if test -n "$ac_ct_CC"; then
 
3939
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
3940
$as_echo "$ac_ct_CC" >&6; }
 
3941
else
 
3942
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3943
$as_echo "no" >&6; }
 
3944
fi
 
3945
 
 
3946
  if test "x$ac_ct_CC" = x; then
 
3947
    CC=""
 
3948
  else
 
3949
    case $cross_compiling:$ac_tool_warned in
 
3950
yes:)
 
3951
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3952
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3953
ac_tool_warned=yes ;;
 
3954
esac
 
3955
    CC=$ac_ct_CC
 
3956
  fi
 
3957
else
 
3958
  CC="$ac_cv_prog_CC"
 
3959
fi
 
3960
 
 
3961
if test -z "$CC"; then
 
3962
          if test -n "$ac_tool_prefix"; then
 
3963
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
3964
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
3965
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3966
$as_echo_n "checking for $ac_word... " >&6; }
 
3967
if ${ac_cv_prog_CC+:} false; then :
 
3968
  $as_echo_n "(cached) " >&6
 
3969
else
 
3970
  if test -n "$CC"; then
 
3971
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3972
else
 
3973
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3974
for as_dir in $PATH
 
3975
do
 
3976
  IFS=$as_save_IFS
 
3977
  test -z "$as_dir" && as_dir=.
 
3978
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3979
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3980
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
3981
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3982
    break 2
 
3983
  fi
 
3984
done
 
3985
  done
 
3986
IFS=$as_save_IFS
 
3987
 
 
3988
fi
 
3989
fi
 
3990
CC=$ac_cv_prog_CC
 
3991
if test -n "$CC"; then
 
3992
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3993
$as_echo "$CC" >&6; }
 
3994
else
 
3995
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3996
$as_echo "no" >&6; }
 
3997
fi
 
3998
 
 
3999
 
 
4000
  fi
 
4001
fi
 
4002
if test -z "$CC"; then
 
4003
  # Extract the first word of "cc", so it can be a program name with args.
 
4004
set dummy cc; ac_word=$2
 
4005
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4006
$as_echo_n "checking for $ac_word... " >&6; }
 
4007
if ${ac_cv_prog_CC+:} false; then :
 
4008
  $as_echo_n "(cached) " >&6
 
4009
else
 
4010
  if test -n "$CC"; then
 
4011
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
4012
else
 
4013
  ac_prog_rejected=no
 
4014
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4015
for as_dir in $PATH
 
4016
do
 
4017
  IFS=$as_save_IFS
 
4018
  test -z "$as_dir" && as_dir=.
 
4019
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4020
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4021
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
4022
       ac_prog_rejected=yes
 
4023
       continue
 
4024
     fi
 
4025
    ac_cv_prog_CC="cc"
 
4026
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4027
    break 2
 
4028
  fi
 
4029
done
 
4030
  done
 
4031
IFS=$as_save_IFS
 
4032
 
 
4033
if test $ac_prog_rejected = yes; then
 
4034
  # We found a bogon in the path, so make sure we never use it.
 
4035
  set dummy $ac_cv_prog_CC
 
4036
  shift
 
4037
  if test $# != 0; then
 
4038
    # We chose a different compiler from the bogus one.
 
4039
    # However, it has the same basename, so the bogon will be chosen
 
4040
    # first if we set CC to just the basename; use the full file name.
 
4041
    shift
 
4042
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
4043
  fi
 
4044
fi
 
4045
fi
 
4046
fi
 
4047
CC=$ac_cv_prog_CC
 
4048
if test -n "$CC"; then
 
4049
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4050
$as_echo "$CC" >&6; }
 
4051
else
 
4052
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4053
$as_echo "no" >&6; }
 
4054
fi
 
4055
 
 
4056
 
 
4057
fi
 
4058
if test -z "$CC"; then
 
4059
  if test -n "$ac_tool_prefix"; then
 
4060
  for ac_prog in cl.exe
 
4061
  do
 
4062
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
4063
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
4064
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4065
$as_echo_n "checking for $ac_word... " >&6; }
 
4066
if ${ac_cv_prog_CC+:} false; then :
 
4067
  $as_echo_n "(cached) " >&6
 
4068
else
 
4069
  if test -n "$CC"; then
 
4070
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
4071
else
 
4072
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4073
for as_dir in $PATH
 
4074
do
 
4075
  IFS=$as_save_IFS
 
4076
  test -z "$as_dir" && as_dir=.
 
4077
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4078
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4079
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
4080
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4081
    break 2
 
4082
  fi
 
4083
done
 
4084
  done
 
4085
IFS=$as_save_IFS
 
4086
 
 
4087
fi
 
4088
fi
 
4089
CC=$ac_cv_prog_CC
 
4090
if test -n "$CC"; then
 
4091
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4092
$as_echo "$CC" >&6; }
 
4093
else
 
4094
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4095
$as_echo "no" >&6; }
 
4096
fi
 
4097
 
 
4098
 
 
4099
    test -n "$CC" && break
 
4100
  done
 
4101
fi
 
4102
if test -z "$CC"; then
 
4103
  ac_ct_CC=$CC
 
4104
  for ac_prog in cl.exe
 
4105
do
 
4106
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
4107
set dummy $ac_prog; ac_word=$2
 
4108
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4109
$as_echo_n "checking for $ac_word... " >&6; }
 
4110
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
4111
  $as_echo_n "(cached) " >&6
 
4112
else
 
4113
  if test -n "$ac_ct_CC"; then
 
4114
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
4115
else
 
4116
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4117
for as_dir in $PATH
 
4118
do
 
4119
  IFS=$as_save_IFS
 
4120
  test -z "$as_dir" && as_dir=.
 
4121
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4122
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4123
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
4124
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4125
    break 2
 
4126
  fi
 
4127
done
 
4128
  done
 
4129
IFS=$as_save_IFS
 
4130
 
 
4131
fi
 
4132
fi
 
4133
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
4134
if test -n "$ac_ct_CC"; then
 
4135
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
4136
$as_echo "$ac_ct_CC" >&6; }
 
4137
else
 
4138
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4139
$as_echo "no" >&6; }
 
4140
fi
 
4141
 
 
4142
 
 
4143
  test -n "$ac_ct_CC" && break
 
4144
done
 
4145
 
 
4146
  if test "x$ac_ct_CC" = x; then
 
4147
    CC=""
 
4148
  else
 
4149
    case $cross_compiling:$ac_tool_warned in
 
4150
yes:)
 
4151
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4152
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4153
ac_tool_warned=yes ;;
 
4154
esac
 
4155
    CC=$ac_ct_CC
 
4156
  fi
 
4157
fi
 
4158
 
 
4159
fi
 
4160
 
 
4161
 
 
4162
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4163
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4164
as_fn_error $? "no acceptable C compiler found in \$PATH
 
4165
See \`config.log' for more details" "$LINENO" 5; }
 
4166
 
 
4167
# Provide some information about the compiler.
 
4168
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
4169
set X $ac_compile
 
4170
ac_compiler=$2
 
4171
for ac_option in --version -v -V -qversion; do
 
4172
  { { ac_try="$ac_compiler $ac_option >&5"
 
4173
case "(($ac_try" in
 
4174
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4175
  *) ac_try_echo=$ac_try;;
 
4176
esac
 
4177
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4178
$as_echo "$ac_try_echo"; } >&5
 
4179
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
4180
  ac_status=$?
 
4181
  if test -s conftest.err; then
 
4182
    sed '10a\
 
4183
... rest of stderr output deleted ...
 
4184
         10q' conftest.err >conftest.er1
 
4185
    cat conftest.er1 >&5
 
4186
  fi
 
4187
  rm -f conftest.er1 conftest.err
 
4188
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4189
  test $ac_status = 0; }
 
4190
done
 
4191
 
 
4192
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
4193
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
4194
if ${ac_cv_c_compiler_gnu+:} false; then :
 
4195
  $as_echo_n "(cached) " >&6
 
4196
else
 
4197
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4198
/* end confdefs.h.  */
 
4199
 
 
4200
int
 
4201
main ()
 
4202
{
 
4203
#ifndef __GNUC__
 
4204
       choke me
 
4205
#endif
 
4206
 
 
4207
  ;
 
4208
  return 0;
 
4209
}
 
4210
_ACEOF
 
4211
if ac_fn_c_try_compile "$LINENO"; then :
 
4212
  ac_compiler_gnu=yes
 
4213
else
 
4214
  ac_compiler_gnu=no
 
4215
fi
 
4216
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4217
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
4218
 
 
4219
fi
 
4220
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
4221
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
4222
if test $ac_compiler_gnu = yes; then
 
4223
  GCC=yes
 
4224
else
 
4225
  GCC=
 
4226
fi
 
4227
ac_test_CFLAGS=${CFLAGS+set}
 
4228
ac_save_CFLAGS=$CFLAGS
 
4229
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
4230
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
4231
if ${ac_cv_prog_cc_g+:} false; then :
 
4232
  $as_echo_n "(cached) " >&6
 
4233
else
 
4234
  ac_save_c_werror_flag=$ac_c_werror_flag
 
4235
   ac_c_werror_flag=yes
 
4236
   ac_cv_prog_cc_g=no
 
4237
   CFLAGS="-g"
 
4238
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4239
/* end confdefs.h.  */
 
4240
 
 
4241
int
 
4242
main ()
 
4243
{
 
4244
 
 
4245
  ;
 
4246
  return 0;
 
4247
}
 
4248
_ACEOF
 
4249
if ac_fn_c_try_compile "$LINENO"; then :
 
4250
  ac_cv_prog_cc_g=yes
 
4251
else
 
4252
  CFLAGS=""
 
4253
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4254
/* end confdefs.h.  */
 
4255
 
 
4256
int
 
4257
main ()
 
4258
{
 
4259
 
 
4260
  ;
 
4261
  return 0;
 
4262
}
 
4263
_ACEOF
 
4264
if ac_fn_c_try_compile "$LINENO"; then :
 
4265
 
 
4266
else
 
4267
  ac_c_werror_flag=$ac_save_c_werror_flag
 
4268
         CFLAGS="-g"
 
4269
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4270
/* end confdefs.h.  */
 
4271
 
 
4272
int
 
4273
main ()
 
4274
{
 
4275
 
 
4276
  ;
 
4277
  return 0;
 
4278
}
 
4279
_ACEOF
 
4280
if ac_fn_c_try_compile "$LINENO"; then :
 
4281
  ac_cv_prog_cc_g=yes
 
4282
fi
 
4283
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4284
fi
 
4285
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4286
fi
 
4287
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4288
   ac_c_werror_flag=$ac_save_c_werror_flag
 
4289
fi
 
4290
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
4291
$as_echo "$ac_cv_prog_cc_g" >&6; }
 
4292
if test "$ac_test_CFLAGS" = set; then
 
4293
  CFLAGS=$ac_save_CFLAGS
 
4294
elif test $ac_cv_prog_cc_g = yes; then
 
4295
  if test "$GCC" = yes; then
 
4296
    CFLAGS="-g -O2"
 
4297
  else
 
4298
    CFLAGS="-g"
 
4299
  fi
 
4300
else
 
4301
  if test "$GCC" = yes; then
 
4302
    CFLAGS="-O2"
 
4303
  else
 
4304
    CFLAGS=
 
4305
  fi
 
4306
fi
 
4307
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
4308
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
4309
if ${ac_cv_prog_cc_c89+:} false; then :
 
4310
  $as_echo_n "(cached) " >&6
 
4311
else
 
4312
  ac_cv_prog_cc_c89=no
 
4313
ac_save_CC=$CC
 
4314
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4315
/* end confdefs.h.  */
 
4316
#include <stdarg.h>
 
4317
#include <stdio.h>
 
4318
#include <sys/types.h>
 
4319
#include <sys/stat.h>
 
4320
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
4321
struct buf { int x; };
 
4322
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
4323
static char *e (p, i)
 
4324
     char **p;
 
4325
     int i;
 
4326
{
 
4327
  return p[i];
 
4328
}
 
4329
static char *f (char * (*g) (char **, int), char **p, ...)
 
4330
{
 
4331
  char *s;
 
4332
  va_list v;
 
4333
  va_start (v,p);
 
4334
  s = g (p, va_arg (v,int));
 
4335
  va_end (v);
 
4336
  return s;
 
4337
}
 
4338
 
 
4339
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
4340
   function prototypes and stuff, but not '\xHH' hex character constants.
 
4341
   These don't provoke an error unfortunately, instead are silently treated
 
4342
   as 'x'.  The following induces an error, until -std is added to get
 
4343
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
4344
   array size at least.  It's necessary to write '\x00'==0 to get something
 
4345
   that's true only with -std.  */
 
4346
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
4347
 
 
4348
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
4349
   inside strings and character constants.  */
 
4350
#define FOO(x) 'x'
 
4351
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
4352
 
 
4353
int test (int i, double x);
 
4354
struct s1 {int (*f) (int a);};
 
4355
struct s2 {int (*f) (double a);};
 
4356
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
4357
int argc;
 
4358
char **argv;
 
4359
int
 
4360
main ()
 
4361
{
 
4362
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
4363
  ;
 
4364
  return 0;
 
4365
}
 
4366
_ACEOF
 
4367
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
4368
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
4369
do
 
4370
  CC="$ac_save_CC $ac_arg"
 
4371
  if ac_fn_c_try_compile "$LINENO"; then :
 
4372
  ac_cv_prog_cc_c89=$ac_arg
 
4373
fi
 
4374
rm -f core conftest.err conftest.$ac_objext
 
4375
  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
4376
done
 
4377
rm -f conftest.$ac_ext
 
4378
CC=$ac_save_CC
 
4379
 
 
4380
fi
 
4381
# AC_CACHE_VAL
 
4382
case "x$ac_cv_prog_cc_c89" in
 
4383
  x)
 
4384
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
4385
$as_echo "none needed" >&6; } ;;
 
4386
  xno)
 
4387
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
4388
$as_echo "unsupported" >&6; } ;;
 
4389
  *)
 
4390
    CC="$CC $ac_cv_prog_cc_c89"
 
4391
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
4392
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 
4393
esac
 
4394
if test "x$ac_cv_prog_cc_c89" != xno; then :
 
4395
 
 
4396
fi
 
4397
 
 
4398
ac_ext=c
 
4399
ac_cpp='$CPP $CPPFLAGS'
 
4400
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
4401
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
4402
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
4403
 
 
4404
depcc="$CC"   am_compiler_list=
 
4405
 
 
4406
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
4407
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
4408
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
 
4409
  $as_echo_n "(cached) " >&6
 
4410
else
 
4411
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
4412
  # We make a subdir and do the tests there.  Otherwise we can end up
 
4413
  # making bogus files that we don't know about and never remove.  For
 
4414
  # instance it was reported that on HP-UX the gcc test will end up
 
4415
  # making a dummy file named `D' -- because `-MD' means `put the output
 
4416
  # in D'.
 
4417
  mkdir conftest.dir
 
4418
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
4419
  # using a relative directory.
 
4420
  cp "$am_depcomp" conftest.dir
 
4421
  cd conftest.dir
 
4422
  # We will build objects and dependencies in a subdirectory because
 
4423
  # it helps to detect inapplicable dependency modes.  For instance
 
4424
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
4425
  # side effect of compilation, but ICC will put the dependencies in
 
4426
  # the current directory while Tru64 will put them in the object
 
4427
  # directory.
 
4428
  mkdir sub
 
4429
 
 
4430
  am_cv_CC_dependencies_compiler_type=none
 
4431
  if test "$am_compiler_list" = ""; then
 
4432
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
4433
  fi
 
4434
  am__universal=false
 
4435
  case " $depcc " in #(
 
4436
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
4437
     esac
 
4438
 
 
4439
  for depmode in $am_compiler_list; do
 
4440
    # Setup a source with many dependencies, because some compilers
 
4441
    # like to wrap large dependency lists on column 80 (with \), and
 
4442
    # we should not choose a depcomp mode which is confused by this.
 
4443
    #
 
4444
    # We need to recreate these files for each test, as the compiler may
 
4445
    # overwrite some of them when testing with obscure command lines.
 
4446
    # This happens at least with the AIX C compiler.
 
4447
    : > sub/conftest.c
 
4448
    for i in 1 2 3 4 5 6; do
 
4449
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
4450
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
4451
      # Solaris 8's {/usr,}/bin/sh.
 
4452
      touch sub/conftst$i.h
 
4453
    done
 
4454
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
4455
 
 
4456
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
4457
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
4458
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
4459
    # versions had trouble with output in subdirs
 
4460
    am__obj=sub/conftest.${OBJEXT-o}
 
4461
    am__minus_obj="-o $am__obj"
 
4462
    case $depmode in
 
4463
    gcc)
 
4464
      # This depmode causes a compiler race in universal mode.
 
4465
      test "$am__universal" = false || continue
 
4466
      ;;
 
4467
    nosideeffect)
 
4468
      # after this tag, mechanisms are not by side-effect, so they'll
 
4469
      # only be used when explicitly requested
 
4470
      if test "x$enable_dependency_tracking" = xyes; then
 
4471
        continue
 
4472
      else
 
4473
        break
 
4474
      fi
 
4475
      ;;
 
4476
    msvisualcpp | msvcmsys)
 
4477
      # This compiler won't grok `-c -o', but also, the minuso test has
 
4478
      # not run yet.  These depmodes are late enough in the game, and
 
4479
      # so weak that their functioning should not be impacted.
 
4480
      am__obj=conftest.${OBJEXT-o}
 
4481
      am__minus_obj=
 
4482
      ;;
 
4483
    none) break ;;
 
4484
    esac
 
4485
    if depmode=$depmode \
 
4486
       source=sub/conftest.c object=$am__obj \
 
4487
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
4488
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 
4489
         >/dev/null 2>conftest.err &&
 
4490
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
4491
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
4492
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 
4493
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
4494
      # icc doesn't choke on unknown options, it will just issue warnings
 
4495
      # or remarks (even with -Werror).  So we grep stderr for any message
 
4496
      # that says an option was ignored or not supported.
 
4497
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
4498
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
4499
      # The diagnosis changed in icc 8.0:
 
4500
      #   icc: Command line remark: option '-MP' not supported
 
4501
      if (grep 'ignoring option' conftest.err ||
 
4502
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
4503
        am_cv_CC_dependencies_compiler_type=$depmode
 
4504
        break
 
4505
      fi
 
4506
    fi
 
4507
  done
 
4508
 
 
4509
  cd ..
 
4510
  rm -rf conftest.dir
 
4511
else
 
4512
  am_cv_CC_dependencies_compiler_type=none
 
4513
fi
 
4514
 
 
4515
fi
 
4516
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 
4517
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 
4518
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
4519
 
 
4520
 if
 
4521
  test "x$enable_dependency_tracking" != xno \
 
4522
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
4523
  am__fastdepCC_TRUE=
 
4524
  am__fastdepCC_FALSE='#'
 
4525
else
 
4526
  am__fastdepCC_TRUE='#'
 
4527
  am__fastdepCC_FALSE=
 
4528
fi
 
4529
 
 
4530
 
 
4531
ac_ext=c
 
4532
ac_cpp='$CPP $CPPFLAGS'
 
4533
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
4534
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
4535
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
4536
if test -n "$ac_tool_prefix"; then
 
4537
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
4538
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
4539
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4540
$as_echo_n "checking for $ac_word... " >&6; }
 
4541
if ${ac_cv_prog_CC+:} false; then :
 
4542
  $as_echo_n "(cached) " >&6
 
4543
else
 
4544
  if test -n "$CC"; then
 
4545
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
4546
else
 
4547
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4548
for as_dir in $PATH
 
4549
do
 
4550
  IFS=$as_save_IFS
 
4551
  test -z "$as_dir" && as_dir=.
 
4552
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4553
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4554
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
4555
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4556
    break 2
 
4557
  fi
 
4558
done
 
4559
  done
 
4560
IFS=$as_save_IFS
 
4561
 
 
4562
fi
 
4563
fi
 
4564
CC=$ac_cv_prog_CC
 
4565
if test -n "$CC"; then
 
4566
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4567
$as_echo "$CC" >&6; }
 
4568
else
 
4569
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4570
$as_echo "no" >&6; }
 
4571
fi
 
4572
 
 
4573
 
 
4574
fi
 
4575
if test -z "$ac_cv_prog_CC"; then
 
4576
  ac_ct_CC=$CC
 
4577
  # Extract the first word of "gcc", so it can be a program name with args.
 
4578
set dummy gcc; ac_word=$2
 
4579
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4580
$as_echo_n "checking for $ac_word... " >&6; }
 
4581
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
4582
  $as_echo_n "(cached) " >&6
 
4583
else
 
4584
  if test -n "$ac_ct_CC"; then
 
4585
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
4586
else
 
4587
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4588
for as_dir in $PATH
 
4589
do
 
4590
  IFS=$as_save_IFS
 
4591
  test -z "$as_dir" && as_dir=.
 
4592
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4593
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4594
    ac_cv_prog_ac_ct_CC="gcc"
 
4595
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4596
    break 2
 
4597
  fi
 
4598
done
 
4599
  done
 
4600
IFS=$as_save_IFS
 
4601
 
 
4602
fi
 
4603
fi
 
4604
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
4605
if test -n "$ac_ct_CC"; then
 
4606
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
4607
$as_echo "$ac_ct_CC" >&6; }
 
4608
else
 
4609
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4610
$as_echo "no" >&6; }
 
4611
fi
 
4612
 
 
4613
  if test "x$ac_ct_CC" = x; then
 
4614
    CC=""
 
4615
  else
 
4616
    case $cross_compiling:$ac_tool_warned in
 
4617
yes:)
 
4618
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4619
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4620
ac_tool_warned=yes ;;
 
4621
esac
 
4622
    CC=$ac_ct_CC
 
4623
  fi
 
4624
else
 
4625
  CC="$ac_cv_prog_CC"
 
4626
fi
 
4627
 
 
4628
if test -z "$CC"; then
 
4629
          if test -n "$ac_tool_prefix"; then
 
4630
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
4631
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
4632
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4633
$as_echo_n "checking for $ac_word... " >&6; }
 
4634
if ${ac_cv_prog_CC+:} false; then :
 
4635
  $as_echo_n "(cached) " >&6
 
4636
else
 
4637
  if test -n "$CC"; then
 
4638
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
4639
else
 
4640
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4641
for as_dir in $PATH
 
4642
do
 
4643
  IFS=$as_save_IFS
 
4644
  test -z "$as_dir" && as_dir=.
 
4645
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4646
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4647
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
4648
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4649
    break 2
 
4650
  fi
 
4651
done
 
4652
  done
 
4653
IFS=$as_save_IFS
 
4654
 
 
4655
fi
 
4656
fi
 
4657
CC=$ac_cv_prog_CC
 
4658
if test -n "$CC"; then
 
4659
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4660
$as_echo "$CC" >&6; }
 
4661
else
 
4662
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4663
$as_echo "no" >&6; }
 
4664
fi
 
4665
 
 
4666
 
 
4667
  fi
 
4668
fi
 
4669
if test -z "$CC"; then
 
4670
  # Extract the first word of "cc", so it can be a program name with args.
 
4671
set dummy cc; ac_word=$2
 
4672
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4673
$as_echo_n "checking for $ac_word... " >&6; }
 
4674
if ${ac_cv_prog_CC+:} false; then :
 
4675
  $as_echo_n "(cached) " >&6
 
4676
else
 
4677
  if test -n "$CC"; then
 
4678
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
4679
else
 
4680
  ac_prog_rejected=no
 
4681
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4682
for as_dir in $PATH
 
4683
do
 
4684
  IFS=$as_save_IFS
 
4685
  test -z "$as_dir" && as_dir=.
 
4686
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4687
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4688
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
4689
       ac_prog_rejected=yes
 
4690
       continue
 
4691
     fi
 
4692
    ac_cv_prog_CC="cc"
 
4693
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4694
    break 2
 
4695
  fi
 
4696
done
 
4697
  done
 
4698
IFS=$as_save_IFS
 
4699
 
 
4700
if test $ac_prog_rejected = yes; then
 
4701
  # We found a bogon in the path, so make sure we never use it.
 
4702
  set dummy $ac_cv_prog_CC
 
4703
  shift
 
4704
  if test $# != 0; then
 
4705
    # We chose a different compiler from the bogus one.
 
4706
    # However, it has the same basename, so the bogon will be chosen
 
4707
    # first if we set CC to just the basename; use the full file name.
 
4708
    shift
 
4709
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
4710
  fi
 
4711
fi
 
4712
fi
 
4713
fi
 
4714
CC=$ac_cv_prog_CC
 
4715
if test -n "$CC"; then
 
4716
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4717
$as_echo "$CC" >&6; }
 
4718
else
 
4719
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4720
$as_echo "no" >&6; }
 
4721
fi
 
4722
 
 
4723
 
 
4724
fi
 
4725
if test -z "$CC"; then
 
4726
  if test -n "$ac_tool_prefix"; then
 
4727
  for ac_prog in cl.exe
 
4728
  do
 
4729
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
4730
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
4731
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4732
$as_echo_n "checking for $ac_word... " >&6; }
 
4733
if ${ac_cv_prog_CC+:} false; then :
 
4734
  $as_echo_n "(cached) " >&6
 
4735
else
 
4736
  if test -n "$CC"; then
 
4737
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
4738
else
 
4739
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4740
for as_dir in $PATH
 
4741
do
 
4742
  IFS=$as_save_IFS
 
4743
  test -z "$as_dir" && as_dir=.
 
4744
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4745
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4746
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
4747
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4748
    break 2
 
4749
  fi
 
4750
done
 
4751
  done
 
4752
IFS=$as_save_IFS
 
4753
 
 
4754
fi
 
4755
fi
 
4756
CC=$ac_cv_prog_CC
 
4757
if test -n "$CC"; then
 
4758
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4759
$as_echo "$CC" >&6; }
 
4760
else
 
4761
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4762
$as_echo "no" >&6; }
 
4763
fi
 
4764
 
 
4765
 
 
4766
    test -n "$CC" && break
 
4767
  done
 
4768
fi
 
4769
if test -z "$CC"; then
 
4770
  ac_ct_CC=$CC
 
4771
  for ac_prog in cl.exe
 
4772
do
 
4773
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
4774
set dummy $ac_prog; ac_word=$2
 
4775
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4776
$as_echo_n "checking for $ac_word... " >&6; }
 
4777
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
4778
  $as_echo_n "(cached) " >&6
 
4779
else
 
4780
  if test -n "$ac_ct_CC"; then
 
4781
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
4782
else
 
4783
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4784
for as_dir in $PATH
 
4785
do
 
4786
  IFS=$as_save_IFS
 
4787
  test -z "$as_dir" && as_dir=.
 
4788
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4789
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4790
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
4791
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4792
    break 2
 
4793
  fi
 
4794
done
 
4795
  done
 
4796
IFS=$as_save_IFS
 
4797
 
 
4798
fi
 
4799
fi
 
4800
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
4801
if test -n "$ac_ct_CC"; then
 
4802
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
4803
$as_echo "$ac_ct_CC" >&6; }
 
4804
else
 
4805
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4806
$as_echo "no" >&6; }
 
4807
fi
 
4808
 
 
4809
 
 
4810
  test -n "$ac_ct_CC" && break
 
4811
done
 
4812
 
 
4813
  if test "x$ac_ct_CC" = x; then
 
4814
    CC=""
 
4815
  else
 
4816
    case $cross_compiling:$ac_tool_warned in
 
4817
yes:)
 
4818
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4819
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4820
ac_tool_warned=yes ;;
 
4821
esac
 
4822
    CC=$ac_ct_CC
 
4823
  fi
 
4824
fi
 
4825
 
 
4826
fi
 
4827
 
 
4828
 
 
4829
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4830
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4831
as_fn_error $? "no acceptable C compiler found in \$PATH
 
4832
See \`config.log' for more details" "$LINENO" 5; }
 
4833
 
 
4834
# Provide some information about the compiler.
 
4835
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
4836
set X $ac_compile
 
4837
ac_compiler=$2
 
4838
for ac_option in --version -v -V -qversion; do
 
4839
  { { ac_try="$ac_compiler $ac_option >&5"
 
4840
case "(($ac_try" in
 
4841
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4842
  *) ac_try_echo=$ac_try;;
 
4843
esac
 
4844
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4845
$as_echo "$ac_try_echo"; } >&5
 
4846
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
4847
  ac_status=$?
 
4848
  if test -s conftest.err; then
 
4849
    sed '10a\
 
4850
... rest of stderr output deleted ...
 
4851
         10q' conftest.err >conftest.er1
 
4852
    cat conftest.er1 >&5
 
4853
  fi
 
4854
  rm -f conftest.er1 conftest.err
 
4855
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4856
  test $ac_status = 0; }
 
4857
done
 
4858
 
 
4859
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
4860
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
4861
if ${ac_cv_c_compiler_gnu+:} false; then :
 
4862
  $as_echo_n "(cached) " >&6
 
4863
else
 
4864
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4865
/* end confdefs.h.  */
 
4866
 
 
4867
int
 
4868
main ()
 
4869
{
 
4870
#ifndef __GNUC__
 
4871
       choke me
 
4872
#endif
 
4873
 
 
4874
  ;
 
4875
  return 0;
 
4876
}
 
4877
_ACEOF
 
4878
if ac_fn_c_try_compile "$LINENO"; then :
 
4879
  ac_compiler_gnu=yes
 
4880
else
 
4881
  ac_compiler_gnu=no
 
4882
fi
 
4883
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4884
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
4885
 
 
4886
fi
 
4887
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
4888
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
4889
if test $ac_compiler_gnu = yes; then
 
4890
  GCC=yes
 
4891
else
 
4892
  GCC=
 
4893
fi
 
4894
ac_test_CFLAGS=${CFLAGS+set}
 
4895
ac_save_CFLAGS=$CFLAGS
 
4896
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
4897
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
4898
if ${ac_cv_prog_cc_g+:} false; then :
 
4899
  $as_echo_n "(cached) " >&6
 
4900
else
 
4901
  ac_save_c_werror_flag=$ac_c_werror_flag
 
4902
   ac_c_werror_flag=yes
 
4903
   ac_cv_prog_cc_g=no
 
4904
   CFLAGS="-g"
 
4905
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4906
/* end confdefs.h.  */
 
4907
 
 
4908
int
 
4909
main ()
 
4910
{
 
4911
 
 
4912
  ;
 
4913
  return 0;
 
4914
}
 
4915
_ACEOF
 
4916
if ac_fn_c_try_compile "$LINENO"; then :
 
4917
  ac_cv_prog_cc_g=yes
 
4918
else
 
4919
  CFLAGS=""
 
4920
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4921
/* end confdefs.h.  */
 
4922
 
 
4923
int
 
4924
main ()
 
4925
{
 
4926
 
 
4927
  ;
 
4928
  return 0;
 
4929
}
 
4930
_ACEOF
 
4931
if ac_fn_c_try_compile "$LINENO"; then :
 
4932
 
 
4933
else
 
4934
  ac_c_werror_flag=$ac_save_c_werror_flag
 
4935
         CFLAGS="-g"
 
4936
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4937
/* end confdefs.h.  */
 
4938
 
 
4939
int
 
4940
main ()
 
4941
{
 
4942
 
 
4943
  ;
 
4944
  return 0;
 
4945
}
 
4946
_ACEOF
 
4947
if ac_fn_c_try_compile "$LINENO"; then :
 
4948
  ac_cv_prog_cc_g=yes
 
4949
fi
 
4950
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4951
fi
 
4952
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4953
fi
 
4954
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4955
   ac_c_werror_flag=$ac_save_c_werror_flag
 
4956
fi
 
4957
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
4958
$as_echo "$ac_cv_prog_cc_g" >&6; }
 
4959
if test "$ac_test_CFLAGS" = set; then
 
4960
  CFLAGS=$ac_save_CFLAGS
 
4961
elif test $ac_cv_prog_cc_g = yes; then
 
4962
  if test "$GCC" = yes; then
 
4963
    CFLAGS="-g -O2"
 
4964
  else
 
4965
    CFLAGS="-g"
 
4966
  fi
 
4967
else
 
4968
  if test "$GCC" = yes; then
 
4969
    CFLAGS="-O2"
 
4970
  else
 
4971
    CFLAGS=
 
4972
  fi
 
4973
fi
 
4974
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
4975
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
4976
if ${ac_cv_prog_cc_c89+:} false; then :
 
4977
  $as_echo_n "(cached) " >&6
 
4978
else
 
4979
  ac_cv_prog_cc_c89=no
 
4980
ac_save_CC=$CC
 
4981
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4982
/* end confdefs.h.  */
 
4983
#include <stdarg.h>
 
4984
#include <stdio.h>
 
4985
#include <sys/types.h>
 
4986
#include <sys/stat.h>
 
4987
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
4988
struct buf { int x; };
 
4989
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
4990
static char *e (p, i)
 
4991
     char **p;
 
4992
     int i;
 
4993
{
 
4994
  return p[i];
 
4995
}
 
4996
static char *f (char * (*g) (char **, int), char **p, ...)
 
4997
{
 
4998
  char *s;
 
4999
  va_list v;
 
5000
  va_start (v,p);
 
5001
  s = g (p, va_arg (v,int));
 
5002
  va_end (v);
 
5003
  return s;
 
5004
}
 
5005
 
 
5006
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
5007
   function prototypes and stuff, but not '\xHH' hex character constants.
 
5008
   These don't provoke an error unfortunately, instead are silently treated
 
5009
   as 'x'.  The following induces an error, until -std is added to get
 
5010
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
5011
   array size at least.  It's necessary to write '\x00'==0 to get something
 
5012
   that's true only with -std.  */
 
5013
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
5014
 
 
5015
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
5016
   inside strings and character constants.  */
 
5017
#define FOO(x) 'x'
 
5018
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
5019
 
 
5020
int test (int i, double x);
 
5021
struct s1 {int (*f) (int a);};
 
5022
struct s2 {int (*f) (double a);};
 
5023
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
5024
int argc;
 
5025
char **argv;
 
5026
int
 
5027
main ()
 
5028
{
 
5029
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
5030
  ;
 
5031
  return 0;
 
5032
}
 
5033
_ACEOF
 
5034
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
5035
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
5036
do
 
5037
  CC="$ac_save_CC $ac_arg"
 
5038
  if ac_fn_c_try_compile "$LINENO"; then :
 
5039
  ac_cv_prog_cc_c89=$ac_arg
 
5040
fi
 
5041
rm -f core conftest.err conftest.$ac_objext
 
5042
  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
5043
done
 
5044
rm -f conftest.$ac_ext
 
5045
CC=$ac_save_CC
 
5046
 
 
5047
fi
 
5048
# AC_CACHE_VAL
 
5049
case "x$ac_cv_prog_cc_c89" in
 
5050
  x)
 
5051
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
5052
$as_echo "none needed" >&6; } ;;
 
5053
  xno)
 
5054
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
5055
$as_echo "unsupported" >&6; } ;;
 
5056
  *)
 
5057
    CC="$CC $ac_cv_prog_cc_c89"
 
5058
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
5059
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 
5060
esac
 
5061
if test "x$ac_cv_prog_cc_c89" != xno; then :
 
5062
 
 
5063
fi
 
5064
 
 
5065
ac_ext=c
 
5066
ac_cpp='$CPP $CPPFLAGS'
 
5067
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
5068
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
5069
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
5070
 
 
5071
depcc="$CC"   am_compiler_list=
 
5072
 
 
5073
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
5074
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
5075
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
 
5076
  $as_echo_n "(cached) " >&6
 
5077
else
 
5078
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
5079
  # We make a subdir and do the tests there.  Otherwise we can end up
 
5080
  # making bogus files that we don't know about and never remove.  For
 
5081
  # instance it was reported that on HP-UX the gcc test will end up
 
5082
  # making a dummy file named `D' -- because `-MD' means `put the output
 
5083
  # in D'.
 
5084
  mkdir conftest.dir
 
5085
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
5086
  # using a relative directory.
 
5087
  cp "$am_depcomp" conftest.dir
 
5088
  cd conftest.dir
 
5089
  # We will build objects and dependencies in a subdirectory because
 
5090
  # it helps to detect inapplicable dependency modes.  For instance
 
5091
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
5092
  # side effect of compilation, but ICC will put the dependencies in
 
5093
  # the current directory while Tru64 will put them in the object
 
5094
  # directory.
 
5095
  mkdir sub
 
5096
 
 
5097
  am_cv_CC_dependencies_compiler_type=none
 
5098
  if test "$am_compiler_list" = ""; then
 
5099
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
5100
  fi
 
5101
  am__universal=false
 
5102
  case " $depcc " in #(
 
5103
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
5104
     esac
 
5105
 
 
5106
  for depmode in $am_compiler_list; do
 
5107
    # Setup a source with many dependencies, because some compilers
 
5108
    # like to wrap large dependency lists on column 80 (with \), and
 
5109
    # we should not choose a depcomp mode which is confused by this.
 
5110
    #
 
5111
    # We need to recreate these files for each test, as the compiler may
 
5112
    # overwrite some of them when testing with obscure command lines.
 
5113
    # This happens at least with the AIX C compiler.
 
5114
    : > sub/conftest.c
 
5115
    for i in 1 2 3 4 5 6; do
 
5116
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
5117
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
5118
      # Solaris 8's {/usr,}/bin/sh.
 
5119
      touch sub/conftst$i.h
 
5120
    done
 
5121
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
5122
 
 
5123
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
5124
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
5125
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
5126
    # versions had trouble with output in subdirs
 
5127
    am__obj=sub/conftest.${OBJEXT-o}
 
5128
    am__minus_obj="-o $am__obj"
 
5129
    case $depmode in
 
5130
    gcc)
 
5131
      # This depmode causes a compiler race in universal mode.
 
5132
      test "$am__universal" = false || continue
 
5133
      ;;
 
5134
    nosideeffect)
 
5135
      # after this tag, mechanisms are not by side-effect, so they'll
 
5136
      # only be used when explicitly requested
 
5137
      if test "x$enable_dependency_tracking" = xyes; then
 
5138
        continue
 
5139
      else
 
5140
        break
 
5141
      fi
 
5142
      ;;
 
5143
    msvisualcpp | msvcmsys)
 
5144
      # This compiler won't grok `-c -o', but also, the minuso test has
 
5145
      # not run yet.  These depmodes are late enough in the game, and
 
5146
      # so weak that their functioning should not be impacted.
 
5147
      am__obj=conftest.${OBJEXT-o}
 
5148
      am__minus_obj=
 
5149
      ;;
 
5150
    none) break ;;
 
5151
    esac
 
5152
    if depmode=$depmode \
 
5153
       source=sub/conftest.c object=$am__obj \
 
5154
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
5155
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 
5156
         >/dev/null 2>conftest.err &&
 
5157
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
5158
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
5159
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 
5160
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
5161
      # icc doesn't choke on unknown options, it will just issue warnings
 
5162
      # or remarks (even with -Werror).  So we grep stderr for any message
 
5163
      # that says an option was ignored or not supported.
 
5164
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
5165
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
5166
      # The diagnosis changed in icc 8.0:
 
5167
      #   icc: Command line remark: option '-MP' not supported
 
5168
      if (grep 'ignoring option' conftest.err ||
 
5169
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
5170
        am_cv_CC_dependencies_compiler_type=$depmode
 
5171
        break
 
5172
      fi
 
5173
    fi
 
5174
  done
 
5175
 
 
5176
  cd ..
 
5177
  rm -rf conftest.dir
 
5178
else
 
5179
  am_cv_CC_dependencies_compiler_type=none
 
5180
fi
 
5181
 
 
5182
fi
 
5183
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 
5184
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 
5185
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
5186
 
 
5187
 if
 
5188
  test "x$enable_dependency_tracking" != xno \
 
5189
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
5190
  am__fastdepCC_TRUE=
 
5191
  am__fastdepCC_FALSE='#'
 
5192
else
 
5193
  am__fastdepCC_TRUE='#'
 
5194
  am__fastdepCC_FALSE=
 
5195
fi
 
5196
 
 
5197
 
 
5198
 
 
5199
am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
 
5200
 
 
5201
ac_ext=c
 
5202
ac_cpp='$CPP $CPPFLAGS'
 
5203
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
5204
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
5205
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
5206
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 
5207
$as_echo_n "checking how to run the C preprocessor... " >&6; }
 
5208
# On Suns, sometimes $CPP names a directory.
 
5209
if test -n "$CPP" && test -d "$CPP"; then
 
5210
  CPP=
 
5211
fi
 
5212
if test -z "$CPP"; then
 
5213
  if ${ac_cv_prog_CPP+:} false; then :
 
5214
  $as_echo_n "(cached) " >&6
 
5215
else
 
5216
      # Double quotes because CPP needs to be expanded
 
5217
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
5218
    do
 
5219
      ac_preproc_ok=false
 
5220
for ac_c_preproc_warn_flag in '' yes
 
5221
do
 
5222
  # Use a header file that comes with gcc, so configuring glibc
 
5223
  # with a fresh cross-compiler works.
 
5224
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
5225
  # <limits.h> exists even on freestanding compilers.
 
5226
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
5227
  # not just through cpp. "Syntax error" is here to catch this case.
 
5228
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5229
/* end confdefs.h.  */
 
5230
#ifdef __STDC__
 
5231
# include <limits.h>
 
5232
#else
 
5233
# include <assert.h>
 
5234
#endif
 
5235
                     Syntax error
 
5236
_ACEOF
 
5237
if ac_fn_c_try_cpp "$LINENO"; then :
 
5238
 
 
5239
else
 
5240
  # Broken: fails on valid input.
 
5241
continue
 
5242
fi
 
5243
rm -f conftest.err conftest.i conftest.$ac_ext
 
5244
 
 
5245
  # OK, works on sane cases.  Now check whether nonexistent headers
 
5246
  # can be detected and how.
 
5247
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5248
/* end confdefs.h.  */
 
5249
#include <ac_nonexistent.h>
 
5250
_ACEOF
 
5251
if ac_fn_c_try_cpp "$LINENO"; then :
 
5252
  # Broken: success on invalid input.
 
5253
continue
 
5254
else
 
5255
  # Passes both tests.
 
5256
ac_preproc_ok=:
 
5257
break
 
5258
fi
 
5259
rm -f conftest.err conftest.i conftest.$ac_ext
 
5260
 
 
5261
done
 
5262
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
5263
rm -f conftest.i conftest.err conftest.$ac_ext
 
5264
if $ac_preproc_ok; then :
 
5265
  break
 
5266
fi
 
5267
 
 
5268
    done
 
5269
    ac_cv_prog_CPP=$CPP
 
5270
 
 
5271
fi
 
5272
  CPP=$ac_cv_prog_CPP
 
5273
else
 
5274
  ac_cv_prog_CPP=$CPP
 
5275
fi
 
5276
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 
5277
$as_echo "$CPP" >&6; }
 
5278
ac_preproc_ok=false
 
5279
for ac_c_preproc_warn_flag in '' yes
 
5280
do
 
5281
  # Use a header file that comes with gcc, so configuring glibc
 
5282
  # with a fresh cross-compiler works.
 
5283
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
5284
  # <limits.h> exists even on freestanding compilers.
 
5285
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
5286
  # not just through cpp. "Syntax error" is here to catch this case.
 
5287
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5288
/* end confdefs.h.  */
 
5289
#ifdef __STDC__
 
5290
# include <limits.h>
 
5291
#else
 
5292
# include <assert.h>
 
5293
#endif
 
5294
                     Syntax error
 
5295
_ACEOF
 
5296
if ac_fn_c_try_cpp "$LINENO"; then :
 
5297
 
 
5298
else
 
5299
  # Broken: fails on valid input.
 
5300
continue
 
5301
fi
 
5302
rm -f conftest.err conftest.i conftest.$ac_ext
 
5303
 
 
5304
  # OK, works on sane cases.  Now check whether nonexistent headers
 
5305
  # can be detected and how.
 
5306
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5307
/* end confdefs.h.  */
 
5308
#include <ac_nonexistent.h>
 
5309
_ACEOF
 
5310
if ac_fn_c_try_cpp "$LINENO"; then :
 
5311
  # Broken: success on invalid input.
 
5312
continue
 
5313
else
 
5314
  # Passes both tests.
 
5315
ac_preproc_ok=:
 
5316
break
 
5317
fi
 
5318
rm -f conftest.err conftest.i conftest.$ac_ext
 
5319
 
 
5320
done
 
5321
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
5322
rm -f conftest.i conftest.err conftest.$ac_ext
 
5323
if $ac_preproc_ok; then :
 
5324
 
 
5325
else
 
5326
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
5327
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
5328
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 
5329
See \`config.log' for more details" "$LINENO" 5; }
 
5330
fi
 
5331
 
 
5332
ac_ext=c
 
5333
ac_cpp='$CPP $CPPFLAGS'
 
5334
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
5335
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
5336
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
5337
 
 
5338
 
 
5339
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 
5340
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
5341
if ${ac_cv_path_GREP+:} false; then :
 
5342
  $as_echo_n "(cached) " >&6
 
5343
else
 
5344
  if test -z "$GREP"; then
 
5345
  ac_path_GREP_found=false
 
5346
  # Loop through the user's path and test for each of PROGNAME-LIST
 
5347
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5348
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
5349
do
 
5350
  IFS=$as_save_IFS
 
5351
  test -z "$as_dir" && as_dir=.
 
5352
    for ac_prog in grep ggrep; do
 
5353
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5354
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
5355
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
5356
# Check for GNU ac_path_GREP and select it if it is found.
 
5357
  # Check for GNU $ac_path_GREP
 
5358
case `"$ac_path_GREP" --version 2>&1` in
 
5359
*GNU*)
 
5360
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
5361
*)
 
5362
  ac_count=0
 
5363
  $as_echo_n 0123456789 >"conftest.in"
 
5364
  while :
 
5365
  do
 
5366
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
5367
    mv "conftest.tmp" "conftest.in"
 
5368
    cp "conftest.in" "conftest.nl"
 
5369
    $as_echo 'GREP' >> "conftest.nl"
 
5370
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
5371
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
5372
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
5373
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
5374
      # Best one so far, save it but keep looking for a better one
 
5375
      ac_cv_path_GREP="$ac_path_GREP"
 
5376
      ac_path_GREP_max=$ac_count
 
5377
    fi
 
5378
    # 10*(2^10) chars as input seems more than enough
 
5379
    test $ac_count -gt 10 && break
 
5380
  done
 
5381
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
5382
esac
 
5383
 
 
5384
      $ac_path_GREP_found && break 3
 
5385
    done
 
5386
  done
 
5387
  done
 
5388
IFS=$as_save_IFS
 
5389
  if test -z "$ac_cv_path_GREP"; then
 
5390
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
5391
  fi
 
5392
else
 
5393
  ac_cv_path_GREP=$GREP
 
5394
fi
 
5395
 
 
5396
fi
 
5397
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 
5398
$as_echo "$ac_cv_path_GREP" >&6; }
 
5399
 GREP="$ac_cv_path_GREP"
 
5400
 
 
5401
 
 
5402
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 
5403
$as_echo_n "checking for egrep... " >&6; }
 
5404
if ${ac_cv_path_EGREP+:} false; then :
 
5405
  $as_echo_n "(cached) " >&6
 
5406
else
 
5407
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
5408
   then ac_cv_path_EGREP="$GREP -E"
 
5409
   else
 
5410
     if test -z "$EGREP"; then
 
5411
  ac_path_EGREP_found=false
 
5412
  # Loop through the user's path and test for each of PROGNAME-LIST
 
5413
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5414
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
5415
do
 
5416
  IFS=$as_save_IFS
 
5417
  test -z "$as_dir" && as_dir=.
 
5418
    for ac_prog in egrep; do
 
5419
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5420
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
5421
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
5422
# Check for GNU ac_path_EGREP and select it if it is found.
 
5423
  # Check for GNU $ac_path_EGREP
 
5424
case `"$ac_path_EGREP" --version 2>&1` in
 
5425
*GNU*)
 
5426
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
5427
*)
 
5428
  ac_count=0
 
5429
  $as_echo_n 0123456789 >"conftest.in"
 
5430
  while :
 
5431
  do
 
5432
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
5433
    mv "conftest.tmp" "conftest.in"
 
5434
    cp "conftest.in" "conftest.nl"
 
5435
    $as_echo 'EGREP' >> "conftest.nl"
 
5436
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
5437
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
5438
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
5439
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
5440
      # Best one so far, save it but keep looking for a better one
 
5441
      ac_cv_path_EGREP="$ac_path_EGREP"
 
5442
      ac_path_EGREP_max=$ac_count
 
5443
    fi
 
5444
    # 10*(2^10) chars as input seems more than enough
 
5445
    test $ac_count -gt 10 && break
 
5446
  done
 
5447
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
5448
esac
 
5449
 
 
5450
      $ac_path_EGREP_found && break 3
 
5451
    done
 
5452
  done
 
5453
  done
 
5454
IFS=$as_save_IFS
 
5455
  if test -z "$ac_cv_path_EGREP"; then
 
5456
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
5457
  fi
 
5458
else
 
5459
  ac_cv_path_EGREP=$EGREP
 
5460
fi
 
5461
 
 
5462
   fi
 
5463
fi
 
5464
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 
5465
$as_echo "$ac_cv_path_EGREP" >&6; }
 
5466
 EGREP="$ac_cv_path_EGREP"
 
5467
 
 
5468
 
 
5469
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 
5470
$as_echo_n "checking for ANSI C header files... " >&6; }
 
5471
if ${ac_cv_header_stdc+:} false; then :
 
5472
  $as_echo_n "(cached) " >&6
 
5473
else
 
5474
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5475
/* end confdefs.h.  */
 
5476
#include <stdlib.h>
 
5477
#include <stdarg.h>
 
5478
#include <string.h>
 
5479
#include <float.h>
 
5480
 
 
5481
int
 
5482
main ()
 
5483
{
 
5484
 
 
5485
  ;
 
5486
  return 0;
 
5487
}
 
5488
_ACEOF
 
5489
if ac_fn_c_try_compile "$LINENO"; then :
 
5490
  ac_cv_header_stdc=yes
 
5491
else
 
5492
  ac_cv_header_stdc=no
 
5493
fi
 
5494
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5495
 
 
5496
if test $ac_cv_header_stdc = yes; then
 
5497
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
5498
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5499
/* end confdefs.h.  */
 
5500
#include <string.h>
 
5501
 
 
5502
_ACEOF
 
5503
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
5504
  $EGREP "memchr" >/dev/null 2>&1; then :
 
5505
 
 
5506
else
 
5507
  ac_cv_header_stdc=no
 
5508
fi
 
5509
rm -f conftest*
 
5510
 
 
5511
fi
 
5512
 
 
5513
if test $ac_cv_header_stdc = yes; then
 
5514
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
5515
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5516
/* end confdefs.h.  */
 
5517
#include <stdlib.h>
 
5518
 
 
5519
_ACEOF
 
5520
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
5521
  $EGREP "free" >/dev/null 2>&1; then :
 
5522
 
 
5523
else
 
5524
  ac_cv_header_stdc=no
 
5525
fi
 
5526
rm -f conftest*
 
5527
 
 
5528
fi
 
5529
 
 
5530
if test $ac_cv_header_stdc = yes; then
 
5531
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
5532
  if test "$cross_compiling" = yes; then :
 
5533
  :
 
5534
else
 
5535
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5536
/* end confdefs.h.  */
 
5537
#include <ctype.h>
 
5538
#include <stdlib.h>
 
5539
#if ((' ' & 0x0FF) == 0x020)
 
5540
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
5541
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
5542
#else
 
5543
# define ISLOWER(c) \
 
5544
                   (('a' <= (c) && (c) <= 'i') \
 
5545
                     || ('j' <= (c) && (c) <= 'r') \
 
5546
                     || ('s' <= (c) && (c) <= 'z'))
 
5547
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
5548
#endif
 
5549
 
 
5550
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
5551
int
 
5552
main ()
 
5553
{
 
5554
  int i;
 
5555
  for (i = 0; i < 256; i++)
 
5556
    if (XOR (islower (i), ISLOWER (i))
 
5557
        || toupper (i) != TOUPPER (i))
 
5558
      return 2;
 
5559
  return 0;
 
5560
}
 
5561
_ACEOF
 
5562
if ac_fn_c_try_run "$LINENO"; then :
 
5563
 
 
5564
else
 
5565
  ac_cv_header_stdc=no
 
5566
fi
 
5567
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
5568
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
5569
fi
 
5570
 
 
5571
fi
 
5572
fi
 
5573
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 
5574
$as_echo "$ac_cv_header_stdc" >&6; }
 
5575
if test $ac_cv_header_stdc = yes; then
 
5576
 
 
5577
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
 
5578
 
 
5579
fi
 
5580
 
 
5581
 
 
5582
 
 
5583
 
 
5584
 
 
5585
GETTEXT_PACKAGE=lyricue
 
5586
 
 
5587
 
 
5588
cat >>confdefs.h <<_ACEOF
 
5589
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
 
5590
_ACEOF
 
5591
 
 
5592
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
5593
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
5594
                  inttypes.h stdint.h unistd.h
 
5595
do :
 
5596
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
5597
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
5598
"
 
5599
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
5600
  cat >>confdefs.h <<_ACEOF
 
5601
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
5602
_ACEOF
 
5603
 
 
5604
fi
 
5605
 
 
5606
done
 
5607
 
 
5608
 
 
5609
 
 
5610
   for ac_header in locale.h
 
5611
do :
 
5612
  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
 
5613
if test "x$ac_cv_header_locale_h" = xyes; then :
 
5614
  cat >>confdefs.h <<_ACEOF
 
5615
#define HAVE_LOCALE_H 1
 
5616
_ACEOF
 
5617
 
 
5618
fi
 
5619
 
 
5620
done
 
5621
 
 
5622
    if test $ac_cv_header_locale_h = yes; then
 
5623
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
 
5624
$as_echo_n "checking for LC_MESSAGES... " >&6; }
 
5625
if ${am_cv_val_LC_MESSAGES+:} false; then :
 
5626
  $as_echo_n "(cached) " >&6
 
5627
else
 
5628
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5629
/* end confdefs.h.  */
 
5630
#include <locale.h>
 
5631
int
 
5632
main ()
 
5633
{
 
5634
return LC_MESSAGES
 
5635
  ;
 
5636
  return 0;
 
5637
}
 
5638
_ACEOF
 
5639
if ac_fn_c_try_link "$LINENO"; then :
 
5640
  am_cv_val_LC_MESSAGES=yes
 
5641
else
 
5642
  am_cv_val_LC_MESSAGES=no
 
5643
fi
 
5644
rm -f core conftest.err conftest.$ac_objext \
 
5645
    conftest$ac_exeext conftest.$ac_ext
 
5646
fi
 
5647
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
 
5648
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
 
5649
    if test $am_cv_val_LC_MESSAGES = yes; then
 
5650
 
 
5651
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
 
5652
 
 
5653
    fi
 
5654
  fi
 
5655
     USE_NLS=yes
 
5656
 
 
5657
 
 
5658
    gt_cv_have_gettext=no
 
5659
 
 
5660
    CATOBJEXT=NONE
 
5661
    XGETTEXT=:
 
5662
    INTLLIBS=
 
5663
 
 
5664
    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
 
5665
if test "x$ac_cv_header_libintl_h" = xyes; then :
 
5666
  gt_cv_func_dgettext_libintl="no"
 
5667
      libintl_extra_libs=""
 
5668
 
 
5669
      #
 
5670
      # First check in libc
 
5671
      #
 
5672
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
 
5673
$as_echo_n "checking for ngettext in libc... " >&6; }
 
5674
if ${gt_cv_func_ngettext_libc+:} false; then :
 
5675
  $as_echo_n "(cached) " >&6
 
5676
else
 
5677
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5678
/* end confdefs.h.  */
 
5679
 
 
5680
#include <libintl.h>
 
5681
 
 
5682
int
 
5683
main ()
 
5684
{
 
5685
return !ngettext ("","", 1)
 
5686
  ;
 
5687
  return 0;
 
5688
}
 
5689
_ACEOF
 
5690
if ac_fn_c_try_link "$LINENO"; then :
 
5691
  gt_cv_func_ngettext_libc=yes
 
5692
else
 
5693
  gt_cv_func_ngettext_libc=no
 
5694
fi
 
5695
rm -f core conftest.err conftest.$ac_objext \
 
5696
    conftest$ac_exeext conftest.$ac_ext
 
5697
 
 
5698
fi
 
5699
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
 
5700
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
 
5701
 
 
5702
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
 
5703
              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
 
5704
$as_echo_n "checking for dgettext in libc... " >&6; }
 
5705
if ${gt_cv_func_dgettext_libc+:} false; then :
 
5706
  $as_echo_n "(cached) " >&6
 
5707
else
 
5708
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5709
/* end confdefs.h.  */
 
5710
 
 
5711
#include <libintl.h>
 
5712
 
 
5713
int
 
5714
main ()
 
5715
{
 
5716
return !dgettext ("","")
 
5717
  ;
 
5718
  return 0;
 
5719
}
 
5720
_ACEOF
 
5721
if ac_fn_c_try_link "$LINENO"; then :
 
5722
  gt_cv_func_dgettext_libc=yes
 
5723
else
 
5724
  gt_cv_func_dgettext_libc=no
 
5725
fi
 
5726
rm -f core conftest.err conftest.$ac_objext \
 
5727
    conftest$ac_exeext conftest.$ac_ext
 
5728
 
 
5729
fi
 
5730
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
 
5731
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
 
5732
      fi
 
5733
 
 
5734
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
 
5735
        for ac_func in bind_textdomain_codeset
 
5736
do :
 
5737
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
5738
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
 
5739
  cat >>confdefs.h <<_ACEOF
 
5740
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
 
5741
_ACEOF
 
5742
 
 
5743
fi
 
5744
done
 
5745
 
 
5746
      fi
 
5747
 
 
5748
      #
 
5749
      # If we don't have everything we want, check in libintl
 
5750
      #
 
5751
      if test "$gt_cv_func_dgettext_libc" != "yes" \
 
5752
         || test "$gt_cv_func_ngettext_libc" != "yes" \
 
5753
         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
 
5754
 
 
5755
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
 
5756
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
 
5757
if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
 
5758
  $as_echo_n "(cached) " >&6
 
5759
else
 
5760
  ac_check_lib_save_LIBS=$LIBS
 
5761
LIBS="-lintl  $LIBS"
 
5762
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5763
/* end confdefs.h.  */
 
5764
 
 
5765
/* Override any GCC internal prototype to avoid an error.
 
5766
   Use char because int might match the return type of a GCC
 
5767
   builtin and then its argument prototype would still apply.  */
 
5768
#ifdef __cplusplus
 
5769
extern "C"
 
5770
#endif
 
5771
char bindtextdomain ();
 
5772
int
 
5773
main ()
 
5774
{
 
5775
return bindtextdomain ();
 
5776
  ;
 
5777
  return 0;
 
5778
}
 
5779
_ACEOF
 
5780
if ac_fn_c_try_link "$LINENO"; then :
 
5781
  ac_cv_lib_intl_bindtextdomain=yes
 
5782
else
 
5783
  ac_cv_lib_intl_bindtextdomain=no
 
5784
fi
 
5785
rm -f core conftest.err conftest.$ac_objext \
 
5786
    conftest$ac_exeext conftest.$ac_ext
 
5787
LIBS=$ac_check_lib_save_LIBS
 
5788
fi
 
5789
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
 
5790
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
 
5791
if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
 
5792
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
 
5793
$as_echo_n "checking for ngettext in -lintl... " >&6; }
 
5794
if ${ac_cv_lib_intl_ngettext+:} false; then :
 
5795
  $as_echo_n "(cached) " >&6
 
5796
else
 
5797
  ac_check_lib_save_LIBS=$LIBS
 
5798
LIBS="-lintl  $LIBS"
 
5799
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5800
/* end confdefs.h.  */
 
5801
 
 
5802
/* Override any GCC internal prototype to avoid an error.
 
5803
   Use char because int might match the return type of a GCC
 
5804
   builtin and then its argument prototype would still apply.  */
 
5805
#ifdef __cplusplus
 
5806
extern "C"
 
5807
#endif
 
5808
char ngettext ();
 
5809
int
 
5810
main ()
 
5811
{
 
5812
return ngettext ();
 
5813
  ;
 
5814
  return 0;
 
5815
}
 
5816
_ACEOF
 
5817
if ac_fn_c_try_link "$LINENO"; then :
 
5818
  ac_cv_lib_intl_ngettext=yes
 
5819
else
 
5820
  ac_cv_lib_intl_ngettext=no
 
5821
fi
 
5822
rm -f core conftest.err conftest.$ac_objext \
 
5823
    conftest$ac_exeext conftest.$ac_ext
 
5824
LIBS=$ac_check_lib_save_LIBS
 
5825
fi
 
5826
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
 
5827
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
 
5828
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
 
5829
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
 
5830
$as_echo_n "checking for dgettext in -lintl... " >&6; }
 
5831
if ${ac_cv_lib_intl_dgettext+:} false; then :
 
5832
  $as_echo_n "(cached) " >&6
 
5833
else
 
5834
  ac_check_lib_save_LIBS=$LIBS
 
5835
LIBS="-lintl  $LIBS"
 
5836
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5837
/* end confdefs.h.  */
 
5838
 
 
5839
/* Override any GCC internal prototype to avoid an error.
 
5840
   Use char because int might match the return type of a GCC
 
5841
   builtin and then its argument prototype would still apply.  */
 
5842
#ifdef __cplusplus
 
5843
extern "C"
 
5844
#endif
 
5845
char dgettext ();
 
5846
int
 
5847
main ()
 
5848
{
 
5849
return dgettext ();
 
5850
  ;
 
5851
  return 0;
 
5852
}
 
5853
_ACEOF
 
5854
if ac_fn_c_try_link "$LINENO"; then :
 
5855
  ac_cv_lib_intl_dgettext=yes
 
5856
else
 
5857
  ac_cv_lib_intl_dgettext=no
 
5858
fi
 
5859
rm -f core conftest.err conftest.$ac_objext \
 
5860
    conftest$ac_exeext conftest.$ac_ext
 
5861
LIBS=$ac_check_lib_save_LIBS
 
5862
fi
 
5863
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
 
5864
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
 
5865
if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
 
5866
  gt_cv_func_dgettext_libintl=yes
 
5867
fi
 
5868
 
 
5869
fi
 
5870
 
 
5871
fi
 
5872
 
 
5873
 
 
5874
        if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
 
5875
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
 
5876
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
 
5877
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
 
5878
$as_echo "" >&6; }
 
5879
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
 
5880
$as_echo_n "checking for ngettext in -lintl... " >&6; }
 
5881
if ${ac_cv_lib_intl_ngettext+:} false; then :
 
5882
  $as_echo_n "(cached) " >&6
 
5883
else
 
5884
  ac_check_lib_save_LIBS=$LIBS
 
5885
LIBS="-lintl -liconv $LIBS"
 
5886
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5887
/* end confdefs.h.  */
 
5888
 
 
5889
/* Override any GCC internal prototype to avoid an error.
 
5890
   Use char because int might match the return type of a GCC
 
5891
   builtin and then its argument prototype would still apply.  */
 
5892
#ifdef __cplusplus
 
5893
extern "C"
 
5894
#endif
 
5895
char ngettext ();
 
5896
int
 
5897
main ()
 
5898
{
 
5899
return ngettext ();
 
5900
  ;
 
5901
  return 0;
 
5902
}
 
5903
_ACEOF
 
5904
if ac_fn_c_try_link "$LINENO"; then :
 
5905
  ac_cv_lib_intl_ngettext=yes
 
5906
else
 
5907
  ac_cv_lib_intl_ngettext=no
 
5908
fi
 
5909
rm -f core conftest.err conftest.$ac_objext \
 
5910
    conftest$ac_exeext conftest.$ac_ext
 
5911
LIBS=$ac_check_lib_save_LIBS
 
5912
fi
 
5913
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
 
5914
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
 
5915
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
 
5916
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
 
5917
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
 
5918
if ${ac_cv_lib_intl_dcgettext+:} false; then :
 
5919
  $as_echo_n "(cached) " >&6
 
5920
else
 
5921
  ac_check_lib_save_LIBS=$LIBS
 
5922
LIBS="-lintl -liconv $LIBS"
 
5923
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5924
/* end confdefs.h.  */
 
5925
 
 
5926
/* Override any GCC internal prototype to avoid an error.
 
5927
   Use char because int might match the return type of a GCC
 
5928
   builtin and then its argument prototype would still apply.  */
 
5929
#ifdef __cplusplus
 
5930
extern "C"
 
5931
#endif
 
5932
char dcgettext ();
 
5933
int
 
5934
main ()
 
5935
{
 
5936
return dcgettext ();
 
5937
  ;
 
5938
  return 0;
 
5939
}
 
5940
_ACEOF
 
5941
if ac_fn_c_try_link "$LINENO"; then :
 
5942
  ac_cv_lib_intl_dcgettext=yes
 
5943
else
 
5944
  ac_cv_lib_intl_dcgettext=no
 
5945
fi
 
5946
rm -f core conftest.err conftest.$ac_objext \
 
5947
    conftest$ac_exeext conftest.$ac_ext
 
5948
LIBS=$ac_check_lib_save_LIBS
 
5949
fi
 
5950
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
 
5951
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
 
5952
if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
 
5953
  gt_cv_func_dgettext_libintl=yes
 
5954
                        libintl_extra_libs=-liconv
 
5955
else
 
5956
  :
 
5957
fi
 
5958
 
 
5959
else
 
5960
  :
 
5961
fi
 
5962
 
 
5963
        fi
 
5964
 
 
5965
        #
 
5966
        # If we found libintl, then check in it for bind_textdomain_codeset();
 
5967
        # we'll prefer libc if neither have bind_textdomain_codeset(),
 
5968
        # and both have dgettext and ngettext
 
5969
        #
 
5970
        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
 
5971
          glib_save_LIBS="$LIBS"
 
5972
          LIBS="$LIBS -lintl $libintl_extra_libs"
 
5973
          unset ac_cv_func_bind_textdomain_codeset
 
5974
          for ac_func in bind_textdomain_codeset
 
5975
do :
 
5976
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
5977
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
 
5978
  cat >>confdefs.h <<_ACEOF
 
5979
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
 
5980
_ACEOF
 
5981
 
 
5982
fi
 
5983
done
 
5984
 
 
5985
          LIBS="$glib_save_LIBS"
 
5986
 
 
5987
          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
 
5988
            gt_cv_func_dgettext_libc=no
 
5989
          else
 
5990
            if test "$gt_cv_func_dgettext_libc" = "yes" \
 
5991
                && test "$gt_cv_func_ngettext_libc" = "yes"; then
 
5992
              gt_cv_func_dgettext_libintl=no
 
5993
            fi
 
5994
          fi
 
5995
        fi
 
5996
      fi
 
5997
 
 
5998
      if test "$gt_cv_func_dgettext_libc" = "yes" \
 
5999
        || test "$gt_cv_func_dgettext_libintl" = "yes"; then
 
6000
        gt_cv_have_gettext=yes
 
6001
      fi
 
6002
 
 
6003
      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
 
6004
        INTLLIBS="-lintl $libintl_extra_libs"
 
6005
      fi
 
6006
 
 
6007
      if test "$gt_cv_have_gettext" = "yes"; then
 
6008
 
 
6009
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
 
6010
 
 
6011
        # Extract the first word of "msgfmt", so it can be a program name with args.
 
6012
set dummy msgfmt; ac_word=$2
 
6013
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6014
$as_echo_n "checking for $ac_word... " >&6; }
 
6015
if ${ac_cv_path_MSGFMT+:} false; then :
 
6016
  $as_echo_n "(cached) " >&6
 
6017
else
 
6018
  case "$MSGFMT" in
 
6019
  /*)
 
6020
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
 
6021
  ;;
 
6022
  *)
 
6023
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
 
6024
  for ac_dir in $PATH; do
 
6025
    test -z "$ac_dir" && ac_dir=.
 
6026
    if test -f $ac_dir/$ac_word; then
 
6027
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
 
6028
        ac_cv_path_MSGFMT="$ac_dir/$ac_word"
 
6029
        break
 
6030
      fi
 
6031
    fi
 
6032
  done
 
6033
  IFS="$ac_save_ifs"
 
6034
  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
 
6035
  ;;
 
6036
esac
 
6037
fi
 
6038
MSGFMT="$ac_cv_path_MSGFMT"
 
6039
if test "$MSGFMT" != "no"; then
 
6040
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
 
6041
$as_echo "$MSGFMT" >&6; }
 
6042
else
 
6043
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6044
$as_echo "no" >&6; }
 
6045
fi
 
6046
        if test "$MSGFMT" != "no"; then
 
6047
          glib_save_LIBS="$LIBS"
 
6048
          LIBS="$LIBS $INTLLIBS"
 
6049
          for ac_func in dcgettext
 
6050
do :
 
6051
  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
 
6052
if test "x$ac_cv_func_dcgettext" = xyes; then :
 
6053
  cat >>confdefs.h <<_ACEOF
 
6054
#define HAVE_DCGETTEXT 1
 
6055
_ACEOF
 
6056
 
 
6057
fi
 
6058
done
 
6059
 
 
6060
          MSGFMT_OPTS=
 
6061
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
 
6062
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
 
6063
          cat >conftest.foo <<_ACEOF
 
6064
 
 
6065
msgid ""
 
6066
msgstr ""
 
6067
"Content-Type: text/plain; charset=UTF-8\n"
 
6068
"Project-Id-Version: test 1.0\n"
 
6069
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
 
6070
"Last-Translator: test <foo@bar.xx>\n"
 
6071
"Language-Team: C <LL@li.org>\n"
 
6072
"MIME-Version: 1.0\n"
 
6073
"Content-Transfer-Encoding: 8bit\n"
 
6074
 
 
6075
_ACEOF
 
6076
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
 
6077
  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
 
6078
  ac_status=$?
 
6079
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6080
  test $ac_status = 0; }; then
 
6081
  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
6082
$as_echo "yes" >&6; }
 
6083
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6084
$as_echo "no" >&6; }
 
6085
echo "$as_me: failed input was:" >&5
 
6086
sed 's/^/| /' conftest.foo >&5
 
6087
fi
 
6088
 
 
6089
          # Extract the first word of "gmsgfmt", so it can be a program name with args.
 
6090
set dummy gmsgfmt; ac_word=$2
 
6091
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6092
$as_echo_n "checking for $ac_word... " >&6; }
 
6093
if ${ac_cv_path_GMSGFMT+:} false; then :
 
6094
  $as_echo_n "(cached) " >&6
 
6095
else
 
6096
  case $GMSGFMT in
 
6097
  [\\/]* | ?:[\\/]*)
 
6098
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
 
6099
  ;;
 
6100
  *)
 
6101
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6102
for as_dir in $PATH
 
6103
do
 
6104
  IFS=$as_save_IFS
 
6105
  test -z "$as_dir" && as_dir=.
 
6106
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6107
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6108
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
6109
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6110
    break 2
 
6111
  fi
 
6112
done
 
6113
  done
 
6114
IFS=$as_save_IFS
 
6115
 
 
6116
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
 
6117
  ;;
 
6118
esac
 
6119
fi
 
6120
GMSGFMT=$ac_cv_path_GMSGFMT
 
6121
if test -n "$GMSGFMT"; then
 
6122
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
 
6123
$as_echo "$GMSGFMT" >&6; }
 
6124
else
 
6125
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6126
$as_echo "no" >&6; }
 
6127
fi
 
6128
 
 
6129
 
 
6130
          # Extract the first word of "xgettext", so it can be a program name with args.
 
6131
set dummy xgettext; ac_word=$2
 
6132
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6133
$as_echo_n "checking for $ac_word... " >&6; }
 
6134
if ${ac_cv_path_XGETTEXT+:} false; then :
 
6135
  $as_echo_n "(cached) " >&6
 
6136
else
 
6137
  case "$XGETTEXT" in
 
6138
  /*)
 
6139
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
 
6140
  ;;
 
6141
  *)
 
6142
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
 
6143
  for ac_dir in $PATH; do
 
6144
    test -z "$ac_dir" && ac_dir=.
 
6145
    if test -f $ac_dir/$ac_word; then
 
6146
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
 
6147
        ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
 
6148
        break
 
6149
      fi
 
6150
    fi
 
6151
  done
 
6152
  IFS="$ac_save_ifs"
 
6153
  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
 
6154
  ;;
 
6155
esac
 
6156
fi
 
6157
XGETTEXT="$ac_cv_path_XGETTEXT"
 
6158
if test "$XGETTEXT" != ":"; then
 
6159
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
 
6160
$as_echo "$XGETTEXT" >&6; }
 
6161
else
 
6162
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6163
$as_echo "no" >&6; }
 
6164
fi
 
6165
 
 
6166
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6167
/* end confdefs.h.  */
 
6168
 
 
6169
int
 
6170
main ()
 
6171
{
 
6172
extern int _nl_msg_cat_cntr;
 
6173
                         return _nl_msg_cat_cntr
 
6174
  ;
 
6175
  return 0;
 
6176
}
 
6177
_ACEOF
 
6178
if ac_fn_c_try_link "$LINENO"; then :
 
6179
  CATOBJEXT=.gmo
 
6180
             DATADIRNAME=share
 
6181
else
 
6182
  case $host in
 
6183
            *-*-solaris*)
 
6184
                                                                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
6185
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
 
6186
  CATOBJEXT=.gmo
 
6187
               DATADIRNAME=share
 
6188
else
 
6189
  CATOBJEXT=.mo
 
6190
               DATADIRNAME=lib
 
6191
fi
 
6192
 
 
6193
            ;;
 
6194
            *)
 
6195
            CATOBJEXT=.mo
 
6196
            DATADIRNAME=lib
 
6197
            ;;
 
6198
            esac
 
6199
fi
 
6200
rm -f core conftest.err conftest.$ac_objext \
 
6201
    conftest$ac_exeext conftest.$ac_ext
 
6202
          LIBS="$glib_save_LIBS"
 
6203
          INSTOBJEXT=.mo
 
6204
        else
 
6205
          gt_cv_have_gettext=no
 
6206
        fi
 
6207
      fi
 
6208
 
 
6209
fi
 
6210
 
 
6211
 
 
6212
 
 
6213
    if test "$gt_cv_have_gettext" = "yes" ; then
 
6214
 
 
6215
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
 
6216
 
 
6217
    fi
 
6218
 
 
6219
        if test "$XGETTEXT" != ":"; then
 
6220
                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
 
6221
        : ;
 
6222
      else
 
6223
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
 
6224
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
 
6225
        XGETTEXT=":"
 
6226
      fi
 
6227
    fi
 
6228
 
 
6229
    # We need to process the po/ directory.
 
6230
    POSUB=po
 
6231
 
 
6232
    ac_config_commands="$ac_config_commands default-1"
 
6233
 
 
6234
 
 
6235
                for lang in $ALL_LINGUAS; do
 
6236
      GMOFILES="$GMOFILES $lang.gmo"
 
6237
      POFILES="$POFILES $lang.po"
 
6238
    done
 
6239
 
 
6240
 
 
6241
 
 
6242
 
 
6243
 
 
6244
 
 
6245
 
 
6246
 
 
6247
 
 
6248
 
 
6249
 
 
6250
 
 
6251
 
 
6252
   if test "$gt_cv_have_gettext" = "yes"; then
 
6253
     if test "x$ALL_LINGUAS" = "x"; then
 
6254
       LINGUAS=
 
6255
     else
 
6256
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
 
6257
$as_echo_n "checking for catalogs to be installed... " >&6; }
 
6258
       NEW_LINGUAS=
 
6259
       for presentlang in $ALL_LINGUAS; do
 
6260
         useit=no
 
6261
         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
 
6262
           desiredlanguages="$LINGUAS"
 
6263
         else
 
6264
           desiredlanguages="$ALL_LINGUAS"
 
6265
         fi
 
6266
         for desiredlang in $desiredlanguages; do
 
6267
           # Use the presentlang catalog if desiredlang is
 
6268
           #   a. equal to presentlang, or
 
6269
           #   b. a variant of presentlang (because in this case,
 
6270
           #      presentlang can be used as a fallback for messages
 
6271
           #      which are not translated in the desiredlang catalog).
 
6272
           case "$desiredlang" in
 
6273
             "$presentlang"*) useit=yes;;
 
6274
           esac
 
6275
         done
 
6276
         if test $useit = yes; then
 
6277
           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
 
6278
         fi
 
6279
       done
 
6280
       LINGUAS=$NEW_LINGUAS
 
6281
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
 
6282
$as_echo "$LINGUAS" >&6; }
 
6283
     fi
 
6284
 
 
6285
          if test -n "$LINGUAS"; then
 
6286
       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
 
6287
     fi
 
6288
   fi
 
6289
 
 
6290
            MKINSTALLDIRS=
 
6291
   if test -n "$ac_aux_dir"; then
 
6292
     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
 
6293
   fi
 
6294
   if test -z "$MKINSTALLDIRS"; then
 
6295
     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
 
6296
   fi
 
6297
 
 
6298
 
 
6299
         test -d po || mkdir po
 
6300
   if test "x$srcdir" != "x."; then
 
6301
     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
 
6302
       posrcprefix="$srcdir/"
 
6303
     else
 
6304
       posrcprefix="../$srcdir/"
 
6305
     fi
 
6306
   else
 
6307
     posrcprefix="../"
 
6308
   fi
 
6309
   rm -f po/POTFILES
 
6310
   sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
 
6311
        < $srcdir/po/POTFILES.in > po/POTFILES
 
6312
 
 
6313
 
 
6314
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
 
6315
$as_echo_n "checking whether NLS is requested... " >&6; }
 
6316
    # Check whether --enable-nls was given.
 
6317
if test "${enable_nls+set}" = set; then :
 
6318
  enableval=$enable_nls; USE_NLS=$enableval
 
6319
else
 
6320
  USE_NLS=yes
 
6321
fi
 
6322
 
 
6323
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
 
6324
$as_echo "$USE_NLS" >&6; }
 
6325
 
 
6326
 
 
6327
 
 
6328
 
 
6329
case "$am__api_version" in
 
6330
    1.01234)
 
6331
        as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
 
6332
    ;;
 
6333
    *)
 
6334
    ;;
 
6335
esac
 
6336
 
 
6337
if test -n "0.35.0"; then
 
6338
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
 
6339
$as_echo_n "checking for intltool >= 0.35.0... " >&6; }
 
6340
 
 
6341
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
 
6342
    INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
 
6343
    INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
 
6344
 
 
6345
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
 
6346
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
 
6347
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
 
6348
        as_fn_error $? "Your intltool is too old.  You need intltool 0.35.0 or later." "$LINENO" 5
 
6349
fi
 
6350
 
 
6351
# Extract the first word of "intltool-update", so it can be a program name with args.
 
6352
set dummy intltool-update; ac_word=$2
 
6353
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6354
$as_echo_n "checking for $ac_word... " >&6; }
 
6355
if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
 
6356
  $as_echo_n "(cached) " >&6
 
6357
else
 
6358
  case $INTLTOOL_UPDATE in
 
6359
  [\\/]* | ?:[\\/]*)
 
6360
  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
 
6361
  ;;
 
6362
  *)
 
6363
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6364
for as_dir in $PATH
 
6365
do
 
6366
  IFS=$as_save_IFS
 
6367
  test -z "$as_dir" && as_dir=.
 
6368
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6369
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6370
    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
 
6371
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6372
    break 2
 
6373
  fi
 
6374
done
 
6375
  done
 
6376
IFS=$as_save_IFS
 
6377
 
 
6378
  ;;
 
6379
esac
 
6380
fi
 
6381
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
 
6382
if test -n "$INTLTOOL_UPDATE"; then
 
6383
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
 
6384
$as_echo "$INTLTOOL_UPDATE" >&6; }
 
6385
else
 
6386
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6387
$as_echo "no" >&6; }
 
6388
fi
 
6389
 
 
6390
 
 
6391
# Extract the first word of "intltool-merge", so it can be a program name with args.
 
6392
set dummy intltool-merge; ac_word=$2
 
6393
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6394
$as_echo_n "checking for $ac_word... " >&6; }
 
6395
if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
 
6396
  $as_echo_n "(cached) " >&6
 
6397
else
 
6398
  case $INTLTOOL_MERGE in
 
6399
  [\\/]* | ?:[\\/]*)
 
6400
  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
 
6401
  ;;
 
6402
  *)
 
6403
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6404
for as_dir in $PATH
 
6405
do
 
6406
  IFS=$as_save_IFS
 
6407
  test -z "$as_dir" && as_dir=.
 
6408
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6409
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6410
    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
 
6411
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6412
    break 2
 
6413
  fi
 
6414
done
 
6415
  done
 
6416
IFS=$as_save_IFS
 
6417
 
 
6418
  ;;
 
6419
esac
 
6420
fi
 
6421
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
 
6422
if test -n "$INTLTOOL_MERGE"; then
 
6423
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
 
6424
$as_echo "$INTLTOOL_MERGE" >&6; }
 
6425
else
 
6426
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6427
$as_echo "no" >&6; }
 
6428
fi
 
6429
 
 
6430
 
 
6431
# Extract the first word of "intltool-extract", so it can be a program name with args.
 
6432
set dummy intltool-extract; ac_word=$2
 
6433
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6434
$as_echo_n "checking for $ac_word... " >&6; }
 
6435
if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
 
6436
  $as_echo_n "(cached) " >&6
 
6437
else
 
6438
  case $INTLTOOL_EXTRACT in
 
6439
  [\\/]* | ?:[\\/]*)
 
6440
  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
 
6441
  ;;
 
6442
  *)
 
6443
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6444
for as_dir in $PATH
 
6445
do
 
6446
  IFS=$as_save_IFS
 
6447
  test -z "$as_dir" && as_dir=.
 
6448
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6449
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6450
    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
 
6451
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6452
    break 2
 
6453
  fi
 
6454
done
 
6455
  done
 
6456
IFS=$as_save_IFS
 
6457
 
 
6458
  ;;
 
6459
esac
 
6460
fi
 
6461
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
 
6462
if test -n "$INTLTOOL_EXTRACT"; then
 
6463
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
 
6464
$as_echo "$INTLTOOL_EXTRACT" >&6; }
 
6465
else
 
6466
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6467
$as_echo "no" >&6; }
 
6468
fi
 
6469
 
 
6470
 
 
6471
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
 
6472
    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
 
6473
fi
 
6474
 
 
6475
  INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
6476
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
6477
     INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
6478
     INTLTOOL_PROP_RULE='%.prop:      %.prop.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
6479
      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
 
6480
     INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
6481
   INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
6482
    INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
6483
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
6484
       INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
6485
      INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
6486
      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
 
6487
      INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
6488
      INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
6489
    INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
6490
  INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
6491
    INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
6492
    INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
6493
   INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
6494
 
 
6495
 
 
6496
 
 
6497
 
 
6498
 
 
6499
 
 
6500
 
 
6501
 
 
6502
 
 
6503
 
 
6504
 
 
6505
 
 
6506
 
 
6507
 
 
6508
 
 
6509
 
 
6510
 
 
6511
 
 
6512
 
 
6513
 
 
6514
 
 
6515
 
 
6516
 
 
6517
 
 
6518
 
 
6519
 
 
6520
 
 
6521
 
 
6522
 
 
6523
 
 
6524
 
 
6525
 
 
6526
 
 
6527
 
 
6528
 
 
6529
 
 
6530
 
 
6531
 
 
6532
 
 
6533
 
 
6534
 
 
6535
 
 
6536
 
 
6537
 
 
6538
 
 
6539
 
 
6540
 
 
6541
 
 
6542
 
 
6543
 
 
6544
 
 
6545
 
 
6546
 
 
6547
 
 
6548
 
 
6549
 
 
6550
 
 
6551
 
 
6552
 
 
6553
 
 
6554
 
 
6555
 
 
6556
 
 
6557
 
 
6558
 
 
6559
 
 
6560
 
 
6561
 
 
6562
 
 
6563
 
 
6564
 
 
6565
 
 
6566
 
 
6567
 
 
6568
 
 
6569
 
 
6570
 
 
6571
 
 
6572
 
 
6573
 
 
6574
 
 
6575
 
 
6576
 
 
6577
 
 
6578
 
 
6579
 
 
6580
 
 
6581
 
 
6582
 
 
6583
 
 
6584
 
 
6585
 
 
6586
 
 
6587
 
 
6588
 
 
6589
 
 
6590
 
 
6591
# Check the gettext tools to make sure they are GNU
 
6592
# Extract the first word of "xgettext", so it can be a program name with args.
 
6593
set dummy xgettext; ac_word=$2
 
6594
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6595
$as_echo_n "checking for $ac_word... " >&6; }
 
6596
if ${ac_cv_path_XGETTEXT+:} false; then :
 
6597
  $as_echo_n "(cached) " >&6
 
6598
else
 
6599
  case $XGETTEXT in
 
6600
  [\\/]* | ?:[\\/]*)
 
6601
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
 
6602
  ;;
 
6603
  *)
 
6604
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6605
for as_dir in $PATH
 
6606
do
 
6607
  IFS=$as_save_IFS
 
6608
  test -z "$as_dir" && as_dir=.
 
6609
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6610
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6611
    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
 
6612
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6613
    break 2
 
6614
  fi
 
6615
done
 
6616
  done
 
6617
IFS=$as_save_IFS
 
6618
 
 
6619
  ;;
 
6620
esac
 
6621
fi
 
6622
XGETTEXT=$ac_cv_path_XGETTEXT
 
6623
if test -n "$XGETTEXT"; then
 
6624
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
 
6625
$as_echo "$XGETTEXT" >&6; }
 
6626
else
 
6627
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6628
$as_echo "no" >&6; }
 
6629
fi
 
6630
 
 
6631
 
 
6632
# Extract the first word of "msgmerge", so it can be a program name with args.
 
6633
set dummy msgmerge; ac_word=$2
 
6634
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6635
$as_echo_n "checking for $ac_word... " >&6; }
 
6636
if ${ac_cv_path_MSGMERGE+:} false; then :
 
6637
  $as_echo_n "(cached) " >&6
 
6638
else
 
6639
  case $MSGMERGE in
 
6640
  [\\/]* | ?:[\\/]*)
 
6641
  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
 
6642
  ;;
 
6643
  *)
 
6644
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6645
for as_dir in $PATH
 
6646
do
 
6647
  IFS=$as_save_IFS
 
6648
  test -z "$as_dir" && as_dir=.
 
6649
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6650
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6651
    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
 
6652
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6653
    break 2
 
6654
  fi
 
6655
done
 
6656
  done
 
6657
IFS=$as_save_IFS
 
6658
 
 
6659
  ;;
 
6660
esac
 
6661
fi
 
6662
MSGMERGE=$ac_cv_path_MSGMERGE
 
6663
if test -n "$MSGMERGE"; then
 
6664
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
 
6665
$as_echo "$MSGMERGE" >&6; }
 
6666
else
 
6667
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6668
$as_echo "no" >&6; }
 
6669
fi
 
6670
 
 
6671
 
 
6672
# Extract the first word of "msgfmt", so it can be a program name with args.
 
6673
set dummy msgfmt; ac_word=$2
 
6674
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6675
$as_echo_n "checking for $ac_word... " >&6; }
 
6676
if ${ac_cv_path_MSGFMT+:} false; then :
 
6677
  $as_echo_n "(cached) " >&6
 
6678
else
 
6679
  case $MSGFMT in
 
6680
  [\\/]* | ?:[\\/]*)
 
6681
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
 
6682
  ;;
 
6683
  *)
 
6684
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6685
for as_dir in $PATH
 
6686
do
 
6687
  IFS=$as_save_IFS
 
6688
  test -z "$as_dir" && as_dir=.
 
6689
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6690
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6691
    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
6692
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6693
    break 2
 
6694
  fi
 
6695
done
 
6696
  done
 
6697
IFS=$as_save_IFS
 
6698
 
 
6699
  ;;
 
6700
esac
 
6701
fi
 
6702
MSGFMT=$ac_cv_path_MSGFMT
 
6703
if test -n "$MSGFMT"; then
 
6704
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
 
6705
$as_echo "$MSGFMT" >&6; }
 
6706
else
 
6707
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6708
$as_echo "no" >&6; }
 
6709
fi
 
6710
 
 
6711
 
 
6712
# Extract the first word of "gmsgfmt", so it can be a program name with args.
 
6713
set dummy gmsgfmt; ac_word=$2
 
6714
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6715
$as_echo_n "checking for $ac_word... " >&6; }
 
6716
if ${ac_cv_path_GMSGFMT+:} false; then :
 
6717
  $as_echo_n "(cached) " >&6
 
6718
else
 
6719
  case $GMSGFMT in
 
6720
  [\\/]* | ?:[\\/]*)
 
6721
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
 
6722
  ;;
 
6723
  *)
 
6724
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6725
for as_dir in $PATH
 
6726
do
 
6727
  IFS=$as_save_IFS
 
6728
  test -z "$as_dir" && as_dir=.
 
6729
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6730
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6731
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
6732
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6733
    break 2
 
6734
  fi
 
6735
done
 
6736
  done
 
6737
IFS=$as_save_IFS
 
6738
 
 
6739
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
 
6740
  ;;
 
6741
esac
 
6742
fi
 
6743
GMSGFMT=$ac_cv_path_GMSGFMT
 
6744
if test -n "$GMSGFMT"; then
 
6745
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
 
6746
$as_echo "$GMSGFMT" >&6; }
 
6747
else
 
6748
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6749
$as_echo "no" >&6; }
 
6750
fi
 
6751
 
 
6752
 
 
6753
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
 
6754
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
 
6755
fi
 
6756
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
 
6757
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
 
6758
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
 
6759
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
 
6760
    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
 
6761
fi
 
6762
 
 
6763
# Extract the first word of "perl", so it can be a program name with args.
 
6764
set dummy perl; ac_word=$2
 
6765
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6766
$as_echo_n "checking for $ac_word... " >&6; }
 
6767
if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
 
6768
  $as_echo_n "(cached) " >&6
 
6769
else
 
6770
  case $INTLTOOL_PERL in
 
6771
  [\\/]* | ?:[\\/]*)
 
6772
  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
 
6773
  ;;
 
6774
  *)
 
6775
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6776
for as_dir in $PATH
 
6777
do
 
6778
  IFS=$as_save_IFS
 
6779
  test -z "$as_dir" && as_dir=.
 
6780
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6781
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6782
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
 
6783
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6784
    break 2
 
6785
  fi
 
6786
done
 
6787
  done
 
6788
IFS=$as_save_IFS
 
6789
 
 
6790
  ;;
 
6791
esac
 
6792
fi
 
6793
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
 
6794
if test -n "$INTLTOOL_PERL"; then
 
6795
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
 
6796
$as_echo "$INTLTOOL_PERL" >&6; }
 
6797
else
 
6798
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6799
$as_echo "no" >&6; }
 
6800
fi
 
6801
 
 
6802
 
 
6803
if test -z "$INTLTOOL_PERL"; then
 
6804
   as_fn_error $? "perl not found" "$LINENO" 5
 
6805
fi
 
6806
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
 
6807
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
 
6808
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
 
6809
if test $? -ne 0; then
 
6810
   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
 
6811
else
 
6812
   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
 
6813
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
 
6814
$as_echo "$IT_PERL_VERSION" >&6; }
 
6815
fi
 
6816
if test "x" != "xno-xml"; then
 
6817
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
 
6818
$as_echo_n "checking for XML::Parser... " >&6; }
 
6819
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
 
6820
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 
6821
$as_echo "ok" >&6; }
 
6822
   else
 
6823
       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
 
6824
   fi
 
6825
fi
 
6826
 
 
6827
# Substitute ALL_LINGUAS so we can use it in po/Makefile
 
6828
 
 
6829
 
 
6830
# Set DATADIRNAME correctly if it is not set yet
 
6831
# (copied from glib-gettext.m4)
 
6832
if test -z "$DATADIRNAME"; then
 
6833
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6834
/* end confdefs.h.  */
 
6835
 
 
6836
int
 
6837
main ()
 
6838
{
 
6839
extern int _nl_msg_cat_cntr;
 
6840
                       return _nl_msg_cat_cntr
 
6841
  ;
 
6842
  return 0;
 
6843
}
 
6844
_ACEOF
 
6845
if ac_fn_c_try_link "$LINENO"; then :
 
6846
  DATADIRNAME=share
 
6847
else
 
6848
  case $host in
 
6849
    *-*-solaris*)
 
6850
                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
6851
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
 
6852
  DATADIRNAME=share
 
6853
else
 
6854
  DATADIRNAME=lib
 
6855
fi
 
6856
 
 
6857
    ;;
 
6858
    *)
 
6859
    DATADIRNAME=lib
 
6860
    ;;
 
6861
    esac
 
6862
fi
 
6863
rm -f core conftest.err conftest.$ac_objext \
 
6864
    conftest$ac_exeext conftest.$ac_ext
 
6865
fi
 
6866
 
 
6867
 
 
6868
 
 
6869
 
 
6870
 
 
6871
 
 
6872
case `pwd` in
 
6873
  *\ * | *\     *)
 
6874
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
6875
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
6876
esac
 
6877
 
 
6878
 
 
6879
 
 
6880
macro_version='2.4'
 
6881
macro_revision='1.3293'
 
6882
 
 
6883
 
 
6884
 
 
6885
 
 
6886
 
 
6887
 
 
6888
 
 
6889
 
 
6890
 
 
6891
 
 
6892
 
 
6893
 
 
6894
 
 
6895
ltmain="$ac_aux_dir/ltmain.sh"
 
6896
 
 
6897
# Make sure we can run config.sub.
 
6898
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
6899
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 
6900
 
 
6901
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 
6902
$as_echo_n "checking build system type... " >&6; }
 
6903
if ${ac_cv_build+:} false; then :
 
6904
  $as_echo_n "(cached) " >&6
 
6905
else
 
6906
  ac_build_alias=$build_alias
 
6907
test "x$ac_build_alias" = x &&
 
6908
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
6909
test "x$ac_build_alias" = x &&
 
6910
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
 
6911
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
6912
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 
6913
 
 
6914
fi
 
6915
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 
6916
$as_echo "$ac_cv_build" >&6; }
 
6917
case $ac_cv_build in
 
6918
*-*-*) ;;
 
6919
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
 
6920
esac
 
6921
build=$ac_cv_build
 
6922
ac_save_IFS=$IFS; IFS='-'
 
6923
set x $ac_cv_build
 
6924
shift
 
6925
build_cpu=$1
 
6926
build_vendor=$2
 
6927
shift; shift
 
6928
# Remember, the first character of IFS is used to create $*,
 
6929
# except with old shells:
 
6930
build_os=$*
 
6931
IFS=$ac_save_IFS
 
6932
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
6933
 
 
6934
 
 
6935
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 
6936
$as_echo_n "checking host system type... " >&6; }
 
6937
if ${ac_cv_host+:} false; then :
 
6938
  $as_echo_n "(cached) " >&6
 
6939
else
 
6940
  if test "x$host_alias" = x; then
 
6941
  ac_cv_host=$ac_cv_build
 
6942
else
 
6943
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
6944
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 
6945
fi
 
6946
 
 
6947
fi
 
6948
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 
6949
$as_echo "$ac_cv_host" >&6; }
 
6950
case $ac_cv_host in
 
6951
*-*-*) ;;
 
6952
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
 
6953
esac
 
6954
host=$ac_cv_host
 
6955
ac_save_IFS=$IFS; IFS='-'
 
6956
set x $ac_cv_host
 
6957
shift
 
6958
host_cpu=$1
 
6959
host_vendor=$2
 
6960
shift; shift
 
6961
# Remember, the first character of IFS is used to create $*,
 
6962
# except with old shells:
 
6963
host_os=$*
 
6964
IFS=$ac_save_IFS
 
6965
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
6966
 
 
6967
 
 
6968
# Backslashify metacharacters that are still active within
 
6969
# double-quoted strings.
 
6970
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
6971
 
 
6972
# Same as above, but do not quote variable references.
 
6973
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
6974
 
 
6975
# Sed substitution to delay expansion of an escaped shell variable in a
 
6976
# double_quote_subst'ed string.
 
6977
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
6978
 
 
6979
# Sed substitution to delay expansion of an escaped single quote.
 
6980
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
6981
 
 
6982
# Sed substitution to avoid accidental globbing in evaled expressions
 
6983
no_glob_subst='s/\*/\\\*/g'
 
6984
 
 
6985
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
6986
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 
6987
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 
6988
 
 
6989
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
 
6990
$as_echo_n "checking how to print strings... " >&6; }
 
6991
# Test print first, because it will be a builtin if present.
 
6992
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
 
6993
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
 
6994
  ECHO='print -r --'
 
6995
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
 
6996
  ECHO='printf %s\n'
 
6997
else
 
6998
  # Use this function as a fallback that always works.
 
6999
  func_fallback_echo ()
 
7000
  {
 
7001
    eval 'cat <<_LTECHO_EOF
 
7002
$1
 
7003
_LTECHO_EOF'
 
7004
  }
 
7005
  ECHO='func_fallback_echo'
 
7006
fi
 
7007
 
 
7008
# func_echo_all arg...
 
7009
# Invoke $ECHO with all args, space-separated.
 
7010
func_echo_all ()
 
7011
{
 
7012
    $ECHO ""
 
7013
}
 
7014
 
 
7015
case "$ECHO" in
 
7016
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
 
7017
$as_echo "printf" >&6; } ;;
 
7018
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
 
7019
$as_echo "print -r" >&6; } ;;
 
7020
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
 
7021
$as_echo "cat" >&6; } ;;
 
7022
esac
 
7023
 
 
7024
 
 
7025
 
 
7026
 
 
7027
 
 
7028
 
 
7029
 
 
7030
 
 
7031
 
 
7032
 
 
7033
 
 
7034
 
 
7035
 
 
7036
 
 
7037
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 
7038
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
7039
if ${ac_cv_path_SED+:} false; then :
 
7040
  $as_echo_n "(cached) " >&6
 
7041
else
 
7042
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
7043
     for ac_i in 1 2 3 4 5 6 7; do
 
7044
       ac_script="$ac_script$as_nl$ac_script"
 
7045
     done
 
7046
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
7047
     { ac_script=; unset ac_script;}
 
7048
     if test -z "$SED"; then
 
7049
  ac_path_SED_found=false
 
7050
  # Loop through the user's path and test for each of PROGNAME-LIST
 
7051
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7052
for as_dir in $PATH
 
7053
do
 
7054
  IFS=$as_save_IFS
 
7055
  test -z "$as_dir" && as_dir=.
 
7056
    for ac_prog in sed gsed; do
 
7057
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7058
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
7059
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
7060
# Check for GNU ac_path_SED and select it if it is found.
 
7061
  # Check for GNU $ac_path_SED
 
7062
case `"$ac_path_SED" --version 2>&1` in
 
7063
*GNU*)
 
7064
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
7065
*)
 
7066
  ac_count=0
 
7067
  $as_echo_n 0123456789 >"conftest.in"
 
7068
  while :
 
7069
  do
 
7070
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
7071
    mv "conftest.tmp" "conftest.in"
 
7072
    cp "conftest.in" "conftest.nl"
 
7073
    $as_echo '' >> "conftest.nl"
 
7074
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
7075
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
7076
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
7077
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
7078
      # Best one so far, save it but keep looking for a better one
 
7079
      ac_cv_path_SED="$ac_path_SED"
 
7080
      ac_path_SED_max=$ac_count
 
7081
    fi
 
7082
    # 10*(2^10) chars as input seems more than enough
 
7083
    test $ac_count -gt 10 && break
 
7084
  done
 
7085
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
7086
esac
 
7087
 
 
7088
      $ac_path_SED_found && break 3
 
7089
    done
 
7090
  done
 
7091
  done
 
7092
IFS=$as_save_IFS
 
7093
  if test -z "$ac_cv_path_SED"; then
 
7094
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
7095
  fi
 
7096
else
 
7097
  ac_cv_path_SED=$SED
 
7098
fi
 
7099
 
 
7100
fi
 
7101
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 
7102
$as_echo "$ac_cv_path_SED" >&6; }
 
7103
 SED="$ac_cv_path_SED"
 
7104
  rm -f conftest.sed
 
7105
 
 
7106
test -z "$SED" && SED=sed
 
7107
Xsed="$SED -e 1s/^X//"
 
7108
 
 
7109
 
 
7110
 
 
7111
 
 
7112
 
 
7113
 
 
7114
 
 
7115
 
 
7116
 
 
7117
 
 
7118
 
 
7119
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
 
7120
$as_echo_n "checking for fgrep... " >&6; }
 
7121
if ${ac_cv_path_FGREP+:} false; then :
 
7122
  $as_echo_n "(cached) " >&6
 
7123
else
 
7124
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 
7125
   then ac_cv_path_FGREP="$GREP -F"
 
7126
   else
 
7127
     if test -z "$FGREP"; then
 
7128
  ac_path_FGREP_found=false
 
7129
  # Loop through the user's path and test for each of PROGNAME-LIST
 
7130
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7131
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
7132
do
 
7133
  IFS=$as_save_IFS
 
7134
  test -z "$as_dir" && as_dir=.
 
7135
    for ac_prog in fgrep; do
 
7136
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7137
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 
7138
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
 
7139
# Check for GNU ac_path_FGREP and select it if it is found.
 
7140
  # Check for GNU $ac_path_FGREP
 
7141
case `"$ac_path_FGREP" --version 2>&1` in
 
7142
*GNU*)
 
7143
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 
7144
*)
 
7145
  ac_count=0
 
7146
  $as_echo_n 0123456789 >"conftest.in"
 
7147
  while :
 
7148
  do
 
7149
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
7150
    mv "conftest.tmp" "conftest.in"
 
7151
    cp "conftest.in" "conftest.nl"
 
7152
    $as_echo 'FGREP' >> "conftest.nl"
 
7153
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
7154
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
7155
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
7156
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 
7157
      # Best one so far, save it but keep looking for a better one
 
7158
      ac_cv_path_FGREP="$ac_path_FGREP"
 
7159
      ac_path_FGREP_max=$ac_count
 
7160
    fi
 
7161
    # 10*(2^10) chars as input seems more than enough
 
7162
    test $ac_count -gt 10 && break
 
7163
  done
 
7164
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
7165
esac
 
7166
 
 
7167
      $ac_path_FGREP_found && break 3
 
7168
    done
 
7169
  done
 
7170
  done
 
7171
IFS=$as_save_IFS
 
7172
  if test -z "$ac_cv_path_FGREP"; then
 
7173
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
7174
  fi
 
7175
else
 
7176
  ac_cv_path_FGREP=$FGREP
 
7177
fi
 
7178
 
 
7179
   fi
 
7180
fi
 
7181
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
 
7182
$as_echo "$ac_cv_path_FGREP" >&6; }
 
7183
 FGREP="$ac_cv_path_FGREP"
 
7184
 
 
7185
 
 
7186
test -z "$GREP" && GREP=grep
 
7187
 
 
7188
 
 
7189
 
 
7190
 
 
7191
 
 
7192
 
 
7193
 
 
7194
 
 
7195
 
 
7196
 
 
7197
 
 
7198
 
 
7199
 
 
7200
 
 
7201
 
 
7202
 
 
7203
 
 
7204
 
 
7205
 
 
7206
# Check whether --with-gnu-ld was given.
 
7207
if test "${with_gnu_ld+set}" = set; then :
 
7208
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 
7209
else
 
7210
  with_gnu_ld=no
 
7211
fi
 
7212
 
 
7213
ac_prog=ld
 
7214
if test "$GCC" = yes; then
 
7215
  # Check if gcc -print-prog-name=ld gives a path.
 
7216
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
 
7217
$as_echo_n "checking for ld used by $CC... " >&6; }
 
7218
  case $host in
 
7219
  *-*-mingw*)
 
7220
    # gcc leaves a trailing carriage return which upsets mingw
 
7221
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 
7222
  *)
 
7223
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 
7224
  esac
 
7225
  case $ac_prog in
 
7226
    # Accept absolute paths.
 
7227
    [\\/]* | ?:[\\/]*)
 
7228
      re_direlt='/[^/][^/]*/\.\./'
 
7229
      # Canonicalize the pathname of ld
 
7230
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
7231
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
7232
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
 
7233
      done
 
7234
      test -z "$LD" && LD="$ac_prog"
 
7235
      ;;
 
7236
  "")
 
7237
    # If it fails, then pretend we aren't using GCC.
 
7238
    ac_prog=ld
 
7239
    ;;
 
7240
  *)
 
7241
    # If it is relative, then search for the first ld in PATH.
 
7242
    with_gnu_ld=unknown
 
7243
    ;;
 
7244
  esac
 
7245
elif test "$with_gnu_ld" = yes; then
 
7246
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 
7247
$as_echo_n "checking for GNU ld... " >&6; }
 
7248
else
 
7249
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 
7250
$as_echo_n "checking for non-GNU ld... " >&6; }
 
7251
fi
 
7252
if ${lt_cv_path_LD+:} false; then :
 
7253
  $as_echo_n "(cached) " >&6
 
7254
else
 
7255
  if test -z "$LD"; then
 
7256
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
7257
  for ac_dir in $PATH; do
 
7258
    IFS="$lt_save_ifs"
 
7259
    test -z "$ac_dir" && ac_dir=.
 
7260
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 
7261
      lt_cv_path_LD="$ac_dir/$ac_prog"
 
7262
      # Check to see if the program is GNU ld.  I'd rather use --version,
 
7263
      # but apparently some variants of GNU ld only accept -v.
 
7264
      # Break only if it was the GNU/non-GNU ld that we prefer.
 
7265
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 
7266
      *GNU* | *'with BFD'*)
 
7267
        test "$with_gnu_ld" != no && break
 
7268
        ;;
 
7269
      *)
 
7270
        test "$with_gnu_ld" != yes && break
 
7271
        ;;
 
7272
      esac
 
7273
    fi
 
7274
  done
 
7275
  IFS="$lt_save_ifs"
 
7276
else
 
7277
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
 
7278
fi
 
7279
fi
 
7280
 
 
7281
LD="$lt_cv_path_LD"
 
7282
if test -n "$LD"; then
 
7283
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 
7284
$as_echo "$LD" >&6; }
 
7285
else
 
7286
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7287
$as_echo "no" >&6; }
 
7288
fi
 
7289
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
 
7290
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 
7291
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 
7292
if ${lt_cv_prog_gnu_ld+:} false; then :
 
7293
  $as_echo_n "(cached) " >&6
 
7294
else
 
7295
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
 
7296
case `$LD -v 2>&1 </dev/null` in
 
7297
*GNU* | *'with BFD'*)
 
7298
  lt_cv_prog_gnu_ld=yes
 
7299
  ;;
 
7300
*)
 
7301
  lt_cv_prog_gnu_ld=no
 
7302
  ;;
 
7303
esac
 
7304
fi
 
7305
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
 
7306
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
 
7307
with_gnu_ld=$lt_cv_prog_gnu_ld
 
7308
 
 
7309
 
 
7310
 
 
7311
 
 
7312
 
 
7313
 
 
7314
 
 
7315
 
 
7316
 
 
7317
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
 
7318
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
 
7319
if ${lt_cv_path_NM+:} false; then :
 
7320
  $as_echo_n "(cached) " >&6
 
7321
else
 
7322
  if test -n "$NM"; then
 
7323
  # Let the user override the test.
 
7324
  lt_cv_path_NM="$NM"
 
7325
else
 
7326
  lt_nm_to_check="${ac_tool_prefix}nm"
 
7327
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 
7328
    lt_nm_to_check="$lt_nm_to_check nm"
 
7329
  fi
 
7330
  for lt_tmp_nm in $lt_nm_to_check; do
 
7331
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
7332
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 
7333
      IFS="$lt_save_ifs"
 
7334
      test -z "$ac_dir" && ac_dir=.
 
7335
      tmp_nm="$ac_dir/$lt_tmp_nm"
 
7336
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 
7337
        # Check to see if the nm accepts a BSD-compat flag.
 
7338
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
 
7339
        #   nm: unknown option "B" ignored
 
7340
        # Tru64's nm complains that /dev/null is an invalid object file
 
7341
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 
7342
        */dev/null* | *'Invalid file or object type'*)
 
7343
          lt_cv_path_NM="$tmp_nm -B"
 
7344
          break
 
7345
          ;;
 
7346
        *)
 
7347
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 
7348
          */dev/null*)
 
7349
            lt_cv_path_NM="$tmp_nm -p"
 
7350
            break
 
7351
            ;;
 
7352
          *)
 
7353
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 
7354
            continue # so that we can try to find one that supports BSD flags
 
7355
            ;;
 
7356
          esac
 
7357
          ;;
 
7358
        esac
 
7359
      fi
 
7360
    done
 
7361
    IFS="$lt_save_ifs"
 
7362
  done
 
7363
  : ${lt_cv_path_NM=no}
 
7364
fi
 
7365
fi
 
7366
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
 
7367
$as_echo "$lt_cv_path_NM" >&6; }
 
7368
if test "$lt_cv_path_NM" != "no"; then
 
7369
  NM="$lt_cv_path_NM"
 
7370
else
 
7371
  # Didn't find any BSD compatible name lister, look for dumpbin.
 
7372
  if test -n "$DUMPBIN"; then :
 
7373
    # Let the user override the test.
 
7374
  else
 
7375
    if test -n "$ac_tool_prefix"; then
 
7376
  for ac_prog in dumpbin "link -dump"
 
7377
  do
 
7378
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
7379
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
7380
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7381
$as_echo_n "checking for $ac_word... " >&6; }
 
7382
if ${ac_cv_prog_DUMPBIN+:} false; then :
 
7383
  $as_echo_n "(cached) " >&6
 
7384
else
 
7385
  if test -n "$DUMPBIN"; then
 
7386
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 
7387
else
 
7388
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7389
for as_dir in $PATH
 
7390
do
 
7391
  IFS=$as_save_IFS
 
7392
  test -z "$as_dir" && as_dir=.
 
7393
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7394
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7395
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 
7396
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7397
    break 2
 
7398
  fi
 
7399
done
 
7400
  done
 
7401
IFS=$as_save_IFS
 
7402
 
 
7403
fi
 
7404
fi
 
7405
DUMPBIN=$ac_cv_prog_DUMPBIN
 
7406
if test -n "$DUMPBIN"; then
 
7407
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
 
7408
$as_echo "$DUMPBIN" >&6; }
 
7409
else
 
7410
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7411
$as_echo "no" >&6; }
 
7412
fi
 
7413
 
 
7414
 
 
7415
    test -n "$DUMPBIN" && break
 
7416
  done
 
7417
fi
 
7418
if test -z "$DUMPBIN"; then
 
7419
  ac_ct_DUMPBIN=$DUMPBIN
 
7420
  for ac_prog in dumpbin "link -dump"
 
7421
do
 
7422
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
7423
set dummy $ac_prog; ac_word=$2
 
7424
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7425
$as_echo_n "checking for $ac_word... " >&6; }
 
7426
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
 
7427
  $as_echo_n "(cached) " >&6
 
7428
else
 
7429
  if test -n "$ac_ct_DUMPBIN"; then
 
7430
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 
7431
else
 
7432
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7433
for as_dir in $PATH
 
7434
do
 
7435
  IFS=$as_save_IFS
 
7436
  test -z "$as_dir" && as_dir=.
 
7437
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7438
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7439
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 
7440
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7441
    break 2
 
7442
  fi
 
7443
done
 
7444
  done
 
7445
IFS=$as_save_IFS
 
7446
 
 
7447
fi
 
7448
fi
 
7449
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 
7450
if test -n "$ac_ct_DUMPBIN"; then
 
7451
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
 
7452
$as_echo "$ac_ct_DUMPBIN" >&6; }
 
7453
else
 
7454
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7455
$as_echo "no" >&6; }
 
7456
fi
 
7457
 
 
7458
 
 
7459
  test -n "$ac_ct_DUMPBIN" && break
 
7460
done
 
7461
 
 
7462
  if test "x$ac_ct_DUMPBIN" = x; then
 
7463
    DUMPBIN=":"
 
7464
  else
 
7465
    case $cross_compiling:$ac_tool_warned in
 
7466
yes:)
 
7467
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7468
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7469
ac_tool_warned=yes ;;
 
7470
esac
 
7471
    DUMPBIN=$ac_ct_DUMPBIN
 
7472
  fi
 
7473
fi
 
7474
 
 
7475
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
 
7476
    *COFF*)
 
7477
      DUMPBIN="$DUMPBIN -symbols"
 
7478
      ;;
 
7479
    *)
 
7480
      DUMPBIN=:
 
7481
      ;;
 
7482
    esac
 
7483
  fi
 
7484
 
 
7485
  if test "$DUMPBIN" != ":"; then
 
7486
    NM="$DUMPBIN"
 
7487
  fi
 
7488
fi
 
7489
test -z "$NM" && NM=nm
 
7490
 
 
7491
 
 
7492
 
 
7493
 
 
7494
 
 
7495
 
 
7496
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
 
7497
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
 
7498
if ${lt_cv_nm_interface+:} false; then :
 
7499
  $as_echo_n "(cached) " >&6
 
7500
else
 
7501
  lt_cv_nm_interface="BSD nm"
 
7502
  echo "int some_variable = 0;" > conftest.$ac_ext
 
7503
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
 
7504
  (eval "$ac_compile" 2>conftest.err)
 
7505
  cat conftest.err >&5
 
7506
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
7507
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 
7508
  cat conftest.err >&5
 
7509
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
 
7510
  cat conftest.out >&5
 
7511
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 
7512
    lt_cv_nm_interface="MS dumpbin"
 
7513
  fi
 
7514
  rm -f conftest*
 
7515
fi
 
7516
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
 
7517
$as_echo "$lt_cv_nm_interface" >&6; }
 
7518
 
 
7519
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 
7520
$as_echo_n "checking whether ln -s works... " >&6; }
 
7521
LN_S=$as_ln_s
 
7522
if test "$LN_S" = "ln -s"; then
 
7523
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
7524
$as_echo "yes" >&6; }
 
7525
else
 
7526
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
 
7527
$as_echo "no, using $LN_S" >&6; }
 
7528
fi
 
7529
 
 
7530
# find the maximum length of command line arguments
 
7531
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
 
7532
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
 
7533
if ${lt_cv_sys_max_cmd_len+:} false; then :
 
7534
  $as_echo_n "(cached) " >&6
 
7535
else
 
7536
    i=0
 
7537
  teststring="ABCD"
 
7538
 
 
7539
  case $build_os in
 
7540
  msdosdjgpp*)
 
7541
    # On DJGPP, this test can blow up pretty badly due to problems in libc
 
7542
    # (any single argument exceeding 2000 bytes causes a buffer overrun
 
7543
    # during glob expansion).  Even if it were fixed, the result of this
 
7544
    # check would be larger than it should be.
 
7545
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 
7546
    ;;
 
7547
 
 
7548
  gnu*)
 
7549
    # Under GNU Hurd, this test is not required because there is
 
7550
    # no limit to the length of command line arguments.
 
7551
    # Libtool will interpret -1 as no limit whatsoever
 
7552
    lt_cv_sys_max_cmd_len=-1;
 
7553
    ;;
 
7554
 
 
7555
  cygwin* | mingw* | cegcc*)
 
7556
    # On Win9x/ME, this test blows up -- it succeeds, but takes
 
7557
    # about 5 minutes as the teststring grows exponentially.
 
7558
    # Worse, since 9x/ME are not pre-emptively multitasking,
 
7559
    # you end up with a "frozen" computer, even though with patience
 
7560
    # the test eventually succeeds (with a max line length of 256k).
 
7561
    # Instead, let's just punt: use the minimum linelength reported by
 
7562
    # all of the supported platforms: 8192 (on NT/2K/XP).
 
7563
    lt_cv_sys_max_cmd_len=8192;
 
7564
    ;;
 
7565
 
 
7566
  mint*)
 
7567
    # On MiNT this can take a long time and run out of memory.
 
7568
    lt_cv_sys_max_cmd_len=8192;
 
7569
    ;;
 
7570
 
 
7571
  amigaos*)
 
7572
    # On AmigaOS with pdksh, this test takes hours, literally.
 
7573
    # So we just punt and use a minimum line length of 8192.
 
7574
    lt_cv_sys_max_cmd_len=8192;
 
7575
    ;;
 
7576
 
 
7577
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
7578
    # This has been around since 386BSD, at least.  Likely further.
 
7579
    if test -x /sbin/sysctl; then
 
7580
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
7581
    elif test -x /usr/sbin/sysctl; then
 
7582
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
7583
    else
 
7584
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
7585
    fi
 
7586
    # And add a safety zone
 
7587
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
7588
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
7589
    ;;
 
7590
 
 
7591
  interix*)
 
7592
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
7593
    lt_cv_sys_max_cmd_len=196608
 
7594
    ;;
 
7595
 
 
7596
  osf*)
 
7597
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
7598
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
7599
    # nice to cause kernel panics so lets avoid the loop below.
 
7600
    # First set a reasonable default.
 
7601
    lt_cv_sys_max_cmd_len=16384
 
7602
    #
 
7603
    if test -x /sbin/sysconfig; then
 
7604
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
7605
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
7606
      esac
 
7607
    fi
 
7608
    ;;
 
7609
  sco3.2v5*)
 
7610
    lt_cv_sys_max_cmd_len=102400
 
7611
    ;;
 
7612
  sysv5* | sco5v6* | sysv4.2uw2*)
 
7613
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
7614
    if test -n "$kargmax"; then
 
7615
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
 
7616
    else
 
7617
      lt_cv_sys_max_cmd_len=32768
 
7618
    fi
 
7619
    ;;
 
7620
  *)
 
7621
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
7622
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
7623
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
7624
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
7625
    else
 
7626
      # Make teststring a little bigger before we do anything with it.
 
7627
      # a 1K string should be a reasonable start.
 
7628
      for i in 1 2 3 4 5 6 7 8 ; do
 
7629
        teststring=$teststring$teststring
 
7630
      done
 
7631
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
7632
      # If test is not a shell built-in, we'll probably end up computing a
 
7633
      # maximum length that is only half of the actual maximum length, but
 
7634
      # we can't tell.
 
7635
      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
 
7636
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
 
7637
              test $i != 17 # 1/2 MB should be enough
 
7638
      do
 
7639
        i=`expr $i + 1`
 
7640
        teststring=$teststring$teststring
 
7641
      done
 
7642
      # Only check the string length outside the loop.
 
7643
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 
7644
      teststring=
 
7645
      # Add a significant safety factor because C++ compilers can tack on
 
7646
      # massive amounts of additional arguments before passing them to the
 
7647
      # linker.  It appears as though 1/2 is a usable value.
 
7648
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
7649
    fi
 
7650
    ;;
 
7651
  esac
 
7652
 
 
7653
fi
 
7654
 
 
7655
if test -n $lt_cv_sys_max_cmd_len ; then
 
7656
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
 
7657
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
 
7658
else
 
7659
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
 
7660
$as_echo "none" >&6; }
 
7661
fi
 
7662
max_cmd_len=$lt_cv_sys_max_cmd_len
 
7663
 
 
7664
 
 
7665
 
 
7666
 
 
7667
 
 
7668
 
 
7669
: ${CP="cp -f"}
 
7670
: ${MV="mv -f"}
 
7671
: ${RM="rm -f"}
 
7672
 
 
7673
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
 
7674
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
 
7675
# Try some XSI features
 
7676
xsi_shell=no
 
7677
( _lt_dummy="a/b/c"
 
7678
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
 
7679
      = c,a/b,b/c, \
 
7680
    && eval 'test $(( 1 + 1 )) -eq 2 \
 
7681
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 
7682
  && xsi_shell=yes
 
7683
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
 
7684
$as_echo "$xsi_shell" >&6; }
 
7685
 
 
7686
 
 
7687
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
 
7688
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
 
7689
lt_shell_append=no
 
7690
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
 
7691
    >/dev/null 2>&1 \
 
7692
  && lt_shell_append=yes
 
7693
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
 
7694
$as_echo "$lt_shell_append" >&6; }
 
7695
 
 
7696
 
 
7697
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
7698
  lt_unset=unset
 
7699
else
 
7700
  lt_unset=false
 
7701
fi
 
7702
 
 
7703
 
 
7704
 
 
7705
 
 
7706
 
 
7707
# test EBCDIC or ASCII
 
7708
case `echo X|tr X '\101'` in
 
7709
 A) # ASCII based system
 
7710
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 
7711
  lt_SP2NL='tr \040 \012'
 
7712
  lt_NL2SP='tr \015\012 \040\040'
 
7713
  ;;
 
7714
 *) # EBCDIC based system
 
7715
  lt_SP2NL='tr \100 \n'
 
7716
  lt_NL2SP='tr \r\n \100\100'
 
7717
  ;;
 
7718
esac
 
7719
 
 
7720
 
 
7721
 
 
7722
 
 
7723
 
 
7724
 
 
7725
 
 
7726
 
 
7727
 
 
7728
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
 
7729
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
 
7730
if ${lt_cv_to_host_file_cmd+:} false; then :
 
7731
  $as_echo_n "(cached) " >&6
 
7732
else
 
7733
  case $host in
 
7734
  *-*-mingw* )
 
7735
    case $build in
 
7736
      *-*-mingw* ) # actually msys
 
7737
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
 
7738
        ;;
 
7739
      *-*-cygwin* )
 
7740
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
 
7741
        ;;
 
7742
      * ) # otherwise, assume *nix
 
7743
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
 
7744
        ;;
 
7745
    esac
 
7746
    ;;
 
7747
  *-*-cygwin* )
 
7748
    case $build in
 
7749
      *-*-mingw* ) # actually msys
 
7750
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
 
7751
        ;;
 
7752
      *-*-cygwin* )
 
7753
        lt_cv_to_host_file_cmd=func_convert_file_noop
 
7754
        ;;
 
7755
      * ) # otherwise, assume *nix
 
7756
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
 
7757
        ;;
 
7758
    esac
 
7759
    ;;
 
7760
  * ) # unhandled hosts (and "normal" native builds)
 
7761
    lt_cv_to_host_file_cmd=func_convert_file_noop
 
7762
    ;;
 
7763
esac
 
7764
 
 
7765
fi
 
7766
 
 
7767
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
7768
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
 
7769
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
 
7770
 
 
7771
 
 
7772
 
 
7773
 
 
7774
 
 
7775
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
 
7776
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
 
7777
if ${lt_cv_to_tool_file_cmd+:} false; then :
 
7778
  $as_echo_n "(cached) " >&6
 
7779
else
 
7780
  #assume ordinary cross tools, or native build.
 
7781
lt_cv_to_tool_file_cmd=func_convert_file_noop
 
7782
case $host in
 
7783
  *-*-mingw* )
 
7784
    case $build in
 
7785
      *-*-mingw* ) # actually msys
 
7786
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
 
7787
        ;;
 
7788
    esac
 
7789
    ;;
 
7790
esac
 
7791
 
 
7792
fi
 
7793
 
 
7794
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
7795
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
 
7796
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
 
7797
 
 
7798
 
 
7799
 
 
7800
 
 
7801
 
 
7802
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
 
7803
$as_echo_n "checking for $LD option to reload object files... " >&6; }
 
7804
if ${lt_cv_ld_reload_flag+:} false; then :
 
7805
  $as_echo_n "(cached) " >&6
 
7806
else
 
7807
  lt_cv_ld_reload_flag='-r'
 
7808
fi
 
7809
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
 
7810
$as_echo "$lt_cv_ld_reload_flag" >&6; }
 
7811
reload_flag=$lt_cv_ld_reload_flag
 
7812
case $reload_flag in
 
7813
"" | " "*) ;;
 
7814
*) reload_flag=" $reload_flag" ;;
 
7815
esac
 
7816
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
7817
case $host_os in
 
7818
  cygwin* | mingw* | pw32* | cegcc*)
 
7819
    if test "$GCC" != yes; then
 
7820
      reload_cmds=false
 
7821
    fi
 
7822
    ;;
 
7823
  darwin*)
 
7824
    if test "$GCC" = yes; then
 
7825
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
7826
    else
 
7827
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
7828
    fi
 
7829
    ;;
 
7830
esac
 
7831
 
 
7832
 
 
7833
 
 
7834
 
 
7835
 
 
7836
 
 
7837
 
 
7838
 
 
7839
 
 
7840
if test -n "$ac_tool_prefix"; then
 
7841
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
7842
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
7843
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7844
$as_echo_n "checking for $ac_word... " >&6; }
 
7845
if ${ac_cv_prog_OBJDUMP+:} false; then :
 
7846
  $as_echo_n "(cached) " >&6
 
7847
else
 
7848
  if test -n "$OBJDUMP"; then
 
7849
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
7850
else
 
7851
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7852
for as_dir in $PATH
 
7853
do
 
7854
  IFS=$as_save_IFS
 
7855
  test -z "$as_dir" && as_dir=.
 
7856
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7857
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7858
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
7859
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7860
    break 2
 
7861
  fi
 
7862
done
 
7863
  done
 
7864
IFS=$as_save_IFS
 
7865
 
 
7866
fi
 
7867
fi
 
7868
OBJDUMP=$ac_cv_prog_OBJDUMP
 
7869
if test -n "$OBJDUMP"; then
 
7870
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
 
7871
$as_echo "$OBJDUMP" >&6; }
 
7872
else
 
7873
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7874
$as_echo "no" >&6; }
 
7875
fi
 
7876
 
 
7877
 
 
7878
fi
 
7879
if test -z "$ac_cv_prog_OBJDUMP"; then
 
7880
  ac_ct_OBJDUMP=$OBJDUMP
 
7881
  # Extract the first word of "objdump", so it can be a program name with args.
 
7882
set dummy objdump; ac_word=$2
 
7883
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7884
$as_echo_n "checking for $ac_word... " >&6; }
 
7885
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
 
7886
  $as_echo_n "(cached) " >&6
 
7887
else
 
7888
  if test -n "$ac_ct_OBJDUMP"; then
 
7889
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
7890
else
 
7891
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7892
for as_dir in $PATH
 
7893
do
 
7894
  IFS=$as_save_IFS
 
7895
  test -z "$as_dir" && as_dir=.
 
7896
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7897
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7898
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
7899
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7900
    break 2
 
7901
  fi
 
7902
done
 
7903
  done
 
7904
IFS=$as_save_IFS
 
7905
 
 
7906
fi
 
7907
fi
 
7908
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
7909
if test -n "$ac_ct_OBJDUMP"; then
 
7910
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
 
7911
$as_echo "$ac_ct_OBJDUMP" >&6; }
 
7912
else
 
7913
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7914
$as_echo "no" >&6; }
 
7915
fi
 
7916
 
 
7917
  if test "x$ac_ct_OBJDUMP" = x; then
 
7918
    OBJDUMP="false"
 
7919
  else
 
7920
    case $cross_compiling:$ac_tool_warned in
 
7921
yes:)
 
7922
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7923
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7924
ac_tool_warned=yes ;;
 
7925
esac
 
7926
    OBJDUMP=$ac_ct_OBJDUMP
 
7927
  fi
 
7928
else
 
7929
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
7930
fi
 
7931
 
 
7932
test -z "$OBJDUMP" && OBJDUMP=objdump
 
7933
 
 
7934
 
 
7935
 
 
7936
 
 
7937
 
 
7938
 
 
7939
 
 
7940
 
 
7941
 
 
7942
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
 
7943
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
 
7944
if ${lt_cv_deplibs_check_method+:} false; then :
 
7945
  $as_echo_n "(cached) " >&6
 
7946
else
 
7947
  lt_cv_file_magic_cmd='$MAGIC_CMD'
 
7948
lt_cv_file_magic_test_file=
 
7949
lt_cv_deplibs_check_method='unknown'
 
7950
# Need to set the preceding variable on all platforms that support
 
7951
# interlibrary dependencies.
 
7952
# 'none' -- dependencies not supported.
 
7953
# `unknown' -- same as none, but documents that we really don't know.
 
7954
# 'pass_all' -- all dependencies passed with no checks.
 
7955
# 'test_compile' -- check by making test program.
 
7956
# 'file_magic [[regex]]' -- check by looking for files in library path
 
7957
# which responds to the $file_magic_cmd with a given extended regex.
 
7958
# If you have `file' or equivalent on your system and you're not sure
 
7959
# whether `pass_all' will *always* work, you probably want this one.
 
7960
 
 
7961
case $host_os in
 
7962
aix[4-9]*)
 
7963
  lt_cv_deplibs_check_method=pass_all
 
7964
  ;;
 
7965
 
 
7966
beos*)
 
7967
  lt_cv_deplibs_check_method=pass_all
 
7968
  ;;
 
7969
 
 
7970
bsdi[45]*)
 
7971
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
 
7972
  lt_cv_file_magic_cmd='/usr/bin/file -L'
 
7973
  lt_cv_file_magic_test_file=/shlib/libc.so
 
7974
  ;;
 
7975
 
 
7976
cygwin*)
 
7977
  # func_win32_libid is a shell function defined in ltmain.sh
 
7978
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
7979
  lt_cv_file_magic_cmd='func_win32_libid'
 
7980
  ;;
 
7981
 
 
7982
mingw* | pw32*)
 
7983
  # Base MSYS/MinGW do not provide the 'file' command needed by
 
7984
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 
7985
  # unless we find 'file', for example because we are cross-compiling.
 
7986
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
 
7987
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
 
7988
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
7989
    lt_cv_file_magic_cmd='func_win32_libid'
 
7990
  else
 
7991
    # Keep this pattern in sync with the one in func_win32_libid.
 
7992
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
 
7993
    lt_cv_file_magic_cmd='$OBJDUMP -f'
 
7994
  fi
 
7995
  ;;
 
7996
 
 
7997
cegcc*)
 
7998
  # use the weaker test based on 'objdump'. See mingw*.
 
7999
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 
8000
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
8001
  ;;
 
8002
 
 
8003
darwin* | rhapsody*)
 
8004
  lt_cv_deplibs_check_method=pass_all
 
8005
  ;;
 
8006
 
 
8007
freebsd* | dragonfly*)
 
8008
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
8009
    case $host_cpu in
 
8010
    i*86 )
 
8011
      # Not sure whether the presence of OpenBSD here was a mistake.
 
8012
      # Let's accept both of them until this is cleared up.
 
8013
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
 
8014
      lt_cv_file_magic_cmd=/usr/bin/file
 
8015
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 
8016
      ;;
 
8017
    esac
 
8018
  else
 
8019
    lt_cv_deplibs_check_method=pass_all
 
8020
  fi
 
8021
  ;;
 
8022
 
 
8023
gnu*)
 
8024
  lt_cv_deplibs_check_method=pass_all
 
8025
  ;;
 
8026
 
 
8027
haiku*)
 
8028
  lt_cv_deplibs_check_method=pass_all
 
8029
  ;;
 
8030
 
 
8031
hpux10.20* | hpux11*)
 
8032
  lt_cv_file_magic_cmd=/usr/bin/file
 
8033
  case $host_cpu in
 
8034
  ia64*)
 
8035
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
 
8036
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
 
8037
    ;;
 
8038
  hppa*64*)
 
8039
    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]'
 
8040
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
 
8041
    ;;
 
8042
  *)
 
8043
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
 
8044
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
 
8045
    ;;
 
8046
  esac
 
8047
  ;;
 
8048
 
 
8049
interix[3-9]*)
 
8050
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 
8051
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
 
8052
  ;;
 
8053
 
 
8054
irix5* | irix6* | nonstopux*)
 
8055
  case $LD in
 
8056
  *-32|*"-32 ") libmagic=32-bit;;
 
8057
  *-n32|*"-n32 ") libmagic=N32;;
 
8058
  *-64|*"-64 ") libmagic=64-bit;;
 
8059
  *) libmagic=never-match;;
 
8060
  esac
 
8061
  lt_cv_deplibs_check_method=pass_all
 
8062
  ;;
 
8063
 
 
8064
# This must be Linux ELF.
 
8065
linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
8066
  lt_cv_deplibs_check_method=pass_all
 
8067
  ;;
 
8068
 
 
8069
netbsd* | netbsdelf*-gnu)
 
8070
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
8071
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 
8072
  else
 
8073
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
 
8074
  fi
 
8075
  ;;
 
8076
 
 
8077
newos6*)
 
8078
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
 
8079
  lt_cv_file_magic_cmd=/usr/bin/file
 
8080
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
 
8081
  ;;
 
8082
 
 
8083
*nto* | *qnx*)
 
8084
  lt_cv_deplibs_check_method=pass_all
 
8085
  ;;
 
8086
 
 
8087
openbsd*)
 
8088
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
8089
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
 
8090
  else
 
8091
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 
8092
  fi
 
8093
  ;;
 
8094
 
 
8095
osf3* | osf4* | osf5*)
 
8096
  lt_cv_deplibs_check_method=pass_all
 
8097
  ;;
 
8098
 
 
8099
rdos*)
 
8100
  lt_cv_deplibs_check_method=pass_all
 
8101
  ;;
 
8102
 
 
8103
solaris*)
 
8104
  lt_cv_deplibs_check_method=pass_all
 
8105
  ;;
 
8106
 
 
8107
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
8108
  lt_cv_deplibs_check_method=pass_all
 
8109
  ;;
 
8110
 
 
8111
sysv4 | sysv4.3*)
 
8112
  case $host_vendor in
 
8113
  motorola)
 
8114
    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]'
 
8115
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
 
8116
    ;;
 
8117
  ncr)
 
8118
    lt_cv_deplibs_check_method=pass_all
 
8119
    ;;
 
8120
  sequent)
 
8121
    lt_cv_file_magic_cmd='/bin/file'
 
8122
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
 
8123
    ;;
 
8124
  sni)
 
8125
    lt_cv_file_magic_cmd='/bin/file'
 
8126
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
 
8127
    lt_cv_file_magic_test_file=/lib/libc.so
 
8128
    ;;
 
8129
  siemens)
 
8130
    lt_cv_deplibs_check_method=pass_all
 
8131
    ;;
 
8132
  pc)
 
8133
    lt_cv_deplibs_check_method=pass_all
 
8134
    ;;
 
8135
  esac
 
8136
  ;;
 
8137
 
 
8138
tpf*)
 
8139
  lt_cv_deplibs_check_method=pass_all
 
8140
  ;;
 
8141
esac
 
8142
 
 
8143
fi
 
8144
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
 
8145
$as_echo "$lt_cv_deplibs_check_method" >&6; }
 
8146
 
 
8147
file_magic_glob=
 
8148
want_nocaseglob=no
 
8149
if test "$build" = "$host"; then
 
8150
  case $host_os in
 
8151
  mingw* | pw32*)
 
8152
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
 
8153
      want_nocaseglob=yes
 
8154
    else
 
8155
      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
 
8156
    fi
 
8157
    ;;
 
8158
  esac
 
8159
fi
 
8160
 
 
8161
file_magic_cmd=$lt_cv_file_magic_cmd
 
8162
deplibs_check_method=$lt_cv_deplibs_check_method
 
8163
test -z "$deplibs_check_method" && deplibs_check_method=unknown
 
8164
 
 
8165
 
 
8166
 
 
8167
 
 
8168
 
 
8169
 
 
8170
 
 
8171
 
 
8172
 
 
8173
 
 
8174
 
 
8175
 
 
8176
 
 
8177
 
 
8178
 
 
8179
 
 
8180
 
 
8181
 
 
8182
 
 
8183
 
 
8184
 
 
8185
 
 
8186
if test -n "$ac_tool_prefix"; then
 
8187
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 
8188
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 
8189
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8190
$as_echo_n "checking for $ac_word... " >&6; }
 
8191
if ${ac_cv_prog_DLLTOOL+:} false; then :
 
8192
  $as_echo_n "(cached) " >&6
 
8193
else
 
8194
  if test -n "$DLLTOOL"; then
 
8195
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 
8196
else
 
8197
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8198
for as_dir in $PATH
 
8199
do
 
8200
  IFS=$as_save_IFS
 
8201
  test -z "$as_dir" && as_dir=.
 
8202
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8203
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8204
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 
8205
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8206
    break 2
 
8207
  fi
 
8208
done
 
8209
  done
 
8210
IFS=$as_save_IFS
 
8211
 
 
8212
fi
 
8213
fi
 
8214
DLLTOOL=$ac_cv_prog_DLLTOOL
 
8215
if test -n "$DLLTOOL"; then
 
8216
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 
8217
$as_echo "$DLLTOOL" >&6; }
 
8218
else
 
8219
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8220
$as_echo "no" >&6; }
 
8221
fi
 
8222
 
 
8223
 
 
8224
fi
 
8225
if test -z "$ac_cv_prog_DLLTOOL"; then
 
8226
  ac_ct_DLLTOOL=$DLLTOOL
 
8227
  # Extract the first word of "dlltool", so it can be a program name with args.
 
8228
set dummy dlltool; ac_word=$2
 
8229
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8230
$as_echo_n "checking for $ac_word... " >&6; }
 
8231
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
 
8232
  $as_echo_n "(cached) " >&6
 
8233
else
 
8234
  if test -n "$ac_ct_DLLTOOL"; then
 
8235
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 
8236
else
 
8237
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8238
for as_dir in $PATH
 
8239
do
 
8240
  IFS=$as_save_IFS
 
8241
  test -z "$as_dir" && as_dir=.
 
8242
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8243
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8244
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 
8245
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8246
    break 2
 
8247
  fi
 
8248
done
 
8249
  done
 
8250
IFS=$as_save_IFS
 
8251
 
 
8252
fi
 
8253
fi
 
8254
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 
8255
if test -n "$ac_ct_DLLTOOL"; then
 
8256
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 
8257
$as_echo "$ac_ct_DLLTOOL" >&6; }
 
8258
else
 
8259
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8260
$as_echo "no" >&6; }
 
8261
fi
 
8262
 
 
8263
  if test "x$ac_ct_DLLTOOL" = x; then
 
8264
    DLLTOOL="false"
 
8265
  else
 
8266
    case $cross_compiling:$ac_tool_warned in
 
8267
yes:)
 
8268
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8269
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8270
ac_tool_warned=yes ;;
 
8271
esac
 
8272
    DLLTOOL=$ac_ct_DLLTOOL
 
8273
  fi
 
8274
else
 
8275
  DLLTOOL="$ac_cv_prog_DLLTOOL"
 
8276
fi
 
8277
 
 
8278
test -z "$DLLTOOL" && DLLTOOL=dlltool
 
8279
 
 
8280
 
 
8281
 
 
8282
 
 
8283
 
 
8284
 
 
8285
 
 
8286
 
 
8287
 
 
8288
 
 
8289
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
 
8290
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
 
8291
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
 
8292
  $as_echo_n "(cached) " >&6
 
8293
else
 
8294
  lt_cv_sharedlib_from_linklib_cmd='unknown'
 
8295
 
 
8296
case $host_os in
 
8297
cygwin* | mingw* | pw32* | cegcc*)
 
8298
  # two different shell functions defined in ltmain.sh
 
8299
  # decide which to use based on capabilities of $DLLTOOL
 
8300
  case `$DLLTOOL --help 2>&1` in
 
8301
  *--identify-strict*)
 
8302
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
 
8303
    ;;
 
8304
  *)
 
8305
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
 
8306
    ;;
 
8307
  esac
 
8308
  ;;
 
8309
*)
 
8310
  # fallback: assume linklib IS sharedlib
 
8311
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
 
8312
  ;;
 
8313
esac
 
8314
 
 
8315
fi
 
8316
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
 
8317
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
 
8318
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
 
8319
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
 
8320
 
 
8321
 
 
8322
 
 
8323
 
 
8324
 
 
8325
 
 
8326
 
 
8327
if test -n "$ac_tool_prefix"; then
 
8328
  for ac_prog in ar
 
8329
  do
 
8330
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
8331
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
8332
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8333
$as_echo_n "checking for $ac_word... " >&6; }
 
8334
if ${ac_cv_prog_AR+:} false; then :
 
8335
  $as_echo_n "(cached) " >&6
 
8336
else
 
8337
  if test -n "$AR"; then
 
8338
  ac_cv_prog_AR="$AR" # Let the user override the test.
 
8339
else
 
8340
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8341
for as_dir in $PATH
 
8342
do
 
8343
  IFS=$as_save_IFS
 
8344
  test -z "$as_dir" && as_dir=.
 
8345
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8346
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8347
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
 
8348
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8349
    break 2
 
8350
  fi
 
8351
done
 
8352
  done
 
8353
IFS=$as_save_IFS
 
8354
 
 
8355
fi
 
8356
fi
 
8357
AR=$ac_cv_prog_AR
 
8358
if test -n "$AR"; then
 
8359
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
 
8360
$as_echo "$AR" >&6; }
 
8361
else
 
8362
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8363
$as_echo "no" >&6; }
 
8364
fi
 
8365
 
 
8366
 
 
8367
    test -n "$AR" && break
 
8368
  done
 
8369
fi
 
8370
if test -z "$AR"; then
 
8371
  ac_ct_AR=$AR
 
8372
  for ac_prog in ar
 
8373
do
 
8374
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
8375
set dummy $ac_prog; ac_word=$2
 
8376
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8377
$as_echo_n "checking for $ac_word... " >&6; }
 
8378
if ${ac_cv_prog_ac_ct_AR+:} false; then :
 
8379
  $as_echo_n "(cached) " >&6
 
8380
else
 
8381
  if test -n "$ac_ct_AR"; then
 
8382
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 
8383
else
 
8384
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8385
for as_dir in $PATH
 
8386
do
 
8387
  IFS=$as_save_IFS
 
8388
  test -z "$as_dir" && as_dir=.
 
8389
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8390
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8391
    ac_cv_prog_ac_ct_AR="$ac_prog"
 
8392
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8393
    break 2
 
8394
  fi
 
8395
done
 
8396
  done
 
8397
IFS=$as_save_IFS
 
8398
 
 
8399
fi
 
8400
fi
 
8401
ac_ct_AR=$ac_cv_prog_ac_ct_AR
 
8402
if test -n "$ac_ct_AR"; then
 
8403
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
 
8404
$as_echo "$ac_ct_AR" >&6; }
 
8405
else
 
8406
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8407
$as_echo "no" >&6; }
 
8408
fi
 
8409
 
 
8410
 
 
8411
  test -n "$ac_ct_AR" && break
 
8412
done
 
8413
 
 
8414
  if test "x$ac_ct_AR" = x; then
 
8415
    AR="false"
 
8416
  else
 
8417
    case $cross_compiling:$ac_tool_warned in
 
8418
yes:)
 
8419
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8420
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8421
ac_tool_warned=yes ;;
 
8422
esac
 
8423
    AR=$ac_ct_AR
 
8424
  fi
 
8425
fi
 
8426
 
 
8427
: ${AR=ar}
 
8428
: ${AR_FLAGS=cru}
 
8429
 
 
8430
 
 
8431
 
 
8432
 
 
8433
 
 
8434
 
 
8435
 
 
8436
 
 
8437
 
 
8438
 
 
8439
 
 
8440
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
 
8441
$as_echo_n "checking for archiver @FILE support... " >&6; }
 
8442
if ${lt_cv_ar_at_file+:} false; then :
 
8443
  $as_echo_n "(cached) " >&6
 
8444
else
 
8445
  lt_cv_ar_at_file=no
 
8446
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
8447
/* end confdefs.h.  */
 
8448
 
 
8449
int
 
8450
main ()
 
8451
{
 
8452
 
 
8453
  ;
 
8454
  return 0;
 
8455
}
 
8456
_ACEOF
 
8457
if ac_fn_c_try_compile "$LINENO"; then :
 
8458
  echo conftest.$ac_objext > conftest.lst
 
8459
      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
 
8460
      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
8461
  (eval $lt_ar_try) 2>&5
 
8462
  ac_status=$?
 
8463
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8464
  test $ac_status = 0; }
 
8465
      if test "$ac_status" -eq 0; then
 
8466
        # Ensure the archiver fails upon bogus file names.
 
8467
        rm -f conftest.$ac_objext libconftest.a
 
8468
        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
8469
  (eval $lt_ar_try) 2>&5
 
8470
  ac_status=$?
 
8471
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8472
  test $ac_status = 0; }
 
8473
        if test "$ac_status" -ne 0; then
 
8474
          lt_cv_ar_at_file=@
 
8475
        fi
 
8476
      fi
 
8477
      rm -f conftest.* libconftest.a
 
8478
 
 
8479
fi
 
8480
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
8481
 
 
8482
fi
 
8483
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
 
8484
$as_echo "$lt_cv_ar_at_file" >&6; }
 
8485
 
 
8486
if test "x$lt_cv_ar_at_file" = xno; then
 
8487
  archiver_list_spec=
 
8488
else
 
8489
  archiver_list_spec=$lt_cv_ar_at_file
 
8490
fi
 
8491
 
 
8492
 
 
8493
 
 
8494
 
 
8495
 
 
8496
 
 
8497
 
 
8498
if test -n "$ac_tool_prefix"; then
 
8499
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
8500
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
8501
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8502
$as_echo_n "checking for $ac_word... " >&6; }
 
8503
if ${ac_cv_prog_STRIP+:} false; then :
 
8504
  $as_echo_n "(cached) " >&6
 
8505
else
 
8506
  if test -n "$STRIP"; then
 
8507
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
8508
else
 
8509
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8510
for as_dir in $PATH
 
8511
do
 
8512
  IFS=$as_save_IFS
 
8513
  test -z "$as_dir" && as_dir=.
 
8514
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8515
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8516
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
8517
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8518
    break 2
 
8519
  fi
 
8520
done
 
8521
  done
 
8522
IFS=$as_save_IFS
 
8523
 
 
8524
fi
 
8525
fi
 
8526
STRIP=$ac_cv_prog_STRIP
 
8527
if test -n "$STRIP"; then
 
8528
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
8529
$as_echo "$STRIP" >&6; }
 
8530
else
 
8531
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8532
$as_echo "no" >&6; }
 
8533
fi
 
8534
 
 
8535
 
 
8536
fi
 
8537
if test -z "$ac_cv_prog_STRIP"; then
 
8538
  ac_ct_STRIP=$STRIP
 
8539
  # Extract the first word of "strip", so it can be a program name with args.
 
8540
set dummy strip; ac_word=$2
 
8541
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8542
$as_echo_n "checking for $ac_word... " >&6; }
 
8543
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 
8544
  $as_echo_n "(cached) " >&6
 
8545
else
 
8546
  if test -n "$ac_ct_STRIP"; then
 
8547
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
8548
else
 
8549
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8550
for as_dir in $PATH
 
8551
do
 
8552
  IFS=$as_save_IFS
 
8553
  test -z "$as_dir" && as_dir=.
 
8554
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8555
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8556
    ac_cv_prog_ac_ct_STRIP="strip"
 
8557
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8558
    break 2
 
8559
  fi
 
8560
done
 
8561
  done
 
8562
IFS=$as_save_IFS
 
8563
 
 
8564
fi
 
8565
fi
 
8566
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
8567
if test -n "$ac_ct_STRIP"; then
 
8568
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
8569
$as_echo "$ac_ct_STRIP" >&6; }
 
8570
else
 
8571
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8572
$as_echo "no" >&6; }
 
8573
fi
 
8574
 
 
8575
  if test "x$ac_ct_STRIP" = x; then
 
8576
    STRIP=":"
 
8577
  else
 
8578
    case $cross_compiling:$ac_tool_warned in
 
8579
yes:)
 
8580
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8581
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8582
ac_tool_warned=yes ;;
 
8583
esac
 
8584
    STRIP=$ac_ct_STRIP
 
8585
  fi
 
8586
else
 
8587
  STRIP="$ac_cv_prog_STRIP"
 
8588
fi
 
8589
 
 
8590
test -z "$STRIP" && STRIP=:
 
8591
 
 
8592
 
 
8593
 
 
8594
 
 
8595
 
 
8596
 
 
8597
if test -n "$ac_tool_prefix"; then
 
8598
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
8599
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
8600
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8601
$as_echo_n "checking for $ac_word... " >&6; }
 
8602
if ${ac_cv_prog_RANLIB+:} false; then :
 
8603
  $as_echo_n "(cached) " >&6
 
8604
else
 
8605
  if test -n "$RANLIB"; then
 
8606
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
8607
else
 
8608
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8609
for as_dir in $PATH
 
8610
do
 
8611
  IFS=$as_save_IFS
 
8612
  test -z "$as_dir" && as_dir=.
 
8613
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8614
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8615
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
8616
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8617
    break 2
 
8618
  fi
 
8619
done
 
8620
  done
 
8621
IFS=$as_save_IFS
 
8622
 
 
8623
fi
 
8624
fi
 
8625
RANLIB=$ac_cv_prog_RANLIB
 
8626
if test -n "$RANLIB"; then
 
8627
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 
8628
$as_echo "$RANLIB" >&6; }
 
8629
else
 
8630
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8631
$as_echo "no" >&6; }
 
8632
fi
 
8633
 
 
8634
 
 
8635
fi
 
8636
if test -z "$ac_cv_prog_RANLIB"; then
 
8637
  ac_ct_RANLIB=$RANLIB
 
8638
  # Extract the first word of "ranlib", so it can be a program name with args.
 
8639
set dummy ranlib; ac_word=$2
 
8640
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8641
$as_echo_n "checking for $ac_word... " >&6; }
 
8642
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
 
8643
  $as_echo_n "(cached) " >&6
 
8644
else
 
8645
  if test -n "$ac_ct_RANLIB"; then
 
8646
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
8647
else
 
8648
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8649
for as_dir in $PATH
 
8650
do
 
8651
  IFS=$as_save_IFS
 
8652
  test -z "$as_dir" && as_dir=.
 
8653
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8654
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8655
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
8656
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8657
    break 2
 
8658
  fi
 
8659
done
 
8660
  done
 
8661
IFS=$as_save_IFS
 
8662
 
 
8663
fi
 
8664
fi
 
8665
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
8666
if test -n "$ac_ct_RANLIB"; then
 
8667
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 
8668
$as_echo "$ac_ct_RANLIB" >&6; }
 
8669
else
 
8670
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8671
$as_echo "no" >&6; }
 
8672
fi
 
8673
 
 
8674
  if test "x$ac_ct_RANLIB" = x; then
 
8675
    RANLIB=":"
 
8676
  else
 
8677
    case $cross_compiling:$ac_tool_warned in
 
8678
yes:)
 
8679
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8680
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8681
ac_tool_warned=yes ;;
 
8682
esac
 
8683
    RANLIB=$ac_ct_RANLIB
 
8684
  fi
 
8685
else
 
8686
  RANLIB="$ac_cv_prog_RANLIB"
 
8687
fi
 
8688
 
 
8689
test -z "$RANLIB" && RANLIB=:
 
8690
 
 
8691
 
 
8692
 
 
8693
 
 
8694
 
 
8695
 
 
8696
# Determine commands to create old-style static archives.
 
8697
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 
8698
old_postinstall_cmds='chmod 644 $oldlib'
 
8699
old_postuninstall_cmds=
 
8700
 
 
8701
if test -n "$RANLIB"; then
 
8702
  case $host_os in
 
8703
  openbsd*)
 
8704
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
8705
    ;;
 
8706
  *)
 
8707
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
8708
    ;;
 
8709
  esac
 
8710
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
8711
fi
 
8712
 
 
8713
case $host_os in
 
8714
  darwin*)
 
8715
    lock_old_archive_extraction=yes ;;
 
8716
  *)
 
8717
    lock_old_archive_extraction=no ;;
 
8718
esac
 
8719
 
 
8720
 
 
8721
 
 
8722
 
 
8723
 
 
8724
 
 
8725
 
 
8726
 
 
8727
 
 
8728
 
 
8729
 
 
8730
 
 
8731
 
 
8732
 
 
8733
 
 
8734
 
 
8735
 
 
8736
 
 
8737
 
 
8738
 
 
8739
 
 
8740
 
 
8741
 
 
8742
 
 
8743
 
 
8744
 
 
8745
 
 
8746
 
 
8747
 
 
8748
 
 
8749
 
 
8750
 
 
8751
 
 
8752
 
 
8753
 
 
8754
 
 
8755
 
 
8756
 
 
8757
 
 
8758
# If no C compiler was specified, use CC.
 
8759
LTCC=${LTCC-"$CC"}
 
8760
 
 
8761
# If no C compiler flags were specified, use CFLAGS.
 
8762
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
8763
 
 
8764
# Allow CC to be a program name with arguments.
 
8765
compiler=$CC
 
8766
 
 
8767
 
 
8768
# Check for command to grab the raw symbol name followed by C symbol from nm.
 
8769
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
 
8770
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
 
8771
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
 
8772
  $as_echo_n "(cached) " >&6
 
8773
else
 
8774
 
 
8775
# These are sane defaults that work on at least a few old systems.
 
8776
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
 
8777
 
 
8778
# Character class describing NM global symbol codes.
 
8779
symcode='[BCDEGRST]'
 
8780
 
 
8781
# Regexp to match symbols that can be accessed directly from C.
 
8782
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
 
8783
 
 
8784
# Define system-specific variables.
 
8785
case $host_os in
 
8786
aix*)
 
8787
  symcode='[BCDT]'
 
8788
  ;;
 
8789
cygwin* | mingw* | pw32* | cegcc*)
 
8790
  symcode='[ABCDGISTW]'
 
8791
  ;;
 
8792
hpux*)
 
8793
  if test "$host_cpu" = ia64; then
 
8794
    symcode='[ABCDEGRST]'
 
8795
  fi
 
8796
  ;;
 
8797
irix* | nonstopux*)
 
8798
  symcode='[BCDEGRST]'
 
8799
  ;;
 
8800
osf*)
 
8801
  symcode='[BCDEGQRST]'
 
8802
  ;;
 
8803
solaris*)
 
8804
  symcode='[BDRT]'
 
8805
  ;;
 
8806
sco3.2v5*)
 
8807
  symcode='[DT]'
 
8808
  ;;
 
8809
sysv4.2uw2*)
 
8810
  symcode='[DT]'
 
8811
  ;;
 
8812
sysv5* | sco5v6* | unixware* | OpenUNIX*)
 
8813
  symcode='[ABDT]'
 
8814
  ;;
 
8815
sysv4)
 
8816
  symcode='[DFNSTU]'
 
8817
  ;;
 
8818
esac
 
8819
 
 
8820
# If we're using GNU nm, then use its standard symbol codes.
 
8821
case `$NM -V 2>&1` in
 
8822
*GNU* | *'with BFD'*)
 
8823
  symcode='[ABCDGIRSTW]' ;;
 
8824
esac
 
8825
 
 
8826
# Transform an extracted symbol line into a proper C declaration.
 
8827
# Some systems (esp. on ia64) link data and code symbols differently,
 
8828
# so use this general approach.
 
8829
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
8830
 
 
8831
# Transform an extracted symbol line into symbol name and symbol address
 
8832
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
8833
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'"
 
8834
 
 
8835
# Handle CRLF in mingw tool chain
 
8836
opt_cr=
 
8837
case $build_os in
 
8838
mingw*)
 
8839
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
8840
  ;;
 
8841
esac
 
8842
 
 
8843
# Try without a prefix underscore, then with it.
 
8844
for ac_symprfx in "" "_"; do
 
8845
 
 
8846
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
 
8847
  symxfrm="\\1 $ac_symprfx\\2 \\2"
 
8848
 
 
8849
  # Write the raw and C identifiers.
 
8850
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
8851
    # Fake it for dumpbin and say T for any non-static function
 
8852
    # and D for any global variable.
 
8853
    # Also find C++ and __fastcall symbols from MSVC++,
 
8854
    # which start with @ or ?.
 
8855
    lt_cv_sys_global_symbol_pipe="$AWK '"\
 
8856
"     {last_section=section; section=\$ 3};"\
 
8857
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 
8858
"     \$ 0!~/External *\|/{next};"\
 
8859
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 
8860
"     {if(hide[section]) next};"\
 
8861
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 
8862
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 
8863
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 
8864
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 
8865
"     ' prfx=^$ac_symprfx"
 
8866
  else
 
8867
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
8868
  fi
 
8869
  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
 
8870
 
 
8871
  # Check to see that the pipe works correctly.
 
8872
  pipe_works=no
 
8873
 
 
8874
  rm -f conftest*
 
8875
  cat > conftest.$ac_ext <<_LT_EOF
 
8876
#ifdef __cplusplus
 
8877
extern "C" {
 
8878
#endif
 
8879
char nm_test_var;
 
8880
void nm_test_func(void);
 
8881
void nm_test_func(void){}
 
8882
#ifdef __cplusplus
 
8883
}
 
8884
#endif
 
8885
int main(){nm_test_var='a';nm_test_func();return(0);}
 
8886
_LT_EOF
 
8887
 
 
8888
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
8889
  (eval $ac_compile) 2>&5
 
8890
  ac_status=$?
 
8891
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8892
  test $ac_status = 0; }; then
 
8893
    # Now try to grab the symbols.
 
8894
    nlist=conftest.nm
 
8895
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
 
8896
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
 
8897
  ac_status=$?
 
8898
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8899
  test $ac_status = 0; } && test -s "$nlist"; then
 
8900
      # Try sorting and uniquifying the output.
 
8901
      if sort "$nlist" | uniq > "$nlist"T; then
 
8902
        mv -f "$nlist"T "$nlist"
 
8903
      else
 
8904
        rm -f "$nlist"T
 
8905
      fi
 
8906
 
 
8907
      # Make sure that we snagged all the symbols we need.
 
8908
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 
8909
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 
8910
          cat <<_LT_EOF > conftest.$ac_ext
 
8911
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
 
8912
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
 
8913
/* DATA imports from DLLs on WIN32 con't be const, because runtime
 
8914
   relocations are performed -- see ld's documentation on pseudo-relocs.  */
 
8915
# define LT_DLSYM_CONST
 
8916
#elif defined(__osf__)
 
8917
/* This system does not cope well with relocations in const data.  */
 
8918
# define LT_DLSYM_CONST
 
8919
#else
 
8920
# define LT_DLSYM_CONST const
 
8921
#endif
 
8922
 
 
8923
#ifdef __cplusplus
 
8924
extern "C" {
 
8925
#endif
 
8926
 
 
8927
_LT_EOF
 
8928
          # Now generate the symbol file.
 
8929
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 
8930
 
 
8931
          cat <<_LT_EOF >> conftest.$ac_ext
 
8932
 
 
8933
/* The mapping between symbol names and symbols.  */
 
8934
LT_DLSYM_CONST struct {
 
8935
  const char *name;
 
8936
  void       *address;
 
8937
}
 
8938
lt__PROGRAM__LTX_preloaded_symbols[] =
 
8939
{
 
8940
  { "@PROGRAM@", (void *) 0 },
 
8941
_LT_EOF
 
8942
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 
8943
          cat <<\_LT_EOF >> conftest.$ac_ext
 
8944
  {0, (void *) 0}
 
8945
};
 
8946
 
 
8947
/* This works around a problem in FreeBSD linker */
 
8948
#ifdef FREEBSD_WORKAROUND
 
8949
static const void *lt_preloaded_setup() {
 
8950
  return lt__PROGRAM__LTX_preloaded_symbols;
 
8951
}
 
8952
#endif
 
8953
 
 
8954
#ifdef __cplusplus
 
8955
}
 
8956
#endif
 
8957
_LT_EOF
 
8958
          # Now try linking the two files.
 
8959
          mv conftest.$ac_objext conftstm.$ac_objext
 
8960
          lt_globsym_save_LIBS=$LIBS
 
8961
          lt_globsym_save_CFLAGS=$CFLAGS
 
8962
          LIBS="conftstm.$ac_objext"
 
8963
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
 
8964
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
8965
  (eval $ac_link) 2>&5
 
8966
  ac_status=$?
 
8967
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8968
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
 
8969
            pipe_works=yes
 
8970
          fi
 
8971
          LIBS=$lt_globsym_save_LIBS
 
8972
          CFLAGS=$lt_globsym_save_CFLAGS
 
8973
        else
 
8974
          echo "cannot find nm_test_func in $nlist" >&5
 
8975
        fi
 
8976
      else
 
8977
        echo "cannot find nm_test_var in $nlist" >&5
 
8978
      fi
 
8979
    else
 
8980
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
 
8981
    fi
 
8982
  else
 
8983
    echo "$progname: failed program was:" >&5
 
8984
    cat conftest.$ac_ext >&5
 
8985
  fi
 
8986
  rm -rf conftest* conftst*
 
8987
 
 
8988
  # Do not use the global_symbol_pipe unless it works.
 
8989
  if test "$pipe_works" = yes; then
 
8990
    break
 
8991
  else
 
8992
    lt_cv_sys_global_symbol_pipe=
 
8993
  fi
 
8994
done
 
8995
 
 
8996
fi
 
8997
 
 
8998
if test -z "$lt_cv_sys_global_symbol_pipe"; then
 
8999
  lt_cv_sys_global_symbol_to_cdecl=
 
9000
fi
 
9001
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
 
9002
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
 
9003
$as_echo "failed" >&6; }
 
9004
else
 
9005
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 
9006
$as_echo "ok" >&6; }
 
9007
fi
 
9008
 
 
9009
# Response file support.
 
9010
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
9011
  nm_file_list_spec='@'
 
9012
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
 
9013
  nm_file_list_spec='@'
 
9014
fi
 
9015
 
 
9016
 
 
9017
 
 
9018
 
 
9019
 
 
9020
 
 
9021
 
 
9022
 
 
9023
 
 
9024
 
 
9025
 
 
9026
 
 
9027
 
 
9028
 
 
9029
 
 
9030
 
 
9031
 
 
9032
 
 
9033
 
 
9034
 
 
9035
 
 
9036
 
 
9037
 
 
9038
 
 
9039
 
 
9040
 
 
9041
 
 
9042
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
 
9043
$as_echo_n "checking for sysroot... " >&6; }
 
9044
 
 
9045
# Check whether --with-sysroot was given.
 
9046
if test "${with_sysroot+set}" = set; then :
 
9047
  withval=$with_sysroot;
 
9048
else
 
9049
  with_sysroot=no
 
9050
fi
 
9051
 
 
9052
 
 
9053
lt_sysroot=
 
9054
case ${with_sysroot} in #(
 
9055
 yes)
 
9056
   if test "$GCC" = yes; then
 
9057
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
 
9058
   fi
 
9059
   ;; #(
 
9060
 /*)
 
9061
   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
 
9062
   ;; #(
 
9063
 no|'')
 
9064
   ;; #(
 
9065
 *)
 
9066
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
 
9067
$as_echo "${with_sysroot}" >&6; }
 
9068
   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
 
9069
   ;;
 
9070
esac
 
9071
 
 
9072
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 
9073
$as_echo "${lt_sysroot:-no}" >&6; }
 
9074
 
 
9075
 
 
9076
 
 
9077
 
 
9078
 
 
9079
# Check whether --enable-libtool-lock was given.
 
9080
if test "${enable_libtool_lock+set}" = set; then :
 
9081
  enableval=$enable_libtool_lock;
 
9082
fi
 
9083
 
 
9084
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
9085
 
 
9086
# Some flags need to be propagated to the compiler or linker for good
 
9087
# libtool support.
 
9088
case $host in
 
9089
ia64-*-hpux*)
 
9090
  # Find out which ABI we are using.
 
9091
  echo 'int i;' > conftest.$ac_ext
 
9092
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
9093
  (eval $ac_compile) 2>&5
 
9094
  ac_status=$?
 
9095
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
9096
  test $ac_status = 0; }; then
 
9097
    case `/usr/bin/file conftest.$ac_objext` in
 
9098
      *ELF-32*)
 
9099
        HPUX_IA64_MODE="32"
 
9100
        ;;
 
9101
      *ELF-64*)
 
9102
        HPUX_IA64_MODE="64"
 
9103
        ;;
 
9104
    esac
 
9105
  fi
 
9106
  rm -rf conftest*
 
9107
  ;;
 
9108
*-*-irix6*)
 
9109
  # Find out which ABI we are using.
 
9110
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
 
9111
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
9112
  (eval $ac_compile) 2>&5
 
9113
  ac_status=$?
 
9114
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
9115
  test $ac_status = 0; }; then
 
9116
    if test "$lt_cv_prog_gnu_ld" = yes; then
 
9117
      case `/usr/bin/file conftest.$ac_objext` in
 
9118
        *32-bit*)
 
9119
          LD="${LD-ld} -melf32bsmip"
 
9120
          ;;
 
9121
        *N32*)
 
9122
          LD="${LD-ld} -melf32bmipn32"
 
9123
          ;;
 
9124
        *64-bit*)
 
9125
          LD="${LD-ld} -melf64bmip"
 
9126
        ;;
 
9127
      esac
 
9128
    else
 
9129
      case `/usr/bin/file conftest.$ac_objext` in
 
9130
        *32-bit*)
 
9131
          LD="${LD-ld} -32"
 
9132
          ;;
 
9133
        *N32*)
 
9134
          LD="${LD-ld} -n32"
 
9135
          ;;
 
9136
        *64-bit*)
 
9137
          LD="${LD-ld} -64"
 
9138
          ;;
 
9139
      esac
 
9140
    fi
 
9141
  fi
 
9142
  rm -rf conftest*
 
9143
  ;;
 
9144
 
 
9145
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
9146
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 
9147
  # Find out which ABI we are using.
 
9148
  echo 'int i;' > conftest.$ac_ext
 
9149
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
9150
  (eval $ac_compile) 2>&5
 
9151
  ac_status=$?
 
9152
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
9153
  test $ac_status = 0; }; then
 
9154
    case `/usr/bin/file conftest.o` in
 
9155
      *32-bit*)
 
9156
        case $host in
 
9157
          x86_64-*kfreebsd*-gnu)
 
9158
            LD="${LD-ld} -m elf_i386_fbsd"
 
9159
            ;;
 
9160
          x86_64-*linux*)
 
9161
            LD="${LD-ld} -m elf_i386"
 
9162
            ;;
 
9163
          ppc64-*linux*|powerpc64-*linux*)
 
9164
            LD="${LD-ld} -m elf32ppclinux"
 
9165
            ;;
 
9166
          s390x-*linux*)
 
9167
            LD="${LD-ld} -m elf_s390"
 
9168
            ;;
 
9169
          sparc64-*linux*)
 
9170
            LD="${LD-ld} -m elf32_sparc"
 
9171
            ;;
 
9172
        esac
 
9173
        ;;
 
9174
      *64-bit*)
 
9175
        case $host in
 
9176
          x86_64-*kfreebsd*-gnu)
 
9177
            LD="${LD-ld} -m elf_x86_64_fbsd"
 
9178
            ;;
 
9179
          x86_64-*linux*)
 
9180
            LD="${LD-ld} -m elf_x86_64"
 
9181
            ;;
 
9182
          ppc*-*linux*|powerpc*-*linux*)
 
9183
            LD="${LD-ld} -m elf64ppc"
 
9184
            ;;
 
9185
          s390*-*linux*|s390*-*tpf*)
 
9186
            LD="${LD-ld} -m elf64_s390"
 
9187
            ;;
 
9188
          sparc*-*linux*)
 
9189
            LD="${LD-ld} -m elf64_sparc"
 
9190
            ;;
 
9191
        esac
 
9192
        ;;
 
9193
    esac
 
9194
  fi
 
9195
  rm -rf conftest*
 
9196
  ;;
 
9197
 
 
9198
*-*-sco3.2v5*)
 
9199
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
9200
  SAVE_CFLAGS="$CFLAGS"
 
9201
  CFLAGS="$CFLAGS -belf"
 
9202
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
 
9203
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 
9204
if ${lt_cv_cc_needs_belf+:} false; then :
 
9205
  $as_echo_n "(cached) " >&6
 
9206
else
 
9207
  ac_ext=c
 
9208
ac_cpp='$CPP $CPPFLAGS'
 
9209
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
9210
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
9211
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
9212
 
 
9213
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9214
/* end confdefs.h.  */
 
9215
 
 
9216
int
 
9217
main ()
 
9218
{
 
9219
 
 
9220
  ;
 
9221
  return 0;
 
9222
}
 
9223
_ACEOF
 
9224
if ac_fn_c_try_link "$LINENO"; then :
 
9225
  lt_cv_cc_needs_belf=yes
 
9226
else
 
9227
  lt_cv_cc_needs_belf=no
 
9228
fi
 
9229
rm -f core conftest.err conftest.$ac_objext \
 
9230
    conftest$ac_exeext conftest.$ac_ext
 
9231
     ac_ext=c
 
9232
ac_cpp='$CPP $CPPFLAGS'
 
9233
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
9234
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
9235
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
9236
 
 
9237
fi
 
9238
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
 
9239
$as_echo "$lt_cv_cc_needs_belf" >&6; }
 
9240
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
9241
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
9242
    CFLAGS="$SAVE_CFLAGS"
 
9243
  fi
 
9244
  ;;
 
9245
sparc*-*solaris*)
 
9246
  # Find out which ABI we are using.
 
9247
  echo 'int i;' > conftest.$ac_ext
 
9248
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
9249
  (eval $ac_compile) 2>&5
 
9250
  ac_status=$?
 
9251
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
9252
  test $ac_status = 0; }; then
 
9253
    case `/usr/bin/file conftest.o` in
 
9254
    *64-bit*)
 
9255
      case $lt_cv_prog_gnu_ld in
 
9256
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
9257
      *)
 
9258
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
9259
          LD="${LD-ld} -64"
 
9260
        fi
 
9261
        ;;
 
9262
      esac
 
9263
      ;;
 
9264
    esac
 
9265
  fi
 
9266
  rm -rf conftest*
 
9267
  ;;
 
9268
esac
 
9269
 
 
9270
need_locks="$enable_libtool_lock"
 
9271
 
 
9272
if test -n "$ac_tool_prefix"; then
 
9273
  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
 
9274
set dummy ${ac_tool_prefix}mt; ac_word=$2
 
9275
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9276
$as_echo_n "checking for $ac_word... " >&6; }
 
9277
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
 
9278
  $as_echo_n "(cached) " >&6
 
9279
else
 
9280
  if test -n "$MANIFEST_TOOL"; then
 
9281
  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
 
9282
else
 
9283
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9284
for as_dir in $PATH
 
9285
do
 
9286
  IFS=$as_save_IFS
 
9287
  test -z "$as_dir" && as_dir=.
 
9288
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9289
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9290
    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
 
9291
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9292
    break 2
 
9293
  fi
 
9294
done
 
9295
  done
 
9296
IFS=$as_save_IFS
 
9297
 
 
9298
fi
 
9299
fi
 
9300
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
 
9301
if test -n "$MANIFEST_TOOL"; then
 
9302
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
 
9303
$as_echo "$MANIFEST_TOOL" >&6; }
 
9304
else
 
9305
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9306
$as_echo "no" >&6; }
 
9307
fi
 
9308
 
 
9309
 
 
9310
fi
 
9311
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
 
9312
  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
 
9313
  # Extract the first word of "mt", so it can be a program name with args.
 
9314
set dummy mt; ac_word=$2
 
9315
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9316
$as_echo_n "checking for $ac_word... " >&6; }
 
9317
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
 
9318
  $as_echo_n "(cached) " >&6
 
9319
else
 
9320
  if test -n "$ac_ct_MANIFEST_TOOL"; then
 
9321
  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
 
9322
else
 
9323
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9324
for as_dir in $PATH
 
9325
do
 
9326
  IFS=$as_save_IFS
 
9327
  test -z "$as_dir" && as_dir=.
 
9328
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9329
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9330
    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
 
9331
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9332
    break 2
 
9333
  fi
 
9334
done
 
9335
  done
 
9336
IFS=$as_save_IFS
 
9337
 
 
9338
fi
 
9339
fi
 
9340
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
 
9341
if test -n "$ac_ct_MANIFEST_TOOL"; then
 
9342
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
 
9343
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
 
9344
else
 
9345
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9346
$as_echo "no" >&6; }
 
9347
fi
 
9348
 
 
9349
  if test "x$ac_ct_MANIFEST_TOOL" = x; then
 
9350
    MANIFEST_TOOL=":"
 
9351
  else
 
9352
    case $cross_compiling:$ac_tool_warned in
 
9353
yes:)
 
9354
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
9355
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
9356
ac_tool_warned=yes ;;
 
9357
esac
 
9358
    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
 
9359
  fi
 
9360
else
 
9361
  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
 
9362
fi
 
9363
 
 
9364
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
 
9365
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
 
9366
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
 
9367
if ${lt_cv_path_mainfest_tool+:} false; then :
 
9368
  $as_echo_n "(cached) " >&6
 
9369
else
 
9370
  lt_cv_path_mainfest_tool=no
 
9371
  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
 
9372
  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
 
9373
  cat conftest.err >&5
 
9374
  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
 
9375
    lt_cv_path_mainfest_tool=yes
 
9376
  fi
 
9377
  rm -f conftest*
 
9378
fi
 
9379
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
 
9380
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
 
9381
if test "x$lt_cv_path_mainfest_tool" != xyes; then
 
9382
  MANIFEST_TOOL=:
 
9383
fi
 
9384
 
 
9385
 
 
9386
 
 
9387
 
 
9388
 
 
9389
 
 
9390
  case $host_os in
 
9391
    rhapsody* | darwin*)
 
9392
    if test -n "$ac_tool_prefix"; then
 
9393
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
 
9394
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 
9395
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9396
$as_echo_n "checking for $ac_word... " >&6; }
 
9397
if ${ac_cv_prog_DSYMUTIL+:} false; then :
 
9398
  $as_echo_n "(cached) " >&6
 
9399
else
 
9400
  if test -n "$DSYMUTIL"; then
 
9401
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
 
9402
else
 
9403
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9404
for as_dir in $PATH
 
9405
do
 
9406
  IFS=$as_save_IFS
 
9407
  test -z "$as_dir" && as_dir=.
 
9408
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9409
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9410
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
 
9411
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9412
    break 2
 
9413
  fi
 
9414
done
 
9415
  done
 
9416
IFS=$as_save_IFS
 
9417
 
 
9418
fi
 
9419
fi
 
9420
DSYMUTIL=$ac_cv_prog_DSYMUTIL
 
9421
if test -n "$DSYMUTIL"; then
 
9422
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
 
9423
$as_echo "$DSYMUTIL" >&6; }
 
9424
else
 
9425
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9426
$as_echo "no" >&6; }
 
9427
fi
 
9428
 
 
9429
 
 
9430
fi
 
9431
if test -z "$ac_cv_prog_DSYMUTIL"; then
 
9432
  ac_ct_DSYMUTIL=$DSYMUTIL
 
9433
  # Extract the first word of "dsymutil", so it can be a program name with args.
 
9434
set dummy dsymutil; ac_word=$2
 
9435
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9436
$as_echo_n "checking for $ac_word... " >&6; }
 
9437
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
 
9438
  $as_echo_n "(cached) " >&6
 
9439
else
 
9440
  if test -n "$ac_ct_DSYMUTIL"; then
 
9441
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
 
9442
else
 
9443
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9444
for as_dir in $PATH
 
9445
do
 
9446
  IFS=$as_save_IFS
 
9447
  test -z "$as_dir" && as_dir=.
 
9448
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9449
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9450
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
 
9451
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9452
    break 2
 
9453
  fi
 
9454
done
 
9455
  done
 
9456
IFS=$as_save_IFS
 
9457
 
 
9458
fi
 
9459
fi
 
9460
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
 
9461
if test -n "$ac_ct_DSYMUTIL"; then
 
9462
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
 
9463
$as_echo "$ac_ct_DSYMUTIL" >&6; }
 
9464
else
 
9465
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9466
$as_echo "no" >&6; }
 
9467
fi
 
9468
 
 
9469
  if test "x$ac_ct_DSYMUTIL" = x; then
 
9470
    DSYMUTIL=":"
 
9471
  else
 
9472
    case $cross_compiling:$ac_tool_warned in
 
9473
yes:)
 
9474
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
9475
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
9476
ac_tool_warned=yes ;;
 
9477
esac
 
9478
    DSYMUTIL=$ac_ct_DSYMUTIL
 
9479
  fi
 
9480
else
 
9481
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
 
9482
fi
 
9483
 
 
9484
    if test -n "$ac_tool_prefix"; then
 
9485
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
 
9486
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 
9487
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9488
$as_echo_n "checking for $ac_word... " >&6; }
 
9489
if ${ac_cv_prog_NMEDIT+:} false; then :
 
9490
  $as_echo_n "(cached) " >&6
 
9491
else
 
9492
  if test -n "$NMEDIT"; then
 
9493
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
 
9494
else
 
9495
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9496
for as_dir in $PATH
 
9497
do
 
9498
  IFS=$as_save_IFS
 
9499
  test -z "$as_dir" && as_dir=.
 
9500
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9501
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9502
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
 
9503
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9504
    break 2
 
9505
  fi
 
9506
done
 
9507
  done
 
9508
IFS=$as_save_IFS
 
9509
 
 
9510
fi
 
9511
fi
 
9512
NMEDIT=$ac_cv_prog_NMEDIT
 
9513
if test -n "$NMEDIT"; then
 
9514
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
 
9515
$as_echo "$NMEDIT" >&6; }
 
9516
else
 
9517
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9518
$as_echo "no" >&6; }
 
9519
fi
 
9520
 
 
9521
 
 
9522
fi
 
9523
if test -z "$ac_cv_prog_NMEDIT"; then
 
9524
  ac_ct_NMEDIT=$NMEDIT
 
9525
  # Extract the first word of "nmedit", so it can be a program name with args.
 
9526
set dummy nmedit; ac_word=$2
 
9527
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9528
$as_echo_n "checking for $ac_word... " >&6; }
 
9529
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
 
9530
  $as_echo_n "(cached) " >&6
 
9531
else
 
9532
  if test -n "$ac_ct_NMEDIT"; then
 
9533
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 
9534
else
 
9535
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9536
for as_dir in $PATH
 
9537
do
 
9538
  IFS=$as_save_IFS
 
9539
  test -z "$as_dir" && as_dir=.
 
9540
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9541
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9542
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
 
9543
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9544
    break 2
 
9545
  fi
 
9546
done
 
9547
  done
 
9548
IFS=$as_save_IFS
 
9549
 
 
9550
fi
 
9551
fi
 
9552
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 
9553
if test -n "$ac_ct_NMEDIT"; then
 
9554
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
 
9555
$as_echo "$ac_ct_NMEDIT" >&6; }
 
9556
else
 
9557
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9558
$as_echo "no" >&6; }
 
9559
fi
 
9560
 
 
9561
  if test "x$ac_ct_NMEDIT" = x; then
 
9562
    NMEDIT=":"
 
9563
  else
 
9564
    case $cross_compiling:$ac_tool_warned in
 
9565
yes:)
 
9566
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
9567
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
9568
ac_tool_warned=yes ;;
 
9569
esac
 
9570
    NMEDIT=$ac_ct_NMEDIT
 
9571
  fi
 
9572
else
 
9573
  NMEDIT="$ac_cv_prog_NMEDIT"
 
9574
fi
 
9575
 
 
9576
    if test -n "$ac_tool_prefix"; then
 
9577
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 
9578
set dummy ${ac_tool_prefix}lipo; ac_word=$2
 
9579
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9580
$as_echo_n "checking for $ac_word... " >&6; }
 
9581
if ${ac_cv_prog_LIPO+:} false; then :
 
9582
  $as_echo_n "(cached) " >&6
 
9583
else
 
9584
  if test -n "$LIPO"; then
 
9585
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 
9586
else
 
9587
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9588
for as_dir in $PATH
 
9589
do
 
9590
  IFS=$as_save_IFS
 
9591
  test -z "$as_dir" && as_dir=.
 
9592
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9593
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9594
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 
9595
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9596
    break 2
 
9597
  fi
 
9598
done
 
9599
  done
 
9600
IFS=$as_save_IFS
 
9601
 
 
9602
fi
 
9603
fi
 
9604
LIPO=$ac_cv_prog_LIPO
 
9605
if test -n "$LIPO"; then
 
9606
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
 
9607
$as_echo "$LIPO" >&6; }
 
9608
else
 
9609
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9610
$as_echo "no" >&6; }
 
9611
fi
 
9612
 
 
9613
 
 
9614
fi
 
9615
if test -z "$ac_cv_prog_LIPO"; then
 
9616
  ac_ct_LIPO=$LIPO
 
9617
  # Extract the first word of "lipo", so it can be a program name with args.
 
9618
set dummy lipo; ac_word=$2
 
9619
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9620
$as_echo_n "checking for $ac_word... " >&6; }
 
9621
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
 
9622
  $as_echo_n "(cached) " >&6
 
9623
else
 
9624
  if test -n "$ac_ct_LIPO"; then
 
9625
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 
9626
else
 
9627
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9628
for as_dir in $PATH
 
9629
do
 
9630
  IFS=$as_save_IFS
 
9631
  test -z "$as_dir" && as_dir=.
 
9632
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9633
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9634
    ac_cv_prog_ac_ct_LIPO="lipo"
 
9635
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9636
    break 2
 
9637
  fi
 
9638
done
 
9639
  done
 
9640
IFS=$as_save_IFS
 
9641
 
 
9642
fi
 
9643
fi
 
9644
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 
9645
if test -n "$ac_ct_LIPO"; then
 
9646
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
 
9647
$as_echo "$ac_ct_LIPO" >&6; }
 
9648
else
 
9649
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9650
$as_echo "no" >&6; }
 
9651
fi
 
9652
 
 
9653
  if test "x$ac_ct_LIPO" = x; then
 
9654
    LIPO=":"
 
9655
  else
 
9656
    case $cross_compiling:$ac_tool_warned in
 
9657
yes:)
 
9658
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
9659
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
9660
ac_tool_warned=yes ;;
 
9661
esac
 
9662
    LIPO=$ac_ct_LIPO
 
9663
  fi
 
9664
else
 
9665
  LIPO="$ac_cv_prog_LIPO"
 
9666
fi
 
9667
 
 
9668
    if test -n "$ac_tool_prefix"; then
 
9669
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 
9670
set dummy ${ac_tool_prefix}otool; ac_word=$2
 
9671
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9672
$as_echo_n "checking for $ac_word... " >&6; }
 
9673
if ${ac_cv_prog_OTOOL+:} false; then :
 
9674
  $as_echo_n "(cached) " >&6
 
9675
else
 
9676
  if test -n "$OTOOL"; then
 
9677
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 
9678
else
 
9679
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9680
for as_dir in $PATH
 
9681
do
 
9682
  IFS=$as_save_IFS
 
9683
  test -z "$as_dir" && as_dir=.
 
9684
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9685
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9686
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 
9687
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9688
    break 2
 
9689
  fi
 
9690
done
 
9691
  done
 
9692
IFS=$as_save_IFS
 
9693
 
 
9694
fi
 
9695
fi
 
9696
OTOOL=$ac_cv_prog_OTOOL
 
9697
if test -n "$OTOOL"; then
 
9698
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
 
9699
$as_echo "$OTOOL" >&6; }
 
9700
else
 
9701
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9702
$as_echo "no" >&6; }
 
9703
fi
 
9704
 
 
9705
 
 
9706
fi
 
9707
if test -z "$ac_cv_prog_OTOOL"; then
 
9708
  ac_ct_OTOOL=$OTOOL
 
9709
  # Extract the first word of "otool", so it can be a program name with args.
 
9710
set dummy otool; ac_word=$2
 
9711
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9712
$as_echo_n "checking for $ac_word... " >&6; }
 
9713
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
 
9714
  $as_echo_n "(cached) " >&6
 
9715
else
 
9716
  if test -n "$ac_ct_OTOOL"; then
 
9717
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 
9718
else
 
9719
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9720
for as_dir in $PATH
 
9721
do
 
9722
  IFS=$as_save_IFS
 
9723
  test -z "$as_dir" && as_dir=.
 
9724
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9725
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9726
    ac_cv_prog_ac_ct_OTOOL="otool"
 
9727
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9728
    break 2
 
9729
  fi
 
9730
done
 
9731
  done
 
9732
IFS=$as_save_IFS
 
9733
 
 
9734
fi
 
9735
fi
 
9736
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 
9737
if test -n "$ac_ct_OTOOL"; then
 
9738
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
 
9739
$as_echo "$ac_ct_OTOOL" >&6; }
 
9740
else
 
9741
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9742
$as_echo "no" >&6; }
 
9743
fi
 
9744
 
 
9745
  if test "x$ac_ct_OTOOL" = x; then
 
9746
    OTOOL=":"
 
9747
  else
 
9748
    case $cross_compiling:$ac_tool_warned in
 
9749
yes:)
 
9750
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
9751
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
9752
ac_tool_warned=yes ;;
 
9753
esac
 
9754
    OTOOL=$ac_ct_OTOOL
 
9755
  fi
 
9756
else
 
9757
  OTOOL="$ac_cv_prog_OTOOL"
 
9758
fi
 
9759
 
 
9760
    if test -n "$ac_tool_prefix"; then
 
9761
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 
9762
set dummy ${ac_tool_prefix}otool64; ac_word=$2
 
9763
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9764
$as_echo_n "checking for $ac_word... " >&6; }
 
9765
if ${ac_cv_prog_OTOOL64+:} false; then :
 
9766
  $as_echo_n "(cached) " >&6
 
9767
else
 
9768
  if test -n "$OTOOL64"; then
 
9769
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 
9770
else
 
9771
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9772
for as_dir in $PATH
 
9773
do
 
9774
  IFS=$as_save_IFS
 
9775
  test -z "$as_dir" && as_dir=.
 
9776
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9777
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9778
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 
9779
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9780
    break 2
 
9781
  fi
 
9782
done
 
9783
  done
 
9784
IFS=$as_save_IFS
 
9785
 
 
9786
fi
 
9787
fi
 
9788
OTOOL64=$ac_cv_prog_OTOOL64
 
9789
if test -n "$OTOOL64"; then
 
9790
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
 
9791
$as_echo "$OTOOL64" >&6; }
 
9792
else
 
9793
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9794
$as_echo "no" >&6; }
 
9795
fi
 
9796
 
 
9797
 
 
9798
fi
 
9799
if test -z "$ac_cv_prog_OTOOL64"; then
 
9800
  ac_ct_OTOOL64=$OTOOL64
 
9801
  # Extract the first word of "otool64", so it can be a program name with args.
 
9802
set dummy otool64; ac_word=$2
 
9803
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
9804
$as_echo_n "checking for $ac_word... " >&6; }
 
9805
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
 
9806
  $as_echo_n "(cached) " >&6
 
9807
else
 
9808
  if test -n "$ac_ct_OTOOL64"; then
 
9809
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 
9810
else
 
9811
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9812
for as_dir in $PATH
 
9813
do
 
9814
  IFS=$as_save_IFS
 
9815
  test -z "$as_dir" && as_dir=.
 
9816
    for ac_exec_ext in '' $ac_executable_extensions; do
 
9817
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9818
    ac_cv_prog_ac_ct_OTOOL64="otool64"
 
9819
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9820
    break 2
 
9821
  fi
 
9822
done
 
9823
  done
 
9824
IFS=$as_save_IFS
 
9825
 
 
9826
fi
 
9827
fi
 
9828
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 
9829
if test -n "$ac_ct_OTOOL64"; then
 
9830
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
 
9831
$as_echo "$ac_ct_OTOOL64" >&6; }
 
9832
else
 
9833
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
9834
$as_echo "no" >&6; }
 
9835
fi
 
9836
 
 
9837
  if test "x$ac_ct_OTOOL64" = x; then
 
9838
    OTOOL64=":"
 
9839
  else
 
9840
    case $cross_compiling:$ac_tool_warned in
 
9841
yes:)
 
9842
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
9843
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
9844
ac_tool_warned=yes ;;
 
9845
esac
 
9846
    OTOOL64=$ac_ct_OTOOL64
 
9847
  fi
 
9848
else
 
9849
  OTOOL64="$ac_cv_prog_OTOOL64"
 
9850
fi
 
9851
 
 
9852
 
 
9853
 
 
9854
 
 
9855
 
 
9856
 
 
9857
 
 
9858
 
 
9859
 
 
9860
 
 
9861
 
 
9862
 
 
9863
 
 
9864
 
 
9865
 
 
9866
 
 
9867
 
 
9868
 
 
9869
 
 
9870
 
 
9871
 
 
9872
 
 
9873
 
 
9874
 
 
9875
 
 
9876
 
 
9877
 
 
9878
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
 
9879
$as_echo_n "checking for -single_module linker flag... " >&6; }
 
9880
if ${lt_cv_apple_cc_single_mod+:} false; then :
 
9881
  $as_echo_n "(cached) " >&6
 
9882
else
 
9883
  lt_cv_apple_cc_single_mod=no
 
9884
      if test -z "${LT_MULTI_MODULE}"; then
 
9885
        # By default we will add the -single_module flag. You can override
 
9886
        # by either setting the environment variable LT_MULTI_MODULE
 
9887
        # non-empty at configure time, or by adding -multi_module to the
 
9888
        # link flags.
 
9889
        rm -rf libconftest.dylib*
 
9890
        echo "int foo(void){return 1;}" > conftest.c
 
9891
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
9892
-dynamiclib -Wl,-single_module conftest.c" >&5
 
9893
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
9894
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 
9895
        _lt_result=$?
 
9896
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 
9897
          lt_cv_apple_cc_single_mod=yes
 
9898
        else
 
9899
          cat conftest.err >&5
 
9900
        fi
 
9901
        rm -rf libconftest.dylib*
 
9902
        rm -f conftest.*
 
9903
      fi
 
9904
fi
 
9905
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
 
9906
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
9907
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
 
9908
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
 
9909
if ${lt_cv_ld_exported_symbols_list+:} false; then :
 
9910
  $as_echo_n "(cached) " >&6
 
9911
else
 
9912
  lt_cv_ld_exported_symbols_list=no
 
9913
      save_LDFLAGS=$LDFLAGS
 
9914
      echo "_main" > conftest.sym
 
9915
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 
9916
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9917
/* end confdefs.h.  */
 
9918
 
 
9919
int
 
9920
main ()
 
9921
{
 
9922
 
 
9923
  ;
 
9924
  return 0;
 
9925
}
 
9926
_ACEOF
 
9927
if ac_fn_c_try_link "$LINENO"; then :
 
9928
  lt_cv_ld_exported_symbols_list=yes
 
9929
else
 
9930
  lt_cv_ld_exported_symbols_list=no
 
9931
fi
 
9932
rm -f core conftest.err conftest.$ac_objext \
 
9933
    conftest$ac_exeext conftest.$ac_ext
 
9934
        LDFLAGS="$save_LDFLAGS"
 
9935
 
 
9936
fi
 
9937
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
 
9938
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
9939
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
 
9940
$as_echo_n "checking for -force_load linker flag... " >&6; }
 
9941
if ${lt_cv_ld_force_load+:} false; then :
 
9942
  $as_echo_n "(cached) " >&6
 
9943
else
 
9944
  lt_cv_ld_force_load=no
 
9945
      cat > conftest.c << _LT_EOF
 
9946
int forced_loaded() { return 2;}
 
9947
_LT_EOF
 
9948
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
 
9949
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
 
9950
      echo "$AR cru libconftest.a conftest.o" >&5
 
9951
      $AR cru libconftest.a conftest.o 2>&5
 
9952
      echo "$RANLIB libconftest.a" >&5
 
9953
      $RANLIB libconftest.a 2>&5
 
9954
      cat > conftest.c << _LT_EOF
 
9955
int main() { return 0;}
 
9956
_LT_EOF
 
9957
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
 
9958
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
 
9959
      _lt_result=$?
 
9960
      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
 
9961
        lt_cv_ld_force_load=yes
 
9962
      else
 
9963
        cat conftest.err >&5
 
9964
      fi
 
9965
        rm -f conftest.err libconftest.a conftest conftest.c
 
9966
        rm -rf conftest.dSYM
 
9967
 
 
9968
fi
 
9969
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
 
9970
$as_echo "$lt_cv_ld_force_load" >&6; }
 
9971
    case $host_os in
 
9972
    rhapsody* | darwin1.[012])
 
9973
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 
9974
    darwin1.*)
 
9975
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
9976
    darwin*) # darwin 5.x on
 
9977
      # if running on 10.5 or later, the deployment target defaults
 
9978
      # to the OS version, if on x86, and 10.4, the deployment
 
9979
      # target defaults to 10.4. Don't you love it?
 
9980
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 
9981
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
9982
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
9983
        10.[012]*)
 
9984
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
9985
        10.*)
 
9986
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
9987
      esac
 
9988
    ;;
 
9989
  esac
 
9990
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 
9991
      _lt_dar_single_mod='$single_module'
 
9992
    fi
 
9993
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 
9994
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 
9995
    else
 
9996
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
9997
    fi
 
9998
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
 
9999
      _lt_dsymutil='~$DSYMUTIL $lib || :'
 
10000
    else
 
10001
      _lt_dsymutil=
 
10002
    fi
 
10003
    ;;
 
10004
  esac
 
10005
 
 
10006
for ac_header in dlfcn.h
 
10007
do :
 
10008
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 
10009
"
 
10010
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
 
10011
  cat >>confdefs.h <<_ACEOF
 
10012
#define HAVE_DLFCN_H 1
 
10013
_ACEOF
 
10014
 
 
10015
fi
 
10016
 
 
10017
done
 
10018
 
 
10019
 
 
10020
 
 
10021
 
 
10022
 
 
10023
# Set options
 
10024
 
 
10025
 
 
10026
 
 
10027
        enable_dlopen=no
 
10028
 
 
10029
 
 
10030
  enable_win32_dll=no
 
10031
 
 
10032
 
 
10033
            # Check whether --enable-shared was given.
 
10034
if test "${enable_shared+set}" = set; then :
 
10035
  enableval=$enable_shared; p=${PACKAGE-default}
 
10036
    case $enableval in
 
10037
    yes) enable_shared=yes ;;
 
10038
    no) enable_shared=no ;;
 
10039
    *)
 
10040
      enable_shared=no
 
10041
      # Look at the argument we got.  We use all the common list separators.
 
10042
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
10043
      for pkg in $enableval; do
 
10044
        IFS="$lt_save_ifs"
 
10045
        if test "X$pkg" = "X$p"; then
 
10046
          enable_shared=yes
 
10047
        fi
 
10048
      done
 
10049
      IFS="$lt_save_ifs"
 
10050
      ;;
 
10051
    esac
 
10052
else
 
10053
  enable_shared=yes
 
10054
fi
 
10055
 
 
10056
 
 
10057
 
 
10058
 
 
10059
 
 
10060
 
 
10061
 
 
10062
 
 
10063
 
 
10064
  # Check whether --enable-static was given.
 
10065
if test "${enable_static+set}" = set; then :
 
10066
  enableval=$enable_static; p=${PACKAGE-default}
 
10067
    case $enableval in
 
10068
    yes) enable_static=yes ;;
 
10069
    no) enable_static=no ;;
 
10070
    *)
 
10071
     enable_static=no
 
10072
      # Look at the argument we got.  We use all the common list separators.
 
10073
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
10074
      for pkg in $enableval; do
 
10075
        IFS="$lt_save_ifs"
 
10076
        if test "X$pkg" = "X$p"; then
 
10077
          enable_static=yes
 
10078
        fi
 
10079
      done
 
10080
      IFS="$lt_save_ifs"
 
10081
      ;;
 
10082
    esac
 
10083
else
 
10084
  enable_static=yes
 
10085
fi
 
10086
 
 
10087
 
 
10088
 
 
10089
 
 
10090
 
 
10091
 
 
10092
 
 
10093
 
 
10094
 
 
10095
 
 
10096
# Check whether --with-pic was given.
 
10097
if test "${with_pic+set}" = set; then :
 
10098
  withval=$with_pic; pic_mode="$withval"
 
10099
else
 
10100
  pic_mode=default
 
10101
fi
 
10102
 
 
10103
 
 
10104
test -z "$pic_mode" && pic_mode=default
 
10105
 
 
10106
 
 
10107
 
 
10108
 
 
10109
 
 
10110
 
 
10111
 
 
10112
  # Check whether --enable-fast-install was given.
 
10113
if test "${enable_fast_install+set}" = set; then :
 
10114
  enableval=$enable_fast_install; p=${PACKAGE-default}
 
10115
    case $enableval in
 
10116
    yes) enable_fast_install=yes ;;
 
10117
    no) enable_fast_install=no ;;
 
10118
    *)
 
10119
      enable_fast_install=no
 
10120
      # Look at the argument we got.  We use all the common list separators.
 
10121
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
10122
      for pkg in $enableval; do
 
10123
        IFS="$lt_save_ifs"
 
10124
        if test "X$pkg" = "X$p"; then
 
10125
          enable_fast_install=yes
 
10126
        fi
 
10127
      done
 
10128
      IFS="$lt_save_ifs"
 
10129
      ;;
 
10130
    esac
 
10131
else
 
10132
  enable_fast_install=yes
 
10133
fi
 
10134
 
 
10135
 
 
10136
 
 
10137
 
 
10138
 
 
10139
 
 
10140
 
 
10141
 
 
10142
 
 
10143
 
 
10144
 
 
10145
# This can be used to rebuild libtool when needed
 
10146
LIBTOOL_DEPS="$ltmain"
 
10147
 
 
10148
# Always use our own libtool.
 
10149
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
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
test -z "$LN_S" && LN_S="ln -s"
 
10177
 
 
10178
 
 
10179
 
 
10180
 
 
10181
 
 
10182
 
 
10183
 
 
10184
 
 
10185
 
 
10186
 
 
10187
 
 
10188
 
 
10189
 
 
10190
 
 
10191
if test -n "${ZSH_VERSION+set}" ; then
 
10192
   setopt NO_GLOB_SUBST
 
10193
fi
 
10194
 
 
10195
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
 
10196
$as_echo_n "checking for objdir... " >&6; }
 
10197
if ${lt_cv_objdir+:} false; then :
 
10198
  $as_echo_n "(cached) " >&6
 
10199
else
 
10200
  rm -f .libs 2>/dev/null
 
10201
mkdir .libs 2>/dev/null
 
10202
if test -d .libs; then
 
10203
  lt_cv_objdir=.libs
 
10204
else
 
10205
  # MS-DOS does not allow filenames that begin with a dot.
 
10206
  lt_cv_objdir=_libs
 
10207
fi
 
10208
rmdir .libs 2>/dev/null
 
10209
fi
 
10210
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
 
10211
$as_echo "$lt_cv_objdir" >&6; }
 
10212
objdir=$lt_cv_objdir
 
10213
 
 
10214
 
 
10215
 
 
10216
 
 
10217
 
 
10218
cat >>confdefs.h <<_ACEOF
 
10219
#define LT_OBJDIR "$lt_cv_objdir/"
 
10220
_ACEOF
 
10221
 
 
10222
 
 
10223
 
 
10224
 
 
10225
case $host_os in
 
10226
aix3*)
 
10227
  # AIX sometimes has problems with the GCC collect2 program.  For some
 
10228
  # reason, if we set the COLLECT_NAMES environment variable, the problems
 
10229
  # vanish in a puff of smoke.
 
10230
  if test "X${COLLECT_NAMES+set}" != Xset; then
 
10231
    COLLECT_NAMES=
 
10232
    export COLLECT_NAMES
 
10233
  fi
 
10234
  ;;
 
10235
esac
 
10236
 
 
10237
# Global variables:
 
10238
ofile=libtool
 
10239
can_build_shared=yes
 
10240
 
 
10241
# All known linkers require a `.a' archive for static linking (except MSVC,
 
10242
# which needs '.lib').
 
10243
libext=a
 
10244
 
 
10245
with_gnu_ld="$lt_cv_prog_gnu_ld"
 
10246
 
 
10247
old_CC="$CC"
 
10248
old_CFLAGS="$CFLAGS"
 
10249
 
 
10250
# Set sane defaults for various variables
 
10251
test -z "$CC" && CC=cc
 
10252
test -z "$LTCC" && LTCC=$CC
 
10253
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 
10254
test -z "$LD" && LD=ld
 
10255
test -z "$ac_objext" && ac_objext=o
 
10256
 
 
10257
for cc_temp in $compiler""; do
 
10258
  case $cc_temp in
 
10259
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
10260
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
10261
    \-*) ;;
 
10262
    *) break;;
 
10263
  esac
 
10264
done
 
10265
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
 
10266
 
 
10267
 
 
10268
# Only perform the check for file, if the check method requires it
 
10269
test -z "$MAGIC_CMD" && MAGIC_CMD=file
 
10270
case $deplibs_check_method in
 
10271
file_magic*)
 
10272
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 
10273
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
 
10274
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
 
10275
if ${lt_cv_path_MAGIC_CMD+:} false; then :
 
10276
  $as_echo_n "(cached) " >&6
 
10277
else
 
10278
  case $MAGIC_CMD in
 
10279
[\\/*] |  ?:[\\/]*)
 
10280
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
10281
  ;;
 
10282
*)
 
10283
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
10284
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
10285
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
10286
  for ac_dir in $ac_dummy; do
 
10287
    IFS="$lt_save_ifs"
 
10288
    test -z "$ac_dir" && ac_dir=.
 
10289
    if test -f $ac_dir/${ac_tool_prefix}file; then
 
10290
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
 
10291
      if test -n "$file_magic_test_file"; then
 
10292
        case $deplibs_check_method in
 
10293
        "file_magic "*)
 
10294
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
10295
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
10296
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
10297
            $EGREP "$file_magic_regex" > /dev/null; then
 
10298
            :
 
10299
          else
 
10300
            cat <<_LT_EOF 1>&2
 
10301
 
 
10302
*** Warning: the command libtool uses to detect shared libraries,
 
10303
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
10304
*** The result is that libtool may fail to recognize shared libraries
 
10305
*** as such.  This will affect the creation of libtool libraries that
 
10306
*** depend on shared libraries, but programs linked with such libtool
 
10307
*** libraries will work regardless of this problem.  Nevertheless, you
 
10308
*** may want to report the problem to your system manager and/or to
 
10309
*** bug-libtool@gnu.org
 
10310
 
 
10311
_LT_EOF
 
10312
          fi ;;
 
10313
        esac
 
10314
      fi
 
10315
      break
 
10316
    fi
 
10317
  done
 
10318
  IFS="$lt_save_ifs"
 
10319
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
10320
  ;;
 
10321
esac
 
10322
fi
 
10323
 
 
10324
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
10325
if test -n "$MAGIC_CMD"; then
 
10326
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
10327
$as_echo "$MAGIC_CMD" >&6; }
 
10328
else
 
10329
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10330
$as_echo "no" >&6; }
 
10331
fi
 
10332
 
 
10333
 
 
10334
 
 
10335
 
 
10336
 
 
10337
if test -z "$lt_cv_path_MAGIC_CMD"; then
 
10338
  if test -n "$ac_tool_prefix"; then
 
10339
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
 
10340
$as_echo_n "checking for file... " >&6; }
 
10341
if ${lt_cv_path_MAGIC_CMD+:} false; then :
 
10342
  $as_echo_n "(cached) " >&6
 
10343
else
 
10344
  case $MAGIC_CMD in
 
10345
[\\/*] |  ?:[\\/]*)
 
10346
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
10347
  ;;
 
10348
*)
 
10349
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
10350
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
10351
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
10352
  for ac_dir in $ac_dummy; do
 
10353
    IFS="$lt_save_ifs"
 
10354
    test -z "$ac_dir" && ac_dir=.
 
10355
    if test -f $ac_dir/file; then
 
10356
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
 
10357
      if test -n "$file_magic_test_file"; then
 
10358
        case $deplibs_check_method in
 
10359
        "file_magic "*)
 
10360
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
10361
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
10362
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
10363
            $EGREP "$file_magic_regex" > /dev/null; then
 
10364
            :
 
10365
          else
 
10366
            cat <<_LT_EOF 1>&2
 
10367
 
 
10368
*** Warning: the command libtool uses to detect shared libraries,
 
10369
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
10370
*** The result is that libtool may fail to recognize shared libraries
 
10371
*** as such.  This will affect the creation of libtool libraries that
 
10372
*** depend on shared libraries, but programs linked with such libtool
 
10373
*** libraries will work regardless of this problem.  Nevertheless, you
 
10374
*** may want to report the problem to your system manager and/or to
 
10375
*** bug-libtool@gnu.org
 
10376
 
 
10377
_LT_EOF
 
10378
          fi ;;
 
10379
        esac
 
10380
      fi
 
10381
      break
 
10382
    fi
 
10383
  done
 
10384
  IFS="$lt_save_ifs"
 
10385
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
10386
  ;;
 
10387
esac
 
10388
fi
 
10389
 
 
10390
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
10391
if test -n "$MAGIC_CMD"; then
 
10392
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
10393
$as_echo "$MAGIC_CMD" >&6; }
 
10394
else
 
10395
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
10396
$as_echo "no" >&6; }
 
10397
fi
 
10398
 
 
10399
 
 
10400
  else
 
10401
    MAGIC_CMD=:
 
10402
  fi
 
10403
fi
 
10404
 
 
10405
  fi
 
10406
  ;;
 
10407
esac
 
10408
 
 
10409
# Use C for the default configuration in the libtool script
 
10410
 
 
10411
lt_save_CC="$CC"
 
10412
ac_ext=c
 
10413
ac_cpp='$CPP $CPPFLAGS'
 
10414
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
10415
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
10416
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
10417
 
 
10418
 
 
10419
# Source file extension for C test sources.
 
10420
ac_ext=c
 
10421
 
 
10422
# Object file extension for compiled C test sources.
 
10423
objext=o
 
10424
objext=$objext
 
10425
 
 
10426
# Code to be used in simple compile tests
 
10427
lt_simple_compile_test_code="int some_variable = 0;"
 
10428
 
 
10429
# Code to be used in simple link tests
 
10430
lt_simple_link_test_code='int main(){return(0);}'
 
10431
 
 
10432
 
 
10433
 
 
10434
 
 
10435
 
 
10436
 
 
10437
 
 
10438
# If no C compiler was specified, use CC.
 
10439
LTCC=${LTCC-"$CC"}
 
10440
 
 
10441
# If no C compiler flags were specified, use CFLAGS.
 
10442
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
10443
 
 
10444
# Allow CC to be a program name with arguments.
 
10445
compiler=$CC
 
10446
 
 
10447
# Save the default compiler, since it gets overwritten when the other
 
10448
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 
10449
compiler_DEFAULT=$CC
 
10450
 
 
10451
# save warnings/boilerplate of simple test code
 
10452
ac_outfile=conftest.$ac_objext
 
10453
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
10454
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
10455
_lt_compiler_boilerplate=`cat conftest.err`
 
10456
$RM conftest*
 
10457
 
 
10458
ac_outfile=conftest.$ac_objext
 
10459
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
10460
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
10461
_lt_linker_boilerplate=`cat conftest.err`
 
10462
$RM -r conftest*
 
10463
 
 
10464
 
 
10465
if test -n "$compiler"; then
 
10466
 
 
10467
lt_prog_compiler_no_builtin_flag=
 
10468
 
 
10469
if test "$GCC" = yes; then
 
10470
  case $cc_basename in
 
10471
  nvcc*)
 
10472
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
 
10473
  *)
 
10474
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
 
10475
  esac
 
10476
 
 
10477
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
10478
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
 
10479
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
 
10480
  $as_echo_n "(cached) " >&6
 
10481
else
 
10482
  lt_cv_prog_compiler_rtti_exceptions=no
 
10483
   ac_outfile=conftest.$ac_objext
 
10484
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
10485
   lt_compiler_flag="-fno-rtti -fno-exceptions"
 
10486
   # Insert the option either (1) after the last *FLAGS variable, or
 
10487
   # (2) before a word containing "conftest.", or (3) at the end.
 
10488
   # Note that $ac_compile itself does not contain backslashes and begins
 
10489
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
10490
   # The option is referenced via a variable to avoid confusing sed.
 
10491
   lt_compile=`echo "$ac_compile" | $SED \
 
10492
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
10493
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
10494
   -e 's:$: $lt_compiler_flag:'`
 
10495
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
10496
   (eval "$lt_compile" 2>conftest.err)
 
10497
   ac_status=$?
 
10498
   cat conftest.err >&5
 
10499
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10500
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
10501
     # The compiler can only warn and ignore the option if not recognized
 
10502
     # So say no if there are warnings other than the usual output.
 
10503
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
 
10504
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
10505
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
10506
       lt_cv_prog_compiler_rtti_exceptions=yes
 
10507
     fi
 
10508
   fi
 
10509
   $RM conftest*
 
10510
 
 
10511
fi
 
10512
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
10513
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 
10514
 
 
10515
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
 
10516
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
 
10517
else
 
10518
    :
 
10519
fi
 
10520
 
 
10521
fi
 
10522
 
 
10523
 
 
10524
 
 
10525
 
 
10526
 
 
10527
 
 
10528
  lt_prog_compiler_wl=
 
10529
lt_prog_compiler_pic=
 
10530
lt_prog_compiler_static=
 
10531
 
 
10532
 
 
10533
  if test "$GCC" = yes; then
 
10534
    lt_prog_compiler_wl='-Wl,'
 
10535
    lt_prog_compiler_static='-static'
 
10536
 
 
10537
    case $host_os in
 
10538
      aix*)
 
10539
      # All AIX code is PIC.
 
10540
      if test "$host_cpu" = ia64; then
 
10541
        # AIX 5 now supports IA64 processor
 
10542
        lt_prog_compiler_static='-Bstatic'
 
10543
      fi
 
10544
      ;;
 
10545
 
 
10546
    amigaos*)
 
10547
      case $host_cpu in
 
10548
      powerpc)
 
10549
            # see comment about AmigaOS4 .so support
 
10550
            lt_prog_compiler_pic='-fPIC'
 
10551
        ;;
 
10552
      m68k)
 
10553
            # FIXME: we need at least 68020 code to build shared libraries, but
 
10554
            # adding the `-m68020' flag to GCC prevents building anything better,
 
10555
            # like `-m68040'.
 
10556
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
10557
        ;;
 
10558
      esac
 
10559
      ;;
 
10560
 
 
10561
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
10562
      # PIC is the default for these OSes.
 
10563
      ;;
 
10564
 
 
10565
    mingw* | cygwin* | pw32* | os2* | cegcc*)
 
10566
      # This hack is so that the source file can tell whether it is being
 
10567
      # built for inclusion in a dll (and should export symbols for example).
 
10568
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
10569
      # (--disable-auto-import) libraries
 
10570
      lt_prog_compiler_pic='-DDLL_EXPORT'
 
10571
      ;;
 
10572
 
 
10573
    darwin* | rhapsody*)
 
10574
      # PIC is the default on this platform
 
10575
      # Common symbols not allowed in MH_DYLIB files
 
10576
      lt_prog_compiler_pic='-fno-common'
 
10577
      ;;
 
10578
 
 
10579
    haiku*)
 
10580
      # PIC is the default for Haiku.
 
10581
      # The "-static" flag exists, but is broken.
 
10582
      lt_prog_compiler_static=
 
10583
      ;;
 
10584
 
 
10585
    hpux*)
 
10586
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
10587
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
10588
      # sets the default TLS model and affects inlining.
 
10589
      case $host_cpu in
 
10590
      hppa*64*)
 
10591
        # +Z the default
 
10592
        ;;
 
10593
      *)
 
10594
        lt_prog_compiler_pic='-fPIC'
 
10595
        ;;
 
10596
      esac
 
10597
      ;;
 
10598
 
 
10599
    interix[3-9]*)
 
10600
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
10601
      # Instead, we relocate shared libraries at runtime.
 
10602
      ;;
 
10603
 
 
10604
    msdosdjgpp*)
 
10605
      # Just because we use GCC doesn't mean we suddenly get shared libraries
 
10606
      # on systems that don't support them.
 
10607
      lt_prog_compiler_can_build_shared=no
 
10608
      enable_shared=no
 
10609
      ;;
 
10610
 
 
10611
    *nto* | *qnx*)
 
10612
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
10613
      # it will coredump.
 
10614
      lt_prog_compiler_pic='-fPIC -shared'
 
10615
      ;;
 
10616
 
 
10617
    sysv4*MP*)
 
10618
      if test -d /usr/nec; then
 
10619
        lt_prog_compiler_pic=-Kconform_pic
 
10620
      fi
 
10621
      ;;
 
10622
 
 
10623
    *)
 
10624
      lt_prog_compiler_pic='-fPIC'
 
10625
      ;;
 
10626
    esac
 
10627
 
 
10628
    case $cc_basename in
 
10629
    nvcc*) # Cuda Compiler Driver 2.2
 
10630
      lt_prog_compiler_wl='-Xlinker '
 
10631
      lt_prog_compiler_pic='-Xcompiler -fPIC'
 
10632
      ;;
 
10633
    esac
 
10634
  else
 
10635
    # PORTME Check for flag to pass linker flags through the system compiler.
 
10636
    case $host_os in
 
10637
    aix*)
 
10638
      lt_prog_compiler_wl='-Wl,'
 
10639
      if test "$host_cpu" = ia64; then
 
10640
        # AIX 5 now supports IA64 processor
 
10641
        lt_prog_compiler_static='-Bstatic'
 
10642
      else
 
10643
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
 
10644
      fi
 
10645
      ;;
 
10646
 
 
10647
    mingw* | cygwin* | pw32* | os2* | cegcc*)
 
10648
      # This hack is so that the source file can tell whether it is being
 
10649
      # built for inclusion in a dll (and should export symbols for example).
 
10650
      lt_prog_compiler_pic='-DDLL_EXPORT'
 
10651
      ;;
 
10652
 
 
10653
    hpux9* | hpux10* | hpux11*)
 
10654
      lt_prog_compiler_wl='-Wl,'
 
10655
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 
10656
      # not for PA HP-UX.
 
10657
      case $host_cpu in
 
10658
      hppa*64*|ia64*)
 
10659
        # +Z the default
 
10660
        ;;
 
10661
      *)
 
10662
        lt_prog_compiler_pic='+Z'
 
10663
        ;;
 
10664
      esac
 
10665
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
 
10666
      lt_prog_compiler_static='${wl}-a ${wl}archive'
 
10667
      ;;
 
10668
 
 
10669
    irix5* | irix6* | nonstopux*)
 
10670
      lt_prog_compiler_wl='-Wl,'
 
10671
      # PIC (with -KPIC) is the default.
 
10672
      lt_prog_compiler_static='-non_shared'
 
10673
      ;;
 
10674
 
 
10675
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
10676
      case $cc_basename in
 
10677
      # old Intel for x86_64 which still supported -KPIC.
 
10678
      ecc*)
 
10679
        lt_prog_compiler_wl='-Wl,'
 
10680
        lt_prog_compiler_pic='-KPIC'
 
10681
        lt_prog_compiler_static='-static'
 
10682
        ;;
 
10683
      # icc used to be incompatible with GCC.
 
10684
      # ICC 10 doesn't accept -KPIC any more.
 
10685
      icc* | ifort*)
 
10686
        lt_prog_compiler_wl='-Wl,'
 
10687
        lt_prog_compiler_pic='-fPIC'
 
10688
        lt_prog_compiler_static='-static'
 
10689
        ;;
 
10690
      # Lahey Fortran 8.1.
 
10691
      lf95*)
 
10692
        lt_prog_compiler_wl='-Wl,'
 
10693
        lt_prog_compiler_pic='--shared'
 
10694
        lt_prog_compiler_static='--static'
 
10695
        ;;
 
10696
      nagfor*)
 
10697
        # NAG Fortran compiler
 
10698
        lt_prog_compiler_wl='-Wl,-Wl,,'
 
10699
        lt_prog_compiler_pic='-PIC'
 
10700
        lt_prog_compiler_static='-Bstatic'
 
10701
        ;;
 
10702
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
 
10703
        # Portland Group compilers (*not* the Pentium gcc compiler,
 
10704
        # which looks to be a dead project)
 
10705
        lt_prog_compiler_wl='-Wl,'
 
10706
        lt_prog_compiler_pic='-fpic'
 
10707
        lt_prog_compiler_static='-Bstatic'
 
10708
        ;;
 
10709
      ccc*)
 
10710
        lt_prog_compiler_wl='-Wl,'
 
10711
        # All Alpha code is PIC.
 
10712
        lt_prog_compiler_static='-non_shared'
 
10713
        ;;
 
10714
      xl* | bgxl* | bgf* | mpixl*)
 
10715
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
 
10716
        lt_prog_compiler_wl='-Wl,'
 
10717
        lt_prog_compiler_pic='-qpic'
 
10718
        lt_prog_compiler_static='-qstaticlink'
 
10719
        ;;
 
10720
      *)
 
10721
        case `$CC -V 2>&1 | sed 5q` in
 
10722
        *Sun\ F* | *Sun*Fortran*)
 
10723
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
10724
          lt_prog_compiler_pic='-KPIC'
 
10725
          lt_prog_compiler_static='-Bstatic'
 
10726
          lt_prog_compiler_wl=''
 
10727
          ;;
 
10728
        *Sun\ C*)
 
10729
          # Sun C 5.9
 
10730
          lt_prog_compiler_pic='-KPIC'
 
10731
          lt_prog_compiler_static='-Bstatic'
 
10732
          lt_prog_compiler_wl='-Wl,'
 
10733
          ;;
 
10734
        esac
 
10735
        ;;
 
10736
      esac
 
10737
      ;;
 
10738
 
 
10739
    newsos6)
 
10740
      lt_prog_compiler_pic='-KPIC'
 
10741
      lt_prog_compiler_static='-Bstatic'
 
10742
      ;;
 
10743
 
 
10744
    *nto* | *qnx*)
 
10745
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
10746
      # it will coredump.
 
10747
      lt_prog_compiler_pic='-fPIC -shared'
 
10748
      ;;
 
10749
 
 
10750
    osf3* | osf4* | osf5*)
 
10751
      lt_prog_compiler_wl='-Wl,'
 
10752
      # All OSF/1 code is PIC.
 
10753
      lt_prog_compiler_static='-non_shared'
 
10754
      ;;
 
10755
 
 
10756
    rdos*)
 
10757
      lt_prog_compiler_static='-non_shared'
 
10758
      ;;
 
10759
 
 
10760
    solaris*)
 
10761
      lt_prog_compiler_pic='-KPIC'
 
10762
      lt_prog_compiler_static='-Bstatic'
 
10763
      case $cc_basename in
 
10764
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
 
10765
        lt_prog_compiler_wl='-Qoption ld ';;
 
10766
      *)
 
10767
        lt_prog_compiler_wl='-Wl,';;
 
10768
      esac
 
10769
      ;;
 
10770
 
 
10771
    sunos4*)
 
10772
      lt_prog_compiler_wl='-Qoption ld '
 
10773
      lt_prog_compiler_pic='-PIC'
 
10774
      lt_prog_compiler_static='-Bstatic'
 
10775
      ;;
 
10776
 
 
10777
    sysv4 | sysv4.2uw2* | sysv4.3*)
 
10778
      lt_prog_compiler_wl='-Wl,'
 
10779
      lt_prog_compiler_pic='-KPIC'
 
10780
      lt_prog_compiler_static='-Bstatic'
 
10781
      ;;
 
10782
 
 
10783
    sysv4*MP*)
 
10784
      if test -d /usr/nec ;then
 
10785
        lt_prog_compiler_pic='-Kconform_pic'
 
10786
        lt_prog_compiler_static='-Bstatic'
 
10787
      fi
 
10788
      ;;
 
10789
 
 
10790
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
10791
      lt_prog_compiler_wl='-Wl,'
 
10792
      lt_prog_compiler_pic='-KPIC'
 
10793
      lt_prog_compiler_static='-Bstatic'
 
10794
      ;;
 
10795
 
 
10796
    unicos*)
 
10797
      lt_prog_compiler_wl='-Wl,'
 
10798
      lt_prog_compiler_can_build_shared=no
 
10799
      ;;
 
10800
 
 
10801
    uts4*)
 
10802
      lt_prog_compiler_pic='-pic'
 
10803
      lt_prog_compiler_static='-Bstatic'
 
10804
      ;;
 
10805
 
 
10806
    *)
 
10807
      lt_prog_compiler_can_build_shared=no
 
10808
      ;;
 
10809
    esac
 
10810
  fi
 
10811
 
 
10812
case $host_os in
 
10813
  # For platforms which do not support PIC, -DPIC is meaningless:
 
10814
  *djgpp*)
 
10815
    lt_prog_compiler_pic=
 
10816
    ;;
 
10817
  *)
 
10818
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 
10819
    ;;
 
10820
esac
 
10821
 
 
10822
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
10823
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
10824
if ${lt_cv_prog_compiler_pic+:} false; then :
 
10825
  $as_echo_n "(cached) " >&6
 
10826
else
 
10827
  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
 
10828
fi
 
10829
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
 
10830
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
 
10831
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
 
10832
 
 
10833
#
 
10834
# Check to make sure the PIC flag actually works.
 
10835
#
 
10836
if test -n "$lt_prog_compiler_pic"; then
 
10837
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
10838
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
 
10839
if ${lt_cv_prog_compiler_pic_works+:} false; then :
 
10840
  $as_echo_n "(cached) " >&6
 
10841
else
 
10842
  lt_cv_prog_compiler_pic_works=no
 
10843
   ac_outfile=conftest.$ac_objext
 
10844
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
10845
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
 
10846
   # Insert the option either (1) after the last *FLAGS variable, or
 
10847
   # (2) before a word containing "conftest.", or (3) at the end.
 
10848
   # Note that $ac_compile itself does not contain backslashes and begins
 
10849
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
10850
   # The option is referenced via a variable to avoid confusing sed.
 
10851
   lt_compile=`echo "$ac_compile" | $SED \
 
10852
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
10853
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
10854
   -e 's:$: $lt_compiler_flag:'`
 
10855
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
10856
   (eval "$lt_compile" 2>conftest.err)
 
10857
   ac_status=$?
 
10858
   cat conftest.err >&5
 
10859
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10860
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
10861
     # The compiler can only warn and ignore the option if not recognized
 
10862
     # So say no if there are warnings other than the usual output.
 
10863
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
 
10864
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
10865
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
10866
       lt_cv_prog_compiler_pic_works=yes
 
10867
     fi
 
10868
   fi
 
10869
   $RM conftest*
 
10870
 
 
10871
fi
 
10872
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
 
10873
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
 
10874
 
 
10875
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
 
10876
    case $lt_prog_compiler_pic in
 
10877
     "" | " "*) ;;
 
10878
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
 
10879
     esac
 
10880
else
 
10881
    lt_prog_compiler_pic=
 
10882
     lt_prog_compiler_can_build_shared=no
 
10883
fi
 
10884
 
 
10885
fi
 
10886
 
 
10887
 
 
10888
 
 
10889
 
 
10890
 
 
10891
 
 
10892
 
 
10893
 
 
10894
 
 
10895
 
 
10896
 
 
10897
#
 
10898
# Check to make sure the static flag actually works.
 
10899
#
 
10900
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
 
10901
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
10902
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
10903
if ${lt_cv_prog_compiler_static_works+:} false; then :
 
10904
  $as_echo_n "(cached) " >&6
 
10905
else
 
10906
  lt_cv_prog_compiler_static_works=no
 
10907
   save_LDFLAGS="$LDFLAGS"
 
10908
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
10909
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
10910
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
10911
     # The linker can only warn and ignore the option if not recognized
 
10912
     # So say no if there are warnings
 
10913
     if test -s conftest.err; then
 
10914
       # Append any errors to the config.log.
 
10915
       cat conftest.err 1>&5
 
10916
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
10917
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
10918
       if diff conftest.exp conftest.er2 >/dev/null; then
 
10919
         lt_cv_prog_compiler_static_works=yes
 
10920
       fi
 
10921
     else
 
10922
       lt_cv_prog_compiler_static_works=yes
 
10923
     fi
 
10924
   fi
 
10925
   $RM -r conftest*
 
10926
   LDFLAGS="$save_LDFLAGS"
 
10927
 
 
10928
fi
 
10929
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
 
10930
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
 
10931
 
 
10932
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
 
10933
    :
 
10934
else
 
10935
    lt_prog_compiler_static=
 
10936
fi
 
10937
 
 
10938
 
 
10939
 
 
10940
 
 
10941
 
 
10942
 
 
10943
 
 
10944
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
10945
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
10946
if ${lt_cv_prog_compiler_c_o+:} false; then :
 
10947
  $as_echo_n "(cached) " >&6
 
10948
else
 
10949
  lt_cv_prog_compiler_c_o=no
 
10950
   $RM -r conftest 2>/dev/null
 
10951
   mkdir conftest
 
10952
   cd conftest
 
10953
   mkdir out
 
10954
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
10955
 
 
10956
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
10957
   # Insert the option either (1) after the last *FLAGS variable, or
 
10958
   # (2) before a word containing "conftest.", or (3) at the end.
 
10959
   # Note that $ac_compile itself does not contain backslashes and begins
 
10960
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
10961
   lt_compile=`echo "$ac_compile" | $SED \
 
10962
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
10963
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
10964
   -e 's:$: $lt_compiler_flag:'`
 
10965
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
10966
   (eval "$lt_compile" 2>out/conftest.err)
 
10967
   ac_status=$?
 
10968
   cat out/conftest.err >&5
 
10969
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10970
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
10971
   then
 
10972
     # The compiler can only warn and ignore the option if not recognized
 
10973
     # So say no if there are warnings
 
10974
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 
10975
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
10976
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
10977
       lt_cv_prog_compiler_c_o=yes
 
10978
     fi
 
10979
   fi
 
10980
   chmod u+w . 2>&5
 
10981
   $RM conftest*
 
10982
   # SGI C++ compiler will create directory out/ii_files/ for
 
10983
   # template instantiation
 
10984
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
10985
   $RM out/* && rmdir out
 
10986
   cd ..
 
10987
   $RM -r conftest
 
10988
   $RM conftest*
 
10989
 
 
10990
fi
 
10991
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
10992
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
10993
 
 
10994
 
 
10995
 
 
10996
 
 
10997
 
 
10998
 
 
10999
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
11000
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
11001
if ${lt_cv_prog_compiler_c_o+:} false; then :
 
11002
  $as_echo_n "(cached) " >&6
 
11003
else
 
11004
  lt_cv_prog_compiler_c_o=no
 
11005
   $RM -r conftest 2>/dev/null
 
11006
   mkdir conftest
 
11007
   cd conftest
 
11008
   mkdir out
 
11009
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
11010
 
 
11011
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
11012
   # Insert the option either (1) after the last *FLAGS variable, or
 
11013
   # (2) before a word containing "conftest.", or (3) at the end.
 
11014
   # Note that $ac_compile itself does not contain backslashes and begins
 
11015
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
11016
   lt_compile=`echo "$ac_compile" | $SED \
 
11017
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
11018
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
11019
   -e 's:$: $lt_compiler_flag:'`
 
11020
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
11021
   (eval "$lt_compile" 2>out/conftest.err)
 
11022
   ac_status=$?
 
11023
   cat out/conftest.err >&5
 
11024
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11025
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
11026
   then
 
11027
     # The compiler can only warn and ignore the option if not recognized
 
11028
     # So say no if there are warnings
 
11029
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 
11030
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
11031
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
11032
       lt_cv_prog_compiler_c_o=yes
 
11033
     fi
 
11034
   fi
 
11035
   chmod u+w . 2>&5
 
11036
   $RM conftest*
 
11037
   # SGI C++ compiler will create directory out/ii_files/ for
 
11038
   # template instantiation
 
11039
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
11040
   $RM out/* && rmdir out
 
11041
   cd ..
 
11042
   $RM -r conftest
 
11043
   $RM conftest*
 
11044
 
 
11045
fi
 
11046
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
11047
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
11048
 
 
11049
 
 
11050
 
 
11051
 
 
11052
hard_links="nottested"
 
11053
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
 
11054
  # do not overwrite the value of need_locks provided by the user
 
11055
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
 
11056
$as_echo_n "checking if we can lock with hard links... " >&6; }
 
11057
  hard_links=yes
 
11058
  $RM conftest*
 
11059
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
11060
  touch conftest.a
 
11061
  ln conftest.a conftest.b 2>&5 || hard_links=no
 
11062
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
11063
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
 
11064
$as_echo "$hard_links" >&6; }
 
11065
  if test "$hard_links" = no; then
 
11066
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
11067
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
11068
    need_locks=warn
 
11069
  fi
 
11070
else
 
11071
  need_locks=no
 
11072
fi
 
11073
 
 
11074
 
 
11075
 
 
11076
 
 
11077
 
 
11078
 
 
11079
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
11080
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 
11081
 
 
11082
  runpath_var=
 
11083
  allow_undefined_flag=
 
11084
  always_export_symbols=no
 
11085
  archive_cmds=
 
11086
  archive_expsym_cmds=
 
11087
  compiler_needs_object=no
 
11088
  enable_shared_with_static_runtimes=no
 
11089
  export_dynamic_flag_spec=
 
11090
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
11091
  hardcode_automatic=no
 
11092
  hardcode_direct=no
 
11093
  hardcode_direct_absolute=no
 
11094
  hardcode_libdir_flag_spec=
 
11095
  hardcode_libdir_flag_spec_ld=
 
11096
  hardcode_libdir_separator=
 
11097
  hardcode_minus_L=no
 
11098
  hardcode_shlibpath_var=unsupported
 
11099
  inherit_rpath=no
 
11100
  link_all_deplibs=unknown
 
11101
  module_cmds=
 
11102
  module_expsym_cmds=
 
11103
  old_archive_from_new_cmds=
 
11104
  old_archive_from_expsyms_cmds=
 
11105
  thread_safe_flag_spec=
 
11106
  whole_archive_flag_spec=
 
11107
  # include_expsyms should be a list of space-separated symbols to be *always*
 
11108
  # included in the symbol list
 
11109
  include_expsyms=
 
11110
  # exclude_expsyms can be an extended regexp of symbols to exclude
 
11111
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
 
11112
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
 
11113
  # as well as any symbol that contains `d'.
 
11114
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
 
11115
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 
11116
  # platforms (ab)use it in PIC code, but their linkers get confused if
 
11117
  # the symbol is explicitly referenced.  Since portable code cannot
 
11118
  # rely on this symbol name, it's probably fine to never include it in
 
11119
  # preloaded symbol tables.
 
11120
  # Exclude shared library initialization/finalization symbols.
 
11121
  extract_expsyms_cmds=
 
11122
 
 
11123
  case $host_os in
 
11124
  cygwin* | mingw* | pw32* | cegcc*)
 
11125
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
 
11126
    # When not using gcc, we currently assume that we are using
 
11127
    # Microsoft Visual C++.
 
11128
    if test "$GCC" != yes; then
 
11129
      with_gnu_ld=no
 
11130
    fi
 
11131
    ;;
 
11132
  interix*)
 
11133
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
11134
    with_gnu_ld=yes
 
11135
    ;;
 
11136
  openbsd*)
 
11137
    with_gnu_ld=no
 
11138
    ;;
 
11139
  linux* | k*bsd*-gnu | gnu*)
 
11140
    link_all_deplibs=no
 
11141
    ;;
 
11142
  esac
 
11143
 
 
11144
  ld_shlibs=yes
 
11145
 
 
11146
  # On some targets, GNU ld is compatible enough with the native linker
 
11147
  # that we're better off using the native interface for both.
 
11148
  lt_use_gnu_ld_interface=no
 
11149
  if test "$with_gnu_ld" = yes; then
 
11150
    case $host_os in
 
11151
      aix*)
 
11152
        # The AIX port of GNU ld has always aspired to compatibility
 
11153
        # with the native linker.  However, as the warning in the GNU ld
 
11154
        # block says, versions before 2.19.5* couldn't really create working
 
11155
        # shared libraries, regardless of the interface used.
 
11156
        case `$LD -v 2>&1` in
 
11157
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
 
11158
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
 
11159
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
 
11160
          *)
 
11161
            lt_use_gnu_ld_interface=yes
 
11162
            ;;
 
11163
        esac
 
11164
        ;;
 
11165
      *)
 
11166
        lt_use_gnu_ld_interface=yes
 
11167
        ;;
 
11168
    esac
 
11169
  fi
 
11170
 
 
11171
  if test "$lt_use_gnu_ld_interface" = yes; then
 
11172
    # If archive_cmds runs LD, not CC, wlarc should be empty
 
11173
    wlarc='${wl}'
 
11174
 
 
11175
    # Set some defaults for GNU ld with shared library support. These
 
11176
    # are reset later if shared libraries are not supported. Putting them
 
11177
    # here allows them to be overridden if necessary.
 
11178
    runpath_var=LD_RUN_PATH
 
11179
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
11180
    export_dynamic_flag_spec='${wl}--export-dynamic'
 
11181
    # ancient GNU ld didn't support --whole-archive et. al.
 
11182
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 
11183
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
11184
    else
 
11185
      whole_archive_flag_spec=
 
11186
    fi
 
11187
    supports_anon_versioning=no
 
11188
    case `$LD -v 2>&1` in
 
11189
      *GNU\ gold*) supports_anon_versioning=yes ;;
 
11190
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 
11191
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
11192
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
11193
      *\ 2.11.*) ;; # other 2.11 versions
 
11194
      *) supports_anon_versioning=yes ;;
 
11195
    esac
 
11196
 
 
11197
    # See if GNU ld supports shared libraries.
 
11198
    case $host_os in
 
11199
    aix[3-9]*)
 
11200
      # On AIX/PPC, the GNU linker is very broken
 
11201
      if test "$host_cpu" != ia64; then
 
11202
        ld_shlibs=no
 
11203
        cat <<_LT_EOF 1>&2
 
11204
 
 
11205
*** Warning: the GNU linker, at least up to release 2.19, is reported
 
11206
*** to be unable to reliably create shared libraries on AIX.
 
11207
*** Therefore, libtool is disabling shared libraries support.  If you
 
11208
*** really care for shared libraries, you may want to install binutils
 
11209
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
 
11210
*** You will then need to restart the configuration process.
 
11211
 
 
11212
_LT_EOF
 
11213
      fi
 
11214
      ;;
 
11215
 
 
11216
    amigaos*)
 
11217
      case $host_cpu in
 
11218
      powerpc)
 
11219
            # see comment about AmigaOS4 .so support
 
11220
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11221
            archive_expsym_cmds=''
 
11222
        ;;
 
11223
      m68k)
 
11224
            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)'
 
11225
            hardcode_libdir_flag_spec='-L$libdir'
 
11226
            hardcode_minus_L=yes
 
11227
        ;;
 
11228
      esac
 
11229
      ;;
 
11230
 
 
11231
    beos*)
 
11232
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
11233
        allow_undefined_flag=unsupported
 
11234
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
11235
        # support --undefined.  This deserves some investigation.  FIXME
 
11236
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11237
      else
 
11238
        ld_shlibs=no
 
11239
      fi
 
11240
      ;;
 
11241
 
 
11242
    cygwin* | mingw* | pw32* | cegcc*)
 
11243
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 
11244
      # as there is no search path for DLLs.
 
11245
      hardcode_libdir_flag_spec='-L$libdir'
 
11246
      export_dynamic_flag_spec='${wl}--export-all-symbols'
 
11247
      allow_undefined_flag=unsupported
 
11248
      always_export_symbols=no
 
11249
      enable_shared_with_static_runtimes=yes
 
11250
      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'
 
11251
      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
 
11252
 
 
11253
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 
11254
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
11255
        # If the export-symbols file already is a .def file (1st line
 
11256
        # is EXPORTS), use it as is; otherwise, prepend...
 
11257
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
11258
          cp $export_symbols $output_objdir/$soname.def;
 
11259
        else
 
11260
          echo EXPORTS > $output_objdir/$soname.def;
 
11261
          cat $export_symbols >> $output_objdir/$soname.def;
 
11262
        fi~
 
11263
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
11264
      else
 
11265
        ld_shlibs=no
 
11266
      fi
 
11267
      ;;
 
11268
 
 
11269
    haiku*)
 
11270
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11271
      link_all_deplibs=yes
 
11272
      ;;
 
11273
 
 
11274
    interix[3-9]*)
 
11275
      hardcode_direct=no
 
11276
      hardcode_shlibpath_var=no
 
11277
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
11278
      export_dynamic_flag_spec='${wl}-E'
 
11279
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
11280
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
11281
      # default) and relocated if they conflict, which is a slow very memory
 
11282
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
11283
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
11284
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
11285
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
11286
      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'
 
11287
      ;;
 
11288
 
 
11289
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
 
11290
      tmp_diet=no
 
11291
      if test "$host_os" = linux-dietlibc; then
 
11292
        case $cc_basename in
 
11293
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
 
11294
        esac
 
11295
      fi
 
11296
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 
11297
         && test "$tmp_diet" = no
 
11298
      then
 
11299
        tmp_addflag=' $pic_flag'
 
11300
        tmp_sharedflag='-shared'
 
11301
        case $cc_basename,$host_cpu in
 
11302
        pgcc*)                          # Portland Group C compiler
 
11303
          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'
 
11304
          tmp_addflag=' $pic_flag'
 
11305
          ;;
 
11306
        pgf77* | pgf90* | pgf95* | pgfortran*)
 
11307
                                        # Portland Group f77 and f90 compilers
 
11308
          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'
 
11309
          tmp_addflag=' $pic_flag -Mnomain' ;;
 
11310
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
 
11311
          tmp_addflag=' -i_dynamic' ;;
 
11312
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
 
11313
          tmp_addflag=' -i_dynamic -nofor_main' ;;
 
11314
        ifc* | ifort*)                  # Intel Fortran compiler
 
11315
          tmp_addflag=' -nofor_main' ;;
 
11316
        lf95*)                          # Lahey Fortran 8.1
 
11317
          whole_archive_flag_spec=
 
11318
          tmp_sharedflag='--shared' ;;
 
11319
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
 
11320
          tmp_sharedflag='-qmkshrobj'
 
11321
          tmp_addflag= ;;
 
11322
        nvcc*)  # Cuda Compiler Driver 2.2
 
11323
          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'
 
11324
          compiler_needs_object=yes
 
11325
          ;;
 
11326
        esac
 
11327
        case `$CC -V 2>&1 | sed 5q` in
 
11328
        *Sun\ C*)                       # Sun C 5.9
 
11329
          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'
 
11330
          compiler_needs_object=yes
 
11331
          tmp_sharedflag='-G' ;;
 
11332
        *Sun\ F*)                       # Sun Fortran 8.3
 
11333
          tmp_sharedflag='-G' ;;
 
11334
        esac
 
11335
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11336
 
 
11337
        if test "x$supports_anon_versioning" = xyes; then
 
11338
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
11339
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
11340
            echo "local: *; };" >> $output_objdir/$libname.ver~
 
11341
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
11342
        fi
 
11343
 
 
11344
        case $cc_basename in
 
11345
        xlf* | bgf* | bgxlf* | mpixlf*)
 
11346
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 
11347
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
 
11348
          hardcode_libdir_flag_spec=
 
11349
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
11350
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
 
11351
          if test "x$supports_anon_versioning" = xyes; then
 
11352
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
11353
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
11354
              echo "local: *; };" >> $output_objdir/$libname.ver~
 
11355
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
11356
          fi
 
11357
          ;;
 
11358
        esac
 
11359
      else
 
11360
        ld_shlibs=no
 
11361
      fi
 
11362
      ;;
 
11363
 
 
11364
    netbsd* | netbsdelf*-gnu)
 
11365
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
11366
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 
11367
        wlarc=
 
11368
      else
 
11369
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11370
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
11371
      fi
 
11372
      ;;
 
11373
 
 
11374
    solaris*)
 
11375
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
 
11376
        ld_shlibs=no
 
11377
        cat <<_LT_EOF 1>&2
 
11378
 
 
11379
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
 
11380
*** create shared libraries on Solaris systems.  Therefore, libtool
 
11381
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
11382
*** binutils to release 2.9.1 or newer.  Another option is to modify
 
11383
*** your PATH or compiler configuration so that the native linker is
 
11384
*** used, and then restart.
 
11385
 
 
11386
_LT_EOF
 
11387
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
11388
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11389
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
11390
      else
 
11391
        ld_shlibs=no
 
11392
      fi
 
11393
      ;;
 
11394
 
 
11395
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
11396
      case `$LD -v 2>&1` in
 
11397
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
11398
        ld_shlibs=no
 
11399
        cat <<_LT_EOF 1>&2
 
11400
 
 
11401
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
11402
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
11403
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
11404
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
11405
*** your PATH or compiler configuration so that the native linker is
 
11406
*** used, and then restart.
 
11407
 
 
11408
_LT_EOF
 
11409
        ;;
 
11410
        *)
 
11411
          # For security reasons, it is highly recommended that you always
 
11412
          # use absolute paths for naming shared libraries, and exclude the
 
11413
          # DT_RUNPATH tag from executables and libraries.  But doing so
 
11414
          # requires that you compile everything twice, which is a pain.
 
11415
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
11416
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
11417
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11418
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
11419
          else
 
11420
            ld_shlibs=no
 
11421
          fi
 
11422
        ;;
 
11423
      esac
 
11424
      ;;
 
11425
 
 
11426
    sunos4*)
 
11427
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
11428
      wlarc=
 
11429
      hardcode_direct=yes
 
11430
      hardcode_shlibpath_var=no
 
11431
      ;;
 
11432
 
 
11433
    *)
 
11434
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
11435
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11436
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
11437
      else
 
11438
        ld_shlibs=no
 
11439
      fi
 
11440
      ;;
 
11441
    esac
 
11442
 
 
11443
    if test "$ld_shlibs" = no; then
 
11444
      runpath_var=
 
11445
      hardcode_libdir_flag_spec=
 
11446
      export_dynamic_flag_spec=
 
11447
      whole_archive_flag_spec=
 
11448
    fi
 
11449
  else
 
11450
    # PORTME fill in a description of your system's linker (not GNU ld)
 
11451
    case $host_os in
 
11452
    aix3*)
 
11453
      allow_undefined_flag=unsupported
 
11454
      always_export_symbols=yes
 
11455
      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'
 
11456
      # Note: this linker hardcodes the directories in LIBPATH if there
 
11457
      # are no directories specified by -L.
 
11458
      hardcode_minus_L=yes
 
11459
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
 
11460
        # Neither direct hardcoding nor static linking is supported with a
 
11461
        # broken collect2.
 
11462
        hardcode_direct=unsupported
 
11463
      fi
 
11464
      ;;
 
11465
 
 
11466
    aix[4-9]*)
 
11467
      if test "$host_cpu" = ia64; then
 
11468
        # On IA64, the linker does run time linking by default, so we don't
 
11469
        # have to do anything special.
 
11470
        aix_use_runtimelinking=no
 
11471
        exp_sym_flag='-Bexport'
 
11472
        no_entry_flag=""
 
11473
      else
 
11474
        # If we're using GNU nm, then we don't want the "-C" option.
 
11475
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
11476
        # Also, AIX nm treats weak defined symbols like other global
 
11477
        # defined symbols, whereas GNU nm marks them as "W".
 
11478
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
11479
          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'
 
11480
        else
 
11481
          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'
 
11482
        fi
 
11483
        aix_use_runtimelinking=no
 
11484
 
 
11485
        # Test if we are trying to use run time linking or normal
 
11486
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 
11487
        # need to do runtime linking.
 
11488
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
 
11489
          for ld_flag in $LDFLAGS; do
 
11490
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
11491
            aix_use_runtimelinking=yes
 
11492
            break
 
11493
          fi
 
11494
          done
 
11495
          ;;
 
11496
        esac
 
11497
 
 
11498
        exp_sym_flag='-bexport'
 
11499
        no_entry_flag='-bnoentry'
 
11500
      fi
 
11501
 
 
11502
      # When large executables or shared objects are built, AIX ld can
 
11503
      # have problems creating the table of contents.  If linking a library
 
11504
      # or program results in "error TOC overflow" add -mminimal-toc to
 
11505
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 
11506
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
11507
 
 
11508
      archive_cmds=''
 
11509
      hardcode_direct=yes
 
11510
      hardcode_direct_absolute=yes
 
11511
      hardcode_libdir_separator=':'
 
11512
      link_all_deplibs=yes
 
11513
      file_list_spec='${wl}-f,'
 
11514
 
 
11515
      if test "$GCC" = yes; then
 
11516
        case $host_os in aix4.[012]|aix4.[012].*)
 
11517
        # We only want to do this on AIX 4.2 and lower, the check
 
11518
        # below for broken collect2 doesn't work under 4.3+
 
11519
          collect2name=`${CC} -print-prog-name=collect2`
 
11520
          if test -f "$collect2name" &&
 
11521
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
 
11522
          then
 
11523
          # We have reworked collect2
 
11524
          :
 
11525
          else
 
11526
          # We have old collect2
 
11527
          hardcode_direct=unsupported
 
11528
          # It fails to find uninstalled libraries when the uninstalled
 
11529
          # path is not listed in the libpath.  Setting hardcode_minus_L
 
11530
          # to unsupported forces relinking
 
11531
          hardcode_minus_L=yes
 
11532
          hardcode_libdir_flag_spec='-L$libdir'
 
11533
          hardcode_libdir_separator=
 
11534
          fi
 
11535
          ;;
 
11536
        esac
 
11537
        shared_flag='-shared'
 
11538
        if test "$aix_use_runtimelinking" = yes; then
 
11539
          shared_flag="$shared_flag "'${wl}-G'
 
11540
        fi
 
11541
        link_all_deplibs=no
 
11542
      else
 
11543
        # not using gcc
 
11544
        if test "$host_cpu" = ia64; then
 
11545
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
11546
        # chokes on -Wl,-G. The following line is correct:
 
11547
          shared_flag='-G'
 
11548
        else
 
11549
          if test "$aix_use_runtimelinking" = yes; then
 
11550
            shared_flag='${wl}-G'
 
11551
          else
 
11552
            shared_flag='${wl}-bM:SRE'
 
11553
          fi
 
11554
        fi
 
11555
      fi
 
11556
 
 
11557
      export_dynamic_flag_spec='${wl}-bexpall'
 
11558
      # It seems that -bexpall does not export symbols beginning with
 
11559
      # underscore (_), so it is better to generate a list of symbols to export.
 
11560
      always_export_symbols=yes
 
11561
      if test "$aix_use_runtimelinking" = yes; then
 
11562
        # Warning - without using the other runtime loading flags (-brtl),
 
11563
        # -berok will link without error, but may produce a broken library.
 
11564
        allow_undefined_flag='-berok'
 
11565
        # Determine the default libpath from the value encoded in an
 
11566
        # empty executable.
 
11567
        if test "${lt_cv_aix_libpath+set}" = set; then
 
11568
  aix_libpath=$lt_cv_aix_libpath
 
11569
else
 
11570
  if ${lt_cv_aix_libpath_+:} false; then :
 
11571
  $as_echo_n "(cached) " >&6
 
11572
else
 
11573
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11574
/* end confdefs.h.  */
 
11575
 
 
11576
int
 
11577
main ()
 
11578
{
 
11579
 
 
11580
  ;
 
11581
  return 0;
 
11582
}
 
11583
_ACEOF
 
11584
if ac_fn_c_try_link "$LINENO"; then :
 
11585
 
 
11586
  lt_aix_libpath_sed='
 
11587
      /Import File Strings/,/^$/ {
 
11588
          /^0/ {
 
11589
              s/^0  *\([^ ]*\) *$/\1/
 
11590
              p
 
11591
          }
 
11592
      }'
 
11593
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
11594
  # Check for a 64-bit object if we didn't find anything.
 
11595
  if test -z "$lt_cv_aix_libpath_"; then
 
11596
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
11597
  fi
 
11598
fi
 
11599
rm -f core conftest.err conftest.$ac_objext \
 
11600
    conftest$ac_exeext conftest.$ac_ext
 
11601
  if test -z "$lt_cv_aix_libpath_"; then
 
11602
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
11603
  fi
 
11604
 
 
11605
fi
 
11606
 
 
11607
  aix_libpath=$lt_cv_aix_libpath_
 
11608
fi
 
11609
 
 
11610
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
11611
        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"
 
11612
      else
 
11613
        if test "$host_cpu" = ia64; then
 
11614
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
 
11615
          allow_undefined_flag="-z nodefs"
 
11616
          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"
 
11617
        else
 
11618
         # Determine the default libpath from the value encoded in an
 
11619
         # empty executable.
 
11620
         if test "${lt_cv_aix_libpath+set}" = set; then
 
11621
  aix_libpath=$lt_cv_aix_libpath
 
11622
else
 
11623
  if ${lt_cv_aix_libpath_+:} false; then :
 
11624
  $as_echo_n "(cached) " >&6
 
11625
else
 
11626
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11627
/* end confdefs.h.  */
 
11628
 
 
11629
int
 
11630
main ()
 
11631
{
 
11632
 
 
11633
  ;
 
11634
  return 0;
 
11635
}
 
11636
_ACEOF
 
11637
if ac_fn_c_try_link "$LINENO"; then :
 
11638
 
 
11639
  lt_aix_libpath_sed='
 
11640
      /Import File Strings/,/^$/ {
 
11641
          /^0/ {
 
11642
              s/^0  *\([^ ]*\) *$/\1/
 
11643
              p
 
11644
          }
 
11645
      }'
 
11646
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
11647
  # Check for a 64-bit object if we didn't find anything.
 
11648
  if test -z "$lt_cv_aix_libpath_"; then
 
11649
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
11650
  fi
 
11651
fi
 
11652
rm -f core conftest.err conftest.$ac_objext \
 
11653
    conftest$ac_exeext conftest.$ac_ext
 
11654
  if test -z "$lt_cv_aix_libpath_"; then
 
11655
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
11656
  fi
 
11657
 
 
11658
fi
 
11659
 
 
11660
  aix_libpath=$lt_cv_aix_libpath_
 
11661
fi
 
11662
 
 
11663
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
11664
          # Warning - without using the other run time loading flags,
 
11665
          # -berok will link without error, but may produce a broken library.
 
11666
          no_undefined_flag=' ${wl}-bernotok'
 
11667
          allow_undefined_flag=' ${wl}-berok'
 
11668
          if test "$with_gnu_ld" = yes; then
 
11669
            # We only use this code for GNU lds that support --whole-archive.
 
11670
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
11671
          else
 
11672
            # Exported symbols can be pulled into shared objects from archives
 
11673
            whole_archive_flag_spec='$convenience'
 
11674
          fi
 
11675
          archive_cmds_need_lc=yes
 
11676
          # This is similar to how AIX traditionally builds its shared libraries.
 
11677
          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'
 
11678
        fi
 
11679
      fi
 
11680
      ;;
 
11681
 
 
11682
    amigaos*)
 
11683
      case $host_cpu in
 
11684
      powerpc)
 
11685
            # see comment about AmigaOS4 .so support
 
11686
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
11687
            archive_expsym_cmds=''
 
11688
        ;;
 
11689
      m68k)
 
11690
            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)'
 
11691
            hardcode_libdir_flag_spec='-L$libdir'
 
11692
            hardcode_minus_L=yes
 
11693
        ;;
 
11694
      esac
 
11695
      ;;
 
11696
 
 
11697
    bsdi[45]*)
 
11698
      export_dynamic_flag_spec=-rdynamic
 
11699
      ;;
 
11700
 
 
11701
    cygwin* | mingw* | pw32* | cegcc*)
 
11702
      # When not using gcc, we currently assume that we are using
 
11703
      # Microsoft Visual C++.
 
11704
      # hardcode_libdir_flag_spec is actually meaningless, as there is
 
11705
      # no search path for DLLs.
 
11706
      case $cc_basename in
 
11707
      cl*)
 
11708
        # Native MSVC
 
11709
        hardcode_libdir_flag_spec=' '
 
11710
        allow_undefined_flag=unsupported
 
11711
        always_export_symbols=yes
 
11712
        file_list_spec='@'
 
11713
        # Tell ltmain to make .lib files, not .a files.
 
11714
        libext=lib
 
11715
        # Tell ltmain to make .dll files, not .so files.
 
11716
        shrext_cmds=".dll"
 
11717
        # FIXME: Setting linknames here is a bad hack.
 
11718
        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 
11719
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
11720
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 
11721
          else
 
11722
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 
11723
          fi~
 
11724
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
11725
          linknames='
 
11726
        # The linker will not automatically build a static lib if we build a DLL.
 
11727
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
 
11728
        enable_shared_with_static_runtimes=yes
 
11729
        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
11730
        # Don't use ranlib
 
11731
        old_postinstall_cmds='chmod 644 $oldlib'
 
11732
        postlink_cmds='lt_outputfile="@OUTPUT@"~
 
11733
          lt_tool_outputfile="@TOOL_OUTPUT@"~
 
11734
          case $lt_outputfile in
 
11735
            *.exe|*.EXE) ;;
 
11736
            *)
 
11737
              lt_outputfile="$lt_outputfile.exe"
 
11738
              lt_tool_outputfile="$lt_tool_outputfile.exe"
 
11739
              ;;
 
11740
          esac~
 
11741
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 
11742
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
11743
            $RM "$lt_outputfile.manifest";
 
11744
          fi'
 
11745
        ;;
 
11746
      *)
 
11747
        # Assume MSVC wrapper
 
11748
        hardcode_libdir_flag_spec=' '
 
11749
        allow_undefined_flag=unsupported
 
11750
        # Tell ltmain to make .lib files, not .a files.
 
11751
        libext=lib
 
11752
        # Tell ltmain to make .dll files, not .so files.
 
11753
        shrext_cmds=".dll"
 
11754
        # FIXME: Setting linknames here is a bad hack.
 
11755
        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
 
11756
        # The linker will automatically build a .lib file if we build a DLL.
 
11757
        old_archive_from_new_cmds='true'
 
11758
        # FIXME: Should let the user specify the lib program.
 
11759
        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
11760
        enable_shared_with_static_runtimes=yes
 
11761
        ;;
 
11762
      esac
 
11763
      ;;
 
11764
 
 
11765
    darwin* | rhapsody*)
 
11766
 
 
11767
 
 
11768
  archive_cmds_need_lc=no
 
11769
  hardcode_direct=no
 
11770
  hardcode_automatic=yes
 
11771
  hardcode_shlibpath_var=unsupported
 
11772
  if test "$lt_cv_ld_force_load" = "yes"; then
 
11773
    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\"`'
 
11774
  else
 
11775
    whole_archive_flag_spec=''
 
11776
  fi
 
11777
  link_all_deplibs=yes
 
11778
  allow_undefined_flag="$_lt_dar_allow_undefined"
 
11779
  case $cc_basename in
 
11780
     ifort*) _lt_dar_can_shared=yes ;;
 
11781
     *) _lt_dar_can_shared=$GCC ;;
 
11782
  esac
 
11783
  if test "$_lt_dar_can_shared" = "yes"; then
 
11784
    output_verbose_link_cmd=func_echo_all
 
11785
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
11786
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
11787
    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}"
 
11788
    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}"
 
11789
 
 
11790
  else
 
11791
  ld_shlibs=no
 
11792
  fi
 
11793
 
 
11794
      ;;
 
11795
 
 
11796
    dgux*)
 
11797
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
11798
      hardcode_libdir_flag_spec='-L$libdir'
 
11799
      hardcode_shlibpath_var=no
 
11800
      ;;
 
11801
 
 
11802
    freebsd1*)
 
11803
      ld_shlibs=no
 
11804
      ;;
 
11805
 
 
11806
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
 
11807
    # support.  Future versions do this automatically, but an explicit c++rt0.o
 
11808
    # does not break anything, and helps significantly (at the cost of a little
 
11809
    # extra space).
 
11810
    freebsd2.2*)
 
11811
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
 
11812
      hardcode_libdir_flag_spec='-R$libdir'
 
11813
      hardcode_direct=yes
 
11814
      hardcode_shlibpath_var=no
 
11815
      ;;
 
11816
 
 
11817
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
 
11818
    freebsd2*)
 
11819
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
11820
      hardcode_direct=yes
 
11821
      hardcode_minus_L=yes
 
11822
      hardcode_shlibpath_var=no
 
11823
      ;;
 
11824
 
 
11825
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
 
11826
    freebsd* | dragonfly*)
 
11827
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
11828
      hardcode_libdir_flag_spec='-R$libdir'
 
11829
      hardcode_direct=yes
 
11830
      hardcode_shlibpath_var=no
 
11831
      ;;
 
11832
 
 
11833
    hpux9*)
 
11834
      if test "$GCC" = yes; then
 
11835
        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'
 
11836
      else
 
11837
        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'
 
11838
      fi
 
11839
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
11840
      hardcode_libdir_separator=:
 
11841
      hardcode_direct=yes
 
11842
 
 
11843
      # hardcode_minus_L: Not really in the search PATH,
 
11844
      # but as the default location of the library.
 
11845
      hardcode_minus_L=yes
 
11846
      export_dynamic_flag_spec='${wl}-E'
 
11847
      ;;
 
11848
 
 
11849
    hpux10*)
 
11850
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 
11851
        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
11852
      else
 
11853
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
11854
      fi
 
11855
      if test "$with_gnu_ld" = no; then
 
11856
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
11857
        hardcode_libdir_flag_spec_ld='+b $libdir'
 
11858
        hardcode_libdir_separator=:
 
11859
        hardcode_direct=yes
 
11860
        hardcode_direct_absolute=yes
 
11861
        export_dynamic_flag_spec='${wl}-E'
 
11862
        # hardcode_minus_L: Not really in the search PATH,
 
11863
        # but as the default location of the library.
 
11864
        hardcode_minus_L=yes
 
11865
      fi
 
11866
      ;;
 
11867
 
 
11868
    hpux11*)
 
11869
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 
11870
        case $host_cpu in
 
11871
        hppa*64*)
 
11872
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11873
          ;;
 
11874
        ia64*)
 
11875
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
11876
          ;;
 
11877
        *)
 
11878
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
11879
          ;;
 
11880
        esac
 
11881
      else
 
11882
        case $host_cpu in
 
11883
        hppa*64*)
 
11884
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
11885
          ;;
 
11886
        ia64*)
 
11887
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
11888
          ;;
 
11889
        *)
 
11890
 
 
11891
          # Older versions of the 11.00 compiler do not understand -b yet
 
11892
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
 
11893
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
 
11894
$as_echo_n "checking if $CC understands -b... " >&6; }
 
11895
if ${lt_cv_prog_compiler__b+:} false; then :
 
11896
  $as_echo_n "(cached) " >&6
 
11897
else
 
11898
  lt_cv_prog_compiler__b=no
 
11899
   save_LDFLAGS="$LDFLAGS"
 
11900
   LDFLAGS="$LDFLAGS -b"
 
11901
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
11902
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
11903
     # The linker can only warn and ignore the option if not recognized
 
11904
     # So say no if there are warnings
 
11905
     if test -s conftest.err; then
 
11906
       # Append any errors to the config.log.
 
11907
       cat conftest.err 1>&5
 
11908
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
11909
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
11910
       if diff conftest.exp conftest.er2 >/dev/null; then
 
11911
         lt_cv_prog_compiler__b=yes
 
11912
       fi
 
11913
     else
 
11914
       lt_cv_prog_compiler__b=yes
 
11915
     fi
 
11916
   fi
 
11917
   $RM -r conftest*
 
11918
   LDFLAGS="$save_LDFLAGS"
 
11919
 
 
11920
fi
 
11921
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
 
11922
$as_echo "$lt_cv_prog_compiler__b" >&6; }
 
11923
 
 
11924
if test x"$lt_cv_prog_compiler__b" = xyes; then
 
11925
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
11926
else
 
11927
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
11928
fi
 
11929
 
 
11930
          ;;
 
11931
        esac
 
11932
      fi
 
11933
      if test "$with_gnu_ld" = no; then
 
11934
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
11935
        hardcode_libdir_separator=:
 
11936
 
 
11937
        case $host_cpu in
 
11938
        hppa*64*|ia64*)
 
11939
          hardcode_direct=no
 
11940
          hardcode_shlibpath_var=no
 
11941
          ;;
 
11942
        *)
 
11943
          hardcode_direct=yes
 
11944
          hardcode_direct_absolute=yes
 
11945
          export_dynamic_flag_spec='${wl}-E'
 
11946
 
 
11947
          # hardcode_minus_L: Not really in the search PATH,
 
11948
          # but as the default location of the library.
 
11949
          hardcode_minus_L=yes
 
11950
          ;;
 
11951
        esac
 
11952
      fi
 
11953
      ;;
 
11954
 
 
11955
    irix5* | irix6* | nonstopux*)
 
11956
      if test "$GCC" = yes; then
 
11957
        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'
 
11958
        # Try to use the -exported_symbol ld option, if it does not
 
11959
        # work, assume that -exports_file does not work either and
 
11960
        # implicitly export all symbols.
 
11961
        # This should be the same for all languages, so no per-tag cache variable.
 
11962
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
 
11963
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
 
11964
if ${lt_cv_irix_exported_symbol+:} false; then :
 
11965
  $as_echo_n "(cached) " >&6
 
11966
else
 
11967
  save_LDFLAGS="$LDFLAGS"
 
11968
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
11969
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11970
/* end confdefs.h.  */
 
11971
int foo (void) { return 0; }
 
11972
_ACEOF
 
11973
if ac_fn_c_try_link "$LINENO"; then :
 
11974
  lt_cv_irix_exported_symbol=yes
 
11975
else
 
11976
  lt_cv_irix_exported_symbol=no
 
11977
fi
 
11978
rm -f core conftest.err conftest.$ac_objext \
 
11979
    conftest$ac_exeext conftest.$ac_ext
 
11980
           LDFLAGS="$save_LDFLAGS"
 
11981
fi
 
11982
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
 
11983
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
 
11984
        if test "$lt_cv_irix_exported_symbol" = yes; then
 
11985
          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'
 
11986
        fi
 
11987
      else
 
11988
        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'
 
11989
        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'
 
11990
      fi
 
11991
      archive_cmds_need_lc='no'
 
11992
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
11993
      hardcode_libdir_separator=:
 
11994
      inherit_rpath=yes
 
11995
      link_all_deplibs=yes
 
11996
      ;;
 
11997
 
 
11998
    netbsd* | netbsdelf*-gnu)
 
11999
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
12000
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 
12001
      else
 
12002
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 
12003
      fi
 
12004
      hardcode_libdir_flag_spec='-R$libdir'
 
12005
      hardcode_direct=yes
 
12006
      hardcode_shlibpath_var=no
 
12007
      ;;
 
12008
 
 
12009
    newsos6)
 
12010
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
12011
      hardcode_direct=yes
 
12012
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
12013
      hardcode_libdir_separator=:
 
12014
      hardcode_shlibpath_var=no
 
12015
      ;;
 
12016
 
 
12017
    *nto* | *qnx*)
 
12018
      ;;
 
12019
 
 
12020
    openbsd*)
 
12021
      if test -f /usr/libexec/ld.so; then
 
12022
        hardcode_direct=yes
 
12023
        hardcode_shlibpath_var=no
 
12024
        hardcode_direct_absolute=yes
 
12025
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
12026
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
12027
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
12028
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
12029
          export_dynamic_flag_spec='${wl}-E'
 
12030
        else
 
12031
          case $host_os in
 
12032
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
12033
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
12034
             hardcode_libdir_flag_spec='-R$libdir'
 
12035
             ;;
 
12036
           *)
 
12037
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
12038
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
12039
             ;;
 
12040
          esac
 
12041
        fi
 
12042
      else
 
12043
        ld_shlibs=no
 
12044
      fi
 
12045
      ;;
 
12046
 
 
12047
    os2*)
 
12048
      hardcode_libdir_flag_spec='-L$libdir'
 
12049
      hardcode_minus_L=yes
 
12050
      allow_undefined_flag=unsupported
 
12051
      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'
 
12052
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
12053
      ;;
 
12054
 
 
12055
    osf3*)
 
12056
      if test "$GCC" = yes; then
 
12057
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
12058
        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'
 
12059
      else
 
12060
        allow_undefined_flag=' -expect_unresolved \*'
 
12061
        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'
 
12062
      fi
 
12063
      archive_cmds_need_lc='no'
 
12064
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
12065
      hardcode_libdir_separator=:
 
12066
      ;;
 
12067
 
 
12068
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
 
12069
      if test "$GCC" = yes; then
 
12070
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
12071
        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'
 
12072
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
12073
      else
 
12074
        allow_undefined_flag=' -expect_unresolved \*'
 
12075
        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'
 
12076
        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~
 
12077
        $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'
 
12078
 
 
12079
        # Both c and cxx compiler support -rpath directly
 
12080
        hardcode_libdir_flag_spec='-rpath $libdir'
 
12081
      fi
 
12082
      archive_cmds_need_lc='no'
 
12083
      hardcode_libdir_separator=:
 
12084
      ;;
 
12085
 
 
12086
    solaris*)
 
12087
      no_undefined_flag=' -z defs'
 
12088
      if test "$GCC" = yes; then
 
12089
        wlarc='${wl}'
 
12090
        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12091
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
12092
          $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'
 
12093
      else
 
12094
        case `$CC -V 2>&1` in
 
12095
        *"Compilers 5.0"*)
 
12096
          wlarc=''
 
12097
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
12098
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
12099
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 
12100
          ;;
 
12101
        *)
 
12102
          wlarc='${wl}'
 
12103
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
12104
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
12105
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
12106
          ;;
 
12107
        esac
 
12108
      fi
 
12109
      hardcode_libdir_flag_spec='-R$libdir'
 
12110
      hardcode_shlibpath_var=no
 
12111
      case $host_os in
 
12112
      solaris2.[0-5] | solaris2.[0-5].*) ;;
 
12113
      *)
 
12114
        # The compiler driver will combine and reorder linker options,
 
12115
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
12116
        # but is careful enough not to reorder.
 
12117
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
12118
        if test "$GCC" = yes; then
 
12119
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
12120
        else
 
12121
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
 
12122
        fi
 
12123
        ;;
 
12124
      esac
 
12125
      link_all_deplibs=yes
 
12126
      ;;
 
12127
 
 
12128
    sunos4*)
 
12129
      if test "x$host_vendor" = xsequent; then
 
12130
        # Use $CC to link under sequent, because it throws in some extra .o
 
12131
        # files that make .init and .fini sections work.
 
12132
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
12133
      else
 
12134
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 
12135
      fi
 
12136
      hardcode_libdir_flag_spec='-L$libdir'
 
12137
      hardcode_direct=yes
 
12138
      hardcode_minus_L=yes
 
12139
      hardcode_shlibpath_var=no
 
12140
      ;;
 
12141
 
 
12142
    sysv4)
 
12143
      case $host_vendor in
 
12144
        sni)
 
12145
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
12146
          hardcode_direct=yes # is this really true???
 
12147
        ;;
 
12148
        siemens)
 
12149
          ## LD is ld it makes a PLAMLIB
 
12150
          ## CC just makes a GrossModule.
 
12151
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 
12152
          reload_cmds='$CC -r -o $output$reload_objs'
 
12153
          hardcode_direct=no
 
12154
        ;;
 
12155
        motorola)
 
12156
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
12157
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
 
12158
        ;;
 
12159
      esac
 
12160
      runpath_var='LD_RUN_PATH'
 
12161
      hardcode_shlibpath_var=no
 
12162
      ;;
 
12163
 
 
12164
    sysv4.3*)
 
12165
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
12166
      hardcode_shlibpath_var=no
 
12167
      export_dynamic_flag_spec='-Bexport'
 
12168
      ;;
 
12169
 
 
12170
    sysv4*MP*)
 
12171
      if test -d /usr/nec; then
 
12172
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
12173
        hardcode_shlibpath_var=no
 
12174
        runpath_var=LD_RUN_PATH
 
12175
        hardcode_runpath_var=yes
 
12176
        ld_shlibs=yes
 
12177
      fi
 
12178
      ;;
 
12179
 
 
12180
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
12181
      no_undefined_flag='${wl}-z,text'
 
12182
      archive_cmds_need_lc=no
 
12183
      hardcode_shlibpath_var=no
 
12184
      runpath_var='LD_RUN_PATH'
 
12185
 
 
12186
      if test "$GCC" = yes; then
 
12187
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12188
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12189
      else
 
12190
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12191
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12192
      fi
 
12193
      ;;
 
12194
 
 
12195
    sysv5* | sco3.2v5* | sco5v6*)
 
12196
      # Note: We can NOT use -z defs as we might desire, because we do not
 
12197
      # link with -lc, and that would cause any symbols used from libc to
 
12198
      # always be unresolved, which means just about no library would
 
12199
      # ever link correctly.  If we're not using GNU ld we use -z text
 
12200
      # though, which does catch some bad symbols but isn't as heavy-handed
 
12201
      # as -z defs.
 
12202
      no_undefined_flag='${wl}-z,text'
 
12203
      allow_undefined_flag='${wl}-z,nodefs'
 
12204
      archive_cmds_need_lc=no
 
12205
      hardcode_shlibpath_var=no
 
12206
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
 
12207
      hardcode_libdir_separator=':'
 
12208
      link_all_deplibs=yes
 
12209
      export_dynamic_flag_spec='${wl}-Bexport'
 
12210
      runpath_var='LD_RUN_PATH'
 
12211
 
 
12212
      if test "$GCC" = yes; then
 
12213
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12214
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12215
      else
 
12216
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12217
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12218
      fi
 
12219
      ;;
 
12220
 
 
12221
    uts4*)
 
12222
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
12223
      hardcode_libdir_flag_spec='-L$libdir'
 
12224
      hardcode_shlibpath_var=no
 
12225
      ;;
 
12226
 
 
12227
    *)
 
12228
      ld_shlibs=no
 
12229
      ;;
 
12230
    esac
 
12231
 
 
12232
    if test x$host_vendor = xsni; then
 
12233
      case $host in
 
12234
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
12235
        export_dynamic_flag_spec='${wl}-Blargedynsym'
 
12236
        ;;
 
12237
      esac
 
12238
    fi
 
12239
  fi
 
12240
 
 
12241
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
 
12242
$as_echo "$ld_shlibs" >&6; }
 
12243
test "$ld_shlibs" = no && can_build_shared=no
 
12244
 
 
12245
with_gnu_ld=$with_gnu_ld
 
12246
 
 
12247
 
 
12248
 
 
12249
 
 
12250
 
 
12251
 
 
12252
 
 
12253
 
 
12254
 
 
12255
 
 
12256
 
 
12257
 
 
12258
 
 
12259
 
 
12260
 
 
12261
#
 
12262
# Do we need to explicitly link libc?
 
12263
#
 
12264
case "x$archive_cmds_need_lc" in
 
12265
x|xyes)
 
12266
  # Assume -lc should be added
 
12267
  archive_cmds_need_lc=yes
 
12268
 
 
12269
  if test "$enable_shared" = yes && test "$GCC" = yes; then
 
12270
    case $archive_cmds in
 
12271
    *'~'*)
 
12272
      # FIXME: we may have to deal with multi-command sequences.
 
12273
      ;;
 
12274
    '$CC '*)
 
12275
      # Test whether the compiler implicitly links with -lc since on some
 
12276
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
 
12277
      # to ld, don't add -lc before -lgcc.
 
12278
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 
12279
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
12280
if ${lt_cv_archive_cmds_need_lc+:} false; then :
 
12281
  $as_echo_n "(cached) " >&6
 
12282
else
 
12283
  $RM conftest*
 
12284
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
12285
 
 
12286
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
12287
  (eval $ac_compile) 2>&5
 
12288
  ac_status=$?
 
12289
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12290
  test $ac_status = 0; } 2>conftest.err; then
 
12291
          soname=conftest
 
12292
          lib=conftest
 
12293
          libobjs=conftest.$ac_objext
 
12294
          deplibs=
 
12295
          wl=$lt_prog_compiler_wl
 
12296
          pic_flag=$lt_prog_compiler_pic
 
12297
          compiler_flags=-v
 
12298
          linker_flags=-v
 
12299
          verstring=
 
12300
          output_objdir=.
 
12301
          libname=conftest
 
12302
          lt_save_allow_undefined_flag=$allow_undefined_flag
 
12303
          allow_undefined_flag=
 
12304
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
12305
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
12306
  ac_status=$?
 
12307
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12308
  test $ac_status = 0; }
 
12309
          then
 
12310
            lt_cv_archive_cmds_need_lc=no
 
12311
          else
 
12312
            lt_cv_archive_cmds_need_lc=yes
 
12313
          fi
 
12314
          allow_undefined_flag=$lt_save_allow_undefined_flag
 
12315
        else
 
12316
          cat conftest.err 1>&5
 
12317
        fi
 
12318
        $RM conftest*
 
12319
 
 
12320
fi
 
12321
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
 
12322
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
 
12323
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
 
12324
      ;;
 
12325
    esac
 
12326
  fi
 
12327
  ;;
 
12328
esac
 
12329
 
 
12330
 
 
12331
 
 
12332
 
 
12333
 
 
12334
 
 
12335
 
 
12336
 
 
12337
 
 
12338
 
 
12339
 
 
12340
 
 
12341
 
 
12342
 
 
12343
 
 
12344
 
 
12345
 
 
12346
 
 
12347
 
 
12348
 
 
12349
 
 
12350
 
 
12351
 
 
12352
 
 
12353
 
 
12354
 
 
12355
 
 
12356
 
 
12357
 
 
12358
 
 
12359
 
 
12360
 
 
12361
 
 
12362
 
 
12363
 
 
12364
 
 
12365
 
 
12366
 
 
12367
 
 
12368
 
 
12369
 
 
12370
 
 
12371
 
 
12372
 
 
12373
 
 
12374
 
 
12375
 
 
12376
 
 
12377
 
 
12378
 
 
12379
 
 
12380
 
 
12381
 
 
12382
 
 
12383
 
 
12384
 
 
12385
 
 
12386
 
 
12387
 
 
12388
 
 
12389
 
 
12390
 
 
12391
 
 
12392
 
 
12393
 
 
12394
 
 
12395
 
 
12396
 
 
12397
 
 
12398
 
 
12399
 
 
12400
 
 
12401
 
 
12402
 
 
12403
 
 
12404
 
 
12405
 
 
12406
 
 
12407
 
 
12408
 
 
12409
 
 
12410
 
 
12411
 
 
12412
 
 
12413
 
 
12414
 
 
12415
 
 
12416
 
 
12417
 
 
12418
 
 
12419
 
 
12420
 
 
12421
 
 
12422
 
 
12423
 
 
12424
 
 
12425
 
 
12426
 
 
12427
 
 
12428
 
 
12429
 
 
12430
 
 
12431
 
 
12432
 
 
12433
 
 
12434
 
 
12435
 
 
12436
 
 
12437
 
 
12438
 
 
12439
 
 
12440
 
 
12441
 
 
12442
 
 
12443
 
 
12444
 
 
12445
 
 
12446
 
 
12447
 
 
12448
 
 
12449
 
 
12450
 
 
12451
 
 
12452
 
 
12453
 
 
12454
 
 
12455
 
 
12456
 
 
12457
 
 
12458
 
 
12459
 
 
12460
 
 
12461
 
 
12462
 
 
12463
 
 
12464
 
 
12465
 
 
12466
 
 
12467
 
 
12468
 
 
12469
 
 
12470
 
 
12471
 
 
12472
 
 
12473
 
 
12474
 
 
12475
 
 
12476
 
 
12477
 
 
12478
 
 
12479
 
 
12480
 
 
12481
 
 
12482
 
 
12483
 
 
12484
 
 
12485
 
 
12486
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
 
12487
$as_echo_n "checking dynamic linker characteristics... " >&6; }
 
12488
 
 
12489
if test "$GCC" = yes; then
 
12490
  case $host_os in
 
12491
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 
12492
    *) lt_awk_arg="/^libraries:/" ;;
 
12493
  esac
 
12494
  case $host_os in
 
12495
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
 
12496
    *) lt_sed_strip_eq="s,=/,/,g" ;;
 
12497
  esac
 
12498
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
 
12499
  case $lt_search_path_spec in
 
12500
  *\;*)
 
12501
    # if the path contains ";" then we assume it to be the separator
 
12502
    # otherwise default to the standard path separator (i.e. ":") - it is
 
12503
    # assumed that no part of a normal pathname contains ";" but that should
 
12504
    # okay in the real world where ";" in dirpaths is itself problematic.
 
12505
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
 
12506
    ;;
 
12507
  *)
 
12508
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
 
12509
    ;;
 
12510
  esac
 
12511
  # Ok, now we have the path, separated by spaces, we can step through it
 
12512
  # and add multilib dir if necessary.
 
12513
  lt_tmp_lt_search_path_spec=
 
12514
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 
12515
  for lt_sys_path in $lt_search_path_spec; do
 
12516
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 
12517
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 
12518
    else
 
12519
      test -d "$lt_sys_path" && \
 
12520
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 
12521
    fi
 
12522
  done
 
12523
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
 
12524
BEGIN {RS=" "; FS="/|\n";} {
 
12525
  lt_foo="";
 
12526
  lt_count=0;
 
12527
  for (lt_i = NF; lt_i > 0; lt_i--) {
 
12528
    if ($lt_i != "" && $lt_i != ".") {
 
12529
      if ($lt_i == "..") {
 
12530
        lt_count++;
 
12531
      } else {
 
12532
        if (lt_count == 0) {
 
12533
          lt_foo="/" $lt_i lt_foo;
 
12534
        } else {
 
12535
          lt_count--;
 
12536
        }
 
12537
      }
 
12538
    }
 
12539
  }
 
12540
  if (lt_foo != "") { lt_freq[lt_foo]++; }
 
12541
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
 
12542
}'`
 
12543
  # AWK program above erroneously prepends '/' to C:/dos/paths
 
12544
  # for these hosts.
 
12545
  case $host_os in
 
12546
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
 
12547
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
 
12548
  esac
 
12549
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
 
12550
else
 
12551
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 
12552
fi
 
12553
library_names_spec=
 
12554
libname_spec='lib$name'
 
12555
soname_spec=
 
12556
shrext_cmds=".so"
 
12557
postinstall_cmds=
 
12558
postuninstall_cmds=
 
12559
finish_cmds=
 
12560
finish_eval=
 
12561
shlibpath_var=
 
12562
shlibpath_overrides_runpath=unknown
 
12563
version_type=none
 
12564
dynamic_linker="$host_os ld.so"
 
12565
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
12566
need_lib_prefix=unknown
 
12567
hardcode_into_libs=no
 
12568
 
 
12569
# when you set need_version to no, make sure it does not cause -set_version
 
12570
# flags to be left without arguments
 
12571
need_version=unknown
 
12572
 
 
12573
case $host_os in
 
12574
aix3*)
 
12575
  version_type=linux
 
12576
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 
12577
  shlibpath_var=LIBPATH
 
12578
 
 
12579
  # AIX 3 has no versioning support, so we append a major version to the name.
 
12580
  soname_spec='${libname}${release}${shared_ext}$major'
 
12581
  ;;
 
12582
 
 
12583
aix[4-9]*)
 
12584
  version_type=linux
 
12585
  need_lib_prefix=no
 
12586
  need_version=no
 
12587
  hardcode_into_libs=yes
 
12588
  if test "$host_cpu" = ia64; then
 
12589
    # AIX 5 supports IA64
 
12590
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 
12591
    shlibpath_var=LD_LIBRARY_PATH
 
12592
  else
 
12593
    # With GCC up to 2.95.x, collect2 would create an import file
 
12594
    # for dependence libraries.  The import file would start with
 
12595
    # the line `#! .'.  This would cause the generated library to
 
12596
    # depend on `.', always an invalid library.  This was fixed in
 
12597
    # development snapshots of GCC prior to 3.0.
 
12598
    case $host_os in
 
12599
      aix4 | aix4.[01] | aix4.[01].*)
 
12600
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 
12601
           echo ' yes '
 
12602
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
 
12603
        :
 
12604
      else
 
12605
        can_build_shared=no
 
12606
      fi
 
12607
      ;;
 
12608
    esac
 
12609
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 
12610
    # soname into executable. Probably we can add versioning support to
 
12611
    # collect2, so additional links can be useful in future.
 
12612
    if test "$aix_use_runtimelinking" = yes; then
 
12613
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 
12614
      # instead of lib<name>.a to let people know that these are not
 
12615
      # typical AIX shared libraries.
 
12616
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12617
    else
 
12618
      # We preserve .a as extension for shared libraries through AIX4.2
 
12619
      # and later when we are not doing run time linking.
 
12620
      library_names_spec='${libname}${release}.a $libname.a'
 
12621
      soname_spec='${libname}${release}${shared_ext}$major'
 
12622
    fi
 
12623
    shlibpath_var=LIBPATH
 
12624
  fi
 
12625
  ;;
 
12626
 
 
12627
amigaos*)
 
12628
  case $host_cpu in
 
12629
  powerpc)
 
12630
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
12631
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
12632
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12633
    ;;
 
12634
  m68k)
 
12635
    library_names_spec='$libname.ixlibrary $libname.a'
 
12636
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
12637
    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'
 
12638
    ;;
 
12639
  esac
 
12640
  ;;
 
12641
 
 
12642
beos*)
 
12643
  library_names_spec='${libname}${shared_ext}'
 
12644
  dynamic_linker="$host_os ld.so"
 
12645
  shlibpath_var=LIBRARY_PATH
 
12646
  ;;
 
12647
 
 
12648
bsdi[45]*)
 
12649
  version_type=linux
 
12650
  need_version=no
 
12651
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12652
  soname_spec='${libname}${release}${shared_ext}$major'
 
12653
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 
12654
  shlibpath_var=LD_LIBRARY_PATH
 
12655
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 
12656
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 
12657
  # the default ld.so.conf also contains /usr/contrib/lib and
 
12658
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 
12659
  # libtool to hard-code these into programs
 
12660
  ;;
 
12661
 
 
12662
cygwin* | mingw* | pw32* | cegcc*)
 
12663
  version_type=windows
 
12664
  shrext_cmds=".dll"
 
12665
  need_version=no
 
12666
  need_lib_prefix=no
 
12667
 
 
12668
  case $GCC,$cc_basename in
 
12669
  yes,*)
 
12670
    # gcc
 
12671
    library_names_spec='$libname.dll.a'
 
12672
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
12673
    postinstall_cmds='base_file=`basename \${file}`~
 
12674
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
12675
      dldir=$destdir/`dirname \$dlpath`~
 
12676
      test -d \$dldir || mkdir -p \$dldir~
 
12677
      $install_prog $dir/$dlname \$dldir/$dlname~
 
12678
      chmod a+x \$dldir/$dlname~
 
12679
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
12680
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
12681
      fi'
 
12682
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
12683
      dlpath=$dir/\$dldll~
 
12684
       $RM \$dlpath'
 
12685
    shlibpath_overrides_runpath=yes
 
12686
 
 
12687
    case $host_os in
 
12688
    cygwin*)
 
12689
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 
12690
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
12691
 
 
12692
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
 
12693
      ;;
 
12694
    mingw* | cegcc*)
 
12695
      # MinGW DLLs use traditional 'lib' prefix
 
12696
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
12697
      ;;
 
12698
    pw32*)
 
12699
      # pw32 DLLs use 'pw' prefix rather than 'lib'
 
12700
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
12701
      ;;
 
12702
    esac
 
12703
    dynamic_linker='Win32 ld.exe'
 
12704
    ;;
 
12705
 
 
12706
  *,cl*)
 
12707
    # Native MSVC
 
12708
    libname_spec='$name'
 
12709
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
12710
    library_names_spec='${libname}.dll.lib'
 
12711
 
 
12712
    case $build_os in
 
12713
    mingw*)
 
12714
      sys_lib_search_path_spec=
 
12715
      lt_save_ifs=$IFS
 
12716
      IFS=';'
 
12717
      for lt_path in $LIB
 
12718
      do
 
12719
        IFS=$lt_save_ifs
 
12720
        # Let DOS variable expansion print the short 8.3 style file name.
 
12721
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 
12722
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 
12723
      done
 
12724
      IFS=$lt_save_ifs
 
12725
      # Convert to MSYS style.
 
12726
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 
12727
      ;;
 
12728
    cygwin*)
 
12729
      # Convert to unix form, then to dos form, then back to unix form
 
12730
      # but this time dos style (no spaces!) so that the unix form looks
 
12731
      # like /cygdrive/c/PROGRA~1:/cygdr...
 
12732
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 
12733
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 
12734
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
12735
      ;;
 
12736
    *)
 
12737
      sys_lib_search_path_spec="$LIB"
 
12738
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
12739
        # It is most probably a Windows format PATH.
 
12740
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
12741
      else
 
12742
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
12743
      fi
 
12744
      # FIXME: find the short name or the path components, as spaces are
 
12745
      # common. (e.g. "Program Files" -> "PROGRA~1")
 
12746
      ;;
 
12747
    esac
 
12748
 
 
12749
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
12750
    postinstall_cmds='base_file=`basename \${file}`~
 
12751
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
12752
      dldir=$destdir/`dirname \$dlpath`~
 
12753
      test -d \$dldir || mkdir -p \$dldir~
 
12754
      $install_prog $dir/$dlname \$dldir/$dlname'
 
12755
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
12756
      dlpath=$dir/\$dldll~
 
12757
       $RM \$dlpath'
 
12758
    shlibpath_overrides_runpath=yes
 
12759
    dynamic_linker='Win32 link.exe'
 
12760
    ;;
 
12761
 
 
12762
  *)
 
12763
    # Assume MSVC wrapper
 
12764
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
12765
    dynamic_linker='Win32 ld.exe'
 
12766
    ;;
 
12767
  esac
 
12768
  # FIXME: first we should search . and the directory the executable is in
 
12769
  shlibpath_var=PATH
 
12770
  ;;
 
12771
 
 
12772
darwin* | rhapsody*)
 
12773
  dynamic_linker="$host_os dyld"
 
12774
  version_type=darwin
 
12775
  need_lib_prefix=no
 
12776
  need_version=no
 
12777
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
12778
  soname_spec='${libname}${release}${major}$shared_ext'
 
12779
  shlibpath_overrides_runpath=yes
 
12780
  shlibpath_var=DYLD_LIBRARY_PATH
 
12781
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 
12782
 
 
12783
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
 
12784
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 
12785
  ;;
 
12786
 
 
12787
dgux*)
 
12788
  version_type=linux
 
12789
  need_lib_prefix=no
 
12790
  need_version=no
 
12791
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 
12792
  soname_spec='${libname}${release}${shared_ext}$major'
 
12793
  shlibpath_var=LD_LIBRARY_PATH
 
12794
  ;;
 
12795
 
 
12796
freebsd1*)
 
12797
  dynamic_linker=no
 
12798
  ;;
 
12799
 
 
12800
freebsd* | dragonfly*)
 
12801
  # DragonFly does not have aout.  When/if they implement a new
 
12802
  # versioning mechanism, adjust this.
 
12803
  if test -x /usr/bin/objformat; then
 
12804
    objformat=`/usr/bin/objformat`
 
12805
  else
 
12806
    case $host_os in
 
12807
    freebsd[123]*) objformat=aout ;;
 
12808
    *) objformat=elf ;;
 
12809
    esac
 
12810
  fi
 
12811
  version_type=freebsd-$objformat
 
12812
  case $version_type in
 
12813
    freebsd-elf*)
 
12814
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
12815
      need_version=no
 
12816
      need_lib_prefix=no
 
12817
      ;;
 
12818
    freebsd-*)
 
12819
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 
12820
      need_version=yes
 
12821
      ;;
 
12822
  esac
 
12823
  shlibpath_var=LD_LIBRARY_PATH
 
12824
  case $host_os in
 
12825
  freebsd2*)
 
12826
    shlibpath_overrides_runpath=yes
 
12827
    ;;
 
12828
  freebsd3.[01]* | freebsdelf3.[01]*)
 
12829
    shlibpath_overrides_runpath=yes
 
12830
    hardcode_into_libs=yes
 
12831
    ;;
 
12832
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
12833
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
 
12834
    shlibpath_overrides_runpath=no
 
12835
    hardcode_into_libs=yes
 
12836
    ;;
 
12837
  *) # from 4.6 on, and DragonFly
 
12838
    shlibpath_overrides_runpath=yes
 
12839
    hardcode_into_libs=yes
 
12840
    ;;
 
12841
  esac
 
12842
  ;;
 
12843
 
 
12844
gnu*)
 
12845
  version_type=linux
 
12846
  need_lib_prefix=no
 
12847
  need_version=no
 
12848
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
12849
  soname_spec='${libname}${release}${shared_ext}$major'
 
12850
  shlibpath_var=LD_LIBRARY_PATH
 
12851
  shlibpath_overrides_runpath=no
 
12852
  hardcode_into_libs=yes
 
12853
  ;;
 
12854
 
 
12855
haiku*)
 
12856
  version_type=linux
 
12857
  need_lib_prefix=no
 
12858
  need_version=no
 
12859
  dynamic_linker="$host_os runtime_loader"
 
12860
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
12861
  soname_spec='${libname}${release}${shared_ext}$major'
 
12862
  shlibpath_var=LIBRARY_PATH
 
12863
  shlibpath_overrides_runpath=yes
 
12864
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
 
12865
  hardcode_into_libs=yes
 
12866
  ;;
 
12867
 
 
12868
hpux9* | hpux10* | hpux11*)
 
12869
  # Give a soname corresponding to the major version so that dld.sl refuses to
 
12870
  # link against other versions.
 
12871
  version_type=sunos
 
12872
  need_lib_prefix=no
 
12873
  need_version=no
 
12874
  case $host_cpu in
 
12875
  ia64*)
 
12876
    shrext_cmds='.so'
 
12877
    hardcode_into_libs=yes
 
12878
    dynamic_linker="$host_os dld.so"
 
12879
    shlibpath_var=LD_LIBRARY_PATH
 
12880
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
12881
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12882
    soname_spec='${libname}${release}${shared_ext}$major'
 
12883
    if test "X$HPUX_IA64_MODE" = X32; then
 
12884
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 
12885
    else
 
12886
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 
12887
    fi
 
12888
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
12889
    ;;
 
12890
  hppa*64*)
 
12891
    shrext_cmds='.sl'
 
12892
    hardcode_into_libs=yes
 
12893
    dynamic_linker="$host_os dld.sl"
 
12894
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
12895
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
12896
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12897
    soname_spec='${libname}${release}${shared_ext}$major'
 
12898
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
12899
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
12900
    ;;
 
12901
  *)
 
12902
    shrext_cmds='.sl'
 
12903
    dynamic_linker="$host_os dld.sl"
 
12904
    shlibpath_var=SHLIB_PATH
 
12905
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 
12906
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12907
    soname_spec='${libname}${release}${shared_ext}$major'
 
12908
    ;;
 
12909
  esac
 
12910
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
 
12911
  postinstall_cmds='chmod 555 $lib'
 
12912
  # or fails outright, so override atomically:
 
12913
  install_override_mode=555
 
12914
  ;;
 
12915
 
 
12916
interix[3-9]*)
 
12917
  version_type=linux
 
12918
  need_lib_prefix=no
 
12919
  need_version=no
 
12920
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
12921
  soname_spec='${libname}${release}${shared_ext}$major'
 
12922
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
12923
  shlibpath_var=LD_LIBRARY_PATH
 
12924
  shlibpath_overrides_runpath=no
 
12925
  hardcode_into_libs=yes
 
12926
  ;;
 
12927
 
 
12928
irix5* | irix6* | nonstopux*)
 
12929
  case $host_os in
 
12930
    nonstopux*) version_type=nonstopux ;;
 
12931
    *)
 
12932
        if test "$lt_cv_prog_gnu_ld" = yes; then
 
12933
                version_type=linux
 
12934
        else
 
12935
                version_type=irix
 
12936
        fi ;;
 
12937
  esac
 
12938
  need_lib_prefix=no
 
12939
  need_version=no
 
12940
  soname_spec='${libname}${release}${shared_ext}$major'
 
12941
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 
12942
  case $host_os in
 
12943
  irix5* | nonstopux*)
 
12944
    libsuff= shlibsuff=
 
12945
    ;;
 
12946
  *)
 
12947
    case $LD in # libtool.m4 will add one of these switches to LD
 
12948
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 
12949
      libsuff= shlibsuff= libmagic=32-bit;;
 
12950
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 
12951
      libsuff=32 shlibsuff=N32 libmagic=N32;;
 
12952
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 
12953
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
 
12954
    *) libsuff= shlibsuff= libmagic=never-match;;
 
12955
    esac
 
12956
    ;;
 
12957
  esac
 
12958
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 
12959
  shlibpath_overrides_runpath=no
 
12960
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
12961
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 
12962
  hardcode_into_libs=yes
 
12963
  ;;
 
12964
 
 
12965
# No shared lib support for Linux oldld, aout, or coff.
 
12966
linux*oldld* | linux*aout* | linux*coff*)
 
12967
  dynamic_linker=no
 
12968
  ;;
 
12969
 
 
12970
# This must be Linux ELF.
 
12971
linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
12972
  version_type=linux
 
12973
  need_lib_prefix=no
 
12974
  need_version=no
 
12975
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
12976
  soname_spec='${libname}${release}${shared_ext}$major'
 
12977
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 
12978
  shlibpath_var=LD_LIBRARY_PATH
 
12979
  shlibpath_overrides_runpath=no
 
12980
 
 
12981
  # Some binutils ld are patched to set DT_RUNPATH
 
12982
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
 
12983
  $as_echo_n "(cached) " >&6
 
12984
else
 
12985
  lt_cv_shlibpath_overrides_runpath=no
 
12986
    save_LDFLAGS=$LDFLAGS
 
12987
    save_libdir=$libdir
 
12988
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
12989
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
12990
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12991
/* end confdefs.h.  */
 
12992
 
 
12993
int
 
12994
main ()
 
12995
{
 
12996
 
 
12997
  ;
 
12998
  return 0;
 
12999
}
 
13000
_ACEOF
 
13001
if ac_fn_c_try_link "$LINENO"; then :
 
13002
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
 
13003
  lt_cv_shlibpath_overrides_runpath=yes
 
13004
fi
 
13005
fi
 
13006
rm -f core conftest.err conftest.$ac_objext \
 
13007
    conftest$ac_exeext conftest.$ac_ext
 
13008
    LDFLAGS=$save_LDFLAGS
 
13009
    libdir=$save_libdir
 
13010
 
 
13011
fi
 
13012
 
 
13013
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
 
13014
 
 
13015
  # This implies no fast_install, which is unacceptable.
 
13016
  # Some rework will be needed to allow for fast_install
 
13017
  # before this can be enabled.
 
13018
  hardcode_into_libs=yes
 
13019
 
 
13020
  # Append ld.so.conf contents to the search path
 
13021
  if test -f /etc/ld.so.conf; then
 
13022
    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' ' '`
 
13023
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
13024
  fi
 
13025
 
 
13026
  # We used to test for /lib/ld.so.1 and disable shared libraries on
 
13027
  # powerpc, because MkLinux only supported shared libraries with the
 
13028
  # GNU dynamic linker.  Since this was broken with cross compilers,
 
13029
  # most powerpc-linux boxes support dynamic linking these days and
 
13030
  # people can always --disable-shared, the test was removed, and we
 
13031
  # assume the GNU/Linux dynamic linker is in use.
 
13032
  dynamic_linker='GNU/Linux ld.so'
 
13033
  ;;
 
13034
 
 
13035
netbsdelf*-gnu)
 
13036
  version_type=linux
 
13037
  need_lib_prefix=no
 
13038
  need_version=no
 
13039
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
13040
  soname_spec='${libname}${release}${shared_ext}$major'
 
13041
  shlibpath_var=LD_LIBRARY_PATH
 
13042
  shlibpath_overrides_runpath=no
 
13043
  hardcode_into_libs=yes
 
13044
  dynamic_linker='NetBSD ld.elf_so'
 
13045
  ;;
 
13046
 
 
13047
netbsd*)
 
13048
  version_type=sunos
 
13049
  need_lib_prefix=no
 
13050
  need_version=no
 
13051
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
13052
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
13053
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
13054
    dynamic_linker='NetBSD (a.out) ld.so'
 
13055
  else
 
13056
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
13057
    soname_spec='${libname}${release}${shared_ext}$major'
 
13058
    dynamic_linker='NetBSD ld.elf_so'
 
13059
  fi
 
13060
  shlibpath_var=LD_LIBRARY_PATH
 
13061
  shlibpath_overrides_runpath=yes
 
13062
  hardcode_into_libs=yes
 
13063
  ;;
 
13064
 
 
13065
newsos6)
 
13066
  version_type=linux
 
13067
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
13068
  shlibpath_var=LD_LIBRARY_PATH
 
13069
  shlibpath_overrides_runpath=yes
 
13070
  ;;
 
13071
 
 
13072
*nto* | *qnx*)
 
13073
  version_type=qnx
 
13074
  need_lib_prefix=no
 
13075
  need_version=no
 
13076
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
13077
  soname_spec='${libname}${release}${shared_ext}$major'
 
13078
  shlibpath_var=LD_LIBRARY_PATH
 
13079
  shlibpath_overrides_runpath=no
 
13080
  hardcode_into_libs=yes
 
13081
  dynamic_linker='ldqnx.so'
 
13082
  ;;
 
13083
 
 
13084
openbsd*)
 
13085
  version_type=sunos
 
13086
  sys_lib_dlsearch_path_spec="/usr/lib"
 
13087
  need_lib_prefix=no
 
13088
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
13089
  case $host_os in
 
13090
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
13091
    *)                          need_version=no  ;;
 
13092
  esac
 
13093
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
13094
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
13095
  shlibpath_var=LD_LIBRARY_PATH
 
13096
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
13097
    case $host_os in
 
13098
      openbsd2.[89] | openbsd2.[89].*)
 
13099
        shlibpath_overrides_runpath=no
 
13100
        ;;
 
13101
      *)
 
13102
        shlibpath_overrides_runpath=yes
 
13103
        ;;
 
13104
      esac
 
13105
  else
 
13106
    shlibpath_overrides_runpath=yes
 
13107
  fi
 
13108
  ;;
 
13109
 
 
13110
os2*)
 
13111
  libname_spec='$name'
 
13112
  shrext_cmds=".dll"
 
13113
  need_lib_prefix=no
 
13114
  library_names_spec='$libname${shared_ext} $libname.a'
 
13115
  dynamic_linker='OS/2 ld.exe'
 
13116
  shlibpath_var=LIBPATH
 
13117
  ;;
 
13118
 
 
13119
osf3* | osf4* | osf5*)
 
13120
  version_type=osf
 
13121
  need_lib_prefix=no
 
13122
  need_version=no
 
13123
  soname_spec='${libname}${release}${shared_ext}$major'
 
13124
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
13125
  shlibpath_var=LD_LIBRARY_PATH
 
13126
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 
13127
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 
13128
  ;;
 
13129
 
 
13130
rdos*)
 
13131
  dynamic_linker=no
 
13132
  ;;
 
13133
 
 
13134
solaris*)
 
13135
  version_type=linux
 
13136
  need_lib_prefix=no
 
13137
  need_version=no
 
13138
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
13139
  soname_spec='${libname}${release}${shared_ext}$major'
 
13140
  shlibpath_var=LD_LIBRARY_PATH
 
13141
  shlibpath_overrides_runpath=yes
 
13142
  hardcode_into_libs=yes
 
13143
  # ldd complains unless libraries are executable
 
13144
  postinstall_cmds='chmod +x $lib'
 
13145
  ;;
 
13146
 
 
13147
sunos4*)
 
13148
  version_type=sunos
 
13149
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
13150
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 
13151
  shlibpath_var=LD_LIBRARY_PATH
 
13152
  shlibpath_overrides_runpath=yes
 
13153
  if test "$with_gnu_ld" = yes; then
 
13154
    need_lib_prefix=no
 
13155
  fi
 
13156
  need_version=yes
 
13157
  ;;
 
13158
 
 
13159
sysv4 | sysv4.3*)
 
13160
  version_type=linux
 
13161
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
13162
  soname_spec='${libname}${release}${shared_ext}$major'
 
13163
  shlibpath_var=LD_LIBRARY_PATH
 
13164
  case $host_vendor in
 
13165
    sni)
 
13166
      shlibpath_overrides_runpath=no
 
13167
      need_lib_prefix=no
 
13168
      runpath_var=LD_RUN_PATH
 
13169
      ;;
 
13170
    siemens)
 
13171
      need_lib_prefix=no
 
13172
      ;;
 
13173
    motorola)
 
13174
      need_lib_prefix=no
 
13175
      need_version=no
 
13176
      shlibpath_overrides_runpath=no
 
13177
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 
13178
      ;;
 
13179
  esac
 
13180
  ;;
 
13181
 
 
13182
sysv4*MP*)
 
13183
  if test -d /usr/nec ;then
 
13184
    version_type=linux
 
13185
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 
13186
    soname_spec='$libname${shared_ext}.$major'
 
13187
    shlibpath_var=LD_LIBRARY_PATH
 
13188
  fi
 
13189
  ;;
 
13190
 
 
13191
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
13192
  version_type=freebsd-elf
 
13193
  need_lib_prefix=no
 
13194
  need_version=no
 
13195
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
13196
  soname_spec='${libname}${release}${shared_ext}$major'
 
13197
  shlibpath_var=LD_LIBRARY_PATH
 
13198
  shlibpath_overrides_runpath=yes
 
13199
  hardcode_into_libs=yes
 
13200
  if test "$with_gnu_ld" = yes; then
 
13201
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
13202
  else
 
13203
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
13204
    case $host_os in
 
13205
      sco3.2v5*)
 
13206
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
13207
        ;;
 
13208
    esac
 
13209
  fi
 
13210
  sys_lib_dlsearch_path_spec='/usr/lib'
 
13211
  ;;
 
13212
 
 
13213
tpf*)
 
13214
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
13215
  version_type=linux
 
13216
  need_lib_prefix=no
 
13217
  need_version=no
 
13218
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
13219
  shlibpath_var=LD_LIBRARY_PATH
 
13220
  shlibpath_overrides_runpath=no
 
13221
  hardcode_into_libs=yes
 
13222
  ;;
 
13223
 
 
13224
uts4*)
 
13225
  version_type=linux
 
13226
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
13227
  soname_spec='${libname}${release}${shared_ext}$major'
 
13228
  shlibpath_var=LD_LIBRARY_PATH
 
13229
  ;;
 
13230
 
 
13231
*)
 
13232
  dynamic_linker=no
 
13233
  ;;
 
13234
esac
 
13235
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
 
13236
$as_echo "$dynamic_linker" >&6; }
 
13237
test "$dynamic_linker" = no && can_build_shared=no
 
13238
 
 
13239
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
13240
if test "$GCC" = yes; then
 
13241
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
13242
fi
 
13243
 
 
13244
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
13245
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
13246
fi
 
13247
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
13248
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
13249
fi
 
13250
 
 
13251
 
 
13252
 
 
13253
 
 
13254
 
 
13255
 
 
13256
 
 
13257
 
 
13258
 
 
13259
 
 
13260
 
 
13261
 
 
13262
 
 
13263
 
 
13264
 
 
13265
 
 
13266
 
 
13267
 
 
13268
 
 
13269
 
 
13270
 
 
13271
 
 
13272
 
 
13273
 
 
13274
 
 
13275
 
 
13276
 
 
13277
 
 
13278
 
 
13279
 
 
13280
 
 
13281
 
 
13282
 
 
13283
 
 
13284
 
 
13285
 
 
13286
 
 
13287
 
 
13288
 
 
13289
 
 
13290
 
 
13291
 
 
13292
 
 
13293
 
 
13294
 
 
13295
 
 
13296
 
 
13297
 
 
13298
 
 
13299
 
 
13300
 
 
13301
 
 
13302
 
 
13303
 
 
13304
 
 
13305
 
 
13306
 
 
13307
 
 
13308
 
 
13309
 
 
13310
 
 
13311
 
 
13312
 
 
13313
 
 
13314
 
 
13315
 
 
13316
 
 
13317
 
 
13318
 
 
13319
 
 
13320
 
 
13321
 
 
13322
 
 
13323
 
 
13324
 
 
13325
 
 
13326
 
 
13327
 
 
13328
 
 
13329
 
 
13330
 
 
13331
 
 
13332
 
 
13333
 
 
13334
 
 
13335
 
 
13336
 
 
13337
 
 
13338
 
 
13339
 
 
13340
 
 
13341
 
 
13342
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
 
13343
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
 
13344
hardcode_action=
 
13345
if test -n "$hardcode_libdir_flag_spec" ||
 
13346
   test -n "$runpath_var" ||
 
13347
   test "X$hardcode_automatic" = "Xyes" ; then
 
13348
 
 
13349
  # We can hardcode non-existent directories.
 
13350
  if test "$hardcode_direct" != no &&
 
13351
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
 
13352
     # have to relink, otherwise we might link with an installed library
 
13353
     # when we should be linking with a yet-to-be-installed one
 
13354
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
 
13355
     test "$hardcode_minus_L" != no; then
 
13356
    # Linking always hardcodes the temporary library directory.
 
13357
    hardcode_action=relink
 
13358
  else
 
13359
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
 
13360
    hardcode_action=immediate
 
13361
  fi
 
13362
else
 
13363
  # We cannot hardcode anything, or else we can only hardcode existing
 
13364
  # directories.
 
13365
  hardcode_action=unsupported
 
13366
fi
 
13367
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
 
13368
$as_echo "$hardcode_action" >&6; }
 
13369
 
 
13370
if test "$hardcode_action" = relink ||
 
13371
   test "$inherit_rpath" = yes; then
 
13372
  # Fast installation is not supported
 
13373
  enable_fast_install=no
 
13374
elif test "$shlibpath_overrides_runpath" = yes ||
 
13375
     test "$enable_shared" = no; then
 
13376
  # Fast installation is not necessary
 
13377
  enable_fast_install=needless
 
13378
fi
 
13379
 
 
13380
 
 
13381
 
 
13382
 
 
13383
 
 
13384
 
 
13385
  if test "x$enable_dlopen" != xyes; then
 
13386
  enable_dlopen=unknown
 
13387
  enable_dlopen_self=unknown
 
13388
  enable_dlopen_self_static=unknown
 
13389
else
 
13390
  lt_cv_dlopen=no
 
13391
  lt_cv_dlopen_libs=
 
13392
 
 
13393
  case $host_os in
 
13394
  beos*)
 
13395
    lt_cv_dlopen="load_add_on"
 
13396
    lt_cv_dlopen_libs=
 
13397
    lt_cv_dlopen_self=yes
 
13398
    ;;
 
13399
 
 
13400
  mingw* | pw32* | cegcc*)
 
13401
    lt_cv_dlopen="LoadLibrary"
 
13402
    lt_cv_dlopen_libs=
 
13403
    ;;
 
13404
 
 
13405
  cygwin*)
 
13406
    lt_cv_dlopen="dlopen"
 
13407
    lt_cv_dlopen_libs=
 
13408
    ;;
 
13409
 
 
13410
  darwin*)
 
13411
  # if libdl is installed we need to link against it
 
13412
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
13413
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
13414
if ${ac_cv_lib_dl_dlopen+:} false; then :
 
13415
  $as_echo_n "(cached) " >&6
 
13416
else
 
13417
  ac_check_lib_save_LIBS=$LIBS
 
13418
LIBS="-ldl  $LIBS"
 
13419
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13420
/* end confdefs.h.  */
 
13421
 
 
13422
/* Override any GCC internal prototype to avoid an error.
 
13423
   Use char because int might match the return type of a GCC
 
13424
   builtin and then its argument prototype would still apply.  */
 
13425
#ifdef __cplusplus
 
13426
extern "C"
 
13427
#endif
 
13428
char dlopen ();
 
13429
int
 
13430
main ()
 
13431
{
 
13432
return dlopen ();
 
13433
  ;
 
13434
  return 0;
 
13435
}
 
13436
_ACEOF
 
13437
if ac_fn_c_try_link "$LINENO"; then :
 
13438
  ac_cv_lib_dl_dlopen=yes
 
13439
else
 
13440
  ac_cv_lib_dl_dlopen=no
 
13441
fi
 
13442
rm -f core conftest.err conftest.$ac_objext \
 
13443
    conftest$ac_exeext conftest.$ac_ext
 
13444
LIBS=$ac_check_lib_save_LIBS
 
13445
fi
 
13446
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
13447
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
13448
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
 
13449
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
13450
else
 
13451
 
 
13452
    lt_cv_dlopen="dyld"
 
13453
    lt_cv_dlopen_libs=
 
13454
    lt_cv_dlopen_self=yes
 
13455
 
 
13456
fi
 
13457
 
 
13458
    ;;
 
13459
 
 
13460
  *)
 
13461
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
 
13462
if test "x$ac_cv_func_shl_load" = xyes; then :
 
13463
  lt_cv_dlopen="shl_load"
 
13464
else
 
13465
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
 
13466
$as_echo_n "checking for shl_load in -ldld... " >&6; }
 
13467
if ${ac_cv_lib_dld_shl_load+:} false; then :
 
13468
  $as_echo_n "(cached) " >&6
 
13469
else
 
13470
  ac_check_lib_save_LIBS=$LIBS
 
13471
LIBS="-ldld  $LIBS"
 
13472
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13473
/* end confdefs.h.  */
 
13474
 
 
13475
/* Override any GCC internal prototype to avoid an error.
 
13476
   Use char because int might match the return type of a GCC
 
13477
   builtin and then its argument prototype would still apply.  */
 
13478
#ifdef __cplusplus
 
13479
extern "C"
 
13480
#endif
 
13481
char shl_load ();
 
13482
int
 
13483
main ()
 
13484
{
 
13485
return shl_load ();
 
13486
  ;
 
13487
  return 0;
 
13488
}
 
13489
_ACEOF
 
13490
if ac_fn_c_try_link "$LINENO"; then :
 
13491
  ac_cv_lib_dld_shl_load=yes
 
13492
else
 
13493
  ac_cv_lib_dld_shl_load=no
 
13494
fi
 
13495
rm -f core conftest.err conftest.$ac_objext \
 
13496
    conftest$ac_exeext conftest.$ac_ext
 
13497
LIBS=$ac_check_lib_save_LIBS
 
13498
fi
 
13499
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
 
13500
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
 
13501
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
 
13502
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
 
13503
else
 
13504
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
 
13505
if test "x$ac_cv_func_dlopen" = xyes; then :
 
13506
  lt_cv_dlopen="dlopen"
 
13507
else
 
13508
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
13509
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
13510
if ${ac_cv_lib_dl_dlopen+:} false; then :
 
13511
  $as_echo_n "(cached) " >&6
 
13512
else
 
13513
  ac_check_lib_save_LIBS=$LIBS
 
13514
LIBS="-ldl  $LIBS"
 
13515
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13516
/* end confdefs.h.  */
 
13517
 
 
13518
/* Override any GCC internal prototype to avoid an error.
 
13519
   Use char because int might match the return type of a GCC
 
13520
   builtin and then its argument prototype would still apply.  */
 
13521
#ifdef __cplusplus
 
13522
extern "C"
 
13523
#endif
 
13524
char dlopen ();
 
13525
int
 
13526
main ()
 
13527
{
 
13528
return dlopen ();
 
13529
  ;
 
13530
  return 0;
 
13531
}
 
13532
_ACEOF
 
13533
if ac_fn_c_try_link "$LINENO"; then :
 
13534
  ac_cv_lib_dl_dlopen=yes
 
13535
else
 
13536
  ac_cv_lib_dl_dlopen=no
 
13537
fi
 
13538
rm -f core conftest.err conftest.$ac_objext \
 
13539
    conftest$ac_exeext conftest.$ac_ext
 
13540
LIBS=$ac_check_lib_save_LIBS
 
13541
fi
 
13542
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
13543
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
13544
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
 
13545
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
13546
else
 
13547
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
 
13548
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
 
13549
if ${ac_cv_lib_svld_dlopen+:} false; then :
 
13550
  $as_echo_n "(cached) " >&6
 
13551
else
 
13552
  ac_check_lib_save_LIBS=$LIBS
 
13553
LIBS="-lsvld  $LIBS"
 
13554
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13555
/* end confdefs.h.  */
 
13556
 
 
13557
/* Override any GCC internal prototype to avoid an error.
 
13558
   Use char because int might match the return type of a GCC
 
13559
   builtin and then its argument prototype would still apply.  */
 
13560
#ifdef __cplusplus
 
13561
extern "C"
 
13562
#endif
 
13563
char dlopen ();
 
13564
int
 
13565
main ()
 
13566
{
 
13567
return dlopen ();
 
13568
  ;
 
13569
  return 0;
 
13570
}
 
13571
_ACEOF
 
13572
if ac_fn_c_try_link "$LINENO"; then :
 
13573
  ac_cv_lib_svld_dlopen=yes
 
13574
else
 
13575
  ac_cv_lib_svld_dlopen=no
 
13576
fi
 
13577
rm -f core conftest.err conftest.$ac_objext \
 
13578
    conftest$ac_exeext conftest.$ac_ext
 
13579
LIBS=$ac_check_lib_save_LIBS
 
13580
fi
 
13581
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
 
13582
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
 
13583
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
 
13584
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
 
13585
else
 
13586
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
 
13587
$as_echo_n "checking for dld_link in -ldld... " >&6; }
 
13588
if ${ac_cv_lib_dld_dld_link+:} false; then :
 
13589
  $as_echo_n "(cached) " >&6
 
13590
else
 
13591
  ac_check_lib_save_LIBS=$LIBS
 
13592
LIBS="-ldld  $LIBS"
 
13593
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13594
/* end confdefs.h.  */
 
13595
 
 
13596
/* Override any GCC internal prototype to avoid an error.
 
13597
   Use char because int might match the return type of a GCC
 
13598
   builtin and then its argument prototype would still apply.  */
 
13599
#ifdef __cplusplus
 
13600
extern "C"
 
13601
#endif
 
13602
char dld_link ();
 
13603
int
 
13604
main ()
 
13605
{
 
13606
return dld_link ();
 
13607
  ;
 
13608
  return 0;
 
13609
}
 
13610
_ACEOF
 
13611
if ac_fn_c_try_link "$LINENO"; then :
 
13612
  ac_cv_lib_dld_dld_link=yes
 
13613
else
 
13614
  ac_cv_lib_dld_dld_link=no
 
13615
fi
 
13616
rm -f core conftest.err conftest.$ac_objext \
 
13617
    conftest$ac_exeext conftest.$ac_ext
 
13618
LIBS=$ac_check_lib_save_LIBS
 
13619
fi
 
13620
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
 
13621
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
 
13622
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
 
13623
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
 
13624
fi
 
13625
 
 
13626
 
 
13627
fi
 
13628
 
 
13629
 
 
13630
fi
 
13631
 
 
13632
 
 
13633
fi
 
13634
 
 
13635
 
 
13636
fi
 
13637
 
 
13638
 
 
13639
fi
 
13640
 
 
13641
    ;;
 
13642
  esac
 
13643
 
 
13644
  if test "x$lt_cv_dlopen" != xno; then
 
13645
    enable_dlopen=yes
 
13646
  else
 
13647
    enable_dlopen=no
 
13648
  fi
 
13649
 
 
13650
  case $lt_cv_dlopen in
 
13651
  dlopen)
 
13652
    save_CPPFLAGS="$CPPFLAGS"
 
13653
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
 
13654
 
 
13655
    save_LDFLAGS="$LDFLAGS"
 
13656
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 
13657
 
 
13658
    save_LIBS="$LIBS"
 
13659
    LIBS="$lt_cv_dlopen_libs $LIBS"
 
13660
 
 
13661
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
 
13662
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
 
13663
if ${lt_cv_dlopen_self+:} false; then :
 
13664
  $as_echo_n "(cached) " >&6
 
13665
else
 
13666
          if test "$cross_compiling" = yes; then :
 
13667
  lt_cv_dlopen_self=cross
 
13668
else
 
13669
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
13670
  lt_status=$lt_dlunknown
 
13671
  cat > conftest.$ac_ext <<_LT_EOF
 
13672
#line $LINENO "configure"
 
13673
#include "confdefs.h"
 
13674
 
 
13675
#if HAVE_DLFCN_H
 
13676
#include <dlfcn.h>
 
13677
#endif
 
13678
 
 
13679
#include <stdio.h>
 
13680
 
 
13681
#ifdef RTLD_GLOBAL
 
13682
#  define LT_DLGLOBAL           RTLD_GLOBAL
 
13683
#else
 
13684
#  ifdef DL_GLOBAL
 
13685
#    define LT_DLGLOBAL         DL_GLOBAL
 
13686
#  else
 
13687
#    define LT_DLGLOBAL         0
 
13688
#  endif
 
13689
#endif
 
13690
 
 
13691
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
13692
   find out it does not work in some platform. */
 
13693
#ifndef LT_DLLAZY_OR_NOW
 
13694
#  ifdef RTLD_LAZY
 
13695
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
 
13696
#  else
 
13697
#    ifdef DL_LAZY
 
13698
#      define LT_DLLAZY_OR_NOW          DL_LAZY
 
13699
#    else
 
13700
#      ifdef RTLD_NOW
 
13701
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
 
13702
#      else
 
13703
#        ifdef DL_NOW
 
13704
#          define LT_DLLAZY_OR_NOW      DL_NOW
 
13705
#        else
 
13706
#          define LT_DLLAZY_OR_NOW      0
 
13707
#        endif
 
13708
#      endif
 
13709
#    endif
 
13710
#  endif
 
13711
#endif
 
13712
 
 
13713
/* When -fvisbility=hidden is used, assume the code has been annotated
 
13714
   correspondingly for the symbols needed.  */
 
13715
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
13716
int fnord () __attribute__((visibility("default")));
 
13717
#endif
 
13718
 
 
13719
int fnord () { return 42; }
 
13720
int main ()
 
13721
{
 
13722
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
13723
  int status = $lt_dlunknown;
 
13724
 
 
13725
  if (self)
 
13726
    {
 
13727
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
13728
      else
 
13729
        {
 
13730
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
13731
          else puts (dlerror ());
 
13732
        }
 
13733
      /* dlclose (self); */
 
13734
    }
 
13735
  else
 
13736
    puts (dlerror ());
 
13737
 
 
13738
  return status;
 
13739
}
 
13740
_LT_EOF
 
13741
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
13742
  (eval $ac_link) 2>&5
 
13743
  ac_status=$?
 
13744
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13745
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
 
13746
    (./conftest; exit; ) >&5 2>/dev/null
 
13747
    lt_status=$?
 
13748
    case x$lt_status in
 
13749
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
 
13750
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
 
13751
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
 
13752
    esac
 
13753
  else :
 
13754
    # compilation failed
 
13755
    lt_cv_dlopen_self=no
 
13756
  fi
 
13757
fi
 
13758
rm -fr conftest*
 
13759
 
 
13760
 
 
13761
fi
 
13762
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
 
13763
$as_echo "$lt_cv_dlopen_self" >&6; }
 
13764
 
 
13765
    if test "x$lt_cv_dlopen_self" = xyes; then
 
13766
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
 
13767
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
 
13768
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
 
13769
if ${lt_cv_dlopen_self_static+:} false; then :
 
13770
  $as_echo_n "(cached) " >&6
 
13771
else
 
13772
          if test "$cross_compiling" = yes; then :
 
13773
  lt_cv_dlopen_self_static=cross
 
13774
else
 
13775
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
13776
  lt_status=$lt_dlunknown
 
13777
  cat > conftest.$ac_ext <<_LT_EOF
 
13778
#line $LINENO "configure"
 
13779
#include "confdefs.h"
 
13780
 
 
13781
#if HAVE_DLFCN_H
 
13782
#include <dlfcn.h>
 
13783
#endif
 
13784
 
 
13785
#include <stdio.h>
 
13786
 
 
13787
#ifdef RTLD_GLOBAL
 
13788
#  define LT_DLGLOBAL           RTLD_GLOBAL
 
13789
#else
 
13790
#  ifdef DL_GLOBAL
 
13791
#    define LT_DLGLOBAL         DL_GLOBAL
 
13792
#  else
 
13793
#    define LT_DLGLOBAL         0
 
13794
#  endif
 
13795
#endif
 
13796
 
 
13797
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
13798
   find out it does not work in some platform. */
 
13799
#ifndef LT_DLLAZY_OR_NOW
 
13800
#  ifdef RTLD_LAZY
 
13801
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
 
13802
#  else
 
13803
#    ifdef DL_LAZY
 
13804
#      define LT_DLLAZY_OR_NOW          DL_LAZY
 
13805
#    else
 
13806
#      ifdef RTLD_NOW
 
13807
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
 
13808
#      else
 
13809
#        ifdef DL_NOW
 
13810
#          define LT_DLLAZY_OR_NOW      DL_NOW
 
13811
#        else
 
13812
#          define LT_DLLAZY_OR_NOW      0
 
13813
#        endif
 
13814
#      endif
 
13815
#    endif
 
13816
#  endif
 
13817
#endif
 
13818
 
 
13819
/* When -fvisbility=hidden is used, assume the code has been annotated
 
13820
   correspondingly for the symbols needed.  */
 
13821
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
13822
int fnord () __attribute__((visibility("default")));
 
13823
#endif
 
13824
 
 
13825
int fnord () { return 42; }
 
13826
int main ()
 
13827
{
 
13828
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
13829
  int status = $lt_dlunknown;
 
13830
 
 
13831
  if (self)
 
13832
    {
 
13833
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
13834
      else
 
13835
        {
 
13836
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
13837
          else puts (dlerror ());
 
13838
        }
 
13839
      /* dlclose (self); */
 
13840
    }
 
13841
  else
 
13842
    puts (dlerror ());
 
13843
 
 
13844
  return status;
 
13845
}
 
13846
_LT_EOF
 
13847
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
13848
  (eval $ac_link) 2>&5
 
13849
  ac_status=$?
 
13850
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13851
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
 
13852
    (./conftest; exit; ) >&5 2>/dev/null
 
13853
    lt_status=$?
 
13854
    case x$lt_status in
 
13855
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
 
13856
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
 
13857
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
 
13858
    esac
 
13859
  else :
 
13860
    # compilation failed
 
13861
    lt_cv_dlopen_self_static=no
 
13862
  fi
 
13863
fi
 
13864
rm -fr conftest*
 
13865
 
 
13866
 
 
13867
fi
 
13868
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
 
13869
$as_echo "$lt_cv_dlopen_self_static" >&6; }
 
13870
    fi
 
13871
 
 
13872
    CPPFLAGS="$save_CPPFLAGS"
 
13873
    LDFLAGS="$save_LDFLAGS"
 
13874
    LIBS="$save_LIBS"
 
13875
    ;;
 
13876
  esac
 
13877
 
 
13878
  case $lt_cv_dlopen_self in
 
13879
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
 
13880
  *) enable_dlopen_self=unknown ;;
 
13881
  esac
 
13882
 
 
13883
  case $lt_cv_dlopen_self_static in
 
13884
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
 
13885
  *) enable_dlopen_self_static=unknown ;;
 
13886
  esac
 
13887
fi
 
13888
 
 
13889
 
 
13890
 
 
13891
 
 
13892
 
 
13893
 
 
13894
 
 
13895
 
 
13896
 
 
13897
 
 
13898
 
 
13899
 
 
13900
 
 
13901
 
 
13902
 
 
13903
 
 
13904
 
 
13905
striplib=
 
13906
old_striplib=
 
13907
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
 
13908
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
 
13909
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 
13910
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
13911
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
13912
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
13913
$as_echo "yes" >&6; }
 
13914
else
 
13915
# FIXME - insert some real tests, host_os isn't really good enough
 
13916
  case $host_os in
 
13917
  darwin*)
 
13918
    if test -n "$STRIP" ; then
 
13919
      striplib="$STRIP -x"
 
13920
      old_striplib="$STRIP -S"
 
13921
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
13922
$as_echo "yes" >&6; }
 
13923
    else
 
13924
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13925
$as_echo "no" >&6; }
 
13926
    fi
 
13927
    ;;
 
13928
  *)
 
13929
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13930
$as_echo "no" >&6; }
 
13931
    ;;
 
13932
  esac
 
13933
fi
 
13934
 
 
13935
 
 
13936
 
 
13937
 
 
13938
 
 
13939
 
 
13940
 
 
13941
 
 
13942
 
 
13943
 
 
13944
 
 
13945
 
 
13946
  # Report which library types will actually be built
 
13947
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
 
13948
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
13949
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
 
13950
$as_echo "$can_build_shared" >&6; }
 
13951
 
 
13952
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
 
13953
$as_echo_n "checking whether to build shared libraries... " >&6; }
 
13954
  test "$can_build_shared" = "no" && enable_shared=no
 
13955
 
 
13956
  # On AIX, shared libraries and static libraries use the same namespace, and
 
13957
  # are all built from PIC.
 
13958
  case $host_os in
 
13959
  aix3*)
 
13960
    test "$enable_shared" = yes && enable_static=no
 
13961
    if test -n "$RANLIB"; then
 
13962
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
13963
      postinstall_cmds='$RANLIB $lib'
 
13964
    fi
 
13965
    ;;
 
13966
 
 
13967
  aix[4-9]*)
 
13968
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
13969
      test "$enable_shared" = yes && enable_static=no
 
13970
    fi
 
13971
    ;;
 
13972
  esac
 
13973
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
 
13974
$as_echo "$enable_shared" >&6; }
 
13975
 
 
13976
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
 
13977
$as_echo_n "checking whether to build static libraries... " >&6; }
 
13978
  # Make sure either enable_shared or enable_static is yes.
 
13979
  test "$enable_shared" = yes || enable_static=yes
 
13980
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
 
13981
$as_echo "$enable_static" >&6; }
 
13982
 
 
13983
 
 
13984
 
 
13985
 
 
13986
fi
 
13987
ac_ext=c
 
13988
ac_cpp='$CPP $CPPFLAGS'
 
13989
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
13990
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
13991
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
13992
 
 
13993
CC="$lt_save_CC"
 
13994
 
 
13995
 
 
13996
 
 
13997
 
 
13998
 
 
13999
 
 
14000
 
 
14001
 
 
14002
 
 
14003
 
 
14004
 
 
14005
 
 
14006
 
 
14007
        ac_config_commands="$ac_config_commands libtool"
 
14008
 
 
14009
 
 
14010
 
 
14011
 
 
14012
# Only expand once:
 
14013
 
 
14014
 
 
14015
 
 
14016
 
 
14017
 
 
14018
 
 
14019
 
 
14020
 
 
14021
 
 
14022
 
 
14023
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
 
14024
        if test -n "$ac_tool_prefix"; then
 
14025
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
 
14026
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
 
14027
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
14028
$as_echo_n "checking for $ac_word... " >&6; }
 
14029
if ${ac_cv_path_PKG_CONFIG+:} false; then :
 
14030
  $as_echo_n "(cached) " >&6
 
14031
else
 
14032
  case $PKG_CONFIG in
 
14033
  [\\/]* | ?:[\\/]*)
 
14034
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 
14035
  ;;
 
14036
  *)
 
14037
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14038
for as_dir in $PATH
 
14039
do
 
14040
  IFS=$as_save_IFS
 
14041
  test -z "$as_dir" && as_dir=.
 
14042
    for ac_exec_ext in '' $ac_executable_extensions; do
 
14043
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
14044
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
14045
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14046
    break 2
 
14047
  fi
 
14048
done
 
14049
  done
 
14050
IFS=$as_save_IFS
 
14051
 
 
14052
  ;;
 
14053
esac
 
14054
fi
 
14055
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 
14056
if test -n "$PKG_CONFIG"; then
 
14057
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
 
14058
$as_echo "$PKG_CONFIG" >&6; }
 
14059
else
 
14060
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14061
$as_echo "no" >&6; }
 
14062
fi
 
14063
 
 
14064
 
 
14065
fi
 
14066
if test -z "$ac_cv_path_PKG_CONFIG"; then
 
14067
  ac_pt_PKG_CONFIG=$PKG_CONFIG
 
14068
  # Extract the first word of "pkg-config", so it can be a program name with args.
 
14069
set dummy pkg-config; ac_word=$2
 
14070
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
14071
$as_echo_n "checking for $ac_word... " >&6; }
 
14072
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
 
14073
  $as_echo_n "(cached) " >&6
 
14074
else
 
14075
  case $ac_pt_PKG_CONFIG in
 
14076
  [\\/]* | ?:[\\/]*)
 
14077
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
 
14078
  ;;
 
14079
  *)
 
14080
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
14081
for as_dir in $PATH
 
14082
do
 
14083
  IFS=$as_save_IFS
 
14084
  test -z "$as_dir" && as_dir=.
 
14085
    for ac_exec_ext in '' $ac_executable_extensions; do
 
14086
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
14087
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
14088
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
14089
    break 2
 
14090
  fi
 
14091
done
 
14092
  done
 
14093
IFS=$as_save_IFS
 
14094
 
 
14095
  ;;
 
14096
esac
 
14097
fi
 
14098
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
 
14099
if test -n "$ac_pt_PKG_CONFIG"; then
 
14100
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
 
14101
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
 
14102
else
 
14103
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14104
$as_echo "no" >&6; }
 
14105
fi
 
14106
 
 
14107
  if test "x$ac_pt_PKG_CONFIG" = x; then
 
14108
    PKG_CONFIG=""
 
14109
  else
 
14110
    case $cross_compiling:$ac_tool_warned in
 
14111
yes:)
 
14112
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
14113
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
14114
ac_tool_warned=yes ;;
 
14115
esac
 
14116
    PKG_CONFIG=$ac_pt_PKG_CONFIG
 
14117
  fi
 
14118
else
 
14119
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
 
14120
fi
 
14121
 
 
14122
fi
 
14123
if test -n "$PKG_CONFIG"; then
 
14124
        _pkg_min_version=0.9.0
 
14125
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
 
14126
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
 
14127
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
 
14128
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
14129
$as_echo "yes" >&6; }
 
14130
        else
 
14131
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14132
$as_echo "no" >&6; }
 
14133
                PKG_CONFIG=""
 
14134
        fi
 
14135
fi
 
14136
 
 
14137
pkg_failed=no
 
14138
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLUTTER" >&5
 
14139
$as_echo_n "checking for CLUTTER... " >&6; }
 
14140
 
 
14141
if test -n "$CLUTTER_CFLAGS"; then
 
14142
    pkg_cv_CLUTTER_CFLAGS="$CLUTTER_CFLAGS"
 
14143
 elif test -n "$PKG_CONFIG"; then
 
14144
    if test -n "$PKG_CONFIG" && \
 
14145
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-1.0\""; } >&5
 
14146
  ($PKG_CONFIG --exists --print-errors "clutter-1.0") 2>&5
 
14147
  ac_status=$?
 
14148
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14149
  test $ac_status = 0; }; then
 
14150
  pkg_cv_CLUTTER_CFLAGS=`$PKG_CONFIG --cflags "clutter-1.0" 2>/dev/null`
 
14151
                      test "x$?" != "x0" && pkg_failed=yes
 
14152
else
 
14153
  pkg_failed=yes
 
14154
fi
 
14155
 else
 
14156
    pkg_failed=untried
 
14157
fi
 
14158
if test -n "$CLUTTER_LIBS"; then
 
14159
    pkg_cv_CLUTTER_LIBS="$CLUTTER_LIBS"
 
14160
 elif test -n "$PKG_CONFIG"; then
 
14161
    if test -n "$PKG_CONFIG" && \
 
14162
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-1.0\""; } >&5
 
14163
  ($PKG_CONFIG --exists --print-errors "clutter-1.0") 2>&5
 
14164
  ac_status=$?
 
14165
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14166
  test $ac_status = 0; }; then
 
14167
  pkg_cv_CLUTTER_LIBS=`$PKG_CONFIG --libs "clutter-1.0" 2>/dev/null`
 
14168
                      test "x$?" != "x0" && pkg_failed=yes
 
14169
else
 
14170
  pkg_failed=yes
 
14171
fi
 
14172
 else
 
14173
    pkg_failed=untried
 
14174
fi
 
14175
 
 
14176
 
 
14177
 
 
14178
if test $pkg_failed = yes; then
 
14179
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14180
$as_echo "no" >&6; }
 
14181
 
 
14182
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
14183
        _pkg_short_errors_supported=yes
 
14184
else
 
14185
        _pkg_short_errors_supported=no
 
14186
fi
 
14187
        if test $_pkg_short_errors_supported = yes; then
 
14188
                CLUTTER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "clutter-1.0" 2>&1`
 
14189
        else
 
14190
                CLUTTER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "clutter-1.0" 2>&1`
 
14191
        fi
 
14192
        # Put the nasty error message in config.log where it belongs
 
14193
        echo "$CLUTTER_PKG_ERRORS" >&5
 
14194
 
 
14195
        as_fn_error $? "Package requirements (clutter-1.0) were not met:
 
14196
 
 
14197
$CLUTTER_PKG_ERRORS
 
14198
 
 
14199
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
14200
installed software in a non-standard prefix.
 
14201
 
 
14202
Alternatively, you may set the environment variables CLUTTER_CFLAGS
 
14203
and CLUTTER_LIBS to avoid the need to call pkg-config.
 
14204
See the pkg-config man page for more details." "$LINENO" 5
 
14205
elif test $pkg_failed = untried; then
 
14206
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14207
$as_echo "no" >&6; }
 
14208
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
14209
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
14210
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
14211
is in your PATH or set the PKG_CONFIG environment variable to the full
 
14212
path to pkg-config.
 
14213
 
 
14214
Alternatively, you may set the environment variables CLUTTER_CFLAGS
 
14215
and CLUTTER_LIBS to avoid the need to call pkg-config.
 
14216
See the pkg-config man page for more details.
 
14217
 
 
14218
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
14219
See \`config.log' for more details" "$LINENO" 5; }
 
14220
else
 
14221
        CLUTTER_CFLAGS=$pkg_cv_CLUTTER_CFLAGS
 
14222
        CLUTTER_LIBS=$pkg_cv_CLUTTER_LIBS
 
14223
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
14224
$as_echo "yes" >&6; }
 
14225
 
 
14226
fi
 
14227
 
 
14228
pkg_failed=no
 
14229
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLUTTERGTK" >&5
 
14230
$as_echo_n "checking for CLUTTERGTK... " >&6; }
 
14231
 
 
14232
if test -n "$CLUTTERGTK_CFLAGS"; then
 
14233
    pkg_cv_CLUTTERGTK_CFLAGS="$CLUTTERGTK_CFLAGS"
 
14234
 elif test -n "$PKG_CONFIG"; then
 
14235
    if test -n "$PKG_CONFIG" && \
 
14236
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-gtk-1.0\""; } >&5
 
14237
  ($PKG_CONFIG --exists --print-errors "clutter-gtk-1.0") 2>&5
 
14238
  ac_status=$?
 
14239
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14240
  test $ac_status = 0; }; then
 
14241
  pkg_cv_CLUTTERGTK_CFLAGS=`$PKG_CONFIG --cflags "clutter-gtk-1.0" 2>/dev/null`
 
14242
                      test "x$?" != "x0" && pkg_failed=yes
 
14243
else
 
14244
  pkg_failed=yes
 
14245
fi
 
14246
 else
 
14247
    pkg_failed=untried
 
14248
fi
 
14249
if test -n "$CLUTTERGTK_LIBS"; then
 
14250
    pkg_cv_CLUTTERGTK_LIBS="$CLUTTERGTK_LIBS"
 
14251
 elif test -n "$PKG_CONFIG"; then
 
14252
    if test -n "$PKG_CONFIG" && \
 
14253
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-gtk-1.0\""; } >&5
 
14254
  ($PKG_CONFIG --exists --print-errors "clutter-gtk-1.0") 2>&5
 
14255
  ac_status=$?
 
14256
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14257
  test $ac_status = 0; }; then
 
14258
  pkg_cv_CLUTTERGTK_LIBS=`$PKG_CONFIG --libs "clutter-gtk-1.0" 2>/dev/null`
 
14259
                      test "x$?" != "x0" && pkg_failed=yes
 
14260
else
 
14261
  pkg_failed=yes
 
14262
fi
 
14263
 else
 
14264
    pkg_failed=untried
 
14265
fi
 
14266
 
 
14267
 
 
14268
 
 
14269
if test $pkg_failed = yes; then
 
14270
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14271
$as_echo "no" >&6; }
 
14272
 
 
14273
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
14274
        _pkg_short_errors_supported=yes
 
14275
else
 
14276
        _pkg_short_errors_supported=no
 
14277
fi
 
14278
        if test $_pkg_short_errors_supported = yes; then
 
14279
                CLUTTERGTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "clutter-gtk-1.0" 2>&1`
 
14280
        else
 
14281
                CLUTTERGTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "clutter-gtk-1.0" 2>&1`
 
14282
        fi
 
14283
        # Put the nasty error message in config.log where it belongs
 
14284
        echo "$CLUTTERGTK_PKG_ERRORS" >&5
 
14285
 
 
14286
 
 
14287
pkg_failed=no
 
14288
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLUTTERGTK" >&5
 
14289
$as_echo_n "checking for CLUTTERGTK... " >&6; }
 
14290
 
 
14291
if test -n "$CLUTTERGTK_CFLAGS"; then
 
14292
    pkg_cv_CLUTTERGTK_CFLAGS="$CLUTTERGTK_CFLAGS"
 
14293
 elif test -n "$PKG_CONFIG"; then
 
14294
    if test -n "$PKG_CONFIG" && \
 
14295
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-gtk-0.10\""; } >&5
 
14296
  ($PKG_CONFIG --exists --print-errors "clutter-gtk-0.10") 2>&5
 
14297
  ac_status=$?
 
14298
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14299
  test $ac_status = 0; }; then
 
14300
  pkg_cv_CLUTTERGTK_CFLAGS=`$PKG_CONFIG --cflags "clutter-gtk-0.10" 2>/dev/null`
 
14301
                      test "x$?" != "x0" && pkg_failed=yes
 
14302
else
 
14303
  pkg_failed=yes
 
14304
fi
 
14305
 else
 
14306
    pkg_failed=untried
 
14307
fi
 
14308
if test -n "$CLUTTERGTK_LIBS"; then
 
14309
    pkg_cv_CLUTTERGTK_LIBS="$CLUTTERGTK_LIBS"
 
14310
 elif test -n "$PKG_CONFIG"; then
 
14311
    if test -n "$PKG_CONFIG" && \
 
14312
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-gtk-0.10\""; } >&5
 
14313
  ($PKG_CONFIG --exists --print-errors "clutter-gtk-0.10") 2>&5
 
14314
  ac_status=$?
 
14315
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14316
  test $ac_status = 0; }; then
 
14317
  pkg_cv_CLUTTERGTK_LIBS=`$PKG_CONFIG --libs "clutter-gtk-0.10" 2>/dev/null`
 
14318
                      test "x$?" != "x0" && pkg_failed=yes
 
14319
else
 
14320
  pkg_failed=yes
 
14321
fi
 
14322
 else
 
14323
    pkg_failed=untried
 
14324
fi
 
14325
 
 
14326
 
 
14327
 
 
14328
if test $pkg_failed = yes; then
 
14329
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14330
$as_echo "no" >&6; }
 
14331
 
 
14332
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
14333
        _pkg_short_errors_supported=yes
 
14334
else
 
14335
        _pkg_short_errors_supported=no
 
14336
fi
 
14337
        if test $_pkg_short_errors_supported = yes; then
 
14338
                CLUTTERGTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "clutter-gtk-0.10" 2>&1`
 
14339
        else
 
14340
                CLUTTERGTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "clutter-gtk-0.10" 2>&1`
 
14341
        fi
 
14342
        # Put the nasty error message in config.log where it belongs
 
14343
        echo "$CLUTTERGTK_PKG_ERRORS" >&5
 
14344
 
 
14345
        as_fn_error $? "Package requirements (clutter-gtk-0.10) were not met:
 
14346
 
 
14347
$CLUTTERGTK_PKG_ERRORS
 
14348
 
 
14349
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
14350
installed software in a non-standard prefix.
 
14351
 
 
14352
Alternatively, you may set the environment variables CLUTTERGTK_CFLAGS
 
14353
and CLUTTERGTK_LIBS to avoid the need to call pkg-config.
 
14354
See the pkg-config man page for more details." "$LINENO" 5
 
14355
elif test $pkg_failed = untried; then
 
14356
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14357
$as_echo "no" >&6; }
 
14358
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
14359
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
14360
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
14361
is in your PATH or set the PKG_CONFIG environment variable to the full
 
14362
path to pkg-config.
 
14363
 
 
14364
Alternatively, you may set the environment variables CLUTTERGTK_CFLAGS
 
14365
and CLUTTERGTK_LIBS to avoid the need to call pkg-config.
 
14366
See the pkg-config man page for more details.
 
14367
 
 
14368
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
14369
See \`config.log' for more details" "$LINENO" 5; }
 
14370
else
 
14371
        CLUTTERGTK_CFLAGS=$pkg_cv_CLUTTERGTK_CFLAGS
 
14372
        CLUTTERGTK_LIBS=$pkg_cv_CLUTTERGTK_LIBS
 
14373
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
14374
$as_echo "yes" >&6; }
 
14375
 
 
14376
fi
 
14377
elif test $pkg_failed = untried; then
 
14378
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14379
$as_echo "no" >&6; }
 
14380
 
 
14381
pkg_failed=no
 
14382
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLUTTERGTK" >&5
 
14383
$as_echo_n "checking for CLUTTERGTK... " >&6; }
 
14384
 
 
14385
if test -n "$CLUTTERGTK_CFLAGS"; then
 
14386
    pkg_cv_CLUTTERGTK_CFLAGS="$CLUTTERGTK_CFLAGS"
 
14387
 elif test -n "$PKG_CONFIG"; then
 
14388
    if test -n "$PKG_CONFIG" && \
 
14389
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-gtk-0.10\""; } >&5
 
14390
  ($PKG_CONFIG --exists --print-errors "clutter-gtk-0.10") 2>&5
 
14391
  ac_status=$?
 
14392
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14393
  test $ac_status = 0; }; then
 
14394
  pkg_cv_CLUTTERGTK_CFLAGS=`$PKG_CONFIG --cflags "clutter-gtk-0.10" 2>/dev/null`
 
14395
                      test "x$?" != "x0" && pkg_failed=yes
 
14396
else
 
14397
  pkg_failed=yes
 
14398
fi
 
14399
 else
 
14400
    pkg_failed=untried
 
14401
fi
 
14402
if test -n "$CLUTTERGTK_LIBS"; then
 
14403
    pkg_cv_CLUTTERGTK_LIBS="$CLUTTERGTK_LIBS"
 
14404
 elif test -n "$PKG_CONFIG"; then
 
14405
    if test -n "$PKG_CONFIG" && \
 
14406
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-gtk-0.10\""; } >&5
 
14407
  ($PKG_CONFIG --exists --print-errors "clutter-gtk-0.10") 2>&5
 
14408
  ac_status=$?
 
14409
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14410
  test $ac_status = 0; }; then
 
14411
  pkg_cv_CLUTTERGTK_LIBS=`$PKG_CONFIG --libs "clutter-gtk-0.10" 2>/dev/null`
 
14412
                      test "x$?" != "x0" && pkg_failed=yes
 
14413
else
 
14414
  pkg_failed=yes
 
14415
fi
 
14416
 else
 
14417
    pkg_failed=untried
 
14418
fi
 
14419
 
 
14420
 
 
14421
 
 
14422
if test $pkg_failed = yes; then
 
14423
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14424
$as_echo "no" >&6; }
 
14425
 
 
14426
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
14427
        _pkg_short_errors_supported=yes
 
14428
else
 
14429
        _pkg_short_errors_supported=no
 
14430
fi
 
14431
        if test $_pkg_short_errors_supported = yes; then
 
14432
                CLUTTERGTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "clutter-gtk-0.10" 2>&1`
 
14433
        else
 
14434
                CLUTTERGTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "clutter-gtk-0.10" 2>&1`
 
14435
        fi
 
14436
        # Put the nasty error message in config.log where it belongs
 
14437
        echo "$CLUTTERGTK_PKG_ERRORS" >&5
 
14438
 
 
14439
        as_fn_error $? "Package requirements (clutter-gtk-0.10) were not met:
 
14440
 
 
14441
$CLUTTERGTK_PKG_ERRORS
 
14442
 
 
14443
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
14444
installed software in a non-standard prefix.
 
14445
 
 
14446
Alternatively, you may set the environment variables CLUTTERGTK_CFLAGS
 
14447
and CLUTTERGTK_LIBS to avoid the need to call pkg-config.
 
14448
See the pkg-config man page for more details." "$LINENO" 5
 
14449
elif test $pkg_failed = untried; then
 
14450
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14451
$as_echo "no" >&6; }
 
14452
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
14453
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
14454
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
14455
is in your PATH or set the PKG_CONFIG environment variable to the full
 
14456
path to pkg-config.
 
14457
 
 
14458
Alternatively, you may set the environment variables CLUTTERGTK_CFLAGS
 
14459
and CLUTTERGTK_LIBS to avoid the need to call pkg-config.
 
14460
See the pkg-config man page for more details.
 
14461
 
 
14462
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
14463
See \`config.log' for more details" "$LINENO" 5; }
 
14464
else
 
14465
        CLUTTERGTK_CFLAGS=$pkg_cv_CLUTTERGTK_CFLAGS
 
14466
        CLUTTERGTK_LIBS=$pkg_cv_CLUTTERGTK_LIBS
 
14467
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
14468
$as_echo "yes" >&6; }
 
14469
 
 
14470
fi
 
14471
else
 
14472
        CLUTTERGTK_CFLAGS=$pkg_cv_CLUTTERGTK_CFLAGS
 
14473
        CLUTTERGTK_LIBS=$pkg_cv_CLUTTERGTK_LIBS
 
14474
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
14475
$as_echo "yes" >&6; }
 
14476
 
 
14477
fi
 
14478
 
 
14479
pkg_failed=no
 
14480
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLUTTERGST" >&5
 
14481
$as_echo_n "checking for CLUTTERGST... " >&6; }
 
14482
 
 
14483
if test -n "$CLUTTERGST_CFLAGS"; then
 
14484
    pkg_cv_CLUTTERGST_CFLAGS="$CLUTTERGST_CFLAGS"
 
14485
 elif test -n "$PKG_CONFIG"; then
 
14486
    if test -n "$PKG_CONFIG" && \
 
14487
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-gst-1.0\""; } >&5
 
14488
  ($PKG_CONFIG --exists --print-errors "clutter-gst-1.0") 2>&5
 
14489
  ac_status=$?
 
14490
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14491
  test $ac_status = 0; }; then
 
14492
  pkg_cv_CLUTTERGST_CFLAGS=`$PKG_CONFIG --cflags "clutter-gst-1.0" 2>/dev/null`
 
14493
                      test "x$?" != "x0" && pkg_failed=yes
 
14494
else
 
14495
  pkg_failed=yes
 
14496
fi
 
14497
 else
 
14498
    pkg_failed=untried
 
14499
fi
 
14500
if test -n "$CLUTTERGST_LIBS"; then
 
14501
    pkg_cv_CLUTTERGST_LIBS="$CLUTTERGST_LIBS"
 
14502
 elif test -n "$PKG_CONFIG"; then
 
14503
    if test -n "$PKG_CONFIG" && \
 
14504
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-gst-1.0\""; } >&5
 
14505
  ($PKG_CONFIG --exists --print-errors "clutter-gst-1.0") 2>&5
 
14506
  ac_status=$?
 
14507
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14508
  test $ac_status = 0; }; then
 
14509
  pkg_cv_CLUTTERGST_LIBS=`$PKG_CONFIG --libs "clutter-gst-1.0" 2>/dev/null`
 
14510
                      test "x$?" != "x0" && pkg_failed=yes
 
14511
else
 
14512
  pkg_failed=yes
 
14513
fi
 
14514
 else
 
14515
    pkg_failed=untried
 
14516
fi
 
14517
 
 
14518
 
 
14519
 
 
14520
if test $pkg_failed = yes; then
 
14521
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14522
$as_echo "no" >&6; }
 
14523
 
 
14524
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
14525
        _pkg_short_errors_supported=yes
 
14526
else
 
14527
        _pkg_short_errors_supported=no
 
14528
fi
 
14529
        if test $_pkg_short_errors_supported = yes; then
 
14530
                CLUTTERGST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "clutter-gst-1.0" 2>&1`
 
14531
        else
 
14532
                CLUTTERGST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "clutter-gst-1.0" 2>&1`
 
14533
        fi
 
14534
        # Put the nasty error message in config.log where it belongs
 
14535
        echo "$CLUTTERGST_PKG_ERRORS" >&5
 
14536
 
 
14537
 
 
14538
pkg_failed=no
 
14539
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLUTTERGST" >&5
 
14540
$as_echo_n "checking for CLUTTERGST... " >&6; }
 
14541
 
 
14542
if test -n "$CLUTTERGST_CFLAGS"; then
 
14543
    pkg_cv_CLUTTERGST_CFLAGS="$CLUTTERGST_CFLAGS"
 
14544
 elif test -n "$PKG_CONFIG"; then
 
14545
    if test -n "$PKG_CONFIG" && \
 
14546
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-gst-0.10\""; } >&5
 
14547
  ($PKG_CONFIG --exists --print-errors "clutter-gst-0.10") 2>&5
 
14548
  ac_status=$?
 
14549
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14550
  test $ac_status = 0; }; then
 
14551
  pkg_cv_CLUTTERGST_CFLAGS=`$PKG_CONFIG --cflags "clutter-gst-0.10" 2>/dev/null`
 
14552
                      test "x$?" != "x0" && pkg_failed=yes
 
14553
else
 
14554
  pkg_failed=yes
 
14555
fi
 
14556
 else
 
14557
    pkg_failed=untried
 
14558
fi
 
14559
if test -n "$CLUTTERGST_LIBS"; then
 
14560
    pkg_cv_CLUTTERGST_LIBS="$CLUTTERGST_LIBS"
 
14561
 elif test -n "$PKG_CONFIG"; then
 
14562
    if test -n "$PKG_CONFIG" && \
 
14563
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-gst-0.10\""; } >&5
 
14564
  ($PKG_CONFIG --exists --print-errors "clutter-gst-0.10") 2>&5
 
14565
  ac_status=$?
 
14566
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14567
  test $ac_status = 0; }; then
 
14568
  pkg_cv_CLUTTERGST_LIBS=`$PKG_CONFIG --libs "clutter-gst-0.10" 2>/dev/null`
 
14569
                      test "x$?" != "x0" && pkg_failed=yes
 
14570
else
 
14571
  pkg_failed=yes
 
14572
fi
 
14573
 else
 
14574
    pkg_failed=untried
 
14575
fi
 
14576
 
 
14577
 
 
14578
 
 
14579
if test $pkg_failed = yes; then
 
14580
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14581
$as_echo "no" >&6; }
 
14582
 
 
14583
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
14584
        _pkg_short_errors_supported=yes
 
14585
else
 
14586
        _pkg_short_errors_supported=no
 
14587
fi
 
14588
        if test $_pkg_short_errors_supported = yes; then
 
14589
                CLUTTERGST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "clutter-gst-0.10" 2>&1`
 
14590
        else
 
14591
                CLUTTERGST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "clutter-gst-0.10" 2>&1`
 
14592
        fi
 
14593
        # Put the nasty error message in config.log where it belongs
 
14594
        echo "$CLUTTERGST_PKG_ERRORS" >&5
 
14595
 
 
14596
        as_fn_error $? "Package requirements (clutter-gst-0.10) were not met:
 
14597
 
 
14598
$CLUTTERGST_PKG_ERRORS
 
14599
 
 
14600
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
14601
installed software in a non-standard prefix.
 
14602
 
 
14603
Alternatively, you may set the environment variables CLUTTERGST_CFLAGS
 
14604
and CLUTTERGST_LIBS to avoid the need to call pkg-config.
 
14605
See the pkg-config man page for more details." "$LINENO" 5
 
14606
elif test $pkg_failed = untried; then
 
14607
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14608
$as_echo "no" >&6; }
 
14609
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
14610
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
14611
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
14612
is in your PATH or set the PKG_CONFIG environment variable to the full
 
14613
path to pkg-config.
 
14614
 
 
14615
Alternatively, you may set the environment variables CLUTTERGST_CFLAGS
 
14616
and CLUTTERGST_LIBS to avoid the need to call pkg-config.
 
14617
See the pkg-config man page for more details.
 
14618
 
 
14619
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
14620
See \`config.log' for more details" "$LINENO" 5; }
 
14621
else
 
14622
        CLUTTERGST_CFLAGS=$pkg_cv_CLUTTERGST_CFLAGS
 
14623
        CLUTTERGST_LIBS=$pkg_cv_CLUTTERGST_LIBS
 
14624
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
14625
$as_echo "yes" >&6; }
 
14626
 
 
14627
fi
 
14628
elif test $pkg_failed = untried; then
 
14629
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14630
$as_echo "no" >&6; }
 
14631
 
 
14632
pkg_failed=no
 
14633
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLUTTERGST" >&5
 
14634
$as_echo_n "checking for CLUTTERGST... " >&6; }
 
14635
 
 
14636
if test -n "$CLUTTERGST_CFLAGS"; then
 
14637
    pkg_cv_CLUTTERGST_CFLAGS="$CLUTTERGST_CFLAGS"
 
14638
 elif test -n "$PKG_CONFIG"; then
 
14639
    if test -n "$PKG_CONFIG" && \
 
14640
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-gst-0.10\""; } >&5
 
14641
  ($PKG_CONFIG --exists --print-errors "clutter-gst-0.10") 2>&5
 
14642
  ac_status=$?
 
14643
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14644
  test $ac_status = 0; }; then
 
14645
  pkg_cv_CLUTTERGST_CFLAGS=`$PKG_CONFIG --cflags "clutter-gst-0.10" 2>/dev/null`
 
14646
                      test "x$?" != "x0" && pkg_failed=yes
 
14647
else
 
14648
  pkg_failed=yes
 
14649
fi
 
14650
 else
 
14651
    pkg_failed=untried
 
14652
fi
 
14653
if test -n "$CLUTTERGST_LIBS"; then
 
14654
    pkg_cv_CLUTTERGST_LIBS="$CLUTTERGST_LIBS"
 
14655
 elif test -n "$PKG_CONFIG"; then
 
14656
    if test -n "$PKG_CONFIG" && \
 
14657
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-gst-0.10\""; } >&5
 
14658
  ($PKG_CONFIG --exists --print-errors "clutter-gst-0.10") 2>&5
 
14659
  ac_status=$?
 
14660
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14661
  test $ac_status = 0; }; then
 
14662
  pkg_cv_CLUTTERGST_LIBS=`$PKG_CONFIG --libs "clutter-gst-0.10" 2>/dev/null`
 
14663
                      test "x$?" != "x0" && pkg_failed=yes
 
14664
else
 
14665
  pkg_failed=yes
 
14666
fi
 
14667
 else
 
14668
    pkg_failed=untried
 
14669
fi
 
14670
 
 
14671
 
 
14672
 
 
14673
if test $pkg_failed = yes; then
 
14674
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14675
$as_echo "no" >&6; }
 
14676
 
 
14677
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
14678
        _pkg_short_errors_supported=yes
 
14679
else
 
14680
        _pkg_short_errors_supported=no
 
14681
fi
 
14682
        if test $_pkg_short_errors_supported = yes; then
 
14683
                CLUTTERGST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "clutter-gst-0.10" 2>&1`
 
14684
        else
 
14685
                CLUTTERGST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "clutter-gst-0.10" 2>&1`
 
14686
        fi
 
14687
        # Put the nasty error message in config.log where it belongs
 
14688
        echo "$CLUTTERGST_PKG_ERRORS" >&5
 
14689
 
 
14690
        as_fn_error $? "Package requirements (clutter-gst-0.10) were not met:
 
14691
 
 
14692
$CLUTTERGST_PKG_ERRORS
 
14693
 
 
14694
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
14695
installed software in a non-standard prefix.
 
14696
 
 
14697
Alternatively, you may set the environment variables CLUTTERGST_CFLAGS
 
14698
and CLUTTERGST_LIBS to avoid the need to call pkg-config.
 
14699
See the pkg-config man page for more details." "$LINENO" 5
 
14700
elif test $pkg_failed = untried; then
 
14701
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14702
$as_echo "no" >&6; }
 
14703
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
14704
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
14705
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
14706
is in your PATH or set the PKG_CONFIG environment variable to the full
 
14707
path to pkg-config.
 
14708
 
 
14709
Alternatively, you may set the environment variables CLUTTERGST_CFLAGS
 
14710
and CLUTTERGST_LIBS to avoid the need to call pkg-config.
 
14711
See the pkg-config man page for more details.
 
14712
 
 
14713
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
14714
See \`config.log' for more details" "$LINENO" 5; }
 
14715
else
 
14716
        CLUTTERGST_CFLAGS=$pkg_cv_CLUTTERGST_CFLAGS
 
14717
        CLUTTERGST_LIBS=$pkg_cv_CLUTTERGST_LIBS
 
14718
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
14719
$as_echo "yes" >&6; }
 
14720
 
 
14721
fi
 
14722
else
 
14723
        CLUTTERGST_CFLAGS=$pkg_cv_CLUTTERGST_CFLAGS
 
14724
        CLUTTERGST_LIBS=$pkg_cv_CLUTTERGST_LIBS
 
14725
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
14726
$as_echo "yes" >&6; }
 
14727
 
 
14728
fi
 
14729
 
 
14730
pkg_failed=no
 
14731
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSTREAMER" >&5
 
14732
$as_echo_n "checking for GSTREAMER... " >&6; }
 
14733
 
 
14734
if test -n "$GSTREAMER_CFLAGS"; then
 
14735
    pkg_cv_GSTREAMER_CFLAGS="$GSTREAMER_CFLAGS"
 
14736
 elif test -n "$PKG_CONFIG"; then
 
14737
    if test -n "$PKG_CONFIG" && \
 
14738
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-0.10\""; } >&5
 
14739
  ($PKG_CONFIG --exists --print-errors "gstreamer-0.10") 2>&5
 
14740
  ac_status=$?
 
14741
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14742
  test $ac_status = 0; }; then
 
14743
  pkg_cv_GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-0.10" 2>/dev/null`
 
14744
                      test "x$?" != "x0" && pkg_failed=yes
 
14745
else
 
14746
  pkg_failed=yes
 
14747
fi
 
14748
 else
 
14749
    pkg_failed=untried
 
14750
fi
 
14751
if test -n "$GSTREAMER_LIBS"; then
 
14752
    pkg_cv_GSTREAMER_LIBS="$GSTREAMER_LIBS"
 
14753
 elif test -n "$PKG_CONFIG"; then
 
14754
    if test -n "$PKG_CONFIG" && \
 
14755
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-0.10\""; } >&5
 
14756
  ($PKG_CONFIG --exists --print-errors "gstreamer-0.10") 2>&5
 
14757
  ac_status=$?
 
14758
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14759
  test $ac_status = 0; }; then
 
14760
  pkg_cv_GSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamer-0.10" 2>/dev/null`
 
14761
                      test "x$?" != "x0" && pkg_failed=yes
 
14762
else
 
14763
  pkg_failed=yes
 
14764
fi
 
14765
 else
 
14766
    pkg_failed=untried
 
14767
fi
 
14768
 
 
14769
 
 
14770
 
 
14771
if test $pkg_failed = yes; then
 
14772
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14773
$as_echo "no" >&6; }
 
14774
 
 
14775
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
14776
        _pkg_short_errors_supported=yes
 
14777
else
 
14778
        _pkg_short_errors_supported=no
 
14779
fi
 
14780
        if test $_pkg_short_errors_supported = yes; then
 
14781
                GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gstreamer-0.10" 2>&1`
 
14782
        else
 
14783
                GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gstreamer-0.10" 2>&1`
 
14784
        fi
 
14785
        # Put the nasty error message in config.log where it belongs
 
14786
        echo "$GSTREAMER_PKG_ERRORS" >&5
 
14787
 
 
14788
        as_fn_error $? "Package requirements (gstreamer-0.10) were not met:
 
14789
 
 
14790
$GSTREAMER_PKG_ERRORS
 
14791
 
 
14792
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
14793
installed software in a non-standard prefix.
 
14794
 
 
14795
Alternatively, you may set the environment variables GSTREAMER_CFLAGS
 
14796
and GSTREAMER_LIBS to avoid the need to call pkg-config.
 
14797
See the pkg-config man page for more details." "$LINENO" 5
 
14798
elif test $pkg_failed = untried; then
 
14799
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14800
$as_echo "no" >&6; }
 
14801
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
14802
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
14803
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
14804
is in your PATH or set the PKG_CONFIG environment variable to the full
 
14805
path to pkg-config.
 
14806
 
 
14807
Alternatively, you may set the environment variables GSTREAMER_CFLAGS
 
14808
and GSTREAMER_LIBS to avoid the need to call pkg-config.
 
14809
See the pkg-config man page for more details.
 
14810
 
 
14811
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
14812
See \`config.log' for more details" "$LINENO" 5; }
 
14813
else
 
14814
        GSTREAMER_CFLAGS=$pkg_cv_GSTREAMER_CFLAGS
 
14815
        GSTREAMER_LIBS=$pkg_cv_GSTREAMER_LIBS
 
14816
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
14817
$as_echo "yes" >&6; }
 
14818
 
 
14819
fi
 
14820
ac_config_files="$ac_config_files Makefile src/Makefile po/Makefile.in data/Makefile help/Makefile"
 
14821
 
 
14822
cat >confcache <<\_ACEOF
 
14823
# This file is a shell script that caches the results of configure
 
14824
# tests run on this system so they can be shared between configure
 
14825
# scripts and configure runs, see configure's option --config-cache.
 
14826
# It is not useful on other systems.  If it contains results you don't
 
14827
# want to keep, you may remove or edit it.
 
14828
#
 
14829
# config.status only pays attention to the cache file if you give it
 
14830
# the --recheck option to rerun configure.
 
14831
#
 
14832
# `ac_cv_env_foo' variables (set or unset) will be overridden when
 
14833
# loading this file, other *unset* `ac_cv_foo' will be assigned the
 
14834
# following values.
 
14835
 
 
14836
_ACEOF
 
14837
 
 
14838
# The following way of writing the cache mishandles newlines in values,
 
14839
# but we know of no workaround that is simple, portable, and efficient.
 
14840
# So, we kill variables containing newlines.
 
14841
# Ultrix sh set writes to stderr and can't be redirected directly,
 
14842
# and sets the high bit in the cache file unless we assign to the vars.
 
14843
(
 
14844
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
14845
    eval ac_val=\$$ac_var
 
14846
    case $ac_val in #(
 
14847
    *${as_nl}*)
 
14848
      case $ac_var in #(
 
14849
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
14850
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
14851
      esac
 
14852
      case $ac_var in #(
 
14853
      _ | IFS | as_nl) ;; #(
 
14854
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
14855
      *) { eval $ac_var=; unset $ac_var;} ;;
 
14856
      esac ;;
 
14857
    esac
 
14858
  done
 
14859
 
 
14860
  (set) 2>&1 |
 
14861
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
14862
    *${as_nl}ac_space=\ *)
 
14863
      # `set' does not quote correctly, so add quotes: double-quote
 
14864
      # substitution turns \\\\ into \\, and sed turns \\ into \.
 
14865
      sed -n \
 
14866
        "s/'/'\\\\''/g;
 
14867
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
14868
      ;; #(
 
14869
    *)
 
14870
      # `set' quotes correctly as required by POSIX, so do not add quotes.
 
14871
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
14872
      ;;
 
14873
    esac |
 
14874
    sort
 
14875
) |
 
14876
  sed '
 
14877
     /^ac_cv_env_/b end
 
14878
     t clear
 
14879
     :clear
 
14880
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 
14881
     t end
 
14882
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
14883
     :end' >>confcache
 
14884
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
14885
  if test -w "$cache_file"; then
 
14886
    if test "x$cache_file" != "x/dev/null"; then
 
14887
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 
14888
$as_echo "$as_me: updating cache $cache_file" >&6;}
 
14889
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
14890
        cat confcache >"$cache_file"
 
14891
      else
 
14892
        case $cache_file in #(
 
14893
        */* | ?:*)
 
14894
          mv -f confcache "$cache_file"$$ &&
 
14895
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
14896
        *)
 
14897
          mv -f confcache "$cache_file" ;;
 
14898
        esac
 
14899
      fi
 
14900
    fi
 
14901
  else
 
14902
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 
14903
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
14904
  fi
 
14905
fi
 
14906
rm -f confcache
 
14907
 
 
14908
test "x$prefix" = xNONE && prefix=$ac_default_prefix
 
14909
# Let make expand exec_prefix.
 
14910
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 
14911
 
 
14912
DEFS=-DHAVE_CONFIG_H
 
14913
 
 
14914
ac_libobjs=
 
14915
ac_ltlibobjs=
 
14916
U=
 
14917
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 
14918
  # 1. Remove the extension, and $U if already installed.
 
14919
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
14920
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 
14921
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
14922
  #    will be set to the directory where LIBOBJS objects are built.
 
14923
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
14924
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
 
14925
done
 
14926
LIBOBJS=$ac_libobjs
 
14927
 
 
14928
LTLIBOBJS=$ac_ltlibobjs
 
14929
 
 
14930
 
 
14931
 if test -n "$EXEEXT"; then
 
14932
  am__EXEEXT_TRUE=
 
14933
  am__EXEEXT_FALSE='#'
 
14934
else
 
14935
  am__EXEEXT_TRUE='#'
 
14936
  am__EXEEXT_FALSE=
 
14937
fi
 
14938
 
 
14939
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
 
14940
  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
 
14941
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
14942
fi
 
14943
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 
14944
  as_fn_error $? "conditional \"AMDEP\" was never defined.
 
14945
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
14946
fi
 
14947
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
14948
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
14949
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
14950
fi
 
14951
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
14952
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
14953
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
14954
fi
 
14955
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
14956
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
14957
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
14958
fi
 
14959
 
 
14960
  ac_config_commands="$ac_config_commands po/stamp-it"
 
14961
 
 
14962
 
 
14963
 
 
14964
: "${CONFIG_STATUS=./config.status}"
 
14965
ac_write_fail=0
 
14966
ac_clean_files_save=$ac_clean_files
 
14967
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 
14968
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 
14969
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
14970
as_write_fail=0
 
14971
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
 
14972
#! $SHELL
 
14973
# Generated by $as_me.
 
14974
# Run this file to recreate the current configuration.
 
14975
# Compiler output produced by configure, useful for debugging
 
14976
# configure, is in config.log if it exists.
 
14977
 
 
14978
debug=false
 
14979
ac_cs_recheck=false
 
14980
ac_cs_silent=false
 
14981
 
 
14982
SHELL=\${CONFIG_SHELL-$SHELL}
 
14983
export SHELL
 
14984
_ASEOF
 
14985
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
14986
## -------------------- ##
 
14987
## M4sh Initialization. ##
 
14988
## -------------------- ##
 
14989
 
 
14990
# Be more Bourne compatible
 
14991
DUALCASE=1; export DUALCASE # for MKS sh
 
14992
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 
14993
  emulate sh
 
14994
  NULLCMD=:
 
14995
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
14996
  # is contrary to our usage.  Disable this feature.
 
14997
  alias -g '${1+"$@"}'='"$@"'
 
14998
  setopt NO_GLOB_SUBST
 
14999
else
 
15000
  case `(set -o) 2>/dev/null` in #(
 
15001
  *posix*) :
 
15002
    set -o posix ;; #(
 
15003
  *) :
 
15004
     ;;
 
15005
esac
 
15006
fi
 
15007
 
 
15008
 
 
15009
as_nl='
 
15010
'
 
15011
export as_nl
 
15012
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
15013
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
15014
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
15015
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
15016
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
15017
# but without wasting forks for bash or zsh.
 
15018
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
15019
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
15020
  as_echo='print -r --'
 
15021
  as_echo_n='print -rn --'
 
15022
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
15023
  as_echo='printf %s\n'
 
15024
  as_echo_n='printf %s'
 
15025
else
 
15026
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
15027
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
15028
    as_echo_n='/usr/ucb/echo -n'
 
15029
  else
 
15030
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
15031
    as_echo_n_body='eval
 
15032
      arg=$1;
 
15033
      case $arg in #(
 
15034
      *"$as_nl"*)
 
15035
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
15036
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
15037
      esac;
 
15038
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
15039
    '
 
15040
    export as_echo_n_body
 
15041
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
15042
  fi
 
15043
  export as_echo_body
 
15044
  as_echo='sh -c $as_echo_body as_echo'
 
15045
fi
 
15046
 
 
15047
# The user is always right.
 
15048
if test "${PATH_SEPARATOR+set}" != set; then
 
15049
  PATH_SEPARATOR=:
 
15050
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
15051
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
15052
      PATH_SEPARATOR=';'
 
15053
  }
 
15054
fi
 
15055
 
 
15056
 
 
15057
# IFS
 
15058
# We need space, tab and new line, in precisely that order.  Quoting is
 
15059
# there to prevent editors from complaining about space-tab.
 
15060
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
15061
# splitting by setting IFS to empty value.)
 
15062
IFS=" ""        $as_nl"
 
15063
 
 
15064
# Find who we are.  Look in the path if we contain no directory separator.
 
15065
as_myself=
 
15066
case $0 in #((
 
15067
  *[\\/]* ) as_myself=$0 ;;
 
15068
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15069
for as_dir in $PATH
 
15070
do
 
15071
  IFS=$as_save_IFS
 
15072
  test -z "$as_dir" && as_dir=.
 
15073
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
15074
  done
 
15075
IFS=$as_save_IFS
 
15076
 
 
15077
     ;;
 
15078
esac
 
15079
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
15080
# in which case we are not to be found in the path.
 
15081
if test "x$as_myself" = x; then
 
15082
  as_myself=$0
 
15083
fi
 
15084
if test ! -f "$as_myself"; then
 
15085
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
15086
  exit 1
 
15087
fi
 
15088
 
 
15089
# Unset variables that we do not need and which cause bugs (e.g. in
 
15090
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
15091
# suppresses any "Segmentation fault" message there.  '((' could
 
15092
# trigger a bug in pdksh 5.2.14.
 
15093
for as_var in BASH_ENV ENV MAIL MAILPATH
 
15094
do eval test x\${$as_var+set} = xset \
 
15095
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 
15096
done
 
15097
PS1='$ '
 
15098
PS2='> '
 
15099
PS4='+ '
 
15100
 
 
15101
# NLS nuisances.
 
15102
LC_ALL=C
 
15103
export LC_ALL
 
15104
LANGUAGE=C
 
15105
export LANGUAGE
 
15106
 
 
15107
# CDPATH.
 
15108
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
15109
 
 
15110
 
 
15111
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
15112
# ----------------------------------------
 
15113
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
15114
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
15115
# script with STATUS, using 1 if that was 0.
 
15116
as_fn_error ()
 
15117
{
 
15118
  as_status=$1; test $as_status -eq 0 && as_status=1
 
15119
  if test "$4"; then
 
15120
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
15121
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
15122
  fi
 
15123
  $as_echo "$as_me: error: $2" >&2
 
15124
  as_fn_exit $as_status
 
15125
} # as_fn_error
 
15126
 
 
15127
 
 
15128
# as_fn_set_status STATUS
 
15129
# -----------------------
 
15130
# Set $? to STATUS, without forking.
 
15131
as_fn_set_status ()
 
15132
{
 
15133
  return $1
 
15134
} # as_fn_set_status
 
15135
 
 
15136
# as_fn_exit STATUS
 
15137
# -----------------
 
15138
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
15139
as_fn_exit ()
 
15140
{
 
15141
  set +e
 
15142
  as_fn_set_status $1
 
15143
  exit $1
 
15144
} # as_fn_exit
 
15145
 
 
15146
# as_fn_unset VAR
 
15147
# ---------------
 
15148
# Portably unset VAR.
 
15149
as_fn_unset ()
 
15150
{
 
15151
  { eval $1=; unset $1;}
 
15152
}
 
15153
as_unset=as_fn_unset
 
15154
# as_fn_append VAR VALUE
 
15155
# ----------------------
 
15156
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
15157
# advantage of any shell optimizations that allow amortized linear growth over
 
15158
# repeated appends, instead of the typical quadratic growth present in naive
 
15159
# implementations.
 
15160
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
15161
  eval 'as_fn_append ()
 
15162
  {
 
15163
    eval $1+=\$2
 
15164
  }'
 
15165
else
 
15166
  as_fn_append ()
 
15167
  {
 
15168
    eval $1=\$$1\$2
 
15169
  }
 
15170
fi # as_fn_append
 
15171
 
 
15172
# as_fn_arith ARG...
 
15173
# ------------------
 
15174
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
15175
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
15176
# must be portable across $(()) and expr.
 
15177
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
15178
  eval 'as_fn_arith ()
 
15179
  {
 
15180
    as_val=$(( $* ))
 
15181
  }'
 
15182
else
 
15183
  as_fn_arith ()
 
15184
  {
 
15185
    as_val=`expr "$@" || test $? -eq 1`
 
15186
  }
 
15187
fi # as_fn_arith
 
15188
 
 
15189
 
 
15190
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
15191
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
15192
  as_expr=expr
 
15193
else
 
15194
  as_expr=false
 
15195
fi
 
15196
 
 
15197
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
15198
  as_basename=basename
 
15199
else
 
15200
  as_basename=false
 
15201
fi
 
15202
 
 
15203
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
15204
  as_dirname=dirname
 
15205
else
 
15206
  as_dirname=false
 
15207
fi
 
15208
 
 
15209
as_me=`$as_basename -- "$0" ||
 
15210
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
15211
         X"$0" : 'X\(//\)$' \| \
 
15212
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
15213
$as_echo X/"$0" |
 
15214
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
15215
            s//\1/
 
15216
            q
 
15217
          }
 
15218
          /^X\/\(\/\/\)$/{
 
15219
            s//\1/
 
15220
            q
 
15221
          }
 
15222
          /^X\/\(\/\).*/{
 
15223
            s//\1/
 
15224
            q
 
15225
          }
 
15226
          s/.*/./; q'`
 
15227
 
 
15228
# Avoid depending upon Character Ranges.
 
15229
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
15230
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
15231
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
15232
as_cr_digits='0123456789'
 
15233
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
15234
 
 
15235
ECHO_C= ECHO_N= ECHO_T=
 
15236
case `echo -n x` in #(((((
 
15237
-n*)
 
15238
  case `echo 'xy\c'` in
 
15239
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
15240
  xy)  ECHO_C='\c';;
 
15241
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
15242
       ECHO_T=' ';;
 
15243
  esac;;
 
15244
*)
 
15245
  ECHO_N='-n';;
 
15246
esac
 
15247
 
 
15248
rm -f conf$$ conf$$.exe conf$$.file
 
15249
if test -d conf$$.dir; then
 
15250
  rm -f conf$$.dir/conf$$.file
 
15251
else
 
15252
  rm -f conf$$.dir
 
15253
  mkdir conf$$.dir 2>/dev/null
 
15254
fi
 
15255
if (echo >conf$$.file) 2>/dev/null; then
 
15256
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
15257
    as_ln_s='ln -s'
 
15258
    # ... but there are two gotchas:
 
15259
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
15260
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
15261
    # In both cases, we have to default to `cp -p'.
 
15262
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
15263
      as_ln_s='cp -p'
 
15264
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
15265
    as_ln_s=ln
 
15266
  else
 
15267
    as_ln_s='cp -p'
 
15268
  fi
 
15269
else
 
15270
  as_ln_s='cp -p'
 
15271
fi
 
15272
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
15273
rmdir conf$$.dir 2>/dev/null
 
15274
 
 
15275
 
 
15276
# as_fn_mkdir_p
 
15277
# -------------
 
15278
# Create "$as_dir" as a directory, including parents if necessary.
 
15279
as_fn_mkdir_p ()
 
15280
{
 
15281
 
 
15282
  case $as_dir in #(
 
15283
  -*) as_dir=./$as_dir;;
 
15284
  esac
 
15285
  test -d "$as_dir" || eval $as_mkdir_p || {
 
15286
    as_dirs=
 
15287
    while :; do
 
15288
      case $as_dir in #(
 
15289
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
15290
      *) as_qdir=$as_dir;;
 
15291
      esac
 
15292
      as_dirs="'$as_qdir' $as_dirs"
 
15293
      as_dir=`$as_dirname -- "$as_dir" ||
 
15294
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
15295
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
15296
         X"$as_dir" : 'X\(//\)$' \| \
 
15297
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
15298
$as_echo X"$as_dir" |
 
15299
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
15300
            s//\1/
 
15301
            q
 
15302
          }
 
15303
          /^X\(\/\/\)[^/].*/{
 
15304
            s//\1/
 
15305
            q
 
15306
          }
 
15307
          /^X\(\/\/\)$/{
 
15308
            s//\1/
 
15309
            q
 
15310
          }
 
15311
          /^X\(\/\).*/{
 
15312
            s//\1/
 
15313
            q
 
15314
          }
 
15315
          s/.*/./; q'`
 
15316
      test -d "$as_dir" && break
 
15317
    done
 
15318
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
15319
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
15320
 
 
15321
 
 
15322
} # as_fn_mkdir_p
 
15323
if mkdir -p . 2>/dev/null; then
 
15324
  as_mkdir_p='mkdir -p "$as_dir"'
 
15325
else
 
15326
  test -d ./-p && rmdir ./-p
 
15327
  as_mkdir_p=false
 
15328
fi
 
15329
 
 
15330
if test -x / >/dev/null 2>&1; then
 
15331
  as_test_x='test -x'
 
15332
else
 
15333
  if ls -dL / >/dev/null 2>&1; then
 
15334
    as_ls_L_option=L
 
15335
  else
 
15336
    as_ls_L_option=
 
15337
  fi
 
15338
  as_test_x='
 
15339
    eval sh -c '\''
 
15340
      if test -d "$1"; then
 
15341
        test -d "$1/.";
 
15342
      else
 
15343
        case $1 in #(
 
15344
        -*)set "./$1";;
 
15345
        esac;
 
15346
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 
15347
        ???[sx]*):;;*)false;;esac;fi
 
15348
    '\'' sh
 
15349
  '
 
15350
fi
 
15351
as_executable_p=$as_test_x
 
15352
 
 
15353
# Sed expression to map a string onto a valid CPP name.
 
15354
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
15355
 
 
15356
# Sed expression to map a string onto a valid variable name.
 
15357
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
15358
 
 
15359
 
 
15360
exec 6>&1
 
15361
## ----------------------------------- ##
 
15362
## Main body of $CONFIG_STATUS script. ##
 
15363
## ----------------------------------- ##
 
15364
_ASEOF
 
15365
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
 
15366
 
 
15367
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
15368
# Save the log message, to keep $0 and so on meaningful, and to
 
15369
# report actual input values of CONFIG_FILES etc. instead of their
 
15370
# values after options handling.
 
15371
ac_log="
 
15372
This file was extended by lyricue $as_me 3.0.36, which was
 
15373
generated by GNU Autoconf 2.68.  Invocation command line was
 
15374
 
 
15375
  CONFIG_FILES    = $CONFIG_FILES
 
15376
  CONFIG_HEADERS  = $CONFIG_HEADERS
 
15377
  CONFIG_LINKS    = $CONFIG_LINKS
 
15378
  CONFIG_COMMANDS = $CONFIG_COMMANDS
 
15379
  $ $0 $@
 
15380
 
 
15381
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
15382
"
 
15383
 
 
15384
_ACEOF
 
15385
 
 
15386
case $ac_config_files in *"
 
15387
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
15388
esac
 
15389
 
 
15390
case $ac_config_headers in *"
 
15391
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
15392
esac
 
15393
 
 
15394
 
 
15395
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
15396
# Files that config.status was made for.
 
15397
config_files="$ac_config_files"
 
15398
config_headers="$ac_config_headers"
 
15399
config_commands="$ac_config_commands"
 
15400
 
 
15401
_ACEOF
 
15402
 
 
15403
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
15404
ac_cs_usage="\
 
15405
\`$as_me' instantiates files and other configuration actions
 
15406
from templates according to the current configuration.  Unless the files
 
15407
and actions are specified as TAGs, all are instantiated by default.
 
15408
 
 
15409
Usage: $0 [OPTION]... [TAG]...
 
15410
 
 
15411
  -h, --help       print this help, then exit
 
15412
  -V, --version    print version number and configuration settings, then exit
 
15413
      --config     print configuration, then exit
 
15414
  -q, --quiet, --silent
 
15415
                   do not print progress messages
 
15416
  -d, --debug      don't remove temporary files
 
15417
      --recheck    update $as_me by reconfiguring in the same conditions
 
15418
      --file=FILE[:TEMPLATE]
 
15419
                   instantiate the configuration file FILE
 
15420
      --header=FILE[:TEMPLATE]
 
15421
                   instantiate the configuration header FILE
 
15422
 
 
15423
Configuration files:
 
15424
$config_files
 
15425
 
 
15426
Configuration headers:
 
15427
$config_headers
 
15428
 
 
15429
Configuration commands:
 
15430
$config_commands
 
15431
 
 
15432
Report bugs to <http://www.lyricue.org>."
 
15433
 
 
15434
_ACEOF
 
15435
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
15436
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 
15437
ac_cs_version="\\
 
15438
lyricue config.status 3.0.36
 
15439
configured by $0, generated by GNU Autoconf 2.68,
 
15440
  with options \\"\$ac_cs_config\\"
 
15441
 
 
15442
Copyright (C) 2010 Free Software Foundation, Inc.
 
15443
This config.status script is free software; the Free Software Foundation
 
15444
gives unlimited permission to copy, distribute and modify it."
 
15445
 
 
15446
ac_pwd='$ac_pwd'
 
15447
srcdir='$srcdir'
 
15448
INSTALL='$INSTALL'
 
15449
MKDIR_P='$MKDIR_P'
 
15450
AWK='$AWK'
 
15451
test -n "\$AWK" || AWK=awk
 
15452
_ACEOF
 
15453
 
 
15454
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
15455
# The default lists apply if the user does not specify any file.
 
15456
ac_need_defaults=:
 
15457
while test $# != 0
 
15458
do
 
15459
  case $1 in
 
15460
  --*=?*)
 
15461
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
15462
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 
15463
    ac_shift=:
 
15464
    ;;
 
15465
  --*=)
 
15466
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
15467
    ac_optarg=
 
15468
    ac_shift=:
 
15469
    ;;
 
15470
  *)
 
15471
    ac_option=$1
 
15472
    ac_optarg=$2
 
15473
    ac_shift=shift
 
15474
    ;;
 
15475
  esac
 
15476
 
 
15477
  case $ac_option in
 
15478
  # Handling of the options.
 
15479
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 
15480
    ac_cs_recheck=: ;;
 
15481
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
15482
    $as_echo "$ac_cs_version"; exit ;;
 
15483
  --config | --confi | --conf | --con | --co | --c )
 
15484
    $as_echo "$ac_cs_config"; exit ;;
 
15485
  --debug | --debu | --deb | --de | --d | -d )
 
15486
    debug=: ;;
 
15487
  --file | --fil | --fi | --f )
 
15488
    $ac_shift
 
15489
    case $ac_optarg in
 
15490
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
15491
    '') as_fn_error $? "missing file argument" ;;
 
15492
    esac
 
15493
    as_fn_append CONFIG_FILES " '$ac_optarg'"
 
15494
    ac_need_defaults=false;;
 
15495
  --header | --heade | --head | --hea )
 
15496
    $ac_shift
 
15497
    case $ac_optarg in
 
15498
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
15499
    esac
 
15500
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
 
15501
    ac_need_defaults=false;;
 
15502
  --he | --h)
 
15503
    # Conflict between --help and --header
 
15504
    as_fn_error $? "ambiguous option: \`$1'
 
15505
Try \`$0 --help' for more information.";;
 
15506
  --help | --hel | -h )
 
15507
    $as_echo "$ac_cs_usage"; exit ;;
 
15508
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
15509
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
 
15510
    ac_cs_silent=: ;;
 
15511
 
 
15512
  # This is an error.
 
15513
  -*) as_fn_error $? "unrecognized option: \`$1'
 
15514
Try \`$0 --help' for more information." ;;
 
15515
 
 
15516
  *) as_fn_append ac_config_targets " $1"
 
15517
     ac_need_defaults=false ;;
 
15518
 
 
15519
  esac
 
15520
  shift
 
15521
done
 
15522
 
 
15523
ac_configure_extra_args=
 
15524
 
 
15525
if $ac_cs_silent; then
 
15526
  exec 6>/dev/null
 
15527
  ac_configure_extra_args="$ac_configure_extra_args --silent"
 
15528
fi
 
15529
 
 
15530
_ACEOF
 
15531
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
15532
if \$ac_cs_recheck; then
 
15533
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
15534
  shift
 
15535
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
15536
  CONFIG_SHELL='$SHELL'
 
15537
  export CONFIG_SHELL
 
15538
  exec "\$@"
 
15539
fi
 
15540
 
 
15541
_ACEOF
 
15542
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
15543
exec 5>>config.log
 
15544
{
 
15545
  echo
 
15546
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
15547
## Running $as_me. ##
 
15548
_ASBOX
 
15549
  $as_echo "$ac_log"
 
15550
} >&5
 
15551
 
 
15552
_ACEOF
 
15553
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
15554
#
 
15555
# INIT-COMMANDS
 
15556
#
 
15557
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 
15558
 
 
15559
 
 
15560
 
 
15561
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
15562
# if CDPATH is set.
 
15563
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
15564
 
 
15565
sed_quote_subst='$sed_quote_subst'
 
15566
double_quote_subst='$double_quote_subst'
 
15567
delay_variable_subst='$delay_variable_subst'
 
15568
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
 
15569
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
 
15570
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
 
15571
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
 
15572
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
 
15573
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
 
15574
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
 
15575
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
 
15576
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
 
15577
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
 
15578
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
 
15579
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
 
15580
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
 
15581
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
 
15582
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
 
15583
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
 
15584
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
 
15585
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
 
15586
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
 
15587
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
 
15588
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
 
15589
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
 
15590
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
 
15591
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
 
15592
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
 
15593
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
 
15594
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
 
15595
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
 
15596
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
 
15597
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
 
15598
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
 
15599
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
 
15600
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
 
15601
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
 
15602
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
 
15603
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
 
15604
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
 
15605
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
 
15606
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
 
15607
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
 
15608
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
 
15609
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
 
15610
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
 
15611
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
 
15612
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
15613
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
15614
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
 
15615
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
 
15616
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
 
15617
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
 
15618
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
 
15619
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
 
15620
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
 
15621
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
 
15622
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
 
15623
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"`'
 
15624
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
 
15625
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
 
15626
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
 
15627
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
 
15628
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
 
15629
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
 
15630
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
 
15631
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
 
15632
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
 
15633
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
 
15634
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
 
15635
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
 
15636
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
 
15637
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
 
15638
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
 
15639
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
 
15640
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
 
15641
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
 
15642
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
15643
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
 
15644
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
 
15645
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
 
15646
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
 
15647
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
 
15648
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
 
15649
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
15650
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
 
15651
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
15652
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
 
15653
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
15654
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
 
15655
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
15656
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
15657
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
 
15658
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
 
15659
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
 
15660
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
 
15661
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
 
15662
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
 
15663
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
15664
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
 
15665
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
 
15666
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
 
15667
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
 
15668
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
 
15669
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
 
15670
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
 
15671
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
 
15672
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
 
15673
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
 
15674
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
 
15675
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
15676
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
 
15677
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
 
15678
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
 
15679
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
15680
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
 
15681
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
 
15682
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
 
15683
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
 
15684
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
 
15685
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
15686
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
15687
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
 
15688
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
 
15689
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
 
15690
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
 
15691
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
 
15692
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
 
15693
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
 
15694
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
 
15695
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
 
15696
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
 
15697
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
 
15698
 
 
15699
LTCC='$LTCC'
 
15700
LTCFLAGS='$LTCFLAGS'
 
15701
compiler='$compiler_DEFAULT'
 
15702
 
 
15703
# A function that is used when there is no print builtin or printf.
 
15704
func_fallback_echo ()
 
15705
{
 
15706
  eval 'cat <<_LTECHO_EOF
 
15707
\$1
 
15708
_LTECHO_EOF'
 
15709
}
 
15710
 
 
15711
# Quote evaled strings.
 
15712
for var in SHELL \
 
15713
ECHO \
 
15714
SED \
 
15715
GREP \
 
15716
EGREP \
 
15717
FGREP \
 
15718
LD \
 
15719
NM \
 
15720
LN_S \
 
15721
lt_SP2NL \
 
15722
lt_NL2SP \
 
15723
reload_flag \
 
15724
OBJDUMP \
 
15725
deplibs_check_method \
 
15726
file_magic_cmd \
 
15727
file_magic_glob \
 
15728
want_nocaseglob \
 
15729
DLLTOOL \
 
15730
sharedlib_from_linklib_cmd \
 
15731
AR \
 
15732
AR_FLAGS \
 
15733
archiver_list_spec \
 
15734
STRIP \
 
15735
RANLIB \
 
15736
CC \
 
15737
CFLAGS \
 
15738
compiler \
 
15739
lt_cv_sys_global_symbol_pipe \
 
15740
lt_cv_sys_global_symbol_to_cdecl \
 
15741
lt_cv_sys_global_symbol_to_c_name_address \
 
15742
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
15743
nm_file_list_spec \
 
15744
lt_prog_compiler_no_builtin_flag \
 
15745
lt_prog_compiler_pic \
 
15746
lt_prog_compiler_wl \
 
15747
lt_prog_compiler_static \
 
15748
lt_cv_prog_compiler_c_o \
 
15749
need_locks \
 
15750
MANIFEST_TOOL \
 
15751
DSYMUTIL \
 
15752
NMEDIT \
 
15753
LIPO \
 
15754
OTOOL \
 
15755
OTOOL64 \
 
15756
shrext_cmds \
 
15757
export_dynamic_flag_spec \
 
15758
whole_archive_flag_spec \
 
15759
compiler_needs_object \
 
15760
with_gnu_ld \
 
15761
allow_undefined_flag \
 
15762
no_undefined_flag \
 
15763
hardcode_libdir_flag_spec \
 
15764
hardcode_libdir_flag_spec_ld \
 
15765
hardcode_libdir_separator \
 
15766
exclude_expsyms \
 
15767
include_expsyms \
 
15768
file_list_spec \
 
15769
variables_saved_for_relink \
 
15770
libname_spec \
 
15771
library_names_spec \
 
15772
soname_spec \
 
15773
install_override_mode \
 
15774
finish_eval \
 
15775
old_striplib \
 
15776
striplib; do
 
15777
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
 
15778
    *[\\\\\\\`\\"\\\$]*)
 
15779
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
15780
      ;;
 
15781
    *)
 
15782
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
15783
      ;;
 
15784
    esac
 
15785
done
 
15786
 
 
15787
# Double-quote double-evaled strings.
 
15788
for var in reload_cmds \
 
15789
old_postinstall_cmds \
 
15790
old_postuninstall_cmds \
 
15791
old_archive_cmds \
 
15792
extract_expsyms_cmds \
 
15793
old_archive_from_new_cmds \
 
15794
old_archive_from_expsyms_cmds \
 
15795
archive_cmds \
 
15796
archive_expsym_cmds \
 
15797
module_cmds \
 
15798
module_expsym_cmds \
 
15799
export_symbols_cmds \
 
15800
prelink_cmds \
 
15801
postlink_cmds \
 
15802
postinstall_cmds \
 
15803
postuninstall_cmds \
 
15804
finish_cmds \
 
15805
sys_lib_search_path_spec \
 
15806
sys_lib_dlsearch_path_spec; do
 
15807
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
 
15808
    *[\\\\\\\`\\"\\\$]*)
 
15809
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
15810
      ;;
 
15811
    *)
 
15812
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
15813
      ;;
 
15814
    esac
 
15815
done
 
15816
 
 
15817
ac_aux_dir='$ac_aux_dir'
 
15818
xsi_shell='$xsi_shell'
 
15819
lt_shell_append='$lt_shell_append'
 
15820
 
 
15821
# See if we are running on zsh, and set the options which allow our
 
15822
# commands through without removal of \ escapes INIT.
 
15823
if test -n "\${ZSH_VERSION+set}" ; then
 
15824
   setopt NO_GLOB_SUBST
 
15825
fi
 
15826
 
 
15827
 
 
15828
    PACKAGE='$PACKAGE'
 
15829
    VERSION='$VERSION'
 
15830
    TIMESTAMP='$TIMESTAMP'
 
15831
    RM='$RM'
 
15832
    ofile='$ofile'
 
15833
 
 
15834
 
 
15835
 
 
15836
 
 
15837
_ACEOF
 
15838
 
 
15839
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
15840
 
 
15841
# Handling of arguments.
 
15842
for ac_config_target in $ac_config_targets
 
15843
do
 
15844
  case $ac_config_target in
 
15845
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
15846
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
15847
    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
 
15848
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
 
15849
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
15850
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 
15851
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
 
15852
    "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
 
15853
    "help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
 
15854
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
 
15855
 
 
15856
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 
15857
  esac
 
15858
done
 
15859
 
 
15860
 
 
15861
# If the user did not use the arguments to specify the items to instantiate,
 
15862
# then the envvar interface is used.  Set only those that are not.
 
15863
# We use the long form for the default assignment because of an extremely
 
15864
# bizarre bug on SunOS 4.1.3.
 
15865
if $ac_need_defaults; then
 
15866
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 
15867
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
 
15868
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
 
15869
fi
 
15870
 
 
15871
# Have a temporary directory for convenience.  Make it in the build tree
 
15872
# simply because there is no reason against having it here, and in addition,
 
15873
# creating and moving files from /tmp can sometimes cause problems.
 
15874
# Hook for its removal unless debugging.
 
15875
# Note that there is a small window in which the directory will not be cleaned:
 
15876
# after its creation but before its name has been assigned to `$tmp'.
 
15877
$debug ||
 
15878
{
 
15879
  tmp= ac_tmp=
 
15880
  trap 'exit_status=$?
 
15881
  : "${ac_tmp:=$tmp}"
 
15882
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
 
15883
' 0
 
15884
  trap 'as_fn_exit 1' 1 2 13 15
 
15885
}
 
15886
# Create a (secure) tmp directory for tmp files.
 
15887
 
 
15888
{
 
15889
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 
15890
  test -d "$tmp"
 
15891
}  ||
 
15892
{
 
15893
  tmp=./conf$$-$RANDOM
 
15894
  (umask 077 && mkdir "$tmp")
 
15895
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
15896
ac_tmp=$tmp
 
15897
 
 
15898
# Set up the scripts for CONFIG_FILES section.
 
15899
# No need to generate them if there are no CONFIG_FILES.
 
15900
# This happens for instance with `./config.status config.h'.
 
15901
if test -n "$CONFIG_FILES"; then
 
15902
 
 
15903
 
 
15904
ac_cr=`echo X | tr X '\015'`
 
15905
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
15906
# But we know of no other shell where ac_cr would be empty at this
 
15907
# point, so we can use a bashism as a fallback.
 
15908
if test "x$ac_cr" = x; then
 
15909
  eval ac_cr=\$\'\\r\'
 
15910
fi
 
15911
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
15912
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
15913
  ac_cs_awk_cr='\\r'
 
15914
else
 
15915
  ac_cs_awk_cr=$ac_cr
 
15916
fi
 
15917
 
 
15918
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
 
15919
_ACEOF
 
15920
 
 
15921
 
 
15922
{
 
15923
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
15924
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
15925
  echo "_ACEOF"
 
15926
} >conf$$subs.sh ||
 
15927
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
15928
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
 
15929
ac_delim='%!_!# '
 
15930
for ac_last_try in false false false false false :; do
 
15931
  . ./conf$$subs.sh ||
 
15932
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
15933
 
 
15934
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
15935
  if test $ac_delim_n = $ac_delim_num; then
 
15936
    break
 
15937
  elif $ac_last_try; then
 
15938
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
15939
  else
 
15940
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
15941
  fi
 
15942
done
 
15943
rm -f conf$$subs.sh
 
15944
 
 
15945
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
15946
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
 
15947
_ACEOF
 
15948
sed -n '
 
15949
h
 
15950
s/^/S["/; s/!.*/"]=/
 
15951
p
 
15952
g
 
15953
s/^[^!]*!//
 
15954
:repl
 
15955
t repl
 
15956
s/'"$ac_delim"'$//
 
15957
t delim
 
15958
:nl
 
15959
h
 
15960
s/\(.\{148\}\)..*/\1/
 
15961
t more1
 
15962
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
15963
p
 
15964
n
 
15965
b repl
 
15966
:more1
 
15967
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
15968
p
 
15969
g
 
15970
s/.\{148\}//
 
15971
t nl
 
15972
:delim
 
15973
h
 
15974
s/\(.\{148\}\)..*/\1/
 
15975
t more2
 
15976
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
15977
p
 
15978
b
 
15979
:more2
 
15980
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
15981
p
 
15982
g
 
15983
s/.\{148\}//
 
15984
t delim
 
15985
' <conf$$subs.awk | sed '
 
15986
/^[^""]/{
 
15987
  N
 
15988
  s/\n//
 
15989
}
 
15990
' >>$CONFIG_STATUS || ac_write_fail=1
 
15991
rm -f conf$$subs.awk
 
15992
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
15993
_ACAWK
 
15994
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
 
15995
  for (key in S) S_is_set[key] = 1
 
15996
  FS = ""
 
15997
 
 
15998
}
 
15999
{
 
16000
  line = $ 0
 
16001
  nfields = split(line, field, "@")
 
16002
  substed = 0
 
16003
  len = length(field[1])
 
16004
  for (i = 2; i < nfields; i++) {
 
16005
    key = field[i]
 
16006
    keylen = length(key)
 
16007
    if (S_is_set[key]) {
 
16008
      value = S[key]
 
16009
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
16010
      len += length(value) + length(field[++i])
 
16011
      substed = 1
 
16012
    } else
 
16013
      len += 1 + keylen
 
16014
  }
 
16015
 
 
16016
  print line
 
16017
}
 
16018
 
 
16019
_ACAWK
 
16020
_ACEOF
 
16021
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
16022
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
16023
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
16024
else
 
16025
  cat
 
16026
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
 
16027
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
 
16028
_ACEOF
 
16029
 
 
16030
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 
16031
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
 
16032
# trailing colons and then remove the whole line if VPATH becomes empty
 
16033
# (actually we leave an empty line to preserve line numbers).
 
16034
if test "x$srcdir" = x.; then
 
16035
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 
16036
h
 
16037
s///
 
16038
s/^/:/
 
16039
s/[      ]*$/:/
 
16040
s/:\$(srcdir):/:/g
 
16041
s/:\${srcdir}:/:/g
 
16042
s/:@srcdir@:/:/g
 
16043
s/^:*//
 
16044
s/:*$//
 
16045
x
 
16046
s/\(=[   ]*\).*/\1/
 
16047
G
 
16048
s/\n//
 
16049
s/^[^=]*=[       ]*$//
 
16050
}'
 
16051
fi
 
16052
 
 
16053
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
16054
fi # test -n "$CONFIG_FILES"
 
16055
 
 
16056
# Set up the scripts for CONFIG_HEADERS section.
 
16057
# No need to generate them if there are no CONFIG_HEADERS.
 
16058
# This happens for instance with `./config.status Makefile'.
 
16059
if test -n "$CONFIG_HEADERS"; then
 
16060
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
 
16061
BEGIN {
 
16062
_ACEOF
 
16063
 
 
16064
# Transform confdefs.h into an awk script `defines.awk', embedded as
 
16065
# here-document in config.status, that substitutes the proper values into
 
16066
# config.h.in to produce config.h.
 
16067
 
 
16068
# Create a delimiter string that does not exist in confdefs.h, to ease
 
16069
# handling of long lines.
 
16070
ac_delim='%!_!# '
 
16071
for ac_last_try in false false :; do
 
16072
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 
16073
  if test -z "$ac_tt"; then
 
16074
    break
 
16075
  elif $ac_last_try; then
 
16076
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
 
16077
  else
 
16078
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
16079
  fi
 
16080
done
 
16081
 
 
16082
# For the awk script, D is an array of macro values keyed by name,
 
16083
# likewise P contains macro parameters if any.  Preserve backslash
 
16084
# newline sequences.
 
16085
 
 
16086
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
16087
sed -n '
 
16088
s/.\{148\}/&'"$ac_delim"'/g
 
16089
t rset
 
16090
:rset
 
16091
s/^[     ]*#[    ]*define[       ][      ]*/ /
 
16092
t def
 
16093
d
 
16094
:def
 
16095
s/\\$//
 
16096
t bsnl
 
16097
s/["\\]/\\&/g
 
16098
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
16099
D["\1"]=" \3"/p
 
16100
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 
16101
d
 
16102
:bsnl
 
16103
s/["\\]/\\&/g
 
16104
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
16105
D["\1"]=" \3\\\\\\n"\\/p
 
16106
t cont
 
16107
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 
16108
t cont
 
16109
d
 
16110
:cont
 
16111
n
 
16112
s/.\{148\}/&'"$ac_delim"'/g
 
16113
t clear
 
16114
:clear
 
16115
s/\\$//
 
16116
t bsnlc
 
16117
s/["\\]/\\&/g; s/^/"/; s/$/"/p
 
16118
d
 
16119
:bsnlc
 
16120
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 
16121
b cont
 
16122
' <confdefs.h | sed '
 
16123
s/'"$ac_delim"'/"\\\
 
16124
"/g' >>$CONFIG_STATUS || ac_write_fail=1
 
16125
 
 
16126
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
16127
  for (key in D) D_is_set[key] = 1
 
16128
  FS = ""
 
16129
}
 
16130
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 
16131
  line = \$ 0
 
16132
  split(line, arg, " ")
 
16133
  if (arg[1] == "#") {
 
16134
    defundef = arg[2]
 
16135
    mac1 = arg[3]
 
16136
  } else {
 
16137
    defundef = substr(arg[1], 2)
 
16138
    mac1 = arg[2]
 
16139
  }
 
16140
  split(mac1, mac2, "(") #)
 
16141
  macro = mac2[1]
 
16142
  prefix = substr(line, 1, index(line, defundef) - 1)
 
16143
  if (D_is_set[macro]) {
 
16144
    # Preserve the white space surrounding the "#".
 
16145
    print prefix "define", macro P[macro] D[macro]
 
16146
    next
 
16147
  } else {
 
16148
    # Replace #undef with comments.  This is necessary, for example,
 
16149
    # in the case of _POSIX_SOURCE, which is predefined and required
 
16150
    # on some systems where configure will not decide to define it.
 
16151
    if (defundef == "undef") {
 
16152
      print "/*", prefix defundef, macro, "*/"
 
16153
      next
 
16154
    }
 
16155
  }
 
16156
}
 
16157
{ print }
 
16158
_ACAWK
 
16159
_ACEOF
 
16160
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
16161
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
 
16162
fi # test -n "$CONFIG_HEADERS"
 
16163
 
 
16164
 
 
16165
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 
16166
shift
 
16167
for ac_tag
 
16168
do
 
16169
  case $ac_tag in
 
16170
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
16171
  esac
 
16172
  case $ac_mode$ac_tag in
 
16173
  :[FHL]*:*);;
 
16174
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
 
16175
  :[FH]-) ac_tag=-:-;;
 
16176
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
16177
  esac
 
16178
  ac_save_IFS=$IFS
 
16179
  IFS=:
 
16180
  set x $ac_tag
 
16181
  IFS=$ac_save_IFS
 
16182
  shift
 
16183
  ac_file=$1
 
16184
  shift
 
16185
 
 
16186
  case $ac_mode in
 
16187
  :L) ac_source=$1;;
 
16188
  :[FH])
 
16189
    ac_file_inputs=
 
16190
    for ac_f
 
16191
    do
 
16192
      case $ac_f in
 
16193
      -) ac_f="$ac_tmp/stdin";;
 
16194
      *) # Look for the file first in the build tree, then in the source tree
 
16195
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
16196
         # because $ac_f cannot contain `:'.
 
16197
         test -f "$ac_f" ||
 
16198
           case $ac_f in
 
16199
           [\\/$]*) false;;
 
16200
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
16201
           esac ||
 
16202
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 
16203
      esac
 
16204
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
16205
      as_fn_append ac_file_inputs " '$ac_f'"
 
16206
    done
 
16207
 
 
16208
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
16209
    # use $as_me), people would be surprised to read:
 
16210
    #    /* config.h.  Generated by config.status.  */
 
16211
    configure_input='Generated from '`
 
16212
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
16213
        `' by configure.'
 
16214
    if test x"$ac_file" != x-; then
 
16215
      configure_input="$ac_file.  $configure_input"
 
16216
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
 
16217
$as_echo "$as_me: creating $ac_file" >&6;}
 
16218
    fi
 
16219
    # Neutralize special characters interpreted by sed in replacement strings.
 
16220
    case $configure_input in #(
 
16221
    *\&* | *\|* | *\\* )
 
16222
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
16223
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
16224
    *) ac_sed_conf_input=$configure_input;;
 
16225
    esac
 
16226
 
 
16227
    case $ac_tag in
 
16228
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
16229
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
 
16230
    esac
 
16231
    ;;
 
16232
  esac
 
16233
 
 
16234
  ac_dir=`$as_dirname -- "$ac_file" ||
 
16235
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
16236
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
16237
         X"$ac_file" : 'X\(//\)$' \| \
 
16238
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 
16239
$as_echo X"$ac_file" |
 
16240
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
16241
            s//\1/
 
16242
            q
 
16243
          }
 
16244
          /^X\(\/\/\)[^/].*/{
 
16245
            s//\1/
 
16246
            q
 
16247
          }
 
16248
          /^X\(\/\/\)$/{
 
16249
            s//\1/
 
16250
            q
 
16251
          }
 
16252
          /^X\(\/\).*/{
 
16253
            s//\1/
 
16254
            q
 
16255
          }
 
16256
          s/.*/./; q'`
 
16257
  as_dir="$ac_dir"; as_fn_mkdir_p
 
16258
  ac_builddir=.
 
16259
 
 
16260
case "$ac_dir" in
 
16261
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
16262
*)
 
16263
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
16264
  # A ".." for each directory in $ac_dir_suffix.
 
16265
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
16266
  case $ac_top_builddir_sub in
 
16267
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
16268
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
16269
  esac ;;
 
16270
esac
 
16271
ac_abs_top_builddir=$ac_pwd
 
16272
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
16273
# for backward compatibility:
 
16274
ac_top_builddir=$ac_top_build_prefix
 
16275
 
 
16276
case $srcdir in
 
16277
  .)  # We are building in place.
 
16278
    ac_srcdir=.
 
16279
    ac_top_srcdir=$ac_top_builddir_sub
 
16280
    ac_abs_top_srcdir=$ac_pwd ;;
 
16281
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
16282
    ac_srcdir=$srcdir$ac_dir_suffix;
 
16283
    ac_top_srcdir=$srcdir
 
16284
    ac_abs_top_srcdir=$srcdir ;;
 
16285
  *) # Relative name.
 
16286
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
16287
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
16288
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
16289
esac
 
16290
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
16291
 
 
16292
 
 
16293
  case $ac_mode in
 
16294
  :F)
 
16295
  #
 
16296
  # CONFIG_FILE
 
16297
  #
 
16298
 
 
16299
  case $INSTALL in
 
16300
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 
16301
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 
16302
  esac
 
16303
  ac_MKDIR_P=$MKDIR_P
 
16304
  case $MKDIR_P in
 
16305
  [\\/$]* | ?:[\\/]* ) ;;
 
16306
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 
16307
  esac
 
16308
_ACEOF
 
16309
 
 
16310
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
16311
# If the template does not know about datarootdir, expand it.
 
16312
# FIXME: This hack should be removed a few years after 2.60.
 
16313
ac_datarootdir_hack=; ac_datarootdir_seen=
 
16314
ac_sed_dataroot='
 
16315
/datarootdir/ {
 
16316
  p
 
16317
  q
 
16318
}
 
16319
/@datadir@/p
 
16320
/@docdir@/p
 
16321
/@infodir@/p
 
16322
/@localedir@/p
 
16323
/@mandir@/p'
 
16324
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 
16325
*datarootdir*) ac_datarootdir_seen=yes;;
 
16326
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
16327
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
16328
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
16329
_ACEOF
 
16330
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
16331
  ac_datarootdir_hack='
 
16332
  s&@datadir@&$datadir&g
 
16333
  s&@docdir@&$docdir&g
 
16334
  s&@infodir@&$infodir&g
 
16335
  s&@localedir@&$localedir&g
 
16336
  s&@mandir@&$mandir&g
 
16337
  s&\\\${datarootdir}&$datarootdir&g' ;;
 
16338
esac
 
16339
_ACEOF
 
16340
 
 
16341
# Neutralize VPATH when `$srcdir' = `.'.
 
16342
# Shell code in configure.ac might set extrasub.
 
16343
# FIXME: do we really want to maintain this feature?
 
16344
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
16345
ac_sed_extra="$ac_vpsub
 
16346
$extrasub
 
16347
_ACEOF
 
16348
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
16349
:t
 
16350
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
16351
s|@configure_input@|$ac_sed_conf_input|;t t
 
16352
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
16353
s&@top_build_prefix@&$ac_top_build_prefix&;t t
 
16354
s&@srcdir@&$ac_srcdir&;t t
 
16355
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
16356
s&@top_srcdir@&$ac_top_srcdir&;t t
 
16357
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
16358
s&@builddir@&$ac_builddir&;t t
 
16359
s&@abs_builddir@&$ac_abs_builddir&;t t
 
16360
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
16361
s&@INSTALL@&$ac_INSTALL&;t t
 
16362
s&@MKDIR_P@&$ac_MKDIR_P&;t t
 
16363
$ac_datarootdir_hack
 
16364
"
 
16365
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
16366
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
16367
 
 
16368
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
16369
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
16370
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
16371
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
 
16372
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
16373
which seems to be undefined.  Please make sure it is defined" >&5
 
16374
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
16375
which seems to be undefined.  Please make sure it is defined" >&2;}
 
16376
 
 
16377
  rm -f "$ac_tmp/stdin"
 
16378
  case $ac_file in
 
16379
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
16380
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
 
16381
  esac \
 
16382
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
16383
 ;;
 
16384
  :H)
 
16385
  #
 
16386
  # CONFIG_HEADER
 
16387
  #
 
16388
  if test x"$ac_file" != x-; then
 
16389
    {
 
16390
      $as_echo "/* $configure_input  */" \
 
16391
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 
16392
    } >"$ac_tmp/config.h" \
 
16393
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
16394
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
 
16395
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
 
16396
$as_echo "$as_me: $ac_file is unchanged" >&6;}
 
16397
    else
 
16398
      rm -f "$ac_file"
 
16399
      mv "$ac_tmp/config.h" "$ac_file" \
 
16400
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
16401
    fi
 
16402
  else
 
16403
    $as_echo "/* $configure_input  */" \
 
16404
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
 
16405
      || as_fn_error $? "could not create -" "$LINENO" 5
 
16406
  fi
 
16407
# Compute "$ac_file"'s index in $config_headers.
 
16408
_am_arg="$ac_file"
 
16409
_am_stamp_count=1
 
16410
for _am_header in $config_headers :; do
 
16411
  case $_am_header in
 
16412
    $_am_arg | $_am_arg:* )
 
16413
      break ;;
 
16414
    * )
 
16415
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
 
16416
  esac
 
16417
done
 
16418
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 
16419
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
16420
         X"$_am_arg" : 'X\(//\)[^/]' \| \
 
16421
         X"$_am_arg" : 'X\(//\)$' \| \
 
16422
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 
16423
$as_echo X"$_am_arg" |
 
16424
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
16425
            s//\1/
 
16426
            q
 
16427
          }
 
16428
          /^X\(\/\/\)[^/].*/{
 
16429
            s//\1/
 
16430
            q
 
16431
          }
 
16432
          /^X\(\/\/\)$/{
 
16433
            s//\1/
 
16434
            q
 
16435
          }
 
16436
          /^X\(\/\).*/{
 
16437
            s//\1/
 
16438
            q
 
16439
          }
 
16440
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
16441
 ;;
 
16442
 
 
16443
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
 
16444
$as_echo "$as_me: executing $ac_file commands" >&6;}
 
16445
 ;;
 
16446
  esac
 
16447
 
 
16448
 
 
16449
  case $ac_file$ac_mode in
 
16450
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 
16451
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
16452
  # are listed without --file.  Let's play safe and only enable the eval
 
16453
  # if we detect the quoting.
 
16454
  case $CONFIG_FILES in
 
16455
  *\'*) eval set x "$CONFIG_FILES" ;;
 
16456
  *)   set x $CONFIG_FILES ;;
 
16457
  esac
 
16458
  shift
 
16459
  for mf
 
16460
  do
 
16461
    # Strip MF so we end up with the name of the file.
 
16462
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
16463
    # Check whether this is an Automake generated Makefile or not.
 
16464
    # We used to match only the files named `Makefile.in', but
 
16465
    # some people rename them; so instead we look at the file content.
 
16466
    # Grep'ing the first line is not enough: some people post-process
 
16467
    # each Makefile.in and add a new line on top of each file to say so.
 
16468
    # Grep'ing the whole file is not good either: AIX grep has a line
 
16469
    # limit of 2048, but all sed's we know have understand at least 4000.
 
16470
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
16471
      dirpart=`$as_dirname -- "$mf" ||
 
16472
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
16473
         X"$mf" : 'X\(//\)[^/]' \| \
 
16474
         X"$mf" : 'X\(//\)$' \| \
 
16475
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 
16476
$as_echo X"$mf" |
 
16477
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
16478
            s//\1/
 
16479
            q
 
16480
          }
 
16481
          /^X\(\/\/\)[^/].*/{
 
16482
            s//\1/
 
16483
            q
 
16484
          }
 
16485
          /^X\(\/\/\)$/{
 
16486
            s//\1/
 
16487
            q
 
16488
          }
 
16489
          /^X\(\/\).*/{
 
16490
            s//\1/
 
16491
            q
 
16492
          }
 
16493
          s/.*/./; q'`
 
16494
    else
 
16495
      continue
 
16496
    fi
 
16497
    # Extract the definition of DEPDIR, am__include, and am__quote
 
16498
    # from the Makefile without running `make'.
 
16499
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
16500
    test -z "$DEPDIR" && continue
 
16501
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
16502
    test -z "am__include" && continue
 
16503
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
16504
    # When using ansi2knr, U may be empty or an underscore; expand it
 
16505
    U=`sed -n 's/^U = //p' < "$mf"`
 
16506
    # Find all dependency output files, they are included files with
 
16507
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
16508
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
16509
    # expansion.
 
16510
    for file in `sed -n "
 
16511
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
16512
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
16513
      # Make sure the directory exists.
 
16514
      test -f "$dirpart/$file" && continue
 
16515
      fdir=`$as_dirname -- "$file" ||
 
16516
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
16517
         X"$file" : 'X\(//\)[^/]' \| \
 
16518
         X"$file" : 'X\(//\)$' \| \
 
16519
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 
16520
$as_echo X"$file" |
 
16521
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
16522
            s//\1/
 
16523
            q
 
16524
          }
 
16525
          /^X\(\/\/\)[^/].*/{
 
16526
            s//\1/
 
16527
            q
 
16528
          }
 
16529
          /^X\(\/\/\)$/{
 
16530
            s//\1/
 
16531
            q
 
16532
          }
 
16533
          /^X\(\/\).*/{
 
16534
            s//\1/
 
16535
            q
 
16536
          }
 
16537
          s/.*/./; q'`
 
16538
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
 
16539
      # echo "creating $dirpart/$file"
 
16540
      echo '# dummy' > "$dirpart/$file"
 
16541
    done
 
16542
  done
 
16543
}
 
16544
 ;;
 
16545
    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
 
16546
        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
 
16547
      esac ;;
 
16548
    "libtool":C)
 
16549
 
 
16550
    # See if we are running on zsh, and set the options which allow our
 
16551
    # commands through without removal of \ escapes.
 
16552
    if test -n "${ZSH_VERSION+set}" ; then
 
16553
      setopt NO_GLOB_SUBST
 
16554
    fi
 
16555
 
 
16556
    cfgfile="${ofile}T"
 
16557
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 
16558
    $RM "$cfgfile"
 
16559
 
 
16560
    cat <<_LT_EOF >> "$cfgfile"
 
16561
#! $SHELL
 
16562
 
 
16563
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
16564
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 
16565
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
16566
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
16567
#
 
16568
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
16569
#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
 
16570
#                 Inc.
 
16571
#   Written by Gordon Matzigkeit, 1996
 
16572
#
 
16573
#   This file is part of GNU Libtool.
 
16574
#
 
16575
# GNU Libtool is free software; you can redistribute it and/or
 
16576
# modify it under the terms of the GNU General Public License as
 
16577
# published by the Free Software Foundation; either version 2 of
 
16578
# the License, or (at your option) any later version.
 
16579
#
 
16580
# As a special exception to the GNU General Public License,
 
16581
# if you distribute this file as part of a program or library that
 
16582
# is built using GNU Libtool, you may include this file under the
 
16583
# same distribution terms that you use for the rest of that program.
 
16584
#
 
16585
# GNU Libtool is distributed in the hope that it will be useful,
 
16586
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
16587
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
16588
# GNU General Public License for more details.
 
16589
#
 
16590
# You should have received a copy of the GNU General Public License
 
16591
# along with GNU Libtool; see the file COPYING.  If not, a copy
 
16592
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 
16593
# obtained by writing to the Free Software Foundation, Inc.,
 
16594
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
16595
 
 
16596
 
 
16597
# The names of the tagged configurations supported by this script.
 
16598
available_tags=""
 
16599
 
 
16600
# ### BEGIN LIBTOOL CONFIG
 
16601
 
 
16602
# Which release of libtool.m4 was used?
 
16603
macro_version=$macro_version
 
16604
macro_revision=$macro_revision
 
16605
 
 
16606
# Whether or not to build shared libraries.
 
16607
build_libtool_libs=$enable_shared
 
16608
 
 
16609
# Whether or not to build static libraries.
 
16610
build_old_libs=$enable_static
 
16611
 
 
16612
# What type of objects to build.
 
16613
pic_mode=$pic_mode
 
16614
 
 
16615
# Whether or not to optimize for fast installation.
 
16616
fast_install=$enable_fast_install
 
16617
 
 
16618
# Shell to use when invoking shell scripts.
 
16619
SHELL=$lt_SHELL
 
16620
 
 
16621
# An echo program that protects backslashes.
 
16622
ECHO=$lt_ECHO
 
16623
 
 
16624
# The host system.
 
16625
host_alias=$host_alias
 
16626
host=$host
 
16627
host_os=$host_os
 
16628
 
 
16629
# The build system.
 
16630
build_alias=$build_alias
 
16631
build=$build
 
16632
build_os=$build_os
 
16633
 
 
16634
# A sed program that does not truncate output.
 
16635
SED=$lt_SED
 
16636
 
 
16637
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
16638
Xsed="\$SED -e 1s/^X//"
 
16639
 
 
16640
# A grep program that handles long lines.
 
16641
GREP=$lt_GREP
 
16642
 
 
16643
# An ERE matcher.
 
16644
EGREP=$lt_EGREP
 
16645
 
 
16646
# A literal string matcher.
 
16647
FGREP=$lt_FGREP
 
16648
 
 
16649
# A BSD- or MS-compatible name lister.
 
16650
NM=$lt_NM
 
16651
 
 
16652
# Whether we need soft or hard links.
 
16653
LN_S=$lt_LN_S
 
16654
 
 
16655
# What is the maximum length of a command?
 
16656
max_cmd_len=$max_cmd_len
 
16657
 
 
16658
# Object file suffix (normally "o").
 
16659
objext=$ac_objext
 
16660
 
 
16661
# Executable file suffix (normally "").
 
16662
exeext=$exeext
 
16663
 
 
16664
# whether the shell understands "unset".
 
16665
lt_unset=$lt_unset
 
16666
 
 
16667
# turn spaces into newlines.
 
16668
SP2NL=$lt_lt_SP2NL
 
16669
 
 
16670
# turn newlines into spaces.
 
16671
NL2SP=$lt_lt_NL2SP
 
16672
 
 
16673
# convert \$build file names to \$host format.
 
16674
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
16675
 
 
16676
# convert \$build files to toolchain format.
 
16677
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
16678
 
 
16679
# An object symbol dumper.
 
16680
OBJDUMP=$lt_OBJDUMP
 
16681
 
 
16682
# Method to check whether dependent libraries are shared objects.
 
16683
deplibs_check_method=$lt_deplibs_check_method
 
16684
 
 
16685
# Command to use when deplibs_check_method = "file_magic".
 
16686
file_magic_cmd=$lt_file_magic_cmd
 
16687
 
 
16688
# How to find potential files when deplibs_check_method = "file_magic".
 
16689
file_magic_glob=$lt_file_magic_glob
 
16690
 
 
16691
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
 
16692
want_nocaseglob=$lt_want_nocaseglob
 
16693
 
 
16694
# DLL creation program.
 
16695
DLLTOOL=$lt_DLLTOOL
 
16696
 
 
16697
# Command to associate shared and link libraries.
 
16698
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
 
16699
 
 
16700
# The archiver.
 
16701
AR=$lt_AR
 
16702
 
 
16703
# Flags to create an archive.
 
16704
AR_FLAGS=$lt_AR_FLAGS
 
16705
 
 
16706
# How to feed a file listing to the archiver.
 
16707
archiver_list_spec=$lt_archiver_list_spec
 
16708
 
 
16709
# A symbol stripping program.
 
16710
STRIP=$lt_STRIP
 
16711
 
 
16712
# Commands used to install an old-style archive.
 
16713
RANLIB=$lt_RANLIB
 
16714
old_postinstall_cmds=$lt_old_postinstall_cmds
 
16715
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
16716
 
 
16717
# Whether to use a lock for old archive extraction.
 
16718
lock_old_archive_extraction=$lock_old_archive_extraction
 
16719
 
 
16720
# A C compiler.
 
16721
LTCC=$lt_CC
 
16722
 
 
16723
# LTCC compiler flags.
 
16724
LTCFLAGS=$lt_CFLAGS
 
16725
 
 
16726
# Take the output of nm and produce a listing of raw symbols and C names.
 
16727
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
16728
 
 
16729
# Transform the output of nm in a proper C declaration.
 
16730
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
16731
 
 
16732
# Transform the output of nm in a C name address pair.
 
16733
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
16734
 
 
16735
# Transform the output of nm in a C name address pair when lib prefix is needed.
 
16736
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 
16737
 
 
16738
# Specify filename containing input files for \$NM.
 
16739
nm_file_list_spec=$lt_nm_file_list_spec
 
16740
 
 
16741
# The root where to search for dependent libraries,and in which our libraries should be installed.
 
16742
lt_sysroot=$lt_sysroot
 
16743
 
 
16744
# The name of the directory that contains temporary libtool files.
 
16745
objdir=$objdir
 
16746
 
 
16747
# Used to examine libraries when file_magic_cmd begins with "file".
 
16748
MAGIC_CMD=$MAGIC_CMD
 
16749
 
 
16750
# Must we lock files when doing compilation?
 
16751
need_locks=$lt_need_locks
 
16752
 
 
16753
# Manifest tool.
 
16754
MANIFEST_TOOL=$lt_MANIFEST_TOOL
 
16755
 
 
16756
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 
16757
DSYMUTIL=$lt_DSYMUTIL
 
16758
 
 
16759
# Tool to change global to local symbols on Mac OS X.
 
16760
NMEDIT=$lt_NMEDIT
 
16761
 
 
16762
# Tool to manipulate fat objects and archives on Mac OS X.
 
16763
LIPO=$lt_LIPO
 
16764
 
 
16765
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
 
16766
OTOOL=$lt_OTOOL
 
16767
 
 
16768
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 
16769
OTOOL64=$lt_OTOOL64
 
16770
 
 
16771
# Old archive suffix (normally "a").
 
16772
libext=$libext
 
16773
 
 
16774
# Shared library suffix (normally ".so").
 
16775
shrext_cmds=$lt_shrext_cmds
 
16776
 
 
16777
# The commands to extract the exported symbol list from a shared archive.
 
16778
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
16779
 
 
16780
# Variables whose values should be saved in libtool wrapper scripts and
 
16781
# restored at link time.
 
16782
variables_saved_for_relink=$lt_variables_saved_for_relink
 
16783
 
 
16784
# Do we need the "lib" prefix for modules?
 
16785
need_lib_prefix=$need_lib_prefix
 
16786
 
 
16787
# Do we need a version for libraries?
 
16788
need_version=$need_version
 
16789
 
 
16790
# Library versioning type.
 
16791
version_type=$version_type
 
16792
 
 
16793
# Shared library runtime path variable.
 
16794
runpath_var=$runpath_var
 
16795
 
 
16796
# Shared library path variable.
 
16797
shlibpath_var=$shlibpath_var
 
16798
 
 
16799
# Is shlibpath searched before the hard-coded library search path?
 
16800
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
16801
 
 
16802
# Format of library name prefix.
 
16803
libname_spec=$lt_libname_spec
 
16804
 
 
16805
# List of archive names.  First name is the real one, the rest are links.
 
16806
# The last name is the one that the linker finds with -lNAME
 
16807
library_names_spec=$lt_library_names_spec
 
16808
 
 
16809
# The coded name of the library, if different from the real name.
 
16810
soname_spec=$lt_soname_spec
 
16811
 
 
16812
# Permission mode override for installation of shared libraries.
 
16813
install_override_mode=$lt_install_override_mode
 
16814
 
 
16815
# Command to use after installation of a shared archive.
 
16816
postinstall_cmds=$lt_postinstall_cmds
 
16817
 
 
16818
# Command to use after uninstallation of a shared archive.
 
16819
postuninstall_cmds=$lt_postuninstall_cmds
 
16820
 
 
16821
# Commands used to finish a libtool library installation in a directory.
 
16822
finish_cmds=$lt_finish_cmds
 
16823
 
 
16824
# As "finish_cmds", except a single script fragment to be evaled but
 
16825
# not shown.
 
16826
finish_eval=$lt_finish_eval
 
16827
 
 
16828
# Whether we should hardcode library paths into libraries.
 
16829
hardcode_into_libs=$hardcode_into_libs
 
16830
 
 
16831
# Compile-time system search path for libraries.
 
16832
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
16833
 
 
16834
# Run-time system search path for libraries.
 
16835
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
16836
 
 
16837
# Whether dlopen is supported.
 
16838
dlopen_support=$enable_dlopen
 
16839
 
 
16840
# Whether dlopen of programs is supported.
 
16841
dlopen_self=$enable_dlopen_self
 
16842
 
 
16843
# Whether dlopen of statically linked programs is supported.
 
16844
dlopen_self_static=$enable_dlopen_self_static
 
16845
 
 
16846
# Commands to strip libraries.
 
16847
old_striplib=$lt_old_striplib
 
16848
striplib=$lt_striplib
 
16849
 
 
16850
 
 
16851
# The linker used to build libraries.
 
16852
LD=$lt_LD
 
16853
 
 
16854
# How to create reloadable object files.
 
16855
reload_flag=$lt_reload_flag
 
16856
reload_cmds=$lt_reload_cmds
 
16857
 
 
16858
# Commands used to build an old-style archive.
 
16859
old_archive_cmds=$lt_old_archive_cmds
 
16860
 
 
16861
# A language specific compiler.
 
16862
CC=$lt_compiler
 
16863
 
 
16864
# Is the compiler the GNU compiler?
 
16865
with_gcc=$GCC
 
16866
 
 
16867
# Compiler flag to turn off builtin functions.
 
16868
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 
16869
 
 
16870
# Additional compiler flags for building library objects.
 
16871
pic_flag=$lt_lt_prog_compiler_pic
 
16872
 
 
16873
# How to pass a linker flag through the compiler.
 
16874
wl=$lt_lt_prog_compiler_wl
 
16875
 
 
16876
# Compiler flag to prevent dynamic linking.
 
16877
link_static_flag=$lt_lt_prog_compiler_static
 
16878
 
 
16879
# Does compiler simultaneously support -c and -o options?
 
16880
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 
16881
 
 
16882
# Whether or not to add -lc for building shared libraries.
 
16883
build_libtool_need_lc=$archive_cmds_need_lc
 
16884
 
 
16885
# Whether or not to disallow shared libs when runtime libs are static.
 
16886
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 
16887
 
 
16888
# Compiler flag to allow reflexive dlopens.
 
16889
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 
16890
 
 
16891
# Compiler flag to generate shared objects directly from archives.
 
16892
whole_archive_flag_spec=$lt_whole_archive_flag_spec
 
16893
 
 
16894
# Whether the compiler copes with passing no objects directly.
 
16895
compiler_needs_object=$lt_compiler_needs_object
 
16896
 
 
16897
# Create an old-style archive from a shared archive.
 
16898
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 
16899
 
 
16900
# Create a temporary old-style archive to link instead of a shared archive.
 
16901
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 
16902
 
 
16903
# Commands used to build a shared archive.
 
16904
archive_cmds=$lt_archive_cmds
 
16905
archive_expsym_cmds=$lt_archive_expsym_cmds
 
16906
 
 
16907
# Commands used to build a loadable module if different from building
 
16908
# a shared archive.
 
16909
module_cmds=$lt_module_cmds
 
16910
module_expsym_cmds=$lt_module_expsym_cmds
 
16911
 
 
16912
# Whether we are building with GNU ld or not.
 
16913
with_gnu_ld=$lt_with_gnu_ld
 
16914
 
 
16915
# Flag that allows shared libraries with undefined symbols to be built.
 
16916
allow_undefined_flag=$lt_allow_undefined_flag
 
16917
 
 
16918
# Flag that enforces no undefined symbols.
 
16919
no_undefined_flag=$lt_no_undefined_flag
 
16920
 
 
16921
# Flag to hardcode \$libdir into a binary during linking.
 
16922
# This must work even if \$libdir does not exist
 
16923
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
16924
 
 
16925
# If ld is used when linking, flag to hardcode \$libdir into a binary
 
16926
# during linking.  This must work even if \$libdir does not exist.
 
16927
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
 
16928
 
 
16929
# Whether we need a single "-rpath" flag with a separated argument.
 
16930
hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
16931
 
 
16932
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
16933
# DIR into the resulting binary.
 
16934
hardcode_direct=$hardcode_direct
 
16935
 
 
16936
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
16937
# DIR into the resulting binary and the resulting library dependency is
 
16938
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
16939
# library is relocated.
 
16940
hardcode_direct_absolute=$hardcode_direct_absolute
 
16941
 
 
16942
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
16943
# into the resulting binary.
 
16944
hardcode_minus_L=$hardcode_minus_L
 
16945
 
 
16946
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
16947
# into the resulting binary.
 
16948
hardcode_shlibpath_var=$hardcode_shlibpath_var
 
16949
 
 
16950
# Set to "yes" if building a shared library automatically hardcodes DIR
 
16951
# into the library and all subsequent libraries and executables linked
 
16952
# against it.
 
16953
hardcode_automatic=$hardcode_automatic
 
16954
 
 
16955
# Set to yes if linker adds runtime paths of dependent libraries
 
16956
# to runtime path list.
 
16957
inherit_rpath=$inherit_rpath
 
16958
 
 
16959
# Whether libtool must link a program against all its dependency libraries.
 
16960
link_all_deplibs=$link_all_deplibs
 
16961
 
 
16962
# Set to "yes" if exported symbols are required.
 
16963
always_export_symbols=$always_export_symbols
 
16964
 
 
16965
# The commands to list exported symbols.
 
16966
export_symbols_cmds=$lt_export_symbols_cmds
 
16967
 
 
16968
# Symbols that should not be listed in the preloaded symbols.
 
16969
exclude_expsyms=$lt_exclude_expsyms
 
16970
 
 
16971
# Symbols that must always be exported.
 
16972
include_expsyms=$lt_include_expsyms
 
16973
 
 
16974
# Commands necessary for linking programs (against libraries) with templates.
 
16975
prelink_cmds=$lt_prelink_cmds
 
16976
 
 
16977
# Commands necessary for finishing linking programs.
 
16978
postlink_cmds=$lt_postlink_cmds
 
16979
 
 
16980
# Specify filename containing input files.
 
16981
file_list_spec=$lt_file_list_spec
 
16982
 
 
16983
# How to hardcode a shared library path into an executable.
 
16984
hardcode_action=$hardcode_action
 
16985
 
 
16986
# ### END LIBTOOL CONFIG
 
16987
 
 
16988
_LT_EOF
 
16989
 
 
16990
  case $host_os in
 
16991
  aix3*)
 
16992
    cat <<\_LT_EOF >> "$cfgfile"
 
16993
# AIX sometimes has problems with the GCC collect2 program.  For some
 
16994
# reason, if we set the COLLECT_NAMES environment variable, the problems
 
16995
# vanish in a puff of smoke.
 
16996
if test "X${COLLECT_NAMES+set}" != Xset; then
 
16997
  COLLECT_NAMES=
 
16998
  export COLLECT_NAMES
 
16999
fi
 
17000
_LT_EOF
 
17001
    ;;
 
17002
  esac
 
17003
 
 
17004
 
 
17005
ltmain="$ac_aux_dir/ltmain.sh"
 
17006
 
 
17007
 
 
17008
  # We use sed instead of cat because bash on DJGPP gets confused if
 
17009
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
17010
  # text mode, it properly converts lines to CR/LF.  This bash problem
 
17011
  # is reportedly fixed, but why not run on old versions too?
 
17012
  sed '$q' "$ltmain" >> "$cfgfile" \
 
17013
     || (rm -f "$cfgfile"; exit 1)
 
17014
 
 
17015
  if test x"$xsi_shell" = xyes; then
 
17016
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
 
17017
func_dirname ()\
 
17018
{\
 
17019
\    case ${1} in\
 
17020
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
17021
\      *  ) func_dirname_result="${3}" ;;\
 
17022
\    esac\
 
17023
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
 
17024
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17025
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17026
test 0 -eq $? || _lt_function_replace_fail=:
 
17027
 
 
17028
 
 
17029
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
 
17030
func_basename ()\
 
17031
{\
 
17032
\    func_basename_result="${1##*/}"\
 
17033
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
17034
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17035
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17036
test 0 -eq $? || _lt_function_replace_fail=:
 
17037
 
 
17038
 
 
17039
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
 
17040
func_dirname_and_basename ()\
 
17041
{\
 
17042
\    case ${1} in\
 
17043
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
17044
\      *  ) func_dirname_result="${3}" ;;\
 
17045
\    esac\
 
17046
\    func_basename_result="${1##*/}"\
 
17047
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
17048
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17049
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17050
test 0 -eq $? || _lt_function_replace_fail=:
 
17051
 
 
17052
 
 
17053
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
 
17054
func_stripname ()\
 
17055
{\
 
17056
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
 
17057
\    # positional parameters, so assign one to ordinary parameter first.\
 
17058
\    func_stripname_result=${3}\
 
17059
\    func_stripname_result=${func_stripname_result#"${1}"}\
 
17060
\    func_stripname_result=${func_stripname_result%"${2}"}\
 
17061
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
 
17062
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17063
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17064
test 0 -eq $? || _lt_function_replace_fail=:
 
17065
 
 
17066
 
 
17067
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
 
17068
func_split_long_opt ()\
 
17069
{\
 
17070
\    func_split_long_opt_name=${1%%=*}\
 
17071
\    func_split_long_opt_arg=${1#*=}\
 
17072
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
17073
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17074
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17075
test 0 -eq $? || _lt_function_replace_fail=:
 
17076
 
 
17077
 
 
17078
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
 
17079
func_split_short_opt ()\
 
17080
{\
 
17081
\    func_split_short_opt_arg=${1#??}\
 
17082
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
 
17083
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
17084
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17085
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17086
test 0 -eq $? || _lt_function_replace_fail=:
 
17087
 
 
17088
 
 
17089
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
 
17090
func_lo2o ()\
 
17091
{\
 
17092
\    case ${1} in\
 
17093
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
 
17094
\      *)    func_lo2o_result=${1} ;;\
 
17095
\    esac\
 
17096
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
 
17097
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17098
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17099
test 0 -eq $? || _lt_function_replace_fail=:
 
17100
 
 
17101
 
 
17102
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
 
17103
func_xform ()\
 
17104
{\
 
17105
    func_xform_result=${1%.*}.lo\
 
17106
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
 
17107
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17108
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17109
test 0 -eq $? || _lt_function_replace_fail=:
 
17110
 
 
17111
 
 
17112
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
 
17113
func_arith ()\
 
17114
{\
 
17115
    func_arith_result=$(( $* ))\
 
17116
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
 
17117
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17118
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17119
test 0 -eq $? || _lt_function_replace_fail=:
 
17120
 
 
17121
 
 
17122
  sed -e '/^func_len ()$/,/^} # func_len /c\
 
17123
func_len ()\
 
17124
{\
 
17125
    func_len_result=${#1}\
 
17126
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
 
17127
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17128
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17129
test 0 -eq $? || _lt_function_replace_fail=:
 
17130
 
 
17131
fi
 
17132
 
 
17133
if test x"$lt_shell_append" = xyes; then
 
17134
  sed -e '/^func_append ()$/,/^} # func_append /c\
 
17135
func_append ()\
 
17136
{\
 
17137
    eval "${1}+=\\${2}"\
 
17138
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
 
17139
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17140
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17141
test 0 -eq $? || _lt_function_replace_fail=:
 
17142
 
 
17143
 
 
17144
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
 
17145
func_append_quoted ()\
 
17146
{\
 
17147
\    func_quote_for_eval "${2}"\
 
17148
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
 
17149
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
 
17150
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17151
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17152
test 0 -eq $? || _lt_function_replace_fail=:
 
17153
 
 
17154
 
 
17155
  # Save a `func_append' function call where possible by direct use of '+='
 
17156
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
 
17157
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17158
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17159
  test 0 -eq $? || _lt_function_replace_fail=:
 
17160
else
 
17161
  # Save a `func_append' function call even when '+=' is not available
 
17162
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
 
17163
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17164
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17165
  test 0 -eq $? || _lt_function_replace_fail=:
 
17166
fi
 
17167
 
 
17168
if test x"$_lt_function_replace_fail" = x":"; then
 
17169
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
 
17170
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 
17171
fi
 
17172
 
 
17173
 
 
17174
   mv -f "$cfgfile" "$ofile" ||
 
17175
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
17176
  chmod +x "$ofile"
 
17177
 
 
17178
 ;;
 
17179
    "po/stamp-it":C)
 
17180
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
 
17181
       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
 
17182
    fi
 
17183
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
 
17184
    >"po/stamp-it.tmp"
 
17185
    sed '/^#/d
 
17186
         s/^[[].*] *//
 
17187
         /^[    ]*$/d
 
17188
        '"s|^|  $ac_top_srcdir/|" \
 
17189
      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
 
17190
 
 
17191
    sed '/^POTFILES =/,/[^\\]$/ {
 
17192
                /^POTFILES =/!d
 
17193
                r po/POTFILES
 
17194
          }
 
17195
         ' "po/Makefile.in" >"po/Makefile"
 
17196
    rm -f "po/Makefile.tmp"
 
17197
    mv "po/stamp-it.tmp" "po/stamp-it"
 
17198
   ;;
 
17199
 
 
17200
  esac
 
17201
done # for ac_tag
 
17202
 
 
17203
 
 
17204
as_fn_exit 0
 
17205
_ACEOF
 
17206
ac_clean_files=$ac_clean_files_save
 
17207
 
 
17208
test $ac_write_fail = 0 ||
 
17209
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
17210
 
 
17211
 
 
17212
# configure is writing to config.log, and then calls config.status.
 
17213
# config.status does its own redirection, appending to config.log.
 
17214
# Unfortunately, on DOS this fails, as config.log is still kept open
 
17215
# by configure, so config.status won't be able to write to it; its
 
17216
# output is simply discarded.  So we exec the FD to /dev/null,
 
17217
# effectively closing config.log, so it can be properly (re)opened and
 
17218
# appended to by config.status.  When coming back to configure, we
 
17219
# need to make the FD available again.
 
17220
if test "$no_create" != yes; then
 
17221
  ac_cs_success=:
 
17222
  ac_config_status_args=
 
17223
  test "$silent" = yes &&
 
17224
    ac_config_status_args="$ac_config_status_args --quiet"
 
17225
  exec 5>/dev/null
 
17226
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 
17227
  exec 5>>config.log
 
17228
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 
17229
  # would make configure fail if this is the last instruction.
 
17230
  $ac_cs_success || as_fn_exit 1
 
17231
fi
 
17232
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
17233
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
17234
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 
17235
fi
 
17236