~ubuntu-branches/ubuntu/precise/gmlive/precise

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Aron Xu
  • Date: 2010-01-28 10:02:52 UTC
  • Revision ID: james.westby@ubuntu.com-20100128100252-b0yb0n4zm7s85ce7
Tags: upstream-0.22.2
ImportĀ upstreamĀ versionĀ 0.22.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.64 for gmlive 0.22.2.
 
4
#
 
5
# Report bugs to <xihels@gmail.com>.
 
6
#
 
7
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
8
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
 
9
# Foundation, Inc.
 
10
#
 
11
# This configure script is free software; the Free Software Foundation
 
12
# gives unlimited permission to copy, distribute and modify it.
 
13
#
 
14
# Copyright (C) 2007 xihels@gmail.com
 
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
case $0 in #((
 
95
  *[\\/]* ) as_myself=$0 ;;
 
96
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
97
for as_dir in $PATH
 
98
do
 
99
  IFS=$as_save_IFS
 
100
  test -z "$as_dir" && as_dir=.
 
101
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
102
  done
 
103
IFS=$as_save_IFS
 
104
 
 
105
     ;;
 
106
esac
 
107
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
108
# in which case we are not to be found in the path.
 
109
if test "x$as_myself" = x; then
 
110
  as_myself=$0
 
111
fi
 
112
if test ! -f "$as_myself"; then
 
113
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
114
  exit 1
 
115
fi
 
116
 
 
117
# Unset variables that we do not need and which cause bugs (e.g. in
 
118
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
119
# suppresses any "Segmentation fault" message there.  '((' could
 
120
# trigger a bug in pdksh 5.2.14.
 
121
for as_var in BASH_ENV ENV MAIL MAILPATH
 
122
do eval test x\${$as_var+set} = xset \
 
123
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 
124
done
 
125
PS1='$ '
 
126
PS2='> '
 
127
PS4='+ '
 
128
 
 
129
# NLS nuisances.
 
130
LC_ALL=C
 
131
export LC_ALL
 
132
LANGUAGE=C
 
133
export LANGUAGE
 
134
 
 
135
# CDPATH.
 
136
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
137
 
 
138
if test "x$CONFIG_SHELL" = x; then
 
139
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
140
  emulate sh
 
141
  NULLCMD=:
 
142
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
143
  # is contrary to our usage.  Disable this feature.
 
144
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
145
  setopt NO_GLOB_SUBST
 
146
else
 
147
  case \`(set -o) 2>/dev/null\` in #(
 
148
  *posix*) :
 
149
    set -o posix ;; #(
 
150
  *) :
 
151
     ;;
 
152
esac
 
153
fi
 
154
"
 
155
  as_required="as_fn_return () { (exit \$1); }
 
156
as_fn_success () { as_fn_return 0; }
 
157
as_fn_failure () { as_fn_return 1; }
 
158
as_fn_ret_success () { return 0; }
 
159
as_fn_ret_failure () { return 1; }
 
160
 
 
161
exitcode=0
 
162
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
163
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
164
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
165
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
166
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
167
 
 
168
else
 
169
  exitcode=1; echo positional parameters were not saved.
 
170
fi
 
171
test x\$exitcode = x0 || exit 1"
 
172
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
173
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
174
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
175
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
176
test \$(( 1 + 1 )) = 2 || exit 1"
 
177
  if (eval "$as_required") 2>/dev/null; then :
 
178
  as_have_required=yes
 
179
else
 
180
  as_have_required=no
 
181
fi
 
182
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
183
 
 
184
else
 
185
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
186
as_found=false
 
187
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
188
do
 
189
  IFS=$as_save_IFS
 
190
  test -z "$as_dir" && as_dir=.
 
191
  as_found=:
 
192
  case $as_dir in #(
 
193
         /*)
 
194
           for as_base in sh bash ksh sh5; do
 
195
             # Try only shells that exist, to save several forks.
 
196
             as_shell=$as_dir/$as_base
 
197
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
198
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
199
  CONFIG_SHELL=$as_shell as_have_required=yes
 
200
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
201
  break 2
 
202
fi
 
203
fi
 
204
           done;;
 
205
       esac
 
206
  as_found=false
 
207
done
 
208
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
209
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
210
  CONFIG_SHELL=$SHELL as_have_required=yes
 
211
fi; }
 
212
IFS=$as_save_IFS
 
213
 
 
214
 
 
215
      if test "x$CONFIG_SHELL" != x; then :
 
216
  # We cannot yet assume a decent shell, so we have to provide a
 
217
        # neutralization value for shells without unset; and this also
 
218
        # works around shells that cannot unset nonexistent variables.
 
219
        BASH_ENV=/dev/null
 
220
        ENV=/dev/null
 
221
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
222
        export CONFIG_SHELL
 
223
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
224
fi
 
225
 
 
226
    if test x$as_have_required = xno; then :
 
227
  $as_echo "$0: This script requires a shell more modern than all"
 
228
  $as_echo "$0: the shells that I found on your system."
 
229
  if test x${ZSH_VERSION+set} = xset ; then
 
230
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
231
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 
232
  else
 
233
    $as_echo "$0: Please tell bug-autoconf@gnu.org and xihels@gmail.com
 
234
$0: about your system, including any error possibly output
 
235
$0: before this message. Then install a modern shell, or
 
236
$0: manually run the script under such a shell if you do
 
237
$0: have one."
 
238
  fi
 
239
  exit 1
 
240
fi
 
241
fi
 
242
fi
 
243
SHELL=${CONFIG_SHELL-/bin/sh}
 
244
export SHELL
 
245
# Unset more variables known to interfere with behavior of common tools.
 
246
CLICOLOR_FORCE= GREP_OPTIONS=
 
247
unset CLICOLOR_FORCE GREP_OPTIONS
 
248
 
 
249
## --------------------- ##
 
250
## M4sh Shell Functions. ##
 
251
## --------------------- ##
 
252
# as_fn_unset VAR
 
253
# ---------------
 
254
# Portably unset VAR.
 
255
as_fn_unset ()
 
256
{
 
257
  { eval $1=; unset $1;}
 
258
}
 
259
as_unset=as_fn_unset
 
260
 
 
261
# as_fn_set_status STATUS
 
262
# -----------------------
 
263
# Set $? to STATUS, without forking.
 
264
as_fn_set_status ()
 
265
{
 
266
  return $1
 
267
} # as_fn_set_status
 
268
 
 
269
# as_fn_exit STATUS
 
270
# -----------------
 
271
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
272
as_fn_exit ()
 
273
{
 
274
  set +e
 
275
  as_fn_set_status $1
 
276
  exit $1
 
277
} # as_fn_exit
 
278
 
 
279
# as_fn_mkdir_p
 
280
# -------------
 
281
# Create "$as_dir" as a directory, including parents if necessary.
 
282
as_fn_mkdir_p ()
 
283
{
 
284
 
 
285
  case $as_dir in #(
 
286
  -*) as_dir=./$as_dir;;
 
287
  esac
 
288
  test -d "$as_dir" || eval $as_mkdir_p || {
 
289
    as_dirs=
 
290
    while :; do
 
291
      case $as_dir in #(
 
292
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
293
      *) as_qdir=$as_dir;;
 
294
      esac
 
295
      as_dirs="'$as_qdir' $as_dirs"
 
296
      as_dir=`$as_dirname -- "$as_dir" ||
 
297
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
298
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
299
         X"$as_dir" : 'X\(//\)$' \| \
 
300
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
301
$as_echo X"$as_dir" |
 
302
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
303
            s//\1/
 
304
            q
 
305
          }
 
306
          /^X\(\/\/\)[^/].*/{
 
307
            s//\1/
 
308
            q
 
309
          }
 
310
          /^X\(\/\/\)$/{
 
311
            s//\1/
 
312
            q
 
313
          }
 
314
          /^X\(\/\).*/{
 
315
            s//\1/
 
316
            q
 
317
          }
 
318
          s/.*/./; q'`
 
319
      test -d "$as_dir" && break
 
320
    done
 
321
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
322
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
323
 
 
324
 
 
325
} # as_fn_mkdir_p
 
326
# as_fn_append VAR VALUE
 
327
# ----------------------
 
328
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
329
# advantage of any shell optimizations that allow amortized linear growth over
 
330
# repeated appends, instead of the typical quadratic growth present in naive
 
331
# implementations.
 
332
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
333
  eval 'as_fn_append ()
 
334
  {
 
335
    eval $1+=\$2
 
336
  }'
 
337
else
 
338
  as_fn_append ()
 
339
  {
 
340
    eval $1=\$$1\$2
 
341
  }
 
342
fi # as_fn_append
 
343
 
 
344
# as_fn_arith ARG...
 
345
# ------------------
 
346
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
347
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
348
# must be portable across $(()) and expr.
 
349
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
350
  eval 'as_fn_arith ()
 
351
  {
 
352
    as_val=$(( $* ))
 
353
  }'
 
354
else
 
355
  as_fn_arith ()
 
356
  {
 
357
    as_val=`expr "$@" || test $? -eq 1`
 
358
  }
 
359
fi # as_fn_arith
 
360
 
 
361
 
 
362
# as_fn_error ERROR [LINENO LOG_FD]
 
363
# ---------------------------------
 
364
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
365
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
366
# script with status $?, using 1 if that was 0.
 
367
as_fn_error ()
 
368
{
 
369
  as_status=$?; test $as_status -eq 0 && as_status=1
 
370
  if test "$3"; then
 
371
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
372
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
373
  fi
 
374
  $as_echo "$as_me: error: $1" >&2
 
375
  as_fn_exit $as_status
 
376
} # as_fn_error
 
377
 
 
378
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
379
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
380
  as_expr=expr
 
381
else
 
382
  as_expr=false
 
383
fi
 
384
 
 
385
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
386
  as_basename=basename
 
387
else
 
388
  as_basename=false
 
389
fi
 
390
 
 
391
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
392
  as_dirname=dirname
 
393
else
 
394
  as_dirname=false
 
395
fi
 
396
 
 
397
as_me=`$as_basename -- "$0" ||
 
398
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
399
         X"$0" : 'X\(//\)$' \| \
 
400
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
401
$as_echo X/"$0" |
 
402
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
403
            s//\1/
 
404
            q
 
405
          }
 
406
          /^X\/\(\/\/\)$/{
 
407
            s//\1/
 
408
            q
 
409
          }
 
410
          /^X\/\(\/\).*/{
 
411
            s//\1/
 
412
            q
 
413
          }
 
414
          s/.*/./; q'`
 
415
 
 
416
# Avoid depending upon Character Ranges.
 
417
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
418
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
419
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
420
as_cr_digits='0123456789'
 
421
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
422
 
 
423
 
 
424
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
425
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
426
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
427
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
428
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
 
429
  sed -n '
 
430
    p
 
431
    /[$]LINENO/=
 
432
  ' <$as_myself |
 
433
    sed '
 
434
      s/[$]LINENO.*/&-/
 
435
      t lineno
 
436
      b
 
437
      :lineno
 
438
      N
 
439
      :loop
 
440
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 
441
      t loop
 
442
      s/-\n.*//
 
443
    ' >$as_me.lineno &&
 
444
  chmod +x "$as_me.lineno" ||
 
445
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
 
446
 
 
447
  # Don't try to exec as it changes $[0], causing all sort of problems
 
448
  # (the dirname of $[0] is not the place where we might find the
 
449
  # original and so on.  Autoconf is especially sensitive to this).
 
450
  . "./$as_me.lineno"
 
451
  # Exit status is that of the last command.
 
452
  exit
 
453
}
 
454
 
 
455
ECHO_C= ECHO_N= ECHO_T=
 
456
case `echo -n x` in #(((((
 
457
-n*)
 
458
  case `echo 'xy\c'` in
 
459
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
460
  xy)  ECHO_C='\c';;
 
461
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
462
       ECHO_T=' ';;
 
463
  esac;;
 
464
*)
 
465
  ECHO_N='-n';;
 
466
esac
 
467
 
 
468
rm -f conf$$ conf$$.exe conf$$.file
 
469
if test -d conf$$.dir; then
 
470
  rm -f conf$$.dir/conf$$.file
 
471
else
 
472
  rm -f conf$$.dir
 
473
  mkdir conf$$.dir 2>/dev/null
 
474
fi
 
475
if (echo >conf$$.file) 2>/dev/null; then
 
476
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
477
    as_ln_s='ln -s'
 
478
    # ... but there are two gotchas:
 
479
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
480
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
481
    # In both cases, we have to default to `cp -p'.
 
482
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
483
      as_ln_s='cp -p'
 
484
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
485
    as_ln_s=ln
 
486
  else
 
487
    as_ln_s='cp -p'
 
488
  fi
 
489
else
 
490
  as_ln_s='cp -p'
 
491
fi
 
492
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
493
rmdir conf$$.dir 2>/dev/null
 
494
 
 
495
if mkdir -p . 2>/dev/null; then
 
496
  as_mkdir_p='mkdir -p "$as_dir"'
 
497
else
 
498
  test -d ./-p && rmdir ./-p
 
499
  as_mkdir_p=false
 
500
fi
 
501
 
 
502
if test -x / >/dev/null 2>&1; then
 
503
  as_test_x='test -x'
 
504
else
 
505
  if ls -dL / >/dev/null 2>&1; then
 
506
    as_ls_L_option=L
 
507
  else
 
508
    as_ls_L_option=
 
509
  fi
 
510
  as_test_x='
 
511
    eval sh -c '\''
 
512
      if test -d "$1"; then
 
513
        test -d "$1/.";
 
514
      else
 
515
        case $1 in #(
 
516
        -*)set "./$1";;
 
517
        esac;
 
518
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 
519
        ???[sx]*):;;*)false;;esac;fi
 
520
    '\'' sh
 
521
  '
 
522
fi
 
523
as_executable_p=$as_test_x
 
524
 
 
525
# Sed expression to map a string onto a valid CPP name.
 
526
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
527
 
 
528
# Sed expression to map a string onto a valid variable name.
 
529
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
530
 
 
531
 
 
532
 
 
533
# Check that we are running under the correct shell.
 
534
SHELL=${CONFIG_SHELL-/bin/sh}
 
535
 
 
536
case X$lt_ECHO in
 
537
X*--fallback-echo)
 
538
  # Remove one level of quotation (which was required for Make).
 
539
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
 
540
  ;;
 
541
esac
 
542
 
 
543
ECHO=${lt_ECHO-echo}
 
544
if test "X$1" = X--no-reexec; then
 
545
  # Discard the --no-reexec flag, and continue.
 
546
  shift
 
547
elif test "X$1" = X--fallback-echo; then
 
548
  # Avoid inline document here, it may be left over
 
549
  :
 
550
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
 
551
  # Yippee, $ECHO works!
 
552
  :
 
553
else
 
554
  # Restart under the correct shell.
 
555
  exec $SHELL "$0" --no-reexec ${1+"$@"}
 
556
fi
 
557
 
 
558
if test "X$1" = X--fallback-echo; then
 
559
  # used as fallback echo
 
560
  shift
 
561
  cat <<_LT_EOF
 
562
$*
 
563
_LT_EOF
 
564
  exit 0
 
565
fi
 
566
 
 
567
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
568
# if CDPATH is set.
 
569
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
570
 
 
571
if test -z "$lt_ECHO"; then
 
572
  if test "X${echo_test_string+set}" != Xset; then
 
573
    # find a string as large as possible, as long as the shell can cope with it
 
574
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
 
575
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
 
576
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
 
577
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
 
578
      then
 
579
        break
 
580
      fi
 
581
    done
 
582
  fi
 
583
 
 
584
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
585
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
586
     test "X$echo_testing_string" = "X$echo_test_string"; then
 
587
    :
 
588
  else
 
589
    # The Solaris, AIX, and Digital Unix default echo programs unquote
 
590
    # backslashes.  This makes it impossible to quote backslashes using
 
591
    #   echo "$something" | sed 's/\\/\\\\/g'
 
592
    #
 
593
    # So, first we look for a working echo in the user's PATH.
 
594
 
 
595
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
596
    for dir in $PATH /usr/ucb; do
 
597
      IFS="$lt_save_ifs"
 
598
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
 
599
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
 
600
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
 
601
         test "X$echo_testing_string" = "X$echo_test_string"; then
 
602
        ECHO="$dir/echo"
 
603
        break
 
604
      fi
 
605
    done
 
606
    IFS="$lt_save_ifs"
 
607
 
 
608
    if test "X$ECHO" = Xecho; then
 
609
      # We didn't find a better echo, so look for alternatives.
 
610
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
 
611
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
 
612
         test "X$echo_testing_string" = "X$echo_test_string"; then
 
613
        # This shell has a builtin print -r that does the trick.
 
614
        ECHO='print -r'
 
615
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
 
616
           test "X$CONFIG_SHELL" != X/bin/ksh; then
 
617
        # If we have ksh, try running configure again with it.
 
618
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
 
619
        export ORIGINAL_CONFIG_SHELL
 
620
        CONFIG_SHELL=/bin/ksh
 
621
        export CONFIG_SHELL
 
622
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
 
623
      else
 
624
        # Try using printf.
 
625
        ECHO='printf %s\n'
 
626
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
627
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
628
           test "X$echo_testing_string" = "X$echo_test_string"; then
 
629
          # Cool, printf works
 
630
          :
 
631
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 
632
             test "X$echo_testing_string" = 'X\t' &&
 
633
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
634
             test "X$echo_testing_string" = "X$echo_test_string"; then
 
635
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
 
636
          export CONFIG_SHELL
 
637
          SHELL="$CONFIG_SHELL"
 
638
          export SHELL
 
639
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
 
640
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 
641
             test "X$echo_testing_string" = 'X\t' &&
 
642
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
643
             test "X$echo_testing_string" = "X$echo_test_string"; then
 
644
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
 
645
        else
 
646
          # maybe with a smaller string...
 
647
          prev=:
 
648
 
 
649
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
 
650
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
 
651
            then
 
652
              break
 
653
            fi
 
654
            prev="$cmd"
 
655
          done
 
656
 
 
657
          if test "$prev" != 'sed 50q "$0"'; then
 
658
            echo_test_string=`eval $prev`
 
659
            export echo_test_string
 
660
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
 
661
          else
 
662
            # Oops.  We lost completely, so just stick with echo.
 
663
            ECHO=echo
 
664
          fi
 
665
        fi
 
666
      fi
 
667
    fi
 
668
  fi
 
669
fi
 
670
 
 
671
# Copy echo and quote the copy suitably for passing to libtool from
 
672
# the Makefile, instead of quoting the original, which is used later.
 
673
lt_ECHO=$ECHO
 
674
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
 
675
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
 
676
fi
 
677
 
 
678
 
 
679
 
 
680
 
 
681
exec 7<&0 </dev/null 6>&1
 
682
 
 
683
# Name of the host.
 
684
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
685
# so uname gets run too.
 
686
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
 
687
 
 
688
#
 
689
# Initializations.
 
690
#
 
691
ac_default_prefix=/usr/local
 
692
ac_clean_files=
 
693
ac_config_libobj_dir=.
 
694
LIBOBJS=
 
695
cross_compiling=no
 
696
subdirs=
 
697
MFLAGS=
 
698
MAKEFLAGS=
 
699
 
 
700
# Identity of this package.
 
701
PACKAGE_NAME='gmlive'
 
702
PACKAGE_TARNAME='gmlive'
 
703
PACKAGE_VERSION='0.22.2'
 
704
PACKAGE_STRING='gmlive 0.22.2'
 
705
PACKAGE_BUGREPORT='xihels@gmail.com'
 
706
PACKAGE_URL=''
 
707
 
 
708
ac_unique_file="src/main.cpp"
 
709
# Factoring default headers for most tests.
 
710
ac_includes_default="\
 
711
#include <stdio.h>
 
712
#ifdef HAVE_SYS_TYPES_H
 
713
# include <sys/types.h>
 
714
#endif
 
715
#ifdef HAVE_SYS_STAT_H
 
716
# include <sys/stat.h>
 
717
#endif
 
718
#ifdef STDC_HEADERS
 
719
# include <stdlib.h>
 
720
# include <stddef.h>
 
721
#else
 
722
# ifdef HAVE_STDLIB_H
 
723
#  include <stdlib.h>
 
724
# endif
 
725
#endif
 
726
#ifdef HAVE_STRING_H
 
727
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
 
728
#  include <memory.h>
 
729
# endif
 
730
# include <string.h>
 
731
#endif
 
732
#ifdef HAVE_STRINGS_H
 
733
# include <strings.h>
 
734
#endif
 
735
#ifdef HAVE_INTTYPES_H
 
736
# include <inttypes.h>
 
737
#endif
 
738
#ifdef HAVE_STDINT_H
 
739
# include <stdint.h>
 
740
#endif
 
741
#ifdef HAVE_UNISTD_H
 
742
# include <unistd.h>
 
743
#endif"
 
744
 
 
745
ac_subst_vars='am__EXEEXT_FALSE
 
746
am__EXEEXT_TRUE
 
747
LTLIBOBJS
 
748
LIBOBJS
 
749
MKINSTALLDIRS
 
750
POSUB
 
751
POFILES
 
752
PO_IN_DATADIR_FALSE
 
753
PO_IN_DATADIR_TRUE
 
754
INTLLIBS
 
755
INSTOBJEXT
 
756
GMOFILES
 
757
CATOBJEXT
 
758
CATALOGS
 
759
MSGFMT_OPTS
 
760
GETTEXT_PACKAGE
 
761
PACKAGE_LIBS
 
762
PACKAGE_CFLAGS
 
763
PKG_CONFIG
 
764
CXXCPP
 
765
am__fastdepCXX_FALSE
 
766
am__fastdepCXX_TRUE
 
767
CXXDEPMODE
 
768
ac_ct_CXX
 
769
CXXFLAGS
 
770
CXX
 
771
CPP
 
772
OTOOL64
 
773
OTOOL
 
774
LIPO
 
775
NMEDIT
 
776
DSYMUTIL
 
777
lt_ECHO
 
778
RANLIB
 
779
AR
 
780
OBJDUMP
 
781
LN_S
 
782
NM
 
783
ac_ct_DUMPBIN
 
784
DUMPBIN
 
785
LD
 
786
FGREP
 
787
EGREP
 
788
GREP
 
789
SED
 
790
host_os
 
791
host_vendor
 
792
host_cpu
 
793
host
 
794
build_os
 
795
build_vendor
 
796
build_cpu
 
797
build
 
798
LIBTOOL
 
799
DATADIRNAME
 
800
am__fastdepCC_FALSE
 
801
am__fastdepCC_TRUE
 
802
CCDEPMODE
 
803
AMDEPBACKSLASH
 
804
AMDEP_FALSE
 
805
AMDEP_TRUE
 
806
am__quote
 
807
am__include
 
808
DEPDIR
 
809
OBJEXT
 
810
EXEEXT
 
811
ac_ct_CC
 
812
CPPFLAGS
 
813
LDFLAGS
 
814
CFLAGS
 
815
CC
 
816
ALL_LINGUAS
 
817
INTLTOOL_PERL
 
818
GMSGFMT
 
819
MSGFMT
 
820
MSGMERGE
 
821
XGETTEXT
 
822
INTLTOOL_POLICY_RULE
 
823
INTLTOOL_SERVICE_RULE
 
824
INTLTOOL_THEME_RULE
 
825
INTLTOOL_SCHEMAS_RULE
 
826
INTLTOOL_CAVES_RULE
 
827
INTLTOOL_XML_NOMERGE_RULE
 
828
INTLTOOL_XML_RULE
 
829
INTLTOOL_KBD_RULE
 
830
INTLTOOL_XAM_RULE
 
831
INTLTOOL_UI_RULE
 
832
INTLTOOL_SOUNDLIST_RULE
 
833
INTLTOOL_SHEET_RULE
 
834
INTLTOOL_SERVER_RULE
 
835
INTLTOOL_PONG_RULE
 
836
INTLTOOL_OAF_RULE
 
837
INTLTOOL_PROP_RULE
 
838
INTLTOOL_KEYS_RULE
 
839
INTLTOOL_DIRECTORY_RULE
 
840
INTLTOOL_DESKTOP_RULE
 
841
INTLTOOL_EXTRACT
 
842
INTLTOOL_MERGE
 
843
INTLTOOL_UPDATE
 
844
USE_NLS
 
845
MAINT
 
846
MAINTAINER_MODE_FALSE
 
847
MAINTAINER_MODE_TRUE
 
848
am__untar
 
849
am__tar
 
850
AMTAR
 
851
am__leading_dot
 
852
SET_MAKE
 
853
AWK
 
854
mkdir_p
 
855
MKDIR_P
 
856
INSTALL_STRIP_PROGRAM
 
857
STRIP
 
858
install_sh
 
859
MAKEINFO
 
860
AUTOHEADER
 
861
AUTOMAKE
 
862
AUTOCONF
 
863
ACLOCAL
 
864
VERSION
 
865
PACKAGE
 
866
CYGPATH_W
 
867
am__isrc
 
868
INSTALL_DATA
 
869
INSTALL_SCRIPT
 
870
INSTALL_PROGRAM
 
871
target_alias
 
872
host_alias
 
873
build_alias
 
874
LIBS
 
875
ECHO_T
 
876
ECHO_N
 
877
ECHO_C
 
878
DEFS
 
879
mandir
 
880
localedir
 
881
libdir
 
882
psdir
 
883
pdfdir
 
884
dvidir
 
885
htmldir
 
886
infodir
 
887
docdir
 
888
oldincludedir
 
889
includedir
 
890
localstatedir
 
891
sharedstatedir
 
892
sysconfdir
 
893
datadir
 
894
datarootdir
 
895
libexecdir
 
896
sbindir
 
897
bindir
 
898
program_transform_name
 
899
prefix
 
900
exec_prefix
 
901
PACKAGE_URL
 
902
PACKAGE_BUGREPORT
 
903
PACKAGE_STRING
 
904
PACKAGE_VERSION
 
905
PACKAGE_TARNAME
 
906
PACKAGE_NAME
 
907
PATH_SEPARATOR
 
908
SHELL'
 
909
ac_subst_files=''
 
910
ac_user_opts='
 
911
enable_option_checking
 
912
enable_maintainer_mode
 
913
enable_nls
 
914
enable_dependency_tracking
 
915
enable_shared
 
916
enable_static
 
917
with_pic
 
918
enable_fast_install
 
919
with_gnu_ld
 
920
enable_libtool_lock
 
921
'
 
922
      ac_precious_vars='build_alias
 
923
host_alias
 
924
target_alias
 
925
CC
 
926
CFLAGS
 
927
LDFLAGS
 
928
LIBS
 
929
CPPFLAGS
 
930
CPP
 
931
CXX
 
932
CXXFLAGS
 
933
CCC
 
934
CXXCPP
 
935
PKG_CONFIG
 
936
PACKAGE_CFLAGS
 
937
PACKAGE_LIBS'
 
938
 
 
939
 
 
940
# Initialize some variables set by options.
 
941
ac_init_help=
 
942
ac_init_version=false
 
943
ac_unrecognized_opts=
 
944
ac_unrecognized_sep=
 
945
# The variables have the same names as the options, with
 
946
# dashes changed to underlines.
 
947
cache_file=/dev/null
 
948
exec_prefix=NONE
 
949
no_create=
 
950
no_recursion=
 
951
prefix=NONE
 
952
program_prefix=NONE
 
953
program_suffix=NONE
 
954
program_transform_name=s,x,x,
 
955
silent=
 
956
site=
 
957
srcdir=
 
958
verbose=
 
959
x_includes=NONE
 
960
x_libraries=NONE
 
961
 
 
962
# Installation directory options.
 
963
# These are left unexpanded so users can "make install exec_prefix=/foo"
 
964
# and all the variables that are supposed to be based on exec_prefix
 
965
# by default will actually change.
 
966
# Use braces instead of parens because sh, perl, etc. also accept them.
 
967
# (The list follows the same order as the GNU Coding Standards.)
 
968
bindir='${exec_prefix}/bin'
 
969
sbindir='${exec_prefix}/sbin'
 
970
libexecdir='${exec_prefix}/libexec'
 
971
datarootdir='${prefix}/share'
 
972
datadir='${datarootdir}'
 
973
sysconfdir='${prefix}/etc'
 
974
sharedstatedir='${prefix}/com'
 
975
localstatedir='${prefix}/var'
 
976
includedir='${prefix}/include'
 
977
oldincludedir='/usr/include'
 
978
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 
979
infodir='${datarootdir}/info'
 
980
htmldir='${docdir}'
 
981
dvidir='${docdir}'
 
982
pdfdir='${docdir}'
 
983
psdir='${docdir}'
 
984
libdir='${exec_prefix}/lib'
 
985
localedir='${datarootdir}/locale'
 
986
mandir='${datarootdir}/man'
 
987
 
 
988
ac_prev=
 
989
ac_dashdash=
 
990
for ac_option
 
991
do
 
992
  # If the previous option needs an argument, assign it.
 
993
  if test -n "$ac_prev"; then
 
994
    eval $ac_prev=\$ac_option
 
995
    ac_prev=
 
996
    continue
 
997
  fi
 
998
 
 
999
  case $ac_option in
 
1000
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
1001
  *)    ac_optarg=yes ;;
 
1002
  esac
 
1003
 
 
1004
  # Accept the important Cygnus configure options, so we can diagnose typos.
 
1005
 
 
1006
  case $ac_dashdash$ac_option in
 
1007
  --)
 
1008
    ac_dashdash=yes ;;
 
1009
 
 
1010
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
 
1011
    ac_prev=bindir ;;
 
1012
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
 
1013
    bindir=$ac_optarg ;;
 
1014
 
 
1015
  -build | --build | --buil | --bui | --bu)
 
1016
    ac_prev=build_alias ;;
 
1017
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
 
1018
    build_alias=$ac_optarg ;;
 
1019
 
 
1020
  -cache-file | --cache-file | --cache-fil | --cache-fi \
 
1021
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
 
1022
    ac_prev=cache_file ;;
 
1023
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
 
1024
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
 
1025
    cache_file=$ac_optarg ;;
 
1026
 
 
1027
  --config-cache | -C)
 
1028
    cache_file=config.cache ;;
 
1029
 
 
1030
  -datadir | --datadir | --datadi | --datad)
 
1031
    ac_prev=datadir ;;
 
1032
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
 
1033
    datadir=$ac_optarg ;;
 
1034
 
 
1035
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
1036
  | --dataroo | --dataro | --datar)
 
1037
    ac_prev=datarootdir ;;
 
1038
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
1039
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
1040
    datarootdir=$ac_optarg ;;
 
1041
 
 
1042
  -disable-* | --disable-*)
 
1043
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
1044
    # Reject names that are not valid shell variable names.
 
1045
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1046
      as_fn_error "invalid feature name: $ac_useropt"
 
1047
    ac_useropt_orig=$ac_useropt
 
1048
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1049
    case $ac_user_opts in
 
1050
      *"
 
1051
"enable_$ac_useropt"
 
1052
"*) ;;
 
1053
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
1054
         ac_unrecognized_sep=', ';;
 
1055
    esac
 
1056
    eval enable_$ac_useropt=no ;;
 
1057
 
 
1058
  -docdir | --docdir | --docdi | --doc | --do)
 
1059
    ac_prev=docdir ;;
 
1060
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
1061
    docdir=$ac_optarg ;;
 
1062
 
 
1063
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
1064
    ac_prev=dvidir ;;
 
1065
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
1066
    dvidir=$ac_optarg ;;
 
1067
 
 
1068
  -enable-* | --enable-*)
 
1069
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
1070
    # Reject names that are not valid shell variable names.
 
1071
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1072
      as_fn_error "invalid feature name: $ac_useropt"
 
1073
    ac_useropt_orig=$ac_useropt
 
1074
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1075
    case $ac_user_opts in
 
1076
      *"
 
1077
"enable_$ac_useropt"
 
1078
"*) ;;
 
1079
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
1080
         ac_unrecognized_sep=', ';;
 
1081
    esac
 
1082
    eval enable_$ac_useropt=\$ac_optarg ;;
 
1083
 
 
1084
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 
1085
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 
1086
  | --exec | --exe | --ex)
 
1087
    ac_prev=exec_prefix ;;
 
1088
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 
1089
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 
1090
  | --exec=* | --exe=* | --ex=*)
 
1091
    exec_prefix=$ac_optarg ;;
 
1092
 
 
1093
  -gas | --gas | --ga | --g)
 
1094
    # Obsolete; use --with-gas.
 
1095
    with_gas=yes ;;
 
1096
 
 
1097
  -help | --help | --hel | --he | -h)
 
1098
    ac_init_help=long ;;
 
1099
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
 
1100
    ac_init_help=recursive ;;
 
1101
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
 
1102
    ac_init_help=short ;;
 
1103
 
 
1104
  -host | --host | --hos | --ho)
 
1105
    ac_prev=host_alias ;;
 
1106
  -host=* | --host=* | --hos=* | --ho=*)
 
1107
    host_alias=$ac_optarg ;;
 
1108
 
 
1109
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
1110
    ac_prev=htmldir ;;
 
1111
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
1112
  | --ht=*)
 
1113
    htmldir=$ac_optarg ;;
 
1114
 
 
1115
  -includedir | --includedir | --includedi | --included | --include \
 
1116
  | --includ | --inclu | --incl | --inc)
 
1117
    ac_prev=includedir ;;
 
1118
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 
1119
  | --includ=* | --inclu=* | --incl=* | --inc=*)
 
1120
    includedir=$ac_optarg ;;
 
1121
 
 
1122
  -infodir | --infodir | --infodi | --infod | --info | --inf)
 
1123
    ac_prev=infodir ;;
 
1124
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 
1125
    infodir=$ac_optarg ;;
 
1126
 
 
1127
  -libdir | --libdir | --libdi | --libd)
 
1128
    ac_prev=libdir ;;
 
1129
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
 
1130
    libdir=$ac_optarg ;;
 
1131
 
 
1132
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 
1133
  | --libexe | --libex | --libe)
 
1134
    ac_prev=libexecdir ;;
 
1135
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 
1136
  | --libexe=* | --libex=* | --libe=*)
 
1137
    libexecdir=$ac_optarg ;;
 
1138
 
 
1139
  -localedir | --localedir | --localedi | --localed | --locale)
 
1140
    ac_prev=localedir ;;
 
1141
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
1142
    localedir=$ac_optarg ;;
 
1143
 
 
1144
  -localstatedir | --localstatedir | --localstatedi | --localstated \
 
1145
  | --localstate | --localstat | --localsta | --localst | --locals)
 
1146
    ac_prev=localstatedir ;;
 
1147
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 
1148
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 
1149
    localstatedir=$ac_optarg ;;
 
1150
 
 
1151
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 
1152
    ac_prev=mandir ;;
 
1153
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 
1154
    mandir=$ac_optarg ;;
 
1155
 
 
1156
  -nfp | --nfp | --nf)
 
1157
    # Obsolete; use --without-fp.
 
1158
    with_fp=no ;;
 
1159
 
 
1160
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 
1161
  | --no-cr | --no-c | -n)
 
1162
    no_create=yes ;;
 
1163
 
 
1164
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 
1165
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 
1166
    no_recursion=yes ;;
 
1167
 
 
1168
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 
1169
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 
1170
  | --oldin | --oldi | --old | --ol | --o)
 
1171
    ac_prev=oldincludedir ;;
 
1172
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 
1173
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 
1174
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 
1175
    oldincludedir=$ac_optarg ;;
 
1176
 
 
1177
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 
1178
    ac_prev=prefix ;;
 
1179
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 
1180
    prefix=$ac_optarg ;;
 
1181
 
 
1182
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
 
1183
  | --program-pre | --program-pr | --program-p)
 
1184
    ac_prev=program_prefix ;;
 
1185
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
 
1186
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 
1187
    program_prefix=$ac_optarg ;;
 
1188
 
 
1189
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
 
1190
  | --program-suf | --program-su | --program-s)
 
1191
    ac_prev=program_suffix ;;
 
1192
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
 
1193
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 
1194
    program_suffix=$ac_optarg ;;
 
1195
 
 
1196
  -program-transform-name | --program-transform-name \
 
1197
  | --program-transform-nam | --program-transform-na \
 
1198
  | --program-transform-n | --program-transform- \
 
1199
  | --program-transform | --program-transfor \
 
1200
  | --program-transfo | --program-transf \
 
1201
  | --program-trans | --program-tran \
 
1202
  | --progr-tra | --program-tr | --program-t)
 
1203
    ac_prev=program_transform_name ;;
 
1204
  -program-transform-name=* | --program-transform-name=* \
 
1205
  | --program-transform-nam=* | --program-transform-na=* \
 
1206
  | --program-transform-n=* | --program-transform-=* \
 
1207
  | --program-transform=* | --program-transfor=* \
 
1208
  | --program-transfo=* | --program-transf=* \
 
1209
  | --program-trans=* | --program-tran=* \
 
1210
  | --progr-tra=* | --program-tr=* | --program-t=*)
 
1211
    program_transform_name=$ac_optarg ;;
 
1212
 
 
1213
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1214
    ac_prev=pdfdir ;;
 
1215
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1216
    pdfdir=$ac_optarg ;;
 
1217
 
 
1218
  -psdir | --psdir | --psdi | --psd | --ps)
 
1219
    ac_prev=psdir ;;
 
1220
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1221
    psdir=$ac_optarg ;;
 
1222
 
 
1223
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
1224
  | -silent | --silent | --silen | --sile | --sil)
 
1225
    silent=yes ;;
 
1226
 
 
1227
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 
1228
    ac_prev=sbindir ;;
 
1229
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 
1230
  | --sbi=* | --sb=*)
 
1231
    sbindir=$ac_optarg ;;
 
1232
 
 
1233
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
 
1234
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 
1235
  | --sharedst | --shareds | --shared | --share | --shar \
 
1236
  | --sha | --sh)
 
1237
    ac_prev=sharedstatedir ;;
 
1238
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 
1239
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 
1240
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 
1241
  | --sha=* | --sh=*)
 
1242
    sharedstatedir=$ac_optarg ;;
 
1243
 
 
1244
  -site | --site | --sit)
 
1245
    ac_prev=site ;;
 
1246
  -site=* | --site=* | --sit=*)
 
1247
    site=$ac_optarg ;;
 
1248
 
 
1249
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 
1250
    ac_prev=srcdir ;;
 
1251
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 
1252
    srcdir=$ac_optarg ;;
 
1253
 
 
1254
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 
1255
  | --syscon | --sysco | --sysc | --sys | --sy)
 
1256
    ac_prev=sysconfdir ;;
 
1257
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 
1258
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 
1259
    sysconfdir=$ac_optarg ;;
 
1260
 
 
1261
  -target | --target | --targe | --targ | --tar | --ta | --t)
 
1262
    ac_prev=target_alias ;;
 
1263
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 
1264
    target_alias=$ac_optarg ;;
 
1265
 
 
1266
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
 
1267
    verbose=yes ;;
 
1268
 
 
1269
  -version | --version | --versio | --versi | --vers | -V)
 
1270
    ac_init_version=: ;;
 
1271
 
 
1272
  -with-* | --with-*)
 
1273
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1274
    # Reject names that are not valid shell variable names.
 
1275
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1276
      as_fn_error "invalid package name: $ac_useropt"
 
1277
    ac_useropt_orig=$ac_useropt
 
1278
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1279
    case $ac_user_opts in
 
1280
      *"
 
1281
"with_$ac_useropt"
 
1282
"*) ;;
 
1283
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1284
         ac_unrecognized_sep=', ';;
 
1285
    esac
 
1286
    eval with_$ac_useropt=\$ac_optarg ;;
 
1287
 
 
1288
  -without-* | --without-*)
 
1289
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1290
    # Reject names that are not valid shell variable names.
 
1291
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1292
      as_fn_error "invalid package name: $ac_useropt"
 
1293
    ac_useropt_orig=$ac_useropt
 
1294
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1295
    case $ac_user_opts in
 
1296
      *"
 
1297
"with_$ac_useropt"
 
1298
"*) ;;
 
1299
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1300
         ac_unrecognized_sep=', ';;
 
1301
    esac
 
1302
    eval with_$ac_useropt=no ;;
 
1303
 
 
1304
  --x)
 
1305
    # Obsolete; use --with-x.
 
1306
    with_x=yes ;;
 
1307
 
 
1308
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 
1309
  | --x-incl | --x-inc | --x-in | --x-i)
 
1310
    ac_prev=x_includes ;;
 
1311
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 
1312
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 
1313
    x_includes=$ac_optarg ;;
 
1314
 
 
1315
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
 
1316
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 
1317
    ac_prev=x_libraries ;;
 
1318
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 
1319
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 
1320
    x_libraries=$ac_optarg ;;
 
1321
 
 
1322
  -*) as_fn_error "unrecognized option: \`$ac_option'
 
1323
Try \`$0 --help' for more information."
 
1324
    ;;
 
1325
 
 
1326
  *=*)
 
1327
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 
1328
    # Reject names that are not valid shell variable names.
 
1329
    case $ac_envvar in #(
 
1330
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1331
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
1332
    esac
 
1333
    eval $ac_envvar=\$ac_optarg
 
1334
    export $ac_envvar ;;
 
1335
 
 
1336
  *)
 
1337
    # FIXME: should be removed in autoconf 3.0.
 
1338
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1339
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
1340
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1341
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1342
    ;;
 
1343
 
 
1344
  esac
 
1345
done
 
1346
 
 
1347
if test -n "$ac_prev"; then
 
1348
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 
1349
  as_fn_error "missing argument to $ac_option"
 
1350
fi
 
1351
 
 
1352
if test -n "$ac_unrecognized_opts"; then
 
1353
  case $enable_option_checking in
 
1354
    no) ;;
 
1355
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
 
1356
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1357
  esac
 
1358
fi
 
1359
 
 
1360
# Check all directory arguments for consistency.
 
1361
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1362
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1363
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1364
                libdir localedir mandir
 
1365
do
 
1366
  eval ac_val=\$$ac_var
 
1367
  # Remove trailing slashes.
 
1368
  case $ac_val in
 
1369
    */ )
 
1370
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1371
      eval $ac_var=\$ac_val;;
 
1372
  esac
 
1373
  # Be sure to have absolute directory names.
 
1374
  case $ac_val in
 
1375
    [\\/$]* | ?:[\\/]* )  continue;;
 
1376
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1377
  esac
 
1378
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
 
1379
done
 
1380
 
 
1381
# There might be people who depend on the old broken behavior: `$host'
 
1382
# used to hold the argument of --host etc.
 
1383
# FIXME: To remove some day.
 
1384
build=$build_alias
 
1385
host=$host_alias
 
1386
target=$target_alias
 
1387
 
 
1388
# FIXME: To remove some day.
 
1389
if test "x$host_alias" != x; then
 
1390
  if test "x$build_alias" = x; then
 
1391
    cross_compiling=maybe
 
1392
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
1393
    If a cross compiler is detected then cross compile mode will be used." >&2
 
1394
  elif test "x$build_alias" != "x$host_alias"; then
 
1395
    cross_compiling=yes
 
1396
  fi
 
1397
fi
 
1398
 
 
1399
ac_tool_prefix=
 
1400
test -n "$host_alias" && ac_tool_prefix=$host_alias-
 
1401
 
 
1402
test "$silent" = yes && exec 6>/dev/null
 
1403
 
 
1404
 
 
1405
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1406
ac_ls_di=`ls -di .` &&
 
1407
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1408
  as_fn_error "working directory cannot be determined"
 
1409
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1410
  as_fn_error "pwd does not report name of working directory"
 
1411
 
 
1412
 
 
1413
# Find the source files, if location was not specified.
 
1414
if test -z "$srcdir"; then
 
1415
  ac_srcdir_defaulted=yes
 
1416
  # Try the directory containing this script, then the parent directory.
 
1417
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1418
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1419
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1420
         X"$as_myself" : 'X\(//\)$' \| \
 
1421
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1422
$as_echo X"$as_myself" |
 
1423
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1424
            s//\1/
 
1425
            q
 
1426
          }
 
1427
          /^X\(\/\/\)[^/].*/{
 
1428
            s//\1/
 
1429
            q
 
1430
          }
 
1431
          /^X\(\/\/\)$/{
 
1432
            s//\1/
 
1433
            q
 
1434
          }
 
1435
          /^X\(\/\).*/{
 
1436
            s//\1/
 
1437
            q
 
1438
          }
 
1439
          s/.*/./; q'`
 
1440
  srcdir=$ac_confdir
 
1441
  if test ! -r "$srcdir/$ac_unique_file"; then
 
1442
    srcdir=..
 
1443
  fi
 
1444
else
 
1445
  ac_srcdir_defaulted=no
 
1446
fi
 
1447
if test ! -r "$srcdir/$ac_unique_file"; then
 
1448
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1449
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
 
1450
fi
 
1451
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1452
ac_abs_confdir=`(
 
1453
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
 
1454
        pwd)`
 
1455
# When building in place, set srcdir=.
 
1456
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1457
  srcdir=.
 
1458
fi
 
1459
# Remove unnecessary trailing slashes from srcdir.
 
1460
# Double slashes in file names in object file debugging info
 
1461
# mess up M-x gdb in Emacs.
 
1462
case $srcdir in
 
1463
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1464
esac
 
1465
for ac_var in $ac_precious_vars; do
 
1466
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1467
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1468
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1469
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1470
done
 
1471
 
 
1472
#
 
1473
# Report the --help message.
 
1474
#
 
1475
if test "$ac_init_help" = "long"; then
 
1476
  # Omit some internal or obsolete options to make the list less imposing.
 
1477
  # This message is too long to be a string in the A/UX 3.1 sh.
 
1478
  cat <<_ACEOF
 
1479
\`configure' configures gmlive 0.22.2 to adapt to many kinds of systems.
 
1480
 
 
1481
Usage: $0 [OPTION]... [VAR=VALUE]...
 
1482
 
 
1483
To assign environment variables (e.g., CC, CFLAGS...), specify them as
 
1484
VAR=VALUE.  See below for descriptions of some of the useful variables.
 
1485
 
 
1486
Defaults for the options are specified in brackets.
 
1487
 
 
1488
Configuration:
 
1489
  -h, --help              display this help and exit
 
1490
      --help=short        display options specific to this package
 
1491
      --help=recursive    display the short help of all the included packages
 
1492
  -V, --version           display version information and exit
 
1493
  -q, --quiet, --silent   do not print \`checking...' messages
 
1494
      --cache-file=FILE   cache test results in FILE [disabled]
 
1495
  -C, --config-cache      alias for \`--cache-file=config.cache'
 
1496
  -n, --no-create         do not create output files
 
1497
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 
1498
 
 
1499
Installation directories:
 
1500
  --prefix=PREFIX         install architecture-independent files in PREFIX
 
1501
                          [$ac_default_prefix]
 
1502
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 
1503
                          [PREFIX]
 
1504
 
 
1505
By default, \`make install' will install all the files in
 
1506
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 
1507
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 
1508
for instance \`--prefix=\$HOME'.
 
1509
 
 
1510
For better control, use the options below.
 
1511
 
 
1512
Fine tuning of the installation directories:
 
1513
  --bindir=DIR            user executables [EPREFIX/bin]
 
1514
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1515
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1516
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1517
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1518
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1519
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1520
  --includedir=DIR        C header files [PREFIX/include]
 
1521
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1522
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1523
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1524
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1525
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1526
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1527
  --docdir=DIR            documentation root [DATAROOTDIR/doc/gmlive]
 
1528
  --htmldir=DIR           html documentation [DOCDIR]
 
1529
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1530
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1531
  --psdir=DIR             ps documentation [DOCDIR]
 
1532
_ACEOF
 
1533
 
 
1534
  cat <<\_ACEOF
 
1535
 
 
1536
Program names:
 
1537
  --program-prefix=PREFIX            prepend PREFIX to installed program names
 
1538
  --program-suffix=SUFFIX            append SUFFIX to installed program names
 
1539
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 
1540
 
 
1541
System types:
 
1542
  --build=BUILD     configure for building on BUILD [guessed]
 
1543
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 
1544
_ACEOF
 
1545
fi
 
1546
 
 
1547
if test -n "$ac_init_help"; then
 
1548
  case $ac_init_help in
 
1549
     short | recursive ) echo "Configuration of gmlive 0.22.2:";;
 
1550
   esac
 
1551
  cat <<\_ACEOF
 
1552
 
 
1553
Optional Features:
 
1554
  --disable-option-checking  ignore unrecognized --enable/--with options
 
1555
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 
1556
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 
1557
  --enable-maintainer-mode  enable make rules and dependencies not useful
 
1558
                          (and sometimes confusing) to the casual installer
 
1559
  --disable-nls           do not use Native Language Support
 
1560
  --disable-dependency-tracking  speeds up one-time build
 
1561
  --enable-dependency-tracking   do not reject slow dependency extractors
 
1562
  --enable-shared[=PKGS]  build shared libraries [default=yes]
 
1563
  --enable-static[=PKGS]  build static libraries [default=yes]
 
1564
  --enable-fast-install[=PKGS]
 
1565
                          optimize for fast installation [default=yes]
 
1566
  --disable-libtool-lock  avoid locking (might break parallel builds)
 
1567
 
 
1568
Optional Packages:
 
1569
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 
1570
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 
1571
  --with-pic              try to use only PIC/non-PIC objects [default=use
 
1572
                          both]
 
1573
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
1574
 
 
1575
Some influential environment variables:
 
1576
  CC          C compiler command
 
1577
  CFLAGS      C compiler flags
 
1578
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 
1579
              nonstandard directory <lib dir>
 
1580
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1581
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1582
              you have headers in a nonstandard directory <include dir>
 
1583
  CPP         C preprocessor
 
1584
  CXX         C++ compiler command
 
1585
  CXXFLAGS    C++ compiler flags
 
1586
  CXXCPP      C++ preprocessor
 
1587
  PKG_CONFIG  path to pkg-config utility
 
1588
  PACKAGE_CFLAGS
 
1589
              C compiler flags for PACKAGE, overriding pkg-config
 
1590
  PACKAGE_LIBS
 
1591
              linker flags for PACKAGE, overriding pkg-config
 
1592
 
 
1593
Use these variables to override the choices made by `configure' or to help
 
1594
it to find libraries and programs with nonstandard names/locations.
 
1595
 
 
1596
Report bugs to <xihels@gmail.com>.
 
1597
_ACEOF
 
1598
ac_status=$?
 
1599
fi
 
1600
 
 
1601
if test "$ac_init_help" = "recursive"; then
 
1602
  # If there are subdirs, report their specific --help.
 
1603
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 
1604
    test -d "$ac_dir" ||
 
1605
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1606
      continue
 
1607
    ac_builddir=.
 
1608
 
 
1609
case "$ac_dir" in
 
1610
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1611
*)
 
1612
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
1613
  # A ".." for each directory in $ac_dir_suffix.
 
1614
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
1615
  case $ac_top_builddir_sub in
 
1616
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1617
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1618
  esac ;;
 
1619
esac
 
1620
ac_abs_top_builddir=$ac_pwd
 
1621
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1622
# for backward compatibility:
 
1623
ac_top_builddir=$ac_top_build_prefix
 
1624
 
 
1625
case $srcdir in
 
1626
  .)  # We are building in place.
 
1627
    ac_srcdir=.
 
1628
    ac_top_srcdir=$ac_top_builddir_sub
 
1629
    ac_abs_top_srcdir=$ac_pwd ;;
 
1630
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
1631
    ac_srcdir=$srcdir$ac_dir_suffix;
 
1632
    ac_top_srcdir=$srcdir
 
1633
    ac_abs_top_srcdir=$srcdir ;;
 
1634
  *) # Relative name.
 
1635
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1636
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1637
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1638
esac
 
1639
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1640
 
 
1641
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1642
    # Check for guested configure.
 
1643
    if test -f "$ac_srcdir/configure.gnu"; then
 
1644
      echo &&
 
1645
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1646
    elif test -f "$ac_srcdir/configure"; then
 
1647
      echo &&
 
1648
      $SHELL "$ac_srcdir/configure" --help=recursive
 
1649
    else
 
1650
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1651
    fi || ac_status=$?
 
1652
    cd "$ac_pwd" || { ac_status=$?; break; }
 
1653
  done
 
1654
fi
 
1655
 
 
1656
test -n "$ac_init_help" && exit $ac_status
 
1657
if $ac_init_version; then
 
1658
  cat <<\_ACEOF
 
1659
gmlive configure 0.22.2
 
1660
generated by GNU Autoconf 2.64
 
1661
 
 
1662
Copyright (C) 2009 Free Software Foundation, Inc.
 
1663
This configure script is free software; the Free Software Foundation
 
1664
gives unlimited permission to copy, distribute and modify it.
 
1665
 
 
1666
Copyright (C) 2007 xihels@gmail.com
 
1667
_ACEOF
 
1668
  exit
 
1669
fi
 
1670
 
 
1671
## ------------------------ ##
 
1672
## Autoconf initialization. ##
 
1673
## ------------------------ ##
 
1674
 
 
1675
# ac_fn_c_try_compile LINENO
 
1676
# --------------------------
 
1677
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1678
ac_fn_c_try_compile ()
 
1679
{
 
1680
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1681
  rm -f conftest.$ac_objext
 
1682
  if { { ac_try="$ac_compile"
 
1683
case "(($ac_try" in
 
1684
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1685
  *) ac_try_echo=$ac_try;;
 
1686
esac
 
1687
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1688
$as_echo "$ac_try_echo"; } >&5
 
1689
  (eval "$ac_compile") 2>conftest.err
 
1690
  ac_status=$?
 
1691
  if test -s conftest.err; then
 
1692
    grep -v '^ *+' conftest.err >conftest.er1
 
1693
    cat conftest.er1 >&5
 
1694
    mv -f conftest.er1 conftest.err
 
1695
  fi
 
1696
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1697
  test $ac_status = 0; } && {
 
1698
         test -z "$ac_c_werror_flag" ||
 
1699
         test ! -s conftest.err
 
1700
       } && test -s conftest.$ac_objext; then :
 
1701
  ac_retval=0
 
1702
else
 
1703
  $as_echo "$as_me: failed program was:" >&5
 
1704
sed 's/^/| /' conftest.$ac_ext >&5
 
1705
 
 
1706
        ac_retval=1
 
1707
fi
 
1708
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1709
  return $ac_retval
 
1710
 
 
1711
} # ac_fn_c_try_compile
 
1712
 
 
1713
# ac_fn_c_try_link LINENO
 
1714
# -----------------------
 
1715
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1716
ac_fn_c_try_link ()
 
1717
{
 
1718
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1719
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1720
  if { { ac_try="$ac_link"
 
1721
case "(($ac_try" in
 
1722
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1723
  *) ac_try_echo=$ac_try;;
 
1724
esac
 
1725
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1726
$as_echo "$ac_try_echo"; } >&5
 
1727
  (eval "$ac_link") 2>conftest.err
 
1728
  ac_status=$?
 
1729
  if test -s conftest.err; then
 
1730
    grep -v '^ *+' conftest.err >conftest.er1
 
1731
    cat conftest.er1 >&5
 
1732
    mv -f conftest.er1 conftest.err
 
1733
  fi
 
1734
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1735
  test $ac_status = 0; } && {
 
1736
         test -z "$ac_c_werror_flag" ||
 
1737
         test ! -s conftest.err
 
1738
       } && test -s conftest$ac_exeext && {
 
1739
         test "$cross_compiling" = yes ||
 
1740
         $as_test_x conftest$ac_exeext
 
1741
       }; then :
 
1742
  ac_retval=0
 
1743
else
 
1744
  $as_echo "$as_me: failed program was:" >&5
 
1745
sed 's/^/| /' conftest.$ac_ext >&5
 
1746
 
 
1747
        ac_retval=1
 
1748
fi
 
1749
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1750
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1751
  # interfere with the next link command; also delete a directory that is
 
1752
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1753
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1754
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1755
  return $ac_retval
 
1756
 
 
1757
} # ac_fn_c_try_link
 
1758
 
 
1759
# ac_fn_c_check_func LINENO FUNC VAR
 
1760
# ----------------------------------
 
1761
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
1762
ac_fn_c_check_func ()
 
1763
{
 
1764
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1765
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1766
$as_echo_n "checking for $2... " >&6; }
 
1767
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1768
  $as_echo_n "(cached) " >&6
 
1769
else
 
1770
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1771
/* end confdefs.h.  */
 
1772
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
1773
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
1774
#define $2 innocuous_$2
 
1775
 
 
1776
/* System header to define __stub macros and hopefully few prototypes,
 
1777
    which can conflict with char $2 (); below.
 
1778
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
1779
    <limits.h> exists even on freestanding compilers.  */
 
1780
 
 
1781
#ifdef __STDC__
 
1782
# include <limits.h>
 
1783
#else
 
1784
# include <assert.h>
 
1785
#endif
 
1786
 
 
1787
#undef $2
 
1788
 
 
1789
/* Override any GCC internal prototype to avoid an error.
 
1790
   Use char because int might match the return type of a GCC
 
1791
   builtin and then its argument prototype would still apply.  */
 
1792
#ifdef __cplusplus
 
1793
extern "C"
 
1794
#endif
 
1795
char $2 ();
 
1796
/* The GNU C library defines this for functions which it implements
 
1797
    to always fail with ENOSYS.  Some functions are actually named
 
1798
    something starting with __ and the normal name is an alias.  */
 
1799
#if defined __stub_$2 || defined __stub___$2
 
1800
choke me
 
1801
#endif
 
1802
 
 
1803
int
 
1804
main ()
 
1805
{
 
1806
return $2 ();
 
1807
  ;
 
1808
  return 0;
 
1809
}
 
1810
_ACEOF
 
1811
if ac_fn_c_try_link "$LINENO"; then :
 
1812
  eval "$3=yes"
 
1813
else
 
1814
  eval "$3=no"
 
1815
fi
 
1816
rm -f core conftest.err conftest.$ac_objext \
 
1817
    conftest$ac_exeext conftest.$ac_ext
 
1818
fi
 
1819
eval ac_res=\$$3
 
1820
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1821
$as_echo "$ac_res" >&6; }
 
1822
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1823
 
 
1824
} # ac_fn_c_check_func
 
1825
 
 
1826
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1827
# -------------------------------------------------------
 
1828
# Tests whether HEADER exists and can be compiled using the include files in
 
1829
# INCLUDES, setting the cache variable VAR accordingly.
 
1830
ac_fn_c_check_header_compile ()
 
1831
{
 
1832
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1833
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1834
$as_echo_n "checking for $2... " >&6; }
 
1835
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1836
  $as_echo_n "(cached) " >&6
 
1837
else
 
1838
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1839
/* end confdefs.h.  */
 
1840
$4
 
1841
#include <$2>
 
1842
_ACEOF
 
1843
if ac_fn_c_try_compile "$LINENO"; then :
 
1844
  eval "$3=yes"
 
1845
else
 
1846
  eval "$3=no"
 
1847
fi
 
1848
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1849
fi
 
1850
eval ac_res=\$$3
 
1851
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1852
$as_echo "$ac_res" >&6; }
 
1853
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1854
 
 
1855
} # ac_fn_c_check_header_compile
 
1856
 
 
1857
# ac_fn_c_try_cpp LINENO
 
1858
# ----------------------
 
1859
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1860
ac_fn_c_try_cpp ()
 
1861
{
 
1862
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1863
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1864
case "(($ac_try" in
 
1865
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1866
  *) ac_try_echo=$ac_try;;
 
1867
esac
 
1868
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1869
$as_echo "$ac_try_echo"; } >&5
 
1870
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1871
  ac_status=$?
 
1872
  if test -s conftest.err; then
 
1873
    grep -v '^ *+' conftest.err >conftest.er1
 
1874
    cat conftest.er1 >&5
 
1875
    mv -f conftest.er1 conftest.err
 
1876
  fi
 
1877
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1878
  test $ac_status = 0; } >/dev/null && {
 
1879
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1880
         test ! -s conftest.err
 
1881
       }; then :
 
1882
  ac_retval=0
 
1883
else
 
1884
  $as_echo "$as_me: failed program was:" >&5
 
1885
sed 's/^/| /' conftest.$ac_ext >&5
 
1886
 
 
1887
    ac_retval=1
 
1888
fi
 
1889
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1890
  return $ac_retval
 
1891
 
 
1892
} # ac_fn_c_try_cpp
 
1893
 
 
1894
# ac_fn_c_try_run LINENO
 
1895
# ----------------------
 
1896
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
1897
# that executables *can* be run.
 
1898
ac_fn_c_try_run ()
 
1899
{
 
1900
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1901
  if { { ac_try="$ac_link"
 
1902
case "(($ac_try" in
 
1903
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1904
  *) ac_try_echo=$ac_try;;
 
1905
esac
 
1906
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1907
$as_echo "$ac_try_echo"; } >&5
 
1908
  (eval "$ac_link") 2>&5
 
1909
  ac_status=$?
 
1910
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1911
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1912
  { { case "(($ac_try" in
 
1913
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1914
  *) ac_try_echo=$ac_try;;
 
1915
esac
 
1916
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1917
$as_echo "$ac_try_echo"; } >&5
 
1918
  (eval "$ac_try") 2>&5
 
1919
  ac_status=$?
 
1920
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1921
  test $ac_status = 0; }; }; then :
 
1922
  ac_retval=0
 
1923
else
 
1924
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1925
       $as_echo "$as_me: failed program was:" >&5
 
1926
sed 's/^/| /' conftest.$ac_ext >&5
 
1927
 
 
1928
       ac_retval=$ac_status
 
1929
fi
 
1930
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1931
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1932
  return $ac_retval
 
1933
 
 
1934
} # ac_fn_c_try_run
 
1935
 
 
1936
# ac_fn_cxx_try_compile LINENO
 
1937
# ----------------------------
 
1938
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1939
ac_fn_cxx_try_compile ()
 
1940
{
 
1941
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1942
  rm -f conftest.$ac_objext
 
1943
  if { { ac_try="$ac_compile"
 
1944
case "(($ac_try" in
 
1945
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1946
  *) ac_try_echo=$ac_try;;
 
1947
esac
 
1948
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1949
$as_echo "$ac_try_echo"; } >&5
 
1950
  (eval "$ac_compile") 2>conftest.err
 
1951
  ac_status=$?
 
1952
  if test -s conftest.err; then
 
1953
    grep -v '^ *+' conftest.err >conftest.er1
 
1954
    cat conftest.er1 >&5
 
1955
    mv -f conftest.er1 conftest.err
 
1956
  fi
 
1957
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1958
  test $ac_status = 0; } && {
 
1959
         test -z "$ac_cxx_werror_flag" ||
 
1960
         test ! -s conftest.err
 
1961
       } && test -s conftest.$ac_objext; then :
 
1962
  ac_retval=0
 
1963
else
 
1964
  $as_echo "$as_me: failed program was:" >&5
 
1965
sed 's/^/| /' conftest.$ac_ext >&5
 
1966
 
 
1967
        ac_retval=1
 
1968
fi
 
1969
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1970
  return $ac_retval
 
1971
 
 
1972
} # ac_fn_cxx_try_compile
 
1973
 
 
1974
# ac_fn_cxx_try_cpp LINENO
 
1975
# ------------------------
 
1976
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1977
ac_fn_cxx_try_cpp ()
 
1978
{
 
1979
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1980
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1981
case "(($ac_try" in
 
1982
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1983
  *) ac_try_echo=$ac_try;;
 
1984
esac
 
1985
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1986
$as_echo "$ac_try_echo"; } >&5
 
1987
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1988
  ac_status=$?
 
1989
  if test -s conftest.err; then
 
1990
    grep -v '^ *+' conftest.err >conftest.er1
 
1991
    cat conftest.er1 >&5
 
1992
    mv -f conftest.er1 conftest.err
 
1993
  fi
 
1994
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1995
  test $ac_status = 0; } >/dev/null && {
 
1996
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
1997
         test ! -s conftest.err
 
1998
       }; then :
 
1999
  ac_retval=0
 
2000
else
 
2001
  $as_echo "$as_me: failed program was:" >&5
 
2002
sed 's/^/| /' conftest.$ac_ext >&5
 
2003
 
 
2004
    ac_retval=1
 
2005
fi
 
2006
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2007
  return $ac_retval
 
2008
 
 
2009
} # ac_fn_cxx_try_cpp
 
2010
 
 
2011
# ac_fn_cxx_try_link LINENO
 
2012
# -------------------------
 
2013
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
2014
ac_fn_cxx_try_link ()
 
2015
{
 
2016
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2017
  rm -f conftest.$ac_objext conftest$ac_exeext
 
2018
  if { { ac_try="$ac_link"
 
2019
case "(($ac_try" in
 
2020
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2021
  *) ac_try_echo=$ac_try;;
 
2022
esac
 
2023
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2024
$as_echo "$ac_try_echo"; } >&5
 
2025
  (eval "$ac_link") 2>conftest.err
 
2026
  ac_status=$?
 
2027
  if test -s conftest.err; then
 
2028
    grep -v '^ *+' conftest.err >conftest.er1
 
2029
    cat conftest.er1 >&5
 
2030
    mv -f conftest.er1 conftest.err
 
2031
  fi
 
2032
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2033
  test $ac_status = 0; } && {
 
2034
         test -z "$ac_cxx_werror_flag" ||
 
2035
         test ! -s conftest.err
 
2036
       } && test -s conftest$ac_exeext && {
 
2037
         test "$cross_compiling" = yes ||
 
2038
         $as_test_x conftest$ac_exeext
 
2039
       }; then :
 
2040
  ac_retval=0
 
2041
else
 
2042
  $as_echo "$as_me: failed program was:" >&5
 
2043
sed 's/^/| /' conftest.$ac_ext >&5
 
2044
 
 
2045
        ac_retval=1
 
2046
fi
 
2047
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
2048
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
2049
  # interfere with the next link command; also delete a directory that is
 
2050
  # left behind by Apple's compiler.  We do this before executing the actions.
 
2051
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
2052
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2053
  return $ac_retval
 
2054
 
 
2055
} # ac_fn_cxx_try_link
 
2056
 
 
2057
# ac_fn_cxx_check_func LINENO FUNC VAR
 
2058
# ------------------------------------
 
2059
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
2060
ac_fn_cxx_check_func ()
 
2061
{
 
2062
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2063
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2064
$as_echo_n "checking for $2... " >&6; }
 
2065
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2066
  $as_echo_n "(cached) " >&6
 
2067
else
 
2068
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2069
/* end confdefs.h.  */
 
2070
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
2071
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
2072
#define $2 innocuous_$2
 
2073
 
 
2074
/* System header to define __stub macros and hopefully few prototypes,
 
2075
    which can conflict with char $2 (); below.
 
2076
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
2077
    <limits.h> exists even on freestanding compilers.  */
 
2078
 
 
2079
#ifdef __STDC__
 
2080
# include <limits.h>
 
2081
#else
 
2082
# include <assert.h>
 
2083
#endif
 
2084
 
 
2085
#undef $2
 
2086
 
 
2087
/* Override any GCC internal prototype to avoid an error.
 
2088
   Use char because int might match the return type of a GCC
 
2089
   builtin and then its argument prototype would still apply.  */
 
2090
#ifdef __cplusplus
 
2091
extern "C"
 
2092
#endif
 
2093
char $2 ();
 
2094
/* The GNU C library defines this for functions which it implements
 
2095
    to always fail with ENOSYS.  Some functions are actually named
 
2096
    something starting with __ and the normal name is an alias.  */
 
2097
#if defined __stub_$2 || defined __stub___$2
 
2098
choke me
 
2099
#endif
 
2100
 
 
2101
int
 
2102
main ()
 
2103
{
 
2104
return $2 ();
 
2105
  ;
 
2106
  return 0;
 
2107
}
 
2108
_ACEOF
 
2109
if ac_fn_cxx_try_link "$LINENO"; then :
 
2110
  eval "$3=yes"
 
2111
else
 
2112
  eval "$3=no"
 
2113
fi
 
2114
rm -f core conftest.err conftest.$ac_objext \
 
2115
    conftest$ac_exeext conftest.$ac_ext
 
2116
fi
 
2117
eval ac_res=\$$3
 
2118
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2119
$as_echo "$ac_res" >&6; }
 
2120
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2121
 
 
2122
} # ac_fn_cxx_check_func
 
2123
 
 
2124
# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
 
2125
# ---------------------------------------------------------
 
2126
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
2127
# the include files in INCLUDES and setting the cache variable VAR
 
2128
# accordingly.
 
2129
ac_fn_cxx_check_header_mongrel ()
 
2130
{
 
2131
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2132
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2133
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2134
$as_echo_n "checking for $2... " >&6; }
 
2135
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2136
  $as_echo_n "(cached) " >&6
 
2137
fi
 
2138
eval ac_res=\$$3
 
2139
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2140
$as_echo "$ac_res" >&6; }
 
2141
else
 
2142
  # Is the header compilable?
 
2143
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
2144
$as_echo_n "checking $2 usability... " >&6; }
 
2145
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2146
/* end confdefs.h.  */
 
2147
$4
 
2148
#include <$2>
 
2149
_ACEOF
 
2150
if ac_fn_cxx_try_compile "$LINENO"; then :
 
2151
  ac_header_compiler=yes
 
2152
else
 
2153
  ac_header_compiler=no
 
2154
fi
 
2155
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2156
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
2157
$as_echo "$ac_header_compiler" >&6; }
 
2158
 
 
2159
# Is the header present?
 
2160
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
2161
$as_echo_n "checking $2 presence... " >&6; }
 
2162
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2163
/* end confdefs.h.  */
 
2164
#include <$2>
 
2165
_ACEOF
 
2166
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
2167
  ac_header_preproc=yes
 
2168
else
 
2169
  ac_header_preproc=no
 
2170
fi
 
2171
rm -f conftest.err conftest.$ac_ext
 
2172
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
2173
$as_echo "$ac_header_preproc" >&6; }
 
2174
 
 
2175
# So?  What about this header?
 
2176
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
 
2177
  yes:no: )
 
2178
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
2179
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
2180
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2181
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2182
    ;;
 
2183
  no:yes:* )
 
2184
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
2185
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
2186
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
2187
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
2188
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
2189
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
2190
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
2191
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
2192
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2193
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2194
( cat <<\_ASBOX
 
2195
## ------------------------------- ##
 
2196
## Report this to xihels@gmail.com ##
 
2197
## ------------------------------- ##
 
2198
_ASBOX
 
2199
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
2200
    ;;
 
2201
esac
 
2202
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2203
$as_echo_n "checking for $2... " >&6; }
 
2204
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2205
  $as_echo_n "(cached) " >&6
 
2206
else
 
2207
  eval "$3=\$ac_header_compiler"
 
2208
fi
 
2209
eval ac_res=\$$3
 
2210
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2211
$as_echo "$ac_res" >&6; }
 
2212
fi
 
2213
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2214
 
 
2215
} # ac_fn_cxx_check_header_mongrel
 
2216
cat >config.log <<_ACEOF
 
2217
This file contains any messages produced by compilers while
 
2218
running configure, to aid debugging if configure makes a mistake.
 
2219
 
 
2220
It was created by gmlive $as_me 0.22.2, which was
 
2221
generated by GNU Autoconf 2.64.  Invocation command line was
 
2222
 
 
2223
  $ $0 $@
 
2224
 
 
2225
_ACEOF
 
2226
exec 5>>config.log
 
2227
{
 
2228
cat <<_ASUNAME
 
2229
## --------- ##
 
2230
## Platform. ##
 
2231
## --------- ##
 
2232
 
 
2233
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 
2234
uname -m = `(uname -m) 2>/dev/null || echo unknown`
 
2235
uname -r = `(uname -r) 2>/dev/null || echo unknown`
 
2236
uname -s = `(uname -s) 2>/dev/null || echo unknown`
 
2237
uname -v = `(uname -v) 2>/dev/null || echo unknown`
 
2238
 
 
2239
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 
2240
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 
2241
 
 
2242
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 
2243
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 
2244
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 
2245
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 
2246
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 
2247
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 
2248
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 
2249
 
 
2250
_ASUNAME
 
2251
 
 
2252
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2253
for as_dir in $PATH
 
2254
do
 
2255
  IFS=$as_save_IFS
 
2256
  test -z "$as_dir" && as_dir=.
 
2257
    $as_echo "PATH: $as_dir"
 
2258
  done
 
2259
IFS=$as_save_IFS
 
2260
 
 
2261
} >&5
 
2262
 
 
2263
cat >&5 <<_ACEOF
 
2264
 
 
2265
 
 
2266
## ----------- ##
 
2267
## Core tests. ##
 
2268
## ----------- ##
 
2269
 
 
2270
_ACEOF
 
2271
 
 
2272
 
 
2273
# Keep a trace of the command line.
 
2274
# Strip out --no-create and --no-recursion so they do not pile up.
 
2275
# Strip out --silent because we don't want to record it for future runs.
 
2276
# Also quote any args containing shell meta-characters.
 
2277
# Make two passes to allow for proper duplicate-argument suppression.
 
2278
ac_configure_args=
 
2279
ac_configure_args0=
 
2280
ac_configure_args1=
 
2281
ac_must_keep_next=false
 
2282
for ac_pass in 1 2
 
2283
do
 
2284
  for ac_arg
 
2285
  do
 
2286
    case $ac_arg in
 
2287
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 
2288
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
2289
    | -silent | --silent | --silen | --sile | --sil)
 
2290
      continue ;;
 
2291
    *\'*)
 
2292
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2293
    esac
 
2294
    case $ac_pass in
 
2295
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
 
2296
    2)
 
2297
      as_fn_append ac_configure_args1 " '$ac_arg'"
 
2298
      if test $ac_must_keep_next = true; then
 
2299
        ac_must_keep_next=false # Got value, back to normal.
 
2300
      else
 
2301
        case $ac_arg in
 
2302
          *=* | --config-cache | -C | -disable-* | --disable-* \
 
2303
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 
2304
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 
2305
          | -with-* | --with-* | -without-* | --without-* | --x)
 
2306
            case "$ac_configure_args0 " in
 
2307
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 
2308
            esac
 
2309
            ;;
 
2310
          -* ) ac_must_keep_next=true ;;
 
2311
        esac
 
2312
      fi
 
2313
      as_fn_append ac_configure_args " '$ac_arg'"
 
2314
      ;;
 
2315
    esac
 
2316
  done
 
2317
done
 
2318
{ ac_configure_args0=; unset ac_configure_args0;}
 
2319
{ ac_configure_args1=; unset ac_configure_args1;}
 
2320
 
 
2321
# When interrupted or exit'd, cleanup temporary files, and complete
 
2322
# config.log.  We remove comments because anyway the quotes in there
 
2323
# would cause problems or look ugly.
 
2324
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
2325
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 
2326
trap 'exit_status=$?
 
2327
  # Save into config.log some information that might help in debugging.
 
2328
  {
 
2329
    echo
 
2330
 
 
2331
    cat <<\_ASBOX
 
2332
## ---------------- ##
 
2333
## Cache variables. ##
 
2334
## ---------------- ##
 
2335
_ASBOX
 
2336
    echo
 
2337
    # The following way of writing the cache mishandles newlines in values,
 
2338
(
 
2339
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
2340
    eval ac_val=\$$ac_var
 
2341
    case $ac_val in #(
 
2342
    *${as_nl}*)
 
2343
      case $ac_var in #(
 
2344
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
2345
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
2346
      esac
 
2347
      case $ac_var in #(
 
2348
      _ | IFS | as_nl) ;; #(
 
2349
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
2350
      *) { eval $ac_var=; unset $ac_var;} ;;
 
2351
      esac ;;
 
2352
    esac
 
2353
  done
 
2354
  (set) 2>&1 |
 
2355
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
2356
    *${as_nl}ac_space=\ *)
 
2357
      sed -n \
 
2358
        "s/'\''/'\''\\\\'\'''\''/g;
 
2359
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
2360
      ;; #(
 
2361
    *)
 
2362
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
2363
      ;;
 
2364
    esac |
 
2365
    sort
 
2366
)
 
2367
    echo
 
2368
 
 
2369
    cat <<\_ASBOX
 
2370
## ----------------- ##
 
2371
## Output variables. ##
 
2372
## ----------------- ##
 
2373
_ASBOX
 
2374
    echo
 
2375
    for ac_var in $ac_subst_vars
 
2376
    do
 
2377
      eval ac_val=\$$ac_var
 
2378
      case $ac_val in
 
2379
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2380
      esac
 
2381
      $as_echo "$ac_var='\''$ac_val'\''"
 
2382
    done | sort
 
2383
    echo
 
2384
 
 
2385
    if test -n "$ac_subst_files"; then
 
2386
      cat <<\_ASBOX
 
2387
## ------------------- ##
 
2388
## File substitutions. ##
 
2389
## ------------------- ##
 
2390
_ASBOX
 
2391
      echo
 
2392
      for ac_var in $ac_subst_files
 
2393
      do
 
2394
        eval ac_val=\$$ac_var
 
2395
        case $ac_val in
 
2396
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
2397
        esac
 
2398
        $as_echo "$ac_var='\''$ac_val'\''"
 
2399
      done | sort
 
2400
      echo
 
2401
    fi
 
2402
 
 
2403
    if test -s confdefs.h; then
 
2404
      cat <<\_ASBOX
 
2405
## ----------- ##
 
2406
## confdefs.h. ##
 
2407
## ----------- ##
 
2408
_ASBOX
 
2409
      echo
 
2410
      cat confdefs.h
 
2411
      echo
 
2412
    fi
 
2413
    test "$ac_signal" != 0 &&
 
2414
      $as_echo "$as_me: caught signal $ac_signal"
 
2415
    $as_echo "$as_me: exit $exit_status"
 
2416
  } >&5
 
2417
  rm -f core *.core core.conftest.* &&
 
2418
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 
2419
    exit $exit_status
 
2420
' 0
 
2421
for ac_signal in 1 2 13 15; do
 
2422
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
 
2423
done
 
2424
ac_signal=0
 
2425
 
 
2426
# confdefs.h avoids OS command line length limits that DEFS can exceed.
 
2427
rm -f -r conftest* confdefs.h
 
2428
 
 
2429
$as_echo "/* confdefs.h */" > confdefs.h
 
2430
 
 
2431
# Predefined preprocessor variables.
 
2432
 
 
2433
cat >>confdefs.h <<_ACEOF
 
2434
#define PACKAGE_NAME "$PACKAGE_NAME"
 
2435
_ACEOF
 
2436
 
 
2437
cat >>confdefs.h <<_ACEOF
 
2438
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 
2439
_ACEOF
 
2440
 
 
2441
cat >>confdefs.h <<_ACEOF
 
2442
#define PACKAGE_VERSION "$PACKAGE_VERSION"
 
2443
_ACEOF
 
2444
 
 
2445
cat >>confdefs.h <<_ACEOF
 
2446
#define PACKAGE_STRING "$PACKAGE_STRING"
 
2447
_ACEOF
 
2448
 
 
2449
cat >>confdefs.h <<_ACEOF
 
2450
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 
2451
_ACEOF
 
2452
 
 
2453
cat >>confdefs.h <<_ACEOF
 
2454
#define PACKAGE_URL "$PACKAGE_URL"
 
2455
_ACEOF
 
2456
 
 
2457
 
 
2458
# Let the site file select an alternate cache file if it wants to.
 
2459
# Prefer an explicitly selected file to automatically selected ones.
 
2460
ac_site_file1=NONE
 
2461
ac_site_file2=NONE
 
2462
if test -n "$CONFIG_SITE"; then
 
2463
  ac_site_file1=$CONFIG_SITE
 
2464
elif test "x$prefix" != xNONE; then
 
2465
  ac_site_file1=$prefix/share/config.site
 
2466
  ac_site_file2=$prefix/etc/config.site
 
2467
else
 
2468
  ac_site_file1=$ac_default_prefix/share/config.site
 
2469
  ac_site_file2=$ac_default_prefix/etc/config.site
 
2470
fi
 
2471
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 
2472
do
 
2473
  test "x$ac_site_file" = xNONE && continue
 
2474
  if test -r "$ac_site_file"; then
 
2475
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 
2476
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
 
2477
    sed 's/^/| /' "$ac_site_file" >&5
 
2478
    . "$ac_site_file"
 
2479
  fi
 
2480
done
 
2481
 
 
2482
if test -r "$cache_file"; then
 
2483
  # Some versions of bash will fail to source /dev/null (special
 
2484
  # files actually), so we avoid doing that.
 
2485
  if test -f "$cache_file"; then
 
2486
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 
2487
$as_echo "$as_me: loading cache $cache_file" >&6;}
 
2488
    case $cache_file in
 
2489
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
2490
      *)                      . "./$cache_file";;
 
2491
    esac
 
2492
  fi
 
2493
else
 
2494
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 
2495
$as_echo "$as_me: creating cache $cache_file" >&6;}
 
2496
  >$cache_file
 
2497
fi
 
2498
 
 
2499
# Check that the precious variables saved in the cache have kept the same
 
2500
# value.
 
2501
ac_cache_corrupted=false
 
2502
for ac_var in $ac_precious_vars; do
 
2503
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
 
2504
  eval ac_new_set=\$ac_env_${ac_var}_set
 
2505
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
2506
  eval ac_new_val=\$ac_env_${ac_var}_value
 
2507
  case $ac_old_set,$ac_new_set in
 
2508
    set,)
 
2509
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2510
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
2511
      ac_cache_corrupted=: ;;
 
2512
    ,set)
 
2513
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 
2514
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
2515
      ac_cache_corrupted=: ;;
 
2516
    ,);;
 
2517
    *)
 
2518
      if test "x$ac_old_val" != "x$ac_new_val"; then
 
2519
        # differences in whitespace do not lead to failure.
 
2520
        ac_old_val_w=`echo x $ac_old_val`
 
2521
        ac_new_val_w=`echo x $ac_new_val`
 
2522
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
2523
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 
2524
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
2525
          ac_cache_corrupted=:
 
2526
        else
 
2527
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2528
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
2529
          eval $ac_var=\$ac_old_val
 
2530
        fi
 
2531
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 
2532
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
2533
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 
2534
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 
2535
      fi;;
 
2536
  esac
 
2537
  # Pass precious variables to config.status.
 
2538
  if test "$ac_new_set" = set; then
 
2539
    case $ac_new_val in
 
2540
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2541
    *) ac_arg=$ac_var=$ac_new_val ;;
 
2542
    esac
 
2543
    case " $ac_configure_args " in
 
2544
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 
2545
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
 
2546
    esac
 
2547
  fi
 
2548
done
 
2549
if $ac_cache_corrupted; then
 
2550
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2551
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2552
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 
2553
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
2554
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 
2555
fi
 
2556
## -------------------- ##
 
2557
## Main body of script. ##
 
2558
## -------------------- ##
 
2559
 
 
2560
ac_ext=c
 
2561
ac_cpp='$CPP $CPPFLAGS'
 
2562
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
2563
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
2564
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2565
 
 
2566
 
 
2567
 
 
2568
 
 
2569
ac_config_headers="$ac_config_headers config.h"
 
2570
 
 
2571
am__api_version='1.11'
 
2572
 
 
2573
ac_aux_dir=
 
2574
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
2575
  for ac_t in install-sh install.sh shtool; do
 
2576
    if test -f "$ac_dir/$ac_t"; then
 
2577
      ac_aux_dir=$ac_dir
 
2578
      ac_install_sh="$ac_aux_dir/$ac_t -c"
 
2579
      break 2
 
2580
    fi
 
2581
  done
 
2582
done
 
2583
if test -z "$ac_aux_dir"; then
 
2584
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 
2585
fi
 
2586
 
 
2587
# These three variables are undocumented and unsupported,
 
2588
# and are intended to be withdrawn in a future Autoconf release.
 
2589
# They can cause serious problems if a builder's source tree is in a directory
 
2590
# whose full name contains unusual characters.
 
2591
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
2592
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
2593
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
2594
 
 
2595
 
 
2596
# Find a good install program.  We prefer a C program (faster),
 
2597
# so one script is as good as another.  But avoid the broken or
 
2598
# incompatible versions:
 
2599
# SysV /etc/install, /usr/sbin/install
 
2600
# SunOS /usr/etc/install
 
2601
# IRIX /sbin/install
 
2602
# AIX /bin/install
 
2603
# AmigaOS /C/install, which installs bootblocks on floppy discs
 
2604
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 
2605
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
 
2606
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
2607
# OS/2's system install, which has a completely different semantic
 
2608
# ./install, which can be erroneously created by make from ./install.sh.
 
2609
# Reject install programs that cannot install multiple files.
 
2610
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 
2611
$as_echo_n "checking for a BSD-compatible install... " >&6; }
 
2612
if test -z "$INSTALL"; then
 
2613
if test "${ac_cv_path_install+set}" = set; then :
 
2614
  $as_echo_n "(cached) " >&6
 
2615
else
 
2616
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2617
for as_dir in $PATH
 
2618
do
 
2619
  IFS=$as_save_IFS
 
2620
  test -z "$as_dir" && as_dir=.
 
2621
    # Account for people who put trailing slashes in PATH elements.
 
2622
case $as_dir/ in #((
 
2623
  ./ | .// | /[cC]/* | \
 
2624
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
2625
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
 
2626
  /usr/ucb/* ) ;;
 
2627
  *)
 
2628
    # OSF1 and SCO ODT 3.0 have their own names for install.
 
2629
    # Don't use installbsd from OSF since it installs stuff as root
 
2630
    # by default.
 
2631
    for ac_prog in ginstall scoinst install; do
 
2632
      for ac_exec_ext in '' $ac_executable_extensions; do
 
2633
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 
2634
          if test $ac_prog = install &&
 
2635
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
2636
            # AIX install.  It has an incompatible calling convention.
 
2637
            :
 
2638
          elif test $ac_prog = install &&
 
2639
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
2640
            # program-specific install script used by HP pwplus--don't use.
 
2641
            :
 
2642
          else
 
2643
            rm -rf conftest.one conftest.two conftest.dir
 
2644
            echo one > conftest.one
 
2645
            echo two > conftest.two
 
2646
            mkdir conftest.dir
 
2647
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
2648
              test -s conftest.one && test -s conftest.two &&
 
2649
              test -s conftest.dir/conftest.one &&
 
2650
              test -s conftest.dir/conftest.two
 
2651
            then
 
2652
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
2653
              break 3
 
2654
            fi
 
2655
          fi
 
2656
        fi
 
2657
      done
 
2658
    done
 
2659
    ;;
 
2660
esac
 
2661
 
 
2662
  done
 
2663
IFS=$as_save_IFS
 
2664
 
 
2665
rm -rf conftest.one conftest.two conftest.dir
 
2666
 
 
2667
fi
 
2668
  if test "${ac_cv_path_install+set}" = set; then
 
2669
    INSTALL=$ac_cv_path_install
 
2670
  else
 
2671
    # As a last resort, use the slow shell script.  Don't cache a
 
2672
    # value for INSTALL within a source directory, because that will
 
2673
    # break other packages using the cache if that directory is
 
2674
    # removed, or if the value is a relative name.
 
2675
    INSTALL=$ac_install_sh
 
2676
  fi
 
2677
fi
 
2678
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 
2679
$as_echo "$INSTALL" >&6; }
 
2680
 
 
2681
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 
2682
# It thinks the first close brace ends the variable substitution.
 
2683
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 
2684
 
 
2685
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 
2686
 
 
2687
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
2688
 
 
2689
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 
2690
$as_echo_n "checking whether build environment is sane... " >&6; }
 
2691
# Just in case
 
2692
sleep 1
 
2693
echo timestamp > conftest.file
 
2694
# Reject unsafe characters in $srcdir or the absolute working directory
 
2695
# name.  Accept space and tab only in the latter.
 
2696
am_lf='
 
2697
'
 
2698
case `pwd` in
 
2699
  *[\\\"\#\$\&\'\`$am_lf]*)
 
2700
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
 
2701
esac
 
2702
case $srcdir in
 
2703
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 
2704
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
2705
esac
 
2706
 
 
2707
# Do `set' in a subshell so we don't clobber the current shell's
 
2708
# arguments.  Must try -L first in case configure is actually a
 
2709
# symlink; some systems play weird games with the mod time of symlinks
 
2710
# (eg FreeBSD returns the mod time of the symlink's containing
 
2711
# directory).
 
2712
if (
 
2713
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
 
2714
   if test "$*" = "X"; then
 
2715
      # -L didn't work.
 
2716
      set X `ls -t "$srcdir/configure" conftest.file`
 
2717
   fi
 
2718
   rm -f conftest.file
 
2719
   if test "$*" != "X $srcdir/configure conftest.file" \
 
2720
      && test "$*" != "X conftest.file $srcdir/configure"; then
 
2721
 
 
2722
      # If neither matched, then we have a broken ls.  This can happen
 
2723
      # if, for instance, CONFIG_SHELL is bash and it inherits a
 
2724
      # broken ls alias from the environment.  This has actually
 
2725
      # happened.  Such a system could not be considered "sane".
 
2726
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
 
2727
alias in your environment" "$LINENO" 5
 
2728
   fi
 
2729
 
 
2730
   test "$2" = conftest.file
 
2731
   )
 
2732
then
 
2733
   # Ok.
 
2734
   :
 
2735
else
 
2736
   as_fn_error "newly created file is older than distributed files!
 
2737
Check your system clock" "$LINENO" 5
 
2738
fi
 
2739
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2740
$as_echo "yes" >&6; }
 
2741
test "$program_prefix" != NONE &&
 
2742
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
 
2743
# Use a double $ so make ignores it.
 
2744
test "$program_suffix" != NONE &&
 
2745
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 
2746
# Double any \ or $.
 
2747
# By default was `s,x,x', remove it if useless.
 
2748
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
2749
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
 
2750
 
 
2751
# expand $ac_aux_dir to an absolute path
 
2752
am_aux_dir=`cd $ac_aux_dir && pwd`
 
2753
 
 
2754
if test x"${MISSING+set}" != xset; then
 
2755
  case $am_aux_dir in
 
2756
  *\ * | *\     *)
 
2757
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
2758
  *)
 
2759
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
2760
  esac
 
2761
fi
 
2762
# Use eval to expand $SHELL
 
2763
if eval "$MISSING --run true"; then
 
2764
  am_missing_run="$MISSING --run "
 
2765
else
 
2766
  am_missing_run=
 
2767
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
 
2768
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
2769
fi
 
2770
 
 
2771
if test x"${install_sh}" != xset; then
 
2772
  case $am_aux_dir in
 
2773
  *\ * | *\     *)
 
2774
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
2775
  *)
 
2776
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
2777
  esac
 
2778
fi
 
2779
 
 
2780
# Installed binaries are usually stripped using `strip' when the user
 
2781
# run `make install-strip'.  However `strip' might not be the right
 
2782
# tool to use in cross-compilation environments, therefore Automake
 
2783
# will honor the `STRIP' environment variable to overrule this program.
 
2784
if test "$cross_compiling" != no; then
 
2785
  if test -n "$ac_tool_prefix"; then
 
2786
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
2787
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
2788
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2789
$as_echo_n "checking for $ac_word... " >&6; }
 
2790
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
2791
  $as_echo_n "(cached) " >&6
 
2792
else
 
2793
  if test -n "$STRIP"; then
 
2794
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
2795
else
 
2796
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2797
for as_dir in $PATH
 
2798
do
 
2799
  IFS=$as_save_IFS
 
2800
  test -z "$as_dir" && as_dir=.
 
2801
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2802
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2803
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
2804
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2805
    break 2
 
2806
  fi
 
2807
done
 
2808
  done
 
2809
IFS=$as_save_IFS
 
2810
 
 
2811
fi
 
2812
fi
 
2813
STRIP=$ac_cv_prog_STRIP
 
2814
if test -n "$STRIP"; then
 
2815
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
2816
$as_echo "$STRIP" >&6; }
 
2817
else
 
2818
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2819
$as_echo "no" >&6; }
 
2820
fi
 
2821
 
 
2822
 
 
2823
fi
 
2824
if test -z "$ac_cv_prog_STRIP"; then
 
2825
  ac_ct_STRIP=$STRIP
 
2826
  # Extract the first word of "strip", so it can be a program name with args.
 
2827
set dummy strip; ac_word=$2
 
2828
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2829
$as_echo_n "checking for $ac_word... " >&6; }
 
2830
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
2831
  $as_echo_n "(cached) " >&6
 
2832
else
 
2833
  if test -n "$ac_ct_STRIP"; then
 
2834
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
2835
else
 
2836
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2837
for as_dir in $PATH
 
2838
do
 
2839
  IFS=$as_save_IFS
 
2840
  test -z "$as_dir" && as_dir=.
 
2841
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2842
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2843
    ac_cv_prog_ac_ct_STRIP="strip"
 
2844
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2845
    break 2
 
2846
  fi
 
2847
done
 
2848
  done
 
2849
IFS=$as_save_IFS
 
2850
 
 
2851
fi
 
2852
fi
 
2853
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
2854
if test -n "$ac_ct_STRIP"; then
 
2855
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
2856
$as_echo "$ac_ct_STRIP" >&6; }
 
2857
else
 
2858
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2859
$as_echo "no" >&6; }
 
2860
fi
 
2861
 
 
2862
  if test "x$ac_ct_STRIP" = x; then
 
2863
    STRIP=":"
 
2864
  else
 
2865
    case $cross_compiling:$ac_tool_warned in
 
2866
yes:)
 
2867
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2868
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2869
ac_tool_warned=yes ;;
 
2870
esac
 
2871
    STRIP=$ac_ct_STRIP
 
2872
  fi
 
2873
else
 
2874
  STRIP="$ac_cv_prog_STRIP"
 
2875
fi
 
2876
 
 
2877
fi
 
2878
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
2879
 
 
2880
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 
2881
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 
2882
if test -z "$MKDIR_P"; then
 
2883
  if test "${ac_cv_path_mkdir+set}" = set; then :
 
2884
  $as_echo_n "(cached) " >&6
 
2885
else
 
2886
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2887
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 
2888
do
 
2889
  IFS=$as_save_IFS
 
2890
  test -z "$as_dir" && as_dir=.
 
2891
    for ac_prog in mkdir gmkdir; do
 
2892
         for ac_exec_ext in '' $ac_executable_extensions; do
 
2893
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 
2894
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 
2895
             'mkdir (GNU coreutils) '* | \
 
2896
             'mkdir (coreutils) '* | \
 
2897
             'mkdir (fileutils) '4.1*)
 
2898
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 
2899
               break 3;;
 
2900
           esac
 
2901
         done
 
2902
       done
 
2903
  done
 
2904
IFS=$as_save_IFS
 
2905
 
 
2906
fi
 
2907
 
 
2908
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2909
    MKDIR_P="$ac_cv_path_mkdir -p"
 
2910
  else
 
2911
    # As a last resort, use the slow shell script.  Don't cache a
 
2912
    # value for MKDIR_P within a source directory, because that will
 
2913
    # break other packages using the cache if that directory is
 
2914
    # removed, or if the value is a relative name.
 
2915
    test -d ./--version && rmdir ./--version
 
2916
    MKDIR_P="$ac_install_sh -d"
 
2917
  fi
 
2918
fi
 
2919
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 
2920
$as_echo "$MKDIR_P" >&6; }
 
2921
 
 
2922
mkdir_p="$MKDIR_P"
 
2923
case $mkdir_p in
 
2924
  [\\/$]* | ?:[\\/]*) ;;
 
2925
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
2926
esac
 
2927
 
 
2928
for ac_prog in gawk mawk nawk awk
 
2929
do
 
2930
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
2931
set dummy $ac_prog; ac_word=$2
 
2932
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2933
$as_echo_n "checking for $ac_word... " >&6; }
 
2934
if test "${ac_cv_prog_AWK+set}" = set; then :
 
2935
  $as_echo_n "(cached) " >&6
 
2936
else
 
2937
  if test -n "$AWK"; then
 
2938
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
 
2939
else
 
2940
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2941
for as_dir in $PATH
 
2942
do
 
2943
  IFS=$as_save_IFS
 
2944
  test -z "$as_dir" && as_dir=.
 
2945
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2946
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2947
    ac_cv_prog_AWK="$ac_prog"
 
2948
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2949
    break 2
 
2950
  fi
 
2951
done
 
2952
  done
 
2953
IFS=$as_save_IFS
 
2954
 
 
2955
fi
 
2956
fi
 
2957
AWK=$ac_cv_prog_AWK
 
2958
if test -n "$AWK"; then
 
2959
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 
2960
$as_echo "$AWK" >&6; }
 
2961
else
 
2962
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2963
$as_echo "no" >&6; }
 
2964
fi
 
2965
 
 
2966
 
 
2967
  test -n "$AWK" && break
 
2968
done
 
2969
 
 
2970
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2971
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
2972
set x ${MAKE-make}
 
2973
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2974
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2975
  $as_echo_n "(cached) " >&6
 
2976
else
 
2977
  cat >conftest.make <<\_ACEOF
 
2978
SHELL = /bin/sh
 
2979
all:
 
2980
        @echo '@@@%%%=$(MAKE)=@@@%%%'
 
2981
_ACEOF
 
2982
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
2983
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
2984
  *@@@%%%=?*=@@@%%%*)
 
2985
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
2986
  *)
 
2987
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
2988
esac
 
2989
rm -f conftest.make
 
2990
fi
 
2991
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
2992
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
2993
$as_echo "yes" >&6; }
 
2994
  SET_MAKE=
 
2995
else
 
2996
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2997
$as_echo "no" >&6; }
 
2998
  SET_MAKE="MAKE=${MAKE-make}"
 
2999
fi
 
3000
 
 
3001
rm -rf .tst 2>/dev/null
 
3002
mkdir .tst 2>/dev/null
 
3003
if test -d .tst; then
 
3004
  am__leading_dot=.
 
3005
else
 
3006
  am__leading_dot=_
 
3007
fi
 
3008
rmdir .tst 2>/dev/null
 
3009
 
 
3010
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
3011
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
3012
  # is not polluted with repeated "-I."
 
3013
  am__isrc=' -I$(srcdir)'
 
3014
  # test to see if srcdir already configured
 
3015
  if test -f $srcdir/config.status; then
 
3016
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 
3017
  fi
 
3018
fi
 
3019
 
 
3020
# test whether we have cygpath
 
3021
if test -z "$CYGPATH_W"; then
 
3022
  if (cygpath --version) >/dev/null 2>/dev/null; then
 
3023
    CYGPATH_W='cygpath -w'
 
3024
  else
 
3025
    CYGPATH_W=echo
 
3026
  fi
 
3027
fi
 
3028
 
 
3029
 
 
3030
# Define the identity of the package.
 
3031
 PACKAGE='gmlive'
 
3032
 VERSION='0.22.2'
 
3033
 
 
3034
 
 
3035
# Some tools Automake needs.
 
3036
 
 
3037
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 
3038
 
 
3039
 
 
3040
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 
3041
 
 
3042
 
 
3043
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 
3044
 
 
3045
 
 
3046
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 
3047
 
 
3048
 
 
3049
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 
3050
 
 
3051
# We need awk for the "check" target.  The system "awk" is bad on
 
3052
# some platforms.
 
3053
# Always define AMTAR for backward compatibility.
 
3054
 
 
3055
AMTAR=${AMTAR-"${am_missing_run}tar"}
 
3056
 
 
3057
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 
3058
 
 
3059
 
 
3060
 
 
3061
 
 
3062
 
 
3063
 
 
3064
 
 
3065
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
3066
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
 
3067
    # Check whether --enable-maintainer-mode was given.
 
3068
if test "${enable_maintainer_mode+set}" = set; then :
 
3069
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
 
3070
else
 
3071
  USE_MAINTAINER_MODE=no
 
3072
fi
 
3073
 
 
3074
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
 
3075
$as_echo "$USE_MAINTAINER_MODE" >&6; }
 
3076
   if test $USE_MAINTAINER_MODE = yes; then
 
3077
  MAINTAINER_MODE_TRUE=
 
3078
  MAINTAINER_MODE_FALSE='#'
 
3079
else
 
3080
  MAINTAINER_MODE_TRUE='#'
 
3081
  MAINTAINER_MODE_FALSE=
 
3082
fi
 
3083
 
 
3084
  MAINT=$MAINTAINER_MODE_TRUE
 
3085
 
 
3086
 
 
3087
 
 
3088
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
 
3089
$as_echo_n "checking whether NLS is requested... " >&6; }
 
3090
    # Check whether --enable-nls was given.
 
3091
if test "${enable_nls+set}" = set; then :
 
3092
  enableval=$enable_nls; USE_NLS=$enableval
 
3093
else
 
3094
  USE_NLS=yes
 
3095
fi
 
3096
 
 
3097
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
 
3098
$as_echo "$USE_NLS" >&6; }
 
3099
 
 
3100
 
 
3101
DEPDIR="${am__leading_dot}deps"
 
3102
 
 
3103
ac_config_commands="$ac_config_commands depfiles"
 
3104
 
 
3105
 
 
3106
am_make=${MAKE-make}
 
3107
cat > confinc << 'END'
 
3108
am__doit:
 
3109
        @echo this is the am__doit target
 
3110
.PHONY: am__doit
 
3111
END
 
3112
# If we don't find an include directive, just comment out the code.
 
3113
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 
3114
$as_echo_n "checking for style of include used by $am_make... " >&6; }
 
3115
am__include="#"
 
3116
am__quote=
 
3117
_am_result=none
 
3118
# First try GNU make style include.
 
3119
echo "include confinc" > confmf
 
3120
# Ignore all kinds of additional output from `make'.
 
3121
case `$am_make -s -f confmf 2> /dev/null` in #(
 
3122
*the\ am__doit\ target*)
 
3123
  am__include=include
 
3124
  am__quote=
 
3125
  _am_result=GNU
 
3126
  ;;
 
3127
esac
 
3128
# Now try BSD make style include.
 
3129
if test "$am__include" = "#"; then
 
3130
   echo '.include "confinc"' > confmf
 
3131
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
3132
   *the\ am__doit\ target*)
 
3133
     am__include=.include
 
3134
     am__quote="\""
 
3135
     _am_result=BSD
 
3136
     ;;
 
3137
   esac
 
3138
fi
 
3139
 
 
3140
 
 
3141
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 
3142
$as_echo "$_am_result" >&6; }
 
3143
rm -f confinc confmf
 
3144
 
 
3145
# Check whether --enable-dependency-tracking was given.
 
3146
if test "${enable_dependency_tracking+set}" = set; then :
 
3147
  enableval=$enable_dependency_tracking;
 
3148
fi
 
3149
 
 
3150
if test "x$enable_dependency_tracking" != xno; then
 
3151
  am_depcomp="$ac_aux_dir/depcomp"
 
3152
  AMDEPBACKSLASH='\'
 
3153
fi
 
3154
 if test "x$enable_dependency_tracking" != xno; then
 
3155
  AMDEP_TRUE=
 
3156
  AMDEP_FALSE='#'
 
3157
else
 
3158
  AMDEP_TRUE='#'
 
3159
  AMDEP_FALSE=
 
3160
fi
 
3161
 
 
3162
 
 
3163
ac_ext=c
 
3164
ac_cpp='$CPP $CPPFLAGS'
 
3165
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3166
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3167
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3168
if test -n "$ac_tool_prefix"; then
 
3169
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
3170
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
3171
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3172
$as_echo_n "checking for $ac_word... " >&6; }
 
3173
if test "${ac_cv_prog_CC+set}" = set; then :
 
3174
  $as_echo_n "(cached) " >&6
 
3175
else
 
3176
  if test -n "$CC"; then
 
3177
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3178
else
 
3179
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3180
for as_dir in $PATH
 
3181
do
 
3182
  IFS=$as_save_IFS
 
3183
  test -z "$as_dir" && as_dir=.
 
3184
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3185
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3186
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
3187
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3188
    break 2
 
3189
  fi
 
3190
done
 
3191
  done
 
3192
IFS=$as_save_IFS
 
3193
 
 
3194
fi
 
3195
fi
 
3196
CC=$ac_cv_prog_CC
 
3197
if test -n "$CC"; then
 
3198
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3199
$as_echo "$CC" >&6; }
 
3200
else
 
3201
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3202
$as_echo "no" >&6; }
 
3203
fi
 
3204
 
 
3205
 
 
3206
fi
 
3207
if test -z "$ac_cv_prog_CC"; then
 
3208
  ac_ct_CC=$CC
 
3209
  # Extract the first word of "gcc", so it can be a program name with args.
 
3210
set dummy gcc; ac_word=$2
 
3211
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3212
$as_echo_n "checking for $ac_word... " >&6; }
 
3213
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3214
  $as_echo_n "(cached) " >&6
 
3215
else
 
3216
  if test -n "$ac_ct_CC"; then
 
3217
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
3218
else
 
3219
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3220
for as_dir in $PATH
 
3221
do
 
3222
  IFS=$as_save_IFS
 
3223
  test -z "$as_dir" && as_dir=.
 
3224
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3225
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3226
    ac_cv_prog_ac_ct_CC="gcc"
 
3227
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3228
    break 2
 
3229
  fi
 
3230
done
 
3231
  done
 
3232
IFS=$as_save_IFS
 
3233
 
 
3234
fi
 
3235
fi
 
3236
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
3237
if test -n "$ac_ct_CC"; then
 
3238
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
3239
$as_echo "$ac_ct_CC" >&6; }
 
3240
else
 
3241
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3242
$as_echo "no" >&6; }
 
3243
fi
 
3244
 
 
3245
  if test "x$ac_ct_CC" = x; then
 
3246
    CC=""
 
3247
  else
 
3248
    case $cross_compiling:$ac_tool_warned in
 
3249
yes:)
 
3250
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3251
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3252
ac_tool_warned=yes ;;
 
3253
esac
 
3254
    CC=$ac_ct_CC
 
3255
  fi
 
3256
else
 
3257
  CC="$ac_cv_prog_CC"
 
3258
fi
 
3259
 
 
3260
if test -z "$CC"; then
 
3261
          if test -n "$ac_tool_prefix"; then
 
3262
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
3263
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
3264
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3265
$as_echo_n "checking for $ac_word... " >&6; }
 
3266
if test "${ac_cv_prog_CC+set}" = set; then :
 
3267
  $as_echo_n "(cached) " >&6
 
3268
else
 
3269
  if test -n "$CC"; then
 
3270
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3271
else
 
3272
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3273
for as_dir in $PATH
 
3274
do
 
3275
  IFS=$as_save_IFS
 
3276
  test -z "$as_dir" && as_dir=.
 
3277
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3278
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3279
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
3280
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3281
    break 2
 
3282
  fi
 
3283
done
 
3284
  done
 
3285
IFS=$as_save_IFS
 
3286
 
 
3287
fi
 
3288
fi
 
3289
CC=$ac_cv_prog_CC
 
3290
if test -n "$CC"; then
 
3291
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3292
$as_echo "$CC" >&6; }
 
3293
else
 
3294
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3295
$as_echo "no" >&6; }
 
3296
fi
 
3297
 
 
3298
 
 
3299
  fi
 
3300
fi
 
3301
if test -z "$CC"; then
 
3302
  # Extract the first word of "cc", so it can be a program name with args.
 
3303
set dummy cc; ac_word=$2
 
3304
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3305
$as_echo_n "checking for $ac_word... " >&6; }
 
3306
if test "${ac_cv_prog_CC+set}" = set; then :
 
3307
  $as_echo_n "(cached) " >&6
 
3308
else
 
3309
  if test -n "$CC"; then
 
3310
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3311
else
 
3312
  ac_prog_rejected=no
 
3313
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3314
for as_dir in $PATH
 
3315
do
 
3316
  IFS=$as_save_IFS
 
3317
  test -z "$as_dir" && as_dir=.
 
3318
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3319
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3320
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
3321
       ac_prog_rejected=yes
 
3322
       continue
 
3323
     fi
 
3324
    ac_cv_prog_CC="cc"
 
3325
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3326
    break 2
 
3327
  fi
 
3328
done
 
3329
  done
 
3330
IFS=$as_save_IFS
 
3331
 
 
3332
if test $ac_prog_rejected = yes; then
 
3333
  # We found a bogon in the path, so make sure we never use it.
 
3334
  set dummy $ac_cv_prog_CC
 
3335
  shift
 
3336
  if test $# != 0; then
 
3337
    # We chose a different compiler from the bogus one.
 
3338
    # However, it has the same basename, so the bogon will be chosen
 
3339
    # first if we set CC to just the basename; use the full file name.
 
3340
    shift
 
3341
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
3342
  fi
 
3343
fi
 
3344
fi
 
3345
fi
 
3346
CC=$ac_cv_prog_CC
 
3347
if test -n "$CC"; then
 
3348
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3349
$as_echo "$CC" >&6; }
 
3350
else
 
3351
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3352
$as_echo "no" >&6; }
 
3353
fi
 
3354
 
 
3355
 
 
3356
fi
 
3357
if test -z "$CC"; then
 
3358
  if test -n "$ac_tool_prefix"; then
 
3359
  for ac_prog in cl.exe
 
3360
  do
 
3361
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
3362
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
3363
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3364
$as_echo_n "checking for $ac_word... " >&6; }
 
3365
if test "${ac_cv_prog_CC+set}" = set; then :
 
3366
  $as_echo_n "(cached) " >&6
 
3367
else
 
3368
  if test -n "$CC"; then
 
3369
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
3370
else
 
3371
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3372
for as_dir in $PATH
 
3373
do
 
3374
  IFS=$as_save_IFS
 
3375
  test -z "$as_dir" && as_dir=.
 
3376
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3377
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3378
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
3379
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3380
    break 2
 
3381
  fi
 
3382
done
 
3383
  done
 
3384
IFS=$as_save_IFS
 
3385
 
 
3386
fi
 
3387
fi
 
3388
CC=$ac_cv_prog_CC
 
3389
if test -n "$CC"; then
 
3390
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
3391
$as_echo "$CC" >&6; }
 
3392
else
 
3393
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3394
$as_echo "no" >&6; }
 
3395
fi
 
3396
 
 
3397
 
 
3398
    test -n "$CC" && break
 
3399
  done
 
3400
fi
 
3401
if test -z "$CC"; then
 
3402
  ac_ct_CC=$CC
 
3403
  for ac_prog in cl.exe
 
3404
do
 
3405
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
3406
set dummy $ac_prog; ac_word=$2
 
3407
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3408
$as_echo_n "checking for $ac_word... " >&6; }
 
3409
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3410
  $as_echo_n "(cached) " >&6
 
3411
else
 
3412
  if test -n "$ac_ct_CC"; then
 
3413
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
3414
else
 
3415
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3416
for as_dir in $PATH
 
3417
do
 
3418
  IFS=$as_save_IFS
 
3419
  test -z "$as_dir" && as_dir=.
 
3420
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3421
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3422
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
3423
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3424
    break 2
 
3425
  fi
 
3426
done
 
3427
  done
 
3428
IFS=$as_save_IFS
 
3429
 
 
3430
fi
 
3431
fi
 
3432
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
3433
if test -n "$ac_ct_CC"; then
 
3434
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
3435
$as_echo "$ac_ct_CC" >&6; }
 
3436
else
 
3437
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3438
$as_echo "no" >&6; }
 
3439
fi
 
3440
 
 
3441
 
 
3442
  test -n "$ac_ct_CC" && break
 
3443
done
 
3444
 
 
3445
  if test "x$ac_ct_CC" = x; then
 
3446
    CC=""
 
3447
  else
 
3448
    case $cross_compiling:$ac_tool_warned in
 
3449
yes:)
 
3450
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3451
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3452
ac_tool_warned=yes ;;
 
3453
esac
 
3454
    CC=$ac_ct_CC
 
3455
  fi
 
3456
fi
 
3457
 
 
3458
fi
 
3459
 
 
3460
 
 
3461
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3462
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3463
as_fn_error "no acceptable C compiler found in \$PATH
 
3464
See \`config.log' for more details." "$LINENO" 5; }
 
3465
 
 
3466
# Provide some information about the compiler.
 
3467
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
3468
set X $ac_compile
 
3469
ac_compiler=$2
 
3470
for ac_option in --version -v -V -qversion; do
 
3471
  { { ac_try="$ac_compiler $ac_option >&5"
 
3472
case "(($ac_try" in
 
3473
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3474
  *) ac_try_echo=$ac_try;;
 
3475
esac
 
3476
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3477
$as_echo "$ac_try_echo"; } >&5
 
3478
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
3479
  ac_status=$?
 
3480
  if test -s conftest.err; then
 
3481
    sed '10a\
 
3482
... rest of stderr output deleted ...
 
3483
         10q' conftest.err >conftest.er1
 
3484
    cat conftest.er1 >&5
 
3485
    rm -f conftest.er1 conftest.err
 
3486
  fi
 
3487
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3488
  test $ac_status = 0; }
 
3489
done
 
3490
 
 
3491
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3492
/* end confdefs.h.  */
 
3493
#include <stdio.h>
 
3494
int
 
3495
main ()
 
3496
{
 
3497
FILE *f = fopen ("conftest.out", "w");
 
3498
 return ferror (f) || fclose (f) != 0;
 
3499
 
 
3500
  ;
 
3501
  return 0;
 
3502
}
 
3503
_ACEOF
 
3504
ac_clean_files_save=$ac_clean_files
 
3505
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
 
3506
# Try to create an executable without -o first, disregard a.out.
 
3507
# It will help us diagnose broken compilers, and finding out an intuition
 
3508
# of exeext.
 
3509
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
3510
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3511
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
3512
 
 
3513
# The possible output files:
 
3514
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
3515
 
 
3516
ac_rmfiles=
 
3517
for ac_file in $ac_files
 
3518
do
 
3519
  case $ac_file in
 
3520
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
3521
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
3522
  esac
 
3523
done
 
3524
rm -f $ac_rmfiles
 
3525
 
 
3526
if { { ac_try="$ac_link_default"
 
3527
case "(($ac_try" in
 
3528
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3529
  *) ac_try_echo=$ac_try;;
 
3530
esac
 
3531
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3532
$as_echo "$ac_try_echo"; } >&5
 
3533
  (eval "$ac_link_default") 2>&5
 
3534
  ac_status=$?
 
3535
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3536
  test $ac_status = 0; }; then :
 
3537
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
3538
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
3539
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
3540
# so that the user can short-circuit this test for compilers unknown to
 
3541
# Autoconf.
 
3542
for ac_file in $ac_files ''
 
3543
do
 
3544
  test -f "$ac_file" || continue
 
3545
  case $ac_file in
 
3546
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 
3547
        ;;
 
3548
    [ab].out )
 
3549
        # We found the default executable, but exeext='' is most
 
3550
        # certainly right.
 
3551
        break;;
 
3552
    *.* )
 
3553
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3554
        then :; else
 
3555
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3556
        fi
 
3557
        # We set ac_cv_exeext here because the later test for it is not
 
3558
        # safe: cross compilers may not add the suffix if given an `-o'
 
3559
        # argument, so we may need to know it at that point already.
 
3560
        # Even if this section looks crufty: it has the advantage of
 
3561
        # actually working.
 
3562
        break;;
 
3563
    * )
 
3564
        break;;
 
3565
  esac
 
3566
done
 
3567
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
3568
 
 
3569
else
 
3570
  ac_file=''
 
3571
fi
 
3572
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 
3573
$as_echo "$ac_file" >&6; }
 
3574
if test -z "$ac_file"; then :
 
3575
  $as_echo "$as_me: failed program was:" >&5
 
3576
sed 's/^/| /' conftest.$ac_ext >&5
 
3577
 
 
3578
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3579
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3580
{ as_fn_set_status 77
 
3581
as_fn_error "C compiler cannot create executables
 
3582
See \`config.log' for more details." "$LINENO" 5; }; }
 
3583
fi
 
3584
ac_exeext=$ac_cv_exeext
 
3585
 
 
3586
# Check that the compiler produces executables we can run.  If not, either
 
3587
# the compiler is broken, or we cross compile.
 
3588
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
3589
$as_echo_n "checking whether the C compiler works... " >&6; }
 
3590
# If not cross compiling, check that we can run a simple program.
 
3591
if test "$cross_compiling" != yes; then
 
3592
  if { ac_try='./$ac_file'
 
3593
  { { case "(($ac_try" in
 
3594
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3595
  *) ac_try_echo=$ac_try;;
 
3596
esac
 
3597
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3598
$as_echo "$ac_try_echo"; } >&5
 
3599
  (eval "$ac_try") 2>&5
 
3600
  ac_status=$?
 
3601
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3602
  test $ac_status = 0; }; }; then
 
3603
    cross_compiling=no
 
3604
  else
 
3605
    if test "$cross_compiling" = maybe; then
 
3606
        cross_compiling=yes
 
3607
    else
 
3608
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3609
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3610
as_fn_error "cannot run C compiled programs.
 
3611
If you meant to cross compile, use \`--host'.
 
3612
See \`config.log' for more details." "$LINENO" 5; }
 
3613
    fi
 
3614
  fi
 
3615
fi
 
3616
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3617
$as_echo "yes" >&6; }
 
3618
 
 
3619
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
 
3620
ac_clean_files=$ac_clean_files_save
 
3621
# Check that the compiler produces executables we can run.  If not, either
 
3622
# the compiler is broken, or we cross compile.
 
3623
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3624
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3625
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3626
$as_echo "$cross_compiling" >&6; }
 
3627
 
 
3628
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 
3629
$as_echo_n "checking for suffix of executables... " >&6; }
 
3630
if { { ac_try="$ac_link"
 
3631
case "(($ac_try" in
 
3632
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3633
  *) ac_try_echo=$ac_try;;
 
3634
esac
 
3635
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3636
$as_echo "$ac_try_echo"; } >&5
 
3637
  (eval "$ac_link") 2>&5
 
3638
  ac_status=$?
 
3639
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3640
  test $ac_status = 0; }; then :
 
3641
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
 
3642
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 
3643
# work properly (i.e., refer to `conftest.exe'), while it won't with
 
3644
# `rm'.
 
3645
for ac_file in conftest.exe conftest conftest.*; do
 
3646
  test -f "$ac_file" || continue
 
3647
  case $ac_file in
 
3648
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
3649
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3650
          break;;
 
3651
    * ) break;;
 
3652
  esac
 
3653
done
 
3654
else
 
3655
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3656
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3657
as_fn_error "cannot compute suffix of executables: cannot compile and link
 
3658
See \`config.log' for more details." "$LINENO" 5; }
 
3659
fi
 
3660
rm -f conftest$ac_cv_exeext
 
3661
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 
3662
$as_echo "$ac_cv_exeext" >&6; }
 
3663
 
 
3664
rm -f conftest.$ac_ext
 
3665
EXEEXT=$ac_cv_exeext
 
3666
ac_exeext=$EXEEXT
 
3667
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 
3668
$as_echo_n "checking for suffix of object files... " >&6; }
 
3669
if test "${ac_cv_objext+set}" = set; then :
 
3670
  $as_echo_n "(cached) " >&6
 
3671
else
 
3672
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3673
/* end confdefs.h.  */
 
3674
 
 
3675
int
 
3676
main ()
 
3677
{
 
3678
 
 
3679
  ;
 
3680
  return 0;
 
3681
}
 
3682
_ACEOF
 
3683
rm -f conftest.o conftest.obj
 
3684
if { { ac_try="$ac_compile"
 
3685
case "(($ac_try" in
 
3686
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3687
  *) ac_try_echo=$ac_try;;
 
3688
esac
 
3689
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3690
$as_echo "$ac_try_echo"; } >&5
 
3691
  (eval "$ac_compile") 2>&5
 
3692
  ac_status=$?
 
3693
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3694
  test $ac_status = 0; }; then :
 
3695
  for ac_file in conftest.o conftest.obj conftest.*; do
 
3696
  test -f "$ac_file" || continue;
 
3697
  case $ac_file in
 
3698
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 
3699
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 
3700
       break;;
 
3701
  esac
 
3702
done
 
3703
else
 
3704
  $as_echo "$as_me: failed program was:" >&5
 
3705
sed 's/^/| /' conftest.$ac_ext >&5
 
3706
 
 
3707
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3708
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3709
as_fn_error "cannot compute suffix of object files: cannot compile
 
3710
See \`config.log' for more details." "$LINENO" 5; }
 
3711
fi
 
3712
rm -f conftest.$ac_cv_objext conftest.$ac_ext
 
3713
fi
 
3714
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 
3715
$as_echo "$ac_cv_objext" >&6; }
 
3716
OBJEXT=$ac_cv_objext
 
3717
ac_objext=$OBJEXT
 
3718
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
3719
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
3720
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
3721
  $as_echo_n "(cached) " >&6
 
3722
else
 
3723
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3724
/* end confdefs.h.  */
 
3725
 
 
3726
int
 
3727
main ()
 
3728
{
 
3729
#ifndef __GNUC__
 
3730
       choke me
 
3731
#endif
 
3732
 
 
3733
  ;
 
3734
  return 0;
 
3735
}
 
3736
_ACEOF
 
3737
if ac_fn_c_try_compile "$LINENO"; then :
 
3738
  ac_compiler_gnu=yes
 
3739
else
 
3740
  ac_compiler_gnu=no
 
3741
fi
 
3742
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3743
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
3744
 
 
3745
fi
 
3746
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
3747
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
3748
if test $ac_compiler_gnu = yes; then
 
3749
  GCC=yes
 
3750
else
 
3751
  GCC=
 
3752
fi
 
3753
ac_test_CFLAGS=${CFLAGS+set}
 
3754
ac_save_CFLAGS=$CFLAGS
 
3755
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
3756
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
3757
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
3758
  $as_echo_n "(cached) " >&6
 
3759
else
 
3760
  ac_save_c_werror_flag=$ac_c_werror_flag
 
3761
   ac_c_werror_flag=yes
 
3762
   ac_cv_prog_cc_g=no
 
3763
   CFLAGS="-g"
 
3764
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3765
/* end confdefs.h.  */
 
3766
 
 
3767
int
 
3768
main ()
 
3769
{
 
3770
 
 
3771
  ;
 
3772
  return 0;
 
3773
}
 
3774
_ACEOF
 
3775
if ac_fn_c_try_compile "$LINENO"; then :
 
3776
  ac_cv_prog_cc_g=yes
 
3777
else
 
3778
  CFLAGS=""
 
3779
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3780
/* end confdefs.h.  */
 
3781
 
 
3782
int
 
3783
main ()
 
3784
{
 
3785
 
 
3786
  ;
 
3787
  return 0;
 
3788
}
 
3789
_ACEOF
 
3790
if ac_fn_c_try_compile "$LINENO"; then :
 
3791
 
 
3792
else
 
3793
  ac_c_werror_flag=$ac_save_c_werror_flag
 
3794
         CFLAGS="-g"
 
3795
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3796
/* end confdefs.h.  */
 
3797
 
 
3798
int
 
3799
main ()
 
3800
{
 
3801
 
 
3802
  ;
 
3803
  return 0;
 
3804
}
 
3805
_ACEOF
 
3806
if ac_fn_c_try_compile "$LINENO"; then :
 
3807
  ac_cv_prog_cc_g=yes
 
3808
fi
 
3809
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3810
fi
 
3811
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3812
fi
 
3813
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3814
   ac_c_werror_flag=$ac_save_c_werror_flag
 
3815
fi
 
3816
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
3817
$as_echo "$ac_cv_prog_cc_g" >&6; }
 
3818
if test "$ac_test_CFLAGS" = set; then
 
3819
  CFLAGS=$ac_save_CFLAGS
 
3820
elif test $ac_cv_prog_cc_g = yes; then
 
3821
  if test "$GCC" = yes; then
 
3822
    CFLAGS="-g -O2"
 
3823
  else
 
3824
    CFLAGS="-g"
 
3825
  fi
 
3826
else
 
3827
  if test "$GCC" = yes; then
 
3828
    CFLAGS="-O2"
 
3829
  else
 
3830
    CFLAGS=
 
3831
  fi
 
3832
fi
 
3833
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
3834
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
3835
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
3836
  $as_echo_n "(cached) " >&6
 
3837
else
 
3838
  ac_cv_prog_cc_c89=no
 
3839
ac_save_CC=$CC
 
3840
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3841
/* end confdefs.h.  */
 
3842
#include <stdarg.h>
 
3843
#include <stdio.h>
 
3844
#include <sys/types.h>
 
3845
#include <sys/stat.h>
 
3846
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
3847
struct buf { int x; };
 
3848
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
3849
static char *e (p, i)
 
3850
     char **p;
 
3851
     int i;
 
3852
{
 
3853
  return p[i];
 
3854
}
 
3855
static char *f (char * (*g) (char **, int), char **p, ...)
 
3856
{
 
3857
  char *s;
 
3858
  va_list v;
 
3859
  va_start (v,p);
 
3860
  s = g (p, va_arg (v,int));
 
3861
  va_end (v);
 
3862
  return s;
 
3863
}
 
3864
 
 
3865
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
3866
   function prototypes and stuff, but not '\xHH' hex character constants.
 
3867
   These don't provoke an error unfortunately, instead are silently treated
 
3868
   as 'x'.  The following induces an error, until -std is added to get
 
3869
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
3870
   array size at least.  It's necessary to write '\x00'==0 to get something
 
3871
   that's true only with -std.  */
 
3872
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
3873
 
 
3874
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
3875
   inside strings and character constants.  */
 
3876
#define FOO(x) 'x'
 
3877
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
3878
 
 
3879
int test (int i, double x);
 
3880
struct s1 {int (*f) (int a);};
 
3881
struct s2 {int (*f) (double a);};
 
3882
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
3883
int argc;
 
3884
char **argv;
 
3885
int
 
3886
main ()
 
3887
{
 
3888
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
3889
  ;
 
3890
  return 0;
 
3891
}
 
3892
_ACEOF
 
3893
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
3894
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3895
do
 
3896
  CC="$ac_save_CC $ac_arg"
 
3897
  if ac_fn_c_try_compile "$LINENO"; then :
 
3898
  ac_cv_prog_cc_c89=$ac_arg
 
3899
fi
 
3900
rm -f core conftest.err conftest.$ac_objext
 
3901
  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
3902
done
 
3903
rm -f conftest.$ac_ext
 
3904
CC=$ac_save_CC
 
3905
 
 
3906
fi
 
3907
# AC_CACHE_VAL
 
3908
case "x$ac_cv_prog_cc_c89" in
 
3909
  x)
 
3910
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
3911
$as_echo "none needed" >&6; } ;;
 
3912
  xno)
 
3913
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
3914
$as_echo "unsupported" >&6; } ;;
 
3915
  *)
 
3916
    CC="$CC $ac_cv_prog_cc_c89"
 
3917
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
3918
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 
3919
esac
 
3920
if test "x$ac_cv_prog_cc_c89" != xno; then :
 
3921
 
 
3922
fi
 
3923
 
 
3924
ac_ext=c
 
3925
ac_cpp='$CPP $CPPFLAGS'
 
3926
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3927
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3928
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3929
 
 
3930
depcc="$CC"   am_compiler_list=
 
3931
 
 
3932
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
3933
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
3934
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
3935
  $as_echo_n "(cached) " >&6
 
3936
else
 
3937
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
3938
  # We make a subdir and do the tests there.  Otherwise we can end up
 
3939
  # making bogus files that we don't know about and never remove.  For
 
3940
  # instance it was reported that on HP-UX the gcc test will end up
 
3941
  # making a dummy file named `D' -- because `-MD' means `put the output
 
3942
  # in D'.
 
3943
  mkdir conftest.dir
 
3944
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
3945
  # using a relative directory.
 
3946
  cp "$am_depcomp" conftest.dir
 
3947
  cd conftest.dir
 
3948
  # We will build objects and dependencies in a subdirectory because
 
3949
  # it helps to detect inapplicable dependency modes.  For instance
 
3950
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
3951
  # side effect of compilation, but ICC will put the dependencies in
 
3952
  # the current directory while Tru64 will put them in the object
 
3953
  # directory.
 
3954
  mkdir sub
 
3955
 
 
3956
  am_cv_CC_dependencies_compiler_type=none
 
3957
  if test "$am_compiler_list" = ""; then
 
3958
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
3959
  fi
 
3960
  am__universal=false
 
3961
  case " $depcc " in #(
 
3962
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
3963
     esac
 
3964
 
 
3965
  for depmode in $am_compiler_list; do
 
3966
    # Setup a source with many dependencies, because some compilers
 
3967
    # like to wrap large dependency lists on column 80 (with \), and
 
3968
    # we should not choose a depcomp mode which is confused by this.
 
3969
    #
 
3970
    # We need to recreate these files for each test, as the compiler may
 
3971
    # overwrite some of them when testing with obscure command lines.
 
3972
    # This happens at least with the AIX C compiler.
 
3973
    : > sub/conftest.c
 
3974
    for i in 1 2 3 4 5 6; do
 
3975
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
3976
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
3977
      # Solaris 8's {/usr,}/bin/sh.
 
3978
      touch sub/conftst$i.h
 
3979
    done
 
3980
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
3981
 
 
3982
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
3983
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
3984
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
3985
    # versions had trouble with output in subdirs
 
3986
    am__obj=sub/conftest.${OBJEXT-o}
 
3987
    am__minus_obj="-o $am__obj"
 
3988
    case $depmode in
 
3989
    gcc)
 
3990
      # This depmode causes a compiler race in universal mode.
 
3991
      test "$am__universal" = false || continue
 
3992
      ;;
 
3993
    nosideeffect)
 
3994
      # after this tag, mechanisms are not by side-effect, so they'll
 
3995
      # only be used when explicitly requested
 
3996
      if test "x$enable_dependency_tracking" = xyes; then
 
3997
        continue
 
3998
      else
 
3999
        break
 
4000
      fi
 
4001
      ;;
 
4002
    msvisualcpp | msvcmsys)
 
4003
      # This compiler won't grok `-c -o', but also, the minuso test has
 
4004
      # not run yet.  These depmodes are late enough in the game, and
 
4005
      # so weak that their functioning should not be impacted.
 
4006
      am__obj=conftest.${OBJEXT-o}
 
4007
      am__minus_obj=
 
4008
      ;;
 
4009
    none) break ;;
 
4010
    esac
 
4011
    if depmode=$depmode \
 
4012
       source=sub/conftest.c object=$am__obj \
 
4013
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
4014
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 
4015
         >/dev/null 2>conftest.err &&
 
4016
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
4017
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
4018
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 
4019
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
4020
      # icc doesn't choke on unknown options, it will just issue warnings
 
4021
      # or remarks (even with -Werror).  So we grep stderr for any message
 
4022
      # that says an option was ignored or not supported.
 
4023
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
4024
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
4025
      # The diagnosis changed in icc 8.0:
 
4026
      #   icc: Command line remark: option '-MP' not supported
 
4027
      if (grep 'ignoring option' conftest.err ||
 
4028
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
4029
        am_cv_CC_dependencies_compiler_type=$depmode
 
4030
        break
 
4031
      fi
 
4032
    fi
 
4033
  done
 
4034
 
 
4035
  cd ..
 
4036
  rm -rf conftest.dir
 
4037
else
 
4038
  am_cv_CC_dependencies_compiler_type=none
 
4039
fi
 
4040
 
 
4041
fi
 
4042
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 
4043
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 
4044
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
4045
 
 
4046
 if
 
4047
  test "x$enable_dependency_tracking" != xno \
 
4048
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
4049
  am__fastdepCC_TRUE=
 
4050
  am__fastdepCC_FALSE='#'
 
4051
else
 
4052
  am__fastdepCC_TRUE='#'
 
4053
  am__fastdepCC_FALSE=
 
4054
fi
 
4055
 
 
4056
 
 
4057
 
 
4058
 
 
4059
 
 
4060
case "$am__api_version" in
 
4061
    1.01234)
 
4062
        as_fn_error "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
 
4063
    ;;
 
4064
    *)
 
4065
    ;;
 
4066
esac
 
4067
 
 
4068
if test -n "0.35.0"; then
 
4069
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
 
4070
$as_echo_n "checking for intltool >= 0.35.0... " >&6; }
 
4071
 
 
4072
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
 
4073
    INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
 
4074
    INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
 
4075
 
 
4076
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
 
4077
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
 
4078
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
 
4079
        as_fn_error "Your intltool is too old.  You need intltool 0.35.0 or later." "$LINENO" 5
 
4080
fi
 
4081
 
 
4082
# Extract the first word of "intltool-update", so it can be a program name with args.
 
4083
set dummy intltool-update; ac_word=$2
 
4084
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4085
$as_echo_n "checking for $ac_word... " >&6; }
 
4086
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then :
 
4087
  $as_echo_n "(cached) " >&6
 
4088
else
 
4089
  case $INTLTOOL_UPDATE in
 
4090
  [\\/]* | ?:[\\/]*)
 
4091
  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
 
4092
  ;;
 
4093
  *)
 
4094
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4095
for as_dir in $PATH
 
4096
do
 
4097
  IFS=$as_save_IFS
 
4098
  test -z "$as_dir" && as_dir=.
 
4099
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4100
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4101
    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
 
4102
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4103
    break 2
 
4104
  fi
 
4105
done
 
4106
  done
 
4107
IFS=$as_save_IFS
 
4108
 
 
4109
  ;;
 
4110
esac
 
4111
fi
 
4112
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
 
4113
if test -n "$INTLTOOL_UPDATE"; then
 
4114
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
 
4115
$as_echo "$INTLTOOL_UPDATE" >&6; }
 
4116
else
 
4117
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4118
$as_echo "no" >&6; }
 
4119
fi
 
4120
 
 
4121
 
 
4122
# Extract the first word of "intltool-merge", so it can be a program name with args.
 
4123
set dummy intltool-merge; ac_word=$2
 
4124
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4125
$as_echo_n "checking for $ac_word... " >&6; }
 
4126
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then :
 
4127
  $as_echo_n "(cached) " >&6
 
4128
else
 
4129
  case $INTLTOOL_MERGE in
 
4130
  [\\/]* | ?:[\\/]*)
 
4131
  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
 
4132
  ;;
 
4133
  *)
 
4134
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4135
for as_dir in $PATH
 
4136
do
 
4137
  IFS=$as_save_IFS
 
4138
  test -z "$as_dir" && as_dir=.
 
4139
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4140
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4141
    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
 
4142
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4143
    break 2
 
4144
  fi
 
4145
done
 
4146
  done
 
4147
IFS=$as_save_IFS
 
4148
 
 
4149
  ;;
 
4150
esac
 
4151
fi
 
4152
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
 
4153
if test -n "$INTLTOOL_MERGE"; then
 
4154
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
 
4155
$as_echo "$INTLTOOL_MERGE" >&6; }
 
4156
else
 
4157
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4158
$as_echo "no" >&6; }
 
4159
fi
 
4160
 
 
4161
 
 
4162
# Extract the first word of "intltool-extract", so it can be a program name with args.
 
4163
set dummy intltool-extract; ac_word=$2
 
4164
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4165
$as_echo_n "checking for $ac_word... " >&6; }
 
4166
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then :
 
4167
  $as_echo_n "(cached) " >&6
 
4168
else
 
4169
  case $INTLTOOL_EXTRACT in
 
4170
  [\\/]* | ?:[\\/]*)
 
4171
  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
 
4172
  ;;
 
4173
  *)
 
4174
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4175
for as_dir in $PATH
 
4176
do
 
4177
  IFS=$as_save_IFS
 
4178
  test -z "$as_dir" && as_dir=.
 
4179
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4180
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4181
    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
 
4182
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4183
    break 2
 
4184
  fi
 
4185
done
 
4186
  done
 
4187
IFS=$as_save_IFS
 
4188
 
 
4189
  ;;
 
4190
esac
 
4191
fi
 
4192
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
 
4193
if test -n "$INTLTOOL_EXTRACT"; then
 
4194
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
 
4195
$as_echo "$INTLTOOL_EXTRACT" >&6; }
 
4196
else
 
4197
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4198
$as_echo "no" >&6; }
 
4199
fi
 
4200
 
 
4201
 
 
4202
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
 
4203
    as_fn_error "The intltool scripts were not found. Please install intltool." "$LINENO" 5
 
4204
fi
 
4205
 
 
4206
  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 $< $@'
 
4207
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 $< $@'
 
4208
     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 $< $@'
 
4209
     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 $< $@'
 
4210
      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
 
4211
     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 $< $@'
 
4212
   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 $< $@'
 
4213
    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 $< $@'
 
4214
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 $< $@'
 
4215
       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 $< $@'
 
4216
      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 $< $@'
 
4217
      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
 
4218
      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 $< $@'
 
4219
      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 $< $@'
 
4220
    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 $< $@'
 
4221
  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 $< $@'
 
4222
    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 $< $@'
 
4223
    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 $< $@'
 
4224
   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 $< $@'
 
4225
 
 
4226
 
 
4227
 
 
4228
 
 
4229
 
 
4230
 
 
4231
 
 
4232
 
 
4233
 
 
4234
 
 
4235
 
 
4236
 
 
4237
 
 
4238
 
 
4239
 
 
4240
 
 
4241
 
 
4242
 
 
4243
 
 
4244
 
 
4245
 
 
4246
 
 
4247
 
 
4248
 
 
4249
 
 
4250
 
 
4251
 
 
4252
 
 
4253
 
 
4254
 
 
4255
 
 
4256
 
 
4257
 
 
4258
 
 
4259
 
 
4260
 
 
4261
 
 
4262
 
 
4263
 
 
4264
 
 
4265
 
 
4266
 
 
4267
 
 
4268
 
 
4269
 
 
4270
 
 
4271
 
 
4272
 
 
4273
 
 
4274
 
 
4275
 
 
4276
 
 
4277
 
 
4278
 
 
4279
 
 
4280
 
 
4281
 
 
4282
 
 
4283
 
 
4284
 
 
4285
 
 
4286
 
 
4287
 
 
4288
 
 
4289
 
 
4290
 
 
4291
 
 
4292
 
 
4293
 
 
4294
 
 
4295
 
 
4296
 
 
4297
 
 
4298
 
 
4299
 
 
4300
 
 
4301
 
 
4302
 
 
4303
 
 
4304
 
 
4305
 
 
4306
 
 
4307
 
 
4308
 
 
4309
 
 
4310
 
 
4311
 
 
4312
 
 
4313
 
 
4314
 
 
4315
 
 
4316
 
 
4317
 
 
4318
 
 
4319
 
 
4320
 
 
4321
 
 
4322
# Check the gettext tools to make sure they are GNU
 
4323
# Extract the first word of "xgettext", so it can be a program name with args.
 
4324
set dummy xgettext; ac_word=$2
 
4325
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4326
$as_echo_n "checking for $ac_word... " >&6; }
 
4327
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
 
4328
  $as_echo_n "(cached) " >&6
 
4329
else
 
4330
  case $XGETTEXT in
 
4331
  [\\/]* | ?:[\\/]*)
 
4332
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
 
4333
  ;;
 
4334
  *)
 
4335
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4336
for as_dir in $PATH
 
4337
do
 
4338
  IFS=$as_save_IFS
 
4339
  test -z "$as_dir" && as_dir=.
 
4340
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4341
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4342
    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
 
4343
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4344
    break 2
 
4345
  fi
 
4346
done
 
4347
  done
 
4348
IFS=$as_save_IFS
 
4349
 
 
4350
  ;;
 
4351
esac
 
4352
fi
 
4353
XGETTEXT=$ac_cv_path_XGETTEXT
 
4354
if test -n "$XGETTEXT"; then
 
4355
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
 
4356
$as_echo "$XGETTEXT" >&6; }
 
4357
else
 
4358
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4359
$as_echo "no" >&6; }
 
4360
fi
 
4361
 
 
4362
 
 
4363
# Extract the first word of "msgmerge", so it can be a program name with args.
 
4364
set dummy msgmerge; ac_word=$2
 
4365
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4366
$as_echo_n "checking for $ac_word... " >&6; }
 
4367
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
 
4368
  $as_echo_n "(cached) " >&6
 
4369
else
 
4370
  case $MSGMERGE in
 
4371
  [\\/]* | ?:[\\/]*)
 
4372
  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
 
4373
  ;;
 
4374
  *)
 
4375
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4376
for as_dir in $PATH
 
4377
do
 
4378
  IFS=$as_save_IFS
 
4379
  test -z "$as_dir" && as_dir=.
 
4380
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4381
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4382
    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
 
4383
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4384
    break 2
 
4385
  fi
 
4386
done
 
4387
  done
 
4388
IFS=$as_save_IFS
 
4389
 
 
4390
  ;;
 
4391
esac
 
4392
fi
 
4393
MSGMERGE=$ac_cv_path_MSGMERGE
 
4394
if test -n "$MSGMERGE"; then
 
4395
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
 
4396
$as_echo "$MSGMERGE" >&6; }
 
4397
else
 
4398
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4399
$as_echo "no" >&6; }
 
4400
fi
 
4401
 
 
4402
 
 
4403
# Extract the first word of "msgfmt", so it can be a program name with args.
 
4404
set dummy msgfmt; ac_word=$2
 
4405
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4406
$as_echo_n "checking for $ac_word... " >&6; }
 
4407
if test "${ac_cv_path_MSGFMT+set}" = set; then :
 
4408
  $as_echo_n "(cached) " >&6
 
4409
else
 
4410
  case $MSGFMT in
 
4411
  [\\/]* | ?:[\\/]*)
 
4412
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
 
4413
  ;;
 
4414
  *)
 
4415
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4416
for as_dir in $PATH
 
4417
do
 
4418
  IFS=$as_save_IFS
 
4419
  test -z "$as_dir" && as_dir=.
 
4420
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4421
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4422
    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
4423
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4424
    break 2
 
4425
  fi
 
4426
done
 
4427
  done
 
4428
IFS=$as_save_IFS
 
4429
 
 
4430
  ;;
 
4431
esac
 
4432
fi
 
4433
MSGFMT=$ac_cv_path_MSGFMT
 
4434
if test -n "$MSGFMT"; then
 
4435
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
 
4436
$as_echo "$MSGFMT" >&6; }
 
4437
else
 
4438
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4439
$as_echo "no" >&6; }
 
4440
fi
 
4441
 
 
4442
 
 
4443
# Extract the first word of "gmsgfmt", so it can be a program name with args.
 
4444
set dummy gmsgfmt; ac_word=$2
 
4445
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4446
$as_echo_n "checking for $ac_word... " >&6; }
 
4447
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
 
4448
  $as_echo_n "(cached) " >&6
 
4449
else
 
4450
  case $GMSGFMT in
 
4451
  [\\/]* | ?:[\\/]*)
 
4452
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
 
4453
  ;;
 
4454
  *)
 
4455
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4456
for as_dir in $PATH
 
4457
do
 
4458
  IFS=$as_save_IFS
 
4459
  test -z "$as_dir" && as_dir=.
 
4460
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4461
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4462
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
4463
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4464
    break 2
 
4465
  fi
 
4466
done
 
4467
  done
 
4468
IFS=$as_save_IFS
 
4469
 
 
4470
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
 
4471
  ;;
 
4472
esac
 
4473
fi
 
4474
GMSGFMT=$ac_cv_path_GMSGFMT
 
4475
if test -n "$GMSGFMT"; then
 
4476
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
 
4477
$as_echo "$GMSGFMT" >&6; }
 
4478
else
 
4479
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4480
$as_echo "no" >&6; }
 
4481
fi
 
4482
 
 
4483
 
 
4484
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
 
4485
    as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
 
4486
fi
 
4487
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
 
4488
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
 
4489
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
 
4490
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
 
4491
    as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
 
4492
fi
 
4493
 
 
4494
# Extract the first word of "perl", so it can be a program name with args.
 
4495
set dummy perl; ac_word=$2
 
4496
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4497
$as_echo_n "checking for $ac_word... " >&6; }
 
4498
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then :
 
4499
  $as_echo_n "(cached) " >&6
 
4500
else
 
4501
  case $INTLTOOL_PERL in
 
4502
  [\\/]* | ?:[\\/]*)
 
4503
  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
 
4504
  ;;
 
4505
  *)
 
4506
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4507
for as_dir in $PATH
 
4508
do
 
4509
  IFS=$as_save_IFS
 
4510
  test -z "$as_dir" && as_dir=.
 
4511
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4512
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4513
    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
 
4514
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4515
    break 2
 
4516
  fi
 
4517
done
 
4518
  done
 
4519
IFS=$as_save_IFS
 
4520
 
 
4521
  ;;
 
4522
esac
 
4523
fi
 
4524
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
 
4525
if test -n "$INTLTOOL_PERL"; then
 
4526
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
 
4527
$as_echo "$INTLTOOL_PERL" >&6; }
 
4528
else
 
4529
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4530
$as_echo "no" >&6; }
 
4531
fi
 
4532
 
 
4533
 
 
4534
if test -z "$INTLTOOL_PERL"; then
 
4535
   as_fn_error "perl not found" "$LINENO" 5
 
4536
fi
 
4537
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
 
4538
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
 
4539
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
 
4540
if test $? -ne 0; then
 
4541
   as_fn_error "perl 5.8.1 is required for intltool" "$LINENO" 5
 
4542
else
 
4543
   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
 
4544
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
 
4545
$as_echo "$IT_PERL_VERSION" >&6; }
 
4546
fi
 
4547
if test "x" != "xno-xml"; then
 
4548
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
 
4549
$as_echo_n "checking for XML::Parser... " >&6; }
 
4550
   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
 
4551
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 
4552
$as_echo "ok" >&6; }
 
4553
   else
 
4554
       as_fn_error "XML::Parser perl module is required for intltool" "$LINENO" 5
 
4555
   fi
 
4556
fi
 
4557
 
 
4558
# Substitute ALL_LINGUAS so we can use it in po/Makefile
 
4559
 
 
4560
 
 
4561
# Set DATADIRNAME correctly if it is not set yet
 
4562
# (copied from glib-gettext.m4)
 
4563
if test -z "$DATADIRNAME"; then
 
4564
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4565
/* end confdefs.h.  */
 
4566
 
 
4567
int
 
4568
main ()
 
4569
{
 
4570
extern int _nl_msg_cat_cntr;
 
4571
                       return _nl_msg_cat_cntr
 
4572
  ;
 
4573
  return 0;
 
4574
}
 
4575
_ACEOF
 
4576
if ac_fn_c_try_link "$LINENO"; then :
 
4577
  DATADIRNAME=share
 
4578
else
 
4579
  case $host in
 
4580
    *-*-solaris*)
 
4581
                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
4582
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
4583
  DATADIRNAME=share
 
4584
else
 
4585
  DATADIRNAME=lib
 
4586
fi
 
4587
 
 
4588
    ;;
 
4589
    *)
 
4590
    DATADIRNAME=lib
 
4591
    ;;
 
4592
    esac
 
4593
fi
 
4594
rm -f core conftest.err conftest.$ac_objext \
 
4595
    conftest$ac_exeext conftest.$ac_ext
 
4596
fi
 
4597
 
 
4598
 
 
4599
 
 
4600
 
 
4601
 
 
4602
case `pwd` in
 
4603
  *\ * | *\     *)
 
4604
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
4605
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
4606
esac
 
4607
 
 
4608
 
 
4609
 
 
4610
macro_version='2.2.6'
 
4611
macro_revision='1.3012'
 
4612
 
 
4613
 
 
4614
 
 
4615
 
 
4616
 
 
4617
 
 
4618
 
 
4619
 
 
4620
 
 
4621
 
 
4622
 
 
4623
 
 
4624
 
 
4625
ltmain="$ac_aux_dir/ltmain.sh"
 
4626
 
 
4627
# Make sure we can run config.sub.
 
4628
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
4629
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 
4630
 
 
4631
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 
4632
$as_echo_n "checking build system type... " >&6; }
 
4633
if test "${ac_cv_build+set}" = set; then :
 
4634
  $as_echo_n "(cached) " >&6
 
4635
else
 
4636
  ac_build_alias=$build_alias
 
4637
test "x$ac_build_alias" = x &&
 
4638
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
4639
test "x$ac_build_alias" = x &&
 
4640
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
 
4641
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
4642
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 
4643
 
 
4644
fi
 
4645
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 
4646
$as_echo "$ac_cv_build" >&6; }
 
4647
case $ac_cv_build in
 
4648
*-*-*) ;;
 
4649
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
 
4650
esac
 
4651
build=$ac_cv_build
 
4652
ac_save_IFS=$IFS; IFS='-'
 
4653
set x $ac_cv_build
 
4654
shift
 
4655
build_cpu=$1
 
4656
build_vendor=$2
 
4657
shift; shift
 
4658
# Remember, the first character of IFS is used to create $*,
 
4659
# except with old shells:
 
4660
build_os=$*
 
4661
IFS=$ac_save_IFS
 
4662
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
4663
 
 
4664
 
 
4665
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 
4666
$as_echo_n "checking host system type... " >&6; }
 
4667
if test "${ac_cv_host+set}" = set; then :
 
4668
  $as_echo_n "(cached) " >&6
 
4669
else
 
4670
  if test "x$host_alias" = x; then
 
4671
  ac_cv_host=$ac_cv_build
 
4672
else
 
4673
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
4674
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 
4675
fi
 
4676
 
 
4677
fi
 
4678
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 
4679
$as_echo "$ac_cv_host" >&6; }
 
4680
case $ac_cv_host in
 
4681
*-*-*) ;;
 
4682
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
 
4683
esac
 
4684
host=$ac_cv_host
 
4685
ac_save_IFS=$IFS; IFS='-'
 
4686
set x $ac_cv_host
 
4687
shift
 
4688
host_cpu=$1
 
4689
host_vendor=$2
 
4690
shift; shift
 
4691
# Remember, the first character of IFS is used to create $*,
 
4692
# except with old shells:
 
4693
host_os=$*
 
4694
IFS=$ac_save_IFS
 
4695
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
4696
 
 
4697
 
 
4698
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 
4699
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
4700
if test "${ac_cv_path_SED+set}" = set; then :
 
4701
  $as_echo_n "(cached) " >&6
 
4702
else
 
4703
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
4704
     for ac_i in 1 2 3 4 5 6 7; do
 
4705
       ac_script="$ac_script$as_nl$ac_script"
 
4706
     done
 
4707
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
4708
     { ac_script=; unset ac_script;}
 
4709
     if test -z "$SED"; then
 
4710
  ac_path_SED_found=false
 
4711
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4712
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4713
for as_dir in $PATH
 
4714
do
 
4715
  IFS=$as_save_IFS
 
4716
  test -z "$as_dir" && as_dir=.
 
4717
    for ac_prog in sed gsed; do
 
4718
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4719
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
4720
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
4721
# Check for GNU ac_path_SED and select it if it is found.
 
4722
  # Check for GNU $ac_path_SED
 
4723
case `"$ac_path_SED" --version 2>&1` in
 
4724
*GNU*)
 
4725
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
4726
*)
 
4727
  ac_count=0
 
4728
  $as_echo_n 0123456789 >"conftest.in"
 
4729
  while :
 
4730
  do
 
4731
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4732
    mv "conftest.tmp" "conftest.in"
 
4733
    cp "conftest.in" "conftest.nl"
 
4734
    $as_echo '' >> "conftest.nl"
 
4735
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4736
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4737
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4738
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
4739
      # Best one so far, save it but keep looking for a better one
 
4740
      ac_cv_path_SED="$ac_path_SED"
 
4741
      ac_path_SED_max=$ac_count
 
4742
    fi
 
4743
    # 10*(2^10) chars as input seems more than enough
 
4744
    test $ac_count -gt 10 && break
 
4745
  done
 
4746
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4747
esac
 
4748
 
 
4749
      $ac_path_SED_found && break 3
 
4750
    done
 
4751
  done
 
4752
  done
 
4753
IFS=$as_save_IFS
 
4754
  if test -z "$ac_cv_path_SED"; then
 
4755
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
4756
  fi
 
4757
else
 
4758
  ac_cv_path_SED=$SED
 
4759
fi
 
4760
 
 
4761
fi
 
4762
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 
4763
$as_echo "$ac_cv_path_SED" >&6; }
 
4764
 SED="$ac_cv_path_SED"
 
4765
  rm -f conftest.sed
 
4766
 
 
4767
test -z "$SED" && SED=sed
 
4768
Xsed="$SED -e 1s/^X//"
 
4769
 
 
4770
 
 
4771
 
 
4772
 
 
4773
 
 
4774
 
 
4775
 
 
4776
 
 
4777
 
 
4778
 
 
4779
 
 
4780
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 
4781
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
4782
if test "${ac_cv_path_GREP+set}" = set; then :
 
4783
  $as_echo_n "(cached) " >&6
 
4784
else
 
4785
  if test -z "$GREP"; then
 
4786
  ac_path_GREP_found=false
 
4787
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4788
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4789
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4790
do
 
4791
  IFS=$as_save_IFS
 
4792
  test -z "$as_dir" && as_dir=.
 
4793
    for ac_prog in grep ggrep; do
 
4794
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4795
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
4796
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
4797
# Check for GNU ac_path_GREP and select it if it is found.
 
4798
  # Check for GNU $ac_path_GREP
 
4799
case `"$ac_path_GREP" --version 2>&1` in
 
4800
*GNU*)
 
4801
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
4802
*)
 
4803
  ac_count=0
 
4804
  $as_echo_n 0123456789 >"conftest.in"
 
4805
  while :
 
4806
  do
 
4807
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4808
    mv "conftest.tmp" "conftest.in"
 
4809
    cp "conftest.in" "conftest.nl"
 
4810
    $as_echo 'GREP' >> "conftest.nl"
 
4811
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4812
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4813
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4814
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
4815
      # Best one so far, save it but keep looking for a better one
 
4816
      ac_cv_path_GREP="$ac_path_GREP"
 
4817
      ac_path_GREP_max=$ac_count
 
4818
    fi
 
4819
    # 10*(2^10) chars as input seems more than enough
 
4820
    test $ac_count -gt 10 && break
 
4821
  done
 
4822
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4823
esac
 
4824
 
 
4825
      $ac_path_GREP_found && break 3
 
4826
    done
 
4827
  done
 
4828
  done
 
4829
IFS=$as_save_IFS
 
4830
  if test -z "$ac_cv_path_GREP"; then
 
4831
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4832
  fi
 
4833
else
 
4834
  ac_cv_path_GREP=$GREP
 
4835
fi
 
4836
 
 
4837
fi
 
4838
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 
4839
$as_echo "$ac_cv_path_GREP" >&6; }
 
4840
 GREP="$ac_cv_path_GREP"
 
4841
 
 
4842
 
 
4843
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 
4844
$as_echo_n "checking for egrep... " >&6; }
 
4845
if test "${ac_cv_path_EGREP+set}" = set; then :
 
4846
  $as_echo_n "(cached) " >&6
 
4847
else
 
4848
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
4849
   then ac_cv_path_EGREP="$GREP -E"
 
4850
   else
 
4851
     if test -z "$EGREP"; then
 
4852
  ac_path_EGREP_found=false
 
4853
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4854
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4855
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4856
do
 
4857
  IFS=$as_save_IFS
 
4858
  test -z "$as_dir" && as_dir=.
 
4859
    for ac_prog in egrep; do
 
4860
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4861
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4862
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
4863
# Check for GNU ac_path_EGREP and select it if it is found.
 
4864
  # Check for GNU $ac_path_EGREP
 
4865
case `"$ac_path_EGREP" --version 2>&1` in
 
4866
*GNU*)
 
4867
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
4868
*)
 
4869
  ac_count=0
 
4870
  $as_echo_n 0123456789 >"conftest.in"
 
4871
  while :
 
4872
  do
 
4873
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4874
    mv "conftest.tmp" "conftest.in"
 
4875
    cp "conftest.in" "conftest.nl"
 
4876
    $as_echo 'EGREP' >> "conftest.nl"
 
4877
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4878
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4879
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4880
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
4881
      # Best one so far, save it but keep looking for a better one
 
4882
      ac_cv_path_EGREP="$ac_path_EGREP"
 
4883
      ac_path_EGREP_max=$ac_count
 
4884
    fi
 
4885
    # 10*(2^10) chars as input seems more than enough
 
4886
    test $ac_count -gt 10 && break
 
4887
  done
 
4888
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4889
esac
 
4890
 
 
4891
      $ac_path_EGREP_found && break 3
 
4892
    done
 
4893
  done
 
4894
  done
 
4895
IFS=$as_save_IFS
 
4896
  if test -z "$ac_cv_path_EGREP"; then
 
4897
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4898
  fi
 
4899
else
 
4900
  ac_cv_path_EGREP=$EGREP
 
4901
fi
 
4902
 
 
4903
   fi
 
4904
fi
 
4905
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 
4906
$as_echo "$ac_cv_path_EGREP" >&6; }
 
4907
 EGREP="$ac_cv_path_EGREP"
 
4908
 
 
4909
 
 
4910
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
 
4911
$as_echo_n "checking for fgrep... " >&6; }
 
4912
if test "${ac_cv_path_FGREP+set}" = set; then :
 
4913
  $as_echo_n "(cached) " >&6
 
4914
else
 
4915
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 
4916
   then ac_cv_path_FGREP="$GREP -F"
 
4917
   else
 
4918
     if test -z "$FGREP"; then
 
4919
  ac_path_FGREP_found=false
 
4920
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4921
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4922
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4923
do
 
4924
  IFS=$as_save_IFS
 
4925
  test -z "$as_dir" && as_dir=.
 
4926
    for ac_prog in fgrep; do
 
4927
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4928
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4929
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
 
4930
# Check for GNU ac_path_FGREP and select it if it is found.
 
4931
  # Check for GNU $ac_path_FGREP
 
4932
case `"$ac_path_FGREP" --version 2>&1` in
 
4933
*GNU*)
 
4934
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 
4935
*)
 
4936
  ac_count=0
 
4937
  $as_echo_n 0123456789 >"conftest.in"
 
4938
  while :
 
4939
  do
 
4940
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4941
    mv "conftest.tmp" "conftest.in"
 
4942
    cp "conftest.in" "conftest.nl"
 
4943
    $as_echo 'FGREP' >> "conftest.nl"
 
4944
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4945
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4946
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4947
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 
4948
      # Best one so far, save it but keep looking for a better one
 
4949
      ac_cv_path_FGREP="$ac_path_FGREP"
 
4950
      ac_path_FGREP_max=$ac_count
 
4951
    fi
 
4952
    # 10*(2^10) chars as input seems more than enough
 
4953
    test $ac_count -gt 10 && break
 
4954
  done
 
4955
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4956
esac
 
4957
 
 
4958
      $ac_path_FGREP_found && break 3
 
4959
    done
 
4960
  done
 
4961
  done
 
4962
IFS=$as_save_IFS
 
4963
  if test -z "$ac_cv_path_FGREP"; then
 
4964
    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
4965
  fi
 
4966
else
 
4967
  ac_cv_path_FGREP=$FGREP
 
4968
fi
 
4969
 
 
4970
   fi
 
4971
fi
 
4972
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
 
4973
$as_echo "$ac_cv_path_FGREP" >&6; }
 
4974
 FGREP="$ac_cv_path_FGREP"
 
4975
 
 
4976
 
 
4977
test -z "$GREP" && GREP=grep
 
4978
 
 
4979
 
 
4980
 
 
4981
 
 
4982
 
 
4983
 
 
4984
 
 
4985
 
 
4986
 
 
4987
 
 
4988
 
 
4989
 
 
4990
 
 
4991
 
 
4992
 
 
4993
 
 
4994
 
 
4995
 
 
4996
 
 
4997
# Check whether --with-gnu-ld was given.
 
4998
if test "${with_gnu_ld+set}" = set; then :
 
4999
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 
5000
else
 
5001
  with_gnu_ld=no
 
5002
fi
 
5003
 
 
5004
ac_prog=ld
 
5005
if test "$GCC" = yes; then
 
5006
  # Check if gcc -print-prog-name=ld gives a path.
 
5007
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
 
5008
$as_echo_n "checking for ld used by $CC... " >&6; }
 
5009
  case $host in
 
5010
  *-*-mingw*)
 
5011
    # gcc leaves a trailing carriage return which upsets mingw
 
5012
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 
5013
  *)
 
5014
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 
5015
  esac
 
5016
  case $ac_prog in
 
5017
    # Accept absolute paths.
 
5018
    [\\/]* | ?:[\\/]*)
 
5019
      re_direlt='/[^/][^/]*/\.\./'
 
5020
      # Canonicalize the pathname of ld
 
5021
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
5022
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
5023
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
 
5024
      done
 
5025
      test -z "$LD" && LD="$ac_prog"
 
5026
      ;;
 
5027
  "")
 
5028
    # If it fails, then pretend we aren't using GCC.
 
5029
    ac_prog=ld
 
5030
    ;;
 
5031
  *)
 
5032
    # If it is relative, then search for the first ld in PATH.
 
5033
    with_gnu_ld=unknown
 
5034
    ;;
 
5035
  esac
 
5036
elif test "$with_gnu_ld" = yes; then
 
5037
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 
5038
$as_echo_n "checking for GNU ld... " >&6; }
 
5039
else
 
5040
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 
5041
$as_echo_n "checking for non-GNU ld... " >&6; }
 
5042
fi
 
5043
if test "${lt_cv_path_LD+set}" = set; then :
 
5044
  $as_echo_n "(cached) " >&6
 
5045
else
 
5046
  if test -z "$LD"; then
 
5047
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
5048
  for ac_dir in $PATH; do
 
5049
    IFS="$lt_save_ifs"
 
5050
    test -z "$ac_dir" && ac_dir=.
 
5051
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 
5052
      lt_cv_path_LD="$ac_dir/$ac_prog"
 
5053
      # Check to see if the program is GNU ld.  I'd rather use --version,
 
5054
      # but apparently some variants of GNU ld only accept -v.
 
5055
      # Break only if it was the GNU/non-GNU ld that we prefer.
 
5056
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 
5057
      *GNU* | *'with BFD'*)
 
5058
        test "$with_gnu_ld" != no && break
 
5059
        ;;
 
5060
      *)
 
5061
        test "$with_gnu_ld" != yes && break
 
5062
        ;;
 
5063
      esac
 
5064
    fi
 
5065
  done
 
5066
  IFS="$lt_save_ifs"
 
5067
else
 
5068
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
 
5069
fi
 
5070
fi
 
5071
 
 
5072
LD="$lt_cv_path_LD"
 
5073
if test -n "$LD"; then
 
5074
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 
5075
$as_echo "$LD" >&6; }
 
5076
else
 
5077
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5078
$as_echo "no" >&6; }
 
5079
fi
 
5080
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
5081
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 
5082
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 
5083
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
5084
  $as_echo_n "(cached) " >&6
 
5085
else
 
5086
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
 
5087
case `$LD -v 2>&1 </dev/null` in
 
5088
*GNU* | *'with BFD'*)
 
5089
  lt_cv_prog_gnu_ld=yes
 
5090
  ;;
 
5091
*)
 
5092
  lt_cv_prog_gnu_ld=no
 
5093
  ;;
 
5094
esac
 
5095
fi
 
5096
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
 
5097
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
 
5098
with_gnu_ld=$lt_cv_prog_gnu_ld
 
5099
 
 
5100
 
 
5101
 
 
5102
 
 
5103
 
 
5104
 
 
5105
 
 
5106
 
 
5107
 
 
5108
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
 
5109
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
 
5110
if test "${lt_cv_path_NM+set}" = set; then :
 
5111
  $as_echo_n "(cached) " >&6
 
5112
else
 
5113
  if test -n "$NM"; then
 
5114
  # Let the user override the test.
 
5115
  lt_cv_path_NM="$NM"
 
5116
else
 
5117
  lt_nm_to_check="${ac_tool_prefix}nm"
 
5118
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 
5119
    lt_nm_to_check="$lt_nm_to_check nm"
 
5120
  fi
 
5121
  for lt_tmp_nm in $lt_nm_to_check; do
 
5122
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
5123
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 
5124
      IFS="$lt_save_ifs"
 
5125
      test -z "$ac_dir" && ac_dir=.
 
5126
      tmp_nm="$ac_dir/$lt_tmp_nm"
 
5127
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 
5128
        # Check to see if the nm accepts a BSD-compat flag.
 
5129
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
 
5130
        #   nm: unknown option "B" ignored
 
5131
        # Tru64's nm complains that /dev/null is an invalid object file
 
5132
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 
5133
        */dev/null* | *'Invalid file or object type'*)
 
5134
          lt_cv_path_NM="$tmp_nm -B"
 
5135
          break
 
5136
          ;;
 
5137
        *)
 
5138
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 
5139
          */dev/null*)
 
5140
            lt_cv_path_NM="$tmp_nm -p"
 
5141
            break
 
5142
            ;;
 
5143
          *)
 
5144
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 
5145
            continue # so that we can try to find one that supports BSD flags
 
5146
            ;;
 
5147
          esac
 
5148
          ;;
 
5149
        esac
 
5150
      fi
 
5151
    done
 
5152
    IFS="$lt_save_ifs"
 
5153
  done
 
5154
  : ${lt_cv_path_NM=no}
 
5155
fi
 
5156
fi
 
5157
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
 
5158
$as_echo "$lt_cv_path_NM" >&6; }
 
5159
if test "$lt_cv_path_NM" != "no"; then
 
5160
  NM="$lt_cv_path_NM"
 
5161
else
 
5162
  # Didn't find any BSD compatible name lister, look for dumpbin.
 
5163
  if test -n "$ac_tool_prefix"; then
 
5164
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
5165
  do
 
5166
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
5167
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
5168
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5169
$as_echo_n "checking for $ac_word... " >&6; }
 
5170
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
 
5171
  $as_echo_n "(cached) " >&6
 
5172
else
 
5173
  if test -n "$DUMPBIN"; then
 
5174
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 
5175
else
 
5176
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5177
for as_dir in $PATH
 
5178
do
 
5179
  IFS=$as_save_IFS
 
5180
  test -z "$as_dir" && as_dir=.
 
5181
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5182
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5183
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 
5184
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5185
    break 2
 
5186
  fi
 
5187
done
 
5188
  done
 
5189
IFS=$as_save_IFS
 
5190
 
 
5191
fi
 
5192
fi
 
5193
DUMPBIN=$ac_cv_prog_DUMPBIN
 
5194
if test -n "$DUMPBIN"; then
 
5195
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
 
5196
$as_echo "$DUMPBIN" >&6; }
 
5197
else
 
5198
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5199
$as_echo "no" >&6; }
 
5200
fi
 
5201
 
 
5202
 
 
5203
    test -n "$DUMPBIN" && break
 
5204
  done
 
5205
fi
 
5206
if test -z "$DUMPBIN"; then
 
5207
  ac_ct_DUMPBIN=$DUMPBIN
 
5208
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
5209
do
 
5210
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
5211
set dummy $ac_prog; ac_word=$2
 
5212
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5213
$as_echo_n "checking for $ac_word... " >&6; }
 
5214
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
 
5215
  $as_echo_n "(cached) " >&6
 
5216
else
 
5217
  if test -n "$ac_ct_DUMPBIN"; then
 
5218
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 
5219
else
 
5220
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5221
for as_dir in $PATH
 
5222
do
 
5223
  IFS=$as_save_IFS
 
5224
  test -z "$as_dir" && as_dir=.
 
5225
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5226
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5227
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 
5228
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5229
    break 2
 
5230
  fi
 
5231
done
 
5232
  done
 
5233
IFS=$as_save_IFS
 
5234
 
 
5235
fi
 
5236
fi
 
5237
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 
5238
if test -n "$ac_ct_DUMPBIN"; then
 
5239
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
 
5240
$as_echo "$ac_ct_DUMPBIN" >&6; }
 
5241
else
 
5242
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5243
$as_echo "no" >&6; }
 
5244
fi
 
5245
 
 
5246
 
 
5247
  test -n "$ac_ct_DUMPBIN" && break
 
5248
done
 
5249
 
 
5250
  if test "x$ac_ct_DUMPBIN" = x; then
 
5251
    DUMPBIN=":"
 
5252
  else
 
5253
    case $cross_compiling:$ac_tool_warned in
 
5254
yes:)
 
5255
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5256
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5257
ac_tool_warned=yes ;;
 
5258
esac
 
5259
    DUMPBIN=$ac_ct_DUMPBIN
 
5260
  fi
 
5261
fi
 
5262
 
 
5263
 
 
5264
  if test "$DUMPBIN" != ":"; then
 
5265
    NM="$DUMPBIN"
 
5266
  fi
 
5267
fi
 
5268
test -z "$NM" && NM=nm
 
5269
 
 
5270
 
 
5271
 
 
5272
 
 
5273
 
 
5274
 
 
5275
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
 
5276
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
 
5277
if test "${lt_cv_nm_interface+set}" = set; then :
 
5278
  $as_echo_n "(cached) " >&6
 
5279
else
 
5280
  lt_cv_nm_interface="BSD nm"
 
5281
  echo "int some_variable = 0;" > conftest.$ac_ext
 
5282
  (eval echo "\"\$as_me:5282: $ac_compile\"" >&5)
 
5283
  (eval "$ac_compile" 2>conftest.err)
 
5284
  cat conftest.err >&5
 
5285
  (eval echo "\"\$as_me:5285: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
5286
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 
5287
  cat conftest.err >&5
 
5288
  (eval echo "\"\$as_me:5288: output\"" >&5)
 
5289
  cat conftest.out >&5
 
5290
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 
5291
    lt_cv_nm_interface="MS dumpbin"
 
5292
  fi
 
5293
  rm -f conftest*
 
5294
fi
 
5295
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
 
5296
$as_echo "$lt_cv_nm_interface" >&6; }
 
5297
 
 
5298
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 
5299
$as_echo_n "checking whether ln -s works... " >&6; }
 
5300
LN_S=$as_ln_s
 
5301
if test "$LN_S" = "ln -s"; then
 
5302
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
5303
$as_echo "yes" >&6; }
 
5304
else
 
5305
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
 
5306
$as_echo "no, using $LN_S" >&6; }
 
5307
fi
 
5308
 
 
5309
# find the maximum length of command line arguments
 
5310
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
 
5311
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
 
5312
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
 
5313
  $as_echo_n "(cached) " >&6
 
5314
else
 
5315
    i=0
 
5316
  teststring="ABCD"
 
5317
 
 
5318
  case $build_os in
 
5319
  msdosdjgpp*)
 
5320
    # On DJGPP, this test can blow up pretty badly due to problems in libc
 
5321
    # (any single argument exceeding 2000 bytes causes a buffer overrun
 
5322
    # during glob expansion).  Even if it were fixed, the result of this
 
5323
    # check would be larger than it should be.
 
5324
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 
5325
    ;;
 
5326
 
 
5327
  gnu*)
 
5328
    # Under GNU Hurd, this test is not required because there is
 
5329
    # no limit to the length of command line arguments.
 
5330
    # Libtool will interpret -1 as no limit whatsoever
 
5331
    lt_cv_sys_max_cmd_len=-1;
 
5332
    ;;
 
5333
 
 
5334
  cygwin* | mingw* | cegcc*)
 
5335
    # On Win9x/ME, this test blows up -- it succeeds, but takes
 
5336
    # about 5 minutes as the teststring grows exponentially.
 
5337
    # Worse, since 9x/ME are not pre-emptively multitasking,
 
5338
    # you end up with a "frozen" computer, even though with patience
 
5339
    # the test eventually succeeds (with a max line length of 256k).
 
5340
    # Instead, let's just punt: use the minimum linelength reported by
 
5341
    # all of the supported platforms: 8192 (on NT/2K/XP).
 
5342
    lt_cv_sys_max_cmd_len=8192;
 
5343
    ;;
 
5344
 
 
5345
  amigaos*)
 
5346
    # On AmigaOS with pdksh, this test takes hours, literally.
 
5347
    # So we just punt and use a minimum line length of 8192.
 
5348
    lt_cv_sys_max_cmd_len=8192;
 
5349
    ;;
 
5350
 
 
5351
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
5352
    # This has been around since 386BSD, at least.  Likely further.
 
5353
    if test -x /sbin/sysctl; then
 
5354
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
5355
    elif test -x /usr/sbin/sysctl; then
 
5356
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
5357
    else
 
5358
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
5359
    fi
 
5360
    # And add a safety zone
 
5361
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
5362
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
5363
    ;;
 
5364
 
 
5365
  interix*)
 
5366
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
5367
    lt_cv_sys_max_cmd_len=196608
 
5368
    ;;
 
5369
 
 
5370
  osf*)
 
5371
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
5372
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
5373
    # nice to cause kernel panics so lets avoid the loop below.
 
5374
    # First set a reasonable default.
 
5375
    lt_cv_sys_max_cmd_len=16384
 
5376
    #
 
5377
    if test -x /sbin/sysconfig; then
 
5378
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
5379
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
5380
      esac
 
5381
    fi
 
5382
    ;;
 
5383
  sco3.2v5*)
 
5384
    lt_cv_sys_max_cmd_len=102400
 
5385
    ;;
 
5386
  sysv5* | sco5v6* | sysv4.2uw2*)
 
5387
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
5388
    if test -n "$kargmax"; then
 
5389
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
 
5390
    else
 
5391
      lt_cv_sys_max_cmd_len=32768
 
5392
    fi
 
5393
    ;;
 
5394
  *)
 
5395
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
5396
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
5397
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
5398
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
5399
    else
 
5400
      # Make teststring a little bigger before we do anything with it.
 
5401
      # a 1K string should be a reasonable start.
 
5402
      for i in 1 2 3 4 5 6 7 8 ; do
 
5403
        teststring=$teststring$teststring
 
5404
      done
 
5405
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
5406
      # If test is not a shell built-in, we'll probably end up computing a
 
5407
      # maximum length that is only half of the actual maximum length, but
 
5408
      # we can't tell.
 
5409
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
 
5410
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
5411
              test $i != 17 # 1/2 MB should be enough
 
5412
      do
 
5413
        i=`expr $i + 1`
 
5414
        teststring=$teststring$teststring
 
5415
      done
 
5416
      # Only check the string length outside the loop.
 
5417
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 
5418
      teststring=
 
5419
      # Add a significant safety factor because C++ compilers can tack on
 
5420
      # massive amounts of additional arguments before passing them to the
 
5421
      # linker.  It appears as though 1/2 is a usable value.
 
5422
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
5423
    fi
 
5424
    ;;
 
5425
  esac
 
5426
 
 
5427
fi
 
5428
 
 
5429
if test -n $lt_cv_sys_max_cmd_len ; then
 
5430
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
 
5431
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
 
5432
else
 
5433
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
 
5434
$as_echo "none" >&6; }
 
5435
fi
 
5436
max_cmd_len=$lt_cv_sys_max_cmd_len
 
5437
 
 
5438
 
 
5439
 
 
5440
 
 
5441
 
 
5442
 
 
5443
: ${CP="cp -f"}
 
5444
: ${MV="mv -f"}
 
5445
: ${RM="rm -f"}
 
5446
 
 
5447
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
 
5448
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
 
5449
# Try some XSI features
 
5450
xsi_shell=no
 
5451
( _lt_dummy="a/b/c"
 
5452
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
 
5453
      = c,a/b,, \
 
5454
    && eval 'test $(( 1 + 1 )) -eq 2 \
 
5455
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 
5456
  && xsi_shell=yes
 
5457
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
 
5458
$as_echo "$xsi_shell" >&6; }
 
5459
 
 
5460
 
 
5461
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
 
5462
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
 
5463
lt_shell_append=no
 
5464
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
 
5465
    >/dev/null 2>&1 \
 
5466
  && lt_shell_append=yes
 
5467
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
 
5468
$as_echo "$lt_shell_append" >&6; }
 
5469
 
 
5470
 
 
5471
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
5472
  lt_unset=unset
 
5473
else
 
5474
  lt_unset=false
 
5475
fi
 
5476
 
 
5477
 
 
5478
 
 
5479
 
 
5480
 
 
5481
# test EBCDIC or ASCII
 
5482
case `echo X|tr X '\101'` in
 
5483
 A) # ASCII based system
 
5484
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 
5485
  lt_SP2NL='tr \040 \012'
 
5486
  lt_NL2SP='tr \015\012 \040\040'
 
5487
  ;;
 
5488
 *) # EBCDIC based system
 
5489
  lt_SP2NL='tr \100 \n'
 
5490
  lt_NL2SP='tr \r\n \100\100'
 
5491
  ;;
 
5492
esac
 
5493
 
 
5494
 
 
5495
 
 
5496
 
 
5497
 
 
5498
 
 
5499
 
 
5500
 
 
5501
 
 
5502
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
 
5503
$as_echo_n "checking for $LD option to reload object files... " >&6; }
 
5504
if test "${lt_cv_ld_reload_flag+set}" = set; then :
 
5505
  $as_echo_n "(cached) " >&6
 
5506
else
 
5507
  lt_cv_ld_reload_flag='-r'
 
5508
fi
 
5509
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
 
5510
$as_echo "$lt_cv_ld_reload_flag" >&6; }
 
5511
reload_flag=$lt_cv_ld_reload_flag
 
5512
case $reload_flag in
 
5513
"" | " "*) ;;
 
5514
*) reload_flag=" $reload_flag" ;;
 
5515
esac
 
5516
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
5517
case $host_os in
 
5518
  darwin*)
 
5519
    if test "$GCC" = yes; then
 
5520
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
5521
    else
 
5522
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
5523
    fi
 
5524
    ;;
 
5525
esac
 
5526
 
 
5527
 
 
5528
 
 
5529
 
 
5530
 
 
5531
 
 
5532
 
 
5533
 
 
5534
 
 
5535
if test -n "$ac_tool_prefix"; then
 
5536
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
5537
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
5538
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5539
$as_echo_n "checking for $ac_word... " >&6; }
 
5540
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
 
5541
  $as_echo_n "(cached) " >&6
 
5542
else
 
5543
  if test -n "$OBJDUMP"; then
 
5544
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
5545
else
 
5546
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5547
for as_dir in $PATH
 
5548
do
 
5549
  IFS=$as_save_IFS
 
5550
  test -z "$as_dir" && as_dir=.
 
5551
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5552
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5553
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
5554
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5555
    break 2
 
5556
  fi
 
5557
done
 
5558
  done
 
5559
IFS=$as_save_IFS
 
5560
 
 
5561
fi
 
5562
fi
 
5563
OBJDUMP=$ac_cv_prog_OBJDUMP
 
5564
if test -n "$OBJDUMP"; then
 
5565
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
 
5566
$as_echo "$OBJDUMP" >&6; }
 
5567
else
 
5568
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5569
$as_echo "no" >&6; }
 
5570
fi
 
5571
 
 
5572
 
 
5573
fi
 
5574
if test -z "$ac_cv_prog_OBJDUMP"; then
 
5575
  ac_ct_OBJDUMP=$OBJDUMP
 
5576
  # Extract the first word of "objdump", so it can be a program name with args.
 
5577
set dummy objdump; ac_word=$2
 
5578
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5579
$as_echo_n "checking for $ac_word... " >&6; }
 
5580
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
 
5581
  $as_echo_n "(cached) " >&6
 
5582
else
 
5583
  if test -n "$ac_ct_OBJDUMP"; then
 
5584
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
5585
else
 
5586
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5587
for as_dir in $PATH
 
5588
do
 
5589
  IFS=$as_save_IFS
 
5590
  test -z "$as_dir" && as_dir=.
 
5591
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5592
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5593
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
5594
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5595
    break 2
 
5596
  fi
 
5597
done
 
5598
  done
 
5599
IFS=$as_save_IFS
 
5600
 
 
5601
fi
 
5602
fi
 
5603
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
5604
if test -n "$ac_ct_OBJDUMP"; then
 
5605
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
 
5606
$as_echo "$ac_ct_OBJDUMP" >&6; }
 
5607
else
 
5608
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5609
$as_echo "no" >&6; }
 
5610
fi
 
5611
 
 
5612
  if test "x$ac_ct_OBJDUMP" = x; then
 
5613
    OBJDUMP="false"
 
5614
  else
 
5615
    case $cross_compiling:$ac_tool_warned in
 
5616
yes:)
 
5617
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5618
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5619
ac_tool_warned=yes ;;
 
5620
esac
 
5621
    OBJDUMP=$ac_ct_OBJDUMP
 
5622
  fi
 
5623
else
 
5624
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
5625
fi
 
5626
 
 
5627
test -z "$OBJDUMP" && OBJDUMP=objdump
 
5628
 
 
5629
 
 
5630
 
 
5631
 
 
5632
 
 
5633
 
 
5634
 
 
5635
 
 
5636
 
 
5637
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
 
5638
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
 
5639
if test "${lt_cv_deplibs_check_method+set}" = set; then :
 
5640
  $as_echo_n "(cached) " >&6
 
5641
else
 
5642
  lt_cv_file_magic_cmd='$MAGIC_CMD'
 
5643
lt_cv_file_magic_test_file=
 
5644
lt_cv_deplibs_check_method='unknown'
 
5645
# Need to set the preceding variable on all platforms that support
 
5646
# interlibrary dependencies.
 
5647
# 'none' -- dependencies not supported.
 
5648
# `unknown' -- same as none, but documents that we really don't know.
 
5649
# 'pass_all' -- all dependencies passed with no checks.
 
5650
# 'test_compile' -- check by making test program.
 
5651
# 'file_magic [[regex]]' -- check by looking for files in library path
 
5652
# which responds to the $file_magic_cmd with a given extended regex.
 
5653
# If you have `file' or equivalent on your system and you're not sure
 
5654
# whether `pass_all' will *always* work, you probably want this one.
 
5655
 
 
5656
case $host_os in
 
5657
aix[4-9]*)
 
5658
  lt_cv_deplibs_check_method=pass_all
 
5659
  ;;
 
5660
 
 
5661
beos*)
 
5662
  lt_cv_deplibs_check_method=pass_all
 
5663
  ;;
 
5664
 
 
5665
bsdi[45]*)
 
5666
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
 
5667
  lt_cv_file_magic_cmd='/usr/bin/file -L'
 
5668
  lt_cv_file_magic_test_file=/shlib/libc.so
 
5669
  ;;
 
5670
 
 
5671
cygwin*)
 
5672
  # func_win32_libid is a shell function defined in ltmain.sh
 
5673
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
5674
  lt_cv_file_magic_cmd='func_win32_libid'
 
5675
  ;;
 
5676
 
 
5677
mingw* | pw32*)
 
5678
  # Base MSYS/MinGW do not provide the 'file' command needed by
 
5679
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 
5680
  # unless we find 'file', for example because we are cross-compiling.
 
5681
  if ( file / ) >/dev/null 2>&1; then
 
5682
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
5683
    lt_cv_file_magic_cmd='func_win32_libid'
 
5684
  else
 
5685
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
5686
    lt_cv_file_magic_cmd='$OBJDUMP -f'
 
5687
  fi
 
5688
  ;;
 
5689
 
 
5690
cegcc)
 
5691
  # use the weaker test based on 'objdump'. See mingw*.
 
5692
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 
5693
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
5694
  ;;
 
5695
 
 
5696
darwin* | rhapsody*)
 
5697
  lt_cv_deplibs_check_method=pass_all
 
5698
  ;;
 
5699
 
 
5700
freebsd* | dragonfly*)
 
5701
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
5702
    case $host_cpu in
 
5703
    i*86 )
 
5704
      # Not sure whether the presence of OpenBSD here was a mistake.
 
5705
      # Let's accept both of them until this is cleared up.
 
5706
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
 
5707
      lt_cv_file_magic_cmd=/usr/bin/file
 
5708
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 
5709
      ;;
 
5710
    esac
 
5711
  else
 
5712
    lt_cv_deplibs_check_method=pass_all
 
5713
  fi
 
5714
  ;;
 
5715
 
 
5716
gnu*)
 
5717
  lt_cv_deplibs_check_method=pass_all
 
5718
  ;;
 
5719
 
 
5720
hpux10.20* | hpux11*)
 
5721
  lt_cv_file_magic_cmd=/usr/bin/file
 
5722
  case $host_cpu in
 
5723
  ia64*)
 
5724
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
 
5725
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
 
5726
    ;;
 
5727
  hppa*64*)
 
5728
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
 
5729
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
 
5730
    ;;
 
5731
  *)
 
5732
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
 
5733
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
 
5734
    ;;
 
5735
  esac
 
5736
  ;;
 
5737
 
 
5738
interix[3-9]*)
 
5739
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 
5740
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
 
5741
  ;;
 
5742
 
 
5743
irix5* | irix6* | nonstopux*)
 
5744
  case $LD in
 
5745
  *-32|*"-32 ") libmagic=32-bit;;
 
5746
  *-n32|*"-n32 ") libmagic=N32;;
 
5747
  *-64|*"-64 ") libmagic=64-bit;;
 
5748
  *) libmagic=never-match;;
 
5749
  esac
 
5750
  lt_cv_deplibs_check_method=pass_all
 
5751
  ;;
 
5752
 
 
5753
# This must be Linux ELF.
 
5754
linux* | k*bsd*-gnu)
 
5755
  lt_cv_deplibs_check_method=pass_all
 
5756
  ;;
 
5757
 
 
5758
netbsd*)
 
5759
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
5760
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 
5761
  else
 
5762
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
 
5763
  fi
 
5764
  ;;
 
5765
 
 
5766
newos6*)
 
5767
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
 
5768
  lt_cv_file_magic_cmd=/usr/bin/file
 
5769
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
 
5770
  ;;
 
5771
 
 
5772
*nto* | *qnx*)
 
5773
  lt_cv_deplibs_check_method=pass_all
 
5774
  ;;
 
5775
 
 
5776
openbsd*)
 
5777
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
5778
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
 
5779
  else
 
5780
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 
5781
  fi
 
5782
  ;;
 
5783
 
 
5784
osf3* | osf4* | osf5*)
 
5785
  lt_cv_deplibs_check_method=pass_all
 
5786
  ;;
 
5787
 
 
5788
rdos*)
 
5789
  lt_cv_deplibs_check_method=pass_all
 
5790
  ;;
 
5791
 
 
5792
solaris*)
 
5793
  lt_cv_deplibs_check_method=pass_all
 
5794
  ;;
 
5795
 
 
5796
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
5797
  lt_cv_deplibs_check_method=pass_all
 
5798
  ;;
 
5799
 
 
5800
sysv4 | sysv4.3*)
 
5801
  case $host_vendor in
 
5802
  motorola)
 
5803
    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]'
 
5804
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
 
5805
    ;;
 
5806
  ncr)
 
5807
    lt_cv_deplibs_check_method=pass_all
 
5808
    ;;
 
5809
  sequent)
 
5810
    lt_cv_file_magic_cmd='/bin/file'
 
5811
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
 
5812
    ;;
 
5813
  sni)
 
5814
    lt_cv_file_magic_cmd='/bin/file'
 
5815
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
 
5816
    lt_cv_file_magic_test_file=/lib/libc.so
 
5817
    ;;
 
5818
  siemens)
 
5819
    lt_cv_deplibs_check_method=pass_all
 
5820
    ;;
 
5821
  pc)
 
5822
    lt_cv_deplibs_check_method=pass_all
 
5823
    ;;
 
5824
  esac
 
5825
  ;;
 
5826
 
 
5827
tpf*)
 
5828
  lt_cv_deplibs_check_method=pass_all
 
5829
  ;;
 
5830
esac
 
5831
 
 
5832
fi
 
5833
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
 
5834
$as_echo "$lt_cv_deplibs_check_method" >&6; }
 
5835
file_magic_cmd=$lt_cv_file_magic_cmd
 
5836
deplibs_check_method=$lt_cv_deplibs_check_method
 
5837
test -z "$deplibs_check_method" && deplibs_check_method=unknown
 
5838
 
 
5839
 
 
5840
 
 
5841
 
 
5842
 
 
5843
 
 
5844
 
 
5845
 
 
5846
 
 
5847
 
 
5848
 
 
5849
 
 
5850
if test -n "$ac_tool_prefix"; then
 
5851
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 
5852
set dummy ${ac_tool_prefix}ar; ac_word=$2
 
5853
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5854
$as_echo_n "checking for $ac_word... " >&6; }
 
5855
if test "${ac_cv_prog_AR+set}" = set; then :
 
5856
  $as_echo_n "(cached) " >&6
 
5857
else
 
5858
  if test -n "$AR"; then
 
5859
  ac_cv_prog_AR="$AR" # Let the user override the test.
 
5860
else
 
5861
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5862
for as_dir in $PATH
 
5863
do
 
5864
  IFS=$as_save_IFS
 
5865
  test -z "$as_dir" && as_dir=.
 
5866
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5867
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5868
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
5869
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5870
    break 2
 
5871
  fi
 
5872
done
 
5873
  done
 
5874
IFS=$as_save_IFS
 
5875
 
 
5876
fi
 
5877
fi
 
5878
AR=$ac_cv_prog_AR
 
5879
if test -n "$AR"; then
 
5880
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
 
5881
$as_echo "$AR" >&6; }
 
5882
else
 
5883
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5884
$as_echo "no" >&6; }
 
5885
fi
 
5886
 
 
5887
 
 
5888
fi
 
5889
if test -z "$ac_cv_prog_AR"; then
 
5890
  ac_ct_AR=$AR
 
5891
  # Extract the first word of "ar", so it can be a program name with args.
 
5892
set dummy ar; ac_word=$2
 
5893
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5894
$as_echo_n "checking for $ac_word... " >&6; }
 
5895
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
 
5896
  $as_echo_n "(cached) " >&6
 
5897
else
 
5898
  if test -n "$ac_ct_AR"; then
 
5899
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 
5900
else
 
5901
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5902
for as_dir in $PATH
 
5903
do
 
5904
  IFS=$as_save_IFS
 
5905
  test -z "$as_dir" && as_dir=.
 
5906
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5907
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5908
    ac_cv_prog_ac_ct_AR="ar"
 
5909
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5910
    break 2
 
5911
  fi
 
5912
done
 
5913
  done
 
5914
IFS=$as_save_IFS
 
5915
 
 
5916
fi
 
5917
fi
 
5918
ac_ct_AR=$ac_cv_prog_ac_ct_AR
 
5919
if test -n "$ac_ct_AR"; then
 
5920
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
 
5921
$as_echo "$ac_ct_AR" >&6; }
 
5922
else
 
5923
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5924
$as_echo "no" >&6; }
 
5925
fi
 
5926
 
 
5927
  if test "x$ac_ct_AR" = x; then
 
5928
    AR="false"
 
5929
  else
 
5930
    case $cross_compiling:$ac_tool_warned in
 
5931
yes:)
 
5932
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5933
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5934
ac_tool_warned=yes ;;
 
5935
esac
 
5936
    AR=$ac_ct_AR
 
5937
  fi
 
5938
else
 
5939
  AR="$ac_cv_prog_AR"
 
5940
fi
 
5941
 
 
5942
test -z "$AR" && AR=ar
 
5943
test -z "$AR_FLAGS" && AR_FLAGS=cru
 
5944
 
 
5945
 
 
5946
 
 
5947
 
 
5948
 
 
5949
 
 
5950
 
 
5951
 
 
5952
 
 
5953
 
 
5954
 
 
5955
if test -n "$ac_tool_prefix"; then
 
5956
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
5957
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
5958
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5959
$as_echo_n "checking for $ac_word... " >&6; }
 
5960
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
5961
  $as_echo_n "(cached) " >&6
 
5962
else
 
5963
  if test -n "$STRIP"; then
 
5964
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
5965
else
 
5966
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5967
for as_dir in $PATH
 
5968
do
 
5969
  IFS=$as_save_IFS
 
5970
  test -z "$as_dir" && as_dir=.
 
5971
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5972
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5973
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
5974
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5975
    break 2
 
5976
  fi
 
5977
done
 
5978
  done
 
5979
IFS=$as_save_IFS
 
5980
 
 
5981
fi
 
5982
fi
 
5983
STRIP=$ac_cv_prog_STRIP
 
5984
if test -n "$STRIP"; then
 
5985
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
5986
$as_echo "$STRIP" >&6; }
 
5987
else
 
5988
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5989
$as_echo "no" >&6; }
 
5990
fi
 
5991
 
 
5992
 
 
5993
fi
 
5994
if test -z "$ac_cv_prog_STRIP"; then
 
5995
  ac_ct_STRIP=$STRIP
 
5996
  # Extract the first word of "strip", so it can be a program name with args.
 
5997
set dummy strip; ac_word=$2
 
5998
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5999
$as_echo_n "checking for $ac_word... " >&6; }
 
6000
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
6001
  $as_echo_n "(cached) " >&6
 
6002
else
 
6003
  if test -n "$ac_ct_STRIP"; then
 
6004
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
6005
else
 
6006
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6007
for as_dir in $PATH
 
6008
do
 
6009
  IFS=$as_save_IFS
 
6010
  test -z "$as_dir" && as_dir=.
 
6011
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6012
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6013
    ac_cv_prog_ac_ct_STRIP="strip"
 
6014
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6015
    break 2
 
6016
  fi
 
6017
done
 
6018
  done
 
6019
IFS=$as_save_IFS
 
6020
 
 
6021
fi
 
6022
fi
 
6023
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
6024
if test -n "$ac_ct_STRIP"; then
 
6025
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
6026
$as_echo "$ac_ct_STRIP" >&6; }
 
6027
else
 
6028
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6029
$as_echo "no" >&6; }
 
6030
fi
 
6031
 
 
6032
  if test "x$ac_ct_STRIP" = x; then
 
6033
    STRIP=":"
 
6034
  else
 
6035
    case $cross_compiling:$ac_tool_warned in
 
6036
yes:)
 
6037
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6038
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6039
ac_tool_warned=yes ;;
 
6040
esac
 
6041
    STRIP=$ac_ct_STRIP
 
6042
  fi
 
6043
else
 
6044
  STRIP="$ac_cv_prog_STRIP"
 
6045
fi
 
6046
 
 
6047
test -z "$STRIP" && STRIP=:
 
6048
 
 
6049
 
 
6050
 
 
6051
 
 
6052
 
 
6053
 
 
6054
if test -n "$ac_tool_prefix"; then
 
6055
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
6056
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
6057
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6058
$as_echo_n "checking for $ac_word... " >&6; }
 
6059
if test "${ac_cv_prog_RANLIB+set}" = set; then :
 
6060
  $as_echo_n "(cached) " >&6
 
6061
else
 
6062
  if test -n "$RANLIB"; then
 
6063
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
6064
else
 
6065
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6066
for as_dir in $PATH
 
6067
do
 
6068
  IFS=$as_save_IFS
 
6069
  test -z "$as_dir" && as_dir=.
 
6070
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6071
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6072
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
6073
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6074
    break 2
 
6075
  fi
 
6076
done
 
6077
  done
 
6078
IFS=$as_save_IFS
 
6079
 
 
6080
fi
 
6081
fi
 
6082
RANLIB=$ac_cv_prog_RANLIB
 
6083
if test -n "$RANLIB"; then
 
6084
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 
6085
$as_echo "$RANLIB" >&6; }
 
6086
else
 
6087
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6088
$as_echo "no" >&6; }
 
6089
fi
 
6090
 
 
6091
 
 
6092
fi
 
6093
if test -z "$ac_cv_prog_RANLIB"; then
 
6094
  ac_ct_RANLIB=$RANLIB
 
6095
  # Extract the first word of "ranlib", so it can be a program name with args.
 
6096
set dummy ranlib; ac_word=$2
 
6097
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6098
$as_echo_n "checking for $ac_word... " >&6; }
 
6099
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 
6100
  $as_echo_n "(cached) " >&6
 
6101
else
 
6102
  if test -n "$ac_ct_RANLIB"; then
 
6103
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
6104
else
 
6105
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6106
for as_dir in $PATH
 
6107
do
 
6108
  IFS=$as_save_IFS
 
6109
  test -z "$as_dir" && as_dir=.
 
6110
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6111
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6112
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
6113
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6114
    break 2
 
6115
  fi
 
6116
done
 
6117
  done
 
6118
IFS=$as_save_IFS
 
6119
 
 
6120
fi
 
6121
fi
 
6122
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
6123
if test -n "$ac_ct_RANLIB"; then
 
6124
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 
6125
$as_echo "$ac_ct_RANLIB" >&6; }
 
6126
else
 
6127
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6128
$as_echo "no" >&6; }
 
6129
fi
 
6130
 
 
6131
  if test "x$ac_ct_RANLIB" = x; then
 
6132
    RANLIB=":"
 
6133
  else
 
6134
    case $cross_compiling:$ac_tool_warned in
 
6135
yes:)
 
6136
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6137
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6138
ac_tool_warned=yes ;;
 
6139
esac
 
6140
    RANLIB=$ac_ct_RANLIB
 
6141
  fi
 
6142
else
 
6143
  RANLIB="$ac_cv_prog_RANLIB"
 
6144
fi
 
6145
 
 
6146
test -z "$RANLIB" && RANLIB=:
 
6147
 
 
6148
 
 
6149
 
 
6150
 
 
6151
 
 
6152
 
 
6153
# Determine commands to create old-style static archives.
 
6154
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 
6155
old_postinstall_cmds='chmod 644 $oldlib'
 
6156
old_postuninstall_cmds=
 
6157
 
 
6158
if test -n "$RANLIB"; then
 
6159
  case $host_os in
 
6160
  openbsd*)
 
6161
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
6162
    ;;
 
6163
  *)
 
6164
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
6165
    ;;
 
6166
  esac
 
6167
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
6168
fi
 
6169
 
 
6170
 
 
6171
 
 
6172
 
 
6173
 
 
6174
 
 
6175
 
 
6176
 
 
6177
 
 
6178
 
 
6179
 
 
6180
 
 
6181
 
 
6182
 
 
6183
 
 
6184
 
 
6185
 
 
6186
 
 
6187
 
 
6188
 
 
6189
 
 
6190
 
 
6191
 
 
6192
 
 
6193
 
 
6194
 
 
6195
 
 
6196
 
 
6197
 
 
6198
 
 
6199
 
 
6200
 
 
6201
 
 
6202
 
 
6203
# If no C compiler was specified, use CC.
 
6204
LTCC=${LTCC-"$CC"}
 
6205
 
 
6206
# If no C compiler flags were specified, use CFLAGS.
 
6207
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
6208
 
 
6209
# Allow CC to be a program name with arguments.
 
6210
compiler=$CC
 
6211
 
 
6212
 
 
6213
# Check for command to grab the raw symbol name followed by C symbol from nm.
 
6214
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
 
6215
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
 
6216
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
 
6217
  $as_echo_n "(cached) " >&6
 
6218
else
 
6219
 
 
6220
# These are sane defaults that work on at least a few old systems.
 
6221
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
 
6222
 
 
6223
# Character class describing NM global symbol codes.
 
6224
symcode='[BCDEGRST]'
 
6225
 
 
6226
# Regexp to match symbols that can be accessed directly from C.
 
6227
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
 
6228
 
 
6229
# Define system-specific variables.
 
6230
case $host_os in
 
6231
aix*)
 
6232
  symcode='[BCDT]'
 
6233
  ;;
 
6234
cygwin* | mingw* | pw32* | cegcc*)
 
6235
  symcode='[ABCDGISTW]'
 
6236
  ;;
 
6237
hpux*)
 
6238
  if test "$host_cpu" = ia64; then
 
6239
    symcode='[ABCDEGRST]'
 
6240
  fi
 
6241
  ;;
 
6242
irix* | nonstopux*)
 
6243
  symcode='[BCDEGRST]'
 
6244
  ;;
 
6245
osf*)
 
6246
  symcode='[BCDEGQRST]'
 
6247
  ;;
 
6248
solaris*)
 
6249
  symcode='[BDRT]'
 
6250
  ;;
 
6251
sco3.2v5*)
 
6252
  symcode='[DT]'
 
6253
  ;;
 
6254
sysv4.2uw2*)
 
6255
  symcode='[DT]'
 
6256
  ;;
 
6257
sysv5* | sco5v6* | unixware* | OpenUNIX*)
 
6258
  symcode='[ABDT]'
 
6259
  ;;
 
6260
sysv4)
 
6261
  symcode='[DFNSTU]'
 
6262
  ;;
 
6263
esac
 
6264
 
 
6265
# If we're using GNU nm, then use its standard symbol codes.
 
6266
case `$NM -V 2>&1` in
 
6267
*GNU* | *'with BFD'*)
 
6268
  symcode='[ABCDGIRSTW]' ;;
 
6269
esac
 
6270
 
 
6271
# Transform an extracted symbol line into a proper C declaration.
 
6272
# Some systems (esp. on ia64) link data and code symbols differently,
 
6273
# so use this general approach.
 
6274
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
6275
 
 
6276
# Transform an extracted symbol line into symbol name and symbol address
 
6277
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
6278
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'"
 
6279
 
 
6280
# Handle CRLF in mingw tool chain
 
6281
opt_cr=
 
6282
case $build_os in
 
6283
mingw*)
 
6284
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
6285
  ;;
 
6286
esac
 
6287
 
 
6288
# Try without a prefix underscore, then with it.
 
6289
for ac_symprfx in "" "_"; do
 
6290
 
 
6291
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
 
6292
  symxfrm="\\1 $ac_symprfx\\2 \\2"
 
6293
 
 
6294
  # Write the raw and C identifiers.
 
6295
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
6296
    # Fake it for dumpbin and say T for any non-static function
 
6297
    # and D for any global variable.
 
6298
    # Also find C++ and __fastcall symbols from MSVC++,
 
6299
    # which start with @ or ?.
 
6300
    lt_cv_sys_global_symbol_pipe="$AWK '"\
 
6301
"     {last_section=section; section=\$ 3};"\
 
6302
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 
6303
"     \$ 0!~/External *\|/{next};"\
 
6304
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 
6305
"     {if(hide[section]) next};"\
 
6306
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 
6307
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 
6308
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 
6309
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 
6310
"     ' prfx=^$ac_symprfx"
 
6311
  else
 
6312
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
6313
  fi
 
6314
 
 
6315
  # Check to see that the pipe works correctly.
 
6316
  pipe_works=no
 
6317
 
 
6318
  rm -f conftest*
 
6319
  cat > conftest.$ac_ext <<_LT_EOF
 
6320
#ifdef __cplusplus
 
6321
extern "C" {
 
6322
#endif
 
6323
char nm_test_var;
 
6324
void nm_test_func(void);
 
6325
void nm_test_func(void){}
 
6326
#ifdef __cplusplus
 
6327
}
 
6328
#endif
 
6329
int main(){nm_test_var='a';nm_test_func();return(0);}
 
6330
_LT_EOF
 
6331
 
 
6332
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
6333
  (eval $ac_compile) 2>&5
 
6334
  ac_status=$?
 
6335
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6336
  test $ac_status = 0; }; then
 
6337
    # Now try to grab the symbols.
 
6338
    nlist=conftest.nm
 
6339
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
 
6340
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
 
6341
  ac_status=$?
 
6342
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6343
  test $ac_status = 0; } && test -s "$nlist"; then
 
6344
      # Try sorting and uniquifying the output.
 
6345
      if sort "$nlist" | uniq > "$nlist"T; then
 
6346
        mv -f "$nlist"T "$nlist"
 
6347
      else
 
6348
        rm -f "$nlist"T
 
6349
      fi
 
6350
 
 
6351
      # Make sure that we snagged all the symbols we need.
 
6352
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 
6353
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 
6354
          cat <<_LT_EOF > conftest.$ac_ext
 
6355
#ifdef __cplusplus
 
6356
extern "C" {
 
6357
#endif
 
6358
 
 
6359
_LT_EOF
 
6360
          # Now generate the symbol file.
 
6361
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 
6362
 
 
6363
          cat <<_LT_EOF >> conftest.$ac_ext
 
6364
 
 
6365
/* The mapping between symbol names and symbols.  */
 
6366
const struct {
 
6367
  const char *name;
 
6368
  void       *address;
 
6369
}
 
6370
lt__PROGRAM__LTX_preloaded_symbols[] =
 
6371
{
 
6372
  { "@PROGRAM@", (void *) 0 },
 
6373
_LT_EOF
 
6374
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 
6375
          cat <<\_LT_EOF >> conftest.$ac_ext
 
6376
  {0, (void *) 0}
 
6377
};
 
6378
 
 
6379
/* This works around a problem in FreeBSD linker */
 
6380
#ifdef FREEBSD_WORKAROUND
 
6381
static const void *lt_preloaded_setup() {
 
6382
  return lt__PROGRAM__LTX_preloaded_symbols;
 
6383
}
 
6384
#endif
 
6385
 
 
6386
#ifdef __cplusplus
 
6387
}
 
6388
#endif
 
6389
_LT_EOF
 
6390
          # Now try linking the two files.
 
6391
          mv conftest.$ac_objext conftstm.$ac_objext
 
6392
          lt_save_LIBS="$LIBS"
 
6393
          lt_save_CFLAGS="$CFLAGS"
 
6394
          LIBS="conftstm.$ac_objext"
 
6395
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
 
6396
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
6397
  (eval $ac_link) 2>&5
 
6398
  ac_status=$?
 
6399
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6400
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
 
6401
            pipe_works=yes
 
6402
          fi
 
6403
          LIBS="$lt_save_LIBS"
 
6404
          CFLAGS="$lt_save_CFLAGS"
 
6405
        else
 
6406
          echo "cannot find nm_test_func in $nlist" >&5
 
6407
        fi
 
6408
      else
 
6409
        echo "cannot find nm_test_var in $nlist" >&5
 
6410
      fi
 
6411
    else
 
6412
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
 
6413
    fi
 
6414
  else
 
6415
    echo "$progname: failed program was:" >&5
 
6416
    cat conftest.$ac_ext >&5
 
6417
  fi
 
6418
  rm -rf conftest* conftst*
 
6419
 
 
6420
  # Do not use the global_symbol_pipe unless it works.
 
6421
  if test "$pipe_works" = yes; then
 
6422
    break
 
6423
  else
 
6424
    lt_cv_sys_global_symbol_pipe=
 
6425
  fi
 
6426
done
 
6427
 
 
6428
fi
 
6429
 
 
6430
if test -z "$lt_cv_sys_global_symbol_pipe"; then
 
6431
  lt_cv_sys_global_symbol_to_cdecl=
 
6432
fi
 
6433
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
 
6434
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
 
6435
$as_echo "failed" >&6; }
 
6436
else
 
6437
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 
6438
$as_echo "ok" >&6; }
 
6439
fi
 
6440
 
 
6441
 
 
6442
 
 
6443
 
 
6444
 
 
6445
 
 
6446
 
 
6447
 
 
6448
 
 
6449
 
 
6450
 
 
6451
 
 
6452
 
 
6453
 
 
6454
 
 
6455
 
 
6456
 
 
6457
 
 
6458
 
 
6459
 
 
6460
 
 
6461
 
 
6462
# Check whether --enable-libtool-lock was given.
 
6463
if test "${enable_libtool_lock+set}" = set; then :
 
6464
  enableval=$enable_libtool_lock;
 
6465
fi
 
6466
 
 
6467
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
6468
 
 
6469
# Some flags need to be propagated to the compiler or linker for good
 
6470
# libtool support.
 
6471
case $host in
 
6472
ia64-*-hpux*)
 
6473
  # Find out which ABI we are using.
 
6474
  echo 'int i;' > conftest.$ac_ext
 
6475
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
6476
  (eval $ac_compile) 2>&5
 
6477
  ac_status=$?
 
6478
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6479
  test $ac_status = 0; }; then
 
6480
    case `/usr/bin/file conftest.$ac_objext` in
 
6481
      *ELF-32*)
 
6482
        HPUX_IA64_MODE="32"
 
6483
        ;;
 
6484
      *ELF-64*)
 
6485
        HPUX_IA64_MODE="64"
 
6486
        ;;
 
6487
    esac
 
6488
  fi
 
6489
  rm -rf conftest*
 
6490
  ;;
 
6491
*-*-irix6*)
 
6492
  # Find out which ABI we are using.
 
6493
  echo '#line 6493 "configure"' > conftest.$ac_ext
 
6494
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
6495
  (eval $ac_compile) 2>&5
 
6496
  ac_status=$?
 
6497
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6498
  test $ac_status = 0; }; then
 
6499
    if test "$lt_cv_prog_gnu_ld" = yes; then
 
6500
      case `/usr/bin/file conftest.$ac_objext` in
 
6501
        *32-bit*)
 
6502
          LD="${LD-ld} -melf32bsmip"
 
6503
          ;;
 
6504
        *N32*)
 
6505
          LD="${LD-ld} -melf32bmipn32"
 
6506
          ;;
 
6507
        *64-bit*)
 
6508
          LD="${LD-ld} -melf64bmip"
 
6509
        ;;
 
6510
      esac
 
6511
    else
 
6512
      case `/usr/bin/file conftest.$ac_objext` in
 
6513
        *32-bit*)
 
6514
          LD="${LD-ld} -32"
 
6515
          ;;
 
6516
        *N32*)
 
6517
          LD="${LD-ld} -n32"
 
6518
          ;;
 
6519
        *64-bit*)
 
6520
          LD="${LD-ld} -64"
 
6521
          ;;
 
6522
      esac
 
6523
    fi
 
6524
  fi
 
6525
  rm -rf conftest*
 
6526
  ;;
 
6527
 
 
6528
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
6529
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 
6530
  # Find out which ABI we are using.
 
6531
  echo 'int i;' > conftest.$ac_ext
 
6532
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
6533
  (eval $ac_compile) 2>&5
 
6534
  ac_status=$?
 
6535
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6536
  test $ac_status = 0; }; then
 
6537
    case `/usr/bin/file conftest.o` in
 
6538
      *32-bit*)
 
6539
        case $host in
 
6540
          x86_64-*kfreebsd*-gnu)
 
6541
            LD="${LD-ld} -m elf_i386_fbsd"
 
6542
            ;;
 
6543
          x86_64-*linux*)
 
6544
            LD="${LD-ld} -m elf_i386"
 
6545
            ;;
 
6546
          ppc64-*linux*|powerpc64-*linux*)
 
6547
            LD="${LD-ld} -m elf32ppclinux"
 
6548
            ;;
 
6549
          s390x-*linux*)
 
6550
            LD="${LD-ld} -m elf_s390"
 
6551
            ;;
 
6552
          sparc64-*linux*)
 
6553
            LD="${LD-ld} -m elf32_sparc"
 
6554
            ;;
 
6555
        esac
 
6556
        ;;
 
6557
      *64-bit*)
 
6558
        case $host in
 
6559
          x86_64-*kfreebsd*-gnu)
 
6560
            LD="${LD-ld} -m elf_x86_64_fbsd"
 
6561
            ;;
 
6562
          x86_64-*linux*)
 
6563
            LD="${LD-ld} -m elf_x86_64"
 
6564
            ;;
 
6565
          ppc*-*linux*|powerpc*-*linux*)
 
6566
            LD="${LD-ld} -m elf64ppc"
 
6567
            ;;
 
6568
          s390*-*linux*|s390*-*tpf*)
 
6569
            LD="${LD-ld} -m elf64_s390"
 
6570
            ;;
 
6571
          sparc*-*linux*)
 
6572
            LD="${LD-ld} -m elf64_sparc"
 
6573
            ;;
 
6574
        esac
 
6575
        ;;
 
6576
    esac
 
6577
  fi
 
6578
  rm -rf conftest*
 
6579
  ;;
 
6580
 
 
6581
*-*-sco3.2v5*)
 
6582
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
6583
  SAVE_CFLAGS="$CFLAGS"
 
6584
  CFLAGS="$CFLAGS -belf"
 
6585
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
 
6586
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 
6587
if test "${lt_cv_cc_needs_belf+set}" = set; then :
 
6588
  $as_echo_n "(cached) " >&6
 
6589
else
 
6590
  ac_ext=c
 
6591
ac_cpp='$CPP $CPPFLAGS'
 
6592
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6593
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6594
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6595
 
 
6596
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6597
/* end confdefs.h.  */
 
6598
 
 
6599
int
 
6600
main ()
 
6601
{
 
6602
 
 
6603
  ;
 
6604
  return 0;
 
6605
}
 
6606
_ACEOF
 
6607
if ac_fn_c_try_link "$LINENO"; then :
 
6608
  lt_cv_cc_needs_belf=yes
 
6609
else
 
6610
  lt_cv_cc_needs_belf=no
 
6611
fi
 
6612
rm -f core conftest.err conftest.$ac_objext \
 
6613
    conftest$ac_exeext conftest.$ac_ext
 
6614
     ac_ext=c
 
6615
ac_cpp='$CPP $CPPFLAGS'
 
6616
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6617
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6618
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6619
 
 
6620
fi
 
6621
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
 
6622
$as_echo "$lt_cv_cc_needs_belf" >&6; }
 
6623
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
6624
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
6625
    CFLAGS="$SAVE_CFLAGS"
 
6626
  fi
 
6627
  ;;
 
6628
sparc*-*solaris*)
 
6629
  # Find out which ABI we are using.
 
6630
  echo 'int i;' > conftest.$ac_ext
 
6631
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
6632
  (eval $ac_compile) 2>&5
 
6633
  ac_status=$?
 
6634
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6635
  test $ac_status = 0; }; then
 
6636
    case `/usr/bin/file conftest.o` in
 
6637
    *64-bit*)
 
6638
      case $lt_cv_prog_gnu_ld in
 
6639
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
6640
      *)
 
6641
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
6642
          LD="${LD-ld} -64"
 
6643
        fi
 
6644
        ;;
 
6645
      esac
 
6646
      ;;
 
6647
    esac
 
6648
  fi
 
6649
  rm -rf conftest*
 
6650
  ;;
 
6651
esac
 
6652
 
 
6653
need_locks="$enable_libtool_lock"
 
6654
 
 
6655
 
 
6656
  case $host_os in
 
6657
    rhapsody* | darwin*)
 
6658
    if test -n "$ac_tool_prefix"; then
 
6659
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
 
6660
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 
6661
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6662
$as_echo_n "checking for $ac_word... " >&6; }
 
6663
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
 
6664
  $as_echo_n "(cached) " >&6
 
6665
else
 
6666
  if test -n "$DSYMUTIL"; then
 
6667
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
 
6668
else
 
6669
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6670
for as_dir in $PATH
 
6671
do
 
6672
  IFS=$as_save_IFS
 
6673
  test -z "$as_dir" && as_dir=.
 
6674
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6675
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6676
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
 
6677
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6678
    break 2
 
6679
  fi
 
6680
done
 
6681
  done
 
6682
IFS=$as_save_IFS
 
6683
 
 
6684
fi
 
6685
fi
 
6686
DSYMUTIL=$ac_cv_prog_DSYMUTIL
 
6687
if test -n "$DSYMUTIL"; then
 
6688
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
 
6689
$as_echo "$DSYMUTIL" >&6; }
 
6690
else
 
6691
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6692
$as_echo "no" >&6; }
 
6693
fi
 
6694
 
 
6695
 
 
6696
fi
 
6697
if test -z "$ac_cv_prog_DSYMUTIL"; then
 
6698
  ac_ct_DSYMUTIL=$DSYMUTIL
 
6699
  # Extract the first word of "dsymutil", so it can be a program name with args.
 
6700
set dummy dsymutil; ac_word=$2
 
6701
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6702
$as_echo_n "checking for $ac_word... " >&6; }
 
6703
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
 
6704
  $as_echo_n "(cached) " >&6
 
6705
else
 
6706
  if test -n "$ac_ct_DSYMUTIL"; then
 
6707
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
 
6708
else
 
6709
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6710
for as_dir in $PATH
 
6711
do
 
6712
  IFS=$as_save_IFS
 
6713
  test -z "$as_dir" && as_dir=.
 
6714
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6715
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6716
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
 
6717
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6718
    break 2
 
6719
  fi
 
6720
done
 
6721
  done
 
6722
IFS=$as_save_IFS
 
6723
 
 
6724
fi
 
6725
fi
 
6726
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
 
6727
if test -n "$ac_ct_DSYMUTIL"; then
 
6728
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
 
6729
$as_echo "$ac_ct_DSYMUTIL" >&6; }
 
6730
else
 
6731
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6732
$as_echo "no" >&6; }
 
6733
fi
 
6734
 
 
6735
  if test "x$ac_ct_DSYMUTIL" = x; then
 
6736
    DSYMUTIL=":"
 
6737
  else
 
6738
    case $cross_compiling:$ac_tool_warned in
 
6739
yes:)
 
6740
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6741
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6742
ac_tool_warned=yes ;;
 
6743
esac
 
6744
    DSYMUTIL=$ac_ct_DSYMUTIL
 
6745
  fi
 
6746
else
 
6747
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
 
6748
fi
 
6749
 
 
6750
    if test -n "$ac_tool_prefix"; then
 
6751
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
 
6752
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 
6753
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6754
$as_echo_n "checking for $ac_word... " >&6; }
 
6755
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
 
6756
  $as_echo_n "(cached) " >&6
 
6757
else
 
6758
  if test -n "$NMEDIT"; then
 
6759
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
 
6760
else
 
6761
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6762
for as_dir in $PATH
 
6763
do
 
6764
  IFS=$as_save_IFS
 
6765
  test -z "$as_dir" && as_dir=.
 
6766
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6767
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6768
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
 
6769
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6770
    break 2
 
6771
  fi
 
6772
done
 
6773
  done
 
6774
IFS=$as_save_IFS
 
6775
 
 
6776
fi
 
6777
fi
 
6778
NMEDIT=$ac_cv_prog_NMEDIT
 
6779
if test -n "$NMEDIT"; then
 
6780
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
 
6781
$as_echo "$NMEDIT" >&6; }
 
6782
else
 
6783
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6784
$as_echo "no" >&6; }
 
6785
fi
 
6786
 
 
6787
 
 
6788
fi
 
6789
if test -z "$ac_cv_prog_NMEDIT"; then
 
6790
  ac_ct_NMEDIT=$NMEDIT
 
6791
  # Extract the first word of "nmedit", so it can be a program name with args.
 
6792
set dummy nmedit; ac_word=$2
 
6793
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6794
$as_echo_n "checking for $ac_word... " >&6; }
 
6795
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
 
6796
  $as_echo_n "(cached) " >&6
 
6797
else
 
6798
  if test -n "$ac_ct_NMEDIT"; then
 
6799
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 
6800
else
 
6801
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6802
for as_dir in $PATH
 
6803
do
 
6804
  IFS=$as_save_IFS
 
6805
  test -z "$as_dir" && as_dir=.
 
6806
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6807
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6808
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
 
6809
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6810
    break 2
 
6811
  fi
 
6812
done
 
6813
  done
 
6814
IFS=$as_save_IFS
 
6815
 
 
6816
fi
 
6817
fi
 
6818
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 
6819
if test -n "$ac_ct_NMEDIT"; then
 
6820
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
 
6821
$as_echo "$ac_ct_NMEDIT" >&6; }
 
6822
else
 
6823
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6824
$as_echo "no" >&6; }
 
6825
fi
 
6826
 
 
6827
  if test "x$ac_ct_NMEDIT" = x; then
 
6828
    NMEDIT=":"
 
6829
  else
 
6830
    case $cross_compiling:$ac_tool_warned in
 
6831
yes:)
 
6832
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6833
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6834
ac_tool_warned=yes ;;
 
6835
esac
 
6836
    NMEDIT=$ac_ct_NMEDIT
 
6837
  fi
 
6838
else
 
6839
  NMEDIT="$ac_cv_prog_NMEDIT"
 
6840
fi
 
6841
 
 
6842
    if test -n "$ac_tool_prefix"; then
 
6843
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 
6844
set dummy ${ac_tool_prefix}lipo; ac_word=$2
 
6845
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6846
$as_echo_n "checking for $ac_word... " >&6; }
 
6847
if test "${ac_cv_prog_LIPO+set}" = set; then :
 
6848
  $as_echo_n "(cached) " >&6
 
6849
else
 
6850
  if test -n "$LIPO"; then
 
6851
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 
6852
else
 
6853
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6854
for as_dir in $PATH
 
6855
do
 
6856
  IFS=$as_save_IFS
 
6857
  test -z "$as_dir" && as_dir=.
 
6858
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6859
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6860
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 
6861
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6862
    break 2
 
6863
  fi
 
6864
done
 
6865
  done
 
6866
IFS=$as_save_IFS
 
6867
 
 
6868
fi
 
6869
fi
 
6870
LIPO=$ac_cv_prog_LIPO
 
6871
if test -n "$LIPO"; then
 
6872
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
 
6873
$as_echo "$LIPO" >&6; }
 
6874
else
 
6875
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6876
$as_echo "no" >&6; }
 
6877
fi
 
6878
 
 
6879
 
 
6880
fi
 
6881
if test -z "$ac_cv_prog_LIPO"; then
 
6882
  ac_ct_LIPO=$LIPO
 
6883
  # Extract the first word of "lipo", so it can be a program name with args.
 
6884
set dummy lipo; ac_word=$2
 
6885
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6886
$as_echo_n "checking for $ac_word... " >&6; }
 
6887
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
 
6888
  $as_echo_n "(cached) " >&6
 
6889
else
 
6890
  if test -n "$ac_ct_LIPO"; then
 
6891
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 
6892
else
 
6893
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6894
for as_dir in $PATH
 
6895
do
 
6896
  IFS=$as_save_IFS
 
6897
  test -z "$as_dir" && as_dir=.
 
6898
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6899
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6900
    ac_cv_prog_ac_ct_LIPO="lipo"
 
6901
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6902
    break 2
 
6903
  fi
 
6904
done
 
6905
  done
 
6906
IFS=$as_save_IFS
 
6907
 
 
6908
fi
 
6909
fi
 
6910
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 
6911
if test -n "$ac_ct_LIPO"; then
 
6912
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
 
6913
$as_echo "$ac_ct_LIPO" >&6; }
 
6914
else
 
6915
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6916
$as_echo "no" >&6; }
 
6917
fi
 
6918
 
 
6919
  if test "x$ac_ct_LIPO" = x; then
 
6920
    LIPO=":"
 
6921
  else
 
6922
    case $cross_compiling:$ac_tool_warned in
 
6923
yes:)
 
6924
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6925
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6926
ac_tool_warned=yes ;;
 
6927
esac
 
6928
    LIPO=$ac_ct_LIPO
 
6929
  fi
 
6930
else
 
6931
  LIPO="$ac_cv_prog_LIPO"
 
6932
fi
 
6933
 
 
6934
    if test -n "$ac_tool_prefix"; then
 
6935
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 
6936
set dummy ${ac_tool_prefix}otool; ac_word=$2
 
6937
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6938
$as_echo_n "checking for $ac_word... " >&6; }
 
6939
if test "${ac_cv_prog_OTOOL+set}" = set; then :
 
6940
  $as_echo_n "(cached) " >&6
 
6941
else
 
6942
  if test -n "$OTOOL"; then
 
6943
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 
6944
else
 
6945
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6946
for as_dir in $PATH
 
6947
do
 
6948
  IFS=$as_save_IFS
 
6949
  test -z "$as_dir" && as_dir=.
 
6950
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6951
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6952
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 
6953
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6954
    break 2
 
6955
  fi
 
6956
done
 
6957
  done
 
6958
IFS=$as_save_IFS
 
6959
 
 
6960
fi
 
6961
fi
 
6962
OTOOL=$ac_cv_prog_OTOOL
 
6963
if test -n "$OTOOL"; then
 
6964
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
 
6965
$as_echo "$OTOOL" >&6; }
 
6966
else
 
6967
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6968
$as_echo "no" >&6; }
 
6969
fi
 
6970
 
 
6971
 
 
6972
fi
 
6973
if test -z "$ac_cv_prog_OTOOL"; then
 
6974
  ac_ct_OTOOL=$OTOOL
 
6975
  # Extract the first word of "otool", so it can be a program name with args.
 
6976
set dummy otool; ac_word=$2
 
6977
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6978
$as_echo_n "checking for $ac_word... " >&6; }
 
6979
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
 
6980
  $as_echo_n "(cached) " >&6
 
6981
else
 
6982
  if test -n "$ac_ct_OTOOL"; then
 
6983
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 
6984
else
 
6985
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6986
for as_dir in $PATH
 
6987
do
 
6988
  IFS=$as_save_IFS
 
6989
  test -z "$as_dir" && as_dir=.
 
6990
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6991
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6992
    ac_cv_prog_ac_ct_OTOOL="otool"
 
6993
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6994
    break 2
 
6995
  fi
 
6996
done
 
6997
  done
 
6998
IFS=$as_save_IFS
 
6999
 
 
7000
fi
 
7001
fi
 
7002
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 
7003
if test -n "$ac_ct_OTOOL"; then
 
7004
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
 
7005
$as_echo "$ac_ct_OTOOL" >&6; }
 
7006
else
 
7007
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7008
$as_echo "no" >&6; }
 
7009
fi
 
7010
 
 
7011
  if test "x$ac_ct_OTOOL" = x; then
 
7012
    OTOOL=":"
 
7013
  else
 
7014
    case $cross_compiling:$ac_tool_warned in
 
7015
yes:)
 
7016
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7017
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7018
ac_tool_warned=yes ;;
 
7019
esac
 
7020
    OTOOL=$ac_ct_OTOOL
 
7021
  fi
 
7022
else
 
7023
  OTOOL="$ac_cv_prog_OTOOL"
 
7024
fi
 
7025
 
 
7026
    if test -n "$ac_tool_prefix"; then
 
7027
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 
7028
set dummy ${ac_tool_prefix}otool64; ac_word=$2
 
7029
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7030
$as_echo_n "checking for $ac_word... " >&6; }
 
7031
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
 
7032
  $as_echo_n "(cached) " >&6
 
7033
else
 
7034
  if test -n "$OTOOL64"; then
 
7035
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 
7036
else
 
7037
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7038
for as_dir in $PATH
 
7039
do
 
7040
  IFS=$as_save_IFS
 
7041
  test -z "$as_dir" && as_dir=.
 
7042
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7043
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7044
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 
7045
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7046
    break 2
 
7047
  fi
 
7048
done
 
7049
  done
 
7050
IFS=$as_save_IFS
 
7051
 
 
7052
fi
 
7053
fi
 
7054
OTOOL64=$ac_cv_prog_OTOOL64
 
7055
if test -n "$OTOOL64"; then
 
7056
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
 
7057
$as_echo "$OTOOL64" >&6; }
 
7058
else
 
7059
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7060
$as_echo "no" >&6; }
 
7061
fi
 
7062
 
 
7063
 
 
7064
fi
 
7065
if test -z "$ac_cv_prog_OTOOL64"; then
 
7066
  ac_ct_OTOOL64=$OTOOL64
 
7067
  # Extract the first word of "otool64", so it can be a program name with args.
 
7068
set dummy otool64; ac_word=$2
 
7069
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7070
$as_echo_n "checking for $ac_word... " >&6; }
 
7071
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
 
7072
  $as_echo_n "(cached) " >&6
 
7073
else
 
7074
  if test -n "$ac_ct_OTOOL64"; then
 
7075
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 
7076
else
 
7077
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7078
for as_dir in $PATH
 
7079
do
 
7080
  IFS=$as_save_IFS
 
7081
  test -z "$as_dir" && as_dir=.
 
7082
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7083
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7084
    ac_cv_prog_ac_ct_OTOOL64="otool64"
 
7085
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7086
    break 2
 
7087
  fi
 
7088
done
 
7089
  done
 
7090
IFS=$as_save_IFS
 
7091
 
 
7092
fi
 
7093
fi
 
7094
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 
7095
if test -n "$ac_ct_OTOOL64"; then
 
7096
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
 
7097
$as_echo "$ac_ct_OTOOL64" >&6; }
 
7098
else
 
7099
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7100
$as_echo "no" >&6; }
 
7101
fi
 
7102
 
 
7103
  if test "x$ac_ct_OTOOL64" = x; then
 
7104
    OTOOL64=":"
 
7105
  else
 
7106
    case $cross_compiling:$ac_tool_warned in
 
7107
yes:)
 
7108
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7109
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7110
ac_tool_warned=yes ;;
 
7111
esac
 
7112
    OTOOL64=$ac_ct_OTOOL64
 
7113
  fi
 
7114
else
 
7115
  OTOOL64="$ac_cv_prog_OTOOL64"
 
7116
fi
 
7117
 
 
7118
 
 
7119
 
 
7120
 
 
7121
 
 
7122
 
 
7123
 
 
7124
 
 
7125
 
 
7126
 
 
7127
 
 
7128
 
 
7129
 
 
7130
 
 
7131
 
 
7132
 
 
7133
 
 
7134
 
 
7135
 
 
7136
 
 
7137
 
 
7138
 
 
7139
 
 
7140
 
 
7141
 
 
7142
 
 
7143
 
 
7144
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
 
7145
$as_echo_n "checking for -single_module linker flag... " >&6; }
 
7146
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
 
7147
  $as_echo_n "(cached) " >&6
 
7148
else
 
7149
  lt_cv_apple_cc_single_mod=no
 
7150
      if test -z "${LT_MULTI_MODULE}"; then
 
7151
        # By default we will add the -single_module flag. You can override
 
7152
        # by either setting the environment variable LT_MULTI_MODULE
 
7153
        # non-empty at configure time, or by adding -multi_module to the
 
7154
        # link flags.
 
7155
        rm -rf libconftest.dylib*
 
7156
        echo "int foo(void){return 1;}" > conftest.c
 
7157
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
7158
-dynamiclib -Wl,-single_module conftest.c" >&5
 
7159
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
7160
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 
7161
        _lt_result=$?
 
7162
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 
7163
          lt_cv_apple_cc_single_mod=yes
 
7164
        else
 
7165
          cat conftest.err >&5
 
7166
        fi
 
7167
        rm -rf libconftest.dylib*
 
7168
        rm -f conftest.*
 
7169
      fi
 
7170
fi
 
7171
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
 
7172
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
7173
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
 
7174
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
 
7175
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
 
7176
  $as_echo_n "(cached) " >&6
 
7177
else
 
7178
  lt_cv_ld_exported_symbols_list=no
 
7179
      save_LDFLAGS=$LDFLAGS
 
7180
      echo "_main" > conftest.sym
 
7181
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 
7182
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7183
/* end confdefs.h.  */
 
7184
 
 
7185
int
 
7186
main ()
 
7187
{
 
7188
 
 
7189
  ;
 
7190
  return 0;
 
7191
}
 
7192
_ACEOF
 
7193
if ac_fn_c_try_link "$LINENO"; then :
 
7194
  lt_cv_ld_exported_symbols_list=yes
 
7195
else
 
7196
  lt_cv_ld_exported_symbols_list=no
 
7197
fi
 
7198
rm -f core conftest.err conftest.$ac_objext \
 
7199
    conftest$ac_exeext conftest.$ac_ext
 
7200
        LDFLAGS="$save_LDFLAGS"
 
7201
 
 
7202
fi
 
7203
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
 
7204
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
7205
    case $host_os in
 
7206
    rhapsody* | darwin1.[012])
 
7207
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 
7208
    darwin1.*)
 
7209
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
7210
    darwin*) # darwin 5.x on
 
7211
      # if running on 10.5 or later, the deployment target defaults
 
7212
      # to the OS version, if on x86, and 10.4, the deployment
 
7213
      # target defaults to 10.4. Don't you love it?
 
7214
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 
7215
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
7216
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
7217
        10.[012]*)
 
7218
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
7219
        10.*)
 
7220
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
7221
      esac
 
7222
    ;;
 
7223
  esac
 
7224
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 
7225
      _lt_dar_single_mod='$single_module'
 
7226
    fi
 
7227
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 
7228
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 
7229
    else
 
7230
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
7231
    fi
 
7232
    if test "$DSYMUTIL" != ":"; then
 
7233
      _lt_dsymutil='~$DSYMUTIL $lib || :'
 
7234
    else
 
7235
      _lt_dsymutil=
 
7236
    fi
 
7237
    ;;
 
7238
  esac
 
7239
 
 
7240
ac_ext=c
 
7241
ac_cpp='$CPP $CPPFLAGS'
 
7242
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7243
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7244
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7245
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 
7246
$as_echo_n "checking how to run the C preprocessor... " >&6; }
 
7247
# On Suns, sometimes $CPP names a directory.
 
7248
if test -n "$CPP" && test -d "$CPP"; then
 
7249
  CPP=
 
7250
fi
 
7251
if test -z "$CPP"; then
 
7252
  if test "${ac_cv_prog_CPP+set}" = set; then :
 
7253
  $as_echo_n "(cached) " >&6
 
7254
else
 
7255
      # Double quotes because CPP needs to be expanded
 
7256
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
7257
    do
 
7258
      ac_preproc_ok=false
 
7259
for ac_c_preproc_warn_flag in '' yes
 
7260
do
 
7261
  # Use a header file that comes with gcc, so configuring glibc
 
7262
  # with a fresh cross-compiler works.
 
7263
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
7264
  # <limits.h> exists even on freestanding compilers.
 
7265
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
7266
  # not just through cpp. "Syntax error" is here to catch this case.
 
7267
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7268
/* end confdefs.h.  */
 
7269
#ifdef __STDC__
 
7270
# include <limits.h>
 
7271
#else
 
7272
# include <assert.h>
 
7273
#endif
 
7274
                     Syntax error
 
7275
_ACEOF
 
7276
if ac_fn_c_try_cpp "$LINENO"; then :
 
7277
 
 
7278
else
 
7279
  # Broken: fails on valid input.
 
7280
continue
 
7281
fi
 
7282
rm -f conftest.err conftest.$ac_ext
 
7283
 
 
7284
  # OK, works on sane cases.  Now check whether nonexistent headers
 
7285
  # can be detected and how.
 
7286
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7287
/* end confdefs.h.  */
 
7288
#include <ac_nonexistent.h>
 
7289
_ACEOF
 
7290
if ac_fn_c_try_cpp "$LINENO"; then :
 
7291
  # Broken: success on invalid input.
 
7292
continue
 
7293
else
 
7294
  # Passes both tests.
 
7295
ac_preproc_ok=:
 
7296
break
 
7297
fi
 
7298
rm -f conftest.err conftest.$ac_ext
 
7299
 
 
7300
done
 
7301
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
7302
rm -f conftest.err conftest.$ac_ext
 
7303
if $ac_preproc_ok; then :
 
7304
  break
 
7305
fi
 
7306
 
 
7307
    done
 
7308
    ac_cv_prog_CPP=$CPP
 
7309
 
 
7310
fi
 
7311
  CPP=$ac_cv_prog_CPP
 
7312
else
 
7313
  ac_cv_prog_CPP=$CPP
 
7314
fi
 
7315
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 
7316
$as_echo "$CPP" >&6; }
 
7317
ac_preproc_ok=false
 
7318
for ac_c_preproc_warn_flag in '' yes
 
7319
do
 
7320
  # Use a header file that comes with gcc, so configuring glibc
 
7321
  # with a fresh cross-compiler works.
 
7322
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
7323
  # <limits.h> exists even on freestanding compilers.
 
7324
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
7325
  # not just through cpp. "Syntax error" is here to catch this case.
 
7326
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7327
/* end confdefs.h.  */
 
7328
#ifdef __STDC__
 
7329
# include <limits.h>
 
7330
#else
 
7331
# include <assert.h>
 
7332
#endif
 
7333
                     Syntax error
 
7334
_ACEOF
 
7335
if ac_fn_c_try_cpp "$LINENO"; then :
 
7336
 
 
7337
else
 
7338
  # Broken: fails on valid input.
 
7339
continue
 
7340
fi
 
7341
rm -f conftest.err conftest.$ac_ext
 
7342
 
 
7343
  # OK, works on sane cases.  Now check whether nonexistent headers
 
7344
  # can be detected and how.
 
7345
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7346
/* end confdefs.h.  */
 
7347
#include <ac_nonexistent.h>
 
7348
_ACEOF
 
7349
if ac_fn_c_try_cpp "$LINENO"; then :
 
7350
  # Broken: success on invalid input.
 
7351
continue
 
7352
else
 
7353
  # Passes both tests.
 
7354
ac_preproc_ok=:
 
7355
break
 
7356
fi
 
7357
rm -f conftest.err conftest.$ac_ext
 
7358
 
 
7359
done
 
7360
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
7361
rm -f conftest.err conftest.$ac_ext
 
7362
if $ac_preproc_ok; then :
 
7363
 
 
7364
else
 
7365
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
7366
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
7367
as_fn_error "C preprocessor \"$CPP\" fails sanity check
 
7368
See \`config.log' for more details." "$LINENO" 5; }
 
7369
fi
 
7370
 
 
7371
ac_ext=c
 
7372
ac_cpp='$CPP $CPPFLAGS'
 
7373
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7374
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7375
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7376
 
 
7377
 
 
7378
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 
7379
$as_echo_n "checking for ANSI C header files... " >&6; }
 
7380
if test "${ac_cv_header_stdc+set}" = set; then :
 
7381
  $as_echo_n "(cached) " >&6
 
7382
else
 
7383
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7384
/* end confdefs.h.  */
 
7385
#include <stdlib.h>
 
7386
#include <stdarg.h>
 
7387
#include <string.h>
 
7388
#include <float.h>
 
7389
 
 
7390
int
 
7391
main ()
 
7392
{
 
7393
 
 
7394
  ;
 
7395
  return 0;
 
7396
}
 
7397
_ACEOF
 
7398
if ac_fn_c_try_compile "$LINENO"; then :
 
7399
  ac_cv_header_stdc=yes
 
7400
else
 
7401
  ac_cv_header_stdc=no
 
7402
fi
 
7403
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7404
 
 
7405
if test $ac_cv_header_stdc = yes; then
 
7406
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
7407
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7408
/* end confdefs.h.  */
 
7409
#include <string.h>
 
7410
 
 
7411
_ACEOF
 
7412
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
7413
  $EGREP "memchr" >/dev/null 2>&1; then :
 
7414
 
 
7415
else
 
7416
  ac_cv_header_stdc=no
 
7417
fi
 
7418
rm -f conftest*
 
7419
 
 
7420
fi
 
7421
 
 
7422
if test $ac_cv_header_stdc = yes; then
 
7423
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
7424
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7425
/* end confdefs.h.  */
 
7426
#include <stdlib.h>
 
7427
 
 
7428
_ACEOF
 
7429
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
7430
  $EGREP "free" >/dev/null 2>&1; then :
 
7431
 
 
7432
else
 
7433
  ac_cv_header_stdc=no
 
7434
fi
 
7435
rm -f conftest*
 
7436
 
 
7437
fi
 
7438
 
 
7439
if test $ac_cv_header_stdc = yes; then
 
7440
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
7441
  if test "$cross_compiling" = yes; then :
 
7442
  :
 
7443
else
 
7444
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
7445
/* end confdefs.h.  */
 
7446
#include <ctype.h>
 
7447
#include <stdlib.h>
 
7448
#if ((' ' & 0x0FF) == 0x020)
 
7449
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
7450
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
7451
#else
 
7452
# define ISLOWER(c) \
 
7453
                   (('a' <= (c) && (c) <= 'i') \
 
7454
                     || ('j' <= (c) && (c) <= 'r') \
 
7455
                     || ('s' <= (c) && (c) <= 'z'))
 
7456
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
7457
#endif
 
7458
 
 
7459
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
7460
int
 
7461
main ()
 
7462
{
 
7463
  int i;
 
7464
  for (i = 0; i < 256; i++)
 
7465
    if (XOR (islower (i), ISLOWER (i))
 
7466
        || toupper (i) != TOUPPER (i))
 
7467
      return 2;
 
7468
  return 0;
 
7469
}
 
7470
_ACEOF
 
7471
if ac_fn_c_try_run "$LINENO"; then :
 
7472
 
 
7473
else
 
7474
  ac_cv_header_stdc=no
 
7475
fi
 
7476
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
7477
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
7478
fi
 
7479
 
 
7480
fi
 
7481
fi
 
7482
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 
7483
$as_echo "$ac_cv_header_stdc" >&6; }
 
7484
if test $ac_cv_header_stdc = yes; then
 
7485
 
 
7486
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
 
7487
 
 
7488
fi
 
7489
 
 
7490
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
7491
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
7492
                  inttypes.h stdint.h unistd.h
 
7493
do :
 
7494
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
7495
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
7496
"
 
7497
eval as_val=\$$as_ac_Header
 
7498
   if test "x$as_val" = x""yes; then :
 
7499
  cat >>confdefs.h <<_ACEOF
 
7500
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
7501
_ACEOF
 
7502
 
 
7503
fi
 
7504
 
 
7505
done
 
7506
 
 
7507
 
 
7508
for ac_header in dlfcn.h
 
7509
do :
 
7510
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 
7511
"
 
7512
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
 
7513
  cat >>confdefs.h <<_ACEOF
 
7514
#define HAVE_DLFCN_H 1
 
7515
_ACEOF
 
7516
 
 
7517
fi
 
7518
 
 
7519
done
 
7520
 
 
7521
 
 
7522
 
 
7523
# Set options
 
7524
 
 
7525
 
 
7526
 
 
7527
        enable_dlopen=no
 
7528
 
 
7529
 
 
7530
  enable_win32_dll=no
 
7531
 
 
7532
 
 
7533
            # Check whether --enable-shared was given.
 
7534
if test "${enable_shared+set}" = set; then :
 
7535
  enableval=$enable_shared; p=${PACKAGE-default}
 
7536
    case $enableval in
 
7537
    yes) enable_shared=yes ;;
 
7538
    no) enable_shared=no ;;
 
7539
    *)
 
7540
      enable_shared=no
 
7541
      # Look at the argument we got.  We use all the common list separators.
 
7542
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
7543
      for pkg in $enableval; do
 
7544
        IFS="$lt_save_ifs"
 
7545
        if test "X$pkg" = "X$p"; then
 
7546
          enable_shared=yes
 
7547
        fi
 
7548
      done
 
7549
      IFS="$lt_save_ifs"
 
7550
      ;;
 
7551
    esac
 
7552
else
 
7553
  enable_shared=yes
 
7554
fi
 
7555
 
 
7556
 
 
7557
 
 
7558
 
 
7559
 
 
7560
 
 
7561
 
 
7562
 
 
7563
 
 
7564
  # Check whether --enable-static was given.
 
7565
if test "${enable_static+set}" = set; then :
 
7566
  enableval=$enable_static; p=${PACKAGE-default}
 
7567
    case $enableval in
 
7568
    yes) enable_static=yes ;;
 
7569
    no) enable_static=no ;;
 
7570
    *)
 
7571
     enable_static=no
 
7572
      # Look at the argument we got.  We use all the common list separators.
 
7573
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
7574
      for pkg in $enableval; do
 
7575
        IFS="$lt_save_ifs"
 
7576
        if test "X$pkg" = "X$p"; then
 
7577
          enable_static=yes
 
7578
        fi
 
7579
      done
 
7580
      IFS="$lt_save_ifs"
 
7581
      ;;
 
7582
    esac
 
7583
else
 
7584
  enable_static=yes
 
7585
fi
 
7586
 
 
7587
 
 
7588
 
 
7589
 
 
7590
 
 
7591
 
 
7592
 
 
7593
 
 
7594
 
 
7595
 
 
7596
# Check whether --with-pic was given.
 
7597
if test "${with_pic+set}" = set; then :
 
7598
  withval=$with_pic; pic_mode="$withval"
 
7599
else
 
7600
  pic_mode=default
 
7601
fi
 
7602
 
 
7603
 
 
7604
test -z "$pic_mode" && pic_mode=default
 
7605
 
 
7606
 
 
7607
 
 
7608
 
 
7609
 
 
7610
 
 
7611
 
 
7612
  # Check whether --enable-fast-install was given.
 
7613
if test "${enable_fast_install+set}" = set; then :
 
7614
  enableval=$enable_fast_install; p=${PACKAGE-default}
 
7615
    case $enableval in
 
7616
    yes) enable_fast_install=yes ;;
 
7617
    no) enable_fast_install=no ;;
 
7618
    *)
 
7619
      enable_fast_install=no
 
7620
      # Look at the argument we got.  We use all the common list separators.
 
7621
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
7622
      for pkg in $enableval; do
 
7623
        IFS="$lt_save_ifs"
 
7624
        if test "X$pkg" = "X$p"; then
 
7625
          enable_fast_install=yes
 
7626
        fi
 
7627
      done
 
7628
      IFS="$lt_save_ifs"
 
7629
      ;;
 
7630
    esac
 
7631
else
 
7632
  enable_fast_install=yes
 
7633
fi
 
7634
 
 
7635
 
 
7636
 
 
7637
 
 
7638
 
 
7639
 
 
7640
 
 
7641
 
 
7642
 
 
7643
 
 
7644
 
 
7645
# This can be used to rebuild libtool when needed
 
7646
LIBTOOL_DEPS="$ltmain"
 
7647
 
 
7648
# Always use our own libtool.
 
7649
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
7650
 
 
7651
 
 
7652
 
 
7653
 
 
7654
 
 
7655
 
 
7656
 
 
7657
 
 
7658
 
 
7659
 
 
7660
 
 
7661
 
 
7662
 
 
7663
 
 
7664
 
 
7665
 
 
7666
 
 
7667
 
 
7668
 
 
7669
 
 
7670
 
 
7671
 
 
7672
 
 
7673
 
 
7674
 
 
7675
test -z "$LN_S" && LN_S="ln -s"
 
7676
 
 
7677
 
 
7678
 
 
7679
 
 
7680
 
 
7681
 
 
7682
 
 
7683
 
 
7684
 
 
7685
 
 
7686
 
 
7687
 
 
7688
 
 
7689
 
 
7690
if test -n "${ZSH_VERSION+set}" ; then
 
7691
   setopt NO_GLOB_SUBST
 
7692
fi
 
7693
 
 
7694
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
 
7695
$as_echo_n "checking for objdir... " >&6; }
 
7696
if test "${lt_cv_objdir+set}" = set; then :
 
7697
  $as_echo_n "(cached) " >&6
 
7698
else
 
7699
  rm -f .libs 2>/dev/null
 
7700
mkdir .libs 2>/dev/null
 
7701
if test -d .libs; then
 
7702
  lt_cv_objdir=.libs
 
7703
else
 
7704
  # MS-DOS does not allow filenames that begin with a dot.
 
7705
  lt_cv_objdir=_libs
 
7706
fi
 
7707
rmdir .libs 2>/dev/null
 
7708
fi
 
7709
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
 
7710
$as_echo "$lt_cv_objdir" >&6; }
 
7711
objdir=$lt_cv_objdir
 
7712
 
 
7713
 
 
7714
 
 
7715
 
 
7716
 
 
7717
cat >>confdefs.h <<_ACEOF
 
7718
#define LT_OBJDIR "$lt_cv_objdir/"
 
7719
_ACEOF
 
7720
 
 
7721
 
 
7722
 
 
7723
 
 
7724
 
 
7725
 
 
7726
 
 
7727
 
 
7728
 
 
7729
 
 
7730
 
 
7731
 
 
7732
 
 
7733
 
 
7734
 
 
7735
 
 
7736
 
 
7737
case $host_os in
 
7738
aix3*)
 
7739
  # AIX sometimes has problems with the GCC collect2 program.  For some
 
7740
  # reason, if we set the COLLECT_NAMES environment variable, the problems
 
7741
  # vanish in a puff of smoke.
 
7742
  if test "X${COLLECT_NAMES+set}" != Xset; then
 
7743
    COLLECT_NAMES=
 
7744
    export COLLECT_NAMES
 
7745
  fi
 
7746
  ;;
 
7747
esac
 
7748
 
 
7749
# Sed substitution that helps us do robust quoting.  It backslashifies
 
7750
# metacharacters that are still active within double-quoted strings.
 
7751
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
7752
 
 
7753
# Same as above, but do not quote variable references.
 
7754
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
7755
 
 
7756
# Sed substitution to delay expansion of an escaped shell variable in a
 
7757
# double_quote_subst'ed string.
 
7758
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
7759
 
 
7760
# Sed substitution to delay expansion of an escaped single quote.
 
7761
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
7762
 
 
7763
# Sed substitution to avoid accidental globbing in evaled expressions
 
7764
no_glob_subst='s/\*/\\\*/g'
 
7765
 
 
7766
# Global variables:
 
7767
ofile=libtool
 
7768
can_build_shared=yes
 
7769
 
 
7770
# All known linkers require a `.a' archive for static linking (except MSVC,
 
7771
# which needs '.lib').
 
7772
libext=a
 
7773
 
 
7774
with_gnu_ld="$lt_cv_prog_gnu_ld"
 
7775
 
 
7776
old_CC="$CC"
 
7777
old_CFLAGS="$CFLAGS"
 
7778
 
 
7779
# Set sane defaults for various variables
 
7780
test -z "$CC" && CC=cc
 
7781
test -z "$LTCC" && LTCC=$CC
 
7782
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 
7783
test -z "$LD" && LD=ld
 
7784
test -z "$ac_objext" && ac_objext=o
 
7785
 
 
7786
for cc_temp in $compiler""; do
 
7787
  case $cc_temp in
 
7788
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
7789
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
7790
    \-*) ;;
 
7791
    *) break;;
 
7792
  esac
 
7793
done
 
7794
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
7795
 
 
7796
 
 
7797
# Only perform the check for file, if the check method requires it
 
7798
test -z "$MAGIC_CMD" && MAGIC_CMD=file
 
7799
case $deplibs_check_method in
 
7800
file_magic*)
 
7801
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 
7802
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
 
7803
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
 
7804
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
7805
  $as_echo_n "(cached) " >&6
 
7806
else
 
7807
  case $MAGIC_CMD in
 
7808
[\\/*] |  ?:[\\/]*)
 
7809
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
7810
  ;;
 
7811
*)
 
7812
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
7813
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
7814
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
7815
  for ac_dir in $ac_dummy; do
 
7816
    IFS="$lt_save_ifs"
 
7817
    test -z "$ac_dir" && ac_dir=.
 
7818
    if test -f $ac_dir/${ac_tool_prefix}file; then
 
7819
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
 
7820
      if test -n "$file_magic_test_file"; then
 
7821
        case $deplibs_check_method in
 
7822
        "file_magic "*)
 
7823
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
7824
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
7825
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
7826
            $EGREP "$file_magic_regex" > /dev/null; then
 
7827
            :
 
7828
          else
 
7829
            cat <<_LT_EOF 1>&2
 
7830
 
 
7831
*** Warning: the command libtool uses to detect shared libraries,
 
7832
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
7833
*** The result is that libtool may fail to recognize shared libraries
 
7834
*** as such.  This will affect the creation of libtool libraries that
 
7835
*** depend on shared libraries, but programs linked with such libtool
 
7836
*** libraries will work regardless of this problem.  Nevertheless, you
 
7837
*** may want to report the problem to your system manager and/or to
 
7838
*** bug-libtool@gnu.org
 
7839
 
 
7840
_LT_EOF
 
7841
          fi ;;
 
7842
        esac
 
7843
      fi
 
7844
      break
 
7845
    fi
 
7846
  done
 
7847
  IFS="$lt_save_ifs"
 
7848
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
7849
  ;;
 
7850
esac
 
7851
fi
 
7852
 
 
7853
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
7854
if test -n "$MAGIC_CMD"; then
 
7855
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
7856
$as_echo "$MAGIC_CMD" >&6; }
 
7857
else
 
7858
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7859
$as_echo "no" >&6; }
 
7860
fi
 
7861
 
 
7862
 
 
7863
 
 
7864
 
 
7865
 
 
7866
if test -z "$lt_cv_path_MAGIC_CMD"; then
 
7867
  if test -n "$ac_tool_prefix"; then
 
7868
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
 
7869
$as_echo_n "checking for file... " >&6; }
 
7870
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
7871
  $as_echo_n "(cached) " >&6
 
7872
else
 
7873
  case $MAGIC_CMD in
 
7874
[\\/*] |  ?:[\\/]*)
 
7875
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
7876
  ;;
 
7877
*)
 
7878
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
7879
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
7880
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
7881
  for ac_dir in $ac_dummy; do
 
7882
    IFS="$lt_save_ifs"
 
7883
    test -z "$ac_dir" && ac_dir=.
 
7884
    if test -f $ac_dir/file; then
 
7885
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
 
7886
      if test -n "$file_magic_test_file"; then
 
7887
        case $deplibs_check_method in
 
7888
        "file_magic "*)
 
7889
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
7890
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
7891
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
7892
            $EGREP "$file_magic_regex" > /dev/null; then
 
7893
            :
 
7894
          else
 
7895
            cat <<_LT_EOF 1>&2
 
7896
 
 
7897
*** Warning: the command libtool uses to detect shared libraries,
 
7898
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
7899
*** The result is that libtool may fail to recognize shared libraries
 
7900
*** as such.  This will affect the creation of libtool libraries that
 
7901
*** depend on shared libraries, but programs linked with such libtool
 
7902
*** libraries will work regardless of this problem.  Nevertheless, you
 
7903
*** may want to report the problem to your system manager and/or to
 
7904
*** bug-libtool@gnu.org
 
7905
 
 
7906
_LT_EOF
 
7907
          fi ;;
 
7908
        esac
 
7909
      fi
 
7910
      break
 
7911
    fi
 
7912
  done
 
7913
  IFS="$lt_save_ifs"
 
7914
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
7915
  ;;
 
7916
esac
 
7917
fi
 
7918
 
 
7919
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
7920
if test -n "$MAGIC_CMD"; then
 
7921
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
7922
$as_echo "$MAGIC_CMD" >&6; }
 
7923
else
 
7924
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7925
$as_echo "no" >&6; }
 
7926
fi
 
7927
 
 
7928
 
 
7929
  else
 
7930
    MAGIC_CMD=:
 
7931
  fi
 
7932
fi
 
7933
 
 
7934
  fi
 
7935
  ;;
 
7936
esac
 
7937
 
 
7938
# Use C for the default configuration in the libtool script
 
7939
 
 
7940
lt_save_CC="$CC"
 
7941
ac_ext=c
 
7942
ac_cpp='$CPP $CPPFLAGS'
 
7943
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7944
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7945
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7946
 
 
7947
 
 
7948
# Source file extension for C test sources.
 
7949
ac_ext=c
 
7950
 
 
7951
# Object file extension for compiled C test sources.
 
7952
objext=o
 
7953
objext=$objext
 
7954
 
 
7955
# Code to be used in simple compile tests
 
7956
lt_simple_compile_test_code="int some_variable = 0;"
 
7957
 
 
7958
# Code to be used in simple link tests
 
7959
lt_simple_link_test_code='int main(){return(0);}'
 
7960
 
 
7961
 
 
7962
 
 
7963
 
 
7964
 
 
7965
 
 
7966
 
 
7967
# If no C compiler was specified, use CC.
 
7968
LTCC=${LTCC-"$CC"}
 
7969
 
 
7970
# If no C compiler flags were specified, use CFLAGS.
 
7971
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
7972
 
 
7973
# Allow CC to be a program name with arguments.
 
7974
compiler=$CC
 
7975
 
 
7976
# Save the default compiler, since it gets overwritten when the other
 
7977
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 
7978
compiler_DEFAULT=$CC
 
7979
 
 
7980
# save warnings/boilerplate of simple test code
 
7981
ac_outfile=conftest.$ac_objext
 
7982
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
7983
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
7984
_lt_compiler_boilerplate=`cat conftest.err`
 
7985
$RM conftest*
 
7986
 
 
7987
ac_outfile=conftest.$ac_objext
 
7988
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
7989
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
7990
_lt_linker_boilerplate=`cat conftest.err`
 
7991
$RM -r conftest*
 
7992
 
 
7993
 
 
7994
if test -n "$compiler"; then
 
7995
 
 
7996
lt_prog_compiler_no_builtin_flag=
 
7997
 
 
7998
if test "$GCC" = yes; then
 
7999
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
 
8000
 
 
8001
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
8002
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
 
8003
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
 
8004
  $as_echo_n "(cached) " >&6
 
8005
else
 
8006
  lt_cv_prog_compiler_rtti_exceptions=no
 
8007
   ac_outfile=conftest.$ac_objext
 
8008
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8009
   lt_compiler_flag="-fno-rtti -fno-exceptions"
 
8010
   # Insert the option either (1) after the last *FLAGS variable, or
 
8011
   # (2) before a word containing "conftest.", or (3) at the end.
 
8012
   # Note that $ac_compile itself does not contain backslashes and begins
 
8013
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
8014
   # The option is referenced via a variable to avoid confusing sed.
 
8015
   lt_compile=`echo "$ac_compile" | $SED \
 
8016
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
8017
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
8018
   -e 's:$: $lt_compiler_flag:'`
 
8019
   (eval echo "\"\$as_me:8019: $lt_compile\"" >&5)
 
8020
   (eval "$lt_compile" 2>conftest.err)
 
8021
   ac_status=$?
 
8022
   cat conftest.err >&5
 
8023
   echo "$as_me:8023: \$? = $ac_status" >&5
 
8024
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
8025
     # The compiler can only warn and ignore the option if not recognized
 
8026
     # So say no if there are warnings other than the usual output.
 
8027
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8028
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
8029
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
8030
       lt_cv_prog_compiler_rtti_exceptions=yes
 
8031
     fi
 
8032
   fi
 
8033
   $RM conftest*
 
8034
 
 
8035
fi
 
8036
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
8037
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 
8038
 
 
8039
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
 
8040
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
 
8041
else
 
8042
    :
 
8043
fi
 
8044
 
 
8045
fi
 
8046
 
 
8047
 
 
8048
 
 
8049
 
 
8050
 
 
8051
 
 
8052
  lt_prog_compiler_wl=
 
8053
lt_prog_compiler_pic=
 
8054
lt_prog_compiler_static=
 
8055
 
 
8056
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
8057
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
8058
 
 
8059
  if test "$GCC" = yes; then
 
8060
    lt_prog_compiler_wl='-Wl,'
 
8061
    lt_prog_compiler_static='-static'
 
8062
 
 
8063
    case $host_os in
 
8064
      aix*)
 
8065
      # All AIX code is PIC.
 
8066
      if test "$host_cpu" = ia64; then
 
8067
        # AIX 5 now supports IA64 processor
 
8068
        lt_prog_compiler_static='-Bstatic'
 
8069
      fi
 
8070
      ;;
 
8071
 
 
8072
    amigaos*)
 
8073
      case $host_cpu in
 
8074
      powerpc)
 
8075
            # see comment about AmigaOS4 .so support
 
8076
            lt_prog_compiler_pic='-fPIC'
 
8077
        ;;
 
8078
      m68k)
 
8079
            # FIXME: we need at least 68020 code to build shared libraries, but
 
8080
            # adding the `-m68020' flag to GCC prevents building anything better,
 
8081
            # like `-m68040'.
 
8082
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
8083
        ;;
 
8084
      esac
 
8085
      ;;
 
8086
 
 
8087
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
8088
      # PIC is the default for these OSes.
 
8089
      ;;
 
8090
 
 
8091
    mingw* | cygwin* | pw32* | os2* | cegcc*)
 
8092
      # This hack is so that the source file can tell whether it is being
 
8093
      # built for inclusion in a dll (and should export symbols for example).
 
8094
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
8095
      # (--disable-auto-import) libraries
 
8096
      lt_prog_compiler_pic='-DDLL_EXPORT'
 
8097
      ;;
 
8098
 
 
8099
    darwin* | rhapsody*)
 
8100
      # PIC is the default on this platform
 
8101
      # Common symbols not allowed in MH_DYLIB files
 
8102
      lt_prog_compiler_pic='-fno-common'
 
8103
      ;;
 
8104
 
 
8105
    hpux*)
 
8106
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
8107
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
8108
      # sets the default TLS model and affects inlining.
 
8109
      case $host_cpu in
 
8110
      hppa*64*)
 
8111
        # +Z the default
 
8112
        ;;
 
8113
      *)
 
8114
        lt_prog_compiler_pic='-fPIC'
 
8115
        ;;
 
8116
      esac
 
8117
      ;;
 
8118
 
 
8119
    interix[3-9]*)
 
8120
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
8121
      # Instead, we relocate shared libraries at runtime.
 
8122
      ;;
 
8123
 
 
8124
    msdosdjgpp*)
 
8125
      # Just because we use GCC doesn't mean we suddenly get shared libraries
 
8126
      # on systems that don't support them.
 
8127
      lt_prog_compiler_can_build_shared=no
 
8128
      enable_shared=no
 
8129
      ;;
 
8130
 
 
8131
    *nto* | *qnx*)
 
8132
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
8133
      # it will coredump.
 
8134
      lt_prog_compiler_pic='-fPIC -shared'
 
8135
      ;;
 
8136
 
 
8137
    sysv4*MP*)
 
8138
      if test -d /usr/nec; then
 
8139
        lt_prog_compiler_pic=-Kconform_pic
 
8140
      fi
 
8141
      ;;
 
8142
 
 
8143
    *)
 
8144
      lt_prog_compiler_pic='-fPIC'
 
8145
      ;;
 
8146
    esac
 
8147
  else
 
8148
    # PORTME Check for flag to pass linker flags through the system compiler.
 
8149
    case $host_os in
 
8150
    aix*)
 
8151
      lt_prog_compiler_wl='-Wl,'
 
8152
      if test "$host_cpu" = ia64; then
 
8153
        # AIX 5 now supports IA64 processor
 
8154
        lt_prog_compiler_static='-Bstatic'
 
8155
      else
 
8156
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
 
8157
      fi
 
8158
      ;;
 
8159
 
 
8160
    mingw* | cygwin* | pw32* | os2* | cegcc*)
 
8161
      # This hack is so that the source file can tell whether it is being
 
8162
      # built for inclusion in a dll (and should export symbols for example).
 
8163
      lt_prog_compiler_pic='-DDLL_EXPORT'
 
8164
      ;;
 
8165
 
 
8166
    hpux9* | hpux10* | hpux11*)
 
8167
      lt_prog_compiler_wl='-Wl,'
 
8168
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 
8169
      # not for PA HP-UX.
 
8170
      case $host_cpu in
 
8171
      hppa*64*|ia64*)
 
8172
        # +Z the default
 
8173
        ;;
 
8174
      *)
 
8175
        lt_prog_compiler_pic='+Z'
 
8176
        ;;
 
8177
      esac
 
8178
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
 
8179
      lt_prog_compiler_static='${wl}-a ${wl}archive'
 
8180
      ;;
 
8181
 
 
8182
    irix5* | irix6* | nonstopux*)
 
8183
      lt_prog_compiler_wl='-Wl,'
 
8184
      # PIC (with -KPIC) is the default.
 
8185
      lt_prog_compiler_static='-non_shared'
 
8186
      ;;
 
8187
 
 
8188
    linux* | k*bsd*-gnu)
 
8189
      case $cc_basename in
 
8190
      # old Intel for x86_64 which still supported -KPIC.
 
8191
      ecc*)
 
8192
        lt_prog_compiler_wl='-Wl,'
 
8193
        lt_prog_compiler_pic='-KPIC'
 
8194
        lt_prog_compiler_static='-static'
 
8195
        ;;
 
8196
      # icc used to be incompatible with GCC.
 
8197
      # ICC 10 doesn't accept -KPIC any more.
 
8198
      icc* | ifort*)
 
8199
        lt_prog_compiler_wl='-Wl,'
 
8200
        lt_prog_compiler_pic='-fPIC'
 
8201
        lt_prog_compiler_static='-static'
 
8202
        ;;
 
8203
      # Lahey Fortran 8.1.
 
8204
      lf95*)
 
8205
        lt_prog_compiler_wl='-Wl,'
 
8206
        lt_prog_compiler_pic='--shared'
 
8207
        lt_prog_compiler_static='--static'
 
8208
        ;;
 
8209
      pgcc* | pgf77* | pgf90* | pgf95*)
 
8210
        # Portland Group compilers (*not* the Pentium gcc compiler,
 
8211
        # which looks to be a dead project)
 
8212
        lt_prog_compiler_wl='-Wl,'
 
8213
        lt_prog_compiler_pic='-fpic'
 
8214
        lt_prog_compiler_static='-Bstatic'
 
8215
        ;;
 
8216
      ccc*)
 
8217
        lt_prog_compiler_wl='-Wl,'
 
8218
        # All Alpha code is PIC.
 
8219
        lt_prog_compiler_static='-non_shared'
 
8220
        ;;
 
8221
      xl*)
 
8222
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
8223
        lt_prog_compiler_wl='-Wl,'
 
8224
        lt_prog_compiler_pic='-qpic'
 
8225
        lt_prog_compiler_static='-qstaticlink'
 
8226
        ;;
 
8227
      *)
 
8228
        case `$CC -V 2>&1 | sed 5q` in
 
8229
        *Sun\ C*)
 
8230
          # Sun C 5.9
 
8231
          lt_prog_compiler_pic='-KPIC'
 
8232
          lt_prog_compiler_static='-Bstatic'
 
8233
          lt_prog_compiler_wl='-Wl,'
 
8234
          ;;
 
8235
        *Sun\ F*)
 
8236
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
8237
          lt_prog_compiler_pic='-KPIC'
 
8238
          lt_prog_compiler_static='-Bstatic'
 
8239
          lt_prog_compiler_wl=''
 
8240
          ;;
 
8241
        esac
 
8242
        ;;
 
8243
      esac
 
8244
      ;;
 
8245
 
 
8246
    newsos6)
 
8247
      lt_prog_compiler_pic='-KPIC'
 
8248
      lt_prog_compiler_static='-Bstatic'
 
8249
      ;;
 
8250
 
 
8251
    *nto* | *qnx*)
 
8252
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
8253
      # it will coredump.
 
8254
      lt_prog_compiler_pic='-fPIC -shared'
 
8255
      ;;
 
8256
 
 
8257
    osf3* | osf4* | osf5*)
 
8258
      lt_prog_compiler_wl='-Wl,'
 
8259
      # All OSF/1 code is PIC.
 
8260
      lt_prog_compiler_static='-non_shared'
 
8261
      ;;
 
8262
 
 
8263
    rdos*)
 
8264
      lt_prog_compiler_static='-non_shared'
 
8265
      ;;
 
8266
 
 
8267
    solaris*)
 
8268
      lt_prog_compiler_pic='-KPIC'
 
8269
      lt_prog_compiler_static='-Bstatic'
 
8270
      case $cc_basename in
 
8271
      f77* | f90* | f95*)
 
8272
        lt_prog_compiler_wl='-Qoption ld ';;
 
8273
      *)
 
8274
        lt_prog_compiler_wl='-Wl,';;
 
8275
      esac
 
8276
      ;;
 
8277
 
 
8278
    sunos4*)
 
8279
      lt_prog_compiler_wl='-Qoption ld '
 
8280
      lt_prog_compiler_pic='-PIC'
 
8281
      lt_prog_compiler_static='-Bstatic'
 
8282
      ;;
 
8283
 
 
8284
    sysv4 | sysv4.2uw2* | sysv4.3*)
 
8285
      lt_prog_compiler_wl='-Wl,'
 
8286
      lt_prog_compiler_pic='-KPIC'
 
8287
      lt_prog_compiler_static='-Bstatic'
 
8288
      ;;
 
8289
 
 
8290
    sysv4*MP*)
 
8291
      if test -d /usr/nec ;then
 
8292
        lt_prog_compiler_pic='-Kconform_pic'
 
8293
        lt_prog_compiler_static='-Bstatic'
 
8294
      fi
 
8295
      ;;
 
8296
 
 
8297
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
8298
      lt_prog_compiler_wl='-Wl,'
 
8299
      lt_prog_compiler_pic='-KPIC'
 
8300
      lt_prog_compiler_static='-Bstatic'
 
8301
      ;;
 
8302
 
 
8303
    unicos*)
 
8304
      lt_prog_compiler_wl='-Wl,'
 
8305
      lt_prog_compiler_can_build_shared=no
 
8306
      ;;
 
8307
 
 
8308
    uts4*)
 
8309
      lt_prog_compiler_pic='-pic'
 
8310
      lt_prog_compiler_static='-Bstatic'
 
8311
      ;;
 
8312
 
 
8313
    *)
 
8314
      lt_prog_compiler_can_build_shared=no
 
8315
      ;;
 
8316
    esac
 
8317
  fi
 
8318
 
 
8319
case $host_os in
 
8320
  # For platforms which do not support PIC, -DPIC is meaningless:
 
8321
  *djgpp*)
 
8322
    lt_prog_compiler_pic=
 
8323
    ;;
 
8324
  *)
 
8325
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 
8326
    ;;
 
8327
esac
 
8328
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
 
8329
$as_echo "$lt_prog_compiler_pic" >&6; }
 
8330
 
 
8331
 
 
8332
 
 
8333
 
 
8334
 
 
8335
 
 
8336
#
 
8337
# Check to make sure the PIC flag actually works.
 
8338
#
 
8339
if test -n "$lt_prog_compiler_pic"; then
 
8340
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
8341
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
 
8342
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
 
8343
  $as_echo_n "(cached) " >&6
 
8344
else
 
8345
  lt_cv_prog_compiler_pic_works=no
 
8346
   ac_outfile=conftest.$ac_objext
 
8347
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8348
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
 
8349
   # Insert the option either (1) after the last *FLAGS variable, or
 
8350
   # (2) before a word containing "conftest.", or (3) at the end.
 
8351
   # Note that $ac_compile itself does not contain backslashes and begins
 
8352
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
8353
   # The option is referenced via a variable to avoid confusing sed.
 
8354
   lt_compile=`echo "$ac_compile" | $SED \
 
8355
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
8356
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
8357
   -e 's:$: $lt_compiler_flag:'`
 
8358
   (eval echo "\"\$as_me:8358: $lt_compile\"" >&5)
 
8359
   (eval "$lt_compile" 2>conftest.err)
 
8360
   ac_status=$?
 
8361
   cat conftest.err >&5
 
8362
   echo "$as_me:8362: \$? = $ac_status" >&5
 
8363
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
8364
     # The compiler can only warn and ignore the option if not recognized
 
8365
     # So say no if there are warnings other than the usual output.
 
8366
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8367
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
8368
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
8369
       lt_cv_prog_compiler_pic_works=yes
 
8370
     fi
 
8371
   fi
 
8372
   $RM conftest*
 
8373
 
 
8374
fi
 
8375
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
 
8376
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
 
8377
 
 
8378
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
 
8379
    case $lt_prog_compiler_pic in
 
8380
     "" | " "*) ;;
 
8381
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
 
8382
     esac
 
8383
else
 
8384
    lt_prog_compiler_pic=
 
8385
     lt_prog_compiler_can_build_shared=no
 
8386
fi
 
8387
 
 
8388
fi
 
8389
 
 
8390
 
 
8391
 
 
8392
 
 
8393
 
 
8394
 
 
8395
#
 
8396
# Check to make sure the static flag actually works.
 
8397
#
 
8398
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
 
8399
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
8400
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
8401
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
 
8402
  $as_echo_n "(cached) " >&6
 
8403
else
 
8404
  lt_cv_prog_compiler_static_works=no
 
8405
   save_LDFLAGS="$LDFLAGS"
 
8406
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
8407
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
8408
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
8409
     # The linker can only warn and ignore the option if not recognized
 
8410
     # So say no if there are warnings
 
8411
     if test -s conftest.err; then
 
8412
       # Append any errors to the config.log.
 
8413
       cat conftest.err 1>&5
 
8414
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
8415
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
8416
       if diff conftest.exp conftest.er2 >/dev/null; then
 
8417
         lt_cv_prog_compiler_static_works=yes
 
8418
       fi
 
8419
     else
 
8420
       lt_cv_prog_compiler_static_works=yes
 
8421
     fi
 
8422
   fi
 
8423
   $RM -r conftest*
 
8424
   LDFLAGS="$save_LDFLAGS"
 
8425
 
 
8426
fi
 
8427
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
 
8428
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
 
8429
 
 
8430
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
 
8431
    :
 
8432
else
 
8433
    lt_prog_compiler_static=
 
8434
fi
 
8435
 
 
8436
 
 
8437
 
 
8438
 
 
8439
 
 
8440
 
 
8441
 
 
8442
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8443
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
8444
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
8445
  $as_echo_n "(cached) " >&6
 
8446
else
 
8447
  lt_cv_prog_compiler_c_o=no
 
8448
   $RM -r conftest 2>/dev/null
 
8449
   mkdir conftest
 
8450
   cd conftest
 
8451
   mkdir out
 
8452
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8453
 
 
8454
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
8455
   # Insert the option either (1) after the last *FLAGS variable, or
 
8456
   # (2) before a word containing "conftest.", or (3) at the end.
 
8457
   # Note that $ac_compile itself does not contain backslashes and begins
 
8458
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
8459
   lt_compile=`echo "$ac_compile" | $SED \
 
8460
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
8461
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
8462
   -e 's:$: $lt_compiler_flag:'`
 
8463
   (eval echo "\"\$as_me:8463: $lt_compile\"" >&5)
 
8464
   (eval "$lt_compile" 2>out/conftest.err)
 
8465
   ac_status=$?
 
8466
   cat out/conftest.err >&5
 
8467
   echo "$as_me:8467: \$? = $ac_status" >&5
 
8468
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
8469
   then
 
8470
     # The compiler can only warn and ignore the option if not recognized
 
8471
     # So say no if there are warnings
 
8472
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
8473
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
8474
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
8475
       lt_cv_prog_compiler_c_o=yes
 
8476
     fi
 
8477
   fi
 
8478
   chmod u+w . 2>&5
 
8479
   $RM conftest*
 
8480
   # SGI C++ compiler will create directory out/ii_files/ for
 
8481
   # template instantiation
 
8482
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
8483
   $RM out/* && rmdir out
 
8484
   cd ..
 
8485
   $RM -r conftest
 
8486
   $RM conftest*
 
8487
 
 
8488
fi
 
8489
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
8490
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
8491
 
 
8492
 
 
8493
 
 
8494
 
 
8495
 
 
8496
 
 
8497
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8498
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
8499
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
8500
  $as_echo_n "(cached) " >&6
 
8501
else
 
8502
  lt_cv_prog_compiler_c_o=no
 
8503
   $RM -r conftest 2>/dev/null
 
8504
   mkdir conftest
 
8505
   cd conftest
 
8506
   mkdir out
 
8507
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8508
 
 
8509
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
8510
   # Insert the option either (1) after the last *FLAGS variable, or
 
8511
   # (2) before a word containing "conftest.", or (3) at the end.
 
8512
   # Note that $ac_compile itself does not contain backslashes and begins
 
8513
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
8514
   lt_compile=`echo "$ac_compile" | $SED \
 
8515
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
8516
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
8517
   -e 's:$: $lt_compiler_flag:'`
 
8518
   (eval echo "\"\$as_me:8518: $lt_compile\"" >&5)
 
8519
   (eval "$lt_compile" 2>out/conftest.err)
 
8520
   ac_status=$?
 
8521
   cat out/conftest.err >&5
 
8522
   echo "$as_me:8522: \$? = $ac_status" >&5
 
8523
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
8524
   then
 
8525
     # The compiler can only warn and ignore the option if not recognized
 
8526
     # So say no if there are warnings
 
8527
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
8528
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
8529
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
8530
       lt_cv_prog_compiler_c_o=yes
 
8531
     fi
 
8532
   fi
 
8533
   chmod u+w . 2>&5
 
8534
   $RM conftest*
 
8535
   # SGI C++ compiler will create directory out/ii_files/ for
 
8536
   # template instantiation
 
8537
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
8538
   $RM out/* && rmdir out
 
8539
   cd ..
 
8540
   $RM -r conftest
 
8541
   $RM conftest*
 
8542
 
 
8543
fi
 
8544
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
8545
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
8546
 
 
8547
 
 
8548
 
 
8549
 
 
8550
hard_links="nottested"
 
8551
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
 
8552
  # do not overwrite the value of need_locks provided by the user
 
8553
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
 
8554
$as_echo_n "checking if we can lock with hard links... " >&6; }
 
8555
  hard_links=yes
 
8556
  $RM conftest*
 
8557
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
8558
  touch conftest.a
 
8559
  ln conftest.a conftest.b 2>&5 || hard_links=no
 
8560
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
8561
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
 
8562
$as_echo "$hard_links" >&6; }
 
8563
  if test "$hard_links" = no; then
 
8564
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
8565
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
8566
    need_locks=warn
 
8567
  fi
 
8568
else
 
8569
  need_locks=no
 
8570
fi
 
8571
 
 
8572
 
 
8573
 
 
8574
 
 
8575
 
 
8576
 
 
8577
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
8578
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 
8579
 
 
8580
  runpath_var=
 
8581
  allow_undefined_flag=
 
8582
  always_export_symbols=no
 
8583
  archive_cmds=
 
8584
  archive_expsym_cmds=
 
8585
  compiler_needs_object=no
 
8586
  enable_shared_with_static_runtimes=no
 
8587
  export_dynamic_flag_spec=
 
8588
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
8589
  hardcode_automatic=no
 
8590
  hardcode_direct=no
 
8591
  hardcode_direct_absolute=no
 
8592
  hardcode_libdir_flag_spec=
 
8593
  hardcode_libdir_flag_spec_ld=
 
8594
  hardcode_libdir_separator=
 
8595
  hardcode_minus_L=no
 
8596
  hardcode_shlibpath_var=unsupported
 
8597
  inherit_rpath=no
 
8598
  link_all_deplibs=unknown
 
8599
  module_cmds=
 
8600
  module_expsym_cmds=
 
8601
  old_archive_from_new_cmds=
 
8602
  old_archive_from_expsyms_cmds=
 
8603
  thread_safe_flag_spec=
 
8604
  whole_archive_flag_spec=
 
8605
  # include_expsyms should be a list of space-separated symbols to be *always*
 
8606
  # included in the symbol list
 
8607
  include_expsyms=
 
8608
  # exclude_expsyms can be an extended regexp of symbols to exclude
 
8609
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
 
8610
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
 
8611
  # as well as any symbol that contains `d'.
 
8612
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
 
8613
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 
8614
  # platforms (ab)use it in PIC code, but their linkers get confused if
 
8615
  # the symbol is explicitly referenced.  Since portable code cannot
 
8616
  # rely on this symbol name, it's probably fine to never include it in
 
8617
  # preloaded symbol tables.
 
8618
  # Exclude shared library initialization/finalization symbols.
 
8619
  extract_expsyms_cmds=
 
8620
 
 
8621
  case $host_os in
 
8622
  cygwin* | mingw* | pw32* | cegcc*)
 
8623
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
 
8624
    # When not using gcc, we currently assume that we are using
 
8625
    # Microsoft Visual C++.
 
8626
    if test "$GCC" != yes; then
 
8627
      with_gnu_ld=no
 
8628
    fi
 
8629
    ;;
 
8630
  interix*)
 
8631
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
8632
    with_gnu_ld=yes
 
8633
    ;;
 
8634
  openbsd*)
 
8635
    with_gnu_ld=no
 
8636
    ;;
 
8637
  esac
 
8638
 
 
8639
  ld_shlibs=yes
 
8640
  if test "$with_gnu_ld" = yes; then
 
8641
    # If archive_cmds runs LD, not CC, wlarc should be empty
 
8642
    wlarc='${wl}'
 
8643
 
 
8644
    # Set some defaults for GNU ld with shared library support. These
 
8645
    # are reset later if shared libraries are not supported. Putting them
 
8646
    # here allows them to be overridden if necessary.
 
8647
    runpath_var=LD_RUN_PATH
 
8648
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
8649
    export_dynamic_flag_spec='${wl}--export-dynamic'
 
8650
    # ancient GNU ld didn't support --whole-archive et. al.
 
8651
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 
8652
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
8653
    else
 
8654
      whole_archive_flag_spec=
 
8655
    fi
 
8656
    supports_anon_versioning=no
 
8657
    case `$LD -v 2>&1` in
 
8658
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 
8659
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
8660
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
8661
      *\ 2.11.*) ;; # other 2.11 versions
 
8662
      *) supports_anon_versioning=yes ;;
 
8663
    esac
 
8664
 
 
8665
    # See if GNU ld supports shared libraries.
 
8666
    case $host_os in
 
8667
    aix[3-9]*)
 
8668
      # On AIX/PPC, the GNU linker is very broken
 
8669
      if test "$host_cpu" != ia64; then
 
8670
        ld_shlibs=no
 
8671
        cat <<_LT_EOF 1>&2
 
8672
 
 
8673
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
8674
*** to be unable to reliably create shared libraries on AIX.
 
8675
*** Therefore, libtool is disabling shared libraries support.  If you
 
8676
*** really care for shared libraries, you may want to modify your PATH
 
8677
*** so that a non-GNU linker is found, and then restart.
 
8678
 
 
8679
_LT_EOF
 
8680
      fi
 
8681
      ;;
 
8682
 
 
8683
    amigaos*)
 
8684
      case $host_cpu in
 
8685
      powerpc)
 
8686
            # see comment about AmigaOS4 .so support
 
8687
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8688
            archive_expsym_cmds=''
 
8689
        ;;
 
8690
      m68k)
 
8691
            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)'
 
8692
            hardcode_libdir_flag_spec='-L$libdir'
 
8693
            hardcode_minus_L=yes
 
8694
        ;;
 
8695
      esac
 
8696
      ;;
 
8697
 
 
8698
    beos*)
 
8699
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
8700
        allow_undefined_flag=unsupported
 
8701
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
8702
        # support --undefined.  This deserves some investigation.  FIXME
 
8703
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8704
      else
 
8705
        ld_shlibs=no
 
8706
      fi
 
8707
      ;;
 
8708
 
 
8709
    cygwin* | mingw* | pw32* | cegcc*)
 
8710
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 
8711
      # as there is no search path for DLLs.
 
8712
      hardcode_libdir_flag_spec='-L$libdir'
 
8713
      allow_undefined_flag=unsupported
 
8714
      always_export_symbols=no
 
8715
      enable_shared_with_static_runtimes=yes
 
8716
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
8717
 
 
8718
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 
8719
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
8720
        # If the export-symbols file already is a .def file (1st line
 
8721
        # is EXPORTS), use it as is; otherwise, prepend...
 
8722
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
8723
          cp $export_symbols $output_objdir/$soname.def;
 
8724
        else
 
8725
          echo EXPORTS > $output_objdir/$soname.def;
 
8726
          cat $export_symbols >> $output_objdir/$soname.def;
 
8727
        fi~
 
8728
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
8729
      else
 
8730
        ld_shlibs=no
 
8731
      fi
 
8732
      ;;
 
8733
 
 
8734
    interix[3-9]*)
 
8735
      hardcode_direct=no
 
8736
      hardcode_shlibpath_var=no
 
8737
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
8738
      export_dynamic_flag_spec='${wl}-E'
 
8739
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
8740
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
8741
      # default) and relocated if they conflict, which is a slow very memory
 
8742
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
8743
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
8744
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
8745
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
8746
      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'
 
8747
      ;;
 
8748
 
 
8749
    gnu* | linux* | tpf* | k*bsd*-gnu)
 
8750
      tmp_diet=no
 
8751
      if test "$host_os" = linux-dietlibc; then
 
8752
        case $cc_basename in
 
8753
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
 
8754
        esac
 
8755
      fi
 
8756
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 
8757
         && test "$tmp_diet" = no
 
8758
      then
 
8759
        tmp_addflag=
 
8760
        tmp_sharedflag='-shared'
 
8761
        case $cc_basename,$host_cpu in
 
8762
        pgcc*)                          # Portland Group C compiler
 
8763
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
8764
          tmp_addflag=' $pic_flag'
 
8765
          ;;
 
8766
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
 
8767
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
8768
          tmp_addflag=' $pic_flag -Mnomain' ;;
 
8769
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
 
8770
          tmp_addflag=' -i_dynamic' ;;
 
8771
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
 
8772
          tmp_addflag=' -i_dynamic -nofor_main' ;;
 
8773
        ifc* | ifort*)                  # Intel Fortran compiler
 
8774
          tmp_addflag=' -nofor_main' ;;
 
8775
        lf95*)                          # Lahey Fortran 8.1
 
8776
          whole_archive_flag_spec=
 
8777
          tmp_sharedflag='--shared' ;;
 
8778
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
8779
          tmp_sharedflag='-qmkshrobj'
 
8780
          tmp_addflag= ;;
 
8781
        esac
 
8782
        case `$CC -V 2>&1 | sed 5q` in
 
8783
        *Sun\ C*)                       # Sun C 5.9
 
8784
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
8785
          compiler_needs_object=yes
 
8786
          tmp_sharedflag='-G' ;;
 
8787
        *Sun\ F*)                       # Sun Fortran 8.3
 
8788
          tmp_sharedflag='-G' ;;
 
8789
        esac
 
8790
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8791
 
 
8792
        if test "x$supports_anon_versioning" = xyes; then
 
8793
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
8794
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
8795
            echo "local: *; };" >> $output_objdir/$libname.ver~
 
8796
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
8797
        fi
 
8798
 
 
8799
        case $cc_basename in
 
8800
        xlf*)
 
8801
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 
8802
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
 
8803
          hardcode_libdir_flag_spec=
 
8804
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
8805
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
8806
          if test "x$supports_anon_versioning" = xyes; then
 
8807
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
8808
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
8809
              echo "local: *; };" >> $output_objdir/$libname.ver~
 
8810
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
8811
          fi
 
8812
          ;;
 
8813
        esac
 
8814
      else
 
8815
        ld_shlibs=no
 
8816
      fi
 
8817
      ;;
 
8818
 
 
8819
    netbsd*)
 
8820
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
8821
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 
8822
        wlarc=
 
8823
      else
 
8824
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8825
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
8826
      fi
 
8827
      ;;
 
8828
 
 
8829
    solaris*)
 
8830
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
 
8831
        ld_shlibs=no
 
8832
        cat <<_LT_EOF 1>&2
 
8833
 
 
8834
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
 
8835
*** create shared libraries on Solaris systems.  Therefore, libtool
 
8836
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
8837
*** binutils to release 2.9.1 or newer.  Another option is to modify
 
8838
*** your PATH or compiler configuration so that the native linker is
 
8839
*** used, and then restart.
 
8840
 
 
8841
_LT_EOF
 
8842
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
8843
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8844
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
8845
      else
 
8846
        ld_shlibs=no
 
8847
      fi
 
8848
      ;;
 
8849
 
 
8850
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
8851
      case `$LD -v 2>&1` in
 
8852
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
8853
        ld_shlibs=no
 
8854
        cat <<_LT_EOF 1>&2
 
8855
 
 
8856
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
8857
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
8858
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
8859
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
8860
*** your PATH or compiler configuration so that the native linker is
 
8861
*** used, and then restart.
 
8862
 
 
8863
_LT_EOF
 
8864
        ;;
 
8865
        *)
 
8866
          # For security reasons, it is highly recommended that you always
 
8867
          # use absolute paths for naming shared libraries, and exclude the
 
8868
          # DT_RUNPATH tag from executables and libraries.  But doing so
 
8869
          # requires that you compile everything twice, which is a pain.
 
8870
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
8871
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
8872
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8873
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
8874
          else
 
8875
            ld_shlibs=no
 
8876
          fi
 
8877
        ;;
 
8878
      esac
 
8879
      ;;
 
8880
 
 
8881
    sunos4*)
 
8882
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
8883
      wlarc=
 
8884
      hardcode_direct=yes
 
8885
      hardcode_shlibpath_var=no
 
8886
      ;;
 
8887
 
 
8888
    *)
 
8889
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
8890
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8891
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
8892
      else
 
8893
        ld_shlibs=no
 
8894
      fi
 
8895
      ;;
 
8896
    esac
 
8897
 
 
8898
    if test "$ld_shlibs" = no; then
 
8899
      runpath_var=
 
8900
      hardcode_libdir_flag_spec=
 
8901
      export_dynamic_flag_spec=
 
8902
      whole_archive_flag_spec=
 
8903
    fi
 
8904
  else
 
8905
    # PORTME fill in a description of your system's linker (not GNU ld)
 
8906
    case $host_os in
 
8907
    aix3*)
 
8908
      allow_undefined_flag=unsupported
 
8909
      always_export_symbols=yes
 
8910
      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'
 
8911
      # Note: this linker hardcodes the directories in LIBPATH if there
 
8912
      # are no directories specified by -L.
 
8913
      hardcode_minus_L=yes
 
8914
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
 
8915
        # Neither direct hardcoding nor static linking is supported with a
 
8916
        # broken collect2.
 
8917
        hardcode_direct=unsupported
 
8918
      fi
 
8919
      ;;
 
8920
 
 
8921
    aix[4-9]*)
 
8922
      if test "$host_cpu" = ia64; then
 
8923
        # On IA64, the linker does run time linking by default, so we don't
 
8924
        # have to do anything special.
 
8925
        aix_use_runtimelinking=no
 
8926
        exp_sym_flag='-Bexport'
 
8927
        no_entry_flag=""
 
8928
      else
 
8929
        # If we're using GNU nm, then we don't want the "-C" option.
 
8930
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
8931
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
8932
          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
 
8933
        else
 
8934
          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'
 
8935
        fi
 
8936
        aix_use_runtimelinking=no
 
8937
 
 
8938
        # Test if we are trying to use run time linking or normal
 
8939
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 
8940
        # need to do runtime linking.
 
8941
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
 
8942
          for ld_flag in $LDFLAGS; do
 
8943
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
8944
            aix_use_runtimelinking=yes
 
8945
            break
 
8946
          fi
 
8947
          done
 
8948
          ;;
 
8949
        esac
 
8950
 
 
8951
        exp_sym_flag='-bexport'
 
8952
        no_entry_flag='-bnoentry'
 
8953
      fi
 
8954
 
 
8955
      # When large executables or shared objects are built, AIX ld can
 
8956
      # have problems creating the table of contents.  If linking a library
 
8957
      # or program results in "error TOC overflow" add -mminimal-toc to
 
8958
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 
8959
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
8960
 
 
8961
      archive_cmds=''
 
8962
      hardcode_direct=yes
 
8963
      hardcode_direct_absolute=yes
 
8964
      hardcode_libdir_separator=':'
 
8965
      link_all_deplibs=yes
 
8966
      file_list_spec='${wl}-f,'
 
8967
 
 
8968
      if test "$GCC" = yes; then
 
8969
        case $host_os in aix4.[012]|aix4.[012].*)
 
8970
        # We only want to do this on AIX 4.2 and lower, the check
 
8971
        # below for broken collect2 doesn't work under 4.3+
 
8972
          collect2name=`${CC} -print-prog-name=collect2`
 
8973
          if test -f "$collect2name" &&
 
8974
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
 
8975
          then
 
8976
          # We have reworked collect2
 
8977
          :
 
8978
          else
 
8979
          # We have old collect2
 
8980
          hardcode_direct=unsupported
 
8981
          # It fails to find uninstalled libraries when the uninstalled
 
8982
          # path is not listed in the libpath.  Setting hardcode_minus_L
 
8983
          # to unsupported forces relinking
 
8984
          hardcode_minus_L=yes
 
8985
          hardcode_libdir_flag_spec='-L$libdir'
 
8986
          hardcode_libdir_separator=
 
8987
          fi
 
8988
          ;;
 
8989
        esac
 
8990
        shared_flag='-shared'
 
8991
        if test "$aix_use_runtimelinking" = yes; then
 
8992
          shared_flag="$shared_flag "'${wl}-G'
 
8993
        fi
 
8994
      else
 
8995
        # not using gcc
 
8996
        if test "$host_cpu" = ia64; then
 
8997
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
8998
        # chokes on -Wl,-G. The following line is correct:
 
8999
          shared_flag='-G'
 
9000
        else
 
9001
          if test "$aix_use_runtimelinking" = yes; then
 
9002
            shared_flag='${wl}-G'
 
9003
          else
 
9004
            shared_flag='${wl}-bM:SRE'
 
9005
          fi
 
9006
        fi
 
9007
      fi
 
9008
 
 
9009
      export_dynamic_flag_spec='${wl}-bexpall'
 
9010
      # It seems that -bexpall does not export symbols beginning with
 
9011
      # underscore (_), so it is better to generate a list of symbols to export.
 
9012
      always_export_symbols=yes
 
9013
      if test "$aix_use_runtimelinking" = yes; then
 
9014
        # Warning - without using the other runtime loading flags (-brtl),
 
9015
        # -berok will link without error, but may produce a broken library.
 
9016
        allow_undefined_flag='-berok'
 
9017
        # Determine the default libpath from the value encoded in an
 
9018
        # empty executable.
 
9019
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9020
/* end confdefs.h.  */
 
9021
 
 
9022
int
 
9023
main ()
 
9024
{
 
9025
 
 
9026
  ;
 
9027
  return 0;
 
9028
}
 
9029
_ACEOF
 
9030
if ac_fn_c_try_link "$LINENO"; then :
 
9031
 
 
9032
lt_aix_libpath_sed='
 
9033
    /Import File Strings/,/^$/ {
 
9034
        /^0/ {
 
9035
            s/^0  *\(.*\)$/\1/
 
9036
            p
 
9037
        }
 
9038
    }'
 
9039
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9040
# Check for a 64-bit object if we didn't find anything.
 
9041
if test -z "$aix_libpath"; then
 
9042
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9043
fi
 
9044
fi
 
9045
rm -f core conftest.err conftest.$ac_objext \
 
9046
    conftest$ac_exeext conftest.$ac_ext
 
9047
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
9048
 
 
9049
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
9050
        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
9051
      else
 
9052
        if test "$host_cpu" = ia64; then
 
9053
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
 
9054
          allow_undefined_flag="-z nodefs"
 
9055
          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"
 
9056
        else
 
9057
         # Determine the default libpath from the value encoded in an
 
9058
         # empty executable.
 
9059
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9060
/* end confdefs.h.  */
 
9061
 
 
9062
int
 
9063
main ()
 
9064
{
 
9065
 
 
9066
  ;
 
9067
  return 0;
 
9068
}
 
9069
_ACEOF
 
9070
if ac_fn_c_try_link "$LINENO"; then :
 
9071
 
 
9072
lt_aix_libpath_sed='
 
9073
    /Import File Strings/,/^$/ {
 
9074
        /^0/ {
 
9075
            s/^0  *\(.*\)$/\1/
 
9076
            p
 
9077
        }
 
9078
    }'
 
9079
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9080
# Check for a 64-bit object if we didn't find anything.
 
9081
if test -z "$aix_libpath"; then
 
9082
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9083
fi
 
9084
fi
 
9085
rm -f core conftest.err conftest.$ac_objext \
 
9086
    conftest$ac_exeext conftest.$ac_ext
 
9087
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
9088
 
 
9089
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
9090
          # Warning - without using the other run time loading flags,
 
9091
          # -berok will link without error, but may produce a broken library.
 
9092
          no_undefined_flag=' ${wl}-bernotok'
 
9093
          allow_undefined_flag=' ${wl}-berok'
 
9094
          # Exported symbols can be pulled into shared objects from archives
 
9095
          whole_archive_flag_spec='$convenience'
 
9096
          archive_cmds_need_lc=yes
 
9097
          # This is similar to how AIX traditionally builds its shared libraries.
 
9098
          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'
 
9099
        fi
 
9100
      fi
 
9101
      ;;
 
9102
 
 
9103
    amigaos*)
 
9104
      case $host_cpu in
 
9105
      powerpc)
 
9106
            # see comment about AmigaOS4 .so support
 
9107
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9108
            archive_expsym_cmds=''
 
9109
        ;;
 
9110
      m68k)
 
9111
            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)'
 
9112
            hardcode_libdir_flag_spec='-L$libdir'
 
9113
            hardcode_minus_L=yes
 
9114
        ;;
 
9115
      esac
 
9116
      ;;
 
9117
 
 
9118
    bsdi[45]*)
 
9119
      export_dynamic_flag_spec=-rdynamic
 
9120
      ;;
 
9121
 
 
9122
    cygwin* | mingw* | pw32* | cegcc*)
 
9123
      # When not using gcc, we currently assume that we are using
 
9124
      # Microsoft Visual C++.
 
9125
      # hardcode_libdir_flag_spec is actually meaningless, as there is
 
9126
      # no search path for DLLs.
 
9127
      hardcode_libdir_flag_spec=' '
 
9128
      allow_undefined_flag=unsupported
 
9129
      # Tell ltmain to make .lib files, not .a files.
 
9130
      libext=lib
 
9131
      # Tell ltmain to make .dll files, not .so files.
 
9132
      shrext_cmds=".dll"
 
9133
      # FIXME: Setting linknames here is a bad hack.
 
9134
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
9135
      # The linker will automatically build a .lib file if we build a DLL.
 
9136
      old_archive_from_new_cmds='true'
 
9137
      # FIXME: Should let the user specify the lib program.
 
9138
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
9139
      fix_srcfile_path='`cygpath -w "$srcfile"`'
 
9140
      enable_shared_with_static_runtimes=yes
 
9141
      ;;
 
9142
 
 
9143
    darwin* | rhapsody*)
 
9144
 
 
9145
 
 
9146
  archive_cmds_need_lc=no
 
9147
  hardcode_direct=no
 
9148
  hardcode_automatic=yes
 
9149
  hardcode_shlibpath_var=unsupported
 
9150
  whole_archive_flag_spec=''
 
9151
  link_all_deplibs=yes
 
9152
  allow_undefined_flag="$_lt_dar_allow_undefined"
 
9153
  case $cc_basename in
 
9154
     ifort*) _lt_dar_can_shared=yes ;;
 
9155
     *) _lt_dar_can_shared=$GCC ;;
 
9156
  esac
 
9157
  if test "$_lt_dar_can_shared" = "yes"; then
 
9158
    output_verbose_link_cmd=echo
 
9159
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
9160
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
9161
    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}"
 
9162
    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}"
 
9163
 
 
9164
  else
 
9165
  ld_shlibs=no
 
9166
  fi
 
9167
 
 
9168
      ;;
 
9169
 
 
9170
    dgux*)
 
9171
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9172
      hardcode_libdir_flag_spec='-L$libdir'
 
9173
      hardcode_shlibpath_var=no
 
9174
      ;;
 
9175
 
 
9176
    freebsd1*)
 
9177
      ld_shlibs=no
 
9178
      ;;
 
9179
 
 
9180
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
 
9181
    # support.  Future versions do this automatically, but an explicit c++rt0.o
 
9182
    # does not break anything, and helps significantly (at the cost of a little
 
9183
    # extra space).
 
9184
    freebsd2.2*)
 
9185
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
 
9186
      hardcode_libdir_flag_spec='-R$libdir'
 
9187
      hardcode_direct=yes
 
9188
      hardcode_shlibpath_var=no
 
9189
      ;;
 
9190
 
 
9191
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
 
9192
    freebsd2*)
 
9193
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
9194
      hardcode_direct=yes
 
9195
      hardcode_minus_L=yes
 
9196
      hardcode_shlibpath_var=no
 
9197
      ;;
 
9198
 
 
9199
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
 
9200
    freebsd* | dragonfly*)
 
9201
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
9202
      hardcode_libdir_flag_spec='-R$libdir'
 
9203
      hardcode_direct=yes
 
9204
      hardcode_shlibpath_var=no
 
9205
      ;;
 
9206
 
 
9207
    hpux9*)
 
9208
      if test "$GCC" = yes; then
 
9209
        archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
9210
      else
 
9211
        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'
 
9212
      fi
 
9213
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
9214
      hardcode_libdir_separator=:
 
9215
      hardcode_direct=yes
 
9216
 
 
9217
      # hardcode_minus_L: Not really in the search PATH,
 
9218
      # but as the default location of the library.
 
9219
      hardcode_minus_L=yes
 
9220
      export_dynamic_flag_spec='${wl}-E'
 
9221
      ;;
 
9222
 
 
9223
    hpux10*)
 
9224
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
9225
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9226
      else
 
9227
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
9228
      fi
 
9229
      if test "$with_gnu_ld" = no; then
 
9230
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
9231
        hardcode_libdir_flag_spec_ld='+b $libdir'
 
9232
        hardcode_libdir_separator=:
 
9233
        hardcode_direct=yes
 
9234
        hardcode_direct_absolute=yes
 
9235
        export_dynamic_flag_spec='${wl}-E'
 
9236
        # hardcode_minus_L: Not really in the search PATH,
 
9237
        # but as the default location of the library.
 
9238
        hardcode_minus_L=yes
 
9239
      fi
 
9240
      ;;
 
9241
 
 
9242
    hpux11*)
 
9243
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
9244
        case $host_cpu in
 
9245
        hppa*64*)
 
9246
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9247
          ;;
 
9248
        ia64*)
 
9249
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
9250
          ;;
 
9251
        *)
 
9252
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9253
          ;;
 
9254
        esac
 
9255
      else
 
9256
        case $host_cpu in
 
9257
        hppa*64*)
 
9258
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9259
          ;;
 
9260
        ia64*)
 
9261
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
9262
          ;;
 
9263
        *)
 
9264
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9265
          ;;
 
9266
        esac
 
9267
      fi
 
9268
      if test "$with_gnu_ld" = no; then
 
9269
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
9270
        hardcode_libdir_separator=:
 
9271
 
 
9272
        case $host_cpu in
 
9273
        hppa*64*|ia64*)
 
9274
          hardcode_direct=no
 
9275
          hardcode_shlibpath_var=no
 
9276
          ;;
 
9277
        *)
 
9278
          hardcode_direct=yes
 
9279
          hardcode_direct_absolute=yes
 
9280
          export_dynamic_flag_spec='${wl}-E'
 
9281
 
 
9282
          # hardcode_minus_L: Not really in the search PATH,
 
9283
          # but as the default location of the library.
 
9284
          hardcode_minus_L=yes
 
9285
          ;;
 
9286
        esac
 
9287
      fi
 
9288
      ;;
 
9289
 
 
9290
    irix5* | irix6* | nonstopux*)
 
9291
      if test "$GCC" = yes; then
 
9292
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
9293
        # Try to use the -exported_symbol ld option, if it does not
 
9294
        # work, assume that -exports_file does not work either and
 
9295
        # implicitly export all symbols.
 
9296
        save_LDFLAGS="$LDFLAGS"
 
9297
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
9298
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9299
/* end confdefs.h.  */
 
9300
int foo(void) {}
 
9301
_ACEOF
 
9302
if ac_fn_c_try_link "$LINENO"; then :
 
9303
  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
 
9304
 
 
9305
fi
 
9306
rm -f core conftest.err conftest.$ac_objext \
 
9307
    conftest$ac_exeext conftest.$ac_ext
 
9308
        LDFLAGS="$save_LDFLAGS"
 
9309
      else
 
9310
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
9311
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
 
9312
      fi
 
9313
      archive_cmds_need_lc='no'
 
9314
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9315
      hardcode_libdir_separator=:
 
9316
      inherit_rpath=yes
 
9317
      link_all_deplibs=yes
 
9318
      ;;
 
9319
 
 
9320
    netbsd*)
 
9321
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
9322
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 
9323
      else
 
9324
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 
9325
      fi
 
9326
      hardcode_libdir_flag_spec='-R$libdir'
 
9327
      hardcode_direct=yes
 
9328
      hardcode_shlibpath_var=no
 
9329
      ;;
 
9330
 
 
9331
    newsos6)
 
9332
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9333
      hardcode_direct=yes
 
9334
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9335
      hardcode_libdir_separator=:
 
9336
      hardcode_shlibpath_var=no
 
9337
      ;;
 
9338
 
 
9339
    *nto* | *qnx*)
 
9340
      ;;
 
9341
 
 
9342
    openbsd*)
 
9343
      if test -f /usr/libexec/ld.so; then
 
9344
        hardcode_direct=yes
 
9345
        hardcode_shlibpath_var=no
 
9346
        hardcode_direct_absolute=yes
 
9347
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
9348
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
9349
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
9350
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
9351
          export_dynamic_flag_spec='${wl}-E'
 
9352
        else
 
9353
          case $host_os in
 
9354
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
9355
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
9356
             hardcode_libdir_flag_spec='-R$libdir'
 
9357
             ;;
 
9358
           *)
 
9359
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
9360
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
9361
             ;;
 
9362
          esac
 
9363
        fi
 
9364
      else
 
9365
        ld_shlibs=no
 
9366
      fi
 
9367
      ;;
 
9368
 
 
9369
    os2*)
 
9370
      hardcode_libdir_flag_spec='-L$libdir'
 
9371
      hardcode_minus_L=yes
 
9372
      allow_undefined_flag=unsupported
 
9373
      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'
 
9374
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
9375
      ;;
 
9376
 
 
9377
    osf3*)
 
9378
      if test "$GCC" = yes; then
 
9379
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
9380
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
9381
      else
 
9382
        allow_undefined_flag=' -expect_unresolved \*'
 
9383
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
9384
      fi
 
9385
      archive_cmds_need_lc='no'
 
9386
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9387
      hardcode_libdir_separator=:
 
9388
      ;;
 
9389
 
 
9390
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
 
9391
      if test "$GCC" = yes; then
 
9392
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
9393
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
9394
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9395
      else
 
9396
        allow_undefined_flag=' -expect_unresolved \*'
 
9397
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
9398
        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~
 
9399
        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
 
9400
 
 
9401
        # Both c and cxx compiler support -rpath directly
 
9402
        hardcode_libdir_flag_spec='-rpath $libdir'
 
9403
      fi
 
9404
      archive_cmds_need_lc='no'
 
9405
      hardcode_libdir_separator=:
 
9406
      ;;
 
9407
 
 
9408
    solaris*)
 
9409
      no_undefined_flag=' -z defs'
 
9410
      if test "$GCC" = yes; then
 
9411
        wlarc='${wl}'
 
9412
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9413
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
9414
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
9415
      else
 
9416
        case `$CC -V 2>&1` in
 
9417
        *"Compilers 5.0"*)
 
9418
          wlarc=''
 
9419
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9420
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
9421
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 
9422
          ;;
 
9423
        *)
 
9424
          wlarc='${wl}'
 
9425
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
9426
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
9427
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
9428
          ;;
 
9429
        esac
 
9430
      fi
 
9431
      hardcode_libdir_flag_spec='-R$libdir'
 
9432
      hardcode_shlibpath_var=no
 
9433
      case $host_os in
 
9434
      solaris2.[0-5] | solaris2.[0-5].*) ;;
 
9435
      *)
 
9436
        # The compiler driver will combine and reorder linker options,
 
9437
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
9438
        # but is careful enough not to reorder.
 
9439
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
9440
        if test "$GCC" = yes; then
 
9441
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
9442
        else
 
9443
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
 
9444
        fi
 
9445
        ;;
 
9446
      esac
 
9447
      link_all_deplibs=yes
 
9448
      ;;
 
9449
 
 
9450
    sunos4*)
 
9451
      if test "x$host_vendor" = xsequent; then
 
9452
        # Use $CC to link under sequent, because it throws in some extra .o
 
9453
        # files that make .init and .fini sections work.
 
9454
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
9455
      else
 
9456
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 
9457
      fi
 
9458
      hardcode_libdir_flag_spec='-L$libdir'
 
9459
      hardcode_direct=yes
 
9460
      hardcode_minus_L=yes
 
9461
      hardcode_shlibpath_var=no
 
9462
      ;;
 
9463
 
 
9464
    sysv4)
 
9465
      case $host_vendor in
 
9466
        sni)
 
9467
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9468
          hardcode_direct=yes # is this really true???
 
9469
        ;;
 
9470
        siemens)
 
9471
          ## LD is ld it makes a PLAMLIB
 
9472
          ## CC just makes a GrossModule.
 
9473
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 
9474
          reload_cmds='$CC -r -o $output$reload_objs'
 
9475
          hardcode_direct=no
 
9476
        ;;
 
9477
        motorola)
 
9478
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9479
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
 
9480
        ;;
 
9481
      esac
 
9482
      runpath_var='LD_RUN_PATH'
 
9483
      hardcode_shlibpath_var=no
 
9484
      ;;
 
9485
 
 
9486
    sysv4.3*)
 
9487
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9488
      hardcode_shlibpath_var=no
 
9489
      export_dynamic_flag_spec='-Bexport'
 
9490
      ;;
 
9491
 
 
9492
    sysv4*MP*)
 
9493
      if test -d /usr/nec; then
 
9494
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9495
        hardcode_shlibpath_var=no
 
9496
        runpath_var=LD_RUN_PATH
 
9497
        hardcode_runpath_var=yes
 
9498
        ld_shlibs=yes
 
9499
      fi
 
9500
      ;;
 
9501
 
 
9502
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
9503
      no_undefined_flag='${wl}-z,text'
 
9504
      archive_cmds_need_lc=no
 
9505
      hardcode_shlibpath_var=no
 
9506
      runpath_var='LD_RUN_PATH'
 
9507
 
 
9508
      if test "$GCC" = yes; then
 
9509
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9510
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9511
      else
 
9512
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9513
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9514
      fi
 
9515
      ;;
 
9516
 
 
9517
    sysv5* | sco3.2v5* | sco5v6*)
 
9518
      # Note: We can NOT use -z defs as we might desire, because we do not
 
9519
      # link with -lc, and that would cause any symbols used from libc to
 
9520
      # always be unresolved, which means just about no library would
 
9521
      # ever link correctly.  If we're not using GNU ld we use -z text
 
9522
      # though, which does catch some bad symbols but isn't as heavy-handed
 
9523
      # as -z defs.
 
9524
      no_undefined_flag='${wl}-z,text'
 
9525
      allow_undefined_flag='${wl}-z,nodefs'
 
9526
      archive_cmds_need_lc=no
 
9527
      hardcode_shlibpath_var=no
 
9528
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
 
9529
      hardcode_libdir_separator=':'
 
9530
      link_all_deplibs=yes
 
9531
      export_dynamic_flag_spec='${wl}-Bexport'
 
9532
      runpath_var='LD_RUN_PATH'
 
9533
 
 
9534
      if test "$GCC" = yes; then
 
9535
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9536
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9537
      else
 
9538
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9539
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9540
      fi
 
9541
      ;;
 
9542
 
 
9543
    uts4*)
 
9544
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9545
      hardcode_libdir_flag_spec='-L$libdir'
 
9546
      hardcode_shlibpath_var=no
 
9547
      ;;
 
9548
 
 
9549
    *)
 
9550
      ld_shlibs=no
 
9551
      ;;
 
9552
    esac
 
9553
 
 
9554
    if test x$host_vendor = xsni; then
 
9555
      case $host in
 
9556
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
9557
        export_dynamic_flag_spec='${wl}-Blargedynsym'
 
9558
        ;;
 
9559
      esac
 
9560
    fi
 
9561
  fi
 
9562
 
 
9563
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
 
9564
$as_echo "$ld_shlibs" >&6; }
 
9565
test "$ld_shlibs" = no && can_build_shared=no
 
9566
 
 
9567
with_gnu_ld=$with_gnu_ld
 
9568
 
 
9569
 
 
9570
 
 
9571
 
 
9572
 
 
9573
 
 
9574
 
 
9575
 
 
9576
 
 
9577
 
 
9578
 
 
9579
 
 
9580
 
 
9581
 
 
9582
 
 
9583
#
 
9584
# Do we need to explicitly link libc?
 
9585
#
 
9586
case "x$archive_cmds_need_lc" in
 
9587
x|xyes)
 
9588
  # Assume -lc should be added
 
9589
  archive_cmds_need_lc=yes
 
9590
 
 
9591
  if test "$enable_shared" = yes && test "$GCC" = yes; then
 
9592
    case $archive_cmds in
 
9593
    *'~'*)
 
9594
      # FIXME: we may have to deal with multi-command sequences.
 
9595
      ;;
 
9596
    '$CC '*)
 
9597
      # Test whether the compiler implicitly links with -lc since on some
 
9598
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
 
9599
      # to ld, don't add -lc before -lgcc.
 
9600
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 
9601
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
9602
      $RM conftest*
 
9603
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9604
 
 
9605
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
9606
  (eval $ac_compile) 2>&5
 
9607
  ac_status=$?
 
9608
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
9609
  test $ac_status = 0; } 2>conftest.err; then
 
9610
        soname=conftest
 
9611
        lib=conftest
 
9612
        libobjs=conftest.$ac_objext
 
9613
        deplibs=
 
9614
        wl=$lt_prog_compiler_wl
 
9615
        pic_flag=$lt_prog_compiler_pic
 
9616
        compiler_flags=-v
 
9617
        linker_flags=-v
 
9618
        verstring=
 
9619
        output_objdir=.
 
9620
        libname=conftest
 
9621
        lt_save_allow_undefined_flag=$allow_undefined_flag
 
9622
        allow_undefined_flag=
 
9623
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
9624
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
9625
  ac_status=$?
 
9626
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
9627
  test $ac_status = 0; }
 
9628
        then
 
9629
          archive_cmds_need_lc=no
 
9630
        else
 
9631
          archive_cmds_need_lc=yes
 
9632
        fi
 
9633
        allow_undefined_flag=$lt_save_allow_undefined_flag
 
9634
      else
 
9635
        cat conftest.err 1>&5
 
9636
      fi
 
9637
      $RM conftest*
 
9638
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
 
9639
$as_echo "$archive_cmds_need_lc" >&6; }
 
9640
      ;;
 
9641
    esac
 
9642
  fi
 
9643
  ;;
 
9644
esac
 
9645
 
 
9646
 
 
9647
 
 
9648
 
 
9649
 
 
9650
 
 
9651
 
 
9652
 
 
9653
 
 
9654
 
 
9655
 
 
9656
 
 
9657
 
 
9658
 
 
9659
 
 
9660
 
 
9661
 
 
9662
 
 
9663
 
 
9664
 
 
9665
 
 
9666
 
 
9667
 
 
9668
 
 
9669
 
 
9670
 
 
9671
 
 
9672
 
 
9673
 
 
9674
 
 
9675
 
 
9676
 
 
9677
 
 
9678
 
 
9679
 
 
9680
 
 
9681
 
 
9682
 
 
9683
 
 
9684
 
 
9685
 
 
9686
 
 
9687
 
 
9688
 
 
9689
 
 
9690
 
 
9691
 
 
9692
 
 
9693
 
 
9694
 
 
9695
 
 
9696
 
 
9697
 
 
9698
 
 
9699
 
 
9700
 
 
9701
 
 
9702
 
 
9703
 
 
9704
 
 
9705
 
 
9706
 
 
9707
 
 
9708
 
 
9709
 
 
9710
 
 
9711
 
 
9712
 
 
9713
 
 
9714
 
 
9715
 
 
9716
 
 
9717
 
 
9718
 
 
9719
 
 
9720
 
 
9721
 
 
9722
 
 
9723
 
 
9724
 
 
9725
 
 
9726
 
 
9727
 
 
9728
 
 
9729
 
 
9730
 
 
9731
 
 
9732
 
 
9733
 
 
9734
 
 
9735
 
 
9736
 
 
9737
 
 
9738
 
 
9739
 
 
9740
 
 
9741
 
 
9742
 
 
9743
 
 
9744
 
 
9745
 
 
9746
 
 
9747
 
 
9748
 
 
9749
 
 
9750
 
 
9751
 
 
9752
 
 
9753
 
 
9754
 
 
9755
 
 
9756
 
 
9757
 
 
9758
 
 
9759
 
 
9760
 
 
9761
 
 
9762
 
 
9763
 
 
9764
 
 
9765
 
 
9766
 
 
9767
 
 
9768
 
 
9769
 
 
9770
 
 
9771
 
 
9772
 
 
9773
 
 
9774
 
 
9775
 
 
9776
 
 
9777
 
 
9778
 
 
9779
 
 
9780
 
 
9781
 
 
9782
 
 
9783
 
 
9784
 
 
9785
 
 
9786
 
 
9787
 
 
9788
 
 
9789
 
 
9790
 
 
9791
 
 
9792
 
 
9793
 
 
9794
 
 
9795
 
 
9796
 
 
9797
 
 
9798
 
 
9799
 
 
9800
 
 
9801
 
 
9802
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
 
9803
$as_echo_n "checking dynamic linker characteristics... " >&6; }
 
9804
 
 
9805
if test "$GCC" = yes; then
 
9806
  case $host_os in
 
9807
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 
9808
    *) lt_awk_arg="/^libraries:/" ;;
 
9809
  esac
 
9810
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
9811
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
 
9812
    # if the path contains ";" then we assume it to be the separator
 
9813
    # otherwise default to the standard path separator (i.e. ":") - it is
 
9814
    # assumed that no part of a normal pathname contains ";" but that should
 
9815
    # okay in the real world where ";" in dirpaths is itself problematic.
 
9816
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
 
9817
  else
 
9818
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
9819
  fi
 
9820
  # Ok, now we have the path, separated by spaces, we can step through it
 
9821
  # and add multilib dir if necessary.
 
9822
  lt_tmp_lt_search_path_spec=
 
9823
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 
9824
  for lt_sys_path in $lt_search_path_spec; do
 
9825
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 
9826
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 
9827
    else
 
9828
      test -d "$lt_sys_path" && \
 
9829
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 
9830
    fi
 
9831
  done
 
9832
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
 
9833
BEGIN {RS=" "; FS="/|\n";} {
 
9834
  lt_foo="";
 
9835
  lt_count=0;
 
9836
  for (lt_i = NF; lt_i > 0; lt_i--) {
 
9837
    if ($lt_i != "" && $lt_i != ".") {
 
9838
      if ($lt_i == "..") {
 
9839
        lt_count++;
 
9840
      } else {
 
9841
        if (lt_count == 0) {
 
9842
          lt_foo="/" $lt_i lt_foo;
 
9843
        } else {
 
9844
          lt_count--;
 
9845
        }
 
9846
      }
 
9847
    }
 
9848
  }
 
9849
  if (lt_foo != "") { lt_freq[lt_foo]++; }
 
9850
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
 
9851
}'`
 
9852
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
 
9853
else
 
9854
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 
9855
fi
 
9856
library_names_spec=
 
9857
libname_spec='lib$name'
 
9858
soname_spec=
 
9859
shrext_cmds=".so"
 
9860
postinstall_cmds=
 
9861
postuninstall_cmds=
 
9862
finish_cmds=
 
9863
finish_eval=
 
9864
shlibpath_var=
 
9865
shlibpath_overrides_runpath=unknown
 
9866
version_type=none
 
9867
dynamic_linker="$host_os ld.so"
 
9868
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
9869
need_lib_prefix=unknown
 
9870
hardcode_into_libs=no
 
9871
 
 
9872
# when you set need_version to no, make sure it does not cause -set_version
 
9873
# flags to be left without arguments
 
9874
need_version=unknown
 
9875
 
 
9876
case $host_os in
 
9877
aix3*)
 
9878
  version_type=linux
 
9879
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 
9880
  shlibpath_var=LIBPATH
 
9881
 
 
9882
  # AIX 3 has no versioning support, so we append a major version to the name.
 
9883
  soname_spec='${libname}${release}${shared_ext}$major'
 
9884
  ;;
 
9885
 
 
9886
aix[4-9]*)
 
9887
  version_type=linux
 
9888
  need_lib_prefix=no
 
9889
  need_version=no
 
9890
  hardcode_into_libs=yes
 
9891
  if test "$host_cpu" = ia64; then
 
9892
    # AIX 5 supports IA64
 
9893
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 
9894
    shlibpath_var=LD_LIBRARY_PATH
 
9895
  else
 
9896
    # With GCC up to 2.95.x, collect2 would create an import file
 
9897
    # for dependence libraries.  The import file would start with
 
9898
    # the line `#! .'.  This would cause the generated library to
 
9899
    # depend on `.', always an invalid library.  This was fixed in
 
9900
    # development snapshots of GCC prior to 3.0.
 
9901
    case $host_os in
 
9902
      aix4 | aix4.[01] | aix4.[01].*)
 
9903
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 
9904
           echo ' yes '
 
9905
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
 
9906
        :
 
9907
      else
 
9908
        can_build_shared=no
 
9909
      fi
 
9910
      ;;
 
9911
    esac
 
9912
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 
9913
    # soname into executable. Probably we can add versioning support to
 
9914
    # collect2, so additional links can be useful in future.
 
9915
    if test "$aix_use_runtimelinking" = yes; then
 
9916
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 
9917
      # instead of lib<name>.a to let people know that these are not
 
9918
      # typical AIX shared libraries.
 
9919
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9920
    else
 
9921
      # We preserve .a as extension for shared libraries through AIX4.2
 
9922
      # and later when we are not doing run time linking.
 
9923
      library_names_spec='${libname}${release}.a $libname.a'
 
9924
      soname_spec='${libname}${release}${shared_ext}$major'
 
9925
    fi
 
9926
    shlibpath_var=LIBPATH
 
9927
  fi
 
9928
  ;;
 
9929
 
 
9930
amigaos*)
 
9931
  case $host_cpu in
 
9932
  powerpc)
 
9933
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
9934
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
9935
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9936
    ;;
 
9937
  m68k)
 
9938
    library_names_spec='$libname.ixlibrary $libname.a'
 
9939
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
9940
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
 
9941
    ;;
 
9942
  esac
 
9943
  ;;
 
9944
 
 
9945
beos*)
 
9946
  library_names_spec='${libname}${shared_ext}'
 
9947
  dynamic_linker="$host_os ld.so"
 
9948
  shlibpath_var=LIBRARY_PATH
 
9949
  ;;
 
9950
 
 
9951
bsdi[45]*)
 
9952
  version_type=linux
 
9953
  need_version=no
 
9954
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9955
  soname_spec='${libname}${release}${shared_ext}$major'
 
9956
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 
9957
  shlibpath_var=LD_LIBRARY_PATH
 
9958
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 
9959
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 
9960
  # the default ld.so.conf also contains /usr/contrib/lib and
 
9961
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 
9962
  # libtool to hard-code these into programs
 
9963
  ;;
 
9964
 
 
9965
cygwin* | mingw* | pw32* | cegcc*)
 
9966
  version_type=windows
 
9967
  shrext_cmds=".dll"
 
9968
  need_version=no
 
9969
  need_lib_prefix=no
 
9970
 
 
9971
  case $GCC,$host_os in
 
9972
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
9973
    library_names_spec='$libname.dll.a'
 
9974
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
9975
    postinstall_cmds='base_file=`basename \${file}`~
 
9976
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
9977
      dldir=$destdir/`dirname \$dlpath`~
 
9978
      test -d \$dldir || mkdir -p \$dldir~
 
9979
      $install_prog $dir/$dlname \$dldir/$dlname~
 
9980
      chmod a+x \$dldir/$dlname~
 
9981
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
9982
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
9983
      fi'
 
9984
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
9985
      dlpath=$dir/\$dldll~
 
9986
       $RM \$dlpath'
 
9987
    shlibpath_overrides_runpath=yes
 
9988
 
 
9989
    case $host_os in
 
9990
    cygwin*)
 
9991
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 
9992
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
9993
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
9994
      ;;
 
9995
    mingw* | cegcc*)
 
9996
      # MinGW DLLs use traditional 'lib' prefix
 
9997
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
9998
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
9999
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
10000
        # It is most probably a Windows format PATH printed by
 
10001
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
 
10002
        # path with ; separators, and with drive letters. We can handle the
 
10003
        # drive letters (cygwin fileutils understands them), so leave them,
 
10004
        # especially as we might pass files found there to a mingw objdump,
 
10005
        # which wouldn't understand a cygwinified path. Ahh.
 
10006
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
10007
      else
 
10008
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
10009
      fi
 
10010
      ;;
 
10011
    pw32*)
 
10012
      # pw32 DLLs use 'pw' prefix rather than 'lib'
 
10013
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
10014
      ;;
 
10015
    esac
 
10016
    ;;
 
10017
 
 
10018
  *)
 
10019
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
10020
    ;;
 
10021
  esac
 
10022
  dynamic_linker='Win32 ld.exe'
 
10023
  # FIXME: first we should search . and the directory the executable is in
 
10024
  shlibpath_var=PATH
 
10025
  ;;
 
10026
 
 
10027
darwin* | rhapsody*)
 
10028
  dynamic_linker="$host_os dyld"
 
10029
  version_type=darwin
 
10030
  need_lib_prefix=no
 
10031
  need_version=no
 
10032
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
10033
  soname_spec='${libname}${release}${major}$shared_ext'
 
10034
  shlibpath_overrides_runpath=yes
 
10035
  shlibpath_var=DYLD_LIBRARY_PATH
 
10036
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 
10037
 
 
10038
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
 
10039
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 
10040
  ;;
 
10041
 
 
10042
dgux*)
 
10043
  version_type=linux
 
10044
  need_lib_prefix=no
 
10045
  need_version=no
 
10046
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 
10047
  soname_spec='${libname}${release}${shared_ext}$major'
 
10048
  shlibpath_var=LD_LIBRARY_PATH
 
10049
  ;;
 
10050
 
 
10051
freebsd1*)
 
10052
  dynamic_linker=no
 
10053
  ;;
 
10054
 
 
10055
freebsd* | dragonfly*)
 
10056
  # DragonFly does not have aout.  When/if they implement a new
 
10057
  # versioning mechanism, adjust this.
 
10058
  if test -x /usr/bin/objformat; then
 
10059
    objformat=`/usr/bin/objformat`
 
10060
  else
 
10061
    case $host_os in
 
10062
    freebsd[123]*) objformat=aout ;;
 
10063
    *) objformat=elf ;;
 
10064
    esac
 
10065
  fi
 
10066
  version_type=freebsd-$objformat
 
10067
  case $version_type in
 
10068
    freebsd-elf*)
 
10069
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
10070
      need_version=no
 
10071
      need_lib_prefix=no
 
10072
      ;;
 
10073
    freebsd-*)
 
10074
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 
10075
      need_version=yes
 
10076
      ;;
 
10077
  esac
 
10078
  shlibpath_var=LD_LIBRARY_PATH
 
10079
  case $host_os in
 
10080
  freebsd2*)
 
10081
    shlibpath_overrides_runpath=yes
 
10082
    ;;
 
10083
  freebsd3.[01]* | freebsdelf3.[01]*)
 
10084
    shlibpath_overrides_runpath=yes
 
10085
    hardcode_into_libs=yes
 
10086
    ;;
 
10087
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
10088
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
 
10089
    shlibpath_overrides_runpath=no
 
10090
    hardcode_into_libs=yes
 
10091
    ;;
 
10092
  *) # from 4.6 on, and DragonFly
 
10093
    shlibpath_overrides_runpath=yes
 
10094
    hardcode_into_libs=yes
 
10095
    ;;
 
10096
  esac
 
10097
  ;;
 
10098
 
 
10099
gnu*)
 
10100
  version_type=linux
 
10101
  need_lib_prefix=no
 
10102
  need_version=no
 
10103
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
10104
  soname_spec='${libname}${release}${shared_ext}$major'
 
10105
  shlibpath_var=LD_LIBRARY_PATH
 
10106
  hardcode_into_libs=yes
 
10107
  ;;
 
10108
 
 
10109
hpux9* | hpux10* | hpux11*)
 
10110
  # Give a soname corresponding to the major version so that dld.sl refuses to
 
10111
  # link against other versions.
 
10112
  version_type=sunos
 
10113
  need_lib_prefix=no
 
10114
  need_version=no
 
10115
  case $host_cpu in
 
10116
  ia64*)
 
10117
    shrext_cmds='.so'
 
10118
    hardcode_into_libs=yes
 
10119
    dynamic_linker="$host_os dld.so"
 
10120
    shlibpath_var=LD_LIBRARY_PATH
 
10121
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
10122
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10123
    soname_spec='${libname}${release}${shared_ext}$major'
 
10124
    if test "X$HPUX_IA64_MODE" = X32; then
 
10125
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 
10126
    else
 
10127
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 
10128
    fi
 
10129
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
10130
    ;;
 
10131
  hppa*64*)
 
10132
    shrext_cmds='.sl'
 
10133
    hardcode_into_libs=yes
 
10134
    dynamic_linker="$host_os dld.sl"
 
10135
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
10136
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
10137
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10138
    soname_spec='${libname}${release}${shared_ext}$major'
 
10139
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
10140
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
10141
    ;;
 
10142
  *)
 
10143
    shrext_cmds='.sl'
 
10144
    dynamic_linker="$host_os dld.sl"
 
10145
    shlibpath_var=SHLIB_PATH
 
10146
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 
10147
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10148
    soname_spec='${libname}${release}${shared_ext}$major'
 
10149
    ;;
 
10150
  esac
 
10151
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
10152
  postinstall_cmds='chmod 555 $lib'
 
10153
  ;;
 
10154
 
 
10155
interix[3-9]*)
 
10156
  version_type=linux
 
10157
  need_lib_prefix=no
 
10158
  need_version=no
 
10159
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
10160
  soname_spec='${libname}${release}${shared_ext}$major'
 
10161
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
10162
  shlibpath_var=LD_LIBRARY_PATH
 
10163
  shlibpath_overrides_runpath=no
 
10164
  hardcode_into_libs=yes
 
10165
  ;;
 
10166
 
 
10167
irix5* | irix6* | nonstopux*)
 
10168
  case $host_os in
 
10169
    nonstopux*) version_type=nonstopux ;;
 
10170
    *)
 
10171
        if test "$lt_cv_prog_gnu_ld" = yes; then
 
10172
                version_type=linux
 
10173
        else
 
10174
                version_type=irix
 
10175
        fi ;;
 
10176
  esac
 
10177
  need_lib_prefix=no
 
10178
  need_version=no
 
10179
  soname_spec='${libname}${release}${shared_ext}$major'
 
10180
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 
10181
  case $host_os in
 
10182
  irix5* | nonstopux*)
 
10183
    libsuff= shlibsuff=
 
10184
    ;;
 
10185
  *)
 
10186
    case $LD in # libtool.m4 will add one of these switches to LD
 
10187
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 
10188
      libsuff= shlibsuff= libmagic=32-bit;;
 
10189
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 
10190
      libsuff=32 shlibsuff=N32 libmagic=N32;;
 
10191
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 
10192
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
 
10193
    *) libsuff= shlibsuff= libmagic=never-match;;
 
10194
    esac
 
10195
    ;;
 
10196
  esac
 
10197
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 
10198
  shlibpath_overrides_runpath=no
 
10199
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
10200
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 
10201
  hardcode_into_libs=yes
 
10202
  ;;
 
10203
 
 
10204
# No shared lib support for Linux oldld, aout, or coff.
 
10205
linux*oldld* | linux*aout* | linux*coff*)
 
10206
  dynamic_linker=no
 
10207
  ;;
 
10208
 
 
10209
# This must be Linux ELF.
 
10210
linux* | k*bsd*-gnu)
 
10211
  version_type=linux
 
10212
  need_lib_prefix=no
 
10213
  need_version=no
 
10214
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10215
  soname_spec='${libname}${release}${shared_ext}$major'
 
10216
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 
10217
  shlibpath_var=LD_LIBRARY_PATH
 
10218
  shlibpath_overrides_runpath=no
 
10219
  # Some binutils ld are patched to set DT_RUNPATH
 
10220
  save_LDFLAGS=$LDFLAGS
 
10221
  save_libdir=$libdir
 
10222
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
10223
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
10224
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10225
/* end confdefs.h.  */
 
10226
 
 
10227
int
 
10228
main ()
 
10229
{
 
10230
 
 
10231
  ;
 
10232
  return 0;
 
10233
}
 
10234
_ACEOF
 
10235
if ac_fn_c_try_link "$LINENO"; then :
 
10236
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
 
10237
  shlibpath_overrides_runpath=yes
 
10238
fi
 
10239
fi
 
10240
rm -f core conftest.err conftest.$ac_objext \
 
10241
    conftest$ac_exeext conftest.$ac_ext
 
10242
  LDFLAGS=$save_LDFLAGS
 
10243
  libdir=$save_libdir
 
10244
 
 
10245
  # This implies no fast_install, which is unacceptable.
 
10246
  # Some rework will be needed to allow for fast_install
 
10247
  # before this can be enabled.
 
10248
  hardcode_into_libs=yes
 
10249
 
 
10250
  # Append ld.so.conf contents to the search path
 
10251
  if test -f /etc/ld.so.conf; then
 
10252
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
10253
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
10254
  fi
 
10255
 
 
10256
  # We used to test for /lib/ld.so.1 and disable shared libraries on
 
10257
  # powerpc, because MkLinux only supported shared libraries with the
 
10258
  # GNU dynamic linker.  Since this was broken with cross compilers,
 
10259
  # most powerpc-linux boxes support dynamic linking these days and
 
10260
  # people can always --disable-shared, the test was removed, and we
 
10261
  # assume the GNU/Linux dynamic linker is in use.
 
10262
  dynamic_linker='GNU/Linux ld.so'
 
10263
  ;;
 
10264
 
 
10265
netbsd*)
 
10266
  version_type=sunos
 
10267
  need_lib_prefix=no
 
10268
  need_version=no
 
10269
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
10270
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
10271
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
10272
    dynamic_linker='NetBSD (a.out) ld.so'
 
10273
  else
 
10274
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
10275
    soname_spec='${libname}${release}${shared_ext}$major'
 
10276
    dynamic_linker='NetBSD ld.elf_so'
 
10277
  fi
 
10278
  shlibpath_var=LD_LIBRARY_PATH
 
10279
  shlibpath_overrides_runpath=yes
 
10280
  hardcode_into_libs=yes
 
10281
  ;;
 
10282
 
 
10283
newsos6)
 
10284
  version_type=linux
 
10285
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10286
  shlibpath_var=LD_LIBRARY_PATH
 
10287
  shlibpath_overrides_runpath=yes
 
10288
  ;;
 
10289
 
 
10290
*nto* | *qnx*)
 
10291
  version_type=qnx
 
10292
  need_lib_prefix=no
 
10293
  need_version=no
 
10294
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10295
  soname_spec='${libname}${release}${shared_ext}$major'
 
10296
  shlibpath_var=LD_LIBRARY_PATH
 
10297
  shlibpath_overrides_runpath=no
 
10298
  hardcode_into_libs=yes
 
10299
  dynamic_linker='ldqnx.so'
 
10300
  ;;
 
10301
 
 
10302
openbsd*)
 
10303
  version_type=sunos
 
10304
  sys_lib_dlsearch_path_spec="/usr/lib"
 
10305
  need_lib_prefix=no
 
10306
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
10307
  case $host_os in
 
10308
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
10309
    *)                          need_version=no  ;;
 
10310
  esac
 
10311
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
10312
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
10313
  shlibpath_var=LD_LIBRARY_PATH
 
10314
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
10315
    case $host_os in
 
10316
      openbsd2.[89] | openbsd2.[89].*)
 
10317
        shlibpath_overrides_runpath=no
 
10318
        ;;
 
10319
      *)
 
10320
        shlibpath_overrides_runpath=yes
 
10321
        ;;
 
10322
      esac
 
10323
  else
 
10324
    shlibpath_overrides_runpath=yes
 
10325
  fi
 
10326
  ;;
 
10327
 
 
10328
os2*)
 
10329
  libname_spec='$name'
 
10330
  shrext_cmds=".dll"
 
10331
  need_lib_prefix=no
 
10332
  library_names_spec='$libname${shared_ext} $libname.a'
 
10333
  dynamic_linker='OS/2 ld.exe'
 
10334
  shlibpath_var=LIBPATH
 
10335
  ;;
 
10336
 
 
10337
osf3* | osf4* | osf5*)
 
10338
  version_type=osf
 
10339
  need_lib_prefix=no
 
10340
  need_version=no
 
10341
  soname_spec='${libname}${release}${shared_ext}$major'
 
10342
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10343
  shlibpath_var=LD_LIBRARY_PATH
 
10344
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 
10345
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 
10346
  ;;
 
10347
 
 
10348
rdos*)
 
10349
  dynamic_linker=no
 
10350
  ;;
 
10351
 
 
10352
solaris*)
 
10353
  version_type=linux
 
10354
  need_lib_prefix=no
 
10355
  need_version=no
 
10356
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10357
  soname_spec='${libname}${release}${shared_ext}$major'
 
10358
  shlibpath_var=LD_LIBRARY_PATH
 
10359
  shlibpath_overrides_runpath=yes
 
10360
  hardcode_into_libs=yes
 
10361
  # ldd complains unless libraries are executable
 
10362
  postinstall_cmds='chmod +x $lib'
 
10363
  ;;
 
10364
 
 
10365
sunos4*)
 
10366
  version_type=sunos
 
10367
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
10368
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 
10369
  shlibpath_var=LD_LIBRARY_PATH
 
10370
  shlibpath_overrides_runpath=yes
 
10371
  if test "$with_gnu_ld" = yes; then
 
10372
    need_lib_prefix=no
 
10373
  fi
 
10374
  need_version=yes
 
10375
  ;;
 
10376
 
 
10377
sysv4 | sysv4.3*)
 
10378
  version_type=linux
 
10379
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10380
  soname_spec='${libname}${release}${shared_ext}$major'
 
10381
  shlibpath_var=LD_LIBRARY_PATH
 
10382
  case $host_vendor in
 
10383
    sni)
 
10384
      shlibpath_overrides_runpath=no
 
10385
      need_lib_prefix=no
 
10386
      runpath_var=LD_RUN_PATH
 
10387
      ;;
 
10388
    siemens)
 
10389
      need_lib_prefix=no
 
10390
      ;;
 
10391
    motorola)
 
10392
      need_lib_prefix=no
 
10393
      need_version=no
 
10394
      shlibpath_overrides_runpath=no
 
10395
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 
10396
      ;;
 
10397
  esac
 
10398
  ;;
 
10399
 
 
10400
sysv4*MP*)
 
10401
  if test -d /usr/nec ;then
 
10402
    version_type=linux
 
10403
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 
10404
    soname_spec='$libname${shared_ext}.$major'
 
10405
    shlibpath_var=LD_LIBRARY_PATH
 
10406
  fi
 
10407
  ;;
 
10408
 
 
10409
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
10410
  version_type=freebsd-elf
 
10411
  need_lib_prefix=no
 
10412
  need_version=no
 
10413
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
10414
  soname_spec='${libname}${release}${shared_ext}$major'
 
10415
  shlibpath_var=LD_LIBRARY_PATH
 
10416
  shlibpath_overrides_runpath=yes
 
10417
  hardcode_into_libs=yes
 
10418
  if test "$with_gnu_ld" = yes; then
 
10419
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
10420
  else
 
10421
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
10422
    case $host_os in
 
10423
      sco3.2v5*)
 
10424
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
10425
        ;;
 
10426
    esac
 
10427
  fi
 
10428
  sys_lib_dlsearch_path_spec='/usr/lib'
 
10429
  ;;
 
10430
 
 
10431
tpf*)
 
10432
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
10433
  version_type=linux
 
10434
  need_lib_prefix=no
 
10435
  need_version=no
 
10436
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10437
  shlibpath_var=LD_LIBRARY_PATH
 
10438
  shlibpath_overrides_runpath=no
 
10439
  hardcode_into_libs=yes
 
10440
  ;;
 
10441
 
 
10442
uts4*)
 
10443
  version_type=linux
 
10444
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10445
  soname_spec='${libname}${release}${shared_ext}$major'
 
10446
  shlibpath_var=LD_LIBRARY_PATH
 
10447
  ;;
 
10448
 
 
10449
*)
 
10450
  dynamic_linker=no
 
10451
  ;;
 
10452
esac
 
10453
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
 
10454
$as_echo "$dynamic_linker" >&6; }
 
10455
test "$dynamic_linker" = no && can_build_shared=no
 
10456
 
 
10457
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
10458
if test "$GCC" = yes; then
 
10459
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
10460
fi
 
10461
 
 
10462
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
10463
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
10464
fi
 
10465
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
10466
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
10467
fi
 
10468
 
 
10469
 
 
10470
 
 
10471
 
 
10472
 
 
10473
 
 
10474
 
 
10475
 
 
10476
 
 
10477
 
 
10478
 
 
10479
 
 
10480
 
 
10481
 
 
10482
 
 
10483
 
 
10484
 
 
10485
 
 
10486
 
 
10487
 
 
10488
 
 
10489
 
 
10490
 
 
10491
 
 
10492
 
 
10493
 
 
10494
 
 
10495
 
 
10496
 
 
10497
 
 
10498
 
 
10499
 
 
10500
 
 
10501
 
 
10502
 
 
10503
 
 
10504
 
 
10505
 
 
10506
 
 
10507
 
 
10508
 
 
10509
 
 
10510
 
 
10511
 
 
10512
 
 
10513
 
 
10514
 
 
10515
 
 
10516
 
 
10517
 
 
10518
 
 
10519
 
 
10520
 
 
10521
 
 
10522
 
 
10523
 
 
10524
 
 
10525
 
 
10526
 
 
10527
 
 
10528
 
 
10529
 
 
10530
 
 
10531
 
 
10532
 
 
10533
 
 
10534
 
 
10535
 
 
10536
 
 
10537
 
 
10538
 
 
10539
 
 
10540
 
 
10541
 
 
10542
 
 
10543
 
 
10544
 
 
10545
 
 
10546
 
 
10547
 
 
10548
 
 
10549
 
 
10550
 
 
10551
 
 
10552
 
 
10553
 
 
10554
 
 
10555
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
 
10556
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
 
10557
hardcode_action=
 
10558
if test -n "$hardcode_libdir_flag_spec" ||
 
10559
   test -n "$runpath_var" ||
 
10560
   test "X$hardcode_automatic" = "Xyes" ; then
 
10561
 
 
10562
  # We can hardcode non-existent directories.
 
10563
  if test "$hardcode_direct" != no &&
 
10564
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
 
10565
     # have to relink, otherwise we might link with an installed library
 
10566
     # when we should be linking with a yet-to-be-installed one
 
10567
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
 
10568
     test "$hardcode_minus_L" != no; then
 
10569
    # Linking always hardcodes the temporary library directory.
 
10570
    hardcode_action=relink
 
10571
  else
 
10572
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
 
10573
    hardcode_action=immediate
 
10574
  fi
 
10575
else
 
10576
  # We cannot hardcode anything, or else we can only hardcode existing
 
10577
  # directories.
 
10578
  hardcode_action=unsupported
 
10579
fi
 
10580
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
 
10581
$as_echo "$hardcode_action" >&6; }
 
10582
 
 
10583
if test "$hardcode_action" = relink ||
 
10584
   test "$inherit_rpath" = yes; then
 
10585
  # Fast installation is not supported
 
10586
  enable_fast_install=no
 
10587
elif test "$shlibpath_overrides_runpath" = yes ||
 
10588
     test "$enable_shared" = no; then
 
10589
  # Fast installation is not necessary
 
10590
  enable_fast_install=needless
 
10591
fi
 
10592
 
 
10593
 
 
10594
 
 
10595
 
 
10596
 
 
10597
 
 
10598
  if test "x$enable_dlopen" != xyes; then
 
10599
  enable_dlopen=unknown
 
10600
  enable_dlopen_self=unknown
 
10601
  enable_dlopen_self_static=unknown
 
10602
else
 
10603
  lt_cv_dlopen=no
 
10604
  lt_cv_dlopen_libs=
 
10605
 
 
10606
  case $host_os in
 
10607
  beos*)
 
10608
    lt_cv_dlopen="load_add_on"
 
10609
    lt_cv_dlopen_libs=
 
10610
    lt_cv_dlopen_self=yes
 
10611
    ;;
 
10612
 
 
10613
  mingw* | pw32* | cegcc*)
 
10614
    lt_cv_dlopen="LoadLibrary"
 
10615
    lt_cv_dlopen_libs=
 
10616
    ;;
 
10617
 
 
10618
  cygwin*)
 
10619
    lt_cv_dlopen="dlopen"
 
10620
    lt_cv_dlopen_libs=
 
10621
    ;;
 
10622
 
 
10623
  darwin*)
 
10624
  # if libdl is installed we need to link against it
 
10625
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
10626
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
10627
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
10628
  $as_echo_n "(cached) " >&6
 
10629
else
 
10630
  ac_check_lib_save_LIBS=$LIBS
 
10631
LIBS="-ldl  $LIBS"
 
10632
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10633
/* end confdefs.h.  */
 
10634
 
 
10635
/* Override any GCC internal prototype to avoid an error.
 
10636
   Use char because int might match the return type of a GCC
 
10637
   builtin and then its argument prototype would still apply.  */
 
10638
#ifdef __cplusplus
 
10639
extern "C"
 
10640
#endif
 
10641
char dlopen ();
 
10642
int
 
10643
main ()
 
10644
{
 
10645
return dlopen ();
 
10646
  ;
 
10647
  return 0;
 
10648
}
 
10649
_ACEOF
 
10650
if ac_fn_c_try_link "$LINENO"; then :
 
10651
  ac_cv_lib_dl_dlopen=yes
 
10652
else
 
10653
  ac_cv_lib_dl_dlopen=no
 
10654
fi
 
10655
rm -f core conftest.err conftest.$ac_objext \
 
10656
    conftest$ac_exeext conftest.$ac_ext
 
10657
LIBS=$ac_check_lib_save_LIBS
 
10658
fi
 
10659
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
10660
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
10661
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
10662
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
10663
else
 
10664
 
 
10665
    lt_cv_dlopen="dyld"
 
10666
    lt_cv_dlopen_libs=
 
10667
    lt_cv_dlopen_self=yes
 
10668
 
 
10669
fi
 
10670
 
 
10671
    ;;
 
10672
 
 
10673
  *)
 
10674
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
 
10675
if test "x$ac_cv_func_shl_load" = x""yes; then :
 
10676
  lt_cv_dlopen="shl_load"
 
10677
else
 
10678
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
 
10679
$as_echo_n "checking for shl_load in -ldld... " >&6; }
 
10680
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
 
10681
  $as_echo_n "(cached) " >&6
 
10682
else
 
10683
  ac_check_lib_save_LIBS=$LIBS
 
10684
LIBS="-ldld  $LIBS"
 
10685
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10686
/* end confdefs.h.  */
 
10687
 
 
10688
/* Override any GCC internal prototype to avoid an error.
 
10689
   Use char because int might match the return type of a GCC
 
10690
   builtin and then its argument prototype would still apply.  */
 
10691
#ifdef __cplusplus
 
10692
extern "C"
 
10693
#endif
 
10694
char shl_load ();
 
10695
int
 
10696
main ()
 
10697
{
 
10698
return shl_load ();
 
10699
  ;
 
10700
  return 0;
 
10701
}
 
10702
_ACEOF
 
10703
if ac_fn_c_try_link "$LINENO"; then :
 
10704
  ac_cv_lib_dld_shl_load=yes
 
10705
else
 
10706
  ac_cv_lib_dld_shl_load=no
 
10707
fi
 
10708
rm -f core conftest.err conftest.$ac_objext \
 
10709
    conftest$ac_exeext conftest.$ac_ext
 
10710
LIBS=$ac_check_lib_save_LIBS
 
10711
fi
 
10712
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
 
10713
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
 
10714
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
 
10715
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
 
10716
else
 
10717
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
 
10718
if test "x$ac_cv_func_dlopen" = x""yes; then :
 
10719
  lt_cv_dlopen="dlopen"
 
10720
else
 
10721
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
10722
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
10723
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
10724
  $as_echo_n "(cached) " >&6
 
10725
else
 
10726
  ac_check_lib_save_LIBS=$LIBS
 
10727
LIBS="-ldl  $LIBS"
 
10728
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10729
/* end confdefs.h.  */
 
10730
 
 
10731
/* Override any GCC internal prototype to avoid an error.
 
10732
   Use char because int might match the return type of a GCC
 
10733
   builtin and then its argument prototype would still apply.  */
 
10734
#ifdef __cplusplus
 
10735
extern "C"
 
10736
#endif
 
10737
char dlopen ();
 
10738
int
 
10739
main ()
 
10740
{
 
10741
return dlopen ();
 
10742
  ;
 
10743
  return 0;
 
10744
}
 
10745
_ACEOF
 
10746
if ac_fn_c_try_link "$LINENO"; then :
 
10747
  ac_cv_lib_dl_dlopen=yes
 
10748
else
 
10749
  ac_cv_lib_dl_dlopen=no
 
10750
fi
 
10751
rm -f core conftest.err conftest.$ac_objext \
 
10752
    conftest$ac_exeext conftest.$ac_ext
 
10753
LIBS=$ac_check_lib_save_LIBS
 
10754
fi
 
10755
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
10756
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
10757
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
10758
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
10759
else
 
10760
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
 
10761
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
 
10762
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
 
10763
  $as_echo_n "(cached) " >&6
 
10764
else
 
10765
  ac_check_lib_save_LIBS=$LIBS
 
10766
LIBS="-lsvld  $LIBS"
 
10767
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10768
/* end confdefs.h.  */
 
10769
 
 
10770
/* Override any GCC internal prototype to avoid an error.
 
10771
   Use char because int might match the return type of a GCC
 
10772
   builtin and then its argument prototype would still apply.  */
 
10773
#ifdef __cplusplus
 
10774
extern "C"
 
10775
#endif
 
10776
char dlopen ();
 
10777
int
 
10778
main ()
 
10779
{
 
10780
return dlopen ();
 
10781
  ;
 
10782
  return 0;
 
10783
}
 
10784
_ACEOF
 
10785
if ac_fn_c_try_link "$LINENO"; then :
 
10786
  ac_cv_lib_svld_dlopen=yes
 
10787
else
 
10788
  ac_cv_lib_svld_dlopen=no
 
10789
fi
 
10790
rm -f core conftest.err conftest.$ac_objext \
 
10791
    conftest$ac_exeext conftest.$ac_ext
 
10792
LIBS=$ac_check_lib_save_LIBS
 
10793
fi
 
10794
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
 
10795
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
 
10796
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
 
10797
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
 
10798
else
 
10799
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
 
10800
$as_echo_n "checking for dld_link in -ldld... " >&6; }
 
10801
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
 
10802
  $as_echo_n "(cached) " >&6
 
10803
else
 
10804
  ac_check_lib_save_LIBS=$LIBS
 
10805
LIBS="-ldld  $LIBS"
 
10806
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10807
/* end confdefs.h.  */
 
10808
 
 
10809
/* Override any GCC internal prototype to avoid an error.
 
10810
   Use char because int might match the return type of a GCC
 
10811
   builtin and then its argument prototype would still apply.  */
 
10812
#ifdef __cplusplus
 
10813
extern "C"
 
10814
#endif
 
10815
char dld_link ();
 
10816
int
 
10817
main ()
 
10818
{
 
10819
return dld_link ();
 
10820
  ;
 
10821
  return 0;
 
10822
}
 
10823
_ACEOF
 
10824
if ac_fn_c_try_link "$LINENO"; then :
 
10825
  ac_cv_lib_dld_dld_link=yes
 
10826
else
 
10827
  ac_cv_lib_dld_dld_link=no
 
10828
fi
 
10829
rm -f core conftest.err conftest.$ac_objext \
 
10830
    conftest$ac_exeext conftest.$ac_ext
 
10831
LIBS=$ac_check_lib_save_LIBS
 
10832
fi
 
10833
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
 
10834
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
 
10835
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
 
10836
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
 
10837
fi
 
10838
 
 
10839
 
 
10840
fi
 
10841
 
 
10842
 
 
10843
fi
 
10844
 
 
10845
 
 
10846
fi
 
10847
 
 
10848
 
 
10849
fi
 
10850
 
 
10851
 
 
10852
fi
 
10853
 
 
10854
    ;;
 
10855
  esac
 
10856
 
 
10857
  if test "x$lt_cv_dlopen" != xno; then
 
10858
    enable_dlopen=yes
 
10859
  else
 
10860
    enable_dlopen=no
 
10861
  fi
 
10862
 
 
10863
  case $lt_cv_dlopen in
 
10864
  dlopen)
 
10865
    save_CPPFLAGS="$CPPFLAGS"
 
10866
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
 
10867
 
 
10868
    save_LDFLAGS="$LDFLAGS"
 
10869
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 
10870
 
 
10871
    save_LIBS="$LIBS"
 
10872
    LIBS="$lt_cv_dlopen_libs $LIBS"
 
10873
 
 
10874
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
 
10875
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
 
10876
if test "${lt_cv_dlopen_self+set}" = set; then :
 
10877
  $as_echo_n "(cached) " >&6
 
10878
else
 
10879
          if test "$cross_compiling" = yes; then :
 
10880
  lt_cv_dlopen_self=cross
 
10881
else
 
10882
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
10883
  lt_status=$lt_dlunknown
 
10884
  cat > conftest.$ac_ext <<_LT_EOF
 
10885
#line 10885 "configure"
 
10886
#include "confdefs.h"
 
10887
 
 
10888
#if HAVE_DLFCN_H
 
10889
#include <dlfcn.h>
 
10890
#endif
 
10891
 
 
10892
#include <stdio.h>
 
10893
 
 
10894
#ifdef RTLD_GLOBAL
 
10895
#  define LT_DLGLOBAL           RTLD_GLOBAL
 
10896
#else
 
10897
#  ifdef DL_GLOBAL
 
10898
#    define LT_DLGLOBAL         DL_GLOBAL
 
10899
#  else
 
10900
#    define LT_DLGLOBAL         0
 
10901
#  endif
 
10902
#endif
 
10903
 
 
10904
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
10905
   find out it does not work in some platform. */
 
10906
#ifndef LT_DLLAZY_OR_NOW
 
10907
#  ifdef RTLD_LAZY
 
10908
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
 
10909
#  else
 
10910
#    ifdef DL_LAZY
 
10911
#      define LT_DLLAZY_OR_NOW          DL_LAZY
 
10912
#    else
 
10913
#      ifdef RTLD_NOW
 
10914
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
 
10915
#      else
 
10916
#        ifdef DL_NOW
 
10917
#          define LT_DLLAZY_OR_NOW      DL_NOW
 
10918
#        else
 
10919
#          define LT_DLLAZY_OR_NOW      0
 
10920
#        endif
 
10921
#      endif
 
10922
#    endif
 
10923
#  endif
 
10924
#endif
 
10925
 
 
10926
void fnord() { int i=42;}
 
10927
int main ()
 
10928
{
 
10929
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
10930
  int status = $lt_dlunknown;
 
10931
 
 
10932
  if (self)
 
10933
    {
 
10934
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
10935
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
10936
      /* dlclose (self); */
 
10937
    }
 
10938
  else
 
10939
    puts (dlerror ());
 
10940
 
 
10941
  return status;
 
10942
}
 
10943
_LT_EOF
 
10944
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
10945
  (eval $ac_link) 2>&5
 
10946
  ac_status=$?
 
10947
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10948
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
 
10949
    (./conftest; exit; ) >&5 2>/dev/null
 
10950
    lt_status=$?
 
10951
    case x$lt_status in
 
10952
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
 
10953
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
 
10954
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
 
10955
    esac
 
10956
  else :
 
10957
    # compilation failed
 
10958
    lt_cv_dlopen_self=no
 
10959
  fi
 
10960
fi
 
10961
rm -fr conftest*
 
10962
 
 
10963
 
 
10964
fi
 
10965
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
 
10966
$as_echo "$lt_cv_dlopen_self" >&6; }
 
10967
 
 
10968
    if test "x$lt_cv_dlopen_self" = xyes; then
 
10969
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
 
10970
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
 
10971
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
 
10972
if test "${lt_cv_dlopen_self_static+set}" = set; then :
 
10973
  $as_echo_n "(cached) " >&6
 
10974
else
 
10975
          if test "$cross_compiling" = yes; then :
 
10976
  lt_cv_dlopen_self_static=cross
 
10977
else
 
10978
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
10979
  lt_status=$lt_dlunknown
 
10980
  cat > conftest.$ac_ext <<_LT_EOF
 
10981
#line 10981 "configure"
 
10982
#include "confdefs.h"
 
10983
 
 
10984
#if HAVE_DLFCN_H
 
10985
#include <dlfcn.h>
 
10986
#endif
 
10987
 
 
10988
#include <stdio.h>
 
10989
 
 
10990
#ifdef RTLD_GLOBAL
 
10991
#  define LT_DLGLOBAL           RTLD_GLOBAL
 
10992
#else
 
10993
#  ifdef DL_GLOBAL
 
10994
#    define LT_DLGLOBAL         DL_GLOBAL
 
10995
#  else
 
10996
#    define LT_DLGLOBAL         0
 
10997
#  endif
 
10998
#endif
 
10999
 
 
11000
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
11001
   find out it does not work in some platform. */
 
11002
#ifndef LT_DLLAZY_OR_NOW
 
11003
#  ifdef RTLD_LAZY
 
11004
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
 
11005
#  else
 
11006
#    ifdef DL_LAZY
 
11007
#      define LT_DLLAZY_OR_NOW          DL_LAZY
 
11008
#    else
 
11009
#      ifdef RTLD_NOW
 
11010
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
 
11011
#      else
 
11012
#        ifdef DL_NOW
 
11013
#          define LT_DLLAZY_OR_NOW      DL_NOW
 
11014
#        else
 
11015
#          define LT_DLLAZY_OR_NOW      0
 
11016
#        endif
 
11017
#      endif
 
11018
#    endif
 
11019
#  endif
 
11020
#endif
 
11021
 
 
11022
void fnord() { int i=42;}
 
11023
int main ()
 
11024
{
 
11025
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
11026
  int status = $lt_dlunknown;
 
11027
 
 
11028
  if (self)
 
11029
    {
 
11030
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
11031
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
11032
      /* dlclose (self); */
 
11033
    }
 
11034
  else
 
11035
    puts (dlerror ());
 
11036
 
 
11037
  return status;
 
11038
}
 
11039
_LT_EOF
 
11040
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
11041
  (eval $ac_link) 2>&5
 
11042
  ac_status=$?
 
11043
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11044
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
 
11045
    (./conftest; exit; ) >&5 2>/dev/null
 
11046
    lt_status=$?
 
11047
    case x$lt_status in
 
11048
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
 
11049
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
 
11050
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
 
11051
    esac
 
11052
  else :
 
11053
    # compilation failed
 
11054
    lt_cv_dlopen_self_static=no
 
11055
  fi
 
11056
fi
 
11057
rm -fr conftest*
 
11058
 
 
11059
 
 
11060
fi
 
11061
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
 
11062
$as_echo "$lt_cv_dlopen_self_static" >&6; }
 
11063
    fi
 
11064
 
 
11065
    CPPFLAGS="$save_CPPFLAGS"
 
11066
    LDFLAGS="$save_LDFLAGS"
 
11067
    LIBS="$save_LIBS"
 
11068
    ;;
 
11069
  esac
 
11070
 
 
11071
  case $lt_cv_dlopen_self in
 
11072
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
 
11073
  *) enable_dlopen_self=unknown ;;
 
11074
  esac
 
11075
 
 
11076
  case $lt_cv_dlopen_self_static in
 
11077
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
 
11078
  *) enable_dlopen_self_static=unknown ;;
 
11079
  esac
 
11080
fi
 
11081
 
 
11082
 
 
11083
 
 
11084
 
 
11085
 
 
11086
 
 
11087
 
 
11088
 
 
11089
 
 
11090
 
 
11091
 
 
11092
 
 
11093
 
 
11094
 
 
11095
 
 
11096
 
 
11097
 
 
11098
striplib=
 
11099
old_striplib=
 
11100
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
 
11101
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
 
11102
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 
11103
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
11104
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
11105
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
11106
$as_echo "yes" >&6; }
 
11107
else
 
11108
# FIXME - insert some real tests, host_os isn't really good enough
 
11109
  case $host_os in
 
11110
  darwin*)
 
11111
    if test -n "$STRIP" ; then
 
11112
      striplib="$STRIP -x"
 
11113
      old_striplib="$STRIP -S"
 
11114
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
11115
$as_echo "yes" >&6; }
 
11116
    else
 
11117
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11118
$as_echo "no" >&6; }
 
11119
    fi
 
11120
    ;;
 
11121
  *)
 
11122
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11123
$as_echo "no" >&6; }
 
11124
    ;;
 
11125
  esac
 
11126
fi
 
11127
 
 
11128
 
 
11129
 
 
11130
 
 
11131
 
 
11132
 
 
11133
 
 
11134
 
 
11135
 
 
11136
 
 
11137
 
 
11138
 
 
11139
  # Report which library types will actually be built
 
11140
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
 
11141
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
11142
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
 
11143
$as_echo "$can_build_shared" >&6; }
 
11144
 
 
11145
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
 
11146
$as_echo_n "checking whether to build shared libraries... " >&6; }
 
11147
  test "$can_build_shared" = "no" && enable_shared=no
 
11148
 
 
11149
  # On AIX, shared libraries and static libraries use the same namespace, and
 
11150
  # are all built from PIC.
 
11151
  case $host_os in
 
11152
  aix3*)
 
11153
    test "$enable_shared" = yes && enable_static=no
 
11154
    if test -n "$RANLIB"; then
 
11155
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
11156
      postinstall_cmds='$RANLIB $lib'
 
11157
    fi
 
11158
    ;;
 
11159
 
 
11160
  aix[4-9]*)
 
11161
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
11162
      test "$enable_shared" = yes && enable_static=no
 
11163
    fi
 
11164
    ;;
 
11165
  esac
 
11166
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
 
11167
$as_echo "$enable_shared" >&6; }
 
11168
 
 
11169
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
 
11170
$as_echo_n "checking whether to build static libraries... " >&6; }
 
11171
  # Make sure either enable_shared or enable_static is yes.
 
11172
  test "$enable_shared" = yes || enable_static=yes
 
11173
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
 
11174
$as_echo "$enable_static" >&6; }
 
11175
 
 
11176
 
 
11177
 
 
11178
 
 
11179
fi
 
11180
ac_ext=c
 
11181
ac_cpp='$CPP $CPPFLAGS'
 
11182
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
11183
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
11184
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
11185
 
 
11186
CC="$lt_save_CC"
 
11187
 
 
11188
 
 
11189
 
 
11190
 
 
11191
 
 
11192
 
 
11193
 
 
11194
 
 
11195
 
 
11196
 
 
11197
 
 
11198
 
 
11199
 
 
11200
        ac_config_commands="$ac_config_commands libtool"
 
11201
 
 
11202
 
 
11203
 
 
11204
 
 
11205
# Only expand once:
 
11206
 
 
11207
 
 
11208
 
 
11209
ac_ext=cpp
 
11210
ac_cpp='$CXXCPP $CPPFLAGS'
 
11211
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
11212
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
11213
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
11214
if test -z "$CXX"; then
 
11215
  if test -n "$CCC"; then
 
11216
    CXX=$CCC
 
11217
  else
 
11218
    if test -n "$ac_tool_prefix"; then
 
11219
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
11220
  do
 
11221
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
11222
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
11223
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11224
$as_echo_n "checking for $ac_word... " >&6; }
 
11225
if test "${ac_cv_prog_CXX+set}" = set; then :
 
11226
  $as_echo_n "(cached) " >&6
 
11227
else
 
11228
  if test -n "$CXX"; then
 
11229
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
 
11230
else
 
11231
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
11232
for as_dir in $PATH
 
11233
do
 
11234
  IFS=$as_save_IFS
 
11235
  test -z "$as_dir" && as_dir=.
 
11236
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11237
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
11238
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 
11239
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11240
    break 2
 
11241
  fi
 
11242
done
 
11243
  done
 
11244
IFS=$as_save_IFS
 
11245
 
 
11246
fi
 
11247
fi
 
11248
CXX=$ac_cv_prog_CXX
 
11249
if test -n "$CXX"; then
 
11250
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
 
11251
$as_echo "$CXX" >&6; }
 
11252
else
 
11253
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11254
$as_echo "no" >&6; }
 
11255
fi
 
11256
 
 
11257
 
 
11258
    test -n "$CXX" && break
 
11259
  done
 
11260
fi
 
11261
if test -z "$CXX"; then
 
11262
  ac_ct_CXX=$CXX
 
11263
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
11264
do
 
11265
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
11266
set dummy $ac_prog; ac_word=$2
 
11267
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11268
$as_echo_n "checking for $ac_word... " >&6; }
 
11269
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
 
11270
  $as_echo_n "(cached) " >&6
 
11271
else
 
11272
  if test -n "$ac_ct_CXX"; then
 
11273
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 
11274
else
 
11275
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
11276
for as_dir in $PATH
 
11277
do
 
11278
  IFS=$as_save_IFS
 
11279
  test -z "$as_dir" && as_dir=.
 
11280
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11281
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
11282
    ac_cv_prog_ac_ct_CXX="$ac_prog"
 
11283
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11284
    break 2
 
11285
  fi
 
11286
done
 
11287
  done
 
11288
IFS=$as_save_IFS
 
11289
 
 
11290
fi
 
11291
fi
 
11292
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 
11293
if test -n "$ac_ct_CXX"; then
 
11294
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
 
11295
$as_echo "$ac_ct_CXX" >&6; }
 
11296
else
 
11297
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11298
$as_echo "no" >&6; }
 
11299
fi
 
11300
 
 
11301
 
 
11302
  test -n "$ac_ct_CXX" && break
 
11303
done
 
11304
 
 
11305
  if test "x$ac_ct_CXX" = x; then
 
11306
    CXX="g++"
 
11307
  else
 
11308
    case $cross_compiling:$ac_tool_warned in
 
11309
yes:)
 
11310
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
11311
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
11312
ac_tool_warned=yes ;;
 
11313
esac
 
11314
    CXX=$ac_ct_CXX
 
11315
  fi
 
11316
fi
 
11317
 
 
11318
  fi
 
11319
fi
 
11320
# Provide some information about the compiler.
 
11321
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
 
11322
set X $ac_compile
 
11323
ac_compiler=$2
 
11324
for ac_option in --version -v -V -qversion; do
 
11325
  { { ac_try="$ac_compiler $ac_option >&5"
 
11326
case "(($ac_try" in
 
11327
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11328
  *) ac_try_echo=$ac_try;;
 
11329
esac
 
11330
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
11331
$as_echo "$ac_try_echo"; } >&5
 
11332
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
11333
  ac_status=$?
 
11334
  if test -s conftest.err; then
 
11335
    sed '10a\
 
11336
... rest of stderr output deleted ...
 
11337
         10q' conftest.err >conftest.er1
 
11338
    cat conftest.er1 >&5
 
11339
    rm -f conftest.er1 conftest.err
 
11340
  fi
 
11341
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11342
  test $ac_status = 0; }
 
11343
done
 
11344
 
 
11345
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
 
11346
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
 
11347
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
 
11348
  $as_echo_n "(cached) " >&6
 
11349
else
 
11350
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11351
/* end confdefs.h.  */
 
11352
 
 
11353
int
 
11354
main ()
 
11355
{
 
11356
#ifndef __GNUC__
 
11357
       choke me
 
11358
#endif
 
11359
 
 
11360
  ;
 
11361
  return 0;
 
11362
}
 
11363
_ACEOF
 
11364
if ac_fn_cxx_try_compile "$LINENO"; then :
 
11365
  ac_compiler_gnu=yes
 
11366
else
 
11367
  ac_compiler_gnu=no
 
11368
fi
 
11369
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
11370
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 
11371
 
 
11372
fi
 
11373
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
 
11374
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 
11375
if test $ac_compiler_gnu = yes; then
 
11376
  GXX=yes
 
11377
else
 
11378
  GXX=
 
11379
fi
 
11380
ac_test_CXXFLAGS=${CXXFLAGS+set}
 
11381
ac_save_CXXFLAGS=$CXXFLAGS
 
11382
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
 
11383
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
 
11384
if test "${ac_cv_prog_cxx_g+set}" = set; then :
 
11385
  $as_echo_n "(cached) " >&6
 
11386
else
 
11387
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
11388
   ac_cxx_werror_flag=yes
 
11389
   ac_cv_prog_cxx_g=no
 
11390
   CXXFLAGS="-g"
 
11391
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11392
/* end confdefs.h.  */
 
11393
 
 
11394
int
 
11395
main ()
 
11396
{
 
11397
 
 
11398
  ;
 
11399
  return 0;
 
11400
}
 
11401
_ACEOF
 
11402
if ac_fn_cxx_try_compile "$LINENO"; then :
 
11403
  ac_cv_prog_cxx_g=yes
 
11404
else
 
11405
  CXXFLAGS=""
 
11406
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11407
/* end confdefs.h.  */
 
11408
 
 
11409
int
 
11410
main ()
 
11411
{
 
11412
 
 
11413
  ;
 
11414
  return 0;
 
11415
}
 
11416
_ACEOF
 
11417
if ac_fn_cxx_try_compile "$LINENO"; then :
 
11418
 
 
11419
else
 
11420
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
11421
         CXXFLAGS="-g"
 
11422
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11423
/* end confdefs.h.  */
 
11424
 
 
11425
int
 
11426
main ()
 
11427
{
 
11428
 
 
11429
  ;
 
11430
  return 0;
 
11431
}
 
11432
_ACEOF
 
11433
if ac_fn_cxx_try_compile "$LINENO"; then :
 
11434
  ac_cv_prog_cxx_g=yes
 
11435
fi
 
11436
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
11437
fi
 
11438
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
11439
fi
 
11440
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
11441
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
11442
fi
 
11443
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
 
11444
$as_echo "$ac_cv_prog_cxx_g" >&6; }
 
11445
if test "$ac_test_CXXFLAGS" = set; then
 
11446
  CXXFLAGS=$ac_save_CXXFLAGS
 
11447
elif test $ac_cv_prog_cxx_g = yes; then
 
11448
  if test "$GXX" = yes; then
 
11449
    CXXFLAGS="-g -O2"
 
11450
  else
 
11451
    CXXFLAGS="-g"
 
11452
  fi
 
11453
else
 
11454
  if test "$GXX" = yes; then
 
11455
    CXXFLAGS="-O2"
 
11456
  else
 
11457
    CXXFLAGS=
 
11458
  fi
 
11459
fi
 
11460
ac_ext=c
 
11461
ac_cpp='$CPP $CPPFLAGS'
 
11462
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
11463
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
11464
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
11465
 
 
11466
depcc="$CXX"  am_compiler_list=
 
11467
 
 
11468
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
11469
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
11470
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
 
11471
  $as_echo_n "(cached) " >&6
 
11472
else
 
11473
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
11474
  # We make a subdir and do the tests there.  Otherwise we can end up
 
11475
  # making bogus files that we don't know about and never remove.  For
 
11476
  # instance it was reported that on HP-UX the gcc test will end up
 
11477
  # making a dummy file named `D' -- because `-MD' means `put the output
 
11478
  # in D'.
 
11479
  mkdir conftest.dir
 
11480
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
11481
  # using a relative directory.
 
11482
  cp "$am_depcomp" conftest.dir
 
11483
  cd conftest.dir
 
11484
  # We will build objects and dependencies in a subdirectory because
 
11485
  # it helps to detect inapplicable dependency modes.  For instance
 
11486
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
11487
  # side effect of compilation, but ICC will put the dependencies in
 
11488
  # the current directory while Tru64 will put them in the object
 
11489
  # directory.
 
11490
  mkdir sub
 
11491
 
 
11492
  am_cv_CXX_dependencies_compiler_type=none
 
11493
  if test "$am_compiler_list" = ""; then
 
11494
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
11495
  fi
 
11496
  am__universal=false
 
11497
  case " $depcc " in #(
 
11498
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
11499
     esac
 
11500
 
 
11501
  for depmode in $am_compiler_list; do
 
11502
    # Setup a source with many dependencies, because some compilers
 
11503
    # like to wrap large dependency lists on column 80 (with \), and
 
11504
    # we should not choose a depcomp mode which is confused by this.
 
11505
    #
 
11506
    # We need to recreate these files for each test, as the compiler may
 
11507
    # overwrite some of them when testing with obscure command lines.
 
11508
    # This happens at least with the AIX C compiler.
 
11509
    : > sub/conftest.c
 
11510
    for i in 1 2 3 4 5 6; do
 
11511
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
11512
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
11513
      # Solaris 8's {/usr,}/bin/sh.
 
11514
      touch sub/conftst$i.h
 
11515
    done
 
11516
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
11517
 
 
11518
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
11519
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
11520
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
11521
    # versions had trouble with output in subdirs
 
11522
    am__obj=sub/conftest.${OBJEXT-o}
 
11523
    am__minus_obj="-o $am__obj"
 
11524
    case $depmode in
 
11525
    gcc)
 
11526
      # This depmode causes a compiler race in universal mode.
 
11527
      test "$am__universal" = false || continue
 
11528
      ;;
 
11529
    nosideeffect)
 
11530
      # after this tag, mechanisms are not by side-effect, so they'll
 
11531
      # only be used when explicitly requested
 
11532
      if test "x$enable_dependency_tracking" = xyes; then
 
11533
        continue
 
11534
      else
 
11535
        break
 
11536
      fi
 
11537
      ;;
 
11538
    msvisualcpp | msvcmsys)
 
11539
      # This compiler won't grok `-c -o', but also, the minuso test has
 
11540
      # not run yet.  These depmodes are late enough in the game, and
 
11541
      # so weak that their functioning should not be impacted.
 
11542
      am__obj=conftest.${OBJEXT-o}
 
11543
      am__minus_obj=
 
11544
      ;;
 
11545
    none) break ;;
 
11546
    esac
 
11547
    if depmode=$depmode \
 
11548
       source=sub/conftest.c object=$am__obj \
 
11549
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
11550
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 
11551
         >/dev/null 2>conftest.err &&
 
11552
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
11553
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
11554
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 
11555
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
11556
      # icc doesn't choke on unknown options, it will just issue warnings
 
11557
      # or remarks (even with -Werror).  So we grep stderr for any message
 
11558
      # that says an option was ignored or not supported.
 
11559
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
11560
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
11561
      # The diagnosis changed in icc 8.0:
 
11562
      #   icc: Command line remark: option '-MP' not supported
 
11563
      if (grep 'ignoring option' conftest.err ||
 
11564
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
11565
        am_cv_CXX_dependencies_compiler_type=$depmode
 
11566
        break
 
11567
      fi
 
11568
    fi
 
11569
  done
 
11570
 
 
11571
  cd ..
 
11572
  rm -rf conftest.dir
 
11573
else
 
11574
  am_cv_CXX_dependencies_compiler_type=none
 
11575
fi
 
11576
 
 
11577
fi
 
11578
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
11579
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
 
11580
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
 
11581
 
 
11582
 if
 
11583
  test "x$enable_dependency_tracking" != xno \
 
11584
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
 
11585
  am__fastdepCXX_TRUE=
 
11586
  am__fastdepCXX_FALSE='#'
 
11587
else
 
11588
  am__fastdepCXX_TRUE='#'
 
11589
  am__fastdepCXX_FALSE=
 
11590
fi
 
11591
 
 
11592
 
 
11593
 
 
11594
ac_ext=cpp
 
11595
ac_cpp='$CXXCPP $CPPFLAGS'
 
11596
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
11597
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
11598
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
11599
if test -z "$CXX"; then
 
11600
  if test -n "$CCC"; then
 
11601
    CXX=$CCC
 
11602
  else
 
11603
    if test -n "$ac_tool_prefix"; then
 
11604
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
11605
  do
 
11606
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
11607
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
11608
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11609
$as_echo_n "checking for $ac_word... " >&6; }
 
11610
if test "${ac_cv_prog_CXX+set}" = set; then :
 
11611
  $as_echo_n "(cached) " >&6
 
11612
else
 
11613
  if test -n "$CXX"; then
 
11614
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
 
11615
else
 
11616
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
11617
for as_dir in $PATH
 
11618
do
 
11619
  IFS=$as_save_IFS
 
11620
  test -z "$as_dir" && as_dir=.
 
11621
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11622
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
11623
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 
11624
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11625
    break 2
 
11626
  fi
 
11627
done
 
11628
  done
 
11629
IFS=$as_save_IFS
 
11630
 
 
11631
fi
 
11632
fi
 
11633
CXX=$ac_cv_prog_CXX
 
11634
if test -n "$CXX"; then
 
11635
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
 
11636
$as_echo "$CXX" >&6; }
 
11637
else
 
11638
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11639
$as_echo "no" >&6; }
 
11640
fi
 
11641
 
 
11642
 
 
11643
    test -n "$CXX" && break
 
11644
  done
 
11645
fi
 
11646
if test -z "$CXX"; then
 
11647
  ac_ct_CXX=$CXX
 
11648
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
11649
do
 
11650
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
11651
set dummy $ac_prog; ac_word=$2
 
11652
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11653
$as_echo_n "checking for $ac_word... " >&6; }
 
11654
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
 
11655
  $as_echo_n "(cached) " >&6
 
11656
else
 
11657
  if test -n "$ac_ct_CXX"; then
 
11658
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 
11659
else
 
11660
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
11661
for as_dir in $PATH
 
11662
do
 
11663
  IFS=$as_save_IFS
 
11664
  test -z "$as_dir" && as_dir=.
 
11665
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11666
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
11667
    ac_cv_prog_ac_ct_CXX="$ac_prog"
 
11668
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11669
    break 2
 
11670
  fi
 
11671
done
 
11672
  done
 
11673
IFS=$as_save_IFS
 
11674
 
 
11675
fi
 
11676
fi
 
11677
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 
11678
if test -n "$ac_ct_CXX"; then
 
11679
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
 
11680
$as_echo "$ac_ct_CXX" >&6; }
 
11681
else
 
11682
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11683
$as_echo "no" >&6; }
 
11684
fi
 
11685
 
 
11686
 
 
11687
  test -n "$ac_ct_CXX" && break
 
11688
done
 
11689
 
 
11690
  if test "x$ac_ct_CXX" = x; then
 
11691
    CXX="g++"
 
11692
  else
 
11693
    case $cross_compiling:$ac_tool_warned in
 
11694
yes:)
 
11695
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
11696
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
11697
ac_tool_warned=yes ;;
 
11698
esac
 
11699
    CXX=$ac_ct_CXX
 
11700
  fi
 
11701
fi
 
11702
 
 
11703
  fi
 
11704
fi
 
11705
# Provide some information about the compiler.
 
11706
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
 
11707
set X $ac_compile
 
11708
ac_compiler=$2
 
11709
for ac_option in --version -v -V -qversion; do
 
11710
  { { ac_try="$ac_compiler $ac_option >&5"
 
11711
case "(($ac_try" in
 
11712
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11713
  *) ac_try_echo=$ac_try;;
 
11714
esac
 
11715
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
11716
$as_echo "$ac_try_echo"; } >&5
 
11717
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
11718
  ac_status=$?
 
11719
  if test -s conftest.err; then
 
11720
    sed '10a\
 
11721
... rest of stderr output deleted ...
 
11722
         10q' conftest.err >conftest.er1
 
11723
    cat conftest.er1 >&5
 
11724
    rm -f conftest.er1 conftest.err
 
11725
  fi
 
11726
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11727
  test $ac_status = 0; }
 
11728
done
 
11729
 
 
11730
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
 
11731
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
 
11732
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
 
11733
  $as_echo_n "(cached) " >&6
 
11734
else
 
11735
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11736
/* end confdefs.h.  */
 
11737
 
 
11738
int
 
11739
main ()
 
11740
{
 
11741
#ifndef __GNUC__
 
11742
       choke me
 
11743
#endif
 
11744
 
 
11745
  ;
 
11746
  return 0;
 
11747
}
 
11748
_ACEOF
 
11749
if ac_fn_cxx_try_compile "$LINENO"; then :
 
11750
  ac_compiler_gnu=yes
 
11751
else
 
11752
  ac_compiler_gnu=no
 
11753
fi
 
11754
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
11755
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 
11756
 
 
11757
fi
 
11758
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
 
11759
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 
11760
if test $ac_compiler_gnu = yes; then
 
11761
  GXX=yes
 
11762
else
 
11763
  GXX=
 
11764
fi
 
11765
ac_test_CXXFLAGS=${CXXFLAGS+set}
 
11766
ac_save_CXXFLAGS=$CXXFLAGS
 
11767
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
 
11768
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
 
11769
if test "${ac_cv_prog_cxx_g+set}" = set; then :
 
11770
  $as_echo_n "(cached) " >&6
 
11771
else
 
11772
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
11773
   ac_cxx_werror_flag=yes
 
11774
   ac_cv_prog_cxx_g=no
 
11775
   CXXFLAGS="-g"
 
11776
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11777
/* end confdefs.h.  */
 
11778
 
 
11779
int
 
11780
main ()
 
11781
{
 
11782
 
 
11783
  ;
 
11784
  return 0;
 
11785
}
 
11786
_ACEOF
 
11787
if ac_fn_cxx_try_compile "$LINENO"; then :
 
11788
  ac_cv_prog_cxx_g=yes
 
11789
else
 
11790
  CXXFLAGS=""
 
11791
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11792
/* end confdefs.h.  */
 
11793
 
 
11794
int
 
11795
main ()
 
11796
{
 
11797
 
 
11798
  ;
 
11799
  return 0;
 
11800
}
 
11801
_ACEOF
 
11802
if ac_fn_cxx_try_compile "$LINENO"; then :
 
11803
 
 
11804
else
 
11805
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
11806
         CXXFLAGS="-g"
 
11807
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11808
/* end confdefs.h.  */
 
11809
 
 
11810
int
 
11811
main ()
 
11812
{
 
11813
 
 
11814
  ;
 
11815
  return 0;
 
11816
}
 
11817
_ACEOF
 
11818
if ac_fn_cxx_try_compile "$LINENO"; then :
 
11819
  ac_cv_prog_cxx_g=yes
 
11820
fi
 
11821
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
11822
fi
 
11823
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
11824
fi
 
11825
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
11826
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
11827
fi
 
11828
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
 
11829
$as_echo "$ac_cv_prog_cxx_g" >&6; }
 
11830
if test "$ac_test_CXXFLAGS" = set; then
 
11831
  CXXFLAGS=$ac_save_CXXFLAGS
 
11832
elif test $ac_cv_prog_cxx_g = yes; then
 
11833
  if test "$GXX" = yes; then
 
11834
    CXXFLAGS="-g -O2"
 
11835
  else
 
11836
    CXXFLAGS="-g"
 
11837
  fi
 
11838
else
 
11839
  if test "$GXX" = yes; then
 
11840
    CXXFLAGS="-O2"
 
11841
  else
 
11842
    CXXFLAGS=
 
11843
  fi
 
11844
fi
 
11845
ac_ext=c
 
11846
ac_cpp='$CPP $CPPFLAGS'
 
11847
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
11848
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
11849
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
11850
 
 
11851
depcc="$CXX"  am_compiler_list=
 
11852
 
 
11853
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
11854
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
11855
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
 
11856
  $as_echo_n "(cached) " >&6
 
11857
else
 
11858
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
11859
  # We make a subdir and do the tests there.  Otherwise we can end up
 
11860
  # making bogus files that we don't know about and never remove.  For
 
11861
  # instance it was reported that on HP-UX the gcc test will end up
 
11862
  # making a dummy file named `D' -- because `-MD' means `put the output
 
11863
  # in D'.
 
11864
  mkdir conftest.dir
 
11865
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
11866
  # using a relative directory.
 
11867
  cp "$am_depcomp" conftest.dir
 
11868
  cd conftest.dir
 
11869
  # We will build objects and dependencies in a subdirectory because
 
11870
  # it helps to detect inapplicable dependency modes.  For instance
 
11871
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
11872
  # side effect of compilation, but ICC will put the dependencies in
 
11873
  # the current directory while Tru64 will put them in the object
 
11874
  # directory.
 
11875
  mkdir sub
 
11876
 
 
11877
  am_cv_CXX_dependencies_compiler_type=none
 
11878
  if test "$am_compiler_list" = ""; then
 
11879
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
11880
  fi
 
11881
  am__universal=false
 
11882
  case " $depcc " in #(
 
11883
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
11884
     esac
 
11885
 
 
11886
  for depmode in $am_compiler_list; do
 
11887
    # Setup a source with many dependencies, because some compilers
 
11888
    # like to wrap large dependency lists on column 80 (with \), and
 
11889
    # we should not choose a depcomp mode which is confused by this.
 
11890
    #
 
11891
    # We need to recreate these files for each test, as the compiler may
 
11892
    # overwrite some of them when testing with obscure command lines.
 
11893
    # This happens at least with the AIX C compiler.
 
11894
    : > sub/conftest.c
 
11895
    for i in 1 2 3 4 5 6; do
 
11896
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
11897
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
11898
      # Solaris 8's {/usr,}/bin/sh.
 
11899
      touch sub/conftst$i.h
 
11900
    done
 
11901
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
11902
 
 
11903
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
11904
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
11905
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
11906
    # versions had trouble with output in subdirs
 
11907
    am__obj=sub/conftest.${OBJEXT-o}
 
11908
    am__minus_obj="-o $am__obj"
 
11909
    case $depmode in
 
11910
    gcc)
 
11911
      # This depmode causes a compiler race in universal mode.
 
11912
      test "$am__universal" = false || continue
 
11913
      ;;
 
11914
    nosideeffect)
 
11915
      # after this tag, mechanisms are not by side-effect, so they'll
 
11916
      # only be used when explicitly requested
 
11917
      if test "x$enable_dependency_tracking" = xyes; then
 
11918
        continue
 
11919
      else
 
11920
        break
 
11921
      fi
 
11922
      ;;
 
11923
    msvisualcpp | msvcmsys)
 
11924
      # This compiler won't grok `-c -o', but also, the minuso test has
 
11925
      # not run yet.  These depmodes are late enough in the game, and
 
11926
      # so weak that their functioning should not be impacted.
 
11927
      am__obj=conftest.${OBJEXT-o}
 
11928
      am__minus_obj=
 
11929
      ;;
 
11930
    none) break ;;
 
11931
    esac
 
11932
    if depmode=$depmode \
 
11933
       source=sub/conftest.c object=$am__obj \
 
11934
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
11935
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 
11936
         >/dev/null 2>conftest.err &&
 
11937
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
11938
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
11939
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 
11940
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
11941
      # icc doesn't choke on unknown options, it will just issue warnings
 
11942
      # or remarks (even with -Werror).  So we grep stderr for any message
 
11943
      # that says an option was ignored or not supported.
 
11944
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
11945
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
11946
      # The diagnosis changed in icc 8.0:
 
11947
      #   icc: Command line remark: option '-MP' not supported
 
11948
      if (grep 'ignoring option' conftest.err ||
 
11949
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
11950
        am_cv_CXX_dependencies_compiler_type=$depmode
 
11951
        break
 
11952
      fi
 
11953
    fi
 
11954
  done
 
11955
 
 
11956
  cd ..
 
11957
  rm -rf conftest.dir
 
11958
else
 
11959
  am_cv_CXX_dependencies_compiler_type=none
 
11960
fi
 
11961
 
 
11962
fi
 
11963
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
11964
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
 
11965
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
 
11966
 
 
11967
 if
 
11968
  test "x$enable_dependency_tracking" != xno \
 
11969
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
 
11970
  am__fastdepCXX_TRUE=
 
11971
  am__fastdepCXX_FALSE='#'
 
11972
else
 
11973
  am__fastdepCXX_TRUE='#'
 
11974
  am__fastdepCXX_FALSE=
 
11975
fi
 
11976
 
 
11977
 
 
11978
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
 
11979
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
 
11980
    (test "X$CXX" != "Xg++"))) ; then
 
11981
  ac_ext=cpp
 
11982
ac_cpp='$CXXCPP $CPPFLAGS'
 
11983
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
11984
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
11985
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
11986
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
 
11987
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
 
11988
if test -z "$CXXCPP"; then
 
11989
  if test "${ac_cv_prog_CXXCPP+set}" = set; then :
 
11990
  $as_echo_n "(cached) " >&6
 
11991
else
 
11992
      # Double quotes because CXXCPP needs to be expanded
 
11993
    for CXXCPP in "$CXX -E" "/lib/cpp"
 
11994
    do
 
11995
      ac_preproc_ok=false
 
11996
for ac_cxx_preproc_warn_flag in '' yes
 
11997
do
 
11998
  # Use a header file that comes with gcc, so configuring glibc
 
11999
  # with a fresh cross-compiler works.
 
12000
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
12001
  # <limits.h> exists even on freestanding compilers.
 
12002
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
12003
  # not just through cpp. "Syntax error" is here to catch this case.
 
12004
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12005
/* end confdefs.h.  */
 
12006
#ifdef __STDC__
 
12007
# include <limits.h>
 
12008
#else
 
12009
# include <assert.h>
 
12010
#endif
 
12011
                     Syntax error
 
12012
_ACEOF
 
12013
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
12014
 
 
12015
else
 
12016
  # Broken: fails on valid input.
 
12017
continue
 
12018
fi
 
12019
rm -f conftest.err conftest.$ac_ext
 
12020
 
 
12021
  # OK, works on sane cases.  Now check whether nonexistent headers
 
12022
  # can be detected and how.
 
12023
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12024
/* end confdefs.h.  */
 
12025
#include <ac_nonexistent.h>
 
12026
_ACEOF
 
12027
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
12028
  # Broken: success on invalid input.
 
12029
continue
 
12030
else
 
12031
  # Passes both tests.
 
12032
ac_preproc_ok=:
 
12033
break
 
12034
fi
 
12035
rm -f conftest.err conftest.$ac_ext
 
12036
 
 
12037
done
 
12038
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
12039
rm -f conftest.err conftest.$ac_ext
 
12040
if $ac_preproc_ok; then :
 
12041
  break
 
12042
fi
 
12043
 
 
12044
    done
 
12045
    ac_cv_prog_CXXCPP=$CXXCPP
 
12046
 
 
12047
fi
 
12048
  CXXCPP=$ac_cv_prog_CXXCPP
 
12049
else
 
12050
  ac_cv_prog_CXXCPP=$CXXCPP
 
12051
fi
 
12052
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
 
12053
$as_echo "$CXXCPP" >&6; }
 
12054
ac_preproc_ok=false
 
12055
for ac_cxx_preproc_warn_flag in '' yes
 
12056
do
 
12057
  # Use a header file that comes with gcc, so configuring glibc
 
12058
  # with a fresh cross-compiler works.
 
12059
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
12060
  # <limits.h> exists even on freestanding compilers.
 
12061
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
12062
  # not just through cpp. "Syntax error" is here to catch this case.
 
12063
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12064
/* end confdefs.h.  */
 
12065
#ifdef __STDC__
 
12066
# include <limits.h>
 
12067
#else
 
12068
# include <assert.h>
 
12069
#endif
 
12070
                     Syntax error
 
12071
_ACEOF
 
12072
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
12073
 
 
12074
else
 
12075
  # Broken: fails on valid input.
 
12076
continue
 
12077
fi
 
12078
rm -f conftest.err conftest.$ac_ext
 
12079
 
 
12080
  # OK, works on sane cases.  Now check whether nonexistent headers
 
12081
  # can be detected and how.
 
12082
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12083
/* end confdefs.h.  */
 
12084
#include <ac_nonexistent.h>
 
12085
_ACEOF
 
12086
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
12087
  # Broken: success on invalid input.
 
12088
continue
 
12089
else
 
12090
  # Passes both tests.
 
12091
ac_preproc_ok=:
 
12092
break
 
12093
fi
 
12094
rm -f conftest.err conftest.$ac_ext
 
12095
 
 
12096
done
 
12097
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
12098
rm -f conftest.err conftest.$ac_ext
 
12099
if $ac_preproc_ok; then :
 
12100
 
 
12101
else
 
12102
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
12103
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
12104
_lt_caught_CXX_error=yes; }
 
12105
fi
 
12106
 
 
12107
ac_ext=c
 
12108
ac_cpp='$CPP $CPPFLAGS'
 
12109
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
12110
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
12111
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
12112
 
 
12113
else
 
12114
  _lt_caught_CXX_error=yes
 
12115
fi
 
12116
 
 
12117
 
 
12118
 
 
12119
 
 
12120
ac_ext=cpp
 
12121
ac_cpp='$CXXCPP $CPPFLAGS'
 
12122
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
12123
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
12124
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
12125
 
 
12126
archive_cmds_need_lc_CXX=no
 
12127
allow_undefined_flag_CXX=
 
12128
always_export_symbols_CXX=no
 
12129
archive_expsym_cmds_CXX=
 
12130
compiler_needs_object_CXX=no
 
12131
export_dynamic_flag_spec_CXX=
 
12132
hardcode_direct_CXX=no
 
12133
hardcode_direct_absolute_CXX=no
 
12134
hardcode_libdir_flag_spec_CXX=
 
12135
hardcode_libdir_flag_spec_ld_CXX=
 
12136
hardcode_libdir_separator_CXX=
 
12137
hardcode_minus_L_CXX=no
 
12138
hardcode_shlibpath_var_CXX=unsupported
 
12139
hardcode_automatic_CXX=no
 
12140
inherit_rpath_CXX=no
 
12141
module_cmds_CXX=
 
12142
module_expsym_cmds_CXX=
 
12143
link_all_deplibs_CXX=unknown
 
12144
old_archive_cmds_CXX=$old_archive_cmds
 
12145
no_undefined_flag_CXX=
 
12146
whole_archive_flag_spec_CXX=
 
12147
enable_shared_with_static_runtimes_CXX=no
 
12148
 
 
12149
# Source file extension for C++ test sources.
 
12150
ac_ext=cpp
 
12151
 
 
12152
# Object file extension for compiled C++ test sources.
 
12153
objext=o
 
12154
objext_CXX=$objext
 
12155
 
 
12156
# No sense in running all these tests if we already determined that
 
12157
# the CXX compiler isn't working.  Some variables (like enable_shared)
 
12158
# are currently assumed to apply to all compilers on this platform,
 
12159
# and will be corrupted by setting them based on a non-working compiler.
 
12160
if test "$_lt_caught_CXX_error" != yes; then
 
12161
  # Code to be used in simple compile tests
 
12162
  lt_simple_compile_test_code="int some_variable = 0;"
 
12163
 
 
12164
  # Code to be used in simple link tests
 
12165
  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
 
12166
 
 
12167
  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
12168
 
 
12169
 
 
12170
 
 
12171
 
 
12172
 
 
12173
 
 
12174
# If no C compiler was specified, use CC.
 
12175
LTCC=${LTCC-"$CC"}
 
12176
 
 
12177
# If no C compiler flags were specified, use CFLAGS.
 
12178
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
12179
 
 
12180
# Allow CC to be a program name with arguments.
 
12181
compiler=$CC
 
12182
 
 
12183
 
 
12184
  # save warnings/boilerplate of simple test code
 
12185
  ac_outfile=conftest.$ac_objext
 
12186
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
12187
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
12188
_lt_compiler_boilerplate=`cat conftest.err`
 
12189
$RM conftest*
 
12190
 
 
12191
  ac_outfile=conftest.$ac_objext
 
12192
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
12193
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
12194
_lt_linker_boilerplate=`cat conftest.err`
 
12195
$RM -r conftest*
 
12196
 
 
12197
 
 
12198
  # Allow CC to be a program name with arguments.
 
12199
  lt_save_CC=$CC
 
12200
  lt_save_LD=$LD
 
12201
  lt_save_GCC=$GCC
 
12202
  GCC=$GXX
 
12203
  lt_save_with_gnu_ld=$with_gnu_ld
 
12204
  lt_save_path_LD=$lt_cv_path_LD
 
12205
  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
 
12206
    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
 
12207
  else
 
12208
    $as_unset lt_cv_prog_gnu_ld
 
12209
  fi
 
12210
  if test -n "${lt_cv_path_LDCXX+set}"; then
 
12211
    lt_cv_path_LD=$lt_cv_path_LDCXX
 
12212
  else
 
12213
    $as_unset lt_cv_path_LD
 
12214
  fi
 
12215
  test -z "${LDCXX+set}" || LD=$LDCXX
 
12216
  CC=${CXX-"c++"}
 
12217
  compiler=$CC
 
12218
  compiler_CXX=$CC
 
12219
  for cc_temp in $compiler""; do
 
12220
  case $cc_temp in
 
12221
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
12222
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
12223
    \-*) ;;
 
12224
    *) break;;
 
12225
  esac
 
12226
done
 
12227
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
12228
 
 
12229
 
 
12230
  if test -n "$compiler"; then
 
12231
    # We don't want -fno-exception when compiling C++ code, so set the
 
12232
    # no_builtin_flag separately
 
12233
    if test "$GXX" = yes; then
 
12234
      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
 
12235
    else
 
12236
      lt_prog_compiler_no_builtin_flag_CXX=
 
12237
    fi
 
12238
 
 
12239
    if test "$GXX" = yes; then
 
12240
      # Set up default GNU C++ configuration
 
12241
 
 
12242
 
 
12243
 
 
12244
# Check whether --with-gnu-ld was given.
 
12245
if test "${with_gnu_ld+set}" = set; then :
 
12246
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 
12247
else
 
12248
  with_gnu_ld=no
 
12249
fi
 
12250
 
 
12251
ac_prog=ld
 
12252
if test "$GCC" = yes; then
 
12253
  # Check if gcc -print-prog-name=ld gives a path.
 
12254
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
 
12255
$as_echo_n "checking for ld used by $CC... " >&6; }
 
12256
  case $host in
 
12257
  *-*-mingw*)
 
12258
    # gcc leaves a trailing carriage return which upsets mingw
 
12259
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 
12260
  *)
 
12261
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 
12262
  esac
 
12263
  case $ac_prog in
 
12264
    # Accept absolute paths.
 
12265
    [\\/]* | ?:[\\/]*)
 
12266
      re_direlt='/[^/][^/]*/\.\./'
 
12267
      # Canonicalize the pathname of ld
 
12268
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
12269
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
12270
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
 
12271
      done
 
12272
      test -z "$LD" && LD="$ac_prog"
 
12273
      ;;
 
12274
  "")
 
12275
    # If it fails, then pretend we aren't using GCC.
 
12276
    ac_prog=ld
 
12277
    ;;
 
12278
  *)
 
12279
    # If it is relative, then search for the first ld in PATH.
 
12280
    with_gnu_ld=unknown
 
12281
    ;;
 
12282
  esac
 
12283
elif test "$with_gnu_ld" = yes; then
 
12284
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 
12285
$as_echo_n "checking for GNU ld... " >&6; }
 
12286
else
 
12287
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 
12288
$as_echo_n "checking for non-GNU ld... " >&6; }
 
12289
fi
 
12290
if test "${lt_cv_path_LD+set}" = set; then :
 
12291
  $as_echo_n "(cached) " >&6
 
12292
else
 
12293
  if test -z "$LD"; then
 
12294
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
12295
  for ac_dir in $PATH; do
 
12296
    IFS="$lt_save_ifs"
 
12297
    test -z "$ac_dir" && ac_dir=.
 
12298
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 
12299
      lt_cv_path_LD="$ac_dir/$ac_prog"
 
12300
      # Check to see if the program is GNU ld.  I'd rather use --version,
 
12301
      # but apparently some variants of GNU ld only accept -v.
 
12302
      # Break only if it was the GNU/non-GNU ld that we prefer.
 
12303
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 
12304
      *GNU* | *'with BFD'*)
 
12305
        test "$with_gnu_ld" != no && break
 
12306
        ;;
 
12307
      *)
 
12308
        test "$with_gnu_ld" != yes && break
 
12309
        ;;
 
12310
      esac
 
12311
    fi
 
12312
  done
 
12313
  IFS="$lt_save_ifs"
 
12314
else
 
12315
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
 
12316
fi
 
12317
fi
 
12318
 
 
12319
LD="$lt_cv_path_LD"
 
12320
if test -n "$LD"; then
 
12321
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 
12322
$as_echo "$LD" >&6; }
 
12323
else
 
12324
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12325
$as_echo "no" >&6; }
 
12326
fi
 
12327
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
12328
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 
12329
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 
12330
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
12331
  $as_echo_n "(cached) " >&6
 
12332
else
 
12333
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
 
12334
case `$LD -v 2>&1 </dev/null` in
 
12335
*GNU* | *'with BFD'*)
 
12336
  lt_cv_prog_gnu_ld=yes
 
12337
  ;;
 
12338
*)
 
12339
  lt_cv_prog_gnu_ld=no
 
12340
  ;;
 
12341
esac
 
12342
fi
 
12343
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
 
12344
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
 
12345
with_gnu_ld=$lt_cv_prog_gnu_ld
 
12346
 
 
12347
 
 
12348
 
 
12349
 
 
12350
 
 
12351
 
 
12352
 
 
12353
      # Check if GNU C++ uses GNU ld as the underlying linker, since the
 
12354
      # archiving commands below assume that GNU ld is being used.
 
12355
      if test "$with_gnu_ld" = yes; then
 
12356
        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
12357
        archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
12358
 
 
12359
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
12360
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
12361
 
 
12362
        # If archive_cmds runs LD, not CC, wlarc should be empty
 
12363
        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
 
12364
        #     investigate it a little bit more. (MM)
 
12365
        wlarc='${wl}'
 
12366
 
 
12367
        # ancient GNU ld didn't support --whole-archive et. al.
 
12368
        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
 
12369
          $GREP 'no-whole-archive' > /dev/null; then
 
12370
          whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
12371
        else
 
12372
          whole_archive_flag_spec_CXX=
 
12373
        fi
 
12374
      else
 
12375
        with_gnu_ld=no
 
12376
        wlarc=
 
12377
 
 
12378
        # A generic and very simple default shared library creation
 
12379
        # command for GNU C++ for the case where it uses the native
 
12380
        # linker, instead of GNU ld.  If possible, this setting should
 
12381
        # overridden to take advantage of the native linker features on
 
12382
        # the platform it is being used on.
 
12383
        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
12384
      fi
 
12385
 
 
12386
      # Commands to make compiler produce verbose output that lists
 
12387
      # what "hidden" libraries, object files and flags are used when
 
12388
      # linking a shared library.
 
12389
      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
12390
 
 
12391
    else
 
12392
      GXX=no
 
12393
      with_gnu_ld=no
 
12394
      wlarc=
 
12395
    fi
 
12396
 
 
12397
    # PORTME: fill in a description of your system's C++ link characteristics
 
12398
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
12399
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 
12400
    ld_shlibs_CXX=yes
 
12401
    case $host_os in
 
12402
      aix3*)
 
12403
        # FIXME: insert proper C++ library support
 
12404
        ld_shlibs_CXX=no
 
12405
        ;;
 
12406
      aix[4-9]*)
 
12407
        if test "$host_cpu" = ia64; then
 
12408
          # On IA64, the linker does run time linking by default, so we don't
 
12409
          # have to do anything special.
 
12410
          aix_use_runtimelinking=no
 
12411
          exp_sym_flag='-Bexport'
 
12412
          no_entry_flag=""
 
12413
        else
 
12414
          aix_use_runtimelinking=no
 
12415
 
 
12416
          # Test if we are trying to use run time linking or normal
 
12417
          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 
12418
          # need to do runtime linking.
 
12419
          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
 
12420
            for ld_flag in $LDFLAGS; do
 
12421
              case $ld_flag in
 
12422
              *-brtl*)
 
12423
                aix_use_runtimelinking=yes
 
12424
                break
 
12425
                ;;
 
12426
              esac
 
12427
            done
 
12428
            ;;
 
12429
          esac
 
12430
 
 
12431
          exp_sym_flag='-bexport'
 
12432
          no_entry_flag='-bnoentry'
 
12433
        fi
 
12434
 
 
12435
        # When large executables or shared objects are built, AIX ld can
 
12436
        # have problems creating the table of contents.  If linking a library
 
12437
        # or program results in "error TOC overflow" add -mminimal-toc to
 
12438
        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 
12439
        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
12440
 
 
12441
        archive_cmds_CXX=''
 
12442
        hardcode_direct_CXX=yes
 
12443
        hardcode_direct_absolute_CXX=yes
 
12444
        hardcode_libdir_separator_CXX=':'
 
12445
        link_all_deplibs_CXX=yes
 
12446
        file_list_spec_CXX='${wl}-f,'
 
12447
 
 
12448
        if test "$GXX" = yes; then
 
12449
          case $host_os in aix4.[012]|aix4.[012].*)
 
12450
          # We only want to do this on AIX 4.2 and lower, the check
 
12451
          # below for broken collect2 doesn't work under 4.3+
 
12452
          collect2name=`${CC} -print-prog-name=collect2`
 
12453
          if test -f "$collect2name" &&
 
12454
             strings "$collect2name" | $GREP resolve_lib_name >/dev/null
 
12455
          then
 
12456
            # We have reworked collect2
 
12457
            :
 
12458
          else
 
12459
            # We have old collect2
 
12460
            hardcode_direct_CXX=unsupported
 
12461
            # It fails to find uninstalled libraries when the uninstalled
 
12462
            # path is not listed in the libpath.  Setting hardcode_minus_L
 
12463
            # to unsupported forces relinking
 
12464
            hardcode_minus_L_CXX=yes
 
12465
            hardcode_libdir_flag_spec_CXX='-L$libdir'
 
12466
            hardcode_libdir_separator_CXX=
 
12467
          fi
 
12468
          esac
 
12469
          shared_flag='-shared'
 
12470
          if test "$aix_use_runtimelinking" = yes; then
 
12471
            shared_flag="$shared_flag "'${wl}-G'
 
12472
          fi
 
12473
        else
 
12474
          # not using gcc
 
12475
          if test "$host_cpu" = ia64; then
 
12476
          # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
12477
          # chokes on -Wl,-G. The following line is correct:
 
12478
          shared_flag='-G'
 
12479
          else
 
12480
            if test "$aix_use_runtimelinking" = yes; then
 
12481
              shared_flag='${wl}-G'
 
12482
            else
 
12483
              shared_flag='${wl}-bM:SRE'
 
12484
            fi
 
12485
          fi
 
12486
        fi
 
12487
 
 
12488
        export_dynamic_flag_spec_CXX='${wl}-bexpall'
 
12489
        # It seems that -bexpall does not export symbols beginning with
 
12490
        # underscore (_), so it is better to generate a list of symbols to
 
12491
        # export.
 
12492
        always_export_symbols_CXX=yes
 
12493
        if test "$aix_use_runtimelinking" = yes; then
 
12494
          # Warning - without using the other runtime loading flags (-brtl),
 
12495
          # -berok will link without error, but may produce a broken library.
 
12496
          allow_undefined_flag_CXX='-berok'
 
12497
          # Determine the default libpath from the value encoded in an empty
 
12498
          # executable.
 
12499
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12500
/* end confdefs.h.  */
 
12501
 
 
12502
int
 
12503
main ()
 
12504
{
 
12505
 
 
12506
  ;
 
12507
  return 0;
 
12508
}
 
12509
_ACEOF
 
12510
if ac_fn_cxx_try_link "$LINENO"; then :
 
12511
 
 
12512
lt_aix_libpath_sed='
 
12513
    /Import File Strings/,/^$/ {
 
12514
        /^0/ {
 
12515
            s/^0  *\(.*\)$/\1/
 
12516
            p
 
12517
        }
 
12518
    }'
 
12519
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
12520
# Check for a 64-bit object if we didn't find anything.
 
12521
if test -z "$aix_libpath"; then
 
12522
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
12523
fi
 
12524
fi
 
12525
rm -f core conftest.err conftest.$ac_objext \
 
12526
    conftest$ac_exeext conftest.$ac_ext
 
12527
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
12528
 
 
12529
          hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
 
12530
 
 
12531
          archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
12532
        else
 
12533
          if test "$host_cpu" = ia64; then
 
12534
            hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
 
12535
            allow_undefined_flag_CXX="-z nodefs"
 
12536
            archive_expsym_cmds_CXX="\$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"
 
12537
          else
 
12538
            # Determine the default libpath from the value encoded in an
 
12539
            # empty executable.
 
12540
            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12541
/* end confdefs.h.  */
 
12542
 
 
12543
int
 
12544
main ()
 
12545
{
 
12546
 
 
12547
  ;
 
12548
  return 0;
 
12549
}
 
12550
_ACEOF
 
12551
if ac_fn_cxx_try_link "$LINENO"; then :
 
12552
 
 
12553
lt_aix_libpath_sed='
 
12554
    /Import File Strings/,/^$/ {
 
12555
        /^0/ {
 
12556
            s/^0  *\(.*\)$/\1/
 
12557
            p
 
12558
        }
 
12559
    }'
 
12560
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
12561
# Check for a 64-bit object if we didn't find anything.
 
12562
if test -z "$aix_libpath"; then
 
12563
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
12564
fi
 
12565
fi
 
12566
rm -f core conftest.err conftest.$ac_objext \
 
12567
    conftest$ac_exeext conftest.$ac_ext
 
12568
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
12569
 
 
12570
            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
 
12571
            # Warning - without using the other run time loading flags,
 
12572
            # -berok will link without error, but may produce a broken library.
 
12573
            no_undefined_flag_CXX=' ${wl}-bernotok'
 
12574
            allow_undefined_flag_CXX=' ${wl}-berok'
 
12575
            # Exported symbols can be pulled into shared objects from archives
 
12576
            whole_archive_flag_spec_CXX='$convenience'
 
12577
            archive_cmds_need_lc_CXX=yes
 
12578
            # This is similar to how AIX traditionally builds its shared
 
12579
            # libraries.
 
12580
            archive_expsym_cmds_CXX="\$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'
 
12581
          fi
 
12582
        fi
 
12583
        ;;
 
12584
 
 
12585
      beos*)
 
12586
        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
12587
          allow_undefined_flag_CXX=unsupported
 
12588
          # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
12589
          # support --undefined.  This deserves some investigation.  FIXME
 
12590
          archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
12591
        else
 
12592
          ld_shlibs_CXX=no
 
12593
        fi
 
12594
        ;;
 
12595
 
 
12596
      chorus*)
 
12597
        case $cc_basename in
 
12598
          *)
 
12599
          # FIXME: insert proper C++ library support
 
12600
          ld_shlibs_CXX=no
 
12601
          ;;
 
12602
        esac
 
12603
        ;;
 
12604
 
 
12605
      cygwin* | mingw* | pw32* | cegcc*)
 
12606
        # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
 
12607
        # as there is no search path for DLLs.
 
12608
        hardcode_libdir_flag_spec_CXX='-L$libdir'
 
12609
        allow_undefined_flag_CXX=unsupported
 
12610
        always_export_symbols_CXX=no
 
12611
        enable_shared_with_static_runtimes_CXX=yes
 
12612
 
 
12613
        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 
12614
          archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
12615
          # If the export-symbols file already is a .def file (1st line
 
12616
          # is EXPORTS), use it as is; otherwise, prepend...
 
12617
          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
12618
            cp $export_symbols $output_objdir/$soname.def;
 
12619
          else
 
12620
            echo EXPORTS > $output_objdir/$soname.def;
 
12621
            cat $export_symbols >> $output_objdir/$soname.def;
 
12622
          fi~
 
12623
          $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
12624
        else
 
12625
          ld_shlibs_CXX=no
 
12626
        fi
 
12627
        ;;
 
12628
      darwin* | rhapsody*)
 
12629
 
 
12630
 
 
12631
  archive_cmds_need_lc_CXX=no
 
12632
  hardcode_direct_CXX=no
 
12633
  hardcode_automatic_CXX=yes
 
12634
  hardcode_shlibpath_var_CXX=unsupported
 
12635
  whole_archive_flag_spec_CXX=''
 
12636
  link_all_deplibs_CXX=yes
 
12637
  allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
 
12638
  case $cc_basename in
 
12639
     ifort*) _lt_dar_can_shared=yes ;;
 
12640
     *) _lt_dar_can_shared=$GCC ;;
 
12641
  esac
 
12642
  if test "$_lt_dar_can_shared" = "yes"; then
 
12643
    output_verbose_link_cmd=echo
 
12644
    archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
12645
    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
12646
    archive_expsym_cmds_CXX="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}"
 
12647
    module_expsym_cmds_CXX="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}"
 
12648
       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
 
12649
      archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
 
12650
      archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
 
12651
    fi
 
12652
 
 
12653
  else
 
12654
  ld_shlibs_CXX=no
 
12655
  fi
 
12656
 
 
12657
        ;;
 
12658
 
 
12659
      dgux*)
 
12660
        case $cc_basename in
 
12661
          ec++*)
 
12662
            # FIXME: insert proper C++ library support
 
12663
            ld_shlibs_CXX=no
 
12664
            ;;
 
12665
          ghcx*)
 
12666
            # Green Hills C++ Compiler
 
12667
            # FIXME: insert proper C++ library support
 
12668
            ld_shlibs_CXX=no
 
12669
            ;;
 
12670
          *)
 
12671
            # FIXME: insert proper C++ library support
 
12672
            ld_shlibs_CXX=no
 
12673
            ;;
 
12674
        esac
 
12675
        ;;
 
12676
 
 
12677
      freebsd[12]*)
 
12678
        # C++ shared libraries reported to be fairly broken before
 
12679
        # switch to ELF
 
12680
        ld_shlibs_CXX=no
 
12681
        ;;
 
12682
 
 
12683
      freebsd-elf*)
 
12684
        archive_cmds_need_lc_CXX=no
 
12685
        ;;
 
12686
 
 
12687
      freebsd* | dragonfly*)
 
12688
        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
 
12689
        # conventions
 
12690
        ld_shlibs_CXX=yes
 
12691
        ;;
 
12692
 
 
12693
      gnu*)
 
12694
        ;;
 
12695
 
 
12696
      hpux9*)
 
12697
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 
12698
        hardcode_libdir_separator_CXX=:
 
12699
        export_dynamic_flag_spec_CXX='${wl}-E'
 
12700
        hardcode_direct_CXX=yes
 
12701
        hardcode_minus_L_CXX=yes # Not in the search PATH,
 
12702
                                             # but as the default
 
12703
                                             # location of the library.
 
12704
 
 
12705
        case $cc_basename in
 
12706
          CC*)
 
12707
            # FIXME: insert proper C++ library support
 
12708
            ld_shlibs_CXX=no
 
12709
            ;;
 
12710
          aCC*)
 
12711
            archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
12712
            # Commands to make compiler produce verbose output that lists
 
12713
            # what "hidden" libraries, object files and flags are used when
 
12714
            # linking a shared library.
 
12715
            #
 
12716
            # There doesn't appear to be a way to prevent this compiler from
 
12717
            # explicitly linking system object files so we need to strip them
 
12718
            # from the output so that they don't get included in the library
 
12719
            # dependencies.
 
12720
            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
 
12721
            ;;
 
12722
          *)
 
12723
            if test "$GXX" = yes; then
 
12724
              archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
12725
            else
 
12726
              # FIXME: insert proper C++ library support
 
12727
              ld_shlibs_CXX=no
 
12728
            fi
 
12729
            ;;
 
12730
        esac
 
12731
        ;;
 
12732
 
 
12733
      hpux10*|hpux11*)
 
12734
        if test $with_gnu_ld = no; then
 
12735
          hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 
12736
          hardcode_libdir_separator_CXX=:
 
12737
 
 
12738
          case $host_cpu in
 
12739
            hppa*64*|ia64*)
 
12740
              ;;
 
12741
            *)
 
12742
              export_dynamic_flag_spec_CXX='${wl}-E'
 
12743
              ;;
 
12744
          esac
 
12745
        fi
 
12746
        case $host_cpu in
 
12747
          hppa*64*|ia64*)
 
12748
            hardcode_direct_CXX=no
 
12749
            hardcode_shlibpath_var_CXX=no
 
12750
            ;;
 
12751
          *)
 
12752
            hardcode_direct_CXX=yes
 
12753
            hardcode_direct_absolute_CXX=yes
 
12754
            hardcode_minus_L_CXX=yes # Not in the search PATH,
 
12755
                                                 # but as the default
 
12756
                                                 # location of the library.
 
12757
            ;;
 
12758
        esac
 
12759
 
 
12760
        case $cc_basename in
 
12761
          CC*)
 
12762
            # FIXME: insert proper C++ library support
 
12763
            ld_shlibs_CXX=no
 
12764
            ;;
 
12765
          aCC*)
 
12766
            case $host_cpu in
 
12767
              hppa*64*)
 
12768
                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12769
                ;;
 
12770
              ia64*)
 
12771
                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12772
                ;;
 
12773
              *)
 
12774
                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12775
                ;;
 
12776
            esac
 
12777
            # Commands to make compiler produce verbose output that lists
 
12778
            # what "hidden" libraries, object files and flags are used when
 
12779
            # linking a shared library.
 
12780
            #
 
12781
            # There doesn't appear to be a way to prevent this compiler from
 
12782
            # explicitly linking system object files so we need to strip them
 
12783
            # from the output so that they don't get included in the library
 
12784
            # dependencies.
 
12785
            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
 
12786
            ;;
 
12787
          *)
 
12788
            if test "$GXX" = yes; then
 
12789
              if test $with_gnu_ld = no; then
 
12790
                case $host_cpu in
 
12791
                  hppa*64*)
 
12792
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12793
                    ;;
 
12794
                  ia64*)
 
12795
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12796
                    ;;
 
12797
                  *)
 
12798
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12799
                    ;;
 
12800
                esac
 
12801
              fi
 
12802
            else
 
12803
              # FIXME: insert proper C++ library support
 
12804
              ld_shlibs_CXX=no
 
12805
            fi
 
12806
            ;;
 
12807
        esac
 
12808
        ;;
 
12809
 
 
12810
      interix[3-9]*)
 
12811
        hardcode_direct_CXX=no
 
12812
        hardcode_shlibpath_var_CXX=no
 
12813
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
12814
        export_dynamic_flag_spec_CXX='${wl}-E'
 
12815
        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
12816
        # Instead, shared libraries are loaded at an image base (0x10000000 by
 
12817
        # default) and relocated if they conflict, which is a slow very memory
 
12818
        # consuming and fragmenting process.  To avoid this, we pick a random,
 
12819
        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
12820
        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
12821
        archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
12822
        archive_expsym_cmds_CXX='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'
 
12823
        ;;
 
12824
      irix5* | irix6*)
 
12825
        case $cc_basename in
 
12826
          CC*)
 
12827
            # SGI C++
 
12828
            archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
12829
 
 
12830
            # Archives containing C++ object files must be created using
 
12831
            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
 
12832
            # necessary to make sure instantiated templates are included
 
12833
            # in the archive.
 
12834
            old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
 
12835
            ;;
 
12836
          *)
 
12837
            if test "$GXX" = yes; then
 
12838
              if test "$with_gnu_ld" = no; then
 
12839
                archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
12840
              else
 
12841
                archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
 
12842
              fi
 
12843
            fi
 
12844
            link_all_deplibs_CXX=yes
 
12845
            ;;
 
12846
        esac
 
12847
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
12848
        hardcode_libdir_separator_CXX=:
 
12849
        inherit_rpath_CXX=yes
 
12850
        ;;
 
12851
 
 
12852
      linux* | k*bsd*-gnu)
 
12853
        case $cc_basename in
 
12854
          KCC*)
 
12855
            # Kuck and Associates, Inc. (KAI) C++ Compiler
 
12856
 
 
12857
            # KCC will only create a shared library if the output file
 
12858
            # ends with ".so" (or ".sl" for HP-UX), so rename the library
 
12859
            # to its proper name (with version) after linking.
 
12860
            archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
 
12861
            archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
 
12862
            # Commands to make compiler produce verbose output that lists
 
12863
            # what "hidden" libraries, object files and flags are used when
 
12864
            # linking a shared library.
 
12865
            #
 
12866
            # There doesn't appear to be a way to prevent this compiler from
 
12867
            # explicitly linking system object files so we need to strip them
 
12868
            # from the output so that they don't get included in the library
 
12869
            # dependencies.
 
12870
            output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
 
12871
 
 
12872
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
12873
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
12874
 
 
12875
            # Archives containing C++ object files must be created using
 
12876
            # "CC -Bstatic", where "CC" is the KAI C++ compiler.
 
12877
            old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
 
12878
            ;;
 
12879
          icpc* | ecpc* )
 
12880
            # Intel C++
 
12881
            with_gnu_ld=yes
 
12882
            # version 8.0 and above of icpc choke on multiply defined symbols
 
12883
            # if we add $predep_objects and $postdep_objects, however 7.1 and
 
12884
            # earlier do not add the objects themselves.
 
12885
            case `$CC -V 2>&1` in
 
12886
              *"Version 7."*)
 
12887
                archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
12888
                archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
12889
                ;;
 
12890
              *)  # Version 8.0 or newer
 
12891
                tmp_idyn=
 
12892
                case $host_cpu in
 
12893
                  ia64*) tmp_idyn=' -i_dynamic';;
 
12894
                esac
 
12895
                archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
12896
                archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
12897
                ;;
 
12898
            esac
 
12899
            archive_cmds_need_lc_CXX=no
 
12900
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
12901
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
12902
            whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
12903
            ;;
 
12904
          pgCC* | pgcpp*)
 
12905
            # Portland Group C++ compiler
 
12906
            case `$CC -V` in
 
12907
            *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
 
12908
              prelink_cmds_CXX='tpldir=Template.dir~
 
12909
                rm -rf $tpldir~
 
12910
                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
 
12911
                compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
 
12912
              old_archive_cmds_CXX='tpldir=Template.dir~
 
12913
                rm -rf $tpldir~
 
12914
                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
 
12915
                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
 
12916
                $RANLIB $oldlib'
 
12917
              archive_cmds_CXX='tpldir=Template.dir~
 
12918
                rm -rf $tpldir~
 
12919
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
 
12920
                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
 
12921
              archive_expsym_cmds_CXX='tpldir=Template.dir~
 
12922
                rm -rf $tpldir~
 
12923
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
 
12924
                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
 
12925
              ;;
 
12926
            *) # Version 6 will use weak symbols
 
12927
              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
 
12928
              archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
 
12929
              ;;
 
12930
            esac
 
12931
 
 
12932
            hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
 
12933
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
12934
            whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
12935
            ;;
 
12936
          cxx*)
 
12937
            # Compaq C++
 
12938
            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
12939
            archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
 
12940
 
 
12941
            runpath_var=LD_RUN_PATH
 
12942
            hardcode_libdir_flag_spec_CXX='-rpath $libdir'
 
12943
            hardcode_libdir_separator_CXX=:
 
12944
 
 
12945
            # Commands to make compiler produce verbose output that lists
 
12946
            # what "hidden" libraries, object files and flags are used when
 
12947
            # linking a shared library.
 
12948
            #
 
12949
            # There doesn't appear to be a way to prevent this compiler from
 
12950
            # explicitly linking system object files so we need to strip them
 
12951
            # from the output so that they don't get included in the library
 
12952
            # dependencies.
 
12953
            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
 
12954
            ;;
 
12955
          xl*)
 
12956
            # IBM XL 8.0 on PPC, with GNU ld
 
12957
            hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
12958
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
12959
            archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
12960
            if test "x$supports_anon_versioning" = xyes; then
 
12961
              archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
 
12962
                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
12963
                echo "local: *; };" >> $output_objdir/$libname.ver~
 
12964
                $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
12965
            fi
 
12966
            ;;
 
12967
          *)
 
12968
            case `$CC -V 2>&1 | sed 5q` in
 
12969
            *Sun\ C*)
 
12970
              # Sun C++ 5.9
 
12971
              no_undefined_flag_CXX=' -zdefs'
 
12972
              archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
12973
              archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
 
12974
              hardcode_libdir_flag_spec_CXX='-R$libdir'
 
12975
              whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
12976
              compiler_needs_object_CXX=yes
 
12977
 
 
12978
              # Not sure whether something based on
 
12979
              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
 
12980
              # would be better.
 
12981
              output_verbose_link_cmd='echo'
 
12982
 
 
12983
              # Archives containing C++ object files must be created using
 
12984
              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 
12985
              # necessary to make sure instantiated templates are included
 
12986
              # in the archive.
 
12987
              old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
 
12988
              ;;
 
12989
            esac
 
12990
            ;;
 
12991
        esac
 
12992
        ;;
 
12993
 
 
12994
      lynxos*)
 
12995
        # FIXME: insert proper C++ library support
 
12996
        ld_shlibs_CXX=no
 
12997
        ;;
 
12998
 
 
12999
      m88k*)
 
13000
        # FIXME: insert proper C++ library support
 
13001
        ld_shlibs_CXX=no
 
13002
        ;;
 
13003
 
 
13004
      mvs*)
 
13005
        case $cc_basename in
 
13006
          cxx*)
 
13007
            # FIXME: insert proper C++ library support
 
13008
            ld_shlibs_CXX=no
 
13009
            ;;
 
13010
          *)
 
13011
            # FIXME: insert proper C++ library support
 
13012
            ld_shlibs_CXX=no
 
13013
            ;;
 
13014
        esac
 
13015
        ;;
 
13016
 
 
13017
      netbsd*)
 
13018
        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
13019
          archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
 
13020
          wlarc=
 
13021
          hardcode_libdir_flag_spec_CXX='-R$libdir'
 
13022
          hardcode_direct_CXX=yes
 
13023
          hardcode_shlibpath_var_CXX=no
 
13024
        fi
 
13025
        # Workaround some broken pre-1.5 toolchains
 
13026
        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
 
13027
        ;;
 
13028
 
 
13029
      *nto* | *qnx*)
 
13030
        ld_shlibs_CXX=yes
 
13031
        ;;
 
13032
 
 
13033
      openbsd2*)
 
13034
        # C++ shared libraries are fairly broken
 
13035
        ld_shlibs_CXX=no
 
13036
        ;;
 
13037
 
 
13038
      openbsd*)
 
13039
        if test -f /usr/libexec/ld.so; then
 
13040
          hardcode_direct_CXX=yes
 
13041
          hardcode_shlibpath_var_CXX=no
 
13042
          hardcode_direct_absolute_CXX=yes
 
13043
          archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
13044
          hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
13045
          if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
13046
            archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
 
13047
            export_dynamic_flag_spec_CXX='${wl}-E'
 
13048
            whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
13049
          fi
 
13050
          output_verbose_link_cmd=echo
 
13051
        else
 
13052
          ld_shlibs_CXX=no
 
13053
        fi
 
13054
        ;;
 
13055
 
 
13056
      osf3* | osf4* | osf5*)
 
13057
        case $cc_basename in
 
13058
          KCC*)
 
13059
            # Kuck and Associates, Inc. (KAI) C++ Compiler
 
13060
 
 
13061
            # KCC will only create a shared library if the output file
 
13062
            # ends with ".so" (or ".sl" for HP-UX), so rename the library
 
13063
            # to its proper name (with version) after linking.
 
13064
            archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
 
13065
 
 
13066
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
13067
            hardcode_libdir_separator_CXX=:
 
13068
 
 
13069
            # Archives containing C++ object files must be created using
 
13070
            # the KAI C++ compiler.
 
13071
            case $host in
 
13072
              osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
 
13073
              *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
 
13074
            esac
 
13075
            ;;
 
13076
          RCC*)
 
13077
            # Rational C++ 2.4.1
 
13078
            # FIXME: insert proper C++ library support
 
13079
            ld_shlibs_CXX=no
 
13080
            ;;
 
13081
          cxx*)
 
13082
            case $host in
 
13083
              osf3*)
 
13084
                allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
 
13085
                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
13086
                hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
13087
                ;;
 
13088
              *)
 
13089
                allow_undefined_flag_CXX=' -expect_unresolved \*'
 
13090
                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
13091
                archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
 
13092
                  echo "-hidden">> $lib.exp~
 
13093
                  $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
 
13094
                  $RM $lib.exp'
 
13095
                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
 
13096
                ;;
 
13097
            esac
 
13098
 
 
13099
            hardcode_libdir_separator_CXX=:
 
13100
 
 
13101
            # Commands to make compiler produce verbose output that lists
 
13102
            # what "hidden" libraries, object files and flags are used when
 
13103
            # linking a shared library.
 
13104
            #
 
13105
            # There doesn't appear to be a way to prevent this compiler from
 
13106
            # explicitly linking system object files so we need to strip them
 
13107
            # from the output so that they don't get included in the library
 
13108
            # dependencies.
 
13109
            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
 
13110
            ;;
 
13111
          *)
 
13112
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 
13113
              allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
 
13114
              case $host in
 
13115
                osf3*)
 
13116
                  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
13117
                  ;;
 
13118
                *)
 
13119
                  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
13120
                  ;;
 
13121
              esac
 
13122
 
 
13123
              hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
13124
              hardcode_libdir_separator_CXX=:
 
13125
 
 
13126
              # Commands to make compiler produce verbose output that lists
 
13127
              # what "hidden" libraries, object files and flags are used when
 
13128
              # linking a shared library.
 
13129
              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
13130
 
 
13131
            else
 
13132
              # FIXME: insert proper C++ library support
 
13133
              ld_shlibs_CXX=no
 
13134
            fi
 
13135
            ;;
 
13136
        esac
 
13137
        ;;
 
13138
 
 
13139
      psos*)
 
13140
        # FIXME: insert proper C++ library support
 
13141
        ld_shlibs_CXX=no
 
13142
        ;;
 
13143
 
 
13144
      sunos4*)
 
13145
        case $cc_basename in
 
13146
          CC*)
 
13147
            # Sun C++ 4.x
 
13148
            # FIXME: insert proper C++ library support
 
13149
            ld_shlibs_CXX=no
 
13150
            ;;
 
13151
          lcc*)
 
13152
            # Lucid
 
13153
            # FIXME: insert proper C++ library support
 
13154
            ld_shlibs_CXX=no
 
13155
            ;;
 
13156
          *)
 
13157
            # FIXME: insert proper C++ library support
 
13158
            ld_shlibs_CXX=no
 
13159
            ;;
 
13160
        esac
 
13161
        ;;
 
13162
 
 
13163
      solaris*)
 
13164
        case $cc_basename in
 
13165
          CC*)
 
13166
            # Sun C++ 4.2, 5.x and Centerline C++
 
13167
            archive_cmds_need_lc_CXX=yes
 
13168
            no_undefined_flag_CXX=' -zdefs'
 
13169
            archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
13170
            archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
13171
              $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
13172
 
 
13173
            hardcode_libdir_flag_spec_CXX='-R$libdir'
 
13174
            hardcode_shlibpath_var_CXX=no
 
13175
            case $host_os in
 
13176
              solaris2.[0-5] | solaris2.[0-5].*) ;;
 
13177
              *)
 
13178
                # The compiler driver will combine and reorder linker options,
 
13179
                # but understands `-z linker_flag'.
 
13180
                # Supported since Solaris 2.6 (maybe 2.5.1?)
 
13181
                whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
 
13182
                ;;
 
13183
            esac
 
13184
            link_all_deplibs_CXX=yes
 
13185
 
 
13186
            output_verbose_link_cmd='echo'
 
13187
 
 
13188
            # Archives containing C++ object files must be created using
 
13189
            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 
13190
            # necessary to make sure instantiated templates are included
 
13191
            # in the archive.
 
13192
            old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
 
13193
            ;;
 
13194
          gcx*)
 
13195
            # Green Hills C++ Compiler
 
13196
            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
13197
 
 
13198
            # The C++ compiler must be used to create the archive.
 
13199
            old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
 
13200
            ;;
 
13201
          *)
 
13202
            # GNU C++ compiler with Solaris linker
 
13203
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 
13204
              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
 
13205
              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
 
13206
                archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
13207
                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
13208
                  $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
13209
 
 
13210
                # Commands to make compiler produce verbose output that lists
 
13211
                # what "hidden" libraries, object files and flags are used when
 
13212
                # linking a shared library.
 
13213
                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
13214
              else
 
13215
                # g++ 2.7 appears to require `-G' NOT `-shared' on this
 
13216
                # platform.
 
13217
                archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
13218
                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
13219
                  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
13220
 
 
13221
                # Commands to make compiler produce verbose output that lists
 
13222
                # what "hidden" libraries, object files and flags are used when
 
13223
                # linking a shared library.
 
13224
                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
13225
              fi
 
13226
 
 
13227
              hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
 
13228
              case $host_os in
 
13229
                solaris2.[0-5] | solaris2.[0-5].*) ;;
 
13230
                *)
 
13231
                  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
13232
                  ;;
 
13233
              esac
 
13234
            fi
 
13235
            ;;
 
13236
        esac
 
13237
        ;;
 
13238
 
 
13239
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
13240
      no_undefined_flag_CXX='${wl}-z,text'
 
13241
      archive_cmds_need_lc_CXX=no
 
13242
      hardcode_shlibpath_var_CXX=no
 
13243
      runpath_var='LD_RUN_PATH'
 
13244
 
 
13245
      case $cc_basename in
 
13246
        CC*)
 
13247
          archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13248
          archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13249
          ;;
 
13250
        *)
 
13251
          archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13252
          archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13253
          ;;
 
13254
      esac
 
13255
      ;;
 
13256
 
 
13257
      sysv5* | sco3.2v5* | sco5v6*)
 
13258
        # Note: We can NOT use -z defs as we might desire, because we do not
 
13259
        # link with -lc, and that would cause any symbols used from libc to
 
13260
        # always be unresolved, which means just about no library would
 
13261
        # ever link correctly.  If we're not using GNU ld we use -z text
 
13262
        # though, which does catch some bad symbols but isn't as heavy-handed
 
13263
        # as -z defs.
 
13264
        no_undefined_flag_CXX='${wl}-z,text'
 
13265
        allow_undefined_flag_CXX='${wl}-z,nodefs'
 
13266
        archive_cmds_need_lc_CXX=no
 
13267
        hardcode_shlibpath_var_CXX=no
 
13268
        hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
 
13269
        hardcode_libdir_separator_CXX=':'
 
13270
        link_all_deplibs_CXX=yes
 
13271
        export_dynamic_flag_spec_CXX='${wl}-Bexport'
 
13272
        runpath_var='LD_RUN_PATH'
 
13273
 
 
13274
        case $cc_basename in
 
13275
          CC*)
 
13276
            archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13277
            archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13278
            ;;
 
13279
          *)
 
13280
            archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13281
            archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13282
            ;;
 
13283
        esac
 
13284
      ;;
 
13285
 
 
13286
      tandem*)
 
13287
        case $cc_basename in
 
13288
          NCC*)
 
13289
            # NonStop-UX NCC 3.20
 
13290
            # FIXME: insert proper C++ library support
 
13291
            ld_shlibs_CXX=no
 
13292
            ;;
 
13293
          *)
 
13294
            # FIXME: insert proper C++ library support
 
13295
            ld_shlibs_CXX=no
 
13296
            ;;
 
13297
        esac
 
13298
        ;;
 
13299
 
 
13300
      vxworks*)
 
13301
        # FIXME: insert proper C++ library support
 
13302
        ld_shlibs_CXX=no
 
13303
        ;;
 
13304
 
 
13305
      *)
 
13306
        # FIXME: insert proper C++ library support
 
13307
        ld_shlibs_CXX=no
 
13308
        ;;
 
13309
    esac
 
13310
 
 
13311
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
 
13312
$as_echo "$ld_shlibs_CXX" >&6; }
 
13313
    test "$ld_shlibs_CXX" = no && can_build_shared=no
 
13314
 
 
13315
    GCC_CXX="$GXX"
 
13316
    LD_CXX="$LD"
 
13317
 
 
13318
    ## CAVEAT EMPTOR:
 
13319
    ## There is no encapsulation within the following macros, do not change
 
13320
    ## the running order or otherwise move them around unless you know exactly
 
13321
    ## what you are doing...
 
13322
    # Dependencies to place before and after the object being linked:
 
13323
predep_objects_CXX=
 
13324
postdep_objects_CXX=
 
13325
predeps_CXX=
 
13326
postdeps_CXX=
 
13327
compiler_lib_search_path_CXX=
 
13328
 
 
13329
cat > conftest.$ac_ext <<_LT_EOF
 
13330
class Foo
 
13331
{
 
13332
public:
 
13333
  Foo (void) { a = 0; }
 
13334
private:
 
13335
  int a;
 
13336
};
 
13337
_LT_EOF
 
13338
 
 
13339
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
13340
  (eval $ac_compile) 2>&5
 
13341
  ac_status=$?
 
13342
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13343
  test $ac_status = 0; }; then
 
13344
  # Parse the compiler output and extract the necessary
 
13345
  # objects, libraries and library flags.
 
13346
 
 
13347
  # Sentinel used to keep track of whether or not we are before
 
13348
  # the conftest object file.
 
13349
  pre_test_object_deps_done=no
 
13350
 
 
13351
  for p in `eval "$output_verbose_link_cmd"`; do
 
13352
    case $p in
 
13353
 
 
13354
    -L* | -R* | -l*)
 
13355
       # Some compilers place space between "-{L,R}" and the path.
 
13356
       # Remove the space.
 
13357
       if test $p = "-L" ||
 
13358
          test $p = "-R"; then
 
13359
         prev=$p
 
13360
         continue
 
13361
       else
 
13362
         prev=
 
13363
       fi
 
13364
 
 
13365
       if test "$pre_test_object_deps_done" = no; then
 
13366
         case $p in
 
13367
         -L* | -R*)
 
13368
           # Internal compiler library paths should come after those
 
13369
           # provided the user.  The postdeps already come after the
 
13370
           # user supplied libs so there is no need to process them.
 
13371
           if test -z "$compiler_lib_search_path_CXX"; then
 
13372
             compiler_lib_search_path_CXX="${prev}${p}"
 
13373
           else
 
13374
             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
 
13375
           fi
 
13376
           ;;
 
13377
         # The "-l" case would never come before the object being
 
13378
         # linked, so don't bother handling this case.
 
13379
         esac
 
13380
       else
 
13381
         if test -z "$postdeps_CXX"; then
 
13382
           postdeps_CXX="${prev}${p}"
 
13383
         else
 
13384
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
 
13385
         fi
 
13386
       fi
 
13387
       ;;
 
13388
 
 
13389
    *.$objext)
 
13390
       # This assumes that the test object file only shows up
 
13391
       # once in the compiler output.
 
13392
       if test "$p" = "conftest.$objext"; then
 
13393
         pre_test_object_deps_done=yes
 
13394
         continue
 
13395
       fi
 
13396
 
 
13397
       if test "$pre_test_object_deps_done" = no; then
 
13398
         if test -z "$predep_objects_CXX"; then
 
13399
           predep_objects_CXX="$p"
 
13400
         else
 
13401
           predep_objects_CXX="$predep_objects_CXX $p"
 
13402
         fi
 
13403
       else
 
13404
         if test -z "$postdep_objects_CXX"; then
 
13405
           postdep_objects_CXX="$p"
 
13406
         else
 
13407
           postdep_objects_CXX="$postdep_objects_CXX $p"
 
13408
         fi
 
13409
       fi
 
13410
       ;;
 
13411
 
 
13412
    *) ;; # Ignore the rest.
 
13413
 
 
13414
    esac
 
13415
  done
 
13416
 
 
13417
  # Clean up.
 
13418
  rm -f a.out a.exe
 
13419
else
 
13420
  echo "libtool.m4: error: problem compiling CXX test program"
 
13421
fi
 
13422
 
 
13423
$RM -f confest.$objext
 
13424
 
 
13425
# PORTME: override above test on systems where it is broken
 
13426
case $host_os in
 
13427
interix[3-9]*)
 
13428
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
 
13429
  # hack all around it, let's just trust "g++" to DTRT.
 
13430
  predep_objects_CXX=
 
13431
  postdep_objects_CXX=
 
13432
  postdeps_CXX=
 
13433
  ;;
 
13434
 
 
13435
linux*)
 
13436
  case `$CC -V 2>&1 | sed 5q` in
 
13437
  *Sun\ C*)
 
13438
    # Sun C++ 5.9
 
13439
 
 
13440
    # The more standards-conforming stlport4 library is
 
13441
    # incompatible with the Cstd library. Avoid specifying
 
13442
    # it if it's in CXXFLAGS. Ignore libCrun as
 
13443
    # -library=stlport4 depends on it.
 
13444
    case " $CXX $CXXFLAGS " in
 
13445
    *" -library=stlport4 "*)
 
13446
      solaris_use_stlport4=yes
 
13447
      ;;
 
13448
    esac
 
13449
 
 
13450
    if test "$solaris_use_stlport4" != yes; then
 
13451
      postdeps_CXX='-library=Cstd -library=Crun'
 
13452
    fi
 
13453
    ;;
 
13454
  esac
 
13455
  ;;
 
13456
 
 
13457
solaris*)
 
13458
  case $cc_basename in
 
13459
  CC*)
 
13460
    # The more standards-conforming stlport4 library is
 
13461
    # incompatible with the Cstd library. Avoid specifying
 
13462
    # it if it's in CXXFLAGS. Ignore libCrun as
 
13463
    # -library=stlport4 depends on it.
 
13464
    case " $CXX $CXXFLAGS " in
 
13465
    *" -library=stlport4 "*)
 
13466
      solaris_use_stlport4=yes
 
13467
      ;;
 
13468
    esac
 
13469
 
 
13470
    # Adding this requires a known-good setup of shared libraries for
 
13471
    # Sun compiler versions before 5.6, else PIC objects from an old
 
13472
    # archive will be linked into the output, leading to subtle bugs.
 
13473
    if test "$solaris_use_stlport4" != yes; then
 
13474
      postdeps_CXX='-library=Cstd -library=Crun'
 
13475
    fi
 
13476
    ;;
 
13477
  esac
 
13478
  ;;
 
13479
esac
 
13480
 
 
13481
 
 
13482
case " $postdeps_CXX " in
 
13483
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
 
13484
esac
 
13485
 compiler_lib_search_dirs_CXX=
 
13486
if test -n "${compiler_lib_search_path_CXX}"; then
 
13487
 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
 
13488
fi
 
13489
 
 
13490
 
 
13491
 
 
13492
 
 
13493
 
 
13494
 
 
13495
 
 
13496
 
 
13497
 
 
13498
 
 
13499
 
 
13500
 
 
13501
 
 
13502
 
 
13503
 
 
13504
 
 
13505
 
 
13506
 
 
13507
 
 
13508
 
 
13509
 
 
13510
 
 
13511
 
 
13512
 
 
13513
 
 
13514
 
 
13515
 
 
13516
 
 
13517
 
 
13518
 
 
13519
 
 
13520
    lt_prog_compiler_wl_CXX=
 
13521
lt_prog_compiler_pic_CXX=
 
13522
lt_prog_compiler_static_CXX=
 
13523
 
 
13524
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
13525
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
13526
 
 
13527
  # C++ specific cases for pic, static, wl, etc.
 
13528
  if test "$GXX" = yes; then
 
13529
    lt_prog_compiler_wl_CXX='-Wl,'
 
13530
    lt_prog_compiler_static_CXX='-static'
 
13531
 
 
13532
    case $host_os in
 
13533
    aix*)
 
13534
      # All AIX code is PIC.
 
13535
      if test "$host_cpu" = ia64; then
 
13536
        # AIX 5 now supports IA64 processor
 
13537
        lt_prog_compiler_static_CXX='-Bstatic'
 
13538
      fi
 
13539
      ;;
 
13540
 
 
13541
    amigaos*)
 
13542
      case $host_cpu in
 
13543
      powerpc)
 
13544
            # see comment about AmigaOS4 .so support
 
13545
            lt_prog_compiler_pic_CXX='-fPIC'
 
13546
        ;;
 
13547
      m68k)
 
13548
            # FIXME: we need at least 68020 code to build shared libraries, but
 
13549
            # adding the `-m68020' flag to GCC prevents building anything better,
 
13550
            # like `-m68040'.
 
13551
            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
 
13552
        ;;
 
13553
      esac
 
13554
      ;;
 
13555
 
 
13556
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
13557
      # PIC is the default for these OSes.
 
13558
      ;;
 
13559
    mingw* | cygwin* | os2* | pw32* | cegcc*)
 
13560
      # This hack is so that the source file can tell whether it is being
 
13561
      # built for inclusion in a dll (and should export symbols for example).
 
13562
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
13563
      # (--disable-auto-import) libraries
 
13564
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
 
13565
      ;;
 
13566
    darwin* | rhapsody*)
 
13567
      # PIC is the default on this platform
 
13568
      # Common symbols not allowed in MH_DYLIB files
 
13569
      lt_prog_compiler_pic_CXX='-fno-common'
 
13570
      ;;
 
13571
    *djgpp*)
 
13572
      # DJGPP does not support shared libraries at all
 
13573
      lt_prog_compiler_pic_CXX=
 
13574
      ;;
 
13575
    interix[3-9]*)
 
13576
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
13577
      # Instead, we relocate shared libraries at runtime.
 
13578
      ;;
 
13579
    sysv4*MP*)
 
13580
      if test -d /usr/nec; then
 
13581
        lt_prog_compiler_pic_CXX=-Kconform_pic
 
13582
      fi
 
13583
      ;;
 
13584
    hpux*)
 
13585
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
13586
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
13587
      # sets the default TLS model and affects inlining.
 
13588
      case $host_cpu in
 
13589
      hppa*64*)
 
13590
        ;;
 
13591
      *)
 
13592
        lt_prog_compiler_pic_CXX='-fPIC'
 
13593
        ;;
 
13594
      esac
 
13595
      ;;
 
13596
    *qnx* | *nto*)
 
13597
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
13598
      # it will coredump.
 
13599
      lt_prog_compiler_pic_CXX='-fPIC -shared'
 
13600
      ;;
 
13601
    *)
 
13602
      lt_prog_compiler_pic_CXX='-fPIC'
 
13603
      ;;
 
13604
    esac
 
13605
  else
 
13606
    case $host_os in
 
13607
      aix[4-9]*)
 
13608
        # All AIX code is PIC.
 
13609
        if test "$host_cpu" = ia64; then
 
13610
          # AIX 5 now supports IA64 processor
 
13611
          lt_prog_compiler_static_CXX='-Bstatic'
 
13612
        else
 
13613
          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
 
13614
        fi
 
13615
        ;;
 
13616
      chorus*)
 
13617
        case $cc_basename in
 
13618
        cxch68*)
 
13619
          # Green Hills C++ Compiler
 
13620
          # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
 
13621
          ;;
 
13622
        esac
 
13623
        ;;
 
13624
      dgux*)
 
13625
        case $cc_basename in
 
13626
          ec++*)
 
13627
            lt_prog_compiler_pic_CXX='-KPIC'
 
13628
            ;;
 
13629
          ghcx*)
 
13630
            # Green Hills C++ Compiler
 
13631
            lt_prog_compiler_pic_CXX='-pic'
 
13632
            ;;
 
13633
          *)
 
13634
            ;;
 
13635
        esac
 
13636
        ;;
 
13637
      freebsd* | dragonfly*)
 
13638
        # FreeBSD uses GNU C++
 
13639
        ;;
 
13640
      hpux9* | hpux10* | hpux11*)
 
13641
        case $cc_basename in
 
13642
          CC*)
 
13643
            lt_prog_compiler_wl_CXX='-Wl,'
 
13644
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
 
13645
            if test "$host_cpu" != ia64; then
 
13646
              lt_prog_compiler_pic_CXX='+Z'
 
13647
            fi
 
13648
            ;;
 
13649
          aCC*)
 
13650
            lt_prog_compiler_wl_CXX='-Wl,'
 
13651
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
 
13652
            case $host_cpu in
 
13653
            hppa*64*|ia64*)
 
13654
              # +Z the default
 
13655
              ;;
 
13656
            *)
 
13657
              lt_prog_compiler_pic_CXX='+Z'
 
13658
              ;;
 
13659
            esac
 
13660
            ;;
 
13661
          *)
 
13662
            ;;
 
13663
        esac
 
13664
        ;;
 
13665
      interix*)
 
13666
        # This is c89, which is MS Visual C++ (no shared libs)
 
13667
        # Anyone wants to do a port?
 
13668
        ;;
 
13669
      irix5* | irix6* | nonstopux*)
 
13670
        case $cc_basename in
 
13671
          CC*)
 
13672
            lt_prog_compiler_wl_CXX='-Wl,'
 
13673
            lt_prog_compiler_static_CXX='-non_shared'
 
13674
            # CC pic flag -KPIC is the default.
 
13675
            ;;
 
13676
          *)
 
13677
            ;;
 
13678
        esac
 
13679
        ;;
 
13680
      linux* | k*bsd*-gnu)
 
13681
        case $cc_basename in
 
13682
          KCC*)
 
13683
            # KAI C++ Compiler
 
13684
            lt_prog_compiler_wl_CXX='--backend -Wl,'
 
13685
            lt_prog_compiler_pic_CXX='-fPIC'
 
13686
            ;;
 
13687
          ecpc* )
 
13688
            # old Intel C++ for x86_64 which still supported -KPIC.
 
13689
            lt_prog_compiler_wl_CXX='-Wl,'
 
13690
            lt_prog_compiler_pic_CXX='-KPIC'
 
13691
            lt_prog_compiler_static_CXX='-static'
 
13692
            ;;
 
13693
          icpc* )
 
13694
            # Intel C++, used to be incompatible with GCC.
 
13695
            # ICC 10 doesn't accept -KPIC any more.
 
13696
            lt_prog_compiler_wl_CXX='-Wl,'
 
13697
            lt_prog_compiler_pic_CXX='-fPIC'
 
13698
            lt_prog_compiler_static_CXX='-static'
 
13699
            ;;
 
13700
          pgCC* | pgcpp*)
 
13701
            # Portland Group C++ compiler
 
13702
            lt_prog_compiler_wl_CXX='-Wl,'
 
13703
            lt_prog_compiler_pic_CXX='-fpic'
 
13704
            lt_prog_compiler_static_CXX='-Bstatic'
 
13705
            ;;
 
13706
          cxx*)
 
13707
            # Compaq C++
 
13708
            # Make sure the PIC flag is empty.  It appears that all Alpha
 
13709
            # Linux and Compaq Tru64 Unix objects are PIC.
 
13710
            lt_prog_compiler_pic_CXX=
 
13711
            lt_prog_compiler_static_CXX='-non_shared'
 
13712
            ;;
 
13713
          xlc* | xlC*)
 
13714
            # IBM XL 8.0 on PPC
 
13715
            lt_prog_compiler_wl_CXX='-Wl,'
 
13716
            lt_prog_compiler_pic_CXX='-qpic'
 
13717
            lt_prog_compiler_static_CXX='-qstaticlink'
 
13718
            ;;
 
13719
          *)
 
13720
            case `$CC -V 2>&1 | sed 5q` in
 
13721
            *Sun\ C*)
 
13722
              # Sun C++ 5.9
 
13723
              lt_prog_compiler_pic_CXX='-KPIC'
 
13724
              lt_prog_compiler_static_CXX='-Bstatic'
 
13725
              lt_prog_compiler_wl_CXX='-Qoption ld '
 
13726
              ;;
 
13727
            esac
 
13728
            ;;
 
13729
        esac
 
13730
        ;;
 
13731
      lynxos*)
 
13732
        ;;
 
13733
      m88k*)
 
13734
        ;;
 
13735
      mvs*)
 
13736
        case $cc_basename in
 
13737
          cxx*)
 
13738
            lt_prog_compiler_pic_CXX='-W c,exportall'
 
13739
            ;;
 
13740
          *)
 
13741
            ;;
 
13742
        esac
 
13743
        ;;
 
13744
      netbsd*)
 
13745
        ;;
 
13746
      *qnx* | *nto*)
 
13747
        # QNX uses GNU C++, but need to define -shared option too, otherwise
 
13748
        # it will coredump.
 
13749
        lt_prog_compiler_pic_CXX='-fPIC -shared'
 
13750
        ;;
 
13751
      osf3* | osf4* | osf5*)
 
13752
        case $cc_basename in
 
13753
          KCC*)
 
13754
            lt_prog_compiler_wl_CXX='--backend -Wl,'
 
13755
            ;;
 
13756
          RCC*)
 
13757
            # Rational C++ 2.4.1
 
13758
            lt_prog_compiler_pic_CXX='-pic'
 
13759
            ;;
 
13760
          cxx*)
 
13761
            # Digital/Compaq C++
 
13762
            lt_prog_compiler_wl_CXX='-Wl,'
 
13763
            # Make sure the PIC flag is empty.  It appears that all Alpha
 
13764
            # Linux and Compaq Tru64 Unix objects are PIC.
 
13765
            lt_prog_compiler_pic_CXX=
 
13766
            lt_prog_compiler_static_CXX='-non_shared'
 
13767
            ;;
 
13768
          *)
 
13769
            ;;
 
13770
        esac
 
13771
        ;;
 
13772
      psos*)
 
13773
        ;;
 
13774
      solaris*)
 
13775
        case $cc_basename in
 
13776
          CC*)
 
13777
            # Sun C++ 4.2, 5.x and Centerline C++
 
13778
            lt_prog_compiler_pic_CXX='-KPIC'
 
13779
            lt_prog_compiler_static_CXX='-Bstatic'
 
13780
            lt_prog_compiler_wl_CXX='-Qoption ld '
 
13781
            ;;
 
13782
          gcx*)
 
13783
            # Green Hills C++ Compiler
 
13784
            lt_prog_compiler_pic_CXX='-PIC'
 
13785
            ;;
 
13786
          *)
 
13787
            ;;
 
13788
        esac
 
13789
        ;;
 
13790
      sunos4*)
 
13791
        case $cc_basename in
 
13792
          CC*)
 
13793
            # Sun C++ 4.x
 
13794
            lt_prog_compiler_pic_CXX='-pic'
 
13795
            lt_prog_compiler_static_CXX='-Bstatic'
 
13796
            ;;
 
13797
          lcc*)
 
13798
            # Lucid
 
13799
            lt_prog_compiler_pic_CXX='-pic'
 
13800
            ;;
 
13801
          *)
 
13802
            ;;
 
13803
        esac
 
13804
        ;;
 
13805
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
13806
        case $cc_basename in
 
13807
          CC*)
 
13808
            lt_prog_compiler_wl_CXX='-Wl,'
 
13809
            lt_prog_compiler_pic_CXX='-KPIC'
 
13810
            lt_prog_compiler_static_CXX='-Bstatic'
 
13811
            ;;
 
13812
        esac
 
13813
        ;;
 
13814
      tandem*)
 
13815
        case $cc_basename in
 
13816
          NCC*)
 
13817
            # NonStop-UX NCC 3.20
 
13818
            lt_prog_compiler_pic_CXX='-KPIC'
 
13819
            ;;
 
13820
          *)
 
13821
            ;;
 
13822
        esac
 
13823
        ;;
 
13824
      vxworks*)
 
13825
        ;;
 
13826
      *)
 
13827
        lt_prog_compiler_can_build_shared_CXX=no
 
13828
        ;;
 
13829
    esac
 
13830
  fi
 
13831
 
 
13832
case $host_os in
 
13833
  # For platforms which do not support PIC, -DPIC is meaningless:
 
13834
  *djgpp*)
 
13835
    lt_prog_compiler_pic_CXX=
 
13836
    ;;
 
13837
  *)
 
13838
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
 
13839
    ;;
 
13840
esac
 
13841
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
 
13842
$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
 
13843
 
 
13844
 
 
13845
 
 
13846
#
 
13847
# Check to make sure the PIC flag actually works.
 
13848
#
 
13849
if test -n "$lt_prog_compiler_pic_CXX"; then
 
13850
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 
13851
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
 
13852
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
 
13853
  $as_echo_n "(cached) " >&6
 
13854
else
 
13855
  lt_cv_prog_compiler_pic_works_CXX=no
 
13856
   ac_outfile=conftest.$ac_objext
 
13857
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
13858
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
 
13859
   # Insert the option either (1) after the last *FLAGS variable, or
 
13860
   # (2) before a word containing "conftest.", or (3) at the end.
 
13861
   # Note that $ac_compile itself does not contain backslashes and begins
 
13862
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
13863
   # The option is referenced via a variable to avoid confusing sed.
 
13864
   lt_compile=`echo "$ac_compile" | $SED \
 
13865
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
13866
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
13867
   -e 's:$: $lt_compiler_flag:'`
 
13868
   (eval echo "\"\$as_me:13868: $lt_compile\"" >&5)
 
13869
   (eval "$lt_compile" 2>conftest.err)
 
13870
   ac_status=$?
 
13871
   cat conftest.err >&5
 
13872
   echo "$as_me:13872: \$? = $ac_status" >&5
 
13873
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
13874
     # The compiler can only warn and ignore the option if not recognized
 
13875
     # So say no if there are warnings other than the usual output.
 
13876
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
13877
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
13878
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
13879
       lt_cv_prog_compiler_pic_works_CXX=yes
 
13880
     fi
 
13881
   fi
 
13882
   $RM conftest*
 
13883
 
 
13884
fi
 
13885
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
 
13886
$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
 
13887
 
 
13888
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
 
13889
    case $lt_prog_compiler_pic_CXX in
 
13890
     "" | " "*) ;;
 
13891
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
 
13892
     esac
 
13893
else
 
13894
    lt_prog_compiler_pic_CXX=
 
13895
     lt_prog_compiler_can_build_shared_CXX=no
 
13896
fi
 
13897
 
 
13898
fi
 
13899
 
 
13900
 
 
13901
 
 
13902
#
 
13903
# Check to make sure the static flag actually works.
 
13904
#
 
13905
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
 
13906
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
13907
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
13908
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
 
13909
  $as_echo_n "(cached) " >&6
 
13910
else
 
13911
  lt_cv_prog_compiler_static_works_CXX=no
 
13912
   save_LDFLAGS="$LDFLAGS"
 
13913
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
13914
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
13915
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
13916
     # The linker can only warn and ignore the option if not recognized
 
13917
     # So say no if there are warnings
 
13918
     if test -s conftest.err; then
 
13919
       # Append any errors to the config.log.
 
13920
       cat conftest.err 1>&5
 
13921
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
13922
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
13923
       if diff conftest.exp conftest.er2 >/dev/null; then
 
13924
         lt_cv_prog_compiler_static_works_CXX=yes
 
13925
       fi
 
13926
     else
 
13927
       lt_cv_prog_compiler_static_works_CXX=yes
 
13928
     fi
 
13929
   fi
 
13930
   $RM -r conftest*
 
13931
   LDFLAGS="$save_LDFLAGS"
 
13932
 
 
13933
fi
 
13934
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
 
13935
$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
 
13936
 
 
13937
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
 
13938
    :
 
13939
else
 
13940
    lt_prog_compiler_static_CXX=
 
13941
fi
 
13942
 
 
13943
 
 
13944
 
 
13945
 
 
13946
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
13947
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
13948
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
 
13949
  $as_echo_n "(cached) " >&6
 
13950
else
 
13951
  lt_cv_prog_compiler_c_o_CXX=no
 
13952
   $RM -r conftest 2>/dev/null
 
13953
   mkdir conftest
 
13954
   cd conftest
 
13955
   mkdir out
 
13956
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
13957
 
 
13958
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
13959
   # Insert the option either (1) after the last *FLAGS variable, or
 
13960
   # (2) before a word containing "conftest.", or (3) at the end.
 
13961
   # Note that $ac_compile itself does not contain backslashes and begins
 
13962
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
13963
   lt_compile=`echo "$ac_compile" | $SED \
 
13964
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
13965
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
13966
   -e 's:$: $lt_compiler_flag:'`
 
13967
   (eval echo "\"\$as_me:13967: $lt_compile\"" >&5)
 
13968
   (eval "$lt_compile" 2>out/conftest.err)
 
13969
   ac_status=$?
 
13970
   cat out/conftest.err >&5
 
13971
   echo "$as_me:13971: \$? = $ac_status" >&5
 
13972
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
13973
   then
 
13974
     # The compiler can only warn and ignore the option if not recognized
 
13975
     # So say no if there are warnings
 
13976
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
13977
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
13978
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
13979
       lt_cv_prog_compiler_c_o_CXX=yes
 
13980
     fi
 
13981
   fi
 
13982
   chmod u+w . 2>&5
 
13983
   $RM conftest*
 
13984
   # SGI C++ compiler will create directory out/ii_files/ for
 
13985
   # template instantiation
 
13986
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
13987
   $RM out/* && rmdir out
 
13988
   cd ..
 
13989
   $RM -r conftest
 
13990
   $RM conftest*
 
13991
 
 
13992
fi
 
13993
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
13994
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
 
13995
 
 
13996
 
 
13997
 
 
13998
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
13999
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
14000
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
 
14001
  $as_echo_n "(cached) " >&6
 
14002
else
 
14003
  lt_cv_prog_compiler_c_o_CXX=no
 
14004
   $RM -r conftest 2>/dev/null
 
14005
   mkdir conftest
 
14006
   cd conftest
 
14007
   mkdir out
 
14008
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14009
 
 
14010
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
14011
   # Insert the option either (1) after the last *FLAGS variable, or
 
14012
   # (2) before a word containing "conftest.", or (3) at the end.
 
14013
   # Note that $ac_compile itself does not contain backslashes and begins
 
14014
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
14015
   lt_compile=`echo "$ac_compile" | $SED \
 
14016
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
14017
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
14018
   -e 's:$: $lt_compiler_flag:'`
 
14019
   (eval echo "\"\$as_me:14019: $lt_compile\"" >&5)
 
14020
   (eval "$lt_compile" 2>out/conftest.err)
 
14021
   ac_status=$?
 
14022
   cat out/conftest.err >&5
 
14023
   echo "$as_me:14023: \$? = $ac_status" >&5
 
14024
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
14025
   then
 
14026
     # The compiler can only warn and ignore the option if not recognized
 
14027
     # So say no if there are warnings
 
14028
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
14029
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
14030
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
14031
       lt_cv_prog_compiler_c_o_CXX=yes
 
14032
     fi
 
14033
   fi
 
14034
   chmod u+w . 2>&5
 
14035
   $RM conftest*
 
14036
   # SGI C++ compiler will create directory out/ii_files/ for
 
14037
   # template instantiation
 
14038
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
14039
   $RM out/* && rmdir out
 
14040
   cd ..
 
14041
   $RM -r conftest
 
14042
   $RM conftest*
 
14043
 
 
14044
fi
 
14045
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
14046
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
 
14047
 
 
14048
 
 
14049
 
 
14050
 
 
14051
hard_links="nottested"
 
14052
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
 
14053
  # do not overwrite the value of need_locks provided by the user
 
14054
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
 
14055
$as_echo_n "checking if we can lock with hard links... " >&6; }
 
14056
  hard_links=yes
 
14057
  $RM conftest*
 
14058
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
14059
  touch conftest.a
 
14060
  ln conftest.a conftest.b 2>&5 || hard_links=no
 
14061
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
14062
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
 
14063
$as_echo "$hard_links" >&6; }
 
14064
  if test "$hard_links" = no; then
 
14065
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
14066
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
14067
    need_locks=warn
 
14068
  fi
 
14069
else
 
14070
  need_locks=no
 
14071
fi
 
14072
 
 
14073
 
 
14074
 
 
14075
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
14076
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 
14077
 
 
14078
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
14079
  case $host_os in
 
14080
  aix[4-9]*)
 
14081
    # If we're using GNU nm, then we don't want the "-C" option.
 
14082
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
14083
    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
14084
      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
 
14085
    else
 
14086
      export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
 
14087
    fi
 
14088
    ;;
 
14089
  pw32*)
 
14090
    export_symbols_cmds_CXX="$ltdll_cmds"
 
14091
  ;;
 
14092
  cygwin* | mingw* | cegcc*)
 
14093
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
 
14094
  ;;
 
14095
  *)
 
14096
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
14097
  ;;
 
14098
  esac
 
14099
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
 
14100
 
 
14101
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
 
14102
$as_echo "$ld_shlibs_CXX" >&6; }
 
14103
test "$ld_shlibs_CXX" = no && can_build_shared=no
 
14104
 
 
14105
with_gnu_ld_CXX=$with_gnu_ld
 
14106
 
 
14107
 
 
14108
 
 
14109
 
 
14110
 
 
14111
 
 
14112
#
 
14113
# Do we need to explicitly link libc?
 
14114
#
 
14115
case "x$archive_cmds_need_lc_CXX" in
 
14116
x|xyes)
 
14117
  # Assume -lc should be added
 
14118
  archive_cmds_need_lc_CXX=yes
 
14119
 
 
14120
  if test "$enable_shared" = yes && test "$GCC" = yes; then
 
14121
    case $archive_cmds_CXX in
 
14122
    *'~'*)
 
14123
      # FIXME: we may have to deal with multi-command sequences.
 
14124
      ;;
 
14125
    '$CC '*)
 
14126
      # Test whether the compiler implicitly links with -lc since on some
 
14127
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
 
14128
      # to ld, don't add -lc before -lgcc.
 
14129
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 
14130
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
14131
      $RM conftest*
 
14132
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14133
 
 
14134
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
14135
  (eval $ac_compile) 2>&5
 
14136
  ac_status=$?
 
14137
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14138
  test $ac_status = 0; } 2>conftest.err; then
 
14139
        soname=conftest
 
14140
        lib=conftest
 
14141
        libobjs=conftest.$ac_objext
 
14142
        deplibs=
 
14143
        wl=$lt_prog_compiler_wl_CXX
 
14144
        pic_flag=$lt_prog_compiler_pic_CXX
 
14145
        compiler_flags=-v
 
14146
        linker_flags=-v
 
14147
        verstring=
 
14148
        output_objdir=.
 
14149
        libname=conftest
 
14150
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
 
14151
        allow_undefined_flag_CXX=
 
14152
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
14153
  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
14154
  ac_status=$?
 
14155
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14156
  test $ac_status = 0; }
 
14157
        then
 
14158
          archive_cmds_need_lc_CXX=no
 
14159
        else
 
14160
          archive_cmds_need_lc_CXX=yes
 
14161
        fi
 
14162
        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
 
14163
      else
 
14164
        cat conftest.err 1>&5
 
14165
      fi
 
14166
      $RM conftest*
 
14167
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
 
14168
$as_echo "$archive_cmds_need_lc_CXX" >&6; }
 
14169
      ;;
 
14170
    esac
 
14171
  fi
 
14172
  ;;
 
14173
esac
 
14174
 
 
14175
 
 
14176
 
 
14177
 
 
14178
 
 
14179
 
 
14180
 
 
14181
 
 
14182
 
 
14183
 
 
14184
 
 
14185
 
 
14186
 
 
14187
 
 
14188
 
 
14189
 
 
14190
 
 
14191
 
 
14192
 
 
14193
 
 
14194
 
 
14195
 
 
14196
 
 
14197
 
 
14198
 
 
14199
 
 
14200
 
 
14201
 
 
14202
 
 
14203
 
 
14204
 
 
14205
 
 
14206
 
 
14207
 
 
14208
 
 
14209
 
 
14210
 
 
14211
 
 
14212
 
 
14213
 
 
14214
 
 
14215
 
 
14216
 
 
14217
 
 
14218
 
 
14219
 
 
14220
 
 
14221
 
 
14222
 
 
14223
 
 
14224
 
 
14225
 
 
14226
 
 
14227
 
 
14228
 
 
14229
 
 
14230
 
 
14231
 
 
14232
 
 
14233
 
 
14234
 
 
14235
 
 
14236
 
 
14237
 
 
14238
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
 
14239
$as_echo_n "checking dynamic linker characteristics... " >&6; }
 
14240
 
 
14241
library_names_spec=
 
14242
libname_spec='lib$name'
 
14243
soname_spec=
 
14244
shrext_cmds=".so"
 
14245
postinstall_cmds=
 
14246
postuninstall_cmds=
 
14247
finish_cmds=
 
14248
finish_eval=
 
14249
shlibpath_var=
 
14250
shlibpath_overrides_runpath=unknown
 
14251
version_type=none
 
14252
dynamic_linker="$host_os ld.so"
 
14253
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
14254
need_lib_prefix=unknown
 
14255
hardcode_into_libs=no
 
14256
 
 
14257
# when you set need_version to no, make sure it does not cause -set_version
 
14258
# flags to be left without arguments
 
14259
need_version=unknown
 
14260
 
 
14261
case $host_os in
 
14262
aix3*)
 
14263
  version_type=linux
 
14264
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 
14265
  shlibpath_var=LIBPATH
 
14266
 
 
14267
  # AIX 3 has no versioning support, so we append a major version to the name.
 
14268
  soname_spec='${libname}${release}${shared_ext}$major'
 
14269
  ;;
 
14270
 
 
14271
aix[4-9]*)
 
14272
  version_type=linux
 
14273
  need_lib_prefix=no
 
14274
  need_version=no
 
14275
  hardcode_into_libs=yes
 
14276
  if test "$host_cpu" = ia64; then
 
14277
    # AIX 5 supports IA64
 
14278
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 
14279
    shlibpath_var=LD_LIBRARY_PATH
 
14280
  else
 
14281
    # With GCC up to 2.95.x, collect2 would create an import file
 
14282
    # for dependence libraries.  The import file would start with
 
14283
    # the line `#! .'.  This would cause the generated library to
 
14284
    # depend on `.', always an invalid library.  This was fixed in
 
14285
    # development snapshots of GCC prior to 3.0.
 
14286
    case $host_os in
 
14287
      aix4 | aix4.[01] | aix4.[01].*)
 
14288
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 
14289
           echo ' yes '
 
14290
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
 
14291
        :
 
14292
      else
 
14293
        can_build_shared=no
 
14294
      fi
 
14295
      ;;
 
14296
    esac
 
14297
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 
14298
    # soname into executable. Probably we can add versioning support to
 
14299
    # collect2, so additional links can be useful in future.
 
14300
    if test "$aix_use_runtimelinking" = yes; then
 
14301
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 
14302
      # instead of lib<name>.a to let people know that these are not
 
14303
      # typical AIX shared libraries.
 
14304
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
14305
    else
 
14306
      # We preserve .a as extension for shared libraries through AIX4.2
 
14307
      # and later when we are not doing run time linking.
 
14308
      library_names_spec='${libname}${release}.a $libname.a'
 
14309
      soname_spec='${libname}${release}${shared_ext}$major'
 
14310
    fi
 
14311
    shlibpath_var=LIBPATH
 
14312
  fi
 
14313
  ;;
 
14314
 
 
14315
amigaos*)
 
14316
  case $host_cpu in
 
14317
  powerpc)
 
14318
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
14319
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
14320
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
14321
    ;;
 
14322
  m68k)
 
14323
    library_names_spec='$libname.ixlibrary $libname.a'
 
14324
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
14325
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
 
14326
    ;;
 
14327
  esac
 
14328
  ;;
 
14329
 
 
14330
beos*)
 
14331
  library_names_spec='${libname}${shared_ext}'
 
14332
  dynamic_linker="$host_os ld.so"
 
14333
  shlibpath_var=LIBRARY_PATH
 
14334
  ;;
 
14335
 
 
14336
bsdi[45]*)
 
14337
  version_type=linux
 
14338
  need_version=no
 
14339
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
14340
  soname_spec='${libname}${release}${shared_ext}$major'
 
14341
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 
14342
  shlibpath_var=LD_LIBRARY_PATH
 
14343
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 
14344
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 
14345
  # the default ld.so.conf also contains /usr/contrib/lib and
 
14346
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 
14347
  # libtool to hard-code these into programs
 
14348
  ;;
 
14349
 
 
14350
cygwin* | mingw* | pw32* | cegcc*)
 
14351
  version_type=windows
 
14352
  shrext_cmds=".dll"
 
14353
  need_version=no
 
14354
  need_lib_prefix=no
 
14355
 
 
14356
  case $GCC,$host_os in
 
14357
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
14358
    library_names_spec='$libname.dll.a'
 
14359
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
14360
    postinstall_cmds='base_file=`basename \${file}`~
 
14361
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
14362
      dldir=$destdir/`dirname \$dlpath`~
 
14363
      test -d \$dldir || mkdir -p \$dldir~
 
14364
      $install_prog $dir/$dlname \$dldir/$dlname~
 
14365
      chmod a+x \$dldir/$dlname~
 
14366
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
14367
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
14368
      fi'
 
14369
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
14370
      dlpath=$dir/\$dldll~
 
14371
       $RM \$dlpath'
 
14372
    shlibpath_overrides_runpath=yes
 
14373
 
 
14374
    case $host_os in
 
14375
    cygwin*)
 
14376
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 
14377
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
14378
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
14379
      ;;
 
14380
    mingw* | cegcc*)
 
14381
      # MinGW DLLs use traditional 'lib' prefix
 
14382
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
14383
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
14384
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
14385
        # It is most probably a Windows format PATH printed by
 
14386
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
 
14387
        # path with ; separators, and with drive letters. We can handle the
 
14388
        # drive letters (cygwin fileutils understands them), so leave them,
 
14389
        # especially as we might pass files found there to a mingw objdump,
 
14390
        # which wouldn't understand a cygwinified path. Ahh.
 
14391
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
14392
      else
 
14393
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
14394
      fi
 
14395
      ;;
 
14396
    pw32*)
 
14397
      # pw32 DLLs use 'pw' prefix rather than 'lib'
 
14398
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
14399
      ;;
 
14400
    esac
 
14401
    ;;
 
14402
 
 
14403
  *)
 
14404
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
14405
    ;;
 
14406
  esac
 
14407
  dynamic_linker='Win32 ld.exe'
 
14408
  # FIXME: first we should search . and the directory the executable is in
 
14409
  shlibpath_var=PATH
 
14410
  ;;
 
14411
 
 
14412
darwin* | rhapsody*)
 
14413
  dynamic_linker="$host_os dyld"
 
14414
  version_type=darwin
 
14415
  need_lib_prefix=no
 
14416
  need_version=no
 
14417
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
14418
  soname_spec='${libname}${release}${major}$shared_ext'
 
14419
  shlibpath_overrides_runpath=yes
 
14420
  shlibpath_var=DYLD_LIBRARY_PATH
 
14421
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 
14422
 
 
14423
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 
14424
  ;;
 
14425
 
 
14426
dgux*)
 
14427
  version_type=linux
 
14428
  need_lib_prefix=no
 
14429
  need_version=no
 
14430
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 
14431
  soname_spec='${libname}${release}${shared_ext}$major'
 
14432
  shlibpath_var=LD_LIBRARY_PATH
 
14433
  ;;
 
14434
 
 
14435
freebsd1*)
 
14436
  dynamic_linker=no
 
14437
  ;;
 
14438
 
 
14439
freebsd* | dragonfly*)
 
14440
  # DragonFly does not have aout.  When/if they implement a new
 
14441
  # versioning mechanism, adjust this.
 
14442
  if test -x /usr/bin/objformat; then
 
14443
    objformat=`/usr/bin/objformat`
 
14444
  else
 
14445
    case $host_os in
 
14446
    freebsd[123]*) objformat=aout ;;
 
14447
    *) objformat=elf ;;
 
14448
    esac
 
14449
  fi
 
14450
  version_type=freebsd-$objformat
 
14451
  case $version_type in
 
14452
    freebsd-elf*)
 
14453
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
14454
      need_version=no
 
14455
      need_lib_prefix=no
 
14456
      ;;
 
14457
    freebsd-*)
 
14458
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 
14459
      need_version=yes
 
14460
      ;;
 
14461
  esac
 
14462
  shlibpath_var=LD_LIBRARY_PATH
 
14463
  case $host_os in
 
14464
  freebsd2*)
 
14465
    shlibpath_overrides_runpath=yes
 
14466
    ;;
 
14467
  freebsd3.[01]* | freebsdelf3.[01]*)
 
14468
    shlibpath_overrides_runpath=yes
 
14469
    hardcode_into_libs=yes
 
14470
    ;;
 
14471
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
14472
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
 
14473
    shlibpath_overrides_runpath=no
 
14474
    hardcode_into_libs=yes
 
14475
    ;;
 
14476
  *) # from 4.6 on, and DragonFly
 
14477
    shlibpath_overrides_runpath=yes
 
14478
    hardcode_into_libs=yes
 
14479
    ;;
 
14480
  esac
 
14481
  ;;
 
14482
 
 
14483
gnu*)
 
14484
  version_type=linux
 
14485
  need_lib_prefix=no
 
14486
  need_version=no
 
14487
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
14488
  soname_spec='${libname}${release}${shared_ext}$major'
 
14489
  shlibpath_var=LD_LIBRARY_PATH
 
14490
  hardcode_into_libs=yes
 
14491
  ;;
 
14492
 
 
14493
hpux9* | hpux10* | hpux11*)
 
14494
  # Give a soname corresponding to the major version so that dld.sl refuses to
 
14495
  # link against other versions.
 
14496
  version_type=sunos
 
14497
  need_lib_prefix=no
 
14498
  need_version=no
 
14499
  case $host_cpu in
 
14500
  ia64*)
 
14501
    shrext_cmds='.so'
 
14502
    hardcode_into_libs=yes
 
14503
    dynamic_linker="$host_os dld.so"
 
14504
    shlibpath_var=LD_LIBRARY_PATH
 
14505
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
14506
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
14507
    soname_spec='${libname}${release}${shared_ext}$major'
 
14508
    if test "X$HPUX_IA64_MODE" = X32; then
 
14509
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 
14510
    else
 
14511
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 
14512
    fi
 
14513
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
14514
    ;;
 
14515
  hppa*64*)
 
14516
    shrext_cmds='.sl'
 
14517
    hardcode_into_libs=yes
 
14518
    dynamic_linker="$host_os dld.sl"
 
14519
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
14520
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
14521
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
14522
    soname_spec='${libname}${release}${shared_ext}$major'
 
14523
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
14524
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
14525
    ;;
 
14526
  *)
 
14527
    shrext_cmds='.sl'
 
14528
    dynamic_linker="$host_os dld.sl"
 
14529
    shlibpath_var=SHLIB_PATH
 
14530
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 
14531
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
14532
    soname_spec='${libname}${release}${shared_ext}$major'
 
14533
    ;;
 
14534
  esac
 
14535
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
14536
  postinstall_cmds='chmod 555 $lib'
 
14537
  ;;
 
14538
 
 
14539
interix[3-9]*)
 
14540
  version_type=linux
 
14541
  need_lib_prefix=no
 
14542
  need_version=no
 
14543
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
14544
  soname_spec='${libname}${release}${shared_ext}$major'
 
14545
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
14546
  shlibpath_var=LD_LIBRARY_PATH
 
14547
  shlibpath_overrides_runpath=no
 
14548
  hardcode_into_libs=yes
 
14549
  ;;
 
14550
 
 
14551
irix5* | irix6* | nonstopux*)
 
14552
  case $host_os in
 
14553
    nonstopux*) version_type=nonstopux ;;
 
14554
    *)
 
14555
        if test "$lt_cv_prog_gnu_ld" = yes; then
 
14556
                version_type=linux
 
14557
        else
 
14558
                version_type=irix
 
14559
        fi ;;
 
14560
  esac
 
14561
  need_lib_prefix=no
 
14562
  need_version=no
 
14563
  soname_spec='${libname}${release}${shared_ext}$major'
 
14564
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 
14565
  case $host_os in
 
14566
  irix5* | nonstopux*)
 
14567
    libsuff= shlibsuff=
 
14568
    ;;
 
14569
  *)
 
14570
    case $LD in # libtool.m4 will add one of these switches to LD
 
14571
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 
14572
      libsuff= shlibsuff= libmagic=32-bit;;
 
14573
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 
14574
      libsuff=32 shlibsuff=N32 libmagic=N32;;
 
14575
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 
14576
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
 
14577
    *) libsuff= shlibsuff= libmagic=never-match;;
 
14578
    esac
 
14579
    ;;
 
14580
  esac
 
14581
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 
14582
  shlibpath_overrides_runpath=no
 
14583
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
14584
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 
14585
  hardcode_into_libs=yes
 
14586
  ;;
 
14587
 
 
14588
# No shared lib support for Linux oldld, aout, or coff.
 
14589
linux*oldld* | linux*aout* | linux*coff*)
 
14590
  dynamic_linker=no
 
14591
  ;;
 
14592
 
 
14593
# This must be Linux ELF.
 
14594
linux* | k*bsd*-gnu)
 
14595
  version_type=linux
 
14596
  need_lib_prefix=no
 
14597
  need_version=no
 
14598
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
14599
  soname_spec='${libname}${release}${shared_ext}$major'
 
14600
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 
14601
  shlibpath_var=LD_LIBRARY_PATH
 
14602
  shlibpath_overrides_runpath=no
 
14603
  # Some binutils ld are patched to set DT_RUNPATH
 
14604
  save_LDFLAGS=$LDFLAGS
 
14605
  save_libdir=$libdir
 
14606
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
 
14607
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
 
14608
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14609
/* end confdefs.h.  */
 
14610
 
 
14611
int
 
14612
main ()
 
14613
{
 
14614
 
 
14615
  ;
 
14616
  return 0;
 
14617
}
 
14618
_ACEOF
 
14619
if ac_fn_cxx_try_link "$LINENO"; then :
 
14620
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
 
14621
  shlibpath_overrides_runpath=yes
 
14622
fi
 
14623
fi
 
14624
rm -f core conftest.err conftest.$ac_objext \
 
14625
    conftest$ac_exeext conftest.$ac_ext
 
14626
  LDFLAGS=$save_LDFLAGS
 
14627
  libdir=$save_libdir
 
14628
 
 
14629
  # This implies no fast_install, which is unacceptable.
 
14630
  # Some rework will be needed to allow for fast_install
 
14631
  # before this can be enabled.
 
14632
  hardcode_into_libs=yes
 
14633
 
 
14634
  # Append ld.so.conf contents to the search path
 
14635
  if test -f /etc/ld.so.conf; then
 
14636
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
14637
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
14638
  fi
 
14639
 
 
14640
  # We used to test for /lib/ld.so.1 and disable shared libraries on
 
14641
  # powerpc, because MkLinux only supported shared libraries with the
 
14642
  # GNU dynamic linker.  Since this was broken with cross compilers,
 
14643
  # most powerpc-linux boxes support dynamic linking these days and
 
14644
  # people can always --disable-shared, the test was removed, and we
 
14645
  # assume the GNU/Linux dynamic linker is in use.
 
14646
  dynamic_linker='GNU/Linux ld.so'
 
14647
  ;;
 
14648
 
 
14649
netbsd*)
 
14650
  version_type=sunos
 
14651
  need_lib_prefix=no
 
14652
  need_version=no
 
14653
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
14654
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
14655
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
14656
    dynamic_linker='NetBSD (a.out) ld.so'
 
14657
  else
 
14658
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
14659
    soname_spec='${libname}${release}${shared_ext}$major'
 
14660
    dynamic_linker='NetBSD ld.elf_so'
 
14661
  fi
 
14662
  shlibpath_var=LD_LIBRARY_PATH
 
14663
  shlibpath_overrides_runpath=yes
 
14664
  hardcode_into_libs=yes
 
14665
  ;;
 
14666
 
 
14667
newsos6)
 
14668
  version_type=linux
 
14669
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
14670
  shlibpath_var=LD_LIBRARY_PATH
 
14671
  shlibpath_overrides_runpath=yes
 
14672
  ;;
 
14673
 
 
14674
*nto* | *qnx*)
 
14675
  version_type=qnx
 
14676
  need_lib_prefix=no
 
14677
  need_version=no
 
14678
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
14679
  soname_spec='${libname}${release}${shared_ext}$major'
 
14680
  shlibpath_var=LD_LIBRARY_PATH
 
14681
  shlibpath_overrides_runpath=no
 
14682
  hardcode_into_libs=yes
 
14683
  dynamic_linker='ldqnx.so'
 
14684
  ;;
 
14685
 
 
14686
openbsd*)
 
14687
  version_type=sunos
 
14688
  sys_lib_dlsearch_path_spec="/usr/lib"
 
14689
  need_lib_prefix=no
 
14690
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
14691
  case $host_os in
 
14692
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
14693
    *)                          need_version=no  ;;
 
14694
  esac
 
14695
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
14696
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
14697
  shlibpath_var=LD_LIBRARY_PATH
 
14698
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
14699
    case $host_os in
 
14700
      openbsd2.[89] | openbsd2.[89].*)
 
14701
        shlibpath_overrides_runpath=no
 
14702
        ;;
 
14703
      *)
 
14704
        shlibpath_overrides_runpath=yes
 
14705
        ;;
 
14706
      esac
 
14707
  else
 
14708
    shlibpath_overrides_runpath=yes
 
14709
  fi
 
14710
  ;;
 
14711
 
 
14712
os2*)
 
14713
  libname_spec='$name'
 
14714
  shrext_cmds=".dll"
 
14715
  need_lib_prefix=no
 
14716
  library_names_spec='$libname${shared_ext} $libname.a'
 
14717
  dynamic_linker='OS/2 ld.exe'
 
14718
  shlibpath_var=LIBPATH
 
14719
  ;;
 
14720
 
 
14721
osf3* | osf4* | osf5*)
 
14722
  version_type=osf
 
14723
  need_lib_prefix=no
 
14724
  need_version=no
 
14725
  soname_spec='${libname}${release}${shared_ext}$major'
 
14726
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
14727
  shlibpath_var=LD_LIBRARY_PATH
 
14728
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 
14729
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 
14730
  ;;
 
14731
 
 
14732
rdos*)
 
14733
  dynamic_linker=no
 
14734
  ;;
 
14735
 
 
14736
solaris*)
 
14737
  version_type=linux
 
14738
  need_lib_prefix=no
 
14739
  need_version=no
 
14740
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
14741
  soname_spec='${libname}${release}${shared_ext}$major'
 
14742
  shlibpath_var=LD_LIBRARY_PATH
 
14743
  shlibpath_overrides_runpath=yes
 
14744
  hardcode_into_libs=yes
 
14745
  # ldd complains unless libraries are executable
 
14746
  postinstall_cmds='chmod +x $lib'
 
14747
  ;;
 
14748
 
 
14749
sunos4*)
 
14750
  version_type=sunos
 
14751
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
14752
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 
14753
  shlibpath_var=LD_LIBRARY_PATH
 
14754
  shlibpath_overrides_runpath=yes
 
14755
  if test "$with_gnu_ld" = yes; then
 
14756
    need_lib_prefix=no
 
14757
  fi
 
14758
  need_version=yes
 
14759
  ;;
 
14760
 
 
14761
sysv4 | sysv4.3*)
 
14762
  version_type=linux
 
14763
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
14764
  soname_spec='${libname}${release}${shared_ext}$major'
 
14765
  shlibpath_var=LD_LIBRARY_PATH
 
14766
  case $host_vendor in
 
14767
    sni)
 
14768
      shlibpath_overrides_runpath=no
 
14769
      need_lib_prefix=no
 
14770
      runpath_var=LD_RUN_PATH
 
14771
      ;;
 
14772
    siemens)
 
14773
      need_lib_prefix=no
 
14774
      ;;
 
14775
    motorola)
 
14776
      need_lib_prefix=no
 
14777
      need_version=no
 
14778
      shlibpath_overrides_runpath=no
 
14779
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 
14780
      ;;
 
14781
  esac
 
14782
  ;;
 
14783
 
 
14784
sysv4*MP*)
 
14785
  if test -d /usr/nec ;then
 
14786
    version_type=linux
 
14787
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 
14788
    soname_spec='$libname${shared_ext}.$major'
 
14789
    shlibpath_var=LD_LIBRARY_PATH
 
14790
  fi
 
14791
  ;;
 
14792
 
 
14793
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
14794
  version_type=freebsd-elf
 
14795
  need_lib_prefix=no
 
14796
  need_version=no
 
14797
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
14798
  soname_spec='${libname}${release}${shared_ext}$major'
 
14799
  shlibpath_var=LD_LIBRARY_PATH
 
14800
  shlibpath_overrides_runpath=yes
 
14801
  hardcode_into_libs=yes
 
14802
  if test "$with_gnu_ld" = yes; then
 
14803
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
14804
  else
 
14805
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
14806
    case $host_os in
 
14807
      sco3.2v5*)
 
14808
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
14809
        ;;
 
14810
    esac
 
14811
  fi
 
14812
  sys_lib_dlsearch_path_spec='/usr/lib'
 
14813
  ;;
 
14814
 
 
14815
tpf*)
 
14816
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
14817
  version_type=linux
 
14818
  need_lib_prefix=no
 
14819
  need_version=no
 
14820
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
14821
  shlibpath_var=LD_LIBRARY_PATH
 
14822
  shlibpath_overrides_runpath=no
 
14823
  hardcode_into_libs=yes
 
14824
  ;;
 
14825
 
 
14826
uts4*)
 
14827
  version_type=linux
 
14828
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
14829
  soname_spec='${libname}${release}${shared_ext}$major'
 
14830
  shlibpath_var=LD_LIBRARY_PATH
 
14831
  ;;
 
14832
 
 
14833
*)
 
14834
  dynamic_linker=no
 
14835
  ;;
 
14836
esac
 
14837
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
 
14838
$as_echo "$dynamic_linker" >&6; }
 
14839
test "$dynamic_linker" = no && can_build_shared=no
 
14840
 
 
14841
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
14842
if test "$GCC" = yes; then
 
14843
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
14844
fi
 
14845
 
 
14846
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
14847
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
14848
fi
 
14849
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
14850
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
14851
fi
 
14852
 
 
14853
 
 
14854
 
 
14855
 
 
14856
 
 
14857
 
 
14858
 
 
14859
 
 
14860
 
 
14861
 
 
14862
 
 
14863
 
 
14864
 
 
14865
 
 
14866
 
 
14867
 
 
14868
 
 
14869
 
 
14870
 
 
14871
 
 
14872
 
 
14873
 
 
14874
 
 
14875
 
 
14876
 
 
14877
 
 
14878
 
 
14879
 
 
14880
 
 
14881
 
 
14882
 
 
14883
 
 
14884
 
 
14885
 
 
14886
 
 
14887
 
 
14888
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
 
14889
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
 
14890
hardcode_action_CXX=
 
14891
if test -n "$hardcode_libdir_flag_spec_CXX" ||
 
14892
   test -n "$runpath_var_CXX" ||
 
14893
   test "X$hardcode_automatic_CXX" = "Xyes" ; then
 
14894
 
 
14895
  # We can hardcode non-existent directories.
 
14896
  if test "$hardcode_direct_CXX" != no &&
 
14897
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
 
14898
     # have to relink, otherwise we might link with an installed library
 
14899
     # when we should be linking with a yet-to-be-installed one
 
14900
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
 
14901
     test "$hardcode_minus_L_CXX" != no; then
 
14902
    # Linking always hardcodes the temporary library directory.
 
14903
    hardcode_action_CXX=relink
 
14904
  else
 
14905
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
 
14906
    hardcode_action_CXX=immediate
 
14907
  fi
 
14908
else
 
14909
  # We cannot hardcode anything, or else we can only hardcode existing
 
14910
  # directories.
 
14911
  hardcode_action_CXX=unsupported
 
14912
fi
 
14913
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
 
14914
$as_echo "$hardcode_action_CXX" >&6; }
 
14915
 
 
14916
if test "$hardcode_action_CXX" = relink ||
 
14917
   test "$inherit_rpath_CXX" = yes; then
 
14918
  # Fast installation is not supported
 
14919
  enable_fast_install=no
 
14920
elif test "$shlibpath_overrides_runpath" = yes ||
 
14921
     test "$enable_shared" = no; then
 
14922
  # Fast installation is not necessary
 
14923
  enable_fast_install=needless
 
14924
fi
 
14925
 
 
14926
 
 
14927
 
 
14928
 
 
14929
 
 
14930
 
 
14931
 
 
14932
  fi # test -n "$compiler"
 
14933
 
 
14934
  CC=$lt_save_CC
 
14935
  LDCXX=$LD
 
14936
  LD=$lt_save_LD
 
14937
  GCC=$lt_save_GCC
 
14938
  with_gnu_ld=$lt_save_with_gnu_ld
 
14939
  lt_cv_path_LDCXX=$lt_cv_path_LD
 
14940
  lt_cv_path_LD=$lt_save_path_LD
 
14941
  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
 
14942
  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
 
14943
fi # test "$_lt_caught_CXX_error" != yes
 
14944
 
 
14945
ac_ext=c
 
14946
ac_cpp='$CPP $CPPFLAGS'
 
14947
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
14948
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
14949
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
14950
 
 
14951
 
 
14952
ac_ext=cpp
 
14953
ac_cpp='$CXXCPP $CPPFLAGS'
 
14954
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
14955
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
14956
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
14957
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
 
14958
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
 
14959
if test -z "$CXXCPP"; then
 
14960
  if test "${ac_cv_prog_CXXCPP+set}" = set; then :
 
14961
  $as_echo_n "(cached) " >&6
 
14962
else
 
14963
      # Double quotes because CXXCPP needs to be expanded
 
14964
    for CXXCPP in "$CXX -E" "/lib/cpp"
 
14965
    do
 
14966
      ac_preproc_ok=false
 
14967
for ac_cxx_preproc_warn_flag in '' yes
 
14968
do
 
14969
  # Use a header file that comes with gcc, so configuring glibc
 
14970
  # with a fresh cross-compiler works.
 
14971
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
14972
  # <limits.h> exists even on freestanding compilers.
 
14973
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
14974
  # not just through cpp. "Syntax error" is here to catch this case.
 
14975
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14976
/* end confdefs.h.  */
 
14977
#ifdef __STDC__
 
14978
# include <limits.h>
 
14979
#else
 
14980
# include <assert.h>
 
14981
#endif
 
14982
                     Syntax error
 
14983
_ACEOF
 
14984
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
14985
 
 
14986
else
 
14987
  # Broken: fails on valid input.
 
14988
continue
 
14989
fi
 
14990
rm -f conftest.err conftest.$ac_ext
 
14991
 
 
14992
  # OK, works on sane cases.  Now check whether nonexistent headers
 
14993
  # can be detected and how.
 
14994
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14995
/* end confdefs.h.  */
 
14996
#include <ac_nonexistent.h>
 
14997
_ACEOF
 
14998
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
14999
  # Broken: success on invalid input.
 
15000
continue
 
15001
else
 
15002
  # Passes both tests.
 
15003
ac_preproc_ok=:
 
15004
break
 
15005
fi
 
15006
rm -f conftest.err conftest.$ac_ext
 
15007
 
 
15008
done
 
15009
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
15010
rm -f conftest.err conftest.$ac_ext
 
15011
if $ac_preproc_ok; then :
 
15012
  break
 
15013
fi
 
15014
 
 
15015
    done
 
15016
    ac_cv_prog_CXXCPP=$CXXCPP
 
15017
 
 
15018
fi
 
15019
  CXXCPP=$ac_cv_prog_CXXCPP
 
15020
else
 
15021
  ac_cv_prog_CXXCPP=$CXXCPP
 
15022
fi
 
15023
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
 
15024
$as_echo "$CXXCPP" >&6; }
 
15025
ac_preproc_ok=false
 
15026
for ac_cxx_preproc_warn_flag in '' yes
 
15027
do
 
15028
  # Use a header file that comes with gcc, so configuring glibc
 
15029
  # with a fresh cross-compiler works.
 
15030
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
15031
  # <limits.h> exists even on freestanding compilers.
 
15032
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
15033
  # not just through cpp. "Syntax error" is here to catch this case.
 
15034
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15035
/* end confdefs.h.  */
 
15036
#ifdef __STDC__
 
15037
# include <limits.h>
 
15038
#else
 
15039
# include <assert.h>
 
15040
#endif
 
15041
                     Syntax error
 
15042
_ACEOF
 
15043
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
15044
 
 
15045
else
 
15046
  # Broken: fails on valid input.
 
15047
continue
 
15048
fi
 
15049
rm -f conftest.err conftest.$ac_ext
 
15050
 
 
15051
  # OK, works on sane cases.  Now check whether nonexistent headers
 
15052
  # can be detected and how.
 
15053
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15054
/* end confdefs.h.  */
 
15055
#include <ac_nonexistent.h>
 
15056
_ACEOF
 
15057
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
15058
  # Broken: success on invalid input.
 
15059
continue
 
15060
else
 
15061
  # Passes both tests.
 
15062
ac_preproc_ok=:
 
15063
break
 
15064
fi
 
15065
rm -f conftest.err conftest.$ac_ext
 
15066
 
 
15067
done
 
15068
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
15069
rm -f conftest.err conftest.$ac_ext
 
15070
if $ac_preproc_ok; then :
 
15071
 
 
15072
else
 
15073
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
15074
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
15075
as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
 
15076
See \`config.log' for more details." "$LINENO" 5; }
 
15077
fi
 
15078
 
 
15079
ac_ext=c
 
15080
ac_cpp='$CPP $CPPFLAGS'
 
15081
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
15082
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
15083
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
15084
 
 
15085
 
 
15086
ac_ext=cpp
 
15087
ac_cpp='$CXXCPP $CPPFLAGS'
 
15088
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
15089
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
15090
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
15091
 
 
15092
 
 
15093
# Checks for libraries.
 
15094
for ac_func in socket
 
15095
do :
 
15096
  ac_fn_cxx_check_func "$LINENO" "socket" "ac_cv_func_socket"
 
15097
if test "x$ac_cv_func_socket" = x""yes; then :
 
15098
  cat >>confdefs.h <<_ACEOF
 
15099
#define HAVE_SOCKET 1
 
15100
_ACEOF
 
15101
 
 
15102
fi
 
15103
done
 
15104
 
 
15105
 
 
15106
pkg_modules="gtkmm-2.4 >= 2.6.0 libxml-2.0 >= 2.6.0"
 
15107
 
 
15108
 
 
15109
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
 
15110
        if test -n "$ac_tool_prefix"; then
 
15111
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
 
15112
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
 
15113
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
15114
$as_echo_n "checking for $ac_word... " >&6; }
 
15115
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
 
15116
  $as_echo_n "(cached) " >&6
 
15117
else
 
15118
  case $PKG_CONFIG in
 
15119
  [\\/]* | ?:[\\/]*)
 
15120
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 
15121
  ;;
 
15122
  *)
 
15123
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15124
for as_dir in $PATH
 
15125
do
 
15126
  IFS=$as_save_IFS
 
15127
  test -z "$as_dir" && as_dir=.
 
15128
    for ac_exec_ext in '' $ac_executable_extensions; do
 
15129
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
15130
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
15131
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15132
    break 2
 
15133
  fi
 
15134
done
 
15135
  done
 
15136
IFS=$as_save_IFS
 
15137
 
 
15138
  ;;
 
15139
esac
 
15140
fi
 
15141
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 
15142
if test -n "$PKG_CONFIG"; then
 
15143
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
 
15144
$as_echo "$PKG_CONFIG" >&6; }
 
15145
else
 
15146
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15147
$as_echo "no" >&6; }
 
15148
fi
 
15149
 
 
15150
 
 
15151
fi
 
15152
if test -z "$ac_cv_path_PKG_CONFIG"; then
 
15153
  ac_pt_PKG_CONFIG=$PKG_CONFIG
 
15154
  # Extract the first word of "pkg-config", so it can be a program name with args.
 
15155
set dummy pkg-config; ac_word=$2
 
15156
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
15157
$as_echo_n "checking for $ac_word... " >&6; }
 
15158
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
 
15159
  $as_echo_n "(cached) " >&6
 
15160
else
 
15161
  case $ac_pt_PKG_CONFIG in
 
15162
  [\\/]* | ?:[\\/]*)
 
15163
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
 
15164
  ;;
 
15165
  *)
 
15166
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15167
for as_dir in $PATH
 
15168
do
 
15169
  IFS=$as_save_IFS
 
15170
  test -z "$as_dir" && as_dir=.
 
15171
    for ac_exec_ext in '' $ac_executable_extensions; do
 
15172
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
15173
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
15174
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15175
    break 2
 
15176
  fi
 
15177
done
 
15178
  done
 
15179
IFS=$as_save_IFS
 
15180
 
 
15181
  ;;
 
15182
esac
 
15183
fi
 
15184
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
 
15185
if test -n "$ac_pt_PKG_CONFIG"; then
 
15186
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
 
15187
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
 
15188
else
 
15189
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15190
$as_echo "no" >&6; }
 
15191
fi
 
15192
 
 
15193
  if test "x$ac_pt_PKG_CONFIG" = x; then
 
15194
    PKG_CONFIG=""
 
15195
  else
 
15196
    case $cross_compiling:$ac_tool_warned in
 
15197
yes:)
 
15198
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
15199
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
15200
ac_tool_warned=yes ;;
 
15201
esac
 
15202
    PKG_CONFIG=$ac_pt_PKG_CONFIG
 
15203
  fi
 
15204
else
 
15205
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
 
15206
fi
 
15207
 
 
15208
fi
 
15209
if test -n "$PKG_CONFIG"; then
 
15210
        _pkg_min_version=0.9.0
 
15211
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
 
15212
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
 
15213
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
 
15214
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
15215
$as_echo "yes" >&6; }
 
15216
        else
 
15217
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15218
$as_echo "no" >&6; }
 
15219
                PKG_CONFIG=""
 
15220
        fi
 
15221
 
 
15222
fi
 
15223
 
 
15224
pkg_failed=no
 
15225
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PACKAGE" >&5
 
15226
$as_echo_n "checking for PACKAGE... " >&6; }
 
15227
 
 
15228
if test -n "$PACKAGE_CFLAGS"; then
 
15229
    pkg_cv_PACKAGE_CFLAGS="$PACKAGE_CFLAGS"
 
15230
 elif test -n "$PKG_CONFIG"; then
 
15231
    if test -n "$PKG_CONFIG" && \
 
15232
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\""; } >&5
 
15233
  ($PKG_CONFIG --exists --print-errors "$pkg_modules") 2>&5
 
15234
  ac_status=$?
 
15235
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
15236
  test $ac_status = 0; }; then
 
15237
  pkg_cv_PACKAGE_CFLAGS=`$PKG_CONFIG --cflags "$pkg_modules" 2>/dev/null`
 
15238
else
 
15239
  pkg_failed=yes
 
15240
fi
 
15241
 else
 
15242
    pkg_failed=untried
 
15243
fi
 
15244
if test -n "$PACKAGE_LIBS"; then
 
15245
    pkg_cv_PACKAGE_LIBS="$PACKAGE_LIBS"
 
15246
 elif test -n "$PKG_CONFIG"; then
 
15247
    if test -n "$PKG_CONFIG" && \
 
15248
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\""; } >&5
 
15249
  ($PKG_CONFIG --exists --print-errors "$pkg_modules") 2>&5
 
15250
  ac_status=$?
 
15251
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
15252
  test $ac_status = 0; }; then
 
15253
  pkg_cv_PACKAGE_LIBS=`$PKG_CONFIG --libs "$pkg_modules" 2>/dev/null`
 
15254
else
 
15255
  pkg_failed=yes
 
15256
fi
 
15257
 else
 
15258
    pkg_failed=untried
 
15259
fi
 
15260
 
 
15261
 
 
15262
 
 
15263
if test $pkg_failed = yes; then
 
15264
 
 
15265
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
15266
        _pkg_short_errors_supported=yes
 
15267
else
 
15268
        _pkg_short_errors_supported=no
 
15269
fi
 
15270
        if test $_pkg_short_errors_supported = yes; then
 
15271
                PACKAGE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$pkg_modules" 2>&1`
 
15272
        else
 
15273
                PACKAGE_PKG_ERRORS=`$PKG_CONFIG --print-errors "$pkg_modules" 2>&1`
 
15274
        fi
 
15275
        # Put the nasty error message in config.log where it belongs
 
15276
        echo "$PACKAGE_PKG_ERRORS" >&5
 
15277
 
 
15278
        as_fn_error "Package requirements ($pkg_modules) were not met:
 
15279
 
 
15280
$PACKAGE_PKG_ERRORS
 
15281
 
 
15282
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
15283
installed software in a non-standard prefix.
 
15284
 
 
15285
Alternatively, you may set the environment variables PACKAGE_CFLAGS
 
15286
and PACKAGE_LIBS to avoid the need to call pkg-config.
 
15287
See the pkg-config man page for more details.
 
15288
" "$LINENO" 5
 
15289
elif test $pkg_failed = untried; then
 
15290
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
15291
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
15292
as_fn_error "The pkg-config script could not be found or is too old.  Make sure it
 
15293
is in your PATH or set the PKG_CONFIG environment variable to the full
 
15294
path to pkg-config.
 
15295
 
 
15296
Alternatively, you may set the environment variables PACKAGE_CFLAGS
 
15297
and PACKAGE_LIBS to avoid the need to call pkg-config.
 
15298
See the pkg-config man page for more details.
 
15299
 
 
15300
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
15301
See \`config.log' for more details." "$LINENO" 5; }
 
15302
else
 
15303
        PACKAGE_CFLAGS=$pkg_cv_PACKAGE_CFLAGS
 
15304
        PACKAGE_LIBS=$pkg_cv_PACKAGE_LIBS
 
15305
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
15306
$as_echo "yes" >&6; }
 
15307
        :
 
15308
fi
 
15309
 
 
15310
 
 
15311
 
 
15312
 
 
15313
GETTEXT_PACKAGE=gmlive
 
15314
 
 
15315
 
 
15316
cat >>confdefs.h <<_ACEOF
 
15317
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
 
15318
_ACEOF
 
15319
 
 
15320
 
 
15321
 
 
15322
 
 
15323
   for ac_header in locale.h
 
15324
do :
 
15325
  ac_fn_cxx_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
 
15326
if test "x$ac_cv_header_locale_h" = x""yes; then :
 
15327
  cat >>confdefs.h <<_ACEOF
 
15328
#define HAVE_LOCALE_H 1
 
15329
_ACEOF
 
15330
 
 
15331
fi
 
15332
 
 
15333
done
 
15334
 
 
15335
    if test $ac_cv_header_locale_h = yes; then
 
15336
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
 
15337
$as_echo_n "checking for LC_MESSAGES... " >&6; }
 
15338
if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
 
15339
  $as_echo_n "(cached) " >&6
 
15340
else
 
15341
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15342
/* end confdefs.h.  */
 
15343
#include <locale.h>
 
15344
int
 
15345
main ()
 
15346
{
 
15347
return LC_MESSAGES
 
15348
  ;
 
15349
  return 0;
 
15350
}
 
15351
_ACEOF
 
15352
if ac_fn_cxx_try_link "$LINENO"; then :
 
15353
  am_cv_val_LC_MESSAGES=yes
 
15354
else
 
15355
  am_cv_val_LC_MESSAGES=no
 
15356
fi
 
15357
rm -f core conftest.err conftest.$ac_objext \
 
15358
    conftest$ac_exeext conftest.$ac_ext
 
15359
fi
 
15360
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
 
15361
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
 
15362
    if test $am_cv_val_LC_MESSAGES = yes; then
 
15363
 
 
15364
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
 
15365
 
 
15366
    fi
 
15367
  fi
 
15368
     USE_NLS=yes
 
15369
 
 
15370
 
 
15371
    gt_cv_have_gettext=no
 
15372
 
 
15373
    CATOBJEXT=NONE
 
15374
    XGETTEXT=:
 
15375
    INTLLIBS=
 
15376
 
 
15377
    ac_fn_cxx_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
 
15378
if test "x$ac_cv_header_libintl_h" = x""yes; then :
 
15379
  gt_cv_func_dgettext_libintl="no"
 
15380
      libintl_extra_libs=""
 
15381
 
 
15382
      #
 
15383
      # First check in libc
 
15384
      #
 
15385
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
 
15386
$as_echo_n "checking for ngettext in libc... " >&6; }
 
15387
if test "${gt_cv_func_ngettext_libc+set}" = set; then :
 
15388
  $as_echo_n "(cached) " >&6
 
15389
else
 
15390
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15391
/* end confdefs.h.  */
 
15392
 
 
15393
#include <libintl.h>
 
15394
 
 
15395
int
 
15396
main ()
 
15397
{
 
15398
return !ngettext ("","", 1)
 
15399
  ;
 
15400
  return 0;
 
15401
}
 
15402
_ACEOF
 
15403
if ac_fn_cxx_try_link "$LINENO"; then :
 
15404
  gt_cv_func_ngettext_libc=yes
 
15405
else
 
15406
  gt_cv_func_ngettext_libc=no
 
15407
fi
 
15408
rm -f core conftest.err conftest.$ac_objext \
 
15409
    conftest$ac_exeext conftest.$ac_ext
 
15410
 
 
15411
fi
 
15412
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
 
15413
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
 
15414
 
 
15415
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
 
15416
              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
 
15417
$as_echo_n "checking for dgettext in libc... " >&6; }
 
15418
if test "${gt_cv_func_dgettext_libc+set}" = set; then :
 
15419
  $as_echo_n "(cached) " >&6
 
15420
else
 
15421
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15422
/* end confdefs.h.  */
 
15423
 
 
15424
#include <libintl.h>
 
15425
 
 
15426
int
 
15427
main ()
 
15428
{
 
15429
return !dgettext ("","")
 
15430
  ;
 
15431
  return 0;
 
15432
}
 
15433
_ACEOF
 
15434
if ac_fn_cxx_try_link "$LINENO"; then :
 
15435
  gt_cv_func_dgettext_libc=yes
 
15436
else
 
15437
  gt_cv_func_dgettext_libc=no
 
15438
fi
 
15439
rm -f core conftest.err conftest.$ac_objext \
 
15440
    conftest$ac_exeext conftest.$ac_ext
 
15441
 
 
15442
fi
 
15443
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
 
15444
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
 
15445
      fi
 
15446
 
 
15447
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
 
15448
        for ac_func in bind_textdomain_codeset
 
15449
do :
 
15450
  ac_fn_cxx_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
15451
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
15452
  cat >>confdefs.h <<_ACEOF
 
15453
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
 
15454
_ACEOF
 
15455
 
 
15456
fi
 
15457
done
 
15458
 
 
15459
      fi
 
15460
 
 
15461
      #
 
15462
      # If we don't have everything we want, check in libintl
 
15463
      #
 
15464
      if test "$gt_cv_func_dgettext_libc" != "yes" \
 
15465
         || test "$gt_cv_func_ngettext_libc" != "yes" \
 
15466
         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
 
15467
 
 
15468
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
 
15469
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
 
15470
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then :
 
15471
  $as_echo_n "(cached) " >&6
 
15472
else
 
15473
  ac_check_lib_save_LIBS=$LIBS
 
15474
LIBS="-lintl  $LIBS"
 
15475
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15476
/* end confdefs.h.  */
 
15477
 
 
15478
/* Override any GCC internal prototype to avoid an error.
 
15479
   Use char because int might match the return type of a GCC
 
15480
   builtin and then its argument prototype would still apply.  */
 
15481
#ifdef __cplusplus
 
15482
extern "C"
 
15483
#endif
 
15484
char bindtextdomain ();
 
15485
int
 
15486
main ()
 
15487
{
 
15488
return bindtextdomain ();
 
15489
  ;
 
15490
  return 0;
 
15491
}
 
15492
_ACEOF
 
15493
if ac_fn_cxx_try_link "$LINENO"; then :
 
15494
  ac_cv_lib_intl_bindtextdomain=yes
 
15495
else
 
15496
  ac_cv_lib_intl_bindtextdomain=no
 
15497
fi
 
15498
rm -f core conftest.err conftest.$ac_objext \
 
15499
    conftest$ac_exeext conftest.$ac_ext
 
15500
LIBS=$ac_check_lib_save_LIBS
 
15501
fi
 
15502
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
 
15503
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
 
15504
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then :
 
15505
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
 
15506
$as_echo_n "checking for ngettext in -lintl... " >&6; }
 
15507
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
 
15508
  $as_echo_n "(cached) " >&6
 
15509
else
 
15510
  ac_check_lib_save_LIBS=$LIBS
 
15511
LIBS="-lintl  $LIBS"
 
15512
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15513
/* end confdefs.h.  */
 
15514
 
 
15515
/* Override any GCC internal prototype to avoid an error.
 
15516
   Use char because int might match the return type of a GCC
 
15517
   builtin and then its argument prototype would still apply.  */
 
15518
#ifdef __cplusplus
 
15519
extern "C"
 
15520
#endif
 
15521
char ngettext ();
 
15522
int
 
15523
main ()
 
15524
{
 
15525
return ngettext ();
 
15526
  ;
 
15527
  return 0;
 
15528
}
 
15529
_ACEOF
 
15530
if ac_fn_cxx_try_link "$LINENO"; then :
 
15531
  ac_cv_lib_intl_ngettext=yes
 
15532
else
 
15533
  ac_cv_lib_intl_ngettext=no
 
15534
fi
 
15535
rm -f core conftest.err conftest.$ac_objext \
 
15536
    conftest$ac_exeext conftest.$ac_ext
 
15537
LIBS=$ac_check_lib_save_LIBS
 
15538
fi
 
15539
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
 
15540
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
 
15541
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
 
15542
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
 
15543
$as_echo_n "checking for dgettext in -lintl... " >&6; }
 
15544
if test "${ac_cv_lib_intl_dgettext+set}" = set; then :
 
15545
  $as_echo_n "(cached) " >&6
 
15546
else
 
15547
  ac_check_lib_save_LIBS=$LIBS
 
15548
LIBS="-lintl  $LIBS"
 
15549
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15550
/* end confdefs.h.  */
 
15551
 
 
15552
/* Override any GCC internal prototype to avoid an error.
 
15553
   Use char because int might match the return type of a GCC
 
15554
   builtin and then its argument prototype would still apply.  */
 
15555
#ifdef __cplusplus
 
15556
extern "C"
 
15557
#endif
 
15558
char dgettext ();
 
15559
int
 
15560
main ()
 
15561
{
 
15562
return dgettext ();
 
15563
  ;
 
15564
  return 0;
 
15565
}
 
15566
_ACEOF
 
15567
if ac_fn_cxx_try_link "$LINENO"; then :
 
15568
  ac_cv_lib_intl_dgettext=yes
 
15569
else
 
15570
  ac_cv_lib_intl_dgettext=no
 
15571
fi
 
15572
rm -f core conftest.err conftest.$ac_objext \
 
15573
    conftest$ac_exeext conftest.$ac_ext
 
15574
LIBS=$ac_check_lib_save_LIBS
 
15575
fi
 
15576
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
 
15577
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
 
15578
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then :
 
15579
  gt_cv_func_dgettext_libintl=yes
 
15580
fi
 
15581
 
 
15582
fi
 
15583
 
 
15584
fi
 
15585
 
 
15586
 
 
15587
        if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
 
15588
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
 
15589
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
 
15590
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
 
15591
$as_echo "" >&6; }
 
15592
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
 
15593
$as_echo_n "checking for ngettext in -lintl... " >&6; }
 
15594
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
 
15595
  $as_echo_n "(cached) " >&6
 
15596
else
 
15597
  ac_check_lib_save_LIBS=$LIBS
 
15598
LIBS="-lintl -liconv $LIBS"
 
15599
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15600
/* end confdefs.h.  */
 
15601
 
 
15602
/* Override any GCC internal prototype to avoid an error.
 
15603
   Use char because int might match the return type of a GCC
 
15604
   builtin and then its argument prototype would still apply.  */
 
15605
#ifdef __cplusplus
 
15606
extern "C"
 
15607
#endif
 
15608
char ngettext ();
 
15609
int
 
15610
main ()
 
15611
{
 
15612
return ngettext ();
 
15613
  ;
 
15614
  return 0;
 
15615
}
 
15616
_ACEOF
 
15617
if ac_fn_cxx_try_link "$LINENO"; then :
 
15618
  ac_cv_lib_intl_ngettext=yes
 
15619
else
 
15620
  ac_cv_lib_intl_ngettext=no
 
15621
fi
 
15622
rm -f core conftest.err conftest.$ac_objext \
 
15623
    conftest$ac_exeext conftest.$ac_ext
 
15624
LIBS=$ac_check_lib_save_LIBS
 
15625
fi
 
15626
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
 
15627
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
 
15628
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
 
15629
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
 
15630
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
 
15631
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then :
 
15632
  $as_echo_n "(cached) " >&6
 
15633
else
 
15634
  ac_check_lib_save_LIBS=$LIBS
 
15635
LIBS="-lintl -liconv $LIBS"
 
15636
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15637
/* end confdefs.h.  */
 
15638
 
 
15639
/* Override any GCC internal prototype to avoid an error.
 
15640
   Use char because int might match the return type of a GCC
 
15641
   builtin and then its argument prototype would still apply.  */
 
15642
#ifdef __cplusplus
 
15643
extern "C"
 
15644
#endif
 
15645
char dcgettext ();
 
15646
int
 
15647
main ()
 
15648
{
 
15649
return dcgettext ();
 
15650
  ;
 
15651
  return 0;
 
15652
}
 
15653
_ACEOF
 
15654
if ac_fn_cxx_try_link "$LINENO"; then :
 
15655
  ac_cv_lib_intl_dcgettext=yes
 
15656
else
 
15657
  ac_cv_lib_intl_dcgettext=no
 
15658
fi
 
15659
rm -f core conftest.err conftest.$ac_objext \
 
15660
    conftest$ac_exeext conftest.$ac_ext
 
15661
LIBS=$ac_check_lib_save_LIBS
 
15662
fi
 
15663
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
 
15664
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
 
15665
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then :
 
15666
  gt_cv_func_dgettext_libintl=yes
 
15667
                        libintl_extra_libs=-liconv
 
15668
else
 
15669
  :
 
15670
fi
 
15671
 
 
15672
else
 
15673
  :
 
15674
fi
 
15675
 
 
15676
        fi
 
15677
 
 
15678
        #
 
15679
        # If we found libintl, then check in it for bind_textdomain_codeset();
 
15680
        # we'll prefer libc if neither have bind_textdomain_codeset(),
 
15681
        # and both have dgettext and ngettext
 
15682
        #
 
15683
        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
 
15684
          glib_save_LIBS="$LIBS"
 
15685
          LIBS="$LIBS -lintl $libintl_extra_libs"
 
15686
          unset ac_cv_func_bind_textdomain_codeset
 
15687
          for ac_func in bind_textdomain_codeset
 
15688
do :
 
15689
  ac_fn_cxx_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
15690
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
15691
  cat >>confdefs.h <<_ACEOF
 
15692
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
 
15693
_ACEOF
 
15694
 
 
15695
fi
 
15696
done
 
15697
 
 
15698
          LIBS="$glib_save_LIBS"
 
15699
 
 
15700
          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
 
15701
            gt_cv_func_dgettext_libc=no
 
15702
          else
 
15703
            if test "$gt_cv_func_dgettext_libc" = "yes" \
 
15704
                && test "$gt_cv_func_ngettext_libc" = "yes"; then
 
15705
              gt_cv_func_dgettext_libintl=no
 
15706
            fi
 
15707
          fi
 
15708
        fi
 
15709
      fi
 
15710
 
 
15711
      if test "$gt_cv_func_dgettext_libc" = "yes" \
 
15712
        || test "$gt_cv_func_dgettext_libintl" = "yes"; then
 
15713
        gt_cv_have_gettext=yes
 
15714
      fi
 
15715
 
 
15716
      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
 
15717
        INTLLIBS="-lintl $libintl_extra_libs"
 
15718
      fi
 
15719
 
 
15720
      if test "$gt_cv_have_gettext" = "yes"; then
 
15721
 
 
15722
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
 
15723
 
 
15724
        # Extract the first word of "msgfmt", so it can be a program name with args.
 
15725
set dummy msgfmt; ac_word=$2
 
15726
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
15727
$as_echo_n "checking for $ac_word... " >&6; }
 
15728
if test "${ac_cv_path_MSGFMT+set}" = set; then :
 
15729
  $as_echo_n "(cached) " >&6
 
15730
else
 
15731
  case "$MSGFMT" in
 
15732
  /*)
 
15733
  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
 
15734
  ;;
 
15735
  *)
 
15736
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
 
15737
  for ac_dir in $PATH; do
 
15738
    test -z "$ac_dir" && ac_dir=.
 
15739
    if test -f $ac_dir/$ac_word; then
 
15740
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
 
15741
        ac_cv_path_MSGFMT="$ac_dir/$ac_word"
 
15742
        break
 
15743
      fi
 
15744
    fi
 
15745
  done
 
15746
  IFS="$ac_save_ifs"
 
15747
  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
 
15748
  ;;
 
15749
esac
 
15750
fi
 
15751
MSGFMT="$ac_cv_path_MSGFMT"
 
15752
if test "$MSGFMT" != "no"; then
 
15753
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
 
15754
$as_echo "$MSGFMT" >&6; }
 
15755
else
 
15756
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15757
$as_echo "no" >&6; }
 
15758
fi
 
15759
        if test "$MSGFMT" != "no"; then
 
15760
          glib_save_LIBS="$LIBS"
 
15761
          LIBS="$LIBS $INTLLIBS"
 
15762
          for ac_func in dcgettext
 
15763
do :
 
15764
  ac_fn_cxx_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
 
15765
if test "x$ac_cv_func_dcgettext" = x""yes; then :
 
15766
  cat >>confdefs.h <<_ACEOF
 
15767
#define HAVE_DCGETTEXT 1
 
15768
_ACEOF
 
15769
 
 
15770
fi
 
15771
done
 
15772
 
 
15773
          MSGFMT_OPTS=
 
15774
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
 
15775
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
 
15776
          cat >conftest.foo <<_ACEOF
 
15777
 
 
15778
msgid ""
 
15779
msgstr ""
 
15780
"Content-Type: text/plain; charset=UTF-8\n"
 
15781
"Project-Id-Version: test 1.0\n"
 
15782
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
 
15783
"Last-Translator: test <foo@bar.xx>\n"
 
15784
"Language-Team: C <LL@li.org>\n"
 
15785
"MIME-Version: 1.0\n"
 
15786
"Content-Transfer-Encoding: 8bit\n"
 
15787
 
 
15788
_ACEOF
 
15789
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
 
15790
  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
 
15791
  ac_status=$?
 
15792
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
15793
  test $ac_status = 0; }; then
 
15794
  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
15795
$as_echo "yes" >&6; }
 
15796
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15797
$as_echo "no" >&6; }
 
15798
echo "$as_me: failed input was:" >&5
 
15799
sed 's/^/| /' conftest.foo >&5
 
15800
fi
 
15801
 
 
15802
          # Extract the first word of "gmsgfmt", so it can be a program name with args.
 
15803
set dummy gmsgfmt; ac_word=$2
 
15804
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
15805
$as_echo_n "checking for $ac_word... " >&6; }
 
15806
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
 
15807
  $as_echo_n "(cached) " >&6
 
15808
else
 
15809
  case $GMSGFMT in
 
15810
  [\\/]* | ?:[\\/]*)
 
15811
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
 
15812
  ;;
 
15813
  *)
 
15814
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
15815
for as_dir in $PATH
 
15816
do
 
15817
  IFS=$as_save_IFS
 
15818
  test -z "$as_dir" && as_dir=.
 
15819
    for ac_exec_ext in '' $ac_executable_extensions; do
 
15820
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
15821
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
 
15822
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
15823
    break 2
 
15824
  fi
 
15825
done
 
15826
  done
 
15827
IFS=$as_save_IFS
 
15828
 
 
15829
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
 
15830
  ;;
 
15831
esac
 
15832
fi
 
15833
GMSGFMT=$ac_cv_path_GMSGFMT
 
15834
if test -n "$GMSGFMT"; then
 
15835
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
 
15836
$as_echo "$GMSGFMT" >&6; }
 
15837
else
 
15838
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15839
$as_echo "no" >&6; }
 
15840
fi
 
15841
 
 
15842
 
 
15843
          # Extract the first word of "xgettext", so it can be a program name with args.
 
15844
set dummy xgettext; ac_word=$2
 
15845
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
15846
$as_echo_n "checking for $ac_word... " >&6; }
 
15847
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
 
15848
  $as_echo_n "(cached) " >&6
 
15849
else
 
15850
  case "$XGETTEXT" in
 
15851
  /*)
 
15852
  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
 
15853
  ;;
 
15854
  *)
 
15855
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
 
15856
  for ac_dir in $PATH; do
 
15857
    test -z "$ac_dir" && ac_dir=.
 
15858
    if test -f $ac_dir/$ac_word; then
 
15859
      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
 
15860
        ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
 
15861
        break
 
15862
      fi
 
15863
    fi
 
15864
  done
 
15865
  IFS="$ac_save_ifs"
 
15866
  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
 
15867
  ;;
 
15868
esac
 
15869
fi
 
15870
XGETTEXT="$ac_cv_path_XGETTEXT"
 
15871
if test "$XGETTEXT" != ":"; then
 
15872
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
 
15873
$as_echo "$XGETTEXT" >&6; }
 
15874
else
 
15875
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15876
$as_echo "no" >&6; }
 
15877
fi
 
15878
 
 
15879
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15880
/* end confdefs.h.  */
 
15881
 
 
15882
int
 
15883
main ()
 
15884
{
 
15885
extern int _nl_msg_cat_cntr;
 
15886
                         return _nl_msg_cat_cntr
 
15887
  ;
 
15888
  return 0;
 
15889
}
 
15890
_ACEOF
 
15891
if ac_fn_cxx_try_link "$LINENO"; then :
 
15892
  CATOBJEXT=.gmo
 
15893
             DATADIRNAME=share
 
15894
else
 
15895
  case $host in
 
15896
            *-*-solaris*)
 
15897
                                                                ac_fn_cxx_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
 
15898
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
15899
  CATOBJEXT=.gmo
 
15900
               DATADIRNAME=share
 
15901
else
 
15902
  CATOBJEXT=.mo
 
15903
               DATADIRNAME=lib
 
15904
fi
 
15905
 
 
15906
            ;;
 
15907
            *)
 
15908
            CATOBJEXT=.mo
 
15909
            DATADIRNAME=lib
 
15910
            ;;
 
15911
            esac
 
15912
fi
 
15913
rm -f core conftest.err conftest.$ac_objext \
 
15914
    conftest$ac_exeext conftest.$ac_ext
 
15915
          LIBS="$glib_save_LIBS"
 
15916
          INSTOBJEXT=.mo
 
15917
        else
 
15918
          gt_cv_have_gettext=no
 
15919
        fi
 
15920
      fi
 
15921
 
 
15922
fi
 
15923
 
 
15924
 
 
15925
 
 
15926
    if test "$gt_cv_have_gettext" = "yes" ; then
 
15927
 
 
15928
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
 
15929
 
 
15930
    fi
 
15931
 
 
15932
        if test "$XGETTEXT" != ":"; then
 
15933
                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
 
15934
        : ;
 
15935
      else
 
15936
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
 
15937
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
 
15938
        XGETTEXT=":"
 
15939
      fi
 
15940
    fi
 
15941
 
 
15942
    # We need to process the po/ directory.
 
15943
    POSUB=po
 
15944
 
 
15945
    ac_config_commands="$ac_config_commands default-1"
 
15946
 
 
15947
 
 
15948
                for lang in $ALL_LINGUAS; do
 
15949
      GMOFILES="$GMOFILES $lang.gmo"
 
15950
      POFILES="$POFILES $lang.po"
 
15951
    done
 
15952
 
 
15953
 
 
15954
 
 
15955
 
 
15956
 
 
15957
 
 
15958
 
 
15959
 
 
15960
 
 
15961
 
 
15962
 
 
15963
 
 
15964
 
 
15965
   if test "$gt_cv_have_gettext" = "yes"; then
 
15966
     if test "x$ALL_LINGUAS" = "x"; then
 
15967
       LINGUAS=
 
15968
     else
 
15969
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
 
15970
$as_echo_n "checking for catalogs to be installed... " >&6; }
 
15971
       NEW_LINGUAS=
 
15972
       for presentlang in $ALL_LINGUAS; do
 
15973
         useit=no
 
15974
         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
 
15975
           desiredlanguages="$LINGUAS"
 
15976
         else
 
15977
           desiredlanguages="$ALL_LINGUAS"
 
15978
         fi
 
15979
         for desiredlang in $desiredlanguages; do
 
15980
           # Use the presentlang catalog if desiredlang is
 
15981
           #   a. equal to presentlang, or
 
15982
           #   b. a variant of presentlang (because in this case,
 
15983
           #      presentlang can be used as a fallback for messages
 
15984
           #      which are not translated in the desiredlang catalog).
 
15985
           case "$desiredlang" in
 
15986
             "$presentlang"*) useit=yes;;
 
15987
           esac
 
15988
         done
 
15989
         if test $useit = yes; then
 
15990
           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
 
15991
         fi
 
15992
       done
 
15993
       LINGUAS=$NEW_LINGUAS
 
15994
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
 
15995
$as_echo "$LINGUAS" >&6; }
 
15996
     fi
 
15997
 
 
15998
          if test -n "$LINGUAS"; then
 
15999
       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
 
16000
     fi
 
16001
   fi
 
16002
 
 
16003
            MKINSTALLDIRS=
 
16004
   if test -n "$ac_aux_dir"; then
 
16005
     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
 
16006
   fi
 
16007
   if test -z "$MKINSTALLDIRS"; then
 
16008
     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
 
16009
   fi
 
16010
 
 
16011
 
 
16012
         test -d po || mkdir po
 
16013
   if test "x$srcdir" != "x."; then
 
16014
     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
 
16015
       posrcprefix="$srcdir/"
 
16016
     else
 
16017
       posrcprefix="../$srcdir/"
 
16018
     fi
 
16019
   else
 
16020
     posrcprefix="../"
 
16021
   fi
 
16022
   rm -f po/POTFILES
 
16023
   sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
 
16024
        < $srcdir/po/POTFILES.in > po/POTFILES
 
16025
 
 
16026
 
 
16027
ac_config_files="$ac_config_files Makefile src/Makefile po/Makefile.in data/gmlive.desktop.in data/Makefile"
 
16028
 
 
16029
cat >confcache <<\_ACEOF
 
16030
# This file is a shell script that caches the results of configure
 
16031
# tests run on this system so they can be shared between configure
 
16032
# scripts and configure runs, see configure's option --config-cache.
 
16033
# It is not useful on other systems.  If it contains results you don't
 
16034
# want to keep, you may remove or edit it.
 
16035
#
 
16036
# config.status only pays attention to the cache file if you give it
 
16037
# the --recheck option to rerun configure.
 
16038
#
 
16039
# `ac_cv_env_foo' variables (set or unset) will be overridden when
 
16040
# loading this file, other *unset* `ac_cv_foo' will be assigned the
 
16041
# following values.
 
16042
 
 
16043
_ACEOF
 
16044
 
 
16045
# The following way of writing the cache mishandles newlines in values,
 
16046
# but we know of no workaround that is simple, portable, and efficient.
 
16047
# So, we kill variables containing newlines.
 
16048
# Ultrix sh set writes to stderr and can't be redirected directly,
 
16049
# and sets the high bit in the cache file unless we assign to the vars.
 
16050
(
 
16051
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
16052
    eval ac_val=\$$ac_var
 
16053
    case $ac_val in #(
 
16054
    *${as_nl}*)
 
16055
      case $ac_var in #(
 
16056
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
16057
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
16058
      esac
 
16059
      case $ac_var in #(
 
16060
      _ | IFS | as_nl) ;; #(
 
16061
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
16062
      *) { eval $ac_var=; unset $ac_var;} ;;
 
16063
      esac ;;
 
16064
    esac
 
16065
  done
 
16066
 
 
16067
  (set) 2>&1 |
 
16068
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
16069
    *${as_nl}ac_space=\ *)
 
16070
      # `set' does not quote correctly, so add quotes: double-quote
 
16071
      # substitution turns \\\\ into \\, and sed turns \\ into \.
 
16072
      sed -n \
 
16073
        "s/'/'\\\\''/g;
 
16074
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
16075
      ;; #(
 
16076
    *)
 
16077
      # `set' quotes correctly as required by POSIX, so do not add quotes.
 
16078
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
16079
      ;;
 
16080
    esac |
 
16081
    sort
 
16082
) |
 
16083
  sed '
 
16084
     /^ac_cv_env_/b end
 
16085
     t clear
 
16086
     :clear
 
16087
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 
16088
     t end
 
16089
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
16090
     :end' >>confcache
 
16091
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
16092
  if test -w "$cache_file"; then
 
16093
    test "x$cache_file" != "x/dev/null" &&
 
16094
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 
16095
$as_echo "$as_me: updating cache $cache_file" >&6;}
 
16096
    cat confcache >$cache_file
 
16097
  else
 
16098
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 
16099
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
16100
  fi
 
16101
fi
 
16102
rm -f confcache
 
16103
 
 
16104
test "x$prefix" = xNONE && prefix=$ac_default_prefix
 
16105
# Let make expand exec_prefix.
 
16106
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 
16107
 
 
16108
DEFS=-DHAVE_CONFIG_H
 
16109
 
 
16110
ac_libobjs=
 
16111
ac_ltlibobjs=
 
16112
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 
16113
  # 1. Remove the extension, and $U if already installed.
 
16114
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
16115
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 
16116
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
16117
  #    will be set to the directory where LIBOBJS objects are built.
 
16118
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
16119
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
 
16120
done
 
16121
LIBOBJS=$ac_libobjs
 
16122
 
 
16123
LTLIBOBJS=$ac_ltlibobjs
 
16124
 
 
16125
 
 
16126
 if test -n "$EXEEXT"; then
 
16127
  am__EXEEXT_TRUE=
 
16128
  am__EXEEXT_FALSE='#'
 
16129
else
 
16130
  am__EXEEXT_TRUE='#'
 
16131
  am__EXEEXT_FALSE=
 
16132
fi
 
16133
 
 
16134
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
 
16135
  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
 
16136
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
16137
fi
 
16138
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 
16139
  as_fn_error "conditional \"AMDEP\" was never defined.
 
16140
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
16141
fi
 
16142
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
16143
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
16144
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
16145
fi
 
16146
 
 
16147
  ac_config_commands="$ac_config_commands po/stamp-it"
 
16148
 
 
16149
 
 
16150
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 
16151
  as_fn_error "conditional \"am__fastdepCXX\" was never defined.
 
16152
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
16153
fi
 
16154
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 
16155
  as_fn_error "conditional \"am__fastdepCXX\" was never defined.
 
16156
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
16157
fi
 
16158
 
 
16159
: ${CONFIG_STATUS=./config.status}
 
16160
ac_write_fail=0
 
16161
ac_clean_files_save=$ac_clean_files
 
16162
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 
16163
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 
16164
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
16165
as_write_fail=0
 
16166
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
 
16167
#! $SHELL
 
16168
# Generated by $as_me.
 
16169
# Run this file to recreate the current configuration.
 
16170
# Compiler output produced by configure, useful for debugging
 
16171
# configure, is in config.log if it exists.
 
16172
 
 
16173
debug=false
 
16174
ac_cs_recheck=false
 
16175
ac_cs_silent=false
 
16176
 
 
16177
SHELL=\${CONFIG_SHELL-$SHELL}
 
16178
export SHELL
 
16179
_ASEOF
 
16180
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
16181
## -------------------- ##
 
16182
## M4sh Initialization. ##
 
16183
## -------------------- ##
 
16184
 
 
16185
# Be more Bourne compatible
 
16186
DUALCASE=1; export DUALCASE # for MKS sh
 
16187
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 
16188
  emulate sh
 
16189
  NULLCMD=:
 
16190
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
16191
  # is contrary to our usage.  Disable this feature.
 
16192
  alias -g '${1+"$@"}'='"$@"'
 
16193
  setopt NO_GLOB_SUBST
 
16194
else
 
16195
  case `(set -o) 2>/dev/null` in #(
 
16196
  *posix*) :
 
16197
    set -o posix ;; #(
 
16198
  *) :
 
16199
     ;;
 
16200
esac
 
16201
fi
 
16202
 
 
16203
 
 
16204
as_nl='
 
16205
'
 
16206
export as_nl
 
16207
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
16208
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
16209
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
16210
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
16211
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
16212
# but without wasting forks for bash or zsh.
 
16213
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
16214
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
16215
  as_echo='print -r --'
 
16216
  as_echo_n='print -rn --'
 
16217
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
16218
  as_echo='printf %s\n'
 
16219
  as_echo_n='printf %s'
 
16220
else
 
16221
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
16222
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
16223
    as_echo_n='/usr/ucb/echo -n'
 
16224
  else
 
16225
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
16226
    as_echo_n_body='eval
 
16227
      arg=$1;
 
16228
      case $arg in #(
 
16229
      *"$as_nl"*)
 
16230
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
16231
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
16232
      esac;
 
16233
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
16234
    '
 
16235
    export as_echo_n_body
 
16236
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
16237
  fi
 
16238
  export as_echo_body
 
16239
  as_echo='sh -c $as_echo_body as_echo'
 
16240
fi
 
16241
 
 
16242
# The user is always right.
 
16243
if test "${PATH_SEPARATOR+set}" != set; then
 
16244
  PATH_SEPARATOR=:
 
16245
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
16246
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
16247
      PATH_SEPARATOR=';'
 
16248
  }
 
16249
fi
 
16250
 
 
16251
 
 
16252
# IFS
 
16253
# We need space, tab and new line, in precisely that order.  Quoting is
 
16254
# there to prevent editors from complaining about space-tab.
 
16255
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
16256
# splitting by setting IFS to empty value.)
 
16257
IFS=" ""        $as_nl"
 
16258
 
 
16259
# Find who we are.  Look in the path if we contain no directory separator.
 
16260
case $0 in #((
 
16261
  *[\\/]* ) as_myself=$0 ;;
 
16262
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
16263
for as_dir in $PATH
 
16264
do
 
16265
  IFS=$as_save_IFS
 
16266
  test -z "$as_dir" && as_dir=.
 
16267
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
16268
  done
 
16269
IFS=$as_save_IFS
 
16270
 
 
16271
     ;;
 
16272
esac
 
16273
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
16274
# in which case we are not to be found in the path.
 
16275
if test "x$as_myself" = x; then
 
16276
  as_myself=$0
 
16277
fi
 
16278
if test ! -f "$as_myself"; then
 
16279
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
16280
  exit 1
 
16281
fi
 
16282
 
 
16283
# Unset variables that we do not need and which cause bugs (e.g. in
 
16284
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
16285
# suppresses any "Segmentation fault" message there.  '((' could
 
16286
# trigger a bug in pdksh 5.2.14.
 
16287
for as_var in BASH_ENV ENV MAIL MAILPATH
 
16288
do eval test x\${$as_var+set} = xset \
 
16289
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 
16290
done
 
16291
PS1='$ '
 
16292
PS2='> '
 
16293
PS4='+ '
 
16294
 
 
16295
# NLS nuisances.
 
16296
LC_ALL=C
 
16297
export LC_ALL
 
16298
LANGUAGE=C
 
16299
export LANGUAGE
 
16300
 
 
16301
# CDPATH.
 
16302
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
16303
 
 
16304
 
 
16305
# as_fn_error ERROR [LINENO LOG_FD]
 
16306
# ---------------------------------
 
16307
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
16308
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
16309
# script with status $?, using 1 if that was 0.
 
16310
as_fn_error ()
 
16311
{
 
16312
  as_status=$?; test $as_status -eq 0 && as_status=1
 
16313
  if test "$3"; then
 
16314
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
16315
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
16316
  fi
 
16317
  $as_echo "$as_me: error: $1" >&2
 
16318
  as_fn_exit $as_status
 
16319
} # as_fn_error
 
16320
 
 
16321
 
 
16322
# as_fn_set_status STATUS
 
16323
# -----------------------
 
16324
# Set $? to STATUS, without forking.
 
16325
as_fn_set_status ()
 
16326
{
 
16327
  return $1
 
16328
} # as_fn_set_status
 
16329
 
 
16330
# as_fn_exit STATUS
 
16331
# -----------------
 
16332
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
16333
as_fn_exit ()
 
16334
{
 
16335
  set +e
 
16336
  as_fn_set_status $1
 
16337
  exit $1
 
16338
} # as_fn_exit
 
16339
 
 
16340
# as_fn_unset VAR
 
16341
# ---------------
 
16342
# Portably unset VAR.
 
16343
as_fn_unset ()
 
16344
{
 
16345
  { eval $1=; unset $1;}
 
16346
}
 
16347
as_unset=as_fn_unset
 
16348
# as_fn_append VAR VALUE
 
16349
# ----------------------
 
16350
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
16351
# advantage of any shell optimizations that allow amortized linear growth over
 
16352
# repeated appends, instead of the typical quadratic growth present in naive
 
16353
# implementations.
 
16354
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
16355
  eval 'as_fn_append ()
 
16356
  {
 
16357
    eval $1+=\$2
 
16358
  }'
 
16359
else
 
16360
  as_fn_append ()
 
16361
  {
 
16362
    eval $1=\$$1\$2
 
16363
  }
 
16364
fi # as_fn_append
 
16365
 
 
16366
# as_fn_arith ARG...
 
16367
# ------------------
 
16368
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
16369
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
16370
# must be portable across $(()) and expr.
 
16371
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
16372
  eval 'as_fn_arith ()
 
16373
  {
 
16374
    as_val=$(( $* ))
 
16375
  }'
 
16376
else
 
16377
  as_fn_arith ()
 
16378
  {
 
16379
    as_val=`expr "$@" || test $? -eq 1`
 
16380
  }
 
16381
fi # as_fn_arith
 
16382
 
 
16383
 
 
16384
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
16385
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
16386
  as_expr=expr
 
16387
else
 
16388
  as_expr=false
 
16389
fi
 
16390
 
 
16391
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
16392
  as_basename=basename
 
16393
else
 
16394
  as_basename=false
 
16395
fi
 
16396
 
 
16397
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
16398
  as_dirname=dirname
 
16399
else
 
16400
  as_dirname=false
 
16401
fi
 
16402
 
 
16403
as_me=`$as_basename -- "$0" ||
 
16404
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
16405
         X"$0" : 'X\(//\)$' \| \
 
16406
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
16407
$as_echo X/"$0" |
 
16408
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
16409
            s//\1/
 
16410
            q
 
16411
          }
 
16412
          /^X\/\(\/\/\)$/{
 
16413
            s//\1/
 
16414
            q
 
16415
          }
 
16416
          /^X\/\(\/\).*/{
 
16417
            s//\1/
 
16418
            q
 
16419
          }
 
16420
          s/.*/./; q'`
 
16421
 
 
16422
# Avoid depending upon Character Ranges.
 
16423
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
16424
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
16425
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
16426
as_cr_digits='0123456789'
 
16427
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
16428
 
 
16429
ECHO_C= ECHO_N= ECHO_T=
 
16430
case `echo -n x` in #(((((
 
16431
-n*)
 
16432
  case `echo 'xy\c'` in
 
16433
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
16434
  xy)  ECHO_C='\c';;
 
16435
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
16436
       ECHO_T=' ';;
 
16437
  esac;;
 
16438
*)
 
16439
  ECHO_N='-n';;
 
16440
esac
 
16441
 
 
16442
rm -f conf$$ conf$$.exe conf$$.file
 
16443
if test -d conf$$.dir; then
 
16444
  rm -f conf$$.dir/conf$$.file
 
16445
else
 
16446
  rm -f conf$$.dir
 
16447
  mkdir conf$$.dir 2>/dev/null
 
16448
fi
 
16449
if (echo >conf$$.file) 2>/dev/null; then
 
16450
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
16451
    as_ln_s='ln -s'
 
16452
    # ... but there are two gotchas:
 
16453
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
16454
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
16455
    # In both cases, we have to default to `cp -p'.
 
16456
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
16457
      as_ln_s='cp -p'
 
16458
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
16459
    as_ln_s=ln
 
16460
  else
 
16461
    as_ln_s='cp -p'
 
16462
  fi
 
16463
else
 
16464
  as_ln_s='cp -p'
 
16465
fi
 
16466
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
16467
rmdir conf$$.dir 2>/dev/null
 
16468
 
 
16469
 
 
16470
# as_fn_mkdir_p
 
16471
# -------------
 
16472
# Create "$as_dir" as a directory, including parents if necessary.
 
16473
as_fn_mkdir_p ()
 
16474
{
 
16475
 
 
16476
  case $as_dir in #(
 
16477
  -*) as_dir=./$as_dir;;
 
16478
  esac
 
16479
  test -d "$as_dir" || eval $as_mkdir_p || {
 
16480
    as_dirs=
 
16481
    while :; do
 
16482
      case $as_dir in #(
 
16483
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
16484
      *) as_qdir=$as_dir;;
 
16485
      esac
 
16486
      as_dirs="'$as_qdir' $as_dirs"
 
16487
      as_dir=`$as_dirname -- "$as_dir" ||
 
16488
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
16489
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
16490
         X"$as_dir" : 'X\(//\)$' \| \
 
16491
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
16492
$as_echo X"$as_dir" |
 
16493
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
16494
            s//\1/
 
16495
            q
 
16496
          }
 
16497
          /^X\(\/\/\)[^/].*/{
 
16498
            s//\1/
 
16499
            q
 
16500
          }
 
16501
          /^X\(\/\/\)$/{
 
16502
            s//\1/
 
16503
            q
 
16504
          }
 
16505
          /^X\(\/\).*/{
 
16506
            s//\1/
 
16507
            q
 
16508
          }
 
16509
          s/.*/./; q'`
 
16510
      test -d "$as_dir" && break
 
16511
    done
 
16512
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
16513
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
16514
 
 
16515
 
 
16516
} # as_fn_mkdir_p
 
16517
if mkdir -p . 2>/dev/null; then
 
16518
  as_mkdir_p='mkdir -p "$as_dir"'
 
16519
else
 
16520
  test -d ./-p && rmdir ./-p
 
16521
  as_mkdir_p=false
 
16522
fi
 
16523
 
 
16524
if test -x / >/dev/null 2>&1; then
 
16525
  as_test_x='test -x'
 
16526
else
 
16527
  if ls -dL / >/dev/null 2>&1; then
 
16528
    as_ls_L_option=L
 
16529
  else
 
16530
    as_ls_L_option=
 
16531
  fi
 
16532
  as_test_x='
 
16533
    eval sh -c '\''
 
16534
      if test -d "$1"; then
 
16535
        test -d "$1/.";
 
16536
      else
 
16537
        case $1 in #(
 
16538
        -*)set "./$1";;
 
16539
        esac;
 
16540
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 
16541
        ???[sx]*):;;*)false;;esac;fi
 
16542
    '\'' sh
 
16543
  '
 
16544
fi
 
16545
as_executable_p=$as_test_x
 
16546
 
 
16547
# Sed expression to map a string onto a valid CPP name.
 
16548
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
16549
 
 
16550
# Sed expression to map a string onto a valid variable name.
 
16551
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
16552
 
 
16553
 
 
16554
exec 6>&1
 
16555
## ----------------------------------- ##
 
16556
## Main body of $CONFIG_STATUS script. ##
 
16557
## ----------------------------------- ##
 
16558
_ASEOF
 
16559
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
 
16560
 
 
16561
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
16562
# Save the log message, to keep $0 and so on meaningful, and to
 
16563
# report actual input values of CONFIG_FILES etc. instead of their
 
16564
# values after options handling.
 
16565
ac_log="
 
16566
This file was extended by gmlive $as_me 0.22.2, which was
 
16567
generated by GNU Autoconf 2.64.  Invocation command line was
 
16568
 
 
16569
  CONFIG_FILES    = $CONFIG_FILES
 
16570
  CONFIG_HEADERS  = $CONFIG_HEADERS
 
16571
  CONFIG_LINKS    = $CONFIG_LINKS
 
16572
  CONFIG_COMMANDS = $CONFIG_COMMANDS
 
16573
  $ $0 $@
 
16574
 
 
16575
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
16576
"
 
16577
 
 
16578
_ACEOF
 
16579
 
 
16580
case $ac_config_files in *"
 
16581
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
16582
esac
 
16583
 
 
16584
case $ac_config_headers in *"
 
16585
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
16586
esac
 
16587
 
 
16588
 
 
16589
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
16590
# Files that config.status was made for.
 
16591
config_files="$ac_config_files"
 
16592
config_headers="$ac_config_headers"
 
16593
config_commands="$ac_config_commands"
 
16594
 
 
16595
_ACEOF
 
16596
 
 
16597
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
16598
ac_cs_usage="\
 
16599
\`$as_me' instantiates files and other configuration actions
 
16600
from templates according to the current configuration.  Unless the files
 
16601
and actions are specified as TAGs, all are instantiated by default.
 
16602
 
 
16603
Usage: $0 [OPTION]... [TAG]...
 
16604
 
 
16605
  -h, --help       print this help, then exit
 
16606
  -V, --version    print version number and configuration settings, then exit
 
16607
  -q, --quiet, --silent
 
16608
                   do not print progress messages
 
16609
  -d, --debug      don't remove temporary files
 
16610
      --recheck    update $as_me by reconfiguring in the same conditions
 
16611
      --file=FILE[:TEMPLATE]
 
16612
                   instantiate the configuration file FILE
 
16613
      --header=FILE[:TEMPLATE]
 
16614
                   instantiate the configuration header FILE
 
16615
 
 
16616
Configuration files:
 
16617
$config_files
 
16618
 
 
16619
Configuration headers:
 
16620
$config_headers
 
16621
 
 
16622
Configuration commands:
 
16623
$config_commands
 
16624
 
 
16625
Report bugs to <xihels@gmail.com>."
 
16626
 
 
16627
_ACEOF
 
16628
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
16629
ac_cs_version="\\
 
16630
gmlive config.status 0.22.2
 
16631
configured by $0, generated by GNU Autoconf 2.64,
 
16632
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
16633
 
 
16634
Copyright (C) 2009 Free Software Foundation, Inc.
 
16635
This config.status script is free software; the Free Software Foundation
 
16636
gives unlimited permission to copy, distribute and modify it."
 
16637
 
 
16638
ac_pwd='$ac_pwd'
 
16639
srcdir='$srcdir'
 
16640
INSTALL='$INSTALL'
 
16641
MKDIR_P='$MKDIR_P'
 
16642
AWK='$AWK'
 
16643
test -n "\$AWK" || AWK=awk
 
16644
_ACEOF
 
16645
 
 
16646
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
16647
# The default lists apply if the user does not specify any file.
 
16648
ac_need_defaults=:
 
16649
while test $# != 0
 
16650
do
 
16651
  case $1 in
 
16652
  --*=*)
 
16653
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
16654
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 
16655
    ac_shift=:
 
16656
    ;;
 
16657
  *)
 
16658
    ac_option=$1
 
16659
    ac_optarg=$2
 
16660
    ac_shift=shift
 
16661
    ;;
 
16662
  esac
 
16663
 
 
16664
  case $ac_option in
 
16665
  # Handling of the options.
 
16666
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 
16667
    ac_cs_recheck=: ;;
 
16668
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
16669
    $as_echo "$ac_cs_version"; exit ;;
 
16670
  --debug | --debu | --deb | --de | --d | -d )
 
16671
    debug=: ;;
 
16672
  --file | --fil | --fi | --f )
 
16673
    $ac_shift
 
16674
    case $ac_optarg in
 
16675
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
16676
    esac
 
16677
    as_fn_append CONFIG_FILES " '$ac_optarg'"
 
16678
    ac_need_defaults=false;;
 
16679
  --header | --heade | --head | --hea )
 
16680
    $ac_shift
 
16681
    case $ac_optarg in
 
16682
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
16683
    esac
 
16684
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
 
16685
    ac_need_defaults=false;;
 
16686
  --he | --h)
 
16687
    # Conflict between --help and --header
 
16688
    as_fn_error "ambiguous option: \`$1'
 
16689
Try \`$0 --help' for more information.";;
 
16690
  --help | --hel | -h )
 
16691
    $as_echo "$ac_cs_usage"; exit ;;
 
16692
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
16693
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
 
16694
    ac_cs_silent=: ;;
 
16695
 
 
16696
  # This is an error.
 
16697
  -*) as_fn_error "unrecognized option: \`$1'
 
16698
Try \`$0 --help' for more information." ;;
 
16699
 
 
16700
  *) as_fn_append ac_config_targets " $1"
 
16701
     ac_need_defaults=false ;;
 
16702
 
 
16703
  esac
 
16704
  shift
 
16705
done
 
16706
 
 
16707
ac_configure_extra_args=
 
16708
 
 
16709
if $ac_cs_silent; then
 
16710
  exec 6>/dev/null
 
16711
  ac_configure_extra_args="$ac_configure_extra_args --silent"
 
16712
fi
 
16713
 
 
16714
_ACEOF
 
16715
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
16716
if \$ac_cs_recheck; then
 
16717
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
16718
  shift
 
16719
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
16720
  CONFIG_SHELL='$SHELL'
 
16721
  export CONFIG_SHELL
 
16722
  exec "\$@"
 
16723
fi
 
16724
 
 
16725
_ACEOF
 
16726
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
16727
exec 5>>config.log
 
16728
{
 
16729
  echo
 
16730
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
16731
## Running $as_me. ##
 
16732
_ASBOX
 
16733
  $as_echo "$ac_log"
 
16734
} >&5
 
16735
 
 
16736
_ACEOF
 
16737
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
16738
#
 
16739
# INIT-COMMANDS
 
16740
#
 
16741
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 
16742
 
 
16743
 
 
16744
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
16745
# if CDPATH is set.
 
16746
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
16747
 
 
16748
sed_quote_subst='$sed_quote_subst'
 
16749
double_quote_subst='$double_quote_subst'
 
16750
delay_variable_subst='$delay_variable_subst'
 
16751
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
 
16752
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
 
16753
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
 
16754
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
 
16755
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
 
16756
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
 
16757
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
16758
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
 
16759
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
 
16760
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
16761
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
 
16762
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
 
16763
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
 
16764
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
 
16765
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
 
16766
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
16767
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
16768
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
 
16769
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
 
16770
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
 
16771
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
 
16772
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
 
16773
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
 
16774
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
 
16775
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
 
16776
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
 
16777
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
16778
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16779
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
 
16780
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
 
16781
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
 
16782
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
 
16783
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
16784
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
 
16785
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
 
16786
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16787
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16788
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16789
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
 
16790
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
16791
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
 
16792
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
 
16793
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
 
16794
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
 
16795
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
 
16796
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
 
16797
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
 
16798
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
 
16799
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
 
16800
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
 
16801
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
16802
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
 
16803
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
 
16804
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
 
16805
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
 
16806
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
 
16807
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
 
16808
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
 
16809
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
 
16810
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
 
16811
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
 
16812
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
 
16813
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16814
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16815
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
 
16816
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
 
16817
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
16818
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
16819
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
 
16820
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16821
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16822
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16823
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16824
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16825
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16826
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
16827
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
16828
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
16829
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
16830
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
16831
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
 
16832
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
 
16833
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
 
16834
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
 
16835
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
16836
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
 
16837
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
 
16838
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
 
16839
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
 
16840
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
 
16841
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16842
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
16843
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
16844
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16845
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
16846
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
 
16847
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
 
16848
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
 
16849
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
 
16850
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
16851
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
16852
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
 
16853
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
16854
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
16855
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
16856
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16857
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16858
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16859
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
 
16860
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
 
16861
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
16862
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
16863
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
 
16864
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
 
16865
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
 
16866
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
 
16867
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
16868
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
16869
compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
 
16870
predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
 
16871
postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
 
16872
predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
 
16873
postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
 
16874
compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
 
16875
LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16876
old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16877
compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16878
GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16879
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16880
lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16881
lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16882
lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16883
lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16884
archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16885
enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16886
export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16887
whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16888
compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16889
old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16890
old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16891
archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16892
archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16893
module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16894
module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16895
with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16896
allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16897
no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16898
hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16899
hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16900
hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16901
hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16902
hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16903
hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16904
hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16905
hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16906
inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16907
link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16908
fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16909
always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16910
export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16911
exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16912
include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16913
prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16914
file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16915
hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16916
compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16917
predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16918
postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16919
predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16920
postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16921
compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
16922
 
 
16923
LTCC='$LTCC'
 
16924
LTCFLAGS='$LTCFLAGS'
 
16925
compiler='$compiler_DEFAULT'
 
16926
 
 
16927
# Quote evaled strings.
 
16928
for var in SED \
 
16929
GREP \
 
16930
EGREP \
 
16931
FGREP \
 
16932
LD \
 
16933
NM \
 
16934
LN_S \
 
16935
lt_SP2NL \
 
16936
lt_NL2SP \
 
16937
reload_flag \
 
16938
OBJDUMP \
 
16939
deplibs_check_method \
 
16940
file_magic_cmd \
 
16941
AR \
 
16942
AR_FLAGS \
 
16943
STRIP \
 
16944
RANLIB \
 
16945
CC \
 
16946
CFLAGS \
 
16947
compiler \
 
16948
lt_cv_sys_global_symbol_pipe \
 
16949
lt_cv_sys_global_symbol_to_cdecl \
 
16950
lt_cv_sys_global_symbol_to_c_name_address \
 
16951
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
16952
SHELL \
 
16953
ECHO \
 
16954
lt_prog_compiler_no_builtin_flag \
 
16955
lt_prog_compiler_wl \
 
16956
lt_prog_compiler_pic \
 
16957
lt_prog_compiler_static \
 
16958
lt_cv_prog_compiler_c_o \
 
16959
need_locks \
 
16960
DSYMUTIL \
 
16961
NMEDIT \
 
16962
LIPO \
 
16963
OTOOL \
 
16964
OTOOL64 \
 
16965
shrext_cmds \
 
16966
export_dynamic_flag_spec \
 
16967
whole_archive_flag_spec \
 
16968
compiler_needs_object \
 
16969
with_gnu_ld \
 
16970
allow_undefined_flag \
 
16971
no_undefined_flag \
 
16972
hardcode_libdir_flag_spec \
 
16973
hardcode_libdir_flag_spec_ld \
 
16974
hardcode_libdir_separator \
 
16975
fix_srcfile_path \
 
16976
exclude_expsyms \
 
16977
include_expsyms \
 
16978
file_list_spec \
 
16979
variables_saved_for_relink \
 
16980
libname_spec \
 
16981
library_names_spec \
 
16982
soname_spec \
 
16983
finish_eval \
 
16984
old_striplib \
 
16985
striplib \
 
16986
compiler_lib_search_dirs \
 
16987
predep_objects \
 
16988
postdep_objects \
 
16989
predeps \
 
16990
postdeps \
 
16991
compiler_lib_search_path \
 
16992
LD_CXX \
 
16993
compiler_CXX \
 
16994
lt_prog_compiler_no_builtin_flag_CXX \
 
16995
lt_prog_compiler_wl_CXX \
 
16996
lt_prog_compiler_pic_CXX \
 
16997
lt_prog_compiler_static_CXX \
 
16998
lt_cv_prog_compiler_c_o_CXX \
 
16999
export_dynamic_flag_spec_CXX \
 
17000
whole_archive_flag_spec_CXX \
 
17001
compiler_needs_object_CXX \
 
17002
with_gnu_ld_CXX \
 
17003
allow_undefined_flag_CXX \
 
17004
no_undefined_flag_CXX \
 
17005
hardcode_libdir_flag_spec_CXX \
 
17006
hardcode_libdir_flag_spec_ld_CXX \
 
17007
hardcode_libdir_separator_CXX \
 
17008
fix_srcfile_path_CXX \
 
17009
exclude_expsyms_CXX \
 
17010
include_expsyms_CXX \
 
17011
file_list_spec_CXX \
 
17012
compiler_lib_search_dirs_CXX \
 
17013
predep_objects_CXX \
 
17014
postdep_objects_CXX \
 
17015
predeps_CXX \
 
17016
postdeps_CXX \
 
17017
compiler_lib_search_path_CXX; do
 
17018
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
17019
    *[\\\\\\\`\\"\\\$]*)
 
17020
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
17021
      ;;
 
17022
    *)
 
17023
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
17024
      ;;
 
17025
    esac
 
17026
done
 
17027
 
 
17028
# Double-quote double-evaled strings.
 
17029
for var in reload_cmds \
 
17030
old_postinstall_cmds \
 
17031
old_postuninstall_cmds \
 
17032
old_archive_cmds \
 
17033
extract_expsyms_cmds \
 
17034
old_archive_from_new_cmds \
 
17035
old_archive_from_expsyms_cmds \
 
17036
archive_cmds \
 
17037
archive_expsym_cmds \
 
17038
module_cmds \
 
17039
module_expsym_cmds \
 
17040
export_symbols_cmds \
 
17041
prelink_cmds \
 
17042
postinstall_cmds \
 
17043
postuninstall_cmds \
 
17044
finish_cmds \
 
17045
sys_lib_search_path_spec \
 
17046
sys_lib_dlsearch_path_spec \
 
17047
old_archive_cmds_CXX \
 
17048
old_archive_from_new_cmds_CXX \
 
17049
old_archive_from_expsyms_cmds_CXX \
 
17050
archive_cmds_CXX \
 
17051
archive_expsym_cmds_CXX \
 
17052
module_cmds_CXX \
 
17053
module_expsym_cmds_CXX \
 
17054
export_symbols_cmds_CXX \
 
17055
prelink_cmds_CXX; do
 
17056
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
17057
    *[\\\\\\\`\\"\\\$]*)
 
17058
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
17059
      ;;
 
17060
    *)
 
17061
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
17062
      ;;
 
17063
    esac
 
17064
done
 
17065
 
 
17066
# Fix-up fallback echo if it was mangled by the above quoting rules.
 
17067
case \$lt_ECHO in
 
17068
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
 
17069
  ;;
 
17070
esac
 
17071
 
 
17072
ac_aux_dir='$ac_aux_dir'
 
17073
xsi_shell='$xsi_shell'
 
17074
lt_shell_append='$lt_shell_append'
 
17075
 
 
17076
# See if we are running on zsh, and set the options which allow our
 
17077
# commands through without removal of \ escapes INIT.
 
17078
if test -n "\${ZSH_VERSION+set}" ; then
 
17079
   setopt NO_GLOB_SUBST
 
17080
fi
 
17081
 
 
17082
 
 
17083
    PACKAGE='$PACKAGE'
 
17084
    VERSION='$VERSION'
 
17085
    TIMESTAMP='$TIMESTAMP'
 
17086
    RM='$RM'
 
17087
    ofile='$ofile'
 
17088
 
 
17089
 
 
17090
 
 
17091
 
 
17092
 
 
17093
 
 
17094
 
 
17095
_ACEOF
 
17096
 
 
17097
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
17098
 
 
17099
# Handling of arguments.
 
17100
for ac_config_target in $ac_config_targets
 
17101
do
 
17102
  case $ac_config_target in
 
17103
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
17104
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
17105
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
 
17106
    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
 
17107
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
17108
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 
17109
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
 
17110
    "data/gmlive.desktop.in") CONFIG_FILES="$CONFIG_FILES data/gmlive.desktop.in" ;;
 
17111
    "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
 
17112
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
 
17113
 
 
17114
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 
17115
  esac
 
17116
done
 
17117
 
 
17118
 
 
17119
# If the user did not use the arguments to specify the items to instantiate,
 
17120
# then the envvar interface is used.  Set only those that are not.
 
17121
# We use the long form for the default assignment because of an extremely
 
17122
# bizarre bug on SunOS 4.1.3.
 
17123
if $ac_need_defaults; then
 
17124
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 
17125
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
 
17126
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
 
17127
fi
 
17128
 
 
17129
# Have a temporary directory for convenience.  Make it in the build tree
 
17130
# simply because there is no reason against having it here, and in addition,
 
17131
# creating and moving files from /tmp can sometimes cause problems.
 
17132
# Hook for its removal unless debugging.
 
17133
# Note that there is a small window in which the directory will not be cleaned:
 
17134
# after its creation but before its name has been assigned to `$tmp'.
 
17135
$debug ||
 
17136
{
 
17137
  tmp=
 
17138
  trap 'exit_status=$?
 
17139
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
17140
' 0
 
17141
  trap 'as_fn_exit 1' 1 2 13 15
 
17142
}
 
17143
# Create a (secure) tmp directory for tmp files.
 
17144
 
 
17145
{
 
17146
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 
17147
  test -n "$tmp" && test -d "$tmp"
 
17148
}  ||
 
17149
{
 
17150
  tmp=./conf$$-$RANDOM
 
17151
  (umask 077 && mkdir "$tmp")
 
17152
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
 
17153
 
 
17154
# Set up the scripts for CONFIG_FILES section.
 
17155
# No need to generate them if there are no CONFIG_FILES.
 
17156
# This happens for instance with `./config.status config.h'.
 
17157
if test -n "$CONFIG_FILES"; then
 
17158
 
 
17159
 
 
17160
ac_cr=`echo X | tr X '\015'`
 
17161
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
17162
# But we know of no other shell where ac_cr would be empty at this
 
17163
# point, so we can use a bashism as a fallback.
 
17164
if test "x$ac_cr" = x; then
 
17165
  eval ac_cr=\$\'\\r\'
 
17166
fi
 
17167
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
17168
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
17169
  ac_cs_awk_cr='\r'
 
17170
else
 
17171
  ac_cs_awk_cr=$ac_cr
 
17172
fi
 
17173
 
 
17174
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
17175
_ACEOF
 
17176
 
 
17177
 
 
17178
{
 
17179
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
17180
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
17181
  echo "_ACEOF"
 
17182
} >conf$$subs.sh ||
 
17183
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
17184
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
17185
ac_delim='%!_!# '
 
17186
for ac_last_try in false false false false false :; do
 
17187
  . ./conf$$subs.sh ||
 
17188
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
17189
 
 
17190
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
17191
  if test $ac_delim_n = $ac_delim_num; then
 
17192
    break
 
17193
  elif $ac_last_try; then
 
17194
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
17195
  else
 
17196
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
17197
  fi
 
17198
done
 
17199
rm -f conf$$subs.sh
 
17200
 
 
17201
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
17202
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
17203
_ACEOF
 
17204
sed -n '
 
17205
h
 
17206
s/^/S["/; s/!.*/"]=/
 
17207
p
 
17208
g
 
17209
s/^[^!]*!//
 
17210
:repl
 
17211
t repl
 
17212
s/'"$ac_delim"'$//
 
17213
t delim
 
17214
:nl
 
17215
h
 
17216
s/\(.\{148\}\).*/\1/
 
17217
t more1
 
17218
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
17219
p
 
17220
n
 
17221
b repl
 
17222
:more1
 
17223
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
17224
p
 
17225
g
 
17226
s/.\{148\}//
 
17227
t nl
 
17228
:delim
 
17229
h
 
17230
s/\(.\{148\}\).*/\1/
 
17231
t more2
 
17232
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
17233
p
 
17234
b
 
17235
:more2
 
17236
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
17237
p
 
17238
g
 
17239
s/.\{148\}//
 
17240
t delim
 
17241
' <conf$$subs.awk | sed '
 
17242
/^[^""]/{
 
17243
  N
 
17244
  s/\n//
 
17245
}
 
17246
' >>$CONFIG_STATUS || ac_write_fail=1
 
17247
rm -f conf$$subs.awk
 
17248
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
17249
_ACAWK
 
17250
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
17251
  for (key in S) S_is_set[key] = 1
 
17252
  FS = ""
 
17253
 
 
17254
}
 
17255
{
 
17256
  line = $ 0
 
17257
  nfields = split(line, field, "@")
 
17258
  substed = 0
 
17259
  len = length(field[1])
 
17260
  for (i = 2; i < nfields; i++) {
 
17261
    key = field[i]
 
17262
    keylen = length(key)
 
17263
    if (S_is_set[key]) {
 
17264
      value = S[key]
 
17265
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
17266
      len += length(value) + length(field[++i])
 
17267
      substed = 1
 
17268
    } else
 
17269
      len += 1 + keylen
 
17270
  }
 
17271
 
 
17272
  print line
 
17273
}
 
17274
 
 
17275
_ACAWK
 
17276
_ACEOF
 
17277
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
17278
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
17279
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
17280
else
 
17281
  cat
 
17282
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
17283
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
 
17284
_ACEOF
 
17285
 
 
17286
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
17287
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
17288
# trailing colons and then remove the whole line if VPATH becomes empty
 
17289
# (actually we leave an empty line to preserve line numbers).
 
17290
if test "x$srcdir" = x.; then
 
17291
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
17292
s/:*\$(srcdir):*/:/
 
17293
s/:*\${srcdir}:*/:/
 
17294
s/:*@srcdir@:*/:/
 
17295
s/^\([^=]*=[     ]*\):*/\1/
 
17296
s/:*$//
 
17297
s/^[^=]*=[       ]*$//
 
17298
}'
 
17299
fi
 
17300
 
 
17301
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
17302
fi # test -n "$CONFIG_FILES"
 
17303
 
 
17304
# Set up the scripts for CONFIG_HEADERS section.
 
17305
# No need to generate them if there are no CONFIG_HEADERS.
 
17306
# This happens for instance with `./config.status Makefile'.
 
17307
if test -n "$CONFIG_HEADERS"; then
 
17308
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
17309
BEGIN {
 
17310
_ACEOF
 
17311
 
 
17312
# Transform confdefs.h into an awk script `defines.awk', embedded as
 
17313
# here-document in config.status, that substitutes the proper values into
 
17314
# config.h.in to produce config.h.
 
17315
 
 
17316
# Create a delimiter string that does not exist in confdefs.h, to ease
 
17317
# handling of long lines.
 
17318
ac_delim='%!_!# '
 
17319
for ac_last_try in false false :; do
 
17320
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
 
17321
  if test -z "$ac_t"; then
 
17322
    break
 
17323
  elif $ac_last_try; then
 
17324
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
 
17325
  else
 
17326
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
17327
  fi
 
17328
done
 
17329
 
 
17330
# For the awk script, D is an array of macro values keyed by name,
 
17331
# likewise P contains macro parameters if any.  Preserve backslash
 
17332
# newline sequences.
 
17333
 
 
17334
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
17335
sed -n '
 
17336
s/.\{148\}/&'"$ac_delim"'/g
 
17337
t rset
 
17338
:rset
 
17339
s/^[     ]*#[    ]*define[       ][      ]*/ /
 
17340
t def
 
17341
d
 
17342
:def
 
17343
s/\\$//
 
17344
t bsnl
 
17345
s/["\\]/\\&/g
 
17346
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
17347
D["\1"]=" \3"/p
 
17348
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 
17349
d
 
17350
:bsnl
 
17351
s/["\\]/\\&/g
 
17352
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
17353
D["\1"]=" \3\\\\\\n"\\/p
 
17354
t cont
 
17355
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 
17356
t cont
 
17357
d
 
17358
:cont
 
17359
n
 
17360
s/.\{148\}/&'"$ac_delim"'/g
 
17361
t clear
 
17362
:clear
 
17363
s/\\$//
 
17364
t bsnlc
 
17365
s/["\\]/\\&/g; s/^/"/; s/$/"/p
 
17366
d
 
17367
:bsnlc
 
17368
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 
17369
b cont
 
17370
' <confdefs.h | sed '
 
17371
s/'"$ac_delim"'/"\\\
 
17372
"/g' >>$CONFIG_STATUS || ac_write_fail=1
 
17373
 
 
17374
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
17375
  for (key in D) D_is_set[key] = 1
 
17376
  FS = ""
 
17377
}
 
17378
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 
17379
  line = \$ 0
 
17380
  split(line, arg, " ")
 
17381
  if (arg[1] == "#") {
 
17382
    defundef = arg[2]
 
17383
    mac1 = arg[3]
 
17384
  } else {
 
17385
    defundef = substr(arg[1], 2)
 
17386
    mac1 = arg[2]
 
17387
  }
 
17388
  split(mac1, mac2, "(") #)
 
17389
  macro = mac2[1]
 
17390
  prefix = substr(line, 1, index(line, defundef) - 1)
 
17391
  if (D_is_set[macro]) {
 
17392
    # Preserve the white space surrounding the "#".
 
17393
    print prefix "define", macro P[macro] D[macro]
 
17394
    next
 
17395
  } else {
 
17396
    # Replace #undef with comments.  This is necessary, for example,
 
17397
    # in the case of _POSIX_SOURCE, which is predefined and required
 
17398
    # on some systems where configure will not decide to define it.
 
17399
    if (defundef == "undef") {
 
17400
      print "/*", prefix defundef, macro, "*/"
 
17401
      next
 
17402
    }
 
17403
  }
 
17404
}
 
17405
{ print }
 
17406
_ACAWK
 
17407
_ACEOF
 
17408
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
17409
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
 
17410
fi # test -n "$CONFIG_HEADERS"
 
17411
 
 
17412
 
 
17413
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 
17414
shift
 
17415
for ac_tag
 
17416
do
 
17417
  case $ac_tag in
 
17418
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
17419
  esac
 
17420
  case $ac_mode$ac_tag in
 
17421
  :[FHL]*:*);;
 
17422
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
 
17423
  :[FH]-) ac_tag=-:-;;
 
17424
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
17425
  esac
 
17426
  ac_save_IFS=$IFS
 
17427
  IFS=:
 
17428
  set x $ac_tag
 
17429
  IFS=$ac_save_IFS
 
17430
  shift
 
17431
  ac_file=$1
 
17432
  shift
 
17433
 
 
17434
  case $ac_mode in
 
17435
  :L) ac_source=$1;;
 
17436
  :[FH])
 
17437
    ac_file_inputs=
 
17438
    for ac_f
 
17439
    do
 
17440
      case $ac_f in
 
17441
      -) ac_f="$tmp/stdin";;
 
17442
      *) # Look for the file first in the build tree, then in the source tree
 
17443
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
17444
         # because $ac_f cannot contain `:'.
 
17445
         test -f "$ac_f" ||
 
17446
           case $ac_f in
 
17447
           [\\/$]*) false;;
 
17448
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
17449
           esac ||
 
17450
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 
17451
      esac
 
17452
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
17453
      as_fn_append ac_file_inputs " '$ac_f'"
 
17454
    done
 
17455
 
 
17456
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
17457
    # use $as_me), people would be surprised to read:
 
17458
    #    /* config.h.  Generated by config.status.  */
 
17459
    configure_input='Generated from '`
 
17460
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
17461
        `' by configure.'
 
17462
    if test x"$ac_file" != x-; then
 
17463
      configure_input="$ac_file.  $configure_input"
 
17464
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
 
17465
$as_echo "$as_me: creating $ac_file" >&6;}
 
17466
    fi
 
17467
    # Neutralize special characters interpreted by sed in replacement strings.
 
17468
    case $configure_input in #(
 
17469
    *\&* | *\|* | *\\* )
 
17470
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
17471
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
17472
    *) ac_sed_conf_input=$configure_input;;
 
17473
    esac
 
17474
 
 
17475
    case $ac_tag in
 
17476
    *:-:* | *:-) cat >"$tmp/stdin" \
 
17477
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
 
17478
    esac
 
17479
    ;;
 
17480
  esac
 
17481
 
 
17482
  ac_dir=`$as_dirname -- "$ac_file" ||
 
17483
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
17484
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
17485
         X"$ac_file" : 'X\(//\)$' \| \
 
17486
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 
17487
$as_echo X"$ac_file" |
 
17488
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
17489
            s//\1/
 
17490
            q
 
17491
          }
 
17492
          /^X\(\/\/\)[^/].*/{
 
17493
            s//\1/
 
17494
            q
 
17495
          }
 
17496
          /^X\(\/\/\)$/{
 
17497
            s//\1/
 
17498
            q
 
17499
          }
 
17500
          /^X\(\/\).*/{
 
17501
            s//\1/
 
17502
            q
 
17503
          }
 
17504
          s/.*/./; q'`
 
17505
  as_dir="$ac_dir"; as_fn_mkdir_p
 
17506
  ac_builddir=.
 
17507
 
 
17508
case "$ac_dir" in
 
17509
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
17510
*)
 
17511
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
17512
  # A ".." for each directory in $ac_dir_suffix.
 
17513
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
17514
  case $ac_top_builddir_sub in
 
17515
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
17516
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
17517
  esac ;;
 
17518
esac
 
17519
ac_abs_top_builddir=$ac_pwd
 
17520
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
17521
# for backward compatibility:
 
17522
ac_top_builddir=$ac_top_build_prefix
 
17523
 
 
17524
case $srcdir in
 
17525
  .)  # We are building in place.
 
17526
    ac_srcdir=.
 
17527
    ac_top_srcdir=$ac_top_builddir_sub
 
17528
    ac_abs_top_srcdir=$ac_pwd ;;
 
17529
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
17530
    ac_srcdir=$srcdir$ac_dir_suffix;
 
17531
    ac_top_srcdir=$srcdir
 
17532
    ac_abs_top_srcdir=$srcdir ;;
 
17533
  *) # Relative name.
 
17534
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
17535
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
17536
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
17537
esac
 
17538
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
17539
 
 
17540
 
 
17541
  case $ac_mode in
 
17542
  :F)
 
17543
  #
 
17544
  # CONFIG_FILE
 
17545
  #
 
17546
 
 
17547
  case $INSTALL in
 
17548
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 
17549
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 
17550
  esac
 
17551
  ac_MKDIR_P=$MKDIR_P
 
17552
  case $MKDIR_P in
 
17553
  [\\/$]* | ?:[\\/]* ) ;;
 
17554
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 
17555
  esac
 
17556
_ACEOF
 
17557
 
 
17558
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
17559
# If the template does not know about datarootdir, expand it.
 
17560
# FIXME: This hack should be removed a few years after 2.60.
 
17561
ac_datarootdir_hack=; ac_datarootdir_seen=
 
17562
ac_sed_dataroot='
 
17563
/datarootdir/ {
 
17564
  p
 
17565
  q
 
17566
}
 
17567
/@datadir@/p
 
17568
/@docdir@/p
 
17569
/@infodir@/p
 
17570
/@localedir@/p
 
17571
/@mandir@/p'
 
17572
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 
17573
*datarootdir*) ac_datarootdir_seen=yes;;
 
17574
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
17575
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
17576
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
17577
_ACEOF
 
17578
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
17579
  ac_datarootdir_hack='
 
17580
  s&@datadir@&$datadir&g
 
17581
  s&@docdir@&$docdir&g
 
17582
  s&@infodir@&$infodir&g
 
17583
  s&@localedir@&$localedir&g
 
17584
  s&@mandir@&$mandir&g
 
17585
  s&\\\${datarootdir}&$datarootdir&g' ;;
 
17586
esac
 
17587
_ACEOF
 
17588
 
 
17589
# Neutralize VPATH when `$srcdir' = `.'.
 
17590
# Shell code in configure.ac might set extrasub.
 
17591
# FIXME: do we really want to maintain this feature?
 
17592
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
17593
ac_sed_extra="$ac_vpsub
 
17594
$extrasub
 
17595
_ACEOF
 
17596
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
17597
:t
 
17598
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
17599
s|@configure_input@|$ac_sed_conf_input|;t t
 
17600
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
17601
s&@top_build_prefix@&$ac_top_build_prefix&;t t
 
17602
s&@srcdir@&$ac_srcdir&;t t
 
17603
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
17604
s&@top_srcdir@&$ac_top_srcdir&;t t
 
17605
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
17606
s&@builddir@&$ac_builddir&;t t
 
17607
s&@abs_builddir@&$ac_abs_builddir&;t t
 
17608
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
17609
s&@INSTALL@&$ac_INSTALL&;t t
 
17610
s&@MKDIR_P@&$ac_MKDIR_P&;t t
 
17611
$ac_datarootdir_hack
 
17612
"
 
17613
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 
17614
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
17615
 
 
17616
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
17617
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
17618
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
17619
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
17620
which seems to be undefined.  Please make sure it is defined." >&5
 
17621
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
17622
which seems to be undefined.  Please make sure it is defined." >&2;}
 
17623
 
 
17624
  rm -f "$tmp/stdin"
 
17625
  case $ac_file in
 
17626
  -) cat "$tmp/out" && rm -f "$tmp/out";;
 
17627
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
17628
  esac \
 
17629
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
17630
 ;;
 
17631
  :H)
 
17632
  #
 
17633
  # CONFIG_HEADER
 
17634
  #
 
17635
  if test x"$ac_file" != x-; then
 
17636
    {
 
17637
      $as_echo "/* $configure_input  */" \
 
17638
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
 
17639
    } >"$tmp/config.h" \
 
17640
      || as_fn_error "could not create $ac_file" "$LINENO" 5
 
17641
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
17642
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
 
17643
$as_echo "$as_me: $ac_file is unchanged" >&6;}
 
17644
    else
 
17645
      rm -f "$ac_file"
 
17646
      mv "$tmp/config.h" "$ac_file" \
 
17647
        || as_fn_error "could not create $ac_file" "$LINENO" 5
 
17648
    fi
 
17649
  else
 
17650
    $as_echo "/* $configure_input  */" \
 
17651
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
17652
      || as_fn_error "could not create -" "$LINENO" 5
 
17653
  fi
 
17654
# Compute "$ac_file"'s index in $config_headers.
 
17655
_am_arg="$ac_file"
 
17656
_am_stamp_count=1
 
17657
for _am_header in $config_headers :; do
 
17658
  case $_am_header in
 
17659
    $_am_arg | $_am_arg:* )
 
17660
      break ;;
 
17661
    * )
 
17662
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
 
17663
  esac
 
17664
done
 
17665
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 
17666
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
17667
         X"$_am_arg" : 'X\(//\)[^/]' \| \
 
17668
         X"$_am_arg" : 'X\(//\)$' \| \
 
17669
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 
17670
$as_echo X"$_am_arg" |
 
17671
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
17672
            s//\1/
 
17673
            q
 
17674
          }
 
17675
          /^X\(\/\/\)[^/].*/{
 
17676
            s//\1/
 
17677
            q
 
17678
          }
 
17679
          /^X\(\/\/\)$/{
 
17680
            s//\1/
 
17681
            q
 
17682
          }
 
17683
          /^X\(\/\).*/{
 
17684
            s//\1/
 
17685
            q
 
17686
          }
 
17687
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
17688
 ;;
 
17689
 
 
17690
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
 
17691
$as_echo "$as_me: executing $ac_file commands" >&6;}
 
17692
 ;;
 
17693
  esac
 
17694
 
 
17695
 
 
17696
  case $ac_file$ac_mode in
 
17697
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 
17698
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
17699
  # are listed without --file.  Let's play safe and only enable the eval
 
17700
  # if we detect the quoting.
 
17701
  case $CONFIG_FILES in
 
17702
  *\'*) eval set x "$CONFIG_FILES" ;;
 
17703
  *)   set x $CONFIG_FILES ;;
 
17704
  esac
 
17705
  shift
 
17706
  for mf
 
17707
  do
 
17708
    # Strip MF so we end up with the name of the file.
 
17709
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
17710
    # Check whether this is an Automake generated Makefile or not.
 
17711
    # We used to match only the files named `Makefile.in', but
 
17712
    # some people rename them; so instead we look at the file content.
 
17713
    # Grep'ing the first line is not enough: some people post-process
 
17714
    # each Makefile.in and add a new line on top of each file to say so.
 
17715
    # Grep'ing the whole file is not good either: AIX grep has a line
 
17716
    # limit of 2048, but all sed's we know have understand at least 4000.
 
17717
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
17718
      dirpart=`$as_dirname -- "$mf" ||
 
17719
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
17720
         X"$mf" : 'X\(//\)[^/]' \| \
 
17721
         X"$mf" : 'X\(//\)$' \| \
 
17722
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 
17723
$as_echo X"$mf" |
 
17724
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
17725
            s//\1/
 
17726
            q
 
17727
          }
 
17728
          /^X\(\/\/\)[^/].*/{
 
17729
            s//\1/
 
17730
            q
 
17731
          }
 
17732
          /^X\(\/\/\)$/{
 
17733
            s//\1/
 
17734
            q
 
17735
          }
 
17736
          /^X\(\/\).*/{
 
17737
            s//\1/
 
17738
            q
 
17739
          }
 
17740
          s/.*/./; q'`
 
17741
    else
 
17742
      continue
 
17743
    fi
 
17744
    # Extract the definition of DEPDIR, am__include, and am__quote
 
17745
    # from the Makefile without running `make'.
 
17746
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
17747
    test -z "$DEPDIR" && continue
 
17748
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
17749
    test -z "am__include" && continue
 
17750
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
17751
    # When using ansi2knr, U may be empty or an underscore; expand it
 
17752
    U=`sed -n 's/^U = //p' < "$mf"`
 
17753
    # Find all dependency output files, they are included files with
 
17754
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
17755
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
17756
    # expansion.
 
17757
    for file in `sed -n "
 
17758
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
17759
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
17760
      # Make sure the directory exists.
 
17761
      test -f "$dirpart/$file" && continue
 
17762
      fdir=`$as_dirname -- "$file" ||
 
17763
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
17764
         X"$file" : 'X\(//\)[^/]' \| \
 
17765
         X"$file" : 'X\(//\)$' \| \
 
17766
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 
17767
$as_echo X"$file" |
 
17768
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
17769
            s//\1/
 
17770
            q
 
17771
          }
 
17772
          /^X\(\/\/\)[^/].*/{
 
17773
            s//\1/
 
17774
            q
 
17775
          }
 
17776
          /^X\(\/\/\)$/{
 
17777
            s//\1/
 
17778
            q
 
17779
          }
 
17780
          /^X\(\/\).*/{
 
17781
            s//\1/
 
17782
            q
 
17783
          }
 
17784
          s/.*/./; q'`
 
17785
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
 
17786
      # echo "creating $dirpart/$file"
 
17787
      echo '# dummy' > "$dirpart/$file"
 
17788
    done
 
17789
  done
 
17790
}
 
17791
 ;;
 
17792
    "libtool":C)
 
17793
 
 
17794
    # See if we are running on zsh, and set the options which allow our
 
17795
    # commands through without removal of \ escapes.
 
17796
    if test -n "${ZSH_VERSION+set}" ; then
 
17797
      setopt NO_GLOB_SUBST
 
17798
    fi
 
17799
 
 
17800
    cfgfile="${ofile}T"
 
17801
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 
17802
    $RM "$cfgfile"
 
17803
 
 
17804
    cat <<_LT_EOF >> "$cfgfile"
 
17805
#! $SHELL
 
17806
 
 
17807
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
17808
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 
17809
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
17810
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
17811
#
 
17812
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
17813
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
17814
#   Written by Gordon Matzigkeit, 1996
 
17815
#
 
17816
#   This file is part of GNU Libtool.
 
17817
#
 
17818
# GNU Libtool is free software; you can redistribute it and/or
 
17819
# modify it under the terms of the GNU General Public License as
 
17820
# published by the Free Software Foundation; either version 2 of
 
17821
# the License, or (at your option) any later version.
 
17822
#
 
17823
# As a special exception to the GNU General Public License,
 
17824
# if you distribute this file as part of a program or library that
 
17825
# is built using GNU Libtool, you may include this file under the
 
17826
# same distribution terms that you use for the rest of that program.
 
17827
#
 
17828
# GNU Libtool is distributed in the hope that it will be useful,
 
17829
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
17830
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
17831
# GNU General Public License for more details.
 
17832
#
 
17833
# You should have received a copy of the GNU General Public License
 
17834
# along with GNU Libtool; see the file COPYING.  If not, a copy
 
17835
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 
17836
# obtained by writing to the Free Software Foundation, Inc.,
 
17837
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
17838
 
 
17839
 
 
17840
# The names of the tagged configurations supported by this script.
 
17841
available_tags="CXX "
 
17842
 
 
17843
# ### BEGIN LIBTOOL CONFIG
 
17844
 
 
17845
# Which release of libtool.m4 was used?
 
17846
macro_version=$macro_version
 
17847
macro_revision=$macro_revision
 
17848
 
 
17849
# Whether or not to build shared libraries.
 
17850
build_libtool_libs=$enable_shared
 
17851
 
 
17852
# Whether or not to build static libraries.
 
17853
build_old_libs=$enable_static
 
17854
 
 
17855
# What type of objects to build.
 
17856
pic_mode=$pic_mode
 
17857
 
 
17858
# Whether or not to optimize for fast installation.
 
17859
fast_install=$enable_fast_install
 
17860
 
 
17861
# The host system.
 
17862
host_alias=$host_alias
 
17863
host=$host
 
17864
host_os=$host_os
 
17865
 
 
17866
# The build system.
 
17867
build_alias=$build_alias
 
17868
build=$build
 
17869
build_os=$build_os
 
17870
 
 
17871
# A sed program that does not truncate output.
 
17872
SED=$lt_SED
 
17873
 
 
17874
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
17875
Xsed="\$SED -e 1s/^X//"
 
17876
 
 
17877
# A grep program that handles long lines.
 
17878
GREP=$lt_GREP
 
17879
 
 
17880
# An ERE matcher.
 
17881
EGREP=$lt_EGREP
 
17882
 
 
17883
# A literal string matcher.
 
17884
FGREP=$lt_FGREP
 
17885
 
 
17886
# A BSD- or MS-compatible name lister.
 
17887
NM=$lt_NM
 
17888
 
 
17889
# Whether we need soft or hard links.
 
17890
LN_S=$lt_LN_S
 
17891
 
 
17892
# What is the maximum length of a command?
 
17893
max_cmd_len=$max_cmd_len
 
17894
 
 
17895
# Object file suffix (normally "o").
 
17896
objext=$ac_objext
 
17897
 
 
17898
# Executable file suffix (normally "").
 
17899
exeext=$exeext
 
17900
 
 
17901
# whether the shell understands "unset".
 
17902
lt_unset=$lt_unset
 
17903
 
 
17904
# turn spaces into newlines.
 
17905
SP2NL=$lt_lt_SP2NL
 
17906
 
 
17907
# turn newlines into spaces.
 
17908
NL2SP=$lt_lt_NL2SP
 
17909
 
 
17910
# How to create reloadable object files.
 
17911
reload_flag=$lt_reload_flag
 
17912
reload_cmds=$lt_reload_cmds
 
17913
 
 
17914
# An object symbol dumper.
 
17915
OBJDUMP=$lt_OBJDUMP
 
17916
 
 
17917
# Method to check whether dependent libraries are shared objects.
 
17918
deplibs_check_method=$lt_deplibs_check_method
 
17919
 
 
17920
# Command to use when deplibs_check_method == "file_magic".
 
17921
file_magic_cmd=$lt_file_magic_cmd
 
17922
 
 
17923
# The archiver.
 
17924
AR=$lt_AR
 
17925
AR_FLAGS=$lt_AR_FLAGS
 
17926
 
 
17927
# A symbol stripping program.
 
17928
STRIP=$lt_STRIP
 
17929
 
 
17930
# Commands used to install an old-style archive.
 
17931
RANLIB=$lt_RANLIB
 
17932
old_postinstall_cmds=$lt_old_postinstall_cmds
 
17933
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
17934
 
 
17935
# A C compiler.
 
17936
LTCC=$lt_CC
 
17937
 
 
17938
# LTCC compiler flags.
 
17939
LTCFLAGS=$lt_CFLAGS
 
17940
 
 
17941
# Take the output of nm and produce a listing of raw symbols and C names.
 
17942
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
17943
 
 
17944
# Transform the output of nm in a proper C declaration.
 
17945
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
17946
 
 
17947
# Transform the output of nm in a C name address pair.
 
17948
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
17949
 
 
17950
# Transform the output of nm in a C name address pair when lib prefix is needed.
 
17951
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 
17952
 
 
17953
# The name of the directory that contains temporary libtool files.
 
17954
objdir=$objdir
 
17955
 
 
17956
# Shell to use when invoking shell scripts.
 
17957
SHELL=$lt_SHELL
 
17958
 
 
17959
# An echo program that does not interpret backslashes.
 
17960
ECHO=$lt_ECHO
 
17961
 
 
17962
# Used to examine libraries when file_magic_cmd begins with "file".
 
17963
MAGIC_CMD=$MAGIC_CMD
 
17964
 
 
17965
# Must we lock files when doing compilation?
 
17966
need_locks=$lt_need_locks
 
17967
 
 
17968
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 
17969
DSYMUTIL=$lt_DSYMUTIL
 
17970
 
 
17971
# Tool to change global to local symbols on Mac OS X.
 
17972
NMEDIT=$lt_NMEDIT
 
17973
 
 
17974
# Tool to manipulate fat objects and archives on Mac OS X.
 
17975
LIPO=$lt_LIPO
 
17976
 
 
17977
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
 
17978
OTOOL=$lt_OTOOL
 
17979
 
 
17980
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 
17981
OTOOL64=$lt_OTOOL64
 
17982
 
 
17983
# Old archive suffix (normally "a").
 
17984
libext=$libext
 
17985
 
 
17986
# Shared library suffix (normally ".so").
 
17987
shrext_cmds=$lt_shrext_cmds
 
17988
 
 
17989
# The commands to extract the exported symbol list from a shared archive.
 
17990
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
17991
 
 
17992
# Variables whose values should be saved in libtool wrapper scripts and
 
17993
# restored at link time.
 
17994
variables_saved_for_relink=$lt_variables_saved_for_relink
 
17995
 
 
17996
# Do we need the "lib" prefix for modules?
 
17997
need_lib_prefix=$need_lib_prefix
 
17998
 
 
17999
# Do we need a version for libraries?
 
18000
need_version=$need_version
 
18001
 
 
18002
# Library versioning type.
 
18003
version_type=$version_type
 
18004
 
 
18005
# Shared library runtime path variable.
 
18006
runpath_var=$runpath_var
 
18007
 
 
18008
# Shared library path variable.
 
18009
shlibpath_var=$shlibpath_var
 
18010
 
 
18011
# Is shlibpath searched before the hard-coded library search path?
 
18012
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
18013
 
 
18014
# Format of library name prefix.
 
18015
libname_spec=$lt_libname_spec
 
18016
 
 
18017
# List of archive names.  First name is the real one, the rest are links.
 
18018
# The last name is the one that the linker finds with -lNAME
 
18019
library_names_spec=$lt_library_names_spec
 
18020
 
 
18021
# The coded name of the library, if different from the real name.
 
18022
soname_spec=$lt_soname_spec
 
18023
 
 
18024
# Command to use after installation of a shared archive.
 
18025
postinstall_cmds=$lt_postinstall_cmds
 
18026
 
 
18027
# Command to use after uninstallation of a shared archive.
 
18028
postuninstall_cmds=$lt_postuninstall_cmds
 
18029
 
 
18030
# Commands used to finish a libtool library installation in a directory.
 
18031
finish_cmds=$lt_finish_cmds
 
18032
 
 
18033
# As "finish_cmds", except a single script fragment to be evaled but
 
18034
# not shown.
 
18035
finish_eval=$lt_finish_eval
 
18036
 
 
18037
# Whether we should hardcode library paths into libraries.
 
18038
hardcode_into_libs=$hardcode_into_libs
 
18039
 
 
18040
# Compile-time system search path for libraries.
 
18041
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
18042
 
 
18043
# Run-time system search path for libraries.
 
18044
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
18045
 
 
18046
# Whether dlopen is supported.
 
18047
dlopen_support=$enable_dlopen
 
18048
 
 
18049
# Whether dlopen of programs is supported.
 
18050
dlopen_self=$enable_dlopen_self
 
18051
 
 
18052
# Whether dlopen of statically linked programs is supported.
 
18053
dlopen_self_static=$enable_dlopen_self_static
 
18054
 
 
18055
# Commands to strip libraries.
 
18056
old_striplib=$lt_old_striplib
 
18057
striplib=$lt_striplib
 
18058
 
 
18059
 
 
18060
# The linker used to build libraries.
 
18061
LD=$lt_LD
 
18062
 
 
18063
# Commands used to build an old-style archive.
 
18064
old_archive_cmds=$lt_old_archive_cmds
 
18065
 
 
18066
# A language specific compiler.
 
18067
CC=$lt_compiler
 
18068
 
 
18069
# Is the compiler the GNU compiler?
 
18070
with_gcc=$GCC
 
18071
 
 
18072
# Compiler flag to turn off builtin functions.
 
18073
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 
18074
 
 
18075
# How to pass a linker flag through the compiler.
 
18076
wl=$lt_lt_prog_compiler_wl
 
18077
 
 
18078
# Additional compiler flags for building library objects.
 
18079
pic_flag=$lt_lt_prog_compiler_pic
 
18080
 
 
18081
# Compiler flag to prevent dynamic linking.
 
18082
link_static_flag=$lt_lt_prog_compiler_static
 
18083
 
 
18084
# Does compiler simultaneously support -c and -o options?
 
18085
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 
18086
 
 
18087
# Whether or not to add -lc for building shared libraries.
 
18088
build_libtool_need_lc=$archive_cmds_need_lc
 
18089
 
 
18090
# Whether or not to disallow shared libs when runtime libs are static.
 
18091
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 
18092
 
 
18093
# Compiler flag to allow reflexive dlopens.
 
18094
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 
18095
 
 
18096
# Compiler flag to generate shared objects directly from archives.
 
18097
whole_archive_flag_spec=$lt_whole_archive_flag_spec
 
18098
 
 
18099
# Whether the compiler copes with passing no objects directly.
 
18100
compiler_needs_object=$lt_compiler_needs_object
 
18101
 
 
18102
# Create an old-style archive from a shared archive.
 
18103
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 
18104
 
 
18105
# Create a temporary old-style archive to link instead of a shared archive.
 
18106
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 
18107
 
 
18108
# Commands used to build a shared archive.
 
18109
archive_cmds=$lt_archive_cmds
 
18110
archive_expsym_cmds=$lt_archive_expsym_cmds
 
18111
 
 
18112
# Commands used to build a loadable module if different from building
 
18113
# a shared archive.
 
18114
module_cmds=$lt_module_cmds
 
18115
module_expsym_cmds=$lt_module_expsym_cmds
 
18116
 
 
18117
# Whether we are building with GNU ld or not.
 
18118
with_gnu_ld=$lt_with_gnu_ld
 
18119
 
 
18120
# Flag that allows shared libraries with undefined symbols to be built.
 
18121
allow_undefined_flag=$lt_allow_undefined_flag
 
18122
 
 
18123
# Flag that enforces no undefined symbols.
 
18124
no_undefined_flag=$lt_no_undefined_flag
 
18125
 
 
18126
# Flag to hardcode \$libdir into a binary during linking.
 
18127
# This must work even if \$libdir does not exist
 
18128
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
18129
 
 
18130
# If ld is used when linking, flag to hardcode \$libdir into a binary
 
18131
# during linking.  This must work even if \$libdir does not exist.
 
18132
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
 
18133
 
 
18134
# Whether we need a single "-rpath" flag with a separated argument.
 
18135
hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
18136
 
 
18137
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
18138
# DIR into the resulting binary.
 
18139
hardcode_direct=$hardcode_direct
 
18140
 
 
18141
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
18142
# DIR into the resulting binary and the resulting library dependency is
 
18143
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
18144
# library is relocated.
 
18145
hardcode_direct_absolute=$hardcode_direct_absolute
 
18146
 
 
18147
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
18148
# into the resulting binary.
 
18149
hardcode_minus_L=$hardcode_minus_L
 
18150
 
 
18151
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
18152
# into the resulting binary.
 
18153
hardcode_shlibpath_var=$hardcode_shlibpath_var
 
18154
 
 
18155
# Set to "yes" if building a shared library automatically hardcodes DIR
 
18156
# into the library and all subsequent libraries and executables linked
 
18157
# against it.
 
18158
hardcode_automatic=$hardcode_automatic
 
18159
 
 
18160
# Set to yes if linker adds runtime paths of dependent libraries
 
18161
# to runtime path list.
 
18162
inherit_rpath=$inherit_rpath
 
18163
 
 
18164
# Whether libtool must link a program against all its dependency libraries.
 
18165
link_all_deplibs=$link_all_deplibs
 
18166
 
 
18167
# Fix the shell variable \$srcfile for the compiler.
 
18168
fix_srcfile_path=$lt_fix_srcfile_path
 
18169
 
 
18170
# Set to "yes" if exported symbols are required.
 
18171
always_export_symbols=$always_export_symbols
 
18172
 
 
18173
# The commands to list exported symbols.
 
18174
export_symbols_cmds=$lt_export_symbols_cmds
 
18175
 
 
18176
# Symbols that should not be listed in the preloaded symbols.
 
18177
exclude_expsyms=$lt_exclude_expsyms
 
18178
 
 
18179
# Symbols that must always be exported.
 
18180
include_expsyms=$lt_include_expsyms
 
18181
 
 
18182
# Commands necessary for linking programs (against libraries) with templates.
 
18183
prelink_cmds=$lt_prelink_cmds
 
18184
 
 
18185
# Specify filename containing input files.
 
18186
file_list_spec=$lt_file_list_spec
 
18187
 
 
18188
# How to hardcode a shared library path into an executable.
 
18189
hardcode_action=$hardcode_action
 
18190
 
 
18191
# The directories searched by this compiler when creating a shared library.
 
18192
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
 
18193
 
 
18194
# Dependencies to place before and after the objects being linked to
 
18195
# create a shared library.
 
18196
predep_objects=$lt_predep_objects
 
18197
postdep_objects=$lt_postdep_objects
 
18198
predeps=$lt_predeps
 
18199
postdeps=$lt_postdeps
 
18200
 
 
18201
# The library search path used internally by the compiler when linking
 
18202
# a shared library.
 
18203
compiler_lib_search_path=$lt_compiler_lib_search_path
 
18204
 
 
18205
# ### END LIBTOOL CONFIG
 
18206
 
 
18207
_LT_EOF
 
18208
 
 
18209
  case $host_os in
 
18210
  aix3*)
 
18211
    cat <<\_LT_EOF >> "$cfgfile"
 
18212
# AIX sometimes has problems with the GCC collect2 program.  For some
 
18213
# reason, if we set the COLLECT_NAMES environment variable, the problems
 
18214
# vanish in a puff of smoke.
 
18215
if test "X${COLLECT_NAMES+set}" != Xset; then
 
18216
  COLLECT_NAMES=
 
18217
  export COLLECT_NAMES
 
18218
fi
 
18219
_LT_EOF
 
18220
    ;;
 
18221
  esac
 
18222
 
 
18223
 
 
18224
ltmain="$ac_aux_dir/ltmain.sh"
 
18225
 
 
18226
 
 
18227
  # We use sed instead of cat because bash on DJGPP gets confused if
 
18228
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
18229
  # text mode, it properly converts lines to CR/LF.  This bash problem
 
18230
  # is reportedly fixed, but why not run on old versions too?
 
18231
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
 
18232
    || (rm -f "$cfgfile"; exit 1)
 
18233
 
 
18234
  case $xsi_shell in
 
18235
  yes)
 
18236
    cat << \_LT_EOF >> "$cfgfile"
 
18237
 
 
18238
# func_dirname file append nondir_replacement
 
18239
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
18240
# otherwise set result to NONDIR_REPLACEMENT.
 
18241
func_dirname ()
 
18242
{
 
18243
  case ${1} in
 
18244
    */*) func_dirname_result="${1%/*}${2}" ;;
 
18245
    *  ) func_dirname_result="${3}" ;;
 
18246
  esac
 
18247
}
 
18248
 
 
18249
# func_basename file
 
18250
func_basename ()
 
18251
{
 
18252
  func_basename_result="${1##*/}"
 
18253
}
 
18254
 
 
18255
# func_dirname_and_basename file append nondir_replacement
 
18256
# perform func_basename and func_dirname in a single function
 
18257
# call:
 
18258
#   dirname:  Compute the dirname of FILE.  If nonempty,
 
18259
#             add APPEND to the result, otherwise set result
 
18260
#             to NONDIR_REPLACEMENT.
 
18261
#             value returned in "$func_dirname_result"
 
18262
#   basename: Compute filename of FILE.
 
18263
#             value retuned in "$func_basename_result"
 
18264
# Implementation must be kept synchronized with func_dirname
 
18265
# and func_basename. For efficiency, we do not delegate to
 
18266
# those functions but instead duplicate the functionality here.
 
18267
func_dirname_and_basename ()
 
18268
{
 
18269
  case ${1} in
 
18270
    */*) func_dirname_result="${1%/*}${2}" ;;
 
18271
    *  ) func_dirname_result="${3}" ;;
 
18272
  esac
 
18273
  func_basename_result="${1##*/}"
 
18274
}
 
18275
 
 
18276
# func_stripname prefix suffix name
 
18277
# strip PREFIX and SUFFIX off of NAME.
 
18278
# PREFIX and SUFFIX must not contain globbing or regex special
 
18279
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
18280
# dot (in which case that matches only a dot).
 
18281
func_stripname ()
 
18282
{
 
18283
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
 
18284
  # positional parameters, so assign one to ordinary parameter first.
 
18285
  func_stripname_result=${3}
 
18286
  func_stripname_result=${func_stripname_result#"${1}"}
 
18287
  func_stripname_result=${func_stripname_result%"${2}"}
 
18288
}
 
18289
 
 
18290
# func_opt_split
 
18291
func_opt_split ()
 
18292
{
 
18293
  func_opt_split_opt=${1%%=*}
 
18294
  func_opt_split_arg=${1#*=}
 
18295
}
 
18296
 
 
18297
# func_lo2o object
 
18298
func_lo2o ()
 
18299
{
 
18300
  case ${1} in
 
18301
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
 
18302
    *)    func_lo2o_result=${1} ;;
 
18303
  esac
 
18304
}
 
18305
 
 
18306
# func_xform libobj-or-source
 
18307
func_xform ()
 
18308
{
 
18309
  func_xform_result=${1%.*}.lo
 
18310
}
 
18311
 
 
18312
# func_arith arithmetic-term...
 
18313
func_arith ()
 
18314
{
 
18315
  func_arith_result=$(( $* ))
 
18316
}
 
18317
 
 
18318
# func_len string
 
18319
# STRING may not start with a hyphen.
 
18320
func_len ()
 
18321
{
 
18322
  func_len_result=${#1}
 
18323
}
 
18324
 
 
18325
_LT_EOF
 
18326
    ;;
 
18327
  *) # Bourne compatible functions.
 
18328
    cat << \_LT_EOF >> "$cfgfile"
 
18329
 
 
18330
# func_dirname file append nondir_replacement
 
18331
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
18332
# otherwise set result to NONDIR_REPLACEMENT.
 
18333
func_dirname ()
 
18334
{
 
18335
  # Extract subdirectory from the argument.
 
18336
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
 
18337
  if test "X$func_dirname_result" = "X${1}"; then
 
18338
    func_dirname_result="${3}"
 
18339
  else
 
18340
    func_dirname_result="$func_dirname_result${2}"
 
18341
  fi
 
18342
}
 
18343
 
 
18344
# func_basename file
 
18345
func_basename ()
 
18346
{
 
18347
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
 
18348
}
 
18349
 
 
18350
 
 
18351
# func_stripname prefix suffix name
 
18352
# strip PREFIX and SUFFIX off of NAME.
 
18353
# PREFIX and SUFFIX must not contain globbing or regex special
 
18354
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
18355
# dot (in which case that matches only a dot).
 
18356
# func_strip_suffix prefix name
 
18357
func_stripname ()
 
18358
{
 
18359
  case ${2} in
 
18360
    .*) func_stripname_result=`$ECHO "X${3}" \
 
18361
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
 
18362
    *)  func_stripname_result=`$ECHO "X${3}" \
 
18363
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
 
18364
  esac
 
18365
}
 
18366
 
 
18367
# sed scripts:
 
18368
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
 
18369
my_sed_long_arg='1s/^-[^=]*=//'
 
18370
 
 
18371
# func_opt_split
 
18372
func_opt_split ()
 
18373
{
 
18374
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
 
18375
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
 
18376
}
 
18377
 
 
18378
# func_lo2o object
 
18379
func_lo2o ()
 
18380
{
 
18381
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
 
18382
}
 
18383
 
 
18384
# func_xform libobj-or-source
 
18385
func_xform ()
 
18386
{
 
18387
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
 
18388
}
 
18389
 
 
18390
# func_arith arithmetic-term...
 
18391
func_arith ()
 
18392
{
 
18393
  func_arith_result=`expr "$@"`
 
18394
}
 
18395
 
 
18396
# func_len string
 
18397
# STRING may not start with a hyphen.
 
18398
func_len ()
 
18399
{
 
18400
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
 
18401
}
 
18402
 
 
18403
_LT_EOF
 
18404
esac
 
18405
 
 
18406
case $lt_shell_append in
 
18407
  yes)
 
18408
    cat << \_LT_EOF >> "$cfgfile"
 
18409
 
 
18410
# func_append var value
 
18411
# Append VALUE to the end of shell variable VAR.
 
18412
func_append ()
 
18413
{
 
18414
  eval "$1+=\$2"
 
18415
}
 
18416
_LT_EOF
 
18417
    ;;
 
18418
  *)
 
18419
    cat << \_LT_EOF >> "$cfgfile"
 
18420
 
 
18421
# func_append var value
 
18422
# Append VALUE to the end of shell variable VAR.
 
18423
func_append ()
 
18424
{
 
18425
  eval "$1=\$$1\$2"
 
18426
}
 
18427
 
 
18428
_LT_EOF
 
18429
    ;;
 
18430
  esac
 
18431
 
 
18432
 
 
18433
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
 
18434
    || (rm -f "$cfgfile"; exit 1)
 
18435
 
 
18436
  mv -f "$cfgfile" "$ofile" ||
 
18437
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
18438
  chmod +x "$ofile"
 
18439
 
 
18440
 
 
18441
    cat <<_LT_EOF >> "$ofile"
 
18442
 
 
18443
# ### BEGIN LIBTOOL TAG CONFIG: CXX
 
18444
 
 
18445
# The linker used to build libraries.
 
18446
LD=$lt_LD_CXX
 
18447
 
 
18448
# Commands used to build an old-style archive.
 
18449
old_archive_cmds=$lt_old_archive_cmds_CXX
 
18450
 
 
18451
# A language specific compiler.
 
18452
CC=$lt_compiler_CXX
 
18453
 
 
18454
# Is the compiler the GNU compiler?
 
18455
with_gcc=$GCC_CXX
 
18456
 
 
18457
# Compiler flag to turn off builtin functions.
 
18458
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
 
18459
 
 
18460
# How to pass a linker flag through the compiler.
 
18461
wl=$lt_lt_prog_compiler_wl_CXX
 
18462
 
 
18463
# Additional compiler flags for building library objects.
 
18464
pic_flag=$lt_lt_prog_compiler_pic_CXX
 
18465
 
 
18466
# Compiler flag to prevent dynamic linking.
 
18467
link_static_flag=$lt_lt_prog_compiler_static_CXX
 
18468
 
 
18469
# Does compiler simultaneously support -c and -o options?
 
18470
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
 
18471
 
 
18472
# Whether or not to add -lc for building shared libraries.
 
18473
build_libtool_need_lc=$archive_cmds_need_lc_CXX
 
18474
 
 
18475
# Whether or not to disallow shared libs when runtime libs are static.
 
18476
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
 
18477
 
 
18478
# Compiler flag to allow reflexive dlopens.
 
18479
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
 
18480
 
 
18481
# Compiler flag to generate shared objects directly from archives.
 
18482
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
 
18483
 
 
18484
# Whether the compiler copes with passing no objects directly.
 
18485
compiler_needs_object=$lt_compiler_needs_object_CXX
 
18486
 
 
18487
# Create an old-style archive from a shared archive.
 
18488
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
 
18489
 
 
18490
# Create a temporary old-style archive to link instead of a shared archive.
 
18491
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
 
18492
 
 
18493
# Commands used to build a shared archive.
 
18494
archive_cmds=$lt_archive_cmds_CXX
 
18495
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
 
18496
 
 
18497
# Commands used to build a loadable module if different from building
 
18498
# a shared archive.
 
18499
module_cmds=$lt_module_cmds_CXX
 
18500
module_expsym_cmds=$lt_module_expsym_cmds_CXX
 
18501
 
 
18502
# Whether we are building with GNU ld or not.
 
18503
with_gnu_ld=$lt_with_gnu_ld_CXX
 
18504
 
 
18505
# Flag that allows shared libraries with undefined symbols to be built.
 
18506
allow_undefined_flag=$lt_allow_undefined_flag_CXX
 
18507
 
 
18508
# Flag that enforces no undefined symbols.
 
18509
no_undefined_flag=$lt_no_undefined_flag_CXX
 
18510
 
 
18511
# Flag to hardcode \$libdir into a binary during linking.
 
18512
# This must work even if \$libdir does not exist
 
18513
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
 
18514
 
 
18515
# If ld is used when linking, flag to hardcode \$libdir into a binary
 
18516
# during linking.  This must work even if \$libdir does not exist.
 
18517
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
 
18518
 
 
18519
# Whether we need a single "-rpath" flag with a separated argument.
 
18520
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
 
18521
 
 
18522
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
18523
# DIR into the resulting binary.
 
18524
hardcode_direct=$hardcode_direct_CXX
 
18525
 
 
18526
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
18527
# DIR into the resulting binary and the resulting library dependency is
 
18528
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
18529
# library is relocated.
 
18530
hardcode_direct_absolute=$hardcode_direct_absolute_CXX
 
18531
 
 
18532
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
18533
# into the resulting binary.
 
18534
hardcode_minus_L=$hardcode_minus_L_CXX
 
18535
 
 
18536
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
18537
# into the resulting binary.
 
18538
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
 
18539
 
 
18540
# Set to "yes" if building a shared library automatically hardcodes DIR
 
18541
# into the library and all subsequent libraries and executables linked
 
18542
# against it.
 
18543
hardcode_automatic=$hardcode_automatic_CXX
 
18544
 
 
18545
# Set to yes if linker adds runtime paths of dependent libraries
 
18546
# to runtime path list.
 
18547
inherit_rpath=$inherit_rpath_CXX
 
18548
 
 
18549
# Whether libtool must link a program against all its dependency libraries.
 
18550
link_all_deplibs=$link_all_deplibs_CXX
 
18551
 
 
18552
# Fix the shell variable \$srcfile for the compiler.
 
18553
fix_srcfile_path=$lt_fix_srcfile_path_CXX
 
18554
 
 
18555
# Set to "yes" if exported symbols are required.
 
18556
always_export_symbols=$always_export_symbols_CXX
 
18557
 
 
18558
# The commands to list exported symbols.
 
18559
export_symbols_cmds=$lt_export_symbols_cmds_CXX
 
18560
 
 
18561
# Symbols that should not be listed in the preloaded symbols.
 
18562
exclude_expsyms=$lt_exclude_expsyms_CXX
 
18563
 
 
18564
# Symbols that must always be exported.
 
18565
include_expsyms=$lt_include_expsyms_CXX
 
18566
 
 
18567
# Commands necessary for linking programs (against libraries) with templates.
 
18568
prelink_cmds=$lt_prelink_cmds_CXX
 
18569
 
 
18570
# Specify filename containing input files.
 
18571
file_list_spec=$lt_file_list_spec_CXX
 
18572
 
 
18573
# How to hardcode a shared library path into an executable.
 
18574
hardcode_action=$hardcode_action_CXX
 
18575
 
 
18576
# The directories searched by this compiler when creating a shared library.
 
18577
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
 
18578
 
 
18579
# Dependencies to place before and after the objects being linked to
 
18580
# create a shared library.
 
18581
predep_objects=$lt_predep_objects_CXX
 
18582
postdep_objects=$lt_postdep_objects_CXX
 
18583
predeps=$lt_predeps_CXX
 
18584
postdeps=$lt_postdeps_CXX
 
18585
 
 
18586
# The library search path used internally by the compiler when linking
 
18587
# a shared library.
 
18588
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
 
18589
 
 
18590
# ### END LIBTOOL TAG CONFIG: CXX
 
18591
_LT_EOF
 
18592
 
 
18593
 ;;
 
18594
    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
 
18595
        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
 
18596
      esac ;;
 
18597
    "po/stamp-it":C)
 
18598
    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
 
18599
       as_fn_error "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
 
18600
    fi
 
18601
    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
 
18602
    >"po/stamp-it.tmp"
 
18603
    sed '/^#/d
 
18604
         s/^[[].*] *//
 
18605
         /^[    ]*$/d
 
18606
        '"s|^|  $ac_top_srcdir/|" \
 
18607
      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
 
18608
 
 
18609
    sed '/^POTFILES =/,/[^\\]$/ {
 
18610
                /^POTFILES =/!d
 
18611
                r po/POTFILES
 
18612
          }
 
18613
         ' "po/Makefile.in" >"po/Makefile"
 
18614
    rm -f "po/Makefile.tmp"
 
18615
    mv "po/stamp-it.tmp" "po/stamp-it"
 
18616
   ;;
 
18617
 
 
18618
  esac
 
18619
done # for ac_tag
 
18620
 
 
18621
 
 
18622
as_fn_exit 0
 
18623
_ACEOF
 
18624
ac_clean_files=$ac_clean_files_save
 
18625
 
 
18626
test $ac_write_fail = 0 ||
 
18627
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
18628
 
 
18629
 
 
18630
# configure is writing to config.log, and then calls config.status.
 
18631
# config.status does its own redirection, appending to config.log.
 
18632
# Unfortunately, on DOS this fails, as config.log is still kept open
 
18633
# by configure, so config.status won't be able to write to it; its
 
18634
# output is simply discarded.  So we exec the FD to /dev/null,
 
18635
# effectively closing config.log, so it can be properly (re)opened and
 
18636
# appended to by config.status.  When coming back to configure, we
 
18637
# need to make the FD available again.
 
18638
if test "$no_create" != yes; then
 
18639
  ac_cs_success=:
 
18640
  ac_config_status_args=
 
18641
  test "$silent" = yes &&
 
18642
    ac_config_status_args="$ac_config_status_args --quiet"
 
18643
  exec 5>/dev/null
 
18644
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 
18645
  exec 5>>config.log
 
18646
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 
18647
  # would make configure fail if this is the last instruction.
 
18648
  $ac_cs_success || as_fn_exit $?
 
18649
fi
 
18650
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
18651
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
18652
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 
18653
fi
 
18654
 
 
18655