2
# Guess values for system-dependent variables and create Makefiles.
 
 
3
# Generated by GNU Autoconf 2.64 for sqlite3cc 0.1.0.
 
 
5
# Report bugs to <edam@waxworlds.org>.
 
 
7
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
 
8
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
 
 
11
# This configure script is free software; the Free Software Foundation
 
 
12
# gives unlimited permission to copy, distribute and modify it.
 
 
13
## -------------------- ##
 
 
14
## M4sh Initialization. ##
 
 
15
## -------------------- ##
 
 
17
# Be more Bourne compatible
 
 
18
DUALCASE=1; export DUALCASE # for MKS sh
 
 
19
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 
 
22
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
 
23
  # is contrary to our usage.  Disable this feature.
 
 
24
  alias -g '${1+"$@"}'='"$@"'
 
 
27
  case `(set -o) 2>/dev/null` in #(
 
 
39
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
 
40
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
 
41
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
 
42
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
 
43
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
 
44
# but without wasting forks for bash or zsh.
 
 
45
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
 
46
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
 
48
  as_echo_n='print -rn --'
 
 
49
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
 
53
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
 
54
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
 
55
    as_echo_n='/usr/ucb/echo -n'
 
 
57
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
 
62
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
 
63
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
 
65
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
 
68
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
 
71
  as_echo='sh -c $as_echo_body as_echo'
 
 
74
# The user is always right.
 
 
75
if test "${PATH_SEPARATOR+set}" != set; then
 
 
77
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
 
78
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
 
85
# We need space, tab and new line, in precisely that order.  Quoting is
 
 
86
# there to prevent editors from complaining about space-tab.
 
 
87
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
 
88
# splitting by setting IFS to empty value.)
 
 
91
# Find who we are.  Look in the path if we contain no directory separator.
 
 
93
  *[\\/]* ) as_myself=$0 ;;
 
 
94
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
98
  test -z "$as_dir" && as_dir=.
 
 
99
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
 
105
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
 
106
# in which case we are not to be found in the path.
 
 
107
if test "x$as_myself" = x; then
 
 
110
if test ! -f "$as_myself"; then
 
 
111
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
 
115
# Unset variables that we do not need and which cause bugs (e.g. in
 
 
116
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
 
117
# suppresses any "Segmentation fault" message there.  '((' could
 
 
118
# trigger a bug in pdksh 5.2.14.
 
 
119
for as_var in BASH_ENV ENV MAIL MAILPATH
 
 
120
do eval test x\${$as_var+set} = xset \
 
 
121
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 
 
134
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
 
136
if test "x$CONFIG_SHELL" = x; then
 
 
137
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
 
140
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
 
141
  # is contrary to our usage.  Disable this feature.
 
 
142
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
 
145
  case \`(set -o) 2>/dev/null\` in #(
 
 
153
  as_required="as_fn_return () { (exit \$1); }
 
 
154
as_fn_success () { as_fn_return 0; }
 
 
155
as_fn_failure () { as_fn_return 1; }
 
 
156
as_fn_ret_success () { return 0; }
 
 
157
as_fn_ret_failure () { return 1; }
 
 
160
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
 
161
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
 
162
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
 
163
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
 
164
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
 
167
  exitcode=1; echo positional parameters were not saved.
 
 
169
test x\$exitcode = x0 || exit 1"
 
 
170
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
 
171
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
 
172
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
 
173
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
 
174
test \$(( 1 + 1 )) = 2 || exit 1"
 
 
175
  if (eval "$as_required") 2>/dev/null; then :
 
 
180
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
 
183
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
185
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
 
188
  test -z "$as_dir" && as_dir=.
 
 
192
           for as_base in sh bash ksh sh5; do
 
 
193
             # Try only shells that exist, to save several forks.
 
 
194
             as_shell=$as_dir/$as_base
 
 
195
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
 
196
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
 
197
  CONFIG_SHELL=$as_shell as_have_required=yes
 
 
198
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
 
206
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
 
207
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
 
208
  CONFIG_SHELL=$SHELL as_have_required=yes
 
 
213
      if test "x$CONFIG_SHELL" != x; then :
 
 
214
  # We cannot yet assume a decent shell, so we have to provide a
 
 
215
        # neutralization value for shells without unset; and this also
 
 
216
        # works around shells that cannot unset nonexistent variables.
 
 
219
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
 
221
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
 
224
    if test x$as_have_required = xno; then :
 
 
225
  $as_echo "$0: This script requires a shell more modern than all"
 
 
226
  $as_echo "$0: the shells that I found on your system."
 
 
227
  if test x${ZSH_VERSION+set} = xset ; then
 
 
228
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
 
229
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 
 
231
    $as_echo "$0: Please tell bug-autoconf@gnu.org and edam@waxworlds.org
 
 
232
$0: about your system, including any error possibly output
 
 
233
$0: before this message. Then install a modern shell, or
 
 
234
$0: manually run the script under such a shell if you do
 
 
241
SHELL=${CONFIG_SHELL-/bin/sh}
 
 
243
# Unset more variables known to interfere with behavior of common tools.
 
 
244
CLICOLOR_FORCE= GREP_OPTIONS=
 
 
245
unset CLICOLOR_FORCE GREP_OPTIONS
 
 
247
## --------------------- ##
 
 
248
## M4sh Shell Functions. ##
 
 
249
## --------------------- ##
 
 
252
# Portably unset VAR.
 
 
255
  { eval $1=; unset $1;}
 
 
259
# as_fn_set_status STATUS
 
 
260
# -----------------------
 
 
261
# Set $? to STATUS, without forking.
 
 
269
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
 
279
# Create "$as_dir" as a directory, including parents if necessary.
 
 
284
  -*) as_dir=./$as_dir;;
 
 
286
  test -d "$as_dir" || eval $as_mkdir_p || {
 
 
290
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
 
293
      as_dirs="'$as_qdir' $as_dirs"
 
 
294
      as_dir=`$as_dirname -- "$as_dir" ||
 
 
295
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
 
296
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
 
297
         X"$as_dir" : 'X\(//\)$' \| \
 
 
298
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
 
299
$as_echo X"$as_dir" |
 
 
300
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
 
317
      test -d "$as_dir" && break
 
 
319
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
 
320
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
 
324
# as_fn_append VAR VALUE
 
 
325
# ----------------------
 
 
326
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
 
327
# advantage of any shell optimizations that allow amortized linear growth over
 
 
328
# repeated appends, instead of the typical quadratic growth present in naive
 
 
330
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
 
331
  eval 'as_fn_append ()
 
 
344
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
 
345
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
 
346
# must be portable across $(()) and expr.
 
 
347
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
 
355
    as_val=`expr "$@" || test $? -eq 1`
 
 
360
# as_fn_error ERROR [LINENO LOG_FD]
 
 
361
# ---------------------------------
 
 
362
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
 
363
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
 
364
# script with status $?, using 1 if that was 0.
 
 
367
  as_status=$?; test $as_status -eq 0 && as_status=1
 
 
369
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
 
370
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
 
372
  $as_echo "$as_me: error: $1" >&2
 
 
373
  as_fn_exit $as_status
 
 
376
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
 
377
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
 
383
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
 
389
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
 
395
as_me=`$as_basename -- "$0" ||
 
 
396
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
 
397
         X"$0" : 'X\(//\)$' \| \
 
 
398
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
 
400
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
 
414
# Avoid depending upon Character Ranges.
 
 
415
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
 
416
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
 
417
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
 
418
as_cr_digits='0123456789'
 
 
419
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
 
422
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
 
423
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
 
424
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
 
425
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
 
426
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
 
 
438
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 
 
442
  chmod +x "$as_me.lineno" ||
 
 
443
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
 
 
445
  # Don't try to exec as it changes $[0], causing all sort of problems
 
 
446
  # (the dirname of $[0] is not the place where we might find the
 
 
447
  # original and so on.  Autoconf is especially sensitive to this).
 
 
449
  # Exit status is that of the last command.
 
 
453
ECHO_C= ECHO_N= ECHO_T=
 
 
454
case `echo -n x` in #(((((
 
 
456
  case `echo 'xy\c'` in
 
 
457
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
 
459
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
 
466
rm -f conf$$ conf$$.exe conf$$.file
 
 
467
if test -d conf$$.dir; then
 
 
468
  rm -f conf$$.dir/conf$$.file
 
 
471
  mkdir conf$$.dir 2>/dev/null
 
 
473
if (echo >conf$$.file) 2>/dev/null; then
 
 
474
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
 
476
    # ... but there are two gotchas:
 
 
477
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
 
478
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
 
479
    # In both cases, we have to default to `cp -p'.
 
 
480
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
 
482
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
 
490
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
 
491
rmdir conf$$.dir 2>/dev/null
 
 
493
if mkdir -p . 2>/dev/null; then
 
 
494
  as_mkdir_p='mkdir -p "$as_dir"'
 
 
496
  test -d ./-p && rmdir ./-p
 
 
500
if test -x / >/dev/null 2>&1; then
 
 
503
  if ls -dL / >/dev/null 2>&1; then
 
 
510
      if test -d "$1"; then
 
 
516
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 
 
517
        ???[sx]*):;;*)false;;esac;fi
 
 
521
as_executable_p=$as_test_x
 
 
523
# Sed expression to map a string onto a valid CPP name.
 
 
524
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
 
526
# Sed expression to map a string onto a valid variable name.
 
 
527
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
 
531
# Check that we are running under the correct shell.
 
 
532
SHELL=${CONFIG_SHELL-/bin/sh}
 
 
536
  # Remove one level of quotation (which was required for Make).
 
 
537
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
 
 
542
if test "X$1" = X--no-reexec; then
 
 
543
  # Discard the --no-reexec flag, and continue.
 
 
545
elif test "X$1" = X--fallback-echo; then
 
 
546
  # Avoid inline document here, it may be left over
 
 
548
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
 
 
549
  # Yippee, $ECHO works!
 
 
552
  # Restart under the correct shell.
 
 
553
  exec $SHELL "$0" --no-reexec ${1+"$@"}
 
 
556
if test "X$1" = X--fallback-echo; then
 
 
557
  # used as fallback echo
 
 
565
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
 
567
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
 
569
if test -z "$lt_ECHO"; then
 
 
570
  if test "X${echo_test_string+set}" != Xset; then
 
 
571
    # find a string as large as possible, as long as the shell can cope with it
 
 
572
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
 
 
573
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
 
 
574
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
 
 
575
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
 
 
582
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
 
583
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
 
584
     test "X$echo_testing_string" = "X$echo_test_string"; then
 
 
587
    # The Solaris, AIX, and Digital Unix default echo programs unquote
 
 
588
    # backslashes.  This makes it impossible to quote backslashes using
 
 
589
    #   echo "$something" | sed 's/\\/\\\\/g'
 
 
591
    # So, first we look for a working echo in the user's PATH.
 
 
593
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
 
594
    for dir in $PATH /usr/ucb; do
 
 
596
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
 
 
597
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
 
 
598
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
 
 
599
         test "X$echo_testing_string" = "X$echo_test_string"; then
 
 
606
    if test "X$ECHO" = Xecho; then
 
 
607
      # We didn't find a better echo, so look for alternatives.
 
 
608
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
 
 
609
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
 
 
610
         test "X$echo_testing_string" = "X$echo_test_string"; then
 
 
611
        # This shell has a builtin print -r that does the trick.
 
 
613
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
 
 
614
           test "X$CONFIG_SHELL" != X/bin/ksh; then
 
 
615
        # If we have ksh, try running configure again with it.
 
 
616
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
 
 
617
        export ORIGINAL_CONFIG_SHELL
 
 
618
        CONFIG_SHELL=/bin/ksh
 
 
620
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
 
 
624
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
 
625
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
 
626
           test "X$echo_testing_string" = "X$echo_test_string"; then
 
 
629
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 
 
630
             test "X$echo_testing_string" = 'X\t' &&
 
 
631
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
 
632
             test "X$echo_testing_string" = "X$echo_test_string"; then
 
 
633
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
 
 
635
          SHELL="$CONFIG_SHELL"
 
 
637
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
 
 
638
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 
 
639
             test "X$echo_testing_string" = 'X\t' &&
 
 
640
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
 
641
             test "X$echo_testing_string" = "X$echo_test_string"; then
 
 
642
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
 
 
644
          # maybe with a smaller string...
 
 
647
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
 
 
648
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
 
 
655
          if test "$prev" != 'sed 50q "$0"'; then
 
 
656
            echo_test_string=`eval $prev`
 
 
657
            export echo_test_string
 
 
658
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
 
 
660
            # Oops.  We lost completely, so just stick with echo.
 
 
669
# Copy echo and quote the copy suitably for passing to libtool from
 
 
670
# the Makefile, instead of quoting the original, which is used later.
 
 
672
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
 
 
673
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
 
 
679
exec 7<&0 </dev/null 6>&1
 
 
682
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
 
683
# so uname gets run too.
 
 
684
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
 
 
689
ac_default_prefix=/usr/local
 
 
691
ac_config_libobj_dir=.
 
 
698
# Identity of this package.
 
 
699
PACKAGE_NAME='sqlite3cc'
 
 
700
PACKAGE_TARNAME='sqlite3cc'
 
 
701
PACKAGE_VERSION='0.1.0'
 
 
702
PACKAGE_STRING='sqlite3cc 0.1.0'
 
 
703
PACKAGE_BUGREPORT='edam@waxworlds.org'
 
 
706
ac_unique_file="src/database.cc"
 
 
707
# Factoring default headers for most tests.
 
 
708
ac_includes_default="\
 
 
710
#ifdef HAVE_SYS_TYPES_H
 
 
711
# include <sys/types.h>
 
 
713
#ifdef HAVE_SYS_STAT_H
 
 
714
# include <sys/stat.h>
 
 
720
# ifdef HAVE_STDLIB_H
 
 
725
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
 
 
730
#ifdef HAVE_STRINGS_H
 
 
731
# include <strings.h>
 
 
733
#ifdef HAVE_INTTYPES_H
 
 
734
# include <inttypes.h>
 
 
743
ac_subst_vars='am__EXEEXT_FALSE
 
 
806
INSTALL_STRIP_PROGRAM
 
 
848
program_transform_name
 
 
861
enable_option_checking
 
 
862
enable_dependency_tracking
 
 
870
      ac_precious_vars='build_alias
 
 
885
# Initialize some variables set by options.
 
 
887
ac_init_version=false
 
 
888
ac_unrecognized_opts=
 
 
890
# The variables have the same names as the options, with
 
 
891
# dashes changed to underlines.
 
 
899
program_transform_name=s,x,x,
 
 
907
# Installation directory options.
 
 
908
# These are left unexpanded so users can "make install exec_prefix=/foo"
 
 
909
# and all the variables that are supposed to be based on exec_prefix
 
 
910
# by default will actually change.
 
 
911
# Use braces instead of parens because sh, perl, etc. also accept them.
 
 
912
# (The list follows the same order as the GNU Coding Standards.)
 
 
913
bindir='${exec_prefix}/bin'
 
 
914
sbindir='${exec_prefix}/sbin'
 
 
915
libexecdir='${exec_prefix}/libexec'
 
 
916
datarootdir='${prefix}/share'
 
 
917
datadir='${datarootdir}'
 
 
918
sysconfdir='${prefix}/etc'
 
 
919
sharedstatedir='${prefix}/com'
 
 
920
localstatedir='${prefix}/var'
 
 
921
includedir='${prefix}/include'
 
 
922
oldincludedir='/usr/include'
 
 
923
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 
 
924
infodir='${datarootdir}/info'
 
 
929
libdir='${exec_prefix}/lib'
 
 
930
localedir='${datarootdir}/locale'
 
 
931
mandir='${datarootdir}/man'
 
 
937
  # If the previous option needs an argument, assign it.
 
 
938
  if test -n "$ac_prev"; then
 
 
939
    eval $ac_prev=\$ac_option
 
 
945
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
 
949
  # Accept the important Cygnus configure options, so we can diagnose typos.
 
 
951
  case $ac_dashdash$ac_option in
 
 
955
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
 
 
957
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
 
 
960
  -build | --build | --buil | --bui | --bu)
 
 
961
    ac_prev=build_alias ;;
 
 
962
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
 
 
963
    build_alias=$ac_optarg ;;
 
 
965
  -cache-file | --cache-file | --cache-fil | --cache-fi \
 
 
966
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
 
 
967
    ac_prev=cache_file ;;
 
 
968
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
 
 
969
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
 
 
970
    cache_file=$ac_optarg ;;
 
 
973
    cache_file=config.cache ;;
 
 
975
  -datadir | --datadir | --datadi | --datad)
 
 
977
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
 
 
978
    datadir=$ac_optarg ;;
 
 
980
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
 
981
  | --dataroo | --dataro | --datar)
 
 
982
    ac_prev=datarootdir ;;
 
 
983
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
 
984
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
 
985
    datarootdir=$ac_optarg ;;
 
 
987
  -disable-* | --disable-*)
 
 
988
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
 
989
    # Reject names that are not valid shell variable names.
 
 
990
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
 
991
      as_fn_error "invalid feature name: $ac_useropt"
 
 
992
    ac_useropt_orig=$ac_useropt
 
 
993
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
 
994
    case $ac_user_opts in
 
 
998
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
 
999
         ac_unrecognized_sep=', ';;
 
 
1001
    eval enable_$ac_useropt=no ;;
 
 
1003
  -docdir | --docdir | --docdi | --doc | --do)
 
 
1005
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
 
1006
    docdir=$ac_optarg ;;
 
 
1008
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
 
1010
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
 
1011
    dvidir=$ac_optarg ;;
 
 
1013
  -enable-* | --enable-*)
 
 
1014
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
 
1015
    # Reject names that are not valid shell variable names.
 
 
1016
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
 
1017
      as_fn_error "invalid feature name: $ac_useropt"
 
 
1018
    ac_useropt_orig=$ac_useropt
 
 
1019
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
 
1020
    case $ac_user_opts in
 
 
1022
"enable_$ac_useropt"
 
 
1024
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
 
1025
         ac_unrecognized_sep=', ';;
 
 
1027
    eval enable_$ac_useropt=\$ac_optarg ;;
 
 
1029
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 
 
1030
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 
 
1031
  | --exec | --exe | --ex)
 
 
1032
    ac_prev=exec_prefix ;;
 
 
1033
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 
 
1034
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 
 
1035
  | --exec=* | --exe=* | --ex=*)
 
 
1036
    exec_prefix=$ac_optarg ;;
 
 
1038
  -gas | --gas | --ga | --g)
 
 
1039
    # Obsolete; use --with-gas.
 
 
1042
  -help | --help | --hel | --he | -h)
 
 
1043
    ac_init_help=long ;;
 
 
1044
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
 
 
1045
    ac_init_help=recursive ;;
 
 
1046
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
 
 
1047
    ac_init_help=short ;;
 
 
1049
  -host | --host | --hos | --ho)
 
 
1050
    ac_prev=host_alias ;;
 
 
1051
  -host=* | --host=* | --hos=* | --ho=*)
 
 
1052
    host_alias=$ac_optarg ;;
 
 
1054
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
 
1056
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
 
1058
    htmldir=$ac_optarg ;;
 
 
1060
  -includedir | --includedir | --includedi | --included | --include \
 
 
1061
  | --includ | --inclu | --incl | --inc)
 
 
1062
    ac_prev=includedir ;;
 
 
1063
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 
 
1064
  | --includ=* | --inclu=* | --incl=* | --inc=*)
 
 
1065
    includedir=$ac_optarg ;;
 
 
1067
  -infodir | --infodir | --infodi | --infod | --info | --inf)
 
 
1069
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 
 
1070
    infodir=$ac_optarg ;;
 
 
1072
  -libdir | --libdir | --libdi | --libd)
 
 
1074
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
 
 
1075
    libdir=$ac_optarg ;;
 
 
1077
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 
 
1078
  | --libexe | --libex | --libe)
 
 
1079
    ac_prev=libexecdir ;;
 
 
1080
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 
 
1081
  | --libexe=* | --libex=* | --libe=*)
 
 
1082
    libexecdir=$ac_optarg ;;
 
 
1084
  -localedir | --localedir | --localedi | --localed | --locale)
 
 
1085
    ac_prev=localedir ;;
 
 
1086
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
 
1087
    localedir=$ac_optarg ;;
 
 
1089
  -localstatedir | --localstatedir | --localstatedi | --localstated \
 
 
1090
  | --localstate | --localstat | --localsta | --localst | --locals)
 
 
1091
    ac_prev=localstatedir ;;
 
 
1092
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 
 
1093
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 
 
1094
    localstatedir=$ac_optarg ;;
 
 
1096
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 
 
1098
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 
 
1099
    mandir=$ac_optarg ;;
 
 
1101
  -nfp | --nfp | --nf)
 
 
1102
    # Obsolete; use --without-fp.
 
 
1105
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 
 
1106
  | --no-cr | --no-c | -n)
 
 
1109
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 
 
1110
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 
 
1113
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 
 
1114
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 
 
1115
  | --oldin | --oldi | --old | --ol | --o)
 
 
1116
    ac_prev=oldincludedir ;;
 
 
1117
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 
 
1118
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 
 
1119
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 
 
1120
    oldincludedir=$ac_optarg ;;
 
 
1122
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 
 
1124
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 
 
1125
    prefix=$ac_optarg ;;
 
 
1127
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
 
 
1128
  | --program-pre | --program-pr | --program-p)
 
 
1129
    ac_prev=program_prefix ;;
 
 
1130
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
 
 
1131
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 
 
1132
    program_prefix=$ac_optarg ;;
 
 
1134
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
 
 
1135
  | --program-suf | --program-su | --program-s)
 
 
1136
    ac_prev=program_suffix ;;
 
 
1137
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
 
 
1138
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 
 
1139
    program_suffix=$ac_optarg ;;
 
 
1141
  -program-transform-name | --program-transform-name \
 
 
1142
  | --program-transform-nam | --program-transform-na \
 
 
1143
  | --program-transform-n | --program-transform- \
 
 
1144
  | --program-transform | --program-transfor \
 
 
1145
  | --program-transfo | --program-transf \
 
 
1146
  | --program-trans | --program-tran \
 
 
1147
  | --progr-tra | --program-tr | --program-t)
 
 
1148
    ac_prev=program_transform_name ;;
 
 
1149
  -program-transform-name=* | --program-transform-name=* \
 
 
1150
  | --program-transform-nam=* | --program-transform-na=* \
 
 
1151
  | --program-transform-n=* | --program-transform-=* \
 
 
1152
  | --program-transform=* | --program-transfor=* \
 
 
1153
  | --program-transfo=* | --program-transf=* \
 
 
1154
  | --program-trans=* | --program-tran=* \
 
 
1155
  | --progr-tra=* | --program-tr=* | --program-t=*)
 
 
1156
    program_transform_name=$ac_optarg ;;
 
 
1158
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
 
1160
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
 
1161
    pdfdir=$ac_optarg ;;
 
 
1163
  -psdir | --psdir | --psdi | --psd | --ps)
 
 
1165
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
 
1168
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
 
1169
  | -silent | --silent | --silen | --sile | --sil)
 
 
1172
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 
 
1174
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 
 
1176
    sbindir=$ac_optarg ;;
 
 
1178
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
 
 
1179
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 
 
1180
  | --sharedst | --shareds | --shared | --share | --shar \
 
 
1182
    ac_prev=sharedstatedir ;;
 
 
1183
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 
 
1184
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 
 
1185
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 
 
1187
    sharedstatedir=$ac_optarg ;;
 
 
1189
  -site | --site | --sit)
 
 
1191
  -site=* | --site=* | --sit=*)
 
 
1194
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 
 
1196
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 
 
1197
    srcdir=$ac_optarg ;;
 
 
1199
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 
 
1200
  | --syscon | --sysco | --sysc | --sys | --sy)
 
 
1201
    ac_prev=sysconfdir ;;
 
 
1202
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 
 
1203
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 
 
1204
    sysconfdir=$ac_optarg ;;
 
 
1206
  -target | --target | --targe | --targ | --tar | --ta | --t)
 
 
1207
    ac_prev=target_alias ;;
 
 
1208
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 
 
1209
    target_alias=$ac_optarg ;;
 
 
1211
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
 
 
1214
  -version | --version | --versio | --versi | --vers | -V)
 
 
1215
    ac_init_version=: ;;
 
 
1218
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
 
1219
    # Reject names that are not valid shell variable names.
 
 
1220
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
 
1221
      as_fn_error "invalid package name: $ac_useropt"
 
 
1222
    ac_useropt_orig=$ac_useropt
 
 
1223
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
 
1224
    case $ac_user_opts in
 
 
1228
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
 
1229
         ac_unrecognized_sep=', ';;
 
 
1231
    eval with_$ac_useropt=\$ac_optarg ;;
 
 
1233
  -without-* | --without-*)
 
 
1234
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
 
1235
    # Reject names that are not valid shell variable names.
 
 
1236
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
 
1237
      as_fn_error "invalid package name: $ac_useropt"
 
 
1238
    ac_useropt_orig=$ac_useropt
 
 
1239
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
 
1240
    case $ac_user_opts in
 
 
1244
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
 
1245
         ac_unrecognized_sep=', ';;
 
 
1247
    eval with_$ac_useropt=no ;;
 
 
1250
    # Obsolete; use --with-x.
 
 
1253
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 
 
1254
  | --x-incl | --x-inc | --x-in | --x-i)
 
 
1255
    ac_prev=x_includes ;;
 
 
1256
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 
 
1257
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 
 
1258
    x_includes=$ac_optarg ;;
 
 
1260
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
 
 
1261
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 
 
1262
    ac_prev=x_libraries ;;
 
 
1263
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 
 
1264
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 
 
1265
    x_libraries=$ac_optarg ;;
 
 
1267
  -*) as_fn_error "unrecognized option: \`$ac_option'
 
 
1268
Try \`$0 --help' for more information."
 
 
1272
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 
 
1273
    # Reject names that are not valid shell variable names.
 
 
1274
    case $ac_envvar in #(
 
 
1275
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
 
1276
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
 
1278
    eval $ac_envvar=\$ac_optarg
 
 
1279
    export $ac_envvar ;;
 
 
1282
    # FIXME: should be removed in autoconf 3.0.
 
 
1283
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
 
1284
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
 
1285
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
 
1286
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
 
1292
if test -n "$ac_prev"; then
 
 
1293
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 
 
1294
  as_fn_error "missing argument to $ac_option"
 
 
1297
if test -n "$ac_unrecognized_opts"; then
 
 
1298
  case $enable_option_checking in
 
 
1300
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
 
 
1301
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
 
1305
# Check all directory arguments for consistency.
 
 
1306
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
 
1307
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
 
1308
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
 
1309
                libdir localedir mandir
 
 
1311
  eval ac_val=\$$ac_var
 
 
1312
  # Remove trailing slashes.
 
 
1315
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
 
1316
      eval $ac_var=\$ac_val;;
 
 
1318
  # Be sure to have absolute directory names.
 
 
1320
    [\\/$]* | ?:[\\/]* )  continue;;
 
 
1321
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
 
1323
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
 
 
1326
# There might be people who depend on the old broken behavior: `$host'
 
 
1327
# used to hold the argument of --host etc.
 
 
1328
# FIXME: To remove some day.
 
 
1331
target=$target_alias
 
 
1333
# FIXME: To remove some day.
 
 
1334
if test "x$host_alias" != x; then
 
 
1335
  if test "x$build_alias" = x; then
 
 
1336
    cross_compiling=maybe
 
 
1337
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
 
1338
    If a cross compiler is detected then cross compile mode will be used." >&2
 
 
1339
  elif test "x$build_alias" != "x$host_alias"; then
 
 
1345
test -n "$host_alias" && ac_tool_prefix=$host_alias-
 
 
1347
test "$silent" = yes && exec 6>/dev/null
 
 
1350
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
 
1351
ac_ls_di=`ls -di .` &&
 
 
1352
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
 
1353
  as_fn_error "working directory cannot be determined"
 
 
1354
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
 
1355
  as_fn_error "pwd does not report name of working directory"
 
 
1358
# Find the source files, if location was not specified.
 
 
1359
if test -z "$srcdir"; then
 
 
1360
  ac_srcdir_defaulted=yes
 
 
1361
  # Try the directory containing this script, then the parent directory.
 
 
1362
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
 
1363
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
 
1364
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
 
1365
         X"$as_myself" : 'X\(//\)$' \| \
 
 
1366
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
 
1367
$as_echo X"$as_myself" |
 
 
1368
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
 
1386
  if test ! -r "$srcdir/$ac_unique_file"; then
 
 
1390
  ac_srcdir_defaulted=no
 
 
1392
if test ! -r "$srcdir/$ac_unique_file"; then
 
 
1393
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
 
1394
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
 
 
1396
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
 
1398
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
 
 
1400
# When building in place, set srcdir=.
 
 
1401
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
 
1404
# Remove unnecessary trailing slashes from srcdir.
 
 
1405
# Double slashes in file names in object file debugging info
 
 
1406
# mess up M-x gdb in Emacs.
 
 
1408
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
 
1410
for ac_var in $ac_precious_vars; do
 
 
1411
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
 
1412
  eval ac_env_${ac_var}_value=\$${ac_var}
 
 
1413
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
 
1414
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
 
1418
# Report the --help message.
 
 
1420
if test "$ac_init_help" = "long"; then
 
 
1421
  # Omit some internal or obsolete options to make the list less imposing.
 
 
1422
  # This message is too long to be a string in the A/UX 3.1 sh.
 
 
1424
\`configure' configures sqlite3cc 0.1.0 to adapt to many kinds of systems.
 
 
1426
Usage: $0 [OPTION]... [VAR=VALUE]...
 
 
1428
To assign environment variables (e.g., CC, CFLAGS...), specify them as
 
 
1429
VAR=VALUE.  See below for descriptions of some of the useful variables.
 
 
1431
Defaults for the options are specified in brackets.
 
 
1434
  -h, --help              display this help and exit
 
 
1435
      --help=short        display options specific to this package
 
 
1436
      --help=recursive    display the short help of all the included packages
 
 
1437
  -V, --version           display version information and exit
 
 
1438
  -q, --quiet, --silent   do not print \`checking...' messages
 
 
1439
      --cache-file=FILE   cache test results in FILE [disabled]
 
 
1440
  -C, --config-cache      alias for \`--cache-file=config.cache'
 
 
1441
  -n, --no-create         do not create output files
 
 
1442
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 
 
1444
Installation directories:
 
 
1445
  --prefix=PREFIX         install architecture-independent files in PREFIX
 
 
1446
                          [$ac_default_prefix]
 
 
1447
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 
 
1450
By default, \`make install' will install all the files in
 
 
1451
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 
 
1452
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 
 
1453
for instance \`--prefix=\$HOME'.
 
 
1455
For better control, use the options below.
 
 
1457
Fine tuning of the installation directories:
 
 
1458
  --bindir=DIR            user executables [EPREFIX/bin]
 
 
1459
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
 
1460
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
 
1461
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
 
1462
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
 
1463
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
 
1464
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
 
1465
  --includedir=DIR        C header files [PREFIX/include]
 
 
1466
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
 
1467
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
 
1468
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
 
1469
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
 
1470
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
 
1471
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
 
1472
  --docdir=DIR            documentation root [DATAROOTDIR/doc/sqlite3cc]
 
 
1473
  --htmldir=DIR           html documentation [DOCDIR]
 
 
1474
  --dvidir=DIR            dvi documentation [DOCDIR]
 
 
1475
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
 
1476
  --psdir=DIR             ps documentation [DOCDIR]
 
 
1482
  --program-prefix=PREFIX            prepend PREFIX to installed program names
 
 
1483
  --program-suffix=SUFFIX            append SUFFIX to installed program names
 
 
1484
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 
 
1487
  --build=BUILD     configure for building on BUILD [guessed]
 
 
1488
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 
 
1492
if test -n "$ac_init_help"; then
 
 
1493
  case $ac_init_help in
 
 
1494
     short | recursive ) echo "Configuration of sqlite3cc 0.1.0:";;
 
 
1499
  --disable-option-checking  ignore unrecognized --enable/--with options
 
 
1500
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 
 
1501
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 
 
1502
  --disable-dependency-tracking  speeds up one-time build
 
 
1503
  --enable-dependency-tracking   do not reject slow dependency extractors
 
 
1504
  --enable-shared[=PKGS]  build shared libraries [default=yes]
 
 
1505
  --enable-static[=PKGS]  build static libraries [default=yes]
 
 
1506
  --enable-fast-install[=PKGS]
 
 
1507
                          optimize for fast installation [default=yes]
 
 
1508
  --disable-libtool-lock  avoid locking (might break parallel builds)
 
 
1511
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 
 
1512
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 
 
1513
  --with-pic              try to use only PIC/non-PIC objects [default=use
 
 
1515
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
 
1517
Some influential environment variables:
 
 
1518
  CXX         C++ compiler command
 
 
1519
  CXXFLAGS    C++ compiler flags
 
 
1520
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 
 
1521
              nonstandard directory <lib dir>
 
 
1522
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
 
1523
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
 
1524
              you have headers in a nonstandard directory <include dir>
 
 
1525
  CC          C compiler command
 
 
1526
  CFLAGS      C compiler flags
 
 
1528
  CXXCPP      C++ preprocessor
 
 
1530
Use these variables to override the choices made by `configure' or to help
 
 
1531
it to find libraries and programs with nonstandard names/locations.
 
 
1533
Report bugs to <edam@waxworlds.org>.
 
 
1538
if test "$ac_init_help" = "recursive"; then
 
 
1539
  # If there are subdirs, report their specific --help.
 
 
1540
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 
 
1541
    test -d "$ac_dir" ||
 
 
1542
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
 
1547
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
 
1549
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
 
1550
  # A ".." for each directory in $ac_dir_suffix.
 
 
1551
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
 
1552
  case $ac_top_builddir_sub in
 
 
1553
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
 
1554
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
 
1557
ac_abs_top_builddir=$ac_pwd
 
 
1558
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
 
1559
# for backward compatibility:
 
 
1560
ac_top_builddir=$ac_top_build_prefix
 
 
1563
  .)  # We are building in place.
 
 
1565
    ac_top_srcdir=$ac_top_builddir_sub
 
 
1566
    ac_abs_top_srcdir=$ac_pwd ;;
 
 
1567
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
 
1568
    ac_srcdir=$srcdir$ac_dir_suffix;
 
 
1569
    ac_top_srcdir=$srcdir
 
 
1570
    ac_abs_top_srcdir=$srcdir ;;
 
 
1572
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
 
1573
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
 
1574
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
 
1576
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
 
1578
    cd "$ac_dir" || { ac_status=$?; continue; }
 
 
1579
    # Check for guested configure.
 
 
1580
    if test -f "$ac_srcdir/configure.gnu"; then
 
 
1582
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
 
1583
    elif test -f "$ac_srcdir/configure"; then
 
 
1585
      $SHELL "$ac_srcdir/configure" --help=recursive
 
 
1587
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
 
1589
    cd "$ac_pwd" || { ac_status=$?; break; }
 
 
1593
test -n "$ac_init_help" && exit $ac_status
 
 
1594
if $ac_init_version; then
 
 
1596
sqlite3cc configure 0.1.0
 
 
1597
generated by GNU Autoconf 2.64
 
 
1599
Copyright (C) 2009 Free Software Foundation, Inc.
 
 
1600
This configure script is free software; the Free Software Foundation
 
 
1601
gives unlimited permission to copy, distribute and modify it.
 
 
1606
## ------------------------ ##
 
 
1607
## Autoconf initialization. ##
 
 
1608
## ------------------------ ##
 
 
1610
# ac_fn_cxx_try_compile LINENO
 
 
1611
# ----------------------------
 
 
1612
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
 
1613
ac_fn_cxx_try_compile ()
 
 
1615
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
 
1616
  rm -f conftest.$ac_objext
 
 
1617
  if { { ac_try="$ac_compile"
 
 
1619
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
 
1620
  *) ac_try_echo=$ac_try;;
 
 
1622
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
 
1623
$as_echo "$ac_try_echo"; } >&5
 
 
1624
  (eval "$ac_compile") 2>conftest.err
 
 
1626
  if test -s conftest.err; then
 
 
1627
    grep -v '^ *+' conftest.err >conftest.er1
 
 
1628
    cat conftest.er1 >&5
 
 
1629
    mv -f conftest.er1 conftest.err
 
 
1631
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
 
1632
  test $ac_status = 0; } && {
 
 
1633
         test -z "$ac_cxx_werror_flag" ||
 
 
1634
         test ! -s conftest.err
 
 
1635
       } && test -s conftest.$ac_objext; then :
 
 
1638
  $as_echo "$as_me: failed program was:" >&5
 
 
1639
sed 's/^/| /' conftest.$ac_ext >&5
 
 
1643
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
 
1646
} # ac_fn_cxx_try_compile
 
 
1648
# ac_fn_c_try_compile LINENO
 
 
1649
# --------------------------
 
 
1650
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
 
1651
ac_fn_c_try_compile ()
 
 
1653
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
 
1654
  rm -f conftest.$ac_objext
 
 
1655
  if { { ac_try="$ac_compile"
 
 
1657
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
 
1658
  *) ac_try_echo=$ac_try;;
 
 
1660
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
 
1661
$as_echo "$ac_try_echo"; } >&5
 
 
1662
  (eval "$ac_compile") 2>conftest.err
 
 
1664
  if test -s conftest.err; then
 
 
1665
    grep -v '^ *+' conftest.err >conftest.er1
 
 
1666
    cat conftest.er1 >&5
 
 
1667
    mv -f conftest.er1 conftest.err
 
 
1669
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
 
1670
  test $ac_status = 0; } && {
 
 
1671
         test -z "$ac_c_werror_flag" ||
 
 
1672
         test ! -s conftest.err
 
 
1673
       } && test -s conftest.$ac_objext; then :
 
 
1676
  $as_echo "$as_me: failed program was:" >&5
 
 
1677
sed 's/^/| /' conftest.$ac_ext >&5
 
 
1681
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
 
1684
} # ac_fn_c_try_compile
 
 
1686
# ac_fn_c_try_link LINENO
 
 
1687
# -----------------------
 
 
1688
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
 
1691
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
 
1692
  rm -f conftest.$ac_objext conftest$ac_exeext
 
 
1693
  if { { ac_try="$ac_link"
 
 
1695
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
 
1696
  *) ac_try_echo=$ac_try;;
 
 
1698
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
 
1699
$as_echo "$ac_try_echo"; } >&5
 
 
1700
  (eval "$ac_link") 2>conftest.err
 
 
1702
  if test -s conftest.err; then
 
 
1703
    grep -v '^ *+' conftest.err >conftest.er1
 
 
1704
    cat conftest.er1 >&5
 
 
1705
    mv -f conftest.er1 conftest.err
 
 
1707
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
 
1708
  test $ac_status = 0; } && {
 
 
1709
         test -z "$ac_c_werror_flag" ||
 
 
1710
         test ! -s conftest.err
 
 
1711
       } && test -s conftest$ac_exeext && {
 
 
1712
         test "$cross_compiling" = yes ||
 
 
1713
         $as_test_x conftest$ac_exeext
 
 
1717
  $as_echo "$as_me: failed program was:" >&5
 
 
1718
sed 's/^/| /' conftest.$ac_ext >&5
 
 
1722
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
 
1723
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
 
1724
  # interfere with the next link command; also delete a directory that is
 
 
1725
  # left behind by Apple's compiler.  We do this before executing the actions.
 
 
1726
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
 
1727
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
 
1730
} # ac_fn_c_try_link
 
 
1732
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
 
1733
# -------------------------------------------------------
 
 
1734
# Tests whether HEADER exists and can be compiled using the include files in
 
 
1735
# INCLUDES, setting the cache variable VAR accordingly.
 
 
1736
ac_fn_c_check_header_compile ()
 
 
1738
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
 
1739
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
 
1740
$as_echo_n "checking for $2... " >&6; }
 
 
1741
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
 
1742
  $as_echo_n "(cached) " >&6
 
 
1744
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
1745
/* end confdefs.h.  */
 
 
1749
if ac_fn_c_try_compile "$LINENO"; then :
 
 
1754
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
 
1757
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
 
1758
$as_echo "$ac_res" >&6; }
 
 
1759
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
 
1761
} # ac_fn_c_check_header_compile
 
 
1763
# ac_fn_c_try_cpp LINENO
 
 
1764
# ----------------------
 
 
1765
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
 
1768
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
 
1769
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
 
1771
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
 
1772
  *) ac_try_echo=$ac_try;;
 
 
1774
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
 
1775
$as_echo "$ac_try_echo"; } >&5
 
 
1776
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
 
1778
  if test -s conftest.err; then
 
 
1779
    grep -v '^ *+' conftest.err >conftest.er1
 
 
1780
    cat conftest.er1 >&5
 
 
1781
    mv -f conftest.er1 conftest.err
 
 
1783
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
 
1784
  test $ac_status = 0; } >/dev/null && {
 
 
1785
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
 
1786
         test ! -s conftest.err
 
 
1790
  $as_echo "$as_me: failed program was:" >&5
 
 
1791
sed 's/^/| /' conftest.$ac_ext >&5
 
 
1795
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
 
1800
# ac_fn_c_try_run LINENO
 
 
1801
# ----------------------
 
 
1802
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
 
1803
# that executables *can* be run.
 
 
1806
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
 
1807
  if { { ac_try="$ac_link"
 
 
1809
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
 
1810
  *) ac_try_echo=$ac_try;;
 
 
1812
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
 
1813
$as_echo "$ac_try_echo"; } >&5
 
 
1814
  (eval "$ac_link") 2>&5
 
 
1816
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
 
1817
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
 
1818
  { { case "(($ac_try" in
 
 
1819
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
 
1820
  *) ac_try_echo=$ac_try;;
 
 
1822
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
 
1823
$as_echo "$ac_try_echo"; } >&5
 
 
1824
  (eval "$ac_try") 2>&5
 
 
1826
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
 
1827
  test $ac_status = 0; }; }; then :
 
 
1830
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
 
1831
       $as_echo "$as_me: failed program was:" >&5
 
 
1832
sed 's/^/| /' conftest.$ac_ext >&5
 
 
1834
       ac_retval=$ac_status
 
 
1836
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
 
1837
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
 
1842
# ac_fn_c_check_func LINENO FUNC VAR
 
 
1843
# ----------------------------------
 
 
1844
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
 
1845
ac_fn_c_check_func ()
 
 
1847
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
 
1848
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
 
1849
$as_echo_n "checking for $2... " >&6; }
 
 
1850
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
 
1851
  $as_echo_n "(cached) " >&6
 
 
1853
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
1854
/* end confdefs.h.  */
 
 
1855
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
 
1856
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
 
1857
#define $2 innocuous_$2
 
 
1859
/* System header to define __stub macros and hopefully few prototypes,
 
 
1860
    which can conflict with char $2 (); below.
 
 
1861
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
 
1862
    <limits.h> exists even on freestanding compilers.  */
 
 
1865
# include <limits.h>
 
 
1867
# include <assert.h>
 
 
1872
/* Override any GCC internal prototype to avoid an error.
 
 
1873
   Use char because int might match the return type of a GCC
 
 
1874
   builtin and then its argument prototype would still apply.  */
 
 
1879
/* The GNU C library defines this for functions which it implements
 
 
1880
    to always fail with ENOSYS.  Some functions are actually named
 
 
1881
    something starting with __ and the normal name is an alias.  */
 
 
1882
#if defined __stub_$2 || defined __stub___$2
 
 
1894
if ac_fn_c_try_link "$LINENO"; then :
 
 
1899
rm -f core conftest.err conftest.$ac_objext \
 
 
1900
    conftest$ac_exeext conftest.$ac_ext
 
 
1903
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
 
1904
$as_echo "$ac_res" >&6; }
 
 
1905
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
 
1907
} # ac_fn_c_check_func
 
 
1909
# ac_fn_cxx_try_cpp LINENO
 
 
1910
# ------------------------
 
 
1911
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
 
1912
ac_fn_cxx_try_cpp ()
 
 
1914
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
 
1915
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
 
1917
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
 
1918
  *) ac_try_echo=$ac_try;;
 
 
1920
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
 
1921
$as_echo "$ac_try_echo"; } >&5
 
 
1922
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
 
1924
  if test -s conftest.err; then
 
 
1925
    grep -v '^ *+' conftest.err >conftest.er1
 
 
1926
    cat conftest.er1 >&5
 
 
1927
    mv -f conftest.er1 conftest.err
 
 
1929
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
 
1930
  test $ac_status = 0; } >/dev/null && {
 
 
1931
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
 
1932
         test ! -s conftest.err
 
 
1936
  $as_echo "$as_me: failed program was:" >&5
 
 
1937
sed 's/^/| /' conftest.$ac_ext >&5
 
 
1941
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
 
1944
} # ac_fn_cxx_try_cpp
 
 
1946
# ac_fn_cxx_try_link LINENO
 
 
1947
# -------------------------
 
 
1948
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
 
1949
ac_fn_cxx_try_link ()
 
 
1951
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
 
1952
  rm -f conftest.$ac_objext conftest$ac_exeext
 
 
1953
  if { { ac_try="$ac_link"
 
 
1955
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
 
1956
  *) ac_try_echo=$ac_try;;
 
 
1958
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
 
1959
$as_echo "$ac_try_echo"; } >&5
 
 
1960
  (eval "$ac_link") 2>conftest.err
 
 
1962
  if test -s conftest.err; then
 
 
1963
    grep -v '^ *+' conftest.err >conftest.er1
 
 
1964
    cat conftest.er1 >&5
 
 
1965
    mv -f conftest.er1 conftest.err
 
 
1967
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
 
1968
  test $ac_status = 0; } && {
 
 
1969
         test -z "$ac_cxx_werror_flag" ||
 
 
1970
         test ! -s conftest.err
 
 
1971
       } && test -s conftest$ac_exeext && {
 
 
1972
         test "$cross_compiling" = yes ||
 
 
1973
         $as_test_x conftest$ac_exeext
 
 
1977
  $as_echo "$as_me: failed program was:" >&5
 
 
1978
sed 's/^/| /' conftest.$ac_ext >&5
 
 
1982
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
 
1983
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
 
1984
  # interfere with the next link command; also delete a directory that is
 
 
1985
  # left behind by Apple's compiler.  We do this before executing the actions.
 
 
1986
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
 
1987
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
 
1990
} # ac_fn_cxx_try_link
 
 
1992
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 
 
1993
# -------------------------------------------------------
 
 
1994
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
 
1995
# the include files in INCLUDES and setting the cache variable VAR
 
 
1997
ac_fn_c_check_header_mongrel ()
 
 
1999
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
 
2000
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
 
2001
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
 
2002
$as_echo_n "checking for $2... " >&6; }
 
 
2003
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
 
2004
  $as_echo_n "(cached) " >&6
 
 
2007
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
 
2008
$as_echo "$ac_res" >&6; }
 
 
2010
  # Is the header compilable?
 
 
2011
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
 
2012
$as_echo_n "checking $2 usability... " >&6; }
 
 
2013
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
2014
/* end confdefs.h.  */
 
 
2018
if ac_fn_c_try_compile "$LINENO"; then :
 
 
2019
  ac_header_compiler=yes
 
 
2021
  ac_header_compiler=no
 
 
2023
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
 
2024
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
 
2025
$as_echo "$ac_header_compiler" >&6; }
 
 
2027
# Is the header present?
 
 
2028
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
 
2029
$as_echo_n "checking $2 presence... " >&6; }
 
 
2030
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
2031
/* end confdefs.h.  */
 
 
2034
if ac_fn_c_try_cpp "$LINENO"; then :
 
 
2035
  ac_header_preproc=yes
 
 
2037
  ac_header_preproc=no
 
 
2039
rm -f conftest.err conftest.$ac_ext
 
 
2040
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
 
2041
$as_echo "$ac_header_preproc" >&6; }
 
 
2043
# So?  What about this header?
 
 
2044
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 
 
2046
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
 
2047
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
 
2048
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
 
2049
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
 
2052
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
 
2053
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
 
2054
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
 
2055
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
 
2056
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
 
2057
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
 
2058
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
 
2059
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
 
2060
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
 
2061
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
 
2063
## --------------------------------- ##
 
 
2064
## Report this to edam@waxworlds.org ##
 
 
2065
## --------------------------------- ##
 
 
2067
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
 
2070
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
 
2071
$as_echo_n "checking for $2... " >&6; }
 
 
2072
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
 
2073
  $as_echo_n "(cached) " >&6
 
 
2075
  eval "$3=\$ac_header_compiler"
 
 
2078
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
 
2079
$as_echo "$ac_res" >&6; }
 
 
2081
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
 
2083
} # ac_fn_c_check_header_mongrel
 
 
2084
cat >config.log <<_ACEOF
 
 
2085
This file contains any messages produced by compilers while
 
 
2086
running configure, to aid debugging if configure makes a mistake.
 
 
2088
It was created by sqlite3cc $as_me 0.1.0, which was
 
 
2089
generated by GNU Autoconf 2.64.  Invocation command line was
 
 
2101
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 
 
2102
uname -m = `(uname -m) 2>/dev/null || echo unknown`
 
 
2103
uname -r = `(uname -r) 2>/dev/null || echo unknown`
 
 
2104
uname -s = `(uname -s) 2>/dev/null || echo unknown`
 
 
2105
uname -v = `(uname -v) 2>/dev/null || echo unknown`
 
 
2107
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 
 
2108
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 
 
2110
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 
 
2111
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 
 
2112
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 
 
2113
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 
 
2114
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 
 
2115
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 
 
2116
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 
 
2120
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
2124
  test -z "$as_dir" && as_dir=.
 
 
2125
    $as_echo "PATH: $as_dir"
 
 
2141
# Keep a trace of the command line.
 
 
2142
# Strip out --no-create and --no-recursion so they do not pile up.
 
 
2143
# Strip out --silent because we don't want to record it for future runs.
 
 
2144
# Also quote any args containing shell meta-characters.
 
 
2145
# Make two passes to allow for proper duplicate-argument suppression.
 
 
2149
ac_must_keep_next=false
 
 
2155
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 
 
2156
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
 
2157
    | -silent | --silent | --silen | --sile | --sil)
 
 
2160
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
 
2163
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
 
 
2165
      as_fn_append ac_configure_args1 " '$ac_arg'"
 
 
2166
      if test $ac_must_keep_next = true; then
 
 
2167
        ac_must_keep_next=false # Got value, back to normal.
 
 
2170
          *=* | --config-cache | -C | -disable-* | --disable-* \
 
 
2171
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 
 
2172
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 
 
2173
          | -with-* | --with-* | -without-* | --without-* | --x)
 
 
2174
            case "$ac_configure_args0 " in
 
 
2175
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 
 
2178
          -* ) ac_must_keep_next=true ;;
 
 
2181
      as_fn_append ac_configure_args " '$ac_arg'"
 
 
2186
{ ac_configure_args0=; unset ac_configure_args0;}
 
 
2187
{ ac_configure_args1=; unset ac_configure_args1;}
 
 
2189
# When interrupted or exit'd, cleanup temporary files, and complete
 
 
2190
# config.log.  We remove comments because anyway the quotes in there
 
 
2191
# would cause problems or look ugly.
 
 
2192
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
 
2193
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 
 
2194
trap 'exit_status=$?
 
 
2195
  # Save into config.log some information that might help in debugging.
 
 
2200
## ---------------- ##
 
 
2201
## Cache variables. ##
 
 
2202
## ---------------- ##
 
 
2205
    # The following way of writing the cache mishandles newlines in values,
 
 
2207
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
 
2208
    eval ac_val=\$$ac_var
 
 
2212
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
 
2213
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
 
2216
      _ | IFS | as_nl) ;; #(
 
 
2217
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
 
2218
      *) { eval $ac_var=; unset $ac_var;} ;;
 
 
2223
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
 
2224
    *${as_nl}ac_space=\ *)
 
 
2226
        "s/'\''/'\''\\\\'\'''\''/g;
 
 
2227
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
 
2230
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
 
2238
## ----------------- ##
 
 
2239
## Output variables. ##
 
 
2240
## ----------------- ##
 
 
2243
    for ac_var in $ac_subst_vars
 
 
2245
      eval ac_val=\$$ac_var
 
 
2247
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
 
2249
      $as_echo "$ac_var='\''$ac_val'\''"
 
 
2253
    if test -n "$ac_subst_files"; then
 
 
2255
## ------------------- ##
 
 
2256
## File substitutions. ##
 
 
2257
## ------------------- ##
 
 
2260
      for ac_var in $ac_subst_files
 
 
2262
        eval ac_val=\$$ac_var
 
 
2264
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
 
2266
        $as_echo "$ac_var='\''$ac_val'\''"
 
 
2271
    if test -s confdefs.h; then
 
 
2281
    test "$ac_signal" != 0 &&
 
 
2282
      $as_echo "$as_me: caught signal $ac_signal"
 
 
2283
    $as_echo "$as_me: exit $exit_status"
 
 
2285
  rm -f core *.core core.conftest.* &&
 
 
2286
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 
 
2289
for ac_signal in 1 2 13 15; do
 
 
2290
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
 
 
2294
# confdefs.h avoids OS command line length limits that DEFS can exceed.
 
 
2295
rm -f -r conftest* confdefs.h
 
 
2297
$as_echo "/* confdefs.h */" > confdefs.h
 
 
2299
# Predefined preprocessor variables.
 
 
2301
cat >>confdefs.h <<_ACEOF
 
 
2302
#define PACKAGE_NAME "$PACKAGE_NAME"
 
 
2305
cat >>confdefs.h <<_ACEOF
 
 
2306
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 
 
2309
cat >>confdefs.h <<_ACEOF
 
 
2310
#define PACKAGE_VERSION "$PACKAGE_VERSION"
 
 
2313
cat >>confdefs.h <<_ACEOF
 
 
2314
#define PACKAGE_STRING "$PACKAGE_STRING"
 
 
2317
cat >>confdefs.h <<_ACEOF
 
 
2318
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 
 
2321
cat >>confdefs.h <<_ACEOF
 
 
2322
#define PACKAGE_URL "$PACKAGE_URL"
 
 
2326
# Let the site file select an alternate cache file if it wants to.
 
 
2327
# Prefer an explicitly selected file to automatically selected ones.
 
 
2330
if test -n "$CONFIG_SITE"; then
 
 
2331
  ac_site_file1=$CONFIG_SITE
 
 
2332
elif test "x$prefix" != xNONE; then
 
 
2333
  ac_site_file1=$prefix/share/config.site
 
 
2334
  ac_site_file2=$prefix/etc/config.site
 
 
2336
  ac_site_file1=$ac_default_prefix/share/config.site
 
 
2337
  ac_site_file2=$ac_default_prefix/etc/config.site
 
 
2339
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 
 
2341
  test "x$ac_site_file" = xNONE && continue
 
 
2342
  if test -r "$ac_site_file"; then
 
 
2343
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 
 
2344
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
 
 
2345
    sed 's/^/| /' "$ac_site_file" >&5
 
 
2350
if test -r "$cache_file"; then
 
 
2351
  # Some versions of bash will fail to source /dev/null (special
 
 
2352
  # files actually), so we avoid doing that.
 
 
2353
  if test -f "$cache_file"; then
 
 
2354
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 
 
2355
$as_echo "$as_me: loading cache $cache_file" >&6;}
 
 
2357
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
 
2358
      *)                      . "./$cache_file";;
 
 
2362
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 
 
2363
$as_echo "$as_me: creating cache $cache_file" >&6;}
 
 
2367
# Check that the precious variables saved in the cache have kept the same
 
 
2369
ac_cache_corrupted=false
 
 
2370
for ac_var in $ac_precious_vars; do
 
 
2371
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
 
 
2372
  eval ac_new_set=\$ac_env_${ac_var}_set
 
 
2373
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
 
2374
  eval ac_new_val=\$ac_env_${ac_var}_value
 
 
2375
  case $ac_old_set,$ac_new_set in
 
 
2377
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
 
2378
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
 
2379
      ac_cache_corrupted=: ;;
 
 
2381
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 
 
2382
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
 
2383
      ac_cache_corrupted=: ;;
 
 
2386
      if test "x$ac_old_val" != "x$ac_new_val"; then
 
 
2387
        # differences in whitespace do not lead to failure.
 
 
2388
        ac_old_val_w=`echo x $ac_old_val`
 
 
2389
        ac_new_val_w=`echo x $ac_new_val`
 
 
2390
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
 
2391
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 
 
2392
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
 
2393
          ac_cache_corrupted=:
 
 
2395
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
 
2396
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
 
2397
          eval $ac_var=\$ac_old_val
 
 
2399
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 
 
2400
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
 
2401
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 
 
2402
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 
 
2405
  # Pass precious variables to config.status.
 
 
2406
  if test "$ac_new_set" = set; then
 
 
2408
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
 
2409
    *) ac_arg=$ac_var=$ac_new_val ;;
 
 
2411
    case " $ac_configure_args " in
 
 
2412
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 
 
2413
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
 
 
2417
if $ac_cache_corrupted; then
 
 
2418
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
 
2419
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
 
2420
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 
 
2421
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
 
2422
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 
 
2424
## -------------------- ##
 
 
2425
## Main body of script. ##
 
 
2426
## -------------------- ##
 
 
2429
ac_cpp='$CPP $CPPFLAGS'
 
 
2430
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
 
2431
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
 
2432
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
2436
for ac_dir in build-aux "$srcdir"/build-aux; do
 
 
2437
  for ac_t in install-sh install.sh shtool; do
 
 
2438
    if test -f "$ac_dir/$ac_t"; then
 
 
2440
      ac_install_sh="$ac_aux_dir/$ac_t -c"
 
 
2445
if test -z "$ac_aux_dir"; then
 
 
2446
  as_fn_error "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
 
 
2449
# These three variables are undocumented and unsupported,
 
 
2450
# and are intended to be withdrawn in a future Autoconf release.
 
 
2451
# They can cause serious problems if a builder's source tree is in a directory
 
 
2452
# whose full name contains unusual characters.
 
 
2453
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
 
2454
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
 
2455
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
 
2459
am__api_version='1.11'
 
 
2461
# Find a good install program.  We prefer a C program (faster),
 
 
2462
# so one script is as good as another.  But avoid the broken or
 
 
2463
# incompatible versions:
 
 
2464
# SysV /etc/install, /usr/sbin/install
 
 
2465
# SunOS /usr/etc/install
 
 
2466
# IRIX /sbin/install
 
 
2468
# AmigaOS /C/install, which installs bootblocks on floppy discs
 
 
2469
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 
 
2470
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
 
 
2471
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
 
2472
# OS/2's system install, which has a completely different semantic
 
 
2473
# ./install, which can be erroneously created by make from ./install.sh.
 
 
2474
# Reject install programs that cannot install multiple files.
 
 
2475
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 
 
2476
$as_echo_n "checking for a BSD-compatible install... " >&6; }
 
 
2477
if test -z "$INSTALL"; then
 
 
2478
if test "${ac_cv_path_install+set}" = set; then :
 
 
2479
  $as_echo_n "(cached) " >&6
 
 
2481
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
2485
  test -z "$as_dir" && as_dir=.
 
 
2486
    # Account for people who put trailing slashes in PATH elements.
 
 
2487
case $as_dir/ in #((
 
 
2488
  ./ | .// | /[cC]/* | \
 
 
2489
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
 
2490
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
 
 
2493
    # OSF1 and SCO ODT 3.0 have their own names for install.
 
 
2494
    # Don't use installbsd from OSF since it installs stuff as root
 
 
2496
    for ac_prog in ginstall scoinst install; do
 
 
2497
      for ac_exec_ext in '' $ac_executable_extensions; do
 
 
2498
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 
 
2499
          if test $ac_prog = install &&
 
 
2500
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
 
2501
            # AIX install.  It has an incompatible calling convention.
 
 
2503
          elif test $ac_prog = install &&
 
 
2504
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
 
2505
            # program-specific install script used by HP pwplus--don't use.
 
 
2508
            rm -rf conftest.one conftest.two conftest.dir
 
 
2509
            echo one > conftest.one
 
 
2510
            echo two > conftest.two
 
 
2512
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
 
2513
              test -s conftest.one && test -s conftest.two &&
 
 
2514
              test -s conftest.dir/conftest.one &&
 
 
2515
              test -s conftest.dir/conftest.two
 
 
2517
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
 
2530
rm -rf conftest.one conftest.two conftest.dir
 
 
2533
  if test "${ac_cv_path_install+set}" = set; then
 
 
2534
    INSTALL=$ac_cv_path_install
 
 
2536
    # As a last resort, use the slow shell script.  Don't cache a
 
 
2537
    # value for INSTALL within a source directory, because that will
 
 
2538
    # break other packages using the cache if that directory is
 
 
2539
    # removed, or if the value is a relative name.
 
 
2540
    INSTALL=$ac_install_sh
 
 
2543
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 
 
2544
$as_echo "$INSTALL" >&6; }
 
 
2546
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 
 
2547
# It thinks the first close brace ends the variable substitution.
 
 
2548
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 
 
2550
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 
 
2552
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
 
2554
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 
 
2555
$as_echo_n "checking whether build environment is sane... " >&6; }
 
 
2558
echo timestamp > conftest.file
 
 
2559
# Reject unsafe characters in $srcdir or the absolute working directory
 
 
2560
# name.  Accept space and tab only in the latter.
 
 
2564
  *[\\\"\#\$\&\'\`$am_lf]*)
 
 
2565
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
 
 
2568
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 
 
2569
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
 
2572
# Do `set' in a subshell so we don't clobber the current shell's
 
 
2573
# arguments.  Must try -L first in case configure is actually a
 
 
2574
# symlink; some systems play weird games with the mod time of symlinks
 
 
2575
# (eg FreeBSD returns the mod time of the symlink's containing
 
 
2578
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
 
 
2579
   if test "$*" = "X"; then
 
 
2581
      set X `ls -t "$srcdir/configure" conftest.file`
 
 
2584
   if test "$*" != "X $srcdir/configure conftest.file" \
 
 
2585
      && test "$*" != "X conftest.file $srcdir/configure"; then
 
 
2587
      # If neither matched, then we have a broken ls.  This can happen
 
 
2588
      # if, for instance, CONFIG_SHELL is bash and it inherits a
 
 
2589
      # broken ls alias from the environment.  This has actually
 
 
2590
      # happened.  Such a system could not be considered "sane".
 
 
2591
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
 
 
2592
alias in your environment" "$LINENO" 5
 
 
2595
   test "$2" = conftest.file
 
 
2601
   as_fn_error "newly created file is older than distributed files!
 
 
2602
Check your system clock" "$LINENO" 5
 
 
2604
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
 
2605
$as_echo "yes" >&6; }
 
 
2606
test "$program_prefix" != NONE &&
 
 
2607
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
 
 
2608
# Use a double $ so make ignores it.
 
 
2609
test "$program_suffix" != NONE &&
 
 
2610
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 
 
2611
# Double any \ or $.
 
 
2612
# By default was `s,x,x', remove it if useless.
 
 
2613
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
 
2614
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
 
 
2616
# expand $ac_aux_dir to an absolute path
 
 
2617
am_aux_dir=`cd $ac_aux_dir && pwd`
 
 
2619
if test x"${MISSING+set}" != xset; then
 
 
2622
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
 
2624
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
 
2627
# Use eval to expand $SHELL
 
 
2628
if eval "$MISSING --run true"; then
 
 
2629
  am_missing_run="$MISSING --run "
 
 
2632
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
 
 
2633
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
 
2636
if test x"${install_sh}" != xset; then
 
 
2639
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
 
2641
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
 
2645
# Installed binaries are usually stripped using `strip' when the user
 
 
2646
# run `make install-strip'.  However `strip' might not be the right
 
 
2647
# tool to use in cross-compilation environments, therefore Automake
 
 
2648
# will honor the `STRIP' environment variable to overrule this program.
 
 
2649
if test "$cross_compiling" != no; then
 
 
2650
  if test -n "$ac_tool_prefix"; then
 
 
2651
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
 
2652
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
 
2653
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
2654
$as_echo_n "checking for $ac_word... " >&6; }
 
 
2655
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
 
2656
  $as_echo_n "(cached) " >&6
 
 
2658
  if test -n "$STRIP"; then
 
 
2659
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
 
2661
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
2665
  test -z "$as_dir" && as_dir=.
 
 
2666
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
2667
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
2668
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
 
2669
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
2678
STRIP=$ac_cv_prog_STRIP
 
 
2679
if test -n "$STRIP"; then
 
 
2680
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
 
2681
$as_echo "$STRIP" >&6; }
 
 
2683
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
2684
$as_echo "no" >&6; }
 
 
2689
if test -z "$ac_cv_prog_STRIP"; then
 
 
2691
  # Extract the first word of "strip", so it can be a program name with args.
 
 
2692
set dummy strip; ac_word=$2
 
 
2693
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
2694
$as_echo_n "checking for $ac_word... " >&6; }
 
 
2695
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
 
2696
  $as_echo_n "(cached) " >&6
 
 
2698
  if test -n "$ac_ct_STRIP"; then
 
 
2699
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
 
2701
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
2705
  test -z "$as_dir" && as_dir=.
 
 
2706
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
2707
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
2708
    ac_cv_prog_ac_ct_STRIP="strip"
 
 
2709
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
2718
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
 
2719
if test -n "$ac_ct_STRIP"; then
 
 
2720
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
 
2721
$as_echo "$ac_ct_STRIP" >&6; }
 
 
2723
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
2724
$as_echo "no" >&6; }
 
 
2727
  if test "x$ac_ct_STRIP" = x; then
 
 
2730
    case $cross_compiling:$ac_tool_warned in
 
 
2732
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
 
2733
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
 
2734
ac_tool_warned=yes ;;
 
 
2739
  STRIP="$ac_cv_prog_STRIP"
 
 
2743
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
 
2745
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 
 
2746
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 
 
2747
if test -z "$MKDIR_P"; then
 
 
2748
  if test "${ac_cv_path_mkdir+set}" = set; then :
 
 
2749
  $as_echo_n "(cached) " >&6
 
 
2751
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
2752
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 
 
2755
  test -z "$as_dir" && as_dir=.
 
 
2756
    for ac_prog in mkdir gmkdir; do
 
 
2757
         for ac_exec_ext in '' $ac_executable_extensions; do
 
 
2758
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 
 
2759
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 
 
2760
             'mkdir (GNU coreutils) '* | \
 
 
2761
             'mkdir (coreutils) '* | \
 
 
2762
             'mkdir (fileutils) '4.1*)
 
 
2763
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 
 
2773
  if test "${ac_cv_path_mkdir+set}" = set; then
 
 
2774
    MKDIR_P="$ac_cv_path_mkdir -p"
 
 
2776
    # As a last resort, use the slow shell script.  Don't cache a
 
 
2777
    # value for MKDIR_P within a source directory, because that will
 
 
2778
    # break other packages using the cache if that directory is
 
 
2779
    # removed, or if the value is a relative name.
 
 
2780
    test -d ./--version && rmdir ./--version
 
 
2781
    MKDIR_P="$ac_install_sh -d"
 
 
2784
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 
 
2785
$as_echo "$MKDIR_P" >&6; }
 
 
2789
  [\\/$]* | ?:[\\/]*) ;;
 
 
2790
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
 
2793
for ac_prog in gawk mawk nawk awk
 
 
2795
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
 
2796
set dummy $ac_prog; ac_word=$2
 
 
2797
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
2798
$as_echo_n "checking for $ac_word... " >&6; }
 
 
2799
if test "${ac_cv_prog_AWK+set}" = set; then :
 
 
2800
  $as_echo_n "(cached) " >&6
 
 
2802
  if test -n "$AWK"; then
 
 
2803
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
 
 
2805
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
2809
  test -z "$as_dir" && as_dir=.
 
 
2810
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
2811
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
2812
    ac_cv_prog_AWK="$ac_prog"
 
 
2813
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
2823
if test -n "$AWK"; then
 
 
2824
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 
 
2825
$as_echo "$AWK" >&6; }
 
 
2827
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
2828
$as_echo "no" >&6; }
 
 
2832
  test -n "$AWK" && break
 
 
2835
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
 
2836
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
 
2838
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
 
2839
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
 
 
2840
  $as_echo_n "(cached) " >&6
 
 
2842
  cat >conftest.make <<\_ACEOF
 
 
2845
        @echo '@@@%%%=$(MAKE)=@@@%%%'
 
 
2847
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
 
2848
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
 
2850
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
 
2852
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
 
2856
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
 
2857
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
 
2858
$as_echo "yes" >&6; }
 
 
2861
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
2862
$as_echo "no" >&6; }
 
 
2863
  SET_MAKE="MAKE=${MAKE-make}"
 
 
2866
rm -rf .tst 2>/dev/null
 
 
2867
mkdir .tst 2>/dev/null
 
 
2868
if test -d .tst; then
 
 
2873
rmdir .tst 2>/dev/null
 
 
2875
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
 
2876
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
 
2877
  # is not polluted with repeated "-I."
 
 
2878
  am__isrc=' -I$(srcdir)'
 
 
2879
  # test to see if srcdir already configured
 
 
2880
  if test -f $srcdir/config.status; then
 
 
2881
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 
 
2885
# test whether we have cygpath
 
 
2886
if test -z "$CYGPATH_W"; then
 
 
2887
  if (cygpath --version) >/dev/null 2>/dev/null; then
 
 
2888
    CYGPATH_W='cygpath -w'
 
 
2895
# Define the identity of the package.
 
 
2900
cat >>confdefs.h <<_ACEOF
 
 
2901
#define PACKAGE "$PACKAGE"
 
 
2905
cat >>confdefs.h <<_ACEOF
 
 
2906
#define VERSION "$VERSION"
 
 
2909
# Some tools Automake needs.
 
 
2911
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 
 
2914
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 
 
2917
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 
 
2920
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 
 
2923
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 
 
2925
# We need awk for the "check" target.  The system "awk" is bad on
 
 
2927
# Always define AMTAR for backward compatibility.
 
 
2929
AMTAR=${AMTAR-"${am_missing_run}tar"}
 
 
2931
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 
 
2938
ac_config_headers="$ac_config_headers config.h"
 
 
2941
# checks for programs.
 
 
2943
ac_cpp='$CXXCPP $CPPFLAGS'
 
 
2944
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
 
2945
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
 
2946
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
 
2947
if test -z "$CXX"; then
 
 
2948
  if test -n "$CCC"; then
 
 
2951
    if test -n "$ac_tool_prefix"; then
 
 
2952
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
 
2954
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
 
2955
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
 
2956
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
2957
$as_echo_n "checking for $ac_word... " >&6; }
 
 
2958
if test "${ac_cv_prog_CXX+set}" = set; then :
 
 
2959
  $as_echo_n "(cached) " >&6
 
 
2961
  if test -n "$CXX"; then
 
 
2962
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
 
 
2964
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
2968
  test -z "$as_dir" && as_dir=.
 
 
2969
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
2970
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
2971
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 
 
2972
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
2982
if test -n "$CXX"; then
 
 
2983
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
 
 
2984
$as_echo "$CXX" >&6; }
 
 
2986
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
2987
$as_echo "no" >&6; }
 
 
2991
    test -n "$CXX" && break
 
 
2994
if test -z "$CXX"; then
 
 
2996
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
 
2998
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
 
2999
set dummy $ac_prog; ac_word=$2
 
 
3000
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
3001
$as_echo_n "checking for $ac_word... " >&6; }
 
 
3002
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
 
 
3003
  $as_echo_n "(cached) " >&6
 
 
3005
  if test -n "$ac_ct_CXX"; then
 
 
3006
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 
 
3008
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
3012
  test -z "$as_dir" && as_dir=.
 
 
3013
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
3014
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
3015
    ac_cv_prog_ac_ct_CXX="$ac_prog"
 
 
3016
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
3025
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 
 
3026
if test -n "$ac_ct_CXX"; then
 
 
3027
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
 
 
3028
$as_echo "$ac_ct_CXX" >&6; }
 
 
3030
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
3031
$as_echo "no" >&6; }
 
 
3035
  test -n "$ac_ct_CXX" && break
 
 
3038
  if test "x$ac_ct_CXX" = x; then
 
 
3041
    case $cross_compiling:$ac_tool_warned in
 
 
3043
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
 
3044
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
 
3045
ac_tool_warned=yes ;;
 
 
3053
# Provide some information about the compiler.
 
 
3054
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
 
 
3057
for ac_option in --version -v -V -qversion; do
 
 
3058
  { { ac_try="$ac_compiler $ac_option >&5"
 
 
3060
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
 
3061
  *) ac_try_echo=$ac_try;;
 
 
3063
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
 
3064
$as_echo "$ac_try_echo"; } >&5
 
 
3065
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
 
3067
  if test -s conftest.err; then
 
 
3069
... rest of stderr output deleted ...
 
 
3070
         10q' conftest.err >conftest.er1
 
 
3071
    cat conftest.er1 >&5
 
 
3072
    rm -f conftest.er1 conftest.err
 
 
3074
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
 
3075
  test $ac_status = 0; }
 
 
3078
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
3079
/* end confdefs.h.  */
 
 
3084
FILE *f = fopen ("conftest.out", "w");
 
 
3085
 return ferror (f) || fclose (f) != 0;
 
 
3091
ac_clean_files_save=$ac_clean_files
 
 
3092
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
 
 
3093
# Try to create an executable without -o first, disregard a.out.
 
 
3094
# It will help us diagnose broken compilers, and finding out an intuition
 
 
3096
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
 
 
3097
$as_echo_n "checking for C++ compiler default output file name... " >&6; }
 
 
3098
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
 
3100
# The possible output files:
 
 
3101
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
 
3104
for ac_file in $ac_files
 
 
3107
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
 
3108
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
 
3113
if { { ac_try="$ac_link_default"
 
 
3115
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
 
3116
  *) ac_try_echo=$ac_try;;
 
 
3118
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
 
3119
$as_echo "$ac_try_echo"; } >&5
 
 
3120
  (eval "$ac_link_default") 2>&5
 
 
3122
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
 
3123
  test $ac_status = 0; }; then :
 
 
3124
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
 
3125
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
 
3126
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
 
3127
# so that the user can short-circuit this test for compilers unknown to
 
 
3129
for ac_file in $ac_files ''
 
 
3131
  test -f "$ac_file" || continue
 
 
3133
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 
 
3136
        # We found the default executable, but exeext='' is most
 
 
3140
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
 
3142
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
 
3144
        # We set ac_cv_exeext here because the later test for it is not
 
 
3145
        # safe: cross compilers may not add the suffix if given an `-o'
 
 
3146
        # argument, so we may need to know it at that point already.
 
 
3147
        # Even if this section looks crufty: it has the advantage of
 
 
3154
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
 
3159
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 
 
3160
$as_echo "$ac_file" >&6; }
 
 
3161
if test -z "$ac_file"; then :
 
 
3162
  $as_echo "$as_me: failed program was:" >&5
 
 
3163
sed 's/^/| /' conftest.$ac_ext >&5
 
 
3165
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
 
3166
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
 
3167
{ as_fn_set_status 77
 
 
3168
as_fn_error "C++ compiler cannot create executables
 
 
3169
See \`config.log' for more details." "$LINENO" 5; }; }
 
 
3171
ac_exeext=$ac_cv_exeext
 
 
3173
# Check that the compiler produces executables we can run.  If not, either
 
 
3174
# the compiler is broken, or we cross compile.
 
 
3175
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
 
 
3176
$as_echo_n "checking whether the C++ compiler works... " >&6; }
 
 
3177
# If not cross compiling, check that we can run a simple program.
 
 
3178
if test "$cross_compiling" != yes; then
 
 
3179
  if { ac_try='./$ac_file'
 
 
3180
  { { case "(($ac_try" in
 
 
3181
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
 
3182
  *) ac_try_echo=$ac_try;;
 
 
3184
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
 
3185
$as_echo "$ac_try_echo"; } >&5
 
 
3186
  (eval "$ac_try") 2>&5
 
 
3188
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
 
3189
  test $ac_status = 0; }; }; then
 
 
3192
    if test "$cross_compiling" = maybe; then
 
 
3195
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
 
3196
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
 
3197
as_fn_error "cannot run C++ compiled programs.
 
 
3198
If you meant to cross compile, use \`--host'.
 
 
3199
See \`config.log' for more details." "$LINENO" 5; }
 
 
3203
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
 
3204
$as_echo "yes" >&6; }
 
 
3206
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
 
 
3207
ac_clean_files=$ac_clean_files_save
 
 
3208
# Check that the compiler produces executables we can run.  If not, either
 
 
3209
# the compiler is broken, or we cross compile.
 
 
3210
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
 
3211
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
 
3212
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
 
3213
$as_echo "$cross_compiling" >&6; }
 
 
3215
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 
 
3216
$as_echo_n "checking for suffix of executables... " >&6; }
 
 
3217
if { { ac_try="$ac_link"
 
 
3219
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
 
3220
  *) ac_try_echo=$ac_try;;
 
 
3222
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
 
3223
$as_echo "$ac_try_echo"; } >&5
 
 
3224
  (eval "$ac_link") 2>&5
 
 
3226
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
 
3227
  test $ac_status = 0; }; then :
 
 
3228
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
 
 
3229
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 
 
3230
# work properly (i.e., refer to `conftest.exe'), while it won't with
 
 
3232
for ac_file in conftest.exe conftest conftest.*; do
 
 
3233
  test -f "$ac_file" || continue
 
 
3235
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
 
3236
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
 
3242
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
 
3243
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
 
3244
as_fn_error "cannot compute suffix of executables: cannot compile and link
 
 
3245
See \`config.log' for more details." "$LINENO" 5; }
 
 
3247
rm -f conftest$ac_cv_exeext
 
 
3248
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 
 
3249
$as_echo "$ac_cv_exeext" >&6; }
 
 
3251
rm -f conftest.$ac_ext
 
 
3252
EXEEXT=$ac_cv_exeext
 
 
3254
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 
 
3255
$as_echo_n "checking for suffix of object files... " >&6; }
 
 
3256
if test "${ac_cv_objext+set}" = set; then :
 
 
3257
  $as_echo_n "(cached) " >&6
 
 
3259
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
3260
/* end confdefs.h.  */
 
 
3270
rm -f conftest.o conftest.obj
 
 
3271
if { { ac_try="$ac_compile"
 
 
3273
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
 
3274
  *) ac_try_echo=$ac_try;;
 
 
3276
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
 
3277
$as_echo "$ac_try_echo"; } >&5
 
 
3278
  (eval "$ac_compile") 2>&5
 
 
3280
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
 
3281
  test $ac_status = 0; }; then :
 
 
3282
  for ac_file in conftest.o conftest.obj conftest.*; do
 
 
3283
  test -f "$ac_file" || continue;
 
 
3285
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 
 
3286
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 
 
3291
  $as_echo "$as_me: failed program was:" >&5
 
 
3292
sed 's/^/| /' conftest.$ac_ext >&5
 
 
3294
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
 
3295
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
 
3296
as_fn_error "cannot compute suffix of object files: cannot compile
 
 
3297
See \`config.log' for more details." "$LINENO" 5; }
 
 
3299
rm -f conftest.$ac_cv_objext conftest.$ac_ext
 
 
3301
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 
 
3302
$as_echo "$ac_cv_objext" >&6; }
 
 
3303
OBJEXT=$ac_cv_objext
 
 
3305
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
 
 
3306
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
 
 
3307
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
 
 
3308
  $as_echo_n "(cached) " >&6
 
 
3310
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
3311
/* end confdefs.h.  */
 
 
3324
if ac_fn_cxx_try_compile "$LINENO"; then :
 
 
3329
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
 
3330
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 
 
3333
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
 
 
3334
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 
 
3335
if test $ac_compiler_gnu = yes; then
 
 
3340
ac_test_CXXFLAGS=${CXXFLAGS+set}
 
 
3341
ac_save_CXXFLAGS=$CXXFLAGS
 
 
3342
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
 
 
3343
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
 
 
3344
if test "${ac_cv_prog_cxx_g+set}" = set; then :
 
 
3345
  $as_echo_n "(cached) " >&6
 
 
3347
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
 
3348
   ac_cxx_werror_flag=yes
 
 
3351
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
3352
/* end confdefs.h.  */
 
 
3362
if ac_fn_cxx_try_compile "$LINENO"; then :
 
 
3363
  ac_cv_prog_cxx_g=yes
 
 
3366
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
3367
/* end confdefs.h.  */
 
 
3377
if ac_fn_cxx_try_compile "$LINENO"; then :
 
 
3380
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
 
3382
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
3383
/* end confdefs.h.  */
 
 
3393
if ac_fn_cxx_try_compile "$LINENO"; then :
 
 
3394
  ac_cv_prog_cxx_g=yes
 
 
3396
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
 
3398
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
 
3400
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
 
3401
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
 
3403
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
 
 
3404
$as_echo "$ac_cv_prog_cxx_g" >&6; }
 
 
3405
if test "$ac_test_CXXFLAGS" = set; then
 
 
3406
  CXXFLAGS=$ac_save_CXXFLAGS
 
 
3407
elif test $ac_cv_prog_cxx_g = yes; then
 
 
3408
  if test "$GXX" = yes; then
 
 
3414
  if test "$GXX" = yes; then
 
 
3421
ac_cpp='$CPP $CPPFLAGS'
 
 
3422
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
 
3423
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
 
3424
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
3425
DEPDIR="${am__leading_dot}deps"
 
 
3427
ac_config_commands="$ac_config_commands depfiles"
 
 
3430
am_make=${MAKE-make}
 
 
3431
cat > confinc << 'END'
 
 
3433
        @echo this is the am__doit target
 
 
3436
# If we don't find an include directive, just comment out the code.
 
 
3437
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 
 
3438
$as_echo_n "checking for style of include used by $am_make... " >&6; }
 
 
3442
# First try GNU make style include.
 
 
3443
echo "include confinc" > confmf
 
 
3444
# Ignore all kinds of additional output from `make'.
 
 
3445
case `$am_make -s -f confmf 2> /dev/null` in #(
 
 
3446
*the\ am__doit\ target*)
 
 
3452
# Now try BSD make style include.
 
 
3453
if test "$am__include" = "#"; then
 
 
3454
   echo '.include "confinc"' > confmf
 
 
3455
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
 
3456
   *the\ am__doit\ target*)
 
 
3457
     am__include=.include
 
 
3465
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 
 
3466
$as_echo "$_am_result" >&6; }
 
 
3467
rm -f confinc confmf
 
 
3469
# Check whether --enable-dependency-tracking was given.
 
 
3470
if test "${enable_dependency_tracking+set}" = set; then :
 
 
3471
  enableval=$enable_dependency_tracking;
 
 
3474
if test "x$enable_dependency_tracking" != xno; then
 
 
3475
  am_depcomp="$ac_aux_dir/depcomp"
 
 
3478
 if test "x$enable_dependency_tracking" != xno; then
 
 
3488
depcc="$CXX"  am_compiler_list=
 
 
3490
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
 
3491
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
 
3492
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
 
 
3493
  $as_echo_n "(cached) " >&6
 
 
3495
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
 
3496
  # We make a subdir and do the tests there.  Otherwise we can end up
 
 
3497
  # making bogus files that we don't know about and never remove.  For
 
 
3498
  # instance it was reported that on HP-UX the gcc test will end up
 
 
3499
  # making a dummy file named `D' -- because `-MD' means `put the output
 
 
3502
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
 
3503
  # using a relative directory.
 
 
3504
  cp "$am_depcomp" conftest.dir
 
 
3506
  # We will build objects and dependencies in a subdirectory because
 
 
3507
  # it helps to detect inapplicable dependency modes.  For instance
 
 
3508
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
 
3509
  # side effect of compilation, but ICC will put the dependencies in
 
 
3510
  # the current directory while Tru64 will put them in the object
 
 
3514
  am_cv_CXX_dependencies_compiler_type=none
 
 
3515
  if test "$am_compiler_list" = ""; then
 
 
3516
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
 
3519
  case " $depcc " in #(
 
 
3520
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
 
3523
  for depmode in $am_compiler_list; do
 
 
3524
    # Setup a source with many dependencies, because some compilers
 
 
3525
    # like to wrap large dependency lists on column 80 (with \), and
 
 
3526
    # we should not choose a depcomp mode which is confused by this.
 
 
3528
    # We need to recreate these files for each test, as the compiler may
 
 
3529
    # overwrite some of them when testing with obscure command lines.
 
 
3530
    # This happens at least with the AIX C compiler.
 
 
3532
    for i in 1 2 3 4 5 6; do
 
 
3533
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
 
3534
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
 
3535
      # Solaris 8's {/usr,}/bin/sh.
 
 
3536
      touch sub/conftst$i.h
 
 
3538
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
 
3540
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
 
3541
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
 
3542
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
 
3543
    # versions had trouble with output in subdirs
 
 
3544
    am__obj=sub/conftest.${OBJEXT-o}
 
 
3545
    am__minus_obj="-o $am__obj"
 
 
3548
      # This depmode causes a compiler race in universal mode.
 
 
3549
      test "$am__universal" = false || continue
 
 
3552
      # after this tag, mechanisms are not by side-effect, so they'll
 
 
3553
      # only be used when explicitly requested
 
 
3554
      if test "x$enable_dependency_tracking" = xyes; then
 
 
3560
    msvisualcpp | msvcmsys)
 
 
3561
      # This compiler won't grok `-c -o', but also, the minuso test has
 
 
3562
      # not run yet.  These depmodes are late enough in the game, and
 
 
3563
      # so weak that their functioning should not be impacted.
 
 
3564
      am__obj=conftest.${OBJEXT-o}
 
 
3569
    if depmode=$depmode \
 
 
3570
       source=sub/conftest.c object=$am__obj \
 
 
3571
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
 
3572
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 
 
3573
         >/dev/null 2>conftest.err &&
 
 
3574
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
 
3575
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
 
3576
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 
 
3577
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
 
3578
      # icc doesn't choke on unknown options, it will just issue warnings
 
 
3579
      # or remarks (even with -Werror).  So we grep stderr for any message
 
 
3580
      # that says an option was ignored or not supported.
 
 
3581
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
 
3582
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
 
3583
      # The diagnosis changed in icc 8.0:
 
 
3584
      #   icc: Command line remark: option '-MP' not supported
 
 
3585
      if (grep 'ignoring option' conftest.err ||
 
 
3586
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
 
3587
        am_cv_CXX_dependencies_compiler_type=$depmode
 
 
3596
  am_cv_CXX_dependencies_compiler_type=none
 
 
3600
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
 
3601
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
 
 
3602
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
 
 
3605
  test "x$enable_dependency_tracking" != xno \
 
 
3606
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
 
 
3607
  am__fastdepCXX_TRUE=
 
 
3608
  am__fastdepCXX_FALSE='#'
 
 
3610
  am__fastdepCXX_TRUE='#'
 
 
3611
  am__fastdepCXX_FALSE=
 
 
3617
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
 
3618
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
 
3623
macro_version='2.2.6'
 
 
3624
macro_revision='1.3012'
 
 
3638
ltmain="$ac_aux_dir/ltmain.sh"
 
 
3640
# Make sure we can run config.sub.
 
 
3641
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
 
3642
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 
 
3644
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 
 
3645
$as_echo_n "checking build system type... " >&6; }
 
 
3646
if test "${ac_cv_build+set}" = set; then :
 
 
3647
  $as_echo_n "(cached) " >&6
 
 
3649
  ac_build_alias=$build_alias
 
 
3650
test "x$ac_build_alias" = x &&
 
 
3651
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
 
3652
test "x$ac_build_alias" = x &&
 
 
3653
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
 
 
3654
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
 
3655
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 
 
3658
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 
 
3659
$as_echo "$ac_cv_build" >&6; }
 
 
3660
case $ac_cv_build in
 
 
3662
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
 
 
3665
ac_save_IFS=$IFS; IFS='-'
 
 
3671
# Remember, the first character of IFS is used to create $*,
 
 
3672
# except with old shells:
 
 
3675
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
 
3678
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 
 
3679
$as_echo_n "checking host system type... " >&6; }
 
 
3680
if test "${ac_cv_host+set}" = set; then :
 
 
3681
  $as_echo_n "(cached) " >&6
 
 
3683
  if test "x$host_alias" = x; then
 
 
3684
  ac_cv_host=$ac_cv_build
 
 
3686
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
 
3687
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 
 
3691
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 
 
3692
$as_echo "$ac_cv_host" >&6; }
 
 
3695
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
 
 
3698
ac_save_IFS=$IFS; IFS='-'
 
 
3704
# Remember, the first character of IFS is used to create $*,
 
 
3705
# except with old shells:
 
 
3708
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
 
3712
ac_cpp='$CPP $CPPFLAGS'
 
 
3713
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
 
3714
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
 
3715
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
3716
if test -n "$ac_tool_prefix"; then
 
 
3717
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
 
3718
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
 
3719
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
3720
$as_echo_n "checking for $ac_word... " >&6; }
 
 
3721
if test "${ac_cv_prog_CC+set}" = set; then :
 
 
3722
  $as_echo_n "(cached) " >&6
 
 
3724
  if test -n "$CC"; then
 
 
3725
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
 
3727
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
3731
  test -z "$as_dir" && as_dir=.
 
 
3732
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
3733
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
3734
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
 
3735
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
3745
if test -n "$CC"; then
 
 
3746
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
 
3747
$as_echo "$CC" >&6; }
 
 
3749
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
3750
$as_echo "no" >&6; }
 
 
3755
if test -z "$ac_cv_prog_CC"; then
 
 
3757
  # Extract the first word of "gcc", so it can be a program name with args.
 
 
3758
set dummy gcc; ac_word=$2
 
 
3759
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
3760
$as_echo_n "checking for $ac_word... " >&6; }
 
 
3761
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
 
3762
  $as_echo_n "(cached) " >&6
 
 
3764
  if test -n "$ac_ct_CC"; then
 
 
3765
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
 
3767
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
3771
  test -z "$as_dir" && as_dir=.
 
 
3772
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
3773
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
3774
    ac_cv_prog_ac_ct_CC="gcc"
 
 
3775
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
3784
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
 
3785
if test -n "$ac_ct_CC"; then
 
 
3786
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
 
3787
$as_echo "$ac_ct_CC" >&6; }
 
 
3789
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
3790
$as_echo "no" >&6; }
 
 
3793
  if test "x$ac_ct_CC" = x; then
 
 
3796
    case $cross_compiling:$ac_tool_warned in
 
 
3798
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
 
3799
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
 
3800
ac_tool_warned=yes ;;
 
 
3808
if test -z "$CC"; then
 
 
3809
          if test -n "$ac_tool_prefix"; then
 
 
3810
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
 
3811
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
 
3812
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
3813
$as_echo_n "checking for $ac_word... " >&6; }
 
 
3814
if test "${ac_cv_prog_CC+set}" = set; then :
 
 
3815
  $as_echo_n "(cached) " >&6
 
 
3817
  if test -n "$CC"; then
 
 
3818
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
 
3820
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
3824
  test -z "$as_dir" && as_dir=.
 
 
3825
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
3826
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
3827
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
 
3828
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
3838
if test -n "$CC"; then
 
 
3839
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
 
3840
$as_echo "$CC" >&6; }
 
 
3842
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
3843
$as_echo "no" >&6; }
 
 
3849
if test -z "$CC"; then
 
 
3850
  # Extract the first word of "cc", so it can be a program name with args.
 
 
3851
set dummy cc; ac_word=$2
 
 
3852
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
3853
$as_echo_n "checking for $ac_word... " >&6; }
 
 
3854
if test "${ac_cv_prog_CC+set}" = set; then :
 
 
3855
  $as_echo_n "(cached) " >&6
 
 
3857
  if test -n "$CC"; then
 
 
3858
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
 
3861
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
3865
  test -z "$as_dir" && as_dir=.
 
 
3866
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
3867
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
3868
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
 
3869
       ac_prog_rejected=yes
 
 
3873
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
3880
if test $ac_prog_rejected = yes; then
 
 
3881
  # We found a bogon in the path, so make sure we never use it.
 
 
3882
  set dummy $ac_cv_prog_CC
 
 
3884
  if test $# != 0; then
 
 
3885
    # We chose a different compiler from the bogus one.
 
 
3886
    # However, it has the same basename, so the bogon will be chosen
 
 
3887
    # first if we set CC to just the basename; use the full file name.
 
 
3889
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
 
3895
if test -n "$CC"; then
 
 
3896
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
 
3897
$as_echo "$CC" >&6; }
 
 
3899
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
3900
$as_echo "no" >&6; }
 
 
3905
if test -z "$CC"; then
 
 
3906
  if test -n "$ac_tool_prefix"; then
 
 
3907
  for ac_prog in cl.exe
 
 
3909
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
 
3910
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
 
3911
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
3912
$as_echo_n "checking for $ac_word... " >&6; }
 
 
3913
if test "${ac_cv_prog_CC+set}" = set; then :
 
 
3914
  $as_echo_n "(cached) " >&6
 
 
3916
  if test -n "$CC"; then
 
 
3917
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
 
3919
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
3923
  test -z "$as_dir" && as_dir=.
 
 
3924
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
3925
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
3926
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
 
3927
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
3937
if test -n "$CC"; then
 
 
3938
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
 
3939
$as_echo "$CC" >&6; }
 
 
3941
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
3942
$as_echo "no" >&6; }
 
 
3946
    test -n "$CC" && break
 
 
3949
if test -z "$CC"; then
 
 
3951
  for ac_prog in cl.exe
 
 
3953
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
 
3954
set dummy $ac_prog; ac_word=$2
 
 
3955
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
3956
$as_echo_n "checking for $ac_word... " >&6; }
 
 
3957
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
 
3958
  $as_echo_n "(cached) " >&6
 
 
3960
  if test -n "$ac_ct_CC"; then
 
 
3961
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
 
3963
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
3967
  test -z "$as_dir" && as_dir=.
 
 
3968
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
3969
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
3970
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
 
3971
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
3980
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
 
3981
if test -n "$ac_ct_CC"; then
 
 
3982
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
 
3983
$as_echo "$ac_ct_CC" >&6; }
 
 
3985
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
3986
$as_echo "no" >&6; }
 
 
3990
  test -n "$ac_ct_CC" && break
 
 
3993
  if test "x$ac_ct_CC" = x; then
 
 
3996
    case $cross_compiling:$ac_tool_warned in
 
 
3998
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
 
3999
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
 
4000
ac_tool_warned=yes ;;
 
 
4009
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
 
4010
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
 
4011
as_fn_error "no acceptable C compiler found in \$PATH
 
 
4012
See \`config.log' for more details." "$LINENO" 5; }
 
 
4014
# Provide some information about the compiler.
 
 
4015
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
 
4018
for ac_option in --version -v -V -qversion; do
 
 
4019
  { { ac_try="$ac_compiler $ac_option >&5"
 
 
4021
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
 
4022
  *) ac_try_echo=$ac_try;;
 
 
4024
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
 
4025
$as_echo "$ac_try_echo"; } >&5
 
 
4026
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
 
4028
  if test -s conftest.err; then
 
 
4030
... rest of stderr output deleted ...
 
 
4031
         10q' conftest.err >conftest.er1
 
 
4032
    cat conftest.er1 >&5
 
 
4033
    rm -f conftest.er1 conftest.err
 
 
4035
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
 
4036
  test $ac_status = 0; }
 
 
4039
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
 
4040
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
 
4041
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
 
4042
  $as_echo_n "(cached) " >&6
 
 
4044
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
4045
/* end confdefs.h.  */
 
 
4058
if ac_fn_c_try_compile "$LINENO"; then :
 
 
4063
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
 
4064
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
 
4067
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
 
4068
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
 
4069
if test $ac_compiler_gnu = yes; then
 
 
4074
ac_test_CFLAGS=${CFLAGS+set}
 
 
4075
ac_save_CFLAGS=$CFLAGS
 
 
4076
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
 
4077
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
 
4078
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
 
4079
  $as_echo_n "(cached) " >&6
 
 
4081
  ac_save_c_werror_flag=$ac_c_werror_flag
 
 
4082
   ac_c_werror_flag=yes
 
 
4085
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
4086
/* end confdefs.h.  */
 
 
4096
if ac_fn_c_try_compile "$LINENO"; then :
 
 
4100
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
4101
/* end confdefs.h.  */
 
 
4111
if ac_fn_c_try_compile "$LINENO"; then :
 
 
4114
  ac_c_werror_flag=$ac_save_c_werror_flag
 
 
4116
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
4117
/* end confdefs.h.  */
 
 
4127
if ac_fn_c_try_compile "$LINENO"; then :
 
 
4130
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
 
4132
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
 
4134
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
 
4135
   ac_c_werror_flag=$ac_save_c_werror_flag
 
 
4137
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
 
4138
$as_echo "$ac_cv_prog_cc_g" >&6; }
 
 
4139
if test "$ac_test_CFLAGS" = set; then
 
 
4140
  CFLAGS=$ac_save_CFLAGS
 
 
4141
elif test $ac_cv_prog_cc_g = yes; then
 
 
4142
  if test "$GCC" = yes; then
 
 
4148
  if test "$GCC" = yes; then
 
 
4154
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
 
4155
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
 
4156
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
 
4157
  $as_echo_n "(cached) " >&6
 
 
4159
  ac_cv_prog_cc_c89=no
 
 
4161
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
4162
/* end confdefs.h.  */
 
 
4165
#include <sys/types.h>
 
 
4166
#include <sys/stat.h>
 
 
4167
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
 
4168
struct buf { int x; };
 
 
4169
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
 
4170
static char *e (p, i)
 
 
4176
static char *f (char * (*g) (char **, int), char **p, ...)
 
 
4181
  s = g (p, va_arg (v,int));
 
 
4186
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
 
4187
   function prototypes and stuff, but not '\xHH' hex character constants.
 
 
4188
   These don't provoke an error unfortunately, instead are silently treated
 
 
4189
   as 'x'.  The following induces an error, until -std is added to get
 
 
4190
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
 
4191
   array size at least.  It's necessary to write '\x00'==0 to get something
 
 
4192
   that's true only with -std.  */
 
 
4193
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
 
4195
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
 
4196
   inside strings and character constants.  */
 
 
4198
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
 
4200
int test (int i, double x);
 
 
4201
struct s1 {int (*f) (int a);};
 
 
4202
struct s2 {int (*f) (double a);};
 
 
4203
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
 
4209
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
 
4214
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
 
4215
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
 
4217
  CC="$ac_save_CC $ac_arg"
 
 
4218
  if ac_fn_c_try_compile "$LINENO"; then :
 
 
4219
  ac_cv_prog_cc_c89=$ac_arg
 
 
4221
rm -f core conftest.err conftest.$ac_objext
 
 
4222
  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
 
4224
rm -f conftest.$ac_ext
 
 
4229
case "x$ac_cv_prog_cc_c89" in
 
 
4231
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
 
4232
$as_echo "none needed" >&6; } ;;
 
 
4234
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
 
4235
$as_echo "unsupported" >&6; } ;;
 
 
4237
    CC="$CC $ac_cv_prog_cc_c89"
 
 
4238
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
 
4239
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 
 
4241
if test "x$ac_cv_prog_cc_c89" != xno; then :
 
 
4246
ac_cpp='$CPP $CPPFLAGS'
 
 
4247
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
 
4248
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
 
4249
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
4251
depcc="$CC"   am_compiler_list=
 
 
4253
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
 
4254
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
 
4255
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
 
4256
  $as_echo_n "(cached) " >&6
 
 
4258
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
 
4259
  # We make a subdir and do the tests there.  Otherwise we can end up
 
 
4260
  # making bogus files that we don't know about and never remove.  For
 
 
4261
  # instance it was reported that on HP-UX the gcc test will end up
 
 
4262
  # making a dummy file named `D' -- because `-MD' means `put the output
 
 
4265
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
 
4266
  # using a relative directory.
 
 
4267
  cp "$am_depcomp" conftest.dir
 
 
4269
  # We will build objects and dependencies in a subdirectory because
 
 
4270
  # it helps to detect inapplicable dependency modes.  For instance
 
 
4271
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
 
4272
  # side effect of compilation, but ICC will put the dependencies in
 
 
4273
  # the current directory while Tru64 will put them in the object
 
 
4277
  am_cv_CC_dependencies_compiler_type=none
 
 
4278
  if test "$am_compiler_list" = ""; then
 
 
4279
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
 
4282
  case " $depcc " in #(
 
 
4283
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
 
4286
  for depmode in $am_compiler_list; do
 
 
4287
    # Setup a source with many dependencies, because some compilers
 
 
4288
    # like to wrap large dependency lists on column 80 (with \), and
 
 
4289
    # we should not choose a depcomp mode which is confused by this.
 
 
4291
    # We need to recreate these files for each test, as the compiler may
 
 
4292
    # overwrite some of them when testing with obscure command lines.
 
 
4293
    # This happens at least with the AIX C compiler.
 
 
4295
    for i in 1 2 3 4 5 6; do
 
 
4296
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
 
4297
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
 
4298
      # Solaris 8's {/usr,}/bin/sh.
 
 
4299
      touch sub/conftst$i.h
 
 
4301
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
 
4303
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
 
4304
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
 
4305
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
 
4306
    # versions had trouble with output in subdirs
 
 
4307
    am__obj=sub/conftest.${OBJEXT-o}
 
 
4308
    am__minus_obj="-o $am__obj"
 
 
4311
      # This depmode causes a compiler race in universal mode.
 
 
4312
      test "$am__universal" = false || continue
 
 
4315
      # after this tag, mechanisms are not by side-effect, so they'll
 
 
4316
      # only be used when explicitly requested
 
 
4317
      if test "x$enable_dependency_tracking" = xyes; then
 
 
4323
    msvisualcpp | msvcmsys)
 
 
4324
      # This compiler won't grok `-c -o', but also, the minuso test has
 
 
4325
      # not run yet.  These depmodes are late enough in the game, and
 
 
4326
      # so weak that their functioning should not be impacted.
 
 
4327
      am__obj=conftest.${OBJEXT-o}
 
 
4332
    if depmode=$depmode \
 
 
4333
       source=sub/conftest.c object=$am__obj \
 
 
4334
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
 
4335
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 
 
4336
         >/dev/null 2>conftest.err &&
 
 
4337
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
 
4338
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
 
4339
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 
 
4340
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
 
4341
      # icc doesn't choke on unknown options, it will just issue warnings
 
 
4342
      # or remarks (even with -Werror).  So we grep stderr for any message
 
 
4343
      # that says an option was ignored or not supported.
 
 
4344
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
 
4345
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
 
4346
      # The diagnosis changed in icc 8.0:
 
 
4347
      #   icc: Command line remark: option '-MP' not supported
 
 
4348
      if (grep 'ignoring option' conftest.err ||
 
 
4349
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
 
4350
        am_cv_CC_dependencies_compiler_type=$depmode
 
 
4359
  am_cv_CC_dependencies_compiler_type=none
 
 
4363
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 
 
4364
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 
 
4365
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
 
4368
  test "x$enable_dependency_tracking" != xno \
 
 
4369
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
 
4371
  am__fastdepCC_FALSE='#'
 
 
4373
  am__fastdepCC_TRUE='#'
 
 
4374
  am__fastdepCC_FALSE=
 
 
4378
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 
 
4379
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
 
4380
if test "${ac_cv_path_SED+set}" = set; then :
 
 
4381
  $as_echo_n "(cached) " >&6
 
 
4383
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
 
4384
     for ac_i in 1 2 3 4 5 6 7; do
 
 
4385
       ac_script="$ac_script$as_nl$ac_script"
 
 
4387
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
 
4388
     { ac_script=; unset ac_script;}
 
 
4389
     if test -z "$SED"; then
 
 
4390
  ac_path_SED_found=false
 
 
4391
  # Loop through the user's path and test for each of PROGNAME-LIST
 
 
4392
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
4396
  test -z "$as_dir" && as_dir=.
 
 
4397
    for ac_prog in sed gsed; do
 
 
4398
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
4399
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
 
4400
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
 
4401
# Check for GNU ac_path_SED and select it if it is found.
 
 
4402
  # Check for GNU $ac_path_SED
 
 
4403
case `"$ac_path_SED" --version 2>&1` in
 
 
4405
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
 
4408
  $as_echo_n 0123456789 >"conftest.in"
 
 
4411
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
 
4412
    mv "conftest.tmp" "conftest.in"
 
 
4413
    cp "conftest.in" "conftest.nl"
 
 
4414
    $as_echo '' >> "conftest.nl"
 
 
4415
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
 
4416
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
 
4417
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
 
4418
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
 
4419
      # Best one so far, save it but keep looking for a better one
 
 
4420
      ac_cv_path_SED="$ac_path_SED"
 
 
4421
      ac_path_SED_max=$ac_count
 
 
4423
    # 10*(2^10) chars as input seems more than enough
 
 
4424
    test $ac_count -gt 10 && break
 
 
4426
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
 
4429
      $ac_path_SED_found && break 3
 
 
4434
  if test -z "$ac_cv_path_SED"; then
 
 
4435
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
 
4442
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 
 
4443
$as_echo "$ac_cv_path_SED" >&6; }
 
 
4444
 SED="$ac_cv_path_SED"
 
 
4447
test -z "$SED" && SED=sed
 
 
4448
Xsed="$SED -e 1s/^X//"
 
 
4460
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 
 
4461
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
 
4462
if test "${ac_cv_path_GREP+set}" = set; then :
 
 
4463
  $as_echo_n "(cached) " >&6
 
 
4465
  if test -z "$GREP"; then
 
 
4466
  ac_path_GREP_found=false
 
 
4467
  # Loop through the user's path and test for each of PROGNAME-LIST
 
 
4468
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
4469
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
 
4472
  test -z "$as_dir" && as_dir=.
 
 
4473
    for ac_prog in grep ggrep; do
 
 
4474
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
4475
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
 
4476
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
 
4477
# Check for GNU ac_path_GREP and select it if it is found.
 
 
4478
  # Check for GNU $ac_path_GREP
 
 
4479
case `"$ac_path_GREP" --version 2>&1` in
 
 
4481
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
 
4484
  $as_echo_n 0123456789 >"conftest.in"
 
 
4487
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
 
4488
    mv "conftest.tmp" "conftest.in"
 
 
4489
    cp "conftest.in" "conftest.nl"
 
 
4490
    $as_echo 'GREP' >> "conftest.nl"
 
 
4491
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
 
4492
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
 
4493
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
 
4494
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
 
4495
      # Best one so far, save it but keep looking for a better one
 
 
4496
      ac_cv_path_GREP="$ac_path_GREP"
 
 
4497
      ac_path_GREP_max=$ac_count
 
 
4499
    # 10*(2^10) chars as input seems more than enough
 
 
4500
    test $ac_count -gt 10 && break
 
 
4502
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
 
4505
      $ac_path_GREP_found && break 3
 
 
4510
  if test -z "$ac_cv_path_GREP"; then
 
 
4511
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
 
4514
  ac_cv_path_GREP=$GREP
 
 
4518
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 
 
4519
$as_echo "$ac_cv_path_GREP" >&6; }
 
 
4520
 GREP="$ac_cv_path_GREP"
 
 
4523
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 
 
4524
$as_echo_n "checking for egrep... " >&6; }
 
 
4525
if test "${ac_cv_path_EGREP+set}" = set; then :
 
 
4526
  $as_echo_n "(cached) " >&6
 
 
4528
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
 
4529
   then ac_cv_path_EGREP="$GREP -E"
 
 
4531
     if test -z "$EGREP"; then
 
 
4532
  ac_path_EGREP_found=false
 
 
4533
  # Loop through the user's path and test for each of PROGNAME-LIST
 
 
4534
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
4535
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
 
4538
  test -z "$as_dir" && as_dir=.
 
 
4539
    for ac_prog in egrep; do
 
 
4540
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
4541
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
 
4542
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
 
4543
# Check for GNU ac_path_EGREP and select it if it is found.
 
 
4544
  # Check for GNU $ac_path_EGREP
 
 
4545
case `"$ac_path_EGREP" --version 2>&1` in
 
 
4547
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
 
4550
  $as_echo_n 0123456789 >"conftest.in"
 
 
4553
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
 
4554
    mv "conftest.tmp" "conftest.in"
 
 
4555
    cp "conftest.in" "conftest.nl"
 
 
4556
    $as_echo 'EGREP' >> "conftest.nl"
 
 
4557
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
 
4558
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
 
4559
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
 
4560
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
 
4561
      # Best one so far, save it but keep looking for a better one
 
 
4562
      ac_cv_path_EGREP="$ac_path_EGREP"
 
 
4563
      ac_path_EGREP_max=$ac_count
 
 
4565
    # 10*(2^10) chars as input seems more than enough
 
 
4566
    test $ac_count -gt 10 && break
 
 
4568
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
 
4571
      $ac_path_EGREP_found && break 3
 
 
4576
  if test -z "$ac_cv_path_EGREP"; then
 
 
4577
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
 
4580
  ac_cv_path_EGREP=$EGREP
 
 
4585
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 
 
4586
$as_echo "$ac_cv_path_EGREP" >&6; }
 
 
4587
 EGREP="$ac_cv_path_EGREP"
 
 
4590
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
 
 
4591
$as_echo_n "checking for fgrep... " >&6; }
 
 
4592
if test "${ac_cv_path_FGREP+set}" = set; then :
 
 
4593
  $as_echo_n "(cached) " >&6
 
 
4595
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 
 
4596
   then ac_cv_path_FGREP="$GREP -F"
 
 
4598
     if test -z "$FGREP"; then
 
 
4599
  ac_path_FGREP_found=false
 
 
4600
  # Loop through the user's path and test for each of PROGNAME-LIST
 
 
4601
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
4602
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
 
4605
  test -z "$as_dir" && as_dir=.
 
 
4606
    for ac_prog in fgrep; do
 
 
4607
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
4608
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 
 
4609
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
 
 
4610
# Check for GNU ac_path_FGREP and select it if it is found.
 
 
4611
  # Check for GNU $ac_path_FGREP
 
 
4612
case `"$ac_path_FGREP" --version 2>&1` in
 
 
4614
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 
 
4617
  $as_echo_n 0123456789 >"conftest.in"
 
 
4620
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
 
4621
    mv "conftest.tmp" "conftest.in"
 
 
4622
    cp "conftest.in" "conftest.nl"
 
 
4623
    $as_echo 'FGREP' >> "conftest.nl"
 
 
4624
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
 
4625
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
 
4626
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
 
4627
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 
 
4628
      # Best one so far, save it but keep looking for a better one
 
 
4629
      ac_cv_path_FGREP="$ac_path_FGREP"
 
 
4630
      ac_path_FGREP_max=$ac_count
 
 
4632
    # 10*(2^10) chars as input seems more than enough
 
 
4633
    test $ac_count -gt 10 && break
 
 
4635
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
 
4638
      $ac_path_FGREP_found && break 3
 
 
4643
  if test -z "$ac_cv_path_FGREP"; then
 
 
4644
    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
 
4647
  ac_cv_path_FGREP=$FGREP
 
 
4652
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
 
 
4653
$as_echo "$ac_cv_path_FGREP" >&6; }
 
 
4654
 FGREP="$ac_cv_path_FGREP"
 
 
4657
test -z "$GREP" && GREP=grep
 
 
4677
# Check whether --with-gnu-ld was given.
 
 
4678
if test "${with_gnu_ld+set}" = set; then :
 
 
4679
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 
 
4685
if test "$GCC" = yes; then
 
 
4686
  # Check if gcc -print-prog-name=ld gives a path.
 
 
4687
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
 
 
4688
$as_echo_n "checking for ld used by $CC... " >&6; }
 
 
4691
    # gcc leaves a trailing carriage return which upsets mingw
 
 
4692
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 
 
4694
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 
 
4697
    # Accept absolute paths.
 
 
4699
      re_direlt='/[^/][^/]*/\.\./'
 
 
4700
      # Canonicalize the pathname of ld
 
 
4701
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
 
4702
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
 
4703
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
 
 
4705
      test -z "$LD" && LD="$ac_prog"
 
 
4708
    # If it fails, then pretend we aren't using GCC.
 
 
4712
    # If it is relative, then search for the first ld in PATH.
 
 
4716
elif test "$with_gnu_ld" = yes; then
 
 
4717
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 
 
4718
$as_echo_n "checking for GNU ld... " >&6; }
 
 
4720
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 
 
4721
$as_echo_n "checking for non-GNU ld... " >&6; }
 
 
4723
if test "${lt_cv_path_LD+set}" = set; then :
 
 
4724
  $as_echo_n "(cached) " >&6
 
 
4726
  if test -z "$LD"; then
 
 
4727
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
 
4728
  for ac_dir in $PATH; do
 
 
4730
    test -z "$ac_dir" && ac_dir=.
 
 
4731
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 
 
4732
      lt_cv_path_LD="$ac_dir/$ac_prog"
 
 
4733
      # Check to see if the program is GNU ld.  I'd rather use --version,
 
 
4734
      # but apparently some variants of GNU ld only accept -v.
 
 
4735
      # Break only if it was the GNU/non-GNU ld that we prefer.
 
 
4736
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 
 
4737
      *GNU* | *'with BFD'*)
 
 
4738
        test "$with_gnu_ld" != no && break
 
 
4741
        test "$with_gnu_ld" != yes && break
 
 
4748
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
 
 
4753
if test -n "$LD"; then
 
 
4754
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 
 
4755
$as_echo "$LD" >&6; }
 
 
4757
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
4758
$as_echo "no" >&6; }
 
 
4760
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
 
4761
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 
 
4762
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 
 
4763
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
 
4764
  $as_echo_n "(cached) " >&6
 
 
4766
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
 
 
4767
case `$LD -v 2>&1 </dev/null` in
 
 
4768
*GNU* | *'with BFD'*)
 
 
4769
  lt_cv_prog_gnu_ld=yes
 
 
4772
  lt_cv_prog_gnu_ld=no
 
 
4776
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
 
 
4777
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
 
 
4778
with_gnu_ld=$lt_cv_prog_gnu_ld
 
 
4788
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
 
 
4789
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
 
 
4790
if test "${lt_cv_path_NM+set}" = set; then :
 
 
4791
  $as_echo_n "(cached) " >&6
 
 
4793
  if test -n "$NM"; then
 
 
4794
  # Let the user override the test.
 
 
4797
  lt_nm_to_check="${ac_tool_prefix}nm"
 
 
4798
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 
 
4799
    lt_nm_to_check="$lt_nm_to_check nm"
 
 
4801
  for lt_tmp_nm in $lt_nm_to_check; do
 
 
4802
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
 
4803
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 
 
4805
      test -z "$ac_dir" && ac_dir=.
 
 
4806
      tmp_nm="$ac_dir/$lt_tmp_nm"
 
 
4807
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 
 
4808
        # Check to see if the nm accepts a BSD-compat flag.
 
 
4809
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
 
 
4810
        #   nm: unknown option "B" ignored
 
 
4811
        # Tru64's nm complains that /dev/null is an invalid object file
 
 
4812
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 
 
4813
        */dev/null* | *'Invalid file or object type'*)
 
 
4814
          lt_cv_path_NM="$tmp_nm -B"
 
 
4818
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 
 
4820
            lt_cv_path_NM="$tmp_nm -p"
 
 
4824
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 
 
4825
            continue # so that we can try to find one that supports BSD flags
 
 
4834
  : ${lt_cv_path_NM=no}
 
 
4837
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
 
 
4838
$as_echo "$lt_cv_path_NM" >&6; }
 
 
4839
if test "$lt_cv_path_NM" != "no"; then
 
 
4842
  # Didn't find any BSD compatible name lister, look for dumpbin.
 
 
4843
  if test -n "$ac_tool_prefix"; then
 
 
4844
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
 
4846
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
 
4847
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
 
4848
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
4849
$as_echo_n "checking for $ac_word... " >&6; }
 
 
4850
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
 
 
4851
  $as_echo_n "(cached) " >&6
 
 
4853
  if test -n "$DUMPBIN"; then
 
 
4854
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 
 
4856
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
4860
  test -z "$as_dir" && as_dir=.
 
 
4861
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
4862
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
4863
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 
 
4864
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
4873
DUMPBIN=$ac_cv_prog_DUMPBIN
 
 
4874
if test -n "$DUMPBIN"; then
 
 
4875
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
 
 
4876
$as_echo "$DUMPBIN" >&6; }
 
 
4878
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
4879
$as_echo "no" >&6; }
 
 
4883
    test -n "$DUMPBIN" && break
 
 
4886
if test -z "$DUMPBIN"; then
 
 
4887
  ac_ct_DUMPBIN=$DUMPBIN
 
 
4888
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
 
4890
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
 
4891
set dummy $ac_prog; ac_word=$2
 
 
4892
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
4893
$as_echo_n "checking for $ac_word... " >&6; }
 
 
4894
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
 
 
4895
  $as_echo_n "(cached) " >&6
 
 
4897
  if test -n "$ac_ct_DUMPBIN"; then
 
 
4898
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 
 
4900
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
4904
  test -z "$as_dir" && as_dir=.
 
 
4905
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
4906
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
4907
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 
 
4908
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
4917
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 
 
4918
if test -n "$ac_ct_DUMPBIN"; then
 
 
4919
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
 
 
4920
$as_echo "$ac_ct_DUMPBIN" >&6; }
 
 
4922
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
4923
$as_echo "no" >&6; }
 
 
4927
  test -n "$ac_ct_DUMPBIN" && break
 
 
4930
  if test "x$ac_ct_DUMPBIN" = x; then
 
 
4933
    case $cross_compiling:$ac_tool_warned in
 
 
4935
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
 
4936
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
 
4937
ac_tool_warned=yes ;;
 
 
4939
    DUMPBIN=$ac_ct_DUMPBIN
 
 
4944
  if test "$DUMPBIN" != ":"; then
 
 
4948
test -z "$NM" && NM=nm
 
 
4955
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
 
 
4956
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
 
 
4957
if test "${lt_cv_nm_interface+set}" = set; then :
 
 
4958
  $as_echo_n "(cached) " >&6
 
 
4960
  lt_cv_nm_interface="BSD nm"
 
 
4961
  echo "int some_variable = 0;" > conftest.$ac_ext
 
 
4962
  (eval echo "\"\$as_me:4962: $ac_compile\"" >&5)
 
 
4963
  (eval "$ac_compile" 2>conftest.err)
 
 
4964
  cat conftest.err >&5
 
 
4965
  (eval echo "\"\$as_me:4965: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
 
4966
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 
 
4967
  cat conftest.err >&5
 
 
4968
  (eval echo "\"\$as_me:4968: output\"" >&5)
 
 
4969
  cat conftest.out >&5
 
 
4970
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 
 
4971
    lt_cv_nm_interface="MS dumpbin"
 
 
4975
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
 
 
4976
$as_echo "$lt_cv_nm_interface" >&6; }
 
 
4978
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 
 
4979
$as_echo_n "checking whether ln -s works... " >&6; }
 
 
4981
if test "$LN_S" = "ln -s"; then
 
 
4982
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
 
4983
$as_echo "yes" >&6; }
 
 
4985
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
 
 
4986
$as_echo "no, using $LN_S" >&6; }
 
 
4989
# find the maximum length of command line arguments
 
 
4990
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
 
 
4991
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
 
 
4992
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
 
 
4993
  $as_echo_n "(cached) " >&6
 
 
5000
    # On DJGPP, this test can blow up pretty badly due to problems in libc
 
 
5001
    # (any single argument exceeding 2000 bytes causes a buffer overrun
 
 
5002
    # during glob expansion).  Even if it were fixed, the result of this
 
 
5003
    # check would be larger than it should be.
 
 
5004
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 
 
5008
    # Under GNU Hurd, this test is not required because there is
 
 
5009
    # no limit to the length of command line arguments.
 
 
5010
    # Libtool will interpret -1 as no limit whatsoever
 
 
5011
    lt_cv_sys_max_cmd_len=-1;
 
 
5014
  cygwin* | mingw* | cegcc*)
 
 
5015
    # On Win9x/ME, this test blows up -- it succeeds, but takes
 
 
5016
    # about 5 minutes as the teststring grows exponentially.
 
 
5017
    # Worse, since 9x/ME are not pre-emptively multitasking,
 
 
5018
    # you end up with a "frozen" computer, even though with patience
 
 
5019
    # the test eventually succeeds (with a max line length of 256k).
 
 
5020
    # Instead, let's just punt: use the minimum linelength reported by
 
 
5021
    # all of the supported platforms: 8192 (on NT/2K/XP).
 
 
5022
    lt_cv_sys_max_cmd_len=8192;
 
 
5026
    # On AmigaOS with pdksh, this test takes hours, literally.
 
 
5027
    # So we just punt and use a minimum line length of 8192.
 
 
5028
    lt_cv_sys_max_cmd_len=8192;
 
 
5031
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
 
5032
    # This has been around since 386BSD, at least.  Likely further.
 
 
5033
    if test -x /sbin/sysctl; then
 
 
5034
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
 
5035
    elif test -x /usr/sbin/sysctl; then
 
 
5036
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
 
5038
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
 
5040
    # And add a safety zone
 
 
5041
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
 
5042
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
 
5046
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
 
5047
    lt_cv_sys_max_cmd_len=196608
 
 
5051
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
 
5052
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
 
5053
    # nice to cause kernel panics so lets avoid the loop below.
 
 
5054
    # First set a reasonable default.
 
 
5055
    lt_cv_sys_max_cmd_len=16384
 
 
5057
    if test -x /sbin/sysconfig; then
 
 
5058
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
 
5059
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
 
5064
    lt_cv_sys_max_cmd_len=102400
 
 
5066
  sysv5* | sco5v6* | sysv4.2uw2*)
 
 
5067
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
 
5068
    if test -n "$kargmax"; then
 
 
5069
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
 
 
5071
      lt_cv_sys_max_cmd_len=32768
 
 
5075
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
 
5076
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
 
5077
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
 
5078
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
 
5080
      # Make teststring a little bigger before we do anything with it.
 
 
5081
      # a 1K string should be a reasonable start.
 
 
5082
      for i in 1 2 3 4 5 6 7 8 ; do
 
 
5083
        teststring=$teststring$teststring
 
 
5085
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
 
5086
      # If test is not a shell built-in, we'll probably end up computing a
 
 
5087
      # maximum length that is only half of the actual maximum length, but
 
 
5089
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
 
 
5090
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
 
5091
              test $i != 17 # 1/2 MB should be enough
 
 
5094
        teststring=$teststring$teststring
 
 
5096
      # Only check the string length outside the loop.
 
 
5097
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 
 
5099
      # Add a significant safety factor because C++ compilers can tack on
 
 
5100
      # massive amounts of additional arguments before passing them to the
 
 
5101
      # linker.  It appears as though 1/2 is a usable value.
 
 
5102
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
 
5109
if test -n $lt_cv_sys_max_cmd_len ; then
 
 
5110
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
 
 
5111
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
 
 
5113
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
 
 
5114
$as_echo "none" >&6; }
 
 
5116
max_cmd_len=$lt_cv_sys_max_cmd_len
 
 
5127
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
 
 
5128
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
 
 
5129
# Try some XSI features
 
 
5132
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
 
 
5134
    && eval 'test $(( 1 + 1 )) -eq 2 \
 
 
5135
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 
 
5137
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
 
 
5138
$as_echo "$xsi_shell" >&6; }
 
 
5141
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
 
 
5142
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
 
 
5144
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
 
 
5146
  && lt_shell_append=yes
 
 
5147
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
 
 
5148
$as_echo "$lt_shell_append" >&6; }
 
 
5151
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
 
5161
# test EBCDIC or ASCII
 
 
5162
case `echo X|tr X '\101'` in
 
 
5163
 A) # ASCII based system
 
 
5164
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 
 
5165
  lt_SP2NL='tr \040 \012'
 
 
5166
  lt_NL2SP='tr \015\012 \040\040'
 
 
5168
 *) # EBCDIC based system
 
 
5169
  lt_SP2NL='tr \100 \n'
 
 
5170
  lt_NL2SP='tr \r\n \100\100'
 
 
5182
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
 
 
5183
$as_echo_n "checking for $LD option to reload object files... " >&6; }
 
 
5184
if test "${lt_cv_ld_reload_flag+set}" = set; then :
 
 
5185
  $as_echo_n "(cached) " >&6
 
 
5187
  lt_cv_ld_reload_flag='-r'
 
 
5189
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
 
 
5190
$as_echo "$lt_cv_ld_reload_flag" >&6; }
 
 
5191
reload_flag=$lt_cv_ld_reload_flag
 
 
5192
case $reload_flag in
 
 
5194
*) reload_flag=" $reload_flag" ;;
 
 
5196
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
 
5199
    if test "$GCC" = yes; then
 
 
5200
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
 
5202
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
 
5215
if test -n "$ac_tool_prefix"; then
 
 
5216
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
 
5217
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
 
5218
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
5219
$as_echo_n "checking for $ac_word... " >&6; }
 
 
5220
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
 
 
5221
  $as_echo_n "(cached) " >&6
 
 
5223
  if test -n "$OBJDUMP"; then
 
 
5224
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
 
5226
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
5230
  test -z "$as_dir" && as_dir=.
 
 
5231
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
5232
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
5233
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
 
5234
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
5243
OBJDUMP=$ac_cv_prog_OBJDUMP
 
 
5244
if test -n "$OBJDUMP"; then
 
 
5245
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
 
 
5246
$as_echo "$OBJDUMP" >&6; }
 
 
5248
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
5249
$as_echo "no" >&6; }
 
 
5254
if test -z "$ac_cv_prog_OBJDUMP"; then
 
 
5255
  ac_ct_OBJDUMP=$OBJDUMP
 
 
5256
  # Extract the first word of "objdump", so it can be a program name with args.
 
 
5257
set dummy objdump; ac_word=$2
 
 
5258
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
5259
$as_echo_n "checking for $ac_word... " >&6; }
 
 
5260
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
 
 
5261
  $as_echo_n "(cached) " >&6
 
 
5263
  if test -n "$ac_ct_OBJDUMP"; then
 
 
5264
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
 
5266
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
5270
  test -z "$as_dir" && as_dir=.
 
 
5271
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
5272
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
5273
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
 
5274
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
5283
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
 
5284
if test -n "$ac_ct_OBJDUMP"; then
 
 
5285
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
 
 
5286
$as_echo "$ac_ct_OBJDUMP" >&6; }
 
 
5288
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
5289
$as_echo "no" >&6; }
 
 
5292
  if test "x$ac_ct_OBJDUMP" = x; then
 
 
5295
    case $cross_compiling:$ac_tool_warned in
 
 
5297
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
 
5298
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
 
5299
ac_tool_warned=yes ;;
 
 
5301
    OBJDUMP=$ac_ct_OBJDUMP
 
 
5304
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
 
5307
test -z "$OBJDUMP" && OBJDUMP=objdump
 
 
5317
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
 
 
5318
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
 
 
5319
if test "${lt_cv_deplibs_check_method+set}" = set; then :
 
 
5320
  $as_echo_n "(cached) " >&6
 
 
5322
  lt_cv_file_magic_cmd='$MAGIC_CMD'
 
 
5323
lt_cv_file_magic_test_file=
 
 
5324
lt_cv_deplibs_check_method='unknown'
 
 
5325
# Need to set the preceding variable on all platforms that support
 
 
5326
# interlibrary dependencies.
 
 
5327
# 'none' -- dependencies not supported.
 
 
5328
# `unknown' -- same as none, but documents that we really don't know.
 
 
5329
# 'pass_all' -- all dependencies passed with no checks.
 
 
5330
# 'test_compile' -- check by making test program.
 
 
5331
# 'file_magic [[regex]]' -- check by looking for files in library path
 
 
5332
# which responds to the $file_magic_cmd with a given extended regex.
 
 
5333
# If you have `file' or equivalent on your system and you're not sure
 
 
5334
# whether `pass_all' will *always* work, you probably want this one.
 
 
5338
  lt_cv_deplibs_check_method=pass_all
 
 
5342
  lt_cv_deplibs_check_method=pass_all
 
 
5346
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
 
 
5347
  lt_cv_file_magic_cmd='/usr/bin/file -L'
 
 
5348
  lt_cv_file_magic_test_file=/shlib/libc.so
 
 
5352
  # func_win32_libid is a shell function defined in ltmain.sh
 
 
5353
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
 
5354
  lt_cv_file_magic_cmd='func_win32_libid'
 
 
5358
  # Base MSYS/MinGW do not provide the 'file' command needed by
 
 
5359
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 
 
5360
  # unless we find 'file', for example because we are cross-compiling.
 
 
5361
  if ( file / ) >/dev/null 2>&1; then
 
 
5362
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
 
5363
    lt_cv_file_magic_cmd='func_win32_libid'
 
 
5365
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
 
5366
    lt_cv_file_magic_cmd='$OBJDUMP -f'
 
 
5371
  # use the weaker test based on 'objdump'. See mingw*.
 
 
5372
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 
 
5373
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
 
5376
darwin* | rhapsody*)
 
 
5377
  lt_cv_deplibs_check_method=pass_all
 
 
5380
freebsd* | dragonfly*)
 
 
5381
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
 
5384
      # Not sure whether the presence of OpenBSD here was a mistake.
 
 
5385
      # Let's accept both of them until this is cleared up.
 
 
5386
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
 
 
5387
      lt_cv_file_magic_cmd=/usr/bin/file
 
 
5388
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 
 
5392
    lt_cv_deplibs_check_method=pass_all
 
 
5397
  lt_cv_deplibs_check_method=pass_all
 
 
5400
hpux10.20* | hpux11*)
 
 
5401
  lt_cv_file_magic_cmd=/usr/bin/file
 
 
5404
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
 
 
5405
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
 
 
5408
    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]'
 
 
5409
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
 
 
5412
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
 
 
5413
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
 
 
5419
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 
 
5420
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
 
 
5423
irix5* | irix6* | nonstopux*)
 
 
5425
  *-32|*"-32 ") libmagic=32-bit;;
 
 
5426
  *-n32|*"-n32 ") libmagic=N32;;
 
 
5427
  *-64|*"-64 ") libmagic=64-bit;;
 
 
5428
  *) libmagic=never-match;;
 
 
5430
  lt_cv_deplibs_check_method=pass_all
 
 
5433
# This must be Linux ELF.
 
 
5434
linux* | k*bsd*-gnu)
 
 
5435
  lt_cv_deplibs_check_method=pass_all
 
 
5438
netbsd* | netbsdelf*-gnu)
 
 
5439
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
 
5440
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 
 
5442
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
 
 
5447
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
 
 
5448
  lt_cv_file_magic_cmd=/usr/bin/file
 
 
5449
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
 
 
5453
  lt_cv_deplibs_check_method=pass_all
 
 
5457
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
 
5458
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
 
 
5460
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 
 
5464
osf3* | osf4* | osf5*)
 
 
5465
  lt_cv_deplibs_check_method=pass_all
 
 
5469
  lt_cv_deplibs_check_method=pass_all
 
 
5473
  lt_cv_deplibs_check_method=pass_all
 
 
5476
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
 
5477
  lt_cv_deplibs_check_method=pass_all
 
 
5481
  case $host_vendor in
 
 
5483
    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]'
 
 
5484
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
 
 
5487
    lt_cv_deplibs_check_method=pass_all
 
 
5490
    lt_cv_file_magic_cmd='/bin/file'
 
 
5491
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
 
 
5494
    lt_cv_file_magic_cmd='/bin/file'
 
 
5495
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
 
 
5496
    lt_cv_file_magic_test_file=/lib/libc.so
 
 
5499
    lt_cv_deplibs_check_method=pass_all
 
 
5502
    lt_cv_deplibs_check_method=pass_all
 
 
5508
  lt_cv_deplibs_check_method=pass_all
 
 
5513
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
 
 
5514
$as_echo "$lt_cv_deplibs_check_method" >&6; }
 
 
5515
file_magic_cmd=$lt_cv_file_magic_cmd
 
 
5516
deplibs_check_method=$lt_cv_deplibs_check_method
 
 
5517
test -z "$deplibs_check_method" && deplibs_check_method=unknown
 
 
5530
if test -n "$ac_tool_prefix"; then
 
 
5531
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 
 
5532
set dummy ${ac_tool_prefix}ar; ac_word=$2
 
 
5533
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
5534
$as_echo_n "checking for $ac_word... " >&6; }
 
 
5535
if test "${ac_cv_prog_AR+set}" = set; then :
 
 
5536
  $as_echo_n "(cached) " >&6
 
 
5538
  if test -n "$AR"; then
 
 
5539
  ac_cv_prog_AR="$AR" # Let the user override the test.
 
 
5541
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
5545
  test -z "$as_dir" && as_dir=.
 
 
5546
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
5547
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
5548
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
 
5549
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
5559
if test -n "$AR"; then
 
 
5560
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
 
 
5561
$as_echo "$AR" >&6; }
 
 
5563
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
5564
$as_echo "no" >&6; }
 
 
5569
if test -z "$ac_cv_prog_AR"; then
 
 
5571
  # Extract the first word of "ar", so it can be a program name with args.
 
 
5572
set dummy ar; ac_word=$2
 
 
5573
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
5574
$as_echo_n "checking for $ac_word... " >&6; }
 
 
5575
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
 
 
5576
  $as_echo_n "(cached) " >&6
 
 
5578
  if test -n "$ac_ct_AR"; then
 
 
5579
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 
 
5581
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
5585
  test -z "$as_dir" && as_dir=.
 
 
5586
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
5587
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
5588
    ac_cv_prog_ac_ct_AR="ar"
 
 
5589
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
5598
ac_ct_AR=$ac_cv_prog_ac_ct_AR
 
 
5599
if test -n "$ac_ct_AR"; then
 
 
5600
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
 
 
5601
$as_echo "$ac_ct_AR" >&6; }
 
 
5603
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
5604
$as_echo "no" >&6; }
 
 
5607
  if test "x$ac_ct_AR" = x; then
 
 
5610
    case $cross_compiling:$ac_tool_warned in
 
 
5612
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
 
5613
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
 
5614
ac_tool_warned=yes ;;
 
 
5622
test -z "$AR" && AR=ar
 
 
5623
test -z "$AR_FLAGS" && AR_FLAGS=cru
 
 
5635
if test -n "$ac_tool_prefix"; then
 
 
5636
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
 
5637
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
 
5638
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
5639
$as_echo_n "checking for $ac_word... " >&6; }
 
 
5640
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
 
5641
  $as_echo_n "(cached) " >&6
 
 
5643
  if test -n "$STRIP"; then
 
 
5644
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
 
5646
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
5650
  test -z "$as_dir" && as_dir=.
 
 
5651
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
5652
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
5653
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
 
5654
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
5663
STRIP=$ac_cv_prog_STRIP
 
 
5664
if test -n "$STRIP"; then
 
 
5665
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
 
5666
$as_echo "$STRIP" >&6; }
 
 
5668
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
5669
$as_echo "no" >&6; }
 
 
5674
if test -z "$ac_cv_prog_STRIP"; then
 
 
5676
  # Extract the first word of "strip", so it can be a program name with args.
 
 
5677
set dummy strip; ac_word=$2
 
 
5678
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
5679
$as_echo_n "checking for $ac_word... " >&6; }
 
 
5680
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
 
5681
  $as_echo_n "(cached) " >&6
 
 
5683
  if test -n "$ac_ct_STRIP"; then
 
 
5684
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
 
5686
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
5690
  test -z "$as_dir" && as_dir=.
 
 
5691
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
5692
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
5693
    ac_cv_prog_ac_ct_STRIP="strip"
 
 
5694
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
5703
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
 
5704
if test -n "$ac_ct_STRIP"; then
 
 
5705
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
 
5706
$as_echo "$ac_ct_STRIP" >&6; }
 
 
5708
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
5709
$as_echo "no" >&6; }
 
 
5712
  if test "x$ac_ct_STRIP" = x; then
 
 
5715
    case $cross_compiling:$ac_tool_warned in
 
 
5717
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
 
5718
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
 
5719
ac_tool_warned=yes ;;
 
 
5724
  STRIP="$ac_cv_prog_STRIP"
 
 
5727
test -z "$STRIP" && STRIP=:
 
 
5734
if test -n "$ac_tool_prefix"; then
 
 
5735
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
 
5736
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
 
5737
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
5738
$as_echo_n "checking for $ac_word... " >&6; }
 
 
5739
if test "${ac_cv_prog_RANLIB+set}" = set; then :
 
 
5740
  $as_echo_n "(cached) " >&6
 
 
5742
  if test -n "$RANLIB"; then
 
 
5743
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
 
5745
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
5749
  test -z "$as_dir" && as_dir=.
 
 
5750
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
5751
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
5752
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
 
5753
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
5762
RANLIB=$ac_cv_prog_RANLIB
 
 
5763
if test -n "$RANLIB"; then
 
 
5764
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 
 
5765
$as_echo "$RANLIB" >&6; }
 
 
5767
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
5768
$as_echo "no" >&6; }
 
 
5773
if test -z "$ac_cv_prog_RANLIB"; then
 
 
5774
  ac_ct_RANLIB=$RANLIB
 
 
5775
  # Extract the first word of "ranlib", so it can be a program name with args.
 
 
5776
set dummy ranlib; ac_word=$2
 
 
5777
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
5778
$as_echo_n "checking for $ac_word... " >&6; }
 
 
5779
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 
 
5780
  $as_echo_n "(cached) " >&6
 
 
5782
  if test -n "$ac_ct_RANLIB"; then
 
 
5783
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
 
5785
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
5789
  test -z "$as_dir" && as_dir=.
 
 
5790
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
5791
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
5792
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
 
5793
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
5802
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
 
5803
if test -n "$ac_ct_RANLIB"; then
 
 
5804
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 
 
5805
$as_echo "$ac_ct_RANLIB" >&6; }
 
 
5807
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
5808
$as_echo "no" >&6; }
 
 
5811
  if test "x$ac_ct_RANLIB" = x; then
 
 
5814
    case $cross_compiling:$ac_tool_warned in
 
 
5816
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
 
5817
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
 
5818
ac_tool_warned=yes ;;
 
 
5820
    RANLIB=$ac_ct_RANLIB
 
 
5823
  RANLIB="$ac_cv_prog_RANLIB"
 
 
5826
test -z "$RANLIB" && RANLIB=:
 
 
5833
# Determine commands to create old-style static archives.
 
 
5834
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 
 
5835
old_postinstall_cmds='chmod 644 $oldlib'
 
 
5836
old_postuninstall_cmds=
 
 
5838
if test -n "$RANLIB"; then
 
 
5841
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
 
5844
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
 
5847
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
 
5883
# If no C compiler was specified, use CC.
 
 
5886
# If no C compiler flags were specified, use CFLAGS.
 
 
5887
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
 
5889
# Allow CC to be a program name with arguments.
 
 
5893
# Check for command to grab the raw symbol name followed by C symbol from nm.
 
 
5894
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
 
 
5895
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
 
 
5896
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
 
 
5897
  $as_echo_n "(cached) " >&6
 
 
5900
# These are sane defaults that work on at least a few old systems.
 
 
5901
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
 
 
5903
# Character class describing NM global symbol codes.
 
 
5904
symcode='[BCDEGRST]'
 
 
5906
# Regexp to match symbols that can be accessed directly from C.
 
 
5907
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
 
 
5909
# Define system-specific variables.
 
 
5914
cygwin* | mingw* | pw32* | cegcc*)
 
 
5915
  symcode='[ABCDGISTW]'
 
 
5918
  if test "$host_cpu" = ia64; then
 
 
5919
    symcode='[ABCDEGRST]'
 
 
5923
  symcode='[BCDEGRST]'
 
 
5926
  symcode='[BCDEGQRST]'
 
 
5937
sysv5* | sco5v6* | unixware* | OpenUNIX*)
 
 
5945
# If we're using GNU nm, then use its standard symbol codes.
 
 
5946
case `$NM -V 2>&1` in
 
 
5947
*GNU* | *'with BFD'*)
 
 
5948
  symcode='[ABCDGIRSTW]' ;;
 
 
5951
# Transform an extracted symbol line into a proper C declaration.
 
 
5952
# Some systems (esp. on ia64) link data and code symbols differently,
 
 
5953
# so use this general approach.
 
 
5954
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
 
5956
# Transform an extracted symbol line into symbol name and symbol address
 
 
5957
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
 
5958
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'"
 
 
5960
# Handle CRLF in mingw tool chain
 
 
5964
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
 
5968
# Try without a prefix underscore, then with it.
 
 
5969
for ac_symprfx in "" "_"; do
 
 
5971
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
 
 
5972
  symxfrm="\\1 $ac_symprfx\\2 \\2"
 
 
5974
  # Write the raw and C identifiers.
 
 
5975
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
 
5976
    # Fake it for dumpbin and say T for any non-static function
 
 
5977
    # and D for any global variable.
 
 
5978
    # Also find C++ and __fastcall symbols from MSVC++,
 
 
5979
    # which start with @ or ?.
 
 
5980
    lt_cv_sys_global_symbol_pipe="$AWK '"\
 
 
5981
"     {last_section=section; section=\$ 3};"\
 
 
5982
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 
 
5983
"     \$ 0!~/External *\|/{next};"\
 
 
5984
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 
 
5985
"     {if(hide[section]) next};"\
 
 
5986
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 
 
5987
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 
 
5988
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 
 
5989
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 
 
5990
"     ' prfx=^$ac_symprfx"
 
 
5992
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
 
5995
  # Check to see that the pipe works correctly.
 
 
5999
  cat > conftest.$ac_ext <<_LT_EOF
 
 
6004
void nm_test_func(void);
 
 
6005
void nm_test_func(void){}
 
 
6009
int main(){nm_test_var='a';nm_test_func();return(0);}
 
 
6012
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
 
6013
  (eval $ac_compile) 2>&5
 
 
6015
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
 
6016
  test $ac_status = 0; }; then
 
 
6017
    # Now try to grab the symbols.
 
 
6019
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
 
 
6020
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
 
 
6022
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
 
6023
  test $ac_status = 0; } && test -s "$nlist"; then
 
 
6024
      # Try sorting and uniquifying the output.
 
 
6025
      if sort "$nlist" | uniq > "$nlist"T; then
 
 
6026
        mv -f "$nlist"T "$nlist"
 
 
6031
      # Make sure that we snagged all the symbols we need.
 
 
6032
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 
 
6033
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 
 
6034
          cat <<_LT_EOF > conftest.$ac_ext
 
 
6040
          # Now generate the symbol file.
 
 
6041
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 
 
6043
          cat <<_LT_EOF >> conftest.$ac_ext
 
 
6045
/* The mapping between symbol names and symbols.  */
 
 
6050
lt__PROGRAM__LTX_preloaded_symbols[] =
 
 
6052
  { "@PROGRAM@", (void *) 0 },
 
 
6054
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 
 
6055
          cat <<\_LT_EOF >> conftest.$ac_ext
 
 
6059
/* This works around a problem in FreeBSD linker */
 
 
6060
#ifdef FREEBSD_WORKAROUND
 
 
6061
static const void *lt_preloaded_setup() {
 
 
6062
  return lt__PROGRAM__LTX_preloaded_symbols;
 
 
6070
          # Now try linking the two files.
 
 
6071
          mv conftest.$ac_objext conftstm.$ac_objext
 
 
6072
          lt_save_LIBS="$LIBS"
 
 
6073
          lt_save_CFLAGS="$CFLAGS"
 
 
6074
          LIBS="conftstm.$ac_objext"
 
 
6075
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
 
 
6076
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
 
6077
  (eval $ac_link) 2>&5
 
 
6079
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
 
6080
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
 
 
6083
          LIBS="$lt_save_LIBS"
 
 
6084
          CFLAGS="$lt_save_CFLAGS"
 
 
6086
          echo "cannot find nm_test_func in $nlist" >&5
 
 
6089
        echo "cannot find nm_test_var in $nlist" >&5
 
 
6092
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
 
 
6095
    echo "$progname: failed program was:" >&5
 
 
6096
    cat conftest.$ac_ext >&5
 
 
6098
  rm -rf conftest* conftst*
 
 
6100
  # Do not use the global_symbol_pipe unless it works.
 
 
6101
  if test "$pipe_works" = yes; then
 
 
6104
    lt_cv_sys_global_symbol_pipe=
 
 
6110
if test -z "$lt_cv_sys_global_symbol_pipe"; then
 
 
6111
  lt_cv_sys_global_symbol_to_cdecl=
 
 
6113
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
 
 
6114
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
 
 
6115
$as_echo "failed" >&6; }
 
 
6117
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 
 
6118
$as_echo "ok" >&6; }
 
 
6143
# Check whether --enable-libtool-lock was given.
 
 
6144
if test "${enable_libtool_lock+set}" = set; then :
 
 
6145
  enableval=$enable_libtool_lock;
 
 
6148
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
 
6150
# Some flags need to be propagated to the compiler or linker for good
 
 
6154
  # Find out which ABI we are using.
 
 
6155
  echo 'int i;' > conftest.$ac_ext
 
 
6156
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
 
6157
  (eval $ac_compile) 2>&5
 
 
6159
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
 
6160
  test $ac_status = 0; }; then
 
 
6161
    case `/usr/bin/file conftest.$ac_objext` in
 
 
6173
  # Find out which ABI we are using.
 
 
6174
  echo '#line 6174 "configure"' > conftest.$ac_ext
 
 
6175
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
 
6176
  (eval $ac_compile) 2>&5
 
 
6178
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
 
6179
  test $ac_status = 0; }; then
 
 
6180
    if test "$lt_cv_prog_gnu_ld" = yes; then
 
 
6181
      case `/usr/bin/file conftest.$ac_objext` in
 
 
6183
          LD="${LD-ld} -melf32bsmip"
 
 
6186
          LD="${LD-ld} -melf32bmipn32"
 
 
6189
          LD="${LD-ld} -melf64bmip"
 
 
6193
      case `/usr/bin/file conftest.$ac_objext` in
 
 
6209
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
 
6210
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 
 
6211
  # Find out which ABI we are using.
 
 
6212
  echo 'int i;' > conftest.$ac_ext
 
 
6213
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
 
6214
  (eval $ac_compile) 2>&5
 
 
6216
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
 
6217
  test $ac_status = 0; }; then
 
 
6218
    case `/usr/bin/file conftest.o` in
 
 
6221
          x86_64-*kfreebsd*-gnu)
 
 
6222
            LD="${LD-ld} -m elf_i386_fbsd"
 
 
6225
            LD="${LD-ld} -m elf_i386"
 
 
6227
          ppc64-*linux*|powerpc64-*linux*)
 
 
6228
            LD="${LD-ld} -m elf32ppclinux"
 
 
6231
            LD="${LD-ld} -m elf_s390"
 
 
6234
            LD="${LD-ld} -m elf32_sparc"
 
 
6240
          x86_64-*kfreebsd*-gnu)
 
 
6241
            LD="${LD-ld} -m elf_x86_64_fbsd"
 
 
6244
            LD="${LD-ld} -m elf_x86_64"
 
 
6246
          ppc*-*linux*|powerpc*-*linux*)
 
 
6247
            LD="${LD-ld} -m elf64ppc"
 
 
6249
          s390*-*linux*|s390*-*tpf*)
 
 
6250
            LD="${LD-ld} -m elf64_s390"
 
 
6253
            LD="${LD-ld} -m elf64_sparc"
 
 
6263
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
 
6264
  SAVE_CFLAGS="$CFLAGS"
 
 
6265
  CFLAGS="$CFLAGS -belf"
 
 
6266
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
 
 
6267
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 
 
6268
if test "${lt_cv_cc_needs_belf+set}" = set; then :
 
 
6269
  $as_echo_n "(cached) " >&6
 
 
6272
ac_cpp='$CPP $CPPFLAGS'
 
 
6273
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
 
6274
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
 
6275
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
6277
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
6278
/* end confdefs.h.  */
 
 
6288
if ac_fn_c_try_link "$LINENO"; then :
 
 
6289
  lt_cv_cc_needs_belf=yes
 
 
6291
  lt_cv_cc_needs_belf=no
 
 
6293
rm -f core conftest.err conftest.$ac_objext \
 
 
6294
    conftest$ac_exeext conftest.$ac_ext
 
 
6296
ac_cpp='$CPP $CPPFLAGS'
 
 
6297
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
 
6298
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
 
6299
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
6302
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
 
 
6303
$as_echo "$lt_cv_cc_needs_belf" >&6; }
 
 
6304
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
 
6305
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
 
6306
    CFLAGS="$SAVE_CFLAGS"
 
 
6310
  # Find out which ABI we are using.
 
 
6311
  echo 'int i;' > conftest.$ac_ext
 
 
6312
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
 
6313
  (eval $ac_compile) 2>&5
 
 
6315
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
 
6316
  test $ac_status = 0; }; then
 
 
6317
    case `/usr/bin/file conftest.o` in
 
 
6319
      case $lt_cv_prog_gnu_ld in
 
 
6320
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
 
6322
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
 
6334
need_locks="$enable_libtool_lock"
 
 
6338
    rhapsody* | darwin*)
 
 
6339
    if test -n "$ac_tool_prefix"; then
 
 
6340
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
 
 
6341
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 
 
6342
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
6343
$as_echo_n "checking for $ac_word... " >&6; }
 
 
6344
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
 
 
6345
  $as_echo_n "(cached) " >&6
 
 
6347
  if test -n "$DSYMUTIL"; then
 
 
6348
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
 
 
6350
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
6354
  test -z "$as_dir" && as_dir=.
 
 
6355
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
6356
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
6357
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
 
 
6358
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
6367
DSYMUTIL=$ac_cv_prog_DSYMUTIL
 
 
6368
if test -n "$DSYMUTIL"; then
 
 
6369
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
 
 
6370
$as_echo "$DSYMUTIL" >&6; }
 
 
6372
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
6373
$as_echo "no" >&6; }
 
 
6378
if test -z "$ac_cv_prog_DSYMUTIL"; then
 
 
6379
  ac_ct_DSYMUTIL=$DSYMUTIL
 
 
6380
  # Extract the first word of "dsymutil", so it can be a program name with args.
 
 
6381
set dummy dsymutil; ac_word=$2
 
 
6382
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
6383
$as_echo_n "checking for $ac_word... " >&6; }
 
 
6384
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
 
 
6385
  $as_echo_n "(cached) " >&6
 
 
6387
  if test -n "$ac_ct_DSYMUTIL"; then
 
 
6388
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
 
 
6390
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
6394
  test -z "$as_dir" && as_dir=.
 
 
6395
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
6396
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
6397
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
 
 
6398
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
6407
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
 
 
6408
if test -n "$ac_ct_DSYMUTIL"; then
 
 
6409
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
 
 
6410
$as_echo "$ac_ct_DSYMUTIL" >&6; }
 
 
6412
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
6413
$as_echo "no" >&6; }
 
 
6416
  if test "x$ac_ct_DSYMUTIL" = x; then
 
 
6419
    case $cross_compiling:$ac_tool_warned in
 
 
6421
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
 
6422
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
 
6423
ac_tool_warned=yes ;;
 
 
6425
    DSYMUTIL=$ac_ct_DSYMUTIL
 
 
6428
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
 
 
6431
    if test -n "$ac_tool_prefix"; then
 
 
6432
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
 
 
6433
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 
 
6434
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
6435
$as_echo_n "checking for $ac_word... " >&6; }
 
 
6436
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
 
 
6437
  $as_echo_n "(cached) " >&6
 
 
6439
  if test -n "$NMEDIT"; then
 
 
6440
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
 
 
6442
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
6446
  test -z "$as_dir" && as_dir=.
 
 
6447
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
6448
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
6449
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
 
 
6450
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
6459
NMEDIT=$ac_cv_prog_NMEDIT
 
 
6460
if test -n "$NMEDIT"; then
 
 
6461
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
 
 
6462
$as_echo "$NMEDIT" >&6; }
 
 
6464
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
6465
$as_echo "no" >&6; }
 
 
6470
if test -z "$ac_cv_prog_NMEDIT"; then
 
 
6471
  ac_ct_NMEDIT=$NMEDIT
 
 
6472
  # Extract the first word of "nmedit", so it can be a program name with args.
 
 
6473
set dummy nmedit; ac_word=$2
 
 
6474
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
6475
$as_echo_n "checking for $ac_word... " >&6; }
 
 
6476
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
 
 
6477
  $as_echo_n "(cached) " >&6
 
 
6479
  if test -n "$ac_ct_NMEDIT"; then
 
 
6480
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 
 
6482
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
6486
  test -z "$as_dir" && as_dir=.
 
 
6487
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
6488
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
6489
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
 
 
6490
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
6499
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 
 
6500
if test -n "$ac_ct_NMEDIT"; then
 
 
6501
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
 
 
6502
$as_echo "$ac_ct_NMEDIT" >&6; }
 
 
6504
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
6505
$as_echo "no" >&6; }
 
 
6508
  if test "x$ac_ct_NMEDIT" = x; then
 
 
6511
    case $cross_compiling:$ac_tool_warned in
 
 
6513
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
 
6514
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
 
6515
ac_tool_warned=yes ;;
 
 
6517
    NMEDIT=$ac_ct_NMEDIT
 
 
6520
  NMEDIT="$ac_cv_prog_NMEDIT"
 
 
6523
    if test -n "$ac_tool_prefix"; then
 
 
6524
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 
 
6525
set dummy ${ac_tool_prefix}lipo; ac_word=$2
 
 
6526
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
6527
$as_echo_n "checking for $ac_word... " >&6; }
 
 
6528
if test "${ac_cv_prog_LIPO+set}" = set; then :
 
 
6529
  $as_echo_n "(cached) " >&6
 
 
6531
  if test -n "$LIPO"; then
 
 
6532
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 
 
6534
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
6538
  test -z "$as_dir" && as_dir=.
 
 
6539
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
6540
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
6541
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 
 
6542
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
6551
LIPO=$ac_cv_prog_LIPO
 
 
6552
if test -n "$LIPO"; then
 
 
6553
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
 
 
6554
$as_echo "$LIPO" >&6; }
 
 
6556
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
6557
$as_echo "no" >&6; }
 
 
6562
if test -z "$ac_cv_prog_LIPO"; then
 
 
6564
  # Extract the first word of "lipo", so it can be a program name with args.
 
 
6565
set dummy lipo; ac_word=$2
 
 
6566
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
6567
$as_echo_n "checking for $ac_word... " >&6; }
 
 
6568
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
 
 
6569
  $as_echo_n "(cached) " >&6
 
 
6571
  if test -n "$ac_ct_LIPO"; then
 
 
6572
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 
 
6574
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
6578
  test -z "$as_dir" && as_dir=.
 
 
6579
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
6580
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
6581
    ac_cv_prog_ac_ct_LIPO="lipo"
 
 
6582
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
6591
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 
 
6592
if test -n "$ac_ct_LIPO"; then
 
 
6593
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
 
 
6594
$as_echo "$ac_ct_LIPO" >&6; }
 
 
6596
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
6597
$as_echo "no" >&6; }
 
 
6600
  if test "x$ac_ct_LIPO" = x; then
 
 
6603
    case $cross_compiling:$ac_tool_warned in
 
 
6605
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
 
6606
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
 
6607
ac_tool_warned=yes ;;
 
 
6612
  LIPO="$ac_cv_prog_LIPO"
 
 
6615
    if test -n "$ac_tool_prefix"; then
 
 
6616
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 
 
6617
set dummy ${ac_tool_prefix}otool; ac_word=$2
 
 
6618
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
6619
$as_echo_n "checking for $ac_word... " >&6; }
 
 
6620
if test "${ac_cv_prog_OTOOL+set}" = set; then :
 
 
6621
  $as_echo_n "(cached) " >&6
 
 
6623
  if test -n "$OTOOL"; then
 
 
6624
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 
 
6626
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
6630
  test -z "$as_dir" && as_dir=.
 
 
6631
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
6632
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
6633
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 
 
6634
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
6643
OTOOL=$ac_cv_prog_OTOOL
 
 
6644
if test -n "$OTOOL"; then
 
 
6645
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
 
 
6646
$as_echo "$OTOOL" >&6; }
 
 
6648
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
6649
$as_echo "no" >&6; }
 
 
6654
if test -z "$ac_cv_prog_OTOOL"; then
 
 
6656
  # Extract the first word of "otool", so it can be a program name with args.
 
 
6657
set dummy otool; ac_word=$2
 
 
6658
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
6659
$as_echo_n "checking for $ac_word... " >&6; }
 
 
6660
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
 
 
6661
  $as_echo_n "(cached) " >&6
 
 
6663
  if test -n "$ac_ct_OTOOL"; then
 
 
6664
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 
 
6666
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
6670
  test -z "$as_dir" && as_dir=.
 
 
6671
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
6672
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
6673
    ac_cv_prog_ac_ct_OTOOL="otool"
 
 
6674
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
6683
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 
 
6684
if test -n "$ac_ct_OTOOL"; then
 
 
6685
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
 
 
6686
$as_echo "$ac_ct_OTOOL" >&6; }
 
 
6688
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
6689
$as_echo "no" >&6; }
 
 
6692
  if test "x$ac_ct_OTOOL" = x; then
 
 
6695
    case $cross_compiling:$ac_tool_warned in
 
 
6697
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
 
6698
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
 
6699
ac_tool_warned=yes ;;
 
 
6704
  OTOOL="$ac_cv_prog_OTOOL"
 
 
6707
    if test -n "$ac_tool_prefix"; then
 
 
6708
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 
 
6709
set dummy ${ac_tool_prefix}otool64; ac_word=$2
 
 
6710
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
6711
$as_echo_n "checking for $ac_word... " >&6; }
 
 
6712
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
 
 
6713
  $as_echo_n "(cached) " >&6
 
 
6715
  if test -n "$OTOOL64"; then
 
 
6716
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 
 
6718
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
6722
  test -z "$as_dir" && as_dir=.
 
 
6723
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
6724
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
6725
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 
 
6726
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
6735
OTOOL64=$ac_cv_prog_OTOOL64
 
 
6736
if test -n "$OTOOL64"; then
 
 
6737
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
 
 
6738
$as_echo "$OTOOL64" >&6; }
 
 
6740
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
6741
$as_echo "no" >&6; }
 
 
6746
if test -z "$ac_cv_prog_OTOOL64"; then
 
 
6747
  ac_ct_OTOOL64=$OTOOL64
 
 
6748
  # Extract the first word of "otool64", so it can be a program name with args.
 
 
6749
set dummy otool64; ac_word=$2
 
 
6750
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
6751
$as_echo_n "checking for $ac_word... " >&6; }
 
 
6752
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
 
 
6753
  $as_echo_n "(cached) " >&6
 
 
6755
  if test -n "$ac_ct_OTOOL64"; then
 
 
6756
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 
 
6758
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
6762
  test -z "$as_dir" && as_dir=.
 
 
6763
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
6764
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
6765
    ac_cv_prog_ac_ct_OTOOL64="otool64"
 
 
6766
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
6775
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 
 
6776
if test -n "$ac_ct_OTOOL64"; then
 
 
6777
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
 
 
6778
$as_echo "$ac_ct_OTOOL64" >&6; }
 
 
6780
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
6781
$as_echo "no" >&6; }
 
 
6784
  if test "x$ac_ct_OTOOL64" = x; then
 
 
6787
    case $cross_compiling:$ac_tool_warned in
 
 
6789
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
 
6790
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
 
6791
ac_tool_warned=yes ;;
 
 
6793
    OTOOL64=$ac_ct_OTOOL64
 
 
6796
  OTOOL64="$ac_cv_prog_OTOOL64"
 
 
6825
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
 
 
6826
$as_echo_n "checking for -single_module linker flag... " >&6; }
 
 
6827
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
 
 
6828
  $as_echo_n "(cached) " >&6
 
 
6830
  lt_cv_apple_cc_single_mod=no
 
 
6831
      if test -z "${LT_MULTI_MODULE}"; then
 
 
6832
        # By default we will add the -single_module flag. You can override
 
 
6833
        # by either setting the environment variable LT_MULTI_MODULE
 
 
6834
        # non-empty at configure time, or by adding -multi_module to the
 
 
6836
        rm -rf libconftest.dylib*
 
 
6837
        echo "int foo(void){return 1;}" > conftest.c
 
 
6838
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
 
6839
-dynamiclib -Wl,-single_module conftest.c" >&5
 
 
6840
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
 
6841
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 
 
6843
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 
 
6844
          lt_cv_apple_cc_single_mod=yes
 
 
6846
          cat conftest.err >&5
 
 
6848
        rm -rf libconftest.dylib*
 
 
6852
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
 
 
6853
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
 
6854
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
 
 
6855
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
 
 
6856
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
 
 
6857
  $as_echo_n "(cached) " >&6
 
 
6859
  lt_cv_ld_exported_symbols_list=no
 
 
6860
      save_LDFLAGS=$LDFLAGS
 
 
6861
      echo "_main" > conftest.sym
 
 
6862
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 
 
6863
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
6864
/* end confdefs.h.  */
 
 
6874
if ac_fn_c_try_link "$LINENO"; then :
 
 
6875
  lt_cv_ld_exported_symbols_list=yes
 
 
6877
  lt_cv_ld_exported_symbols_list=no
 
 
6879
rm -f core conftest.err conftest.$ac_objext \
 
 
6880
    conftest$ac_exeext conftest.$ac_ext
 
 
6881
        LDFLAGS="$save_LDFLAGS"
 
 
6884
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
 
 
6885
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
 
6887
    rhapsody* | darwin1.[012])
 
 
6888
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 
 
6890
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
 
6891
    darwin*) # darwin 5.x on
 
 
6892
      # if running on 10.5 or later, the deployment target defaults
 
 
6893
      # to the OS version, if on x86, and 10.4, the deployment
 
 
6894
      # target defaults to 10.4. Don't you love it?
 
 
6895
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 
 
6896
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
 
6897
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
 
6899
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
 
6901
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
 
6905
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 
 
6906
      _lt_dar_single_mod='$single_module'
 
 
6908
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 
 
6909
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 
 
6911
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
 
6913
    if test "$DSYMUTIL" != ":"; then
 
 
6914
      _lt_dsymutil='~$DSYMUTIL $lib || :'
 
 
6922
ac_cpp='$CPP $CPPFLAGS'
 
 
6923
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
 
6924
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
 
6925
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
6926
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 
 
6927
$as_echo_n "checking how to run the C preprocessor... " >&6; }
 
 
6928
# On Suns, sometimes $CPP names a directory.
 
 
6929
if test -n "$CPP" && test -d "$CPP"; then
 
 
6932
if test -z "$CPP"; then
 
 
6933
  if test "${ac_cv_prog_CPP+set}" = set; then :
 
 
6934
  $as_echo_n "(cached) " >&6
 
 
6936
      # Double quotes because CPP needs to be expanded
 
 
6937
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
 
6940
for ac_c_preproc_warn_flag in '' yes
 
 
6942
  # Use a header file that comes with gcc, so configuring glibc
 
 
6943
  # with a fresh cross-compiler works.
 
 
6944
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
 
6945
  # <limits.h> exists even on freestanding compilers.
 
 
6946
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
 
6947
  # not just through cpp. "Syntax error" is here to catch this case.
 
 
6948
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
6949
/* end confdefs.h.  */
 
 
6951
# include <limits.h>
 
 
6953
# include <assert.h>
 
 
6957
if ac_fn_c_try_cpp "$LINENO"; then :
 
 
6960
  # Broken: fails on valid input.
 
 
6963
rm -f conftest.err conftest.$ac_ext
 
 
6965
  # OK, works on sane cases.  Now check whether nonexistent headers
 
 
6966
  # can be detected and how.
 
 
6967
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
6968
/* end confdefs.h.  */
 
 
6969
#include <ac_nonexistent.h>
 
 
6971
if ac_fn_c_try_cpp "$LINENO"; then :
 
 
6972
  # Broken: success on invalid input.
 
 
6975
  # Passes both tests.
 
 
6979
rm -f conftest.err conftest.$ac_ext
 
 
6982
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
 
6983
rm -f conftest.err conftest.$ac_ext
 
 
6984
if $ac_preproc_ok; then :
 
 
6996
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 
 
6997
$as_echo "$CPP" >&6; }
 
 
6999
for ac_c_preproc_warn_flag in '' yes
 
 
7001
  # Use a header file that comes with gcc, so configuring glibc
 
 
7002
  # with a fresh cross-compiler works.
 
 
7003
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
 
7004
  # <limits.h> exists even on freestanding compilers.
 
 
7005
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
 
7006
  # not just through cpp. "Syntax error" is here to catch this case.
 
 
7007
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
7008
/* end confdefs.h.  */
 
 
7010
# include <limits.h>
 
 
7012
# include <assert.h>
 
 
7016
if ac_fn_c_try_cpp "$LINENO"; then :
 
 
7019
  # Broken: fails on valid input.
 
 
7022
rm -f conftest.err conftest.$ac_ext
 
 
7024
  # OK, works on sane cases.  Now check whether nonexistent headers
 
 
7025
  # can be detected and how.
 
 
7026
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
7027
/* end confdefs.h.  */
 
 
7028
#include <ac_nonexistent.h>
 
 
7030
if ac_fn_c_try_cpp "$LINENO"; then :
 
 
7031
  # Broken: success on invalid input.
 
 
7034
  # Passes both tests.
 
 
7038
rm -f conftest.err conftest.$ac_ext
 
 
7041
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
 
7042
rm -f conftest.err conftest.$ac_ext
 
 
7043
if $ac_preproc_ok; then :
 
 
7046
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
 
7047
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
 
7048
as_fn_error "C preprocessor \"$CPP\" fails sanity check
 
 
7049
See \`config.log' for more details." "$LINENO" 5; }
 
 
7053
ac_cpp='$CPP $CPPFLAGS'
 
 
7054
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
 
7055
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
 
7056
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
7059
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 
 
7060
$as_echo_n "checking for ANSI C header files... " >&6; }
 
 
7061
if test "${ac_cv_header_stdc+set}" = set; then :
 
 
7062
  $as_echo_n "(cached) " >&6
 
 
7064
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
7065
/* end confdefs.h.  */
 
 
7079
if ac_fn_c_try_compile "$LINENO"; then :
 
 
7080
  ac_cv_header_stdc=yes
 
 
7082
  ac_cv_header_stdc=no
 
 
7084
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
 
7086
if test $ac_cv_header_stdc = yes; then
 
 
7087
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
 
7088
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
7089
/* end confdefs.h.  */
 
 
7093
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
 
7094
  $EGREP "memchr" >/dev/null 2>&1; then :
 
 
7097
  ac_cv_header_stdc=no
 
 
7103
if test $ac_cv_header_stdc = yes; then
 
 
7104
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
 
7105
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
7106
/* end confdefs.h.  */
 
 
7110
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
 
7111
  $EGREP "free" >/dev/null 2>&1; then :
 
 
7114
  ac_cv_header_stdc=no
 
 
7120
if test $ac_cv_header_stdc = yes; then
 
 
7121
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
 
7122
  if test "$cross_compiling" = yes; then :
 
 
7125
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
7126
/* end confdefs.h.  */
 
 
7129
#if ((' ' & 0x0FF) == 0x020)
 
 
7130
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
 
7131
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
 
7133
# define ISLOWER(c) \
 
 
7134
                   (('a' <= (c) && (c) <= 'i') \
 
 
7135
                     || ('j' <= (c) && (c) <= 'r') \
 
 
7136
                     || ('s' <= (c) && (c) <= 'z'))
 
 
7137
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
 
7140
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
 
7145
  for (i = 0; i < 256; i++)
 
 
7146
    if (XOR (islower (i), ISLOWER (i))
 
 
7147
        || toupper (i) != TOUPPER (i))
 
 
7152
if ac_fn_c_try_run "$LINENO"; then :
 
 
7155
  ac_cv_header_stdc=no
 
 
7157
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
 
7158
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
 
7163
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 
 
7164
$as_echo "$ac_cv_header_stdc" >&6; }
 
 
7165
if test $ac_cv_header_stdc = yes; then
 
 
7167
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
 
 
7171
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
 
7172
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
 
7173
                  inttypes.h stdint.h unistd.h
 
 
7175
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
 
7176
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
 
7178
eval as_val=\$$as_ac_Header
 
 
7179
   if test "x$as_val" = x""yes; then :
 
 
7180
  cat >>confdefs.h <<_ACEOF
 
 
7181
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
 
7189
for ac_header in dlfcn.h
 
 
7191
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 
 
7193
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
 
 
7194
  cat >>confdefs.h <<_ACEOF
 
 
7195
#define HAVE_DLFCN_H 1
 
 
7205
ac_cpp='$CXXCPP $CPPFLAGS'
 
 
7206
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
 
7207
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
 
7208
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
 
7209
if test -z "$CXX"; then
 
 
7210
  if test -n "$CCC"; then
 
 
7213
    if test -n "$ac_tool_prefix"; then
 
 
7214
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
 
7216
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
 
7217
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
 
7218
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
7219
$as_echo_n "checking for $ac_word... " >&6; }
 
 
7220
if test "${ac_cv_prog_CXX+set}" = set; then :
 
 
7221
  $as_echo_n "(cached) " >&6
 
 
7223
  if test -n "$CXX"; then
 
 
7224
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
 
 
7226
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
7230
  test -z "$as_dir" && as_dir=.
 
 
7231
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
7232
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
7233
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 
 
7234
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
7244
if test -n "$CXX"; then
 
 
7245
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
 
 
7246
$as_echo "$CXX" >&6; }
 
 
7248
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
7249
$as_echo "no" >&6; }
 
 
7253
    test -n "$CXX" && break
 
 
7256
if test -z "$CXX"; then
 
 
7258
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
 
7260
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
 
7261
set dummy $ac_prog; ac_word=$2
 
 
7262
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
7263
$as_echo_n "checking for $ac_word... " >&6; }
 
 
7264
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
 
 
7265
  $as_echo_n "(cached) " >&6
 
 
7267
  if test -n "$ac_ct_CXX"; then
 
 
7268
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 
 
7270
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
7274
  test -z "$as_dir" && as_dir=.
 
 
7275
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
7276
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
7277
    ac_cv_prog_ac_ct_CXX="$ac_prog"
 
 
7278
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
7287
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 
 
7288
if test -n "$ac_ct_CXX"; then
 
 
7289
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
 
 
7290
$as_echo "$ac_ct_CXX" >&6; }
 
 
7292
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
7293
$as_echo "no" >&6; }
 
 
7297
  test -n "$ac_ct_CXX" && break
 
 
7300
  if test "x$ac_ct_CXX" = x; then
 
 
7303
    case $cross_compiling:$ac_tool_warned in
 
 
7305
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
 
7306
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
 
7307
ac_tool_warned=yes ;;
 
 
7315
# Provide some information about the compiler.
 
 
7316
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
 
 
7319
for ac_option in --version -v -V -qversion; do
 
 
7320
  { { ac_try="$ac_compiler $ac_option >&5"
 
 
7322
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
 
7323
  *) ac_try_echo=$ac_try;;
 
 
7325
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
 
7326
$as_echo "$ac_try_echo"; } >&5
 
 
7327
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
 
7329
  if test -s conftest.err; then
 
 
7331
... rest of stderr output deleted ...
 
 
7332
         10q' conftest.err >conftest.er1
 
 
7333
    cat conftest.er1 >&5
 
 
7334
    rm -f conftest.er1 conftest.err
 
 
7336
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
 
7337
  test $ac_status = 0; }
 
 
7340
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
 
 
7341
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
 
 
7342
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
 
 
7343
  $as_echo_n "(cached) " >&6
 
 
7345
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
7346
/* end confdefs.h.  */
 
 
7359
if ac_fn_cxx_try_compile "$LINENO"; then :
 
 
7364
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
 
7365
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 
 
7368
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
 
 
7369
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 
 
7370
if test $ac_compiler_gnu = yes; then
 
 
7375
ac_test_CXXFLAGS=${CXXFLAGS+set}
 
 
7376
ac_save_CXXFLAGS=$CXXFLAGS
 
 
7377
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
 
 
7378
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
 
 
7379
if test "${ac_cv_prog_cxx_g+set}" = set; then :
 
 
7380
  $as_echo_n "(cached) " >&6
 
 
7382
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
 
7383
   ac_cxx_werror_flag=yes
 
 
7386
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
7387
/* end confdefs.h.  */
 
 
7397
if ac_fn_cxx_try_compile "$LINENO"; then :
 
 
7398
  ac_cv_prog_cxx_g=yes
 
 
7401
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
7402
/* end confdefs.h.  */
 
 
7412
if ac_fn_cxx_try_compile "$LINENO"; then :
 
 
7415
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
 
7417
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
7418
/* end confdefs.h.  */
 
 
7428
if ac_fn_cxx_try_compile "$LINENO"; then :
 
 
7429
  ac_cv_prog_cxx_g=yes
 
 
7431
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
 
7433
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
 
7435
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
 
7436
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
 
7438
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
 
 
7439
$as_echo "$ac_cv_prog_cxx_g" >&6; }
 
 
7440
if test "$ac_test_CXXFLAGS" = set; then
 
 
7441
  CXXFLAGS=$ac_save_CXXFLAGS
 
 
7442
elif test $ac_cv_prog_cxx_g = yes; then
 
 
7443
  if test "$GXX" = yes; then
 
 
7449
  if test "$GXX" = yes; then
 
 
7456
ac_cpp='$CPP $CPPFLAGS'
 
 
7457
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
 
7458
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
 
7459
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
7461
depcc="$CXX"  am_compiler_list=
 
 
7463
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
 
7464
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
 
7465
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
 
 
7466
  $as_echo_n "(cached) " >&6
 
 
7468
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
 
7469
  # We make a subdir and do the tests there.  Otherwise we can end up
 
 
7470
  # making bogus files that we don't know about and never remove.  For
 
 
7471
  # instance it was reported that on HP-UX the gcc test will end up
 
 
7472
  # making a dummy file named `D' -- because `-MD' means `put the output
 
 
7475
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
 
7476
  # using a relative directory.
 
 
7477
  cp "$am_depcomp" conftest.dir
 
 
7479
  # We will build objects and dependencies in a subdirectory because
 
 
7480
  # it helps to detect inapplicable dependency modes.  For instance
 
 
7481
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
 
7482
  # side effect of compilation, but ICC will put the dependencies in
 
 
7483
  # the current directory while Tru64 will put them in the object
 
 
7487
  am_cv_CXX_dependencies_compiler_type=none
 
 
7488
  if test "$am_compiler_list" = ""; then
 
 
7489
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
 
7492
  case " $depcc " in #(
 
 
7493
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
 
7496
  for depmode in $am_compiler_list; do
 
 
7497
    # Setup a source with many dependencies, because some compilers
 
 
7498
    # like to wrap large dependency lists on column 80 (with \), and
 
 
7499
    # we should not choose a depcomp mode which is confused by this.
 
 
7501
    # We need to recreate these files for each test, as the compiler may
 
 
7502
    # overwrite some of them when testing with obscure command lines.
 
 
7503
    # This happens at least with the AIX C compiler.
 
 
7505
    for i in 1 2 3 4 5 6; do
 
 
7506
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
 
7507
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
 
7508
      # Solaris 8's {/usr,}/bin/sh.
 
 
7509
      touch sub/conftst$i.h
 
 
7511
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
 
7513
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
 
7514
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
 
7515
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
 
7516
    # versions had trouble with output in subdirs
 
 
7517
    am__obj=sub/conftest.${OBJEXT-o}
 
 
7518
    am__minus_obj="-o $am__obj"
 
 
7521
      # This depmode causes a compiler race in universal mode.
 
 
7522
      test "$am__universal" = false || continue
 
 
7525
      # after this tag, mechanisms are not by side-effect, so they'll
 
 
7526
      # only be used when explicitly requested
 
 
7527
      if test "x$enable_dependency_tracking" = xyes; then
 
 
7533
    msvisualcpp | msvcmsys)
 
 
7534
      # This compiler won't grok `-c -o', but also, the minuso test has
 
 
7535
      # not run yet.  These depmodes are late enough in the game, and
 
 
7536
      # so weak that their functioning should not be impacted.
 
 
7537
      am__obj=conftest.${OBJEXT-o}
 
 
7542
    if depmode=$depmode \
 
 
7543
       source=sub/conftest.c object=$am__obj \
 
 
7544
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
 
7545
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 
 
7546
         >/dev/null 2>conftest.err &&
 
 
7547
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
 
7548
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
 
7549
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 
 
7550
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
 
7551
      # icc doesn't choke on unknown options, it will just issue warnings
 
 
7552
      # or remarks (even with -Werror).  So we grep stderr for any message
 
 
7553
      # that says an option was ignored or not supported.
 
 
7554
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
 
7555
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
 
7556
      # The diagnosis changed in icc 8.0:
 
 
7557
      #   icc: Command line remark: option '-MP' not supported
 
 
7558
      if (grep 'ignoring option' conftest.err ||
 
 
7559
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
 
7560
        am_cv_CXX_dependencies_compiler_type=$depmode
 
 
7569
  am_cv_CXX_dependencies_compiler_type=none
 
 
7573
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
 
7574
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
 
 
7575
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
 
 
7578
  test "x$enable_dependency_tracking" != xno \
 
 
7579
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
 
 
7580
  am__fastdepCXX_TRUE=
 
 
7581
  am__fastdepCXX_FALSE='#'
 
 
7583
  am__fastdepCXX_TRUE='#'
 
 
7584
  am__fastdepCXX_FALSE=
 
 
7588
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
 
 
7589
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
 
 
7590
    (test "X$CXX" != "Xg++"))) ; then
 
 
7592
ac_cpp='$CXXCPP $CPPFLAGS'
 
 
7593
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
 
7594
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
 
7595
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
 
7596
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
 
 
7597
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
 
 
7598
if test -z "$CXXCPP"; then
 
 
7599
  if test "${ac_cv_prog_CXXCPP+set}" = set; then :
 
 
7600
  $as_echo_n "(cached) " >&6
 
 
7602
      # Double quotes because CXXCPP needs to be expanded
 
 
7603
    for CXXCPP in "$CXX -E" "/lib/cpp"
 
 
7606
for ac_cxx_preproc_warn_flag in '' yes
 
 
7608
  # Use a header file that comes with gcc, so configuring glibc
 
 
7609
  # with a fresh cross-compiler works.
 
 
7610
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
 
7611
  # <limits.h> exists even on freestanding compilers.
 
 
7612
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
 
7613
  # not just through cpp. "Syntax error" is here to catch this case.
 
 
7614
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
7615
/* end confdefs.h.  */
 
 
7617
# include <limits.h>
 
 
7619
# include <assert.h>
 
 
7623
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
 
7626
  # Broken: fails on valid input.
 
 
7629
rm -f conftest.err conftest.$ac_ext
 
 
7631
  # OK, works on sane cases.  Now check whether nonexistent headers
 
 
7632
  # can be detected and how.
 
 
7633
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
7634
/* end confdefs.h.  */
 
 
7635
#include <ac_nonexistent.h>
 
 
7637
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
 
7638
  # Broken: success on invalid input.
 
 
7641
  # Passes both tests.
 
 
7645
rm -f conftest.err conftest.$ac_ext
 
 
7648
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
 
7649
rm -f conftest.err conftest.$ac_ext
 
 
7650
if $ac_preproc_ok; then :
 
 
7655
    ac_cv_prog_CXXCPP=$CXXCPP
 
 
7658
  CXXCPP=$ac_cv_prog_CXXCPP
 
 
7660
  ac_cv_prog_CXXCPP=$CXXCPP
 
 
7662
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
 
 
7663
$as_echo "$CXXCPP" >&6; }
 
 
7665
for ac_cxx_preproc_warn_flag in '' yes
 
 
7667
  # Use a header file that comes with gcc, so configuring glibc
 
 
7668
  # with a fresh cross-compiler works.
 
 
7669
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
 
7670
  # <limits.h> exists even on freestanding compilers.
 
 
7671
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
 
7672
  # not just through cpp. "Syntax error" is here to catch this case.
 
 
7673
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
7674
/* end confdefs.h.  */
 
 
7676
# include <limits.h>
 
 
7678
# include <assert.h>
 
 
7682
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
 
7685
  # Broken: fails on valid input.
 
 
7688
rm -f conftest.err conftest.$ac_ext
 
 
7690
  # OK, works on sane cases.  Now check whether nonexistent headers
 
 
7691
  # can be detected and how.
 
 
7692
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
7693
/* end confdefs.h.  */
 
 
7694
#include <ac_nonexistent.h>
 
 
7696
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
 
7697
  # Broken: success on invalid input.
 
 
7700
  # Passes both tests.
 
 
7704
rm -f conftest.err conftest.$ac_ext
 
 
7707
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
 
7708
rm -f conftest.err conftest.$ac_ext
 
 
7709
if $ac_preproc_ok; then :
 
 
7712
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
 
7713
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
 
7714
_lt_caught_CXX_error=yes; }
 
 
7718
ac_cpp='$CPP $CPPFLAGS'
 
 
7719
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
 
7720
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
 
7721
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
7724
  _lt_caught_CXX_error=yes
 
 
7741
            # Check whether --enable-shared was given.
 
 
7742
if test "${enable_shared+set}" = set; then :
 
 
7743
  enableval=$enable_shared; p=${PACKAGE-default}
 
 
7745
    yes) enable_shared=yes ;;
 
 
7746
    no) enable_shared=no ;;
 
 
7749
      # Look at the argument we got.  We use all the common list separators.
 
 
7750
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
 
7751
      for pkg in $enableval; do
 
 
7753
        if test "X$pkg" = "X$p"; then
 
 
7772
  # Check whether --enable-static was given.
 
 
7773
if test "${enable_static+set}" = set; then :
 
 
7774
  enableval=$enable_static; p=${PACKAGE-default}
 
 
7776
    yes) enable_static=yes ;;
 
 
7777
    no) enable_static=no ;;
 
 
7780
      # Look at the argument we got.  We use all the common list separators.
 
 
7781
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
 
7782
      for pkg in $enableval; do
 
 
7784
        if test "X$pkg" = "X$p"; then
 
 
7804
# Check whether --with-pic was given.
 
 
7805
if test "${with_pic+set}" = set; then :
 
 
7806
  withval=$with_pic; pic_mode="$withval"
 
 
7812
test -z "$pic_mode" && pic_mode=default
 
 
7820
  # Check whether --enable-fast-install was given.
 
 
7821
if test "${enable_fast_install+set}" = set; then :
 
 
7822
  enableval=$enable_fast_install; p=${PACKAGE-default}
 
 
7824
    yes) enable_fast_install=yes ;;
 
 
7825
    no) enable_fast_install=no ;;
 
 
7827
      enable_fast_install=no
 
 
7828
      # Look at the argument we got.  We use all the common list separators.
 
 
7829
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
 
7830
      for pkg in $enableval; do
 
 
7832
        if test "X$pkg" = "X$p"; then
 
 
7833
          enable_fast_install=yes
 
 
7840
  enable_fast_install=yes
 
 
7853
# This can be used to rebuild libtool when needed
 
 
7854
LIBTOOL_DEPS="$ltmain"
 
 
7856
# Always use our own libtool.
 
 
7857
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
 
7883
test -z "$LN_S" && LN_S="ln -s"
 
 
7898
if test -n "${ZSH_VERSION+set}" ; then
 
 
7899
   setopt NO_GLOB_SUBST
 
 
7902
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
 
 
7903
$as_echo_n "checking for objdir... " >&6; }
 
 
7904
if test "${lt_cv_objdir+set}" = set; then :
 
 
7905
  $as_echo_n "(cached) " >&6
 
 
7907
  rm -f .libs 2>/dev/null
 
 
7908
mkdir .libs 2>/dev/null
 
 
7909
if test -d .libs; then
 
 
7912
  # MS-DOS does not allow filenames that begin with a dot.
 
 
7915
rmdir .libs 2>/dev/null
 
 
7917
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
 
 
7918
$as_echo "$lt_cv_objdir" >&6; }
 
 
7919
objdir=$lt_cv_objdir
 
 
7925
cat >>confdefs.h <<_ACEOF
 
 
7926
#define LT_OBJDIR "$lt_cv_objdir/"
 
 
7947
  # AIX sometimes has problems with the GCC collect2 program.  For some
 
 
7948
  # reason, if we set the COLLECT_NAMES environment variable, the problems
 
 
7949
  # vanish in a puff of smoke.
 
 
7950
  if test "X${COLLECT_NAMES+set}" != Xset; then
 
 
7952
    export COLLECT_NAMES
 
 
7957
# Sed substitution that helps us do robust quoting.  It backslashifies
 
 
7958
# metacharacters that are still active within double-quoted strings.
 
 
7959
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
 
7961
# Same as above, but do not quote variable references.
 
 
7962
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
 
7964
# Sed substitution to delay expansion of an escaped shell variable in a
 
 
7965
# double_quote_subst'ed string.
 
 
7966
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
 
7968
# Sed substitution to delay expansion of an escaped single quote.
 
 
7969
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
 
7971
# Sed substitution to avoid accidental globbing in evaled expressions
 
 
7972
no_glob_subst='s/\*/\\\*/g'
 
 
7976
can_build_shared=yes
 
 
7978
# All known linkers require a `.a' archive for static linking (except MSVC,
 
 
7979
# which needs '.lib').
 
 
7982
with_gnu_ld="$lt_cv_prog_gnu_ld"
 
 
7985
old_CFLAGS="$CFLAGS"
 
 
7987
# Set sane defaults for various variables
 
 
7988
test -z "$CC" && CC=cc
 
 
7989
test -z "$LTCC" && LTCC=$CC
 
 
7990
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 
 
7991
test -z "$LD" && LD=ld
 
 
7992
test -z "$ac_objext" && ac_objext=o
 
 
7994
for cc_temp in $compiler""; do
 
 
7996
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
 
7997
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
 
8002
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
 
8005
# Only perform the check for file, if the check method requires it
 
 
8006
test -z "$MAGIC_CMD" && MAGIC_CMD=file
 
 
8007
case $deplibs_check_method in
 
 
8009
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 
 
8010
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
 
 
8011
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
 
 
8012
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
 
8013
  $as_echo_n "(cached) " >&6
 
 
8017
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
 
8020
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
 
8021
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
 
8022
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
 
8023
  for ac_dir in $ac_dummy; do
 
 
8025
    test -z "$ac_dir" && ac_dir=.
 
 
8026
    if test -f $ac_dir/${ac_tool_prefix}file; then
 
 
8027
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
 
 
8028
      if test -n "$file_magic_test_file"; then
 
 
8029
        case $deplibs_check_method in
 
 
8031
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
 
8032
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
 
8033
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
 
8034
            $EGREP "$file_magic_regex" > /dev/null; then
 
 
8039
*** Warning: the command libtool uses to detect shared libraries,
 
 
8040
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
 
8041
*** The result is that libtool may fail to recognize shared libraries
 
 
8042
*** as such.  This will affect the creation of libtool libraries that
 
 
8043
*** depend on shared libraries, but programs linked with such libtool
 
 
8044
*** libraries will work regardless of this problem.  Nevertheless, you
 
 
8045
*** may want to report the problem to your system manager and/or to
 
 
8046
*** bug-libtool@gnu.org
 
 
8056
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
 
8061
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
 
8062
if test -n "$MAGIC_CMD"; then
 
 
8063
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
 
8064
$as_echo "$MAGIC_CMD" >&6; }
 
 
8066
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
8067
$as_echo "no" >&6; }
 
 
8074
if test -z "$lt_cv_path_MAGIC_CMD"; then
 
 
8075
  if test -n "$ac_tool_prefix"; then
 
 
8076
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
 
 
8077
$as_echo_n "checking for file... " >&6; }
 
 
8078
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
 
8079
  $as_echo_n "(cached) " >&6
 
 
8083
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
 
8086
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
 
8087
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
 
8088
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
 
8089
  for ac_dir in $ac_dummy; do
 
 
8091
    test -z "$ac_dir" && ac_dir=.
 
 
8092
    if test -f $ac_dir/file; then
 
 
8093
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
 
 
8094
      if test -n "$file_magic_test_file"; then
 
 
8095
        case $deplibs_check_method in
 
 
8097
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
 
8098
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
 
8099
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
 
8100
            $EGREP "$file_magic_regex" > /dev/null; then
 
 
8105
*** Warning: the command libtool uses to detect shared libraries,
 
 
8106
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
 
8107
*** The result is that libtool may fail to recognize shared libraries
 
 
8108
*** as such.  This will affect the creation of libtool libraries that
 
 
8109
*** depend on shared libraries, but programs linked with such libtool
 
 
8110
*** libraries will work regardless of this problem.  Nevertheless, you
 
 
8111
*** may want to report the problem to your system manager and/or to
 
 
8112
*** bug-libtool@gnu.org
 
 
8122
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
 
8127
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
 
8128
if test -n "$MAGIC_CMD"; then
 
 
8129
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
 
8130
$as_echo "$MAGIC_CMD" >&6; }
 
 
8132
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
8133
$as_echo "no" >&6; }
 
 
8146
# Use C for the default configuration in the libtool script
 
 
8150
ac_cpp='$CPP $CPPFLAGS'
 
 
8151
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
 
8152
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
 
8153
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
8156
# Source file extension for C test sources.
 
 
8159
# Object file extension for compiled C test sources.
 
 
8163
# Code to be used in simple compile tests
 
 
8164
lt_simple_compile_test_code="int some_variable = 0;"
 
 
8166
# Code to be used in simple link tests
 
 
8167
lt_simple_link_test_code='int main(){return(0);}'
 
 
8175
# If no C compiler was specified, use CC.
 
 
8178
# If no C compiler flags were specified, use CFLAGS.
 
 
8179
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
 
8181
# Allow CC to be a program name with arguments.
 
 
8184
# Save the default compiler, since it gets overwritten when the other
 
 
8185
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 
 
8186
compiler_DEFAULT=$CC
 
 
8188
# save warnings/boilerplate of simple test code
 
 
8189
ac_outfile=conftest.$ac_objext
 
 
8190
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
 
8191
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
 
8192
_lt_compiler_boilerplate=`cat conftest.err`
 
 
8195
ac_outfile=conftest.$ac_objext
 
 
8196
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
 
8197
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
 
8198
_lt_linker_boilerplate=`cat conftest.err`
 
 
8203
## There is no encapsulation within the following macros, do not change
 
 
8204
## the running order or otherwise move them around unless you know exactly
 
 
8205
## what you are doing...
 
 
8206
if test -n "$compiler"; then
 
 
8208
lt_prog_compiler_no_builtin_flag=
 
 
8210
if test "$GCC" = yes; then
 
 
8211
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
 
 
8213
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
 
8214
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
 
 
8215
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
 
 
8216
  $as_echo_n "(cached) " >&6
 
 
8218
  lt_cv_prog_compiler_rtti_exceptions=no
 
 
8219
   ac_outfile=conftest.$ac_objext
 
 
8220
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
 
8221
   lt_compiler_flag="-fno-rtti -fno-exceptions"
 
 
8222
   # Insert the option either (1) after the last *FLAGS variable, or
 
 
8223
   # (2) before a word containing "conftest.", or (3) at the end.
 
 
8224
   # Note that $ac_compile itself does not contain backslashes and begins
 
 
8225
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
 
8226
   # The option is referenced via a variable to avoid confusing sed.
 
 
8227
   lt_compile=`echo "$ac_compile" | $SED \
 
 
8228
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
 
8229
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
 
8230
   -e 's:$: $lt_compiler_flag:'`
 
 
8231
   (eval echo "\"\$as_me:8231: $lt_compile\"" >&5)
 
 
8232
   (eval "$lt_compile" 2>conftest.err)
 
 
8234
   cat conftest.err >&5
 
 
8235
   echo "$as_me:8235: \$? = $ac_status" >&5
 
 
8236
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
 
8237
     # The compiler can only warn and ignore the option if not recognized
 
 
8238
     # So say no if there are warnings other than the usual output.
 
 
8239
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
 
8240
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
 
8241
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
 
8242
       lt_cv_prog_compiler_rtti_exceptions=yes
 
 
8248
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
 
8249
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 
 
8251
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
 
 
8252
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
 
 
8264
  lt_prog_compiler_wl=
 
 
8265
lt_prog_compiler_pic=
 
 
8266
lt_prog_compiler_static=
 
 
8268
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
 
8269
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
 
8271
  if test "$GCC" = yes; then
 
 
8272
    lt_prog_compiler_wl='-Wl,'
 
 
8273
    lt_prog_compiler_static='-static'
 
 
8277
      # All AIX code is PIC.
 
 
8278
      if test "$host_cpu" = ia64; then
 
 
8279
        # AIX 5 now supports IA64 processor
 
 
8280
        lt_prog_compiler_static='-Bstatic'
 
 
8287
            # see comment about AmigaOS4 .so support
 
 
8288
            lt_prog_compiler_pic='-fPIC'
 
 
8291
            # FIXME: we need at least 68020 code to build shared libraries, but
 
 
8292
            # adding the `-m68020' flag to GCC prevents building anything better,
 
 
8294
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
 
8299
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
 
8300
      # PIC is the default for these OSes.
 
 
8303
    mingw* | cygwin* | pw32* | os2* | cegcc*)
 
 
8304
      # This hack is so that the source file can tell whether it is being
 
 
8305
      # built for inclusion in a dll (and should export symbols for example).
 
 
8306
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
 
8307
      # (--disable-auto-import) libraries
 
 
8308
      lt_prog_compiler_pic='-DDLL_EXPORT'
 
 
8311
    darwin* | rhapsody*)
 
 
8312
      # PIC is the default on this platform
 
 
8313
      # Common symbols not allowed in MH_DYLIB files
 
 
8314
      lt_prog_compiler_pic='-fno-common'
 
 
8318
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
 
8319
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
 
8320
      # sets the default TLS model and affects inlining.
 
 
8326
        lt_prog_compiler_pic='-fPIC'
 
 
8332
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
 
8333
      # Instead, we relocate shared libraries at runtime.
 
 
8337
      # Just because we use GCC doesn't mean we suddenly get shared libraries
 
 
8338
      # on systems that don't support them.
 
 
8339
      lt_prog_compiler_can_build_shared=no
 
 
8344
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
 
8346
      lt_prog_compiler_pic='-fPIC -shared'
 
 
8350
      if test -d /usr/nec; then
 
 
8351
        lt_prog_compiler_pic=-Kconform_pic
 
 
8356
      lt_prog_compiler_pic='-fPIC'
 
 
8360
    # PORTME Check for flag to pass linker flags through the system compiler.
 
 
8363
      lt_prog_compiler_wl='-Wl,'
 
 
8364
      if test "$host_cpu" = ia64; then
 
 
8365
        # AIX 5 now supports IA64 processor
 
 
8366
        lt_prog_compiler_static='-Bstatic'
 
 
8368
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
 
 
8372
    mingw* | cygwin* | pw32* | os2* | cegcc*)
 
 
8373
      # This hack is so that the source file can tell whether it is being
 
 
8374
      # built for inclusion in a dll (and should export symbols for example).
 
 
8375
      lt_prog_compiler_pic='-DDLL_EXPORT'
 
 
8378
    hpux9* | hpux10* | hpux11*)
 
 
8379
      lt_prog_compiler_wl='-Wl,'
 
 
8380
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 
 
8387
        lt_prog_compiler_pic='+Z'
 
 
8390
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
 
 
8391
      lt_prog_compiler_static='${wl}-a ${wl}archive'
 
 
8394
    irix5* | irix6* | nonstopux*)
 
 
8395
      lt_prog_compiler_wl='-Wl,'
 
 
8396
      # PIC (with -KPIC) is the default.
 
 
8397
      lt_prog_compiler_static='-non_shared'
 
 
8400
    linux* | k*bsd*-gnu)
 
 
8401
      case $cc_basename in
 
 
8402
      # old Intel for x86_64 which still supported -KPIC.
 
 
8404
        lt_prog_compiler_wl='-Wl,'
 
 
8405
        lt_prog_compiler_pic='-KPIC'
 
 
8406
        lt_prog_compiler_static='-static'
 
 
8408
      # icc used to be incompatible with GCC.
 
 
8409
      # ICC 10 doesn't accept -KPIC any more.
 
 
8411
        lt_prog_compiler_wl='-Wl,'
 
 
8412
        lt_prog_compiler_pic='-fPIC'
 
 
8413
        lt_prog_compiler_static='-static'
 
 
8415
      # Lahey Fortran 8.1.
 
 
8417
        lt_prog_compiler_wl='-Wl,'
 
 
8418
        lt_prog_compiler_pic='--shared'
 
 
8419
        lt_prog_compiler_static='--static'
 
 
8421
      pgcc* | pgf77* | pgf90* | pgf95*)
 
 
8422
        # Portland Group compilers (*not* the Pentium gcc compiler,
 
 
8423
        # which looks to be a dead project)
 
 
8424
        lt_prog_compiler_wl='-Wl,'
 
 
8425
        lt_prog_compiler_pic='-fpic'
 
 
8426
        lt_prog_compiler_static='-Bstatic'
 
 
8429
        lt_prog_compiler_wl='-Wl,'
 
 
8430
        # All Alpha code is PIC.
 
 
8431
        lt_prog_compiler_static='-non_shared'
 
 
8434
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
 
8435
        lt_prog_compiler_wl='-Wl,'
 
 
8436
        lt_prog_compiler_pic='-qpic'
 
 
8437
        lt_prog_compiler_static='-qstaticlink'
 
 
8440
        case `$CC -V 2>&1 | sed 5q` in
 
 
8443
          lt_prog_compiler_pic='-KPIC'
 
 
8444
          lt_prog_compiler_static='-Bstatic'
 
 
8445
          lt_prog_compiler_wl='-Wl,'
 
 
8448
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
 
8449
          lt_prog_compiler_pic='-KPIC'
 
 
8450
          lt_prog_compiler_static='-Bstatic'
 
 
8451
          lt_prog_compiler_wl=''
 
 
8459
      lt_prog_compiler_pic='-KPIC'
 
 
8460
      lt_prog_compiler_static='-Bstatic'
 
 
8464
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
 
8466
      lt_prog_compiler_pic='-fPIC -shared'
 
 
8469
    osf3* | osf4* | osf5*)
 
 
8470
      lt_prog_compiler_wl='-Wl,'
 
 
8471
      # All OSF/1 code is PIC.
 
 
8472
      lt_prog_compiler_static='-non_shared'
 
 
8476
      lt_prog_compiler_static='-non_shared'
 
 
8480
      lt_prog_compiler_pic='-KPIC'
 
 
8481
      lt_prog_compiler_static='-Bstatic'
 
 
8482
      case $cc_basename in
 
 
8484
        lt_prog_compiler_wl='-Qoption ld ';;
 
 
8486
        lt_prog_compiler_wl='-Wl,';;
 
 
8491
      lt_prog_compiler_wl='-Qoption ld '
 
 
8492
      lt_prog_compiler_pic='-PIC'
 
 
8493
      lt_prog_compiler_static='-Bstatic'
 
 
8496
    sysv4 | sysv4.2uw2* | sysv4.3*)
 
 
8497
      lt_prog_compiler_wl='-Wl,'
 
 
8498
      lt_prog_compiler_pic='-KPIC'
 
 
8499
      lt_prog_compiler_static='-Bstatic'
 
 
8503
      if test -d /usr/nec ;then
 
 
8504
        lt_prog_compiler_pic='-Kconform_pic'
 
 
8505
        lt_prog_compiler_static='-Bstatic'
 
 
8509
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
 
8510
      lt_prog_compiler_wl='-Wl,'
 
 
8511
      lt_prog_compiler_pic='-KPIC'
 
 
8512
      lt_prog_compiler_static='-Bstatic'
 
 
8516
      lt_prog_compiler_wl='-Wl,'
 
 
8517
      lt_prog_compiler_can_build_shared=no
 
 
8521
      lt_prog_compiler_pic='-pic'
 
 
8522
      lt_prog_compiler_static='-Bstatic'
 
 
8526
      lt_prog_compiler_can_build_shared=no
 
 
8532
  # For platforms which do not support PIC, -DPIC is meaningless:
 
 
8534
    lt_prog_compiler_pic=
 
 
8537
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 
 
8540
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
 
 
8541
$as_echo "$lt_prog_compiler_pic" >&6; }
 
 
8549
# Check to make sure the PIC flag actually works.
 
 
8551
if test -n "$lt_prog_compiler_pic"; then
 
 
8552
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
 
8553
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
 
 
8554
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
 
 
8555
  $as_echo_n "(cached) " >&6
 
 
8557
  lt_cv_prog_compiler_pic_works=no
 
 
8558
   ac_outfile=conftest.$ac_objext
 
 
8559
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
 
8560
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
 
 
8561
   # Insert the option either (1) after the last *FLAGS variable, or
 
 
8562
   # (2) before a word containing "conftest.", or (3) at the end.
 
 
8563
   # Note that $ac_compile itself does not contain backslashes and begins
 
 
8564
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
 
8565
   # The option is referenced via a variable to avoid confusing sed.
 
 
8566
   lt_compile=`echo "$ac_compile" | $SED \
 
 
8567
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
 
8568
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
 
8569
   -e 's:$: $lt_compiler_flag:'`
 
 
8570
   (eval echo "\"\$as_me:8570: $lt_compile\"" >&5)
 
 
8571
   (eval "$lt_compile" 2>conftest.err)
 
 
8573
   cat conftest.err >&5
 
 
8574
   echo "$as_me:8574: \$? = $ac_status" >&5
 
 
8575
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
 
8576
     # The compiler can only warn and ignore the option if not recognized
 
 
8577
     # So say no if there are warnings other than the usual output.
 
 
8578
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
 
8579
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
 
8580
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
 
8581
       lt_cv_prog_compiler_pic_works=yes
 
 
8587
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
 
 
8588
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
 
 
8590
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
 
 
8591
    case $lt_prog_compiler_pic in
 
 
8593
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
 
 
8596
    lt_prog_compiler_pic=
 
 
8597
     lt_prog_compiler_can_build_shared=no
 
 
8608
# Check to make sure the static flag actually works.
 
 
8610
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
 
 
8611
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
 
8612
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
 
8613
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
 
 
8614
  $as_echo_n "(cached) " >&6
 
 
8616
  lt_cv_prog_compiler_static_works=no
 
 
8617
   save_LDFLAGS="$LDFLAGS"
 
 
8618
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
 
8619
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
 
8620
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
 
8621
     # The linker can only warn and ignore the option if not recognized
 
 
8622
     # So say no if there are warnings
 
 
8623
     if test -s conftest.err; then
 
 
8624
       # Append any errors to the config.log.
 
 
8625
       cat conftest.err 1>&5
 
 
8626
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
 
8627
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
 
8628
       if diff conftest.exp conftest.er2 >/dev/null; then
 
 
8629
         lt_cv_prog_compiler_static_works=yes
 
 
8632
       lt_cv_prog_compiler_static_works=yes
 
 
8636
   LDFLAGS="$save_LDFLAGS"
 
 
8639
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
 
 
8640
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
 
 
8642
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
 
 
8645
    lt_prog_compiler_static=
 
 
8654
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
 
8655
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
 
8656
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
 
8657
  $as_echo_n "(cached) " >&6
 
 
8659
  lt_cv_prog_compiler_c_o=no
 
 
8660
   $RM -r conftest 2>/dev/null
 
 
8664
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
 
8666
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
 
8667
   # Insert the option either (1) after the last *FLAGS variable, or
 
 
8668
   # (2) before a word containing "conftest.", or (3) at the end.
 
 
8669
   # Note that $ac_compile itself does not contain backslashes and begins
 
 
8670
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
 
8671
   lt_compile=`echo "$ac_compile" | $SED \
 
 
8672
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
 
8673
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
 
8674
   -e 's:$: $lt_compiler_flag:'`
 
 
8675
   (eval echo "\"\$as_me:8675: $lt_compile\"" >&5)
 
 
8676
   (eval "$lt_compile" 2>out/conftest.err)
 
 
8678
   cat out/conftest.err >&5
 
 
8679
   echo "$as_me:8679: \$? = $ac_status" >&5
 
 
8680
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
 
8682
     # The compiler can only warn and ignore the option if not recognized
 
 
8683
     # So say no if there are warnings
 
 
8684
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
 
8685
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
 
8686
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
 
8687
       lt_cv_prog_compiler_c_o=yes
 
 
8692
   # SGI C++ compiler will create directory out/ii_files/ for
 
 
8693
   # template instantiation
 
 
8694
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
 
8695
   $RM out/* && rmdir out
 
 
8701
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
 
8702
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
 
8709
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
 
8710
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
 
8711
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
 
8712
  $as_echo_n "(cached) " >&6
 
 
8714
  lt_cv_prog_compiler_c_o=no
 
 
8715
   $RM -r conftest 2>/dev/null
 
 
8719
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
 
8721
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
 
8722
   # Insert the option either (1) after the last *FLAGS variable, or
 
 
8723
   # (2) before a word containing "conftest.", or (3) at the end.
 
 
8724
   # Note that $ac_compile itself does not contain backslashes and begins
 
 
8725
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
 
8726
   lt_compile=`echo "$ac_compile" | $SED \
 
 
8727
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
 
8728
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
 
8729
   -e 's:$: $lt_compiler_flag:'`
 
 
8730
   (eval echo "\"\$as_me:8730: $lt_compile\"" >&5)
 
 
8731
   (eval "$lt_compile" 2>out/conftest.err)
 
 
8733
   cat out/conftest.err >&5
 
 
8734
   echo "$as_me:8734: \$? = $ac_status" >&5
 
 
8735
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
 
8737
     # The compiler can only warn and ignore the option if not recognized
 
 
8738
     # So say no if there are warnings
 
 
8739
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
 
8740
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
 
8741
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
 
8742
       lt_cv_prog_compiler_c_o=yes
 
 
8747
   # SGI C++ compiler will create directory out/ii_files/ for
 
 
8748
   # template instantiation
 
 
8749
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
 
8750
   $RM out/* && rmdir out
 
 
8756
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
 
8757
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
 
8762
hard_links="nottested"
 
 
8763
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
 
 
8764
  # do not overwrite the value of need_locks provided by the user
 
 
8765
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
 
 
8766
$as_echo_n "checking if we can lock with hard links... " >&6; }
 
 
8769
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
 
8771
  ln conftest.a conftest.b 2>&5 || hard_links=no
 
 
8772
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
 
8773
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
 
 
8774
$as_echo "$hard_links" >&6; }
 
 
8775
  if test "$hard_links" = no; then
 
 
8776
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
 
8777
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
 
8789
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
 
8790
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 
 
8793
  allow_undefined_flag=
 
 
8794
  always_export_symbols=no
 
 
8796
  archive_expsym_cmds=
 
 
8797
  compiler_needs_object=no
 
 
8798
  enable_shared_with_static_runtimes=no
 
 
8799
  export_dynamic_flag_spec=
 
 
8800
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
 
8801
  hardcode_automatic=no
 
 
8803
  hardcode_direct_absolute=no
 
 
8804
  hardcode_libdir_flag_spec=
 
 
8805
  hardcode_libdir_flag_spec_ld=
 
 
8806
  hardcode_libdir_separator=
 
 
8808
  hardcode_shlibpath_var=unsupported
 
 
8810
  link_all_deplibs=unknown
 
 
8813
  old_archive_from_new_cmds=
 
 
8814
  old_archive_from_expsyms_cmds=
 
 
8815
  thread_safe_flag_spec=
 
 
8816
  whole_archive_flag_spec=
 
 
8817
  # include_expsyms should be a list of space-separated symbols to be *always*
 
 
8818
  # included in the symbol list
 
 
8820
  # exclude_expsyms can be an extended regexp of symbols to exclude
 
 
8821
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
 
 
8822
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
 
 
8823
  # as well as any symbol that contains `d'.
 
 
8824
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
 
 
8825
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 
 
8826
  # platforms (ab)use it in PIC code, but their linkers get confused if
 
 
8827
  # the symbol is explicitly referenced.  Since portable code cannot
 
 
8828
  # rely on this symbol name, it's probably fine to never include it in
 
 
8829
  # preloaded symbol tables.
 
 
8830
  # Exclude shared library initialization/finalization symbols.
 
 
8831
  extract_expsyms_cmds=
 
 
8834
  cygwin* | mingw* | pw32* | cegcc*)
 
 
8835
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
 
 
8836
    # When not using gcc, we currently assume that we are using
 
 
8837
    # Microsoft Visual C++.
 
 
8838
    if test "$GCC" != yes; then
 
 
8843
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
 
8849
  linux* | k*bsd*-gnu)
 
 
8855
  if test "$with_gnu_ld" = yes; then
 
 
8856
    # If archive_cmds runs LD, not CC, wlarc should be empty
 
 
8859
    # Set some defaults for GNU ld with shared library support. These
 
 
8860
    # are reset later if shared libraries are not supported. Putting them
 
 
8861
    # here allows them to be overridden if necessary.
 
 
8862
    runpath_var=LD_RUN_PATH
 
 
8863
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
 
8864
    export_dynamic_flag_spec='${wl}--export-dynamic'
 
 
8865
    # ancient GNU ld didn't support --whole-archive et. al.
 
 
8866
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 
 
8867
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
 
8869
      whole_archive_flag_spec=
 
 
8871
    supports_anon_versioning=no
 
 
8872
    case `$LD -v 2>&1` in
 
 
8873
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 
 
8874
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
 
8875
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
 
8876
      *\ 2.11.*) ;; # other 2.11 versions
 
 
8877
      *) supports_anon_versioning=yes ;;
 
 
8880
    # See if GNU ld supports shared libraries.
 
 
8883
      # On AIX/PPC, the GNU linker is very broken
 
 
8884
      if test "$host_cpu" != ia64; then
 
 
8888
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
 
8889
*** to be unable to reliably create shared libraries on AIX.
 
 
8890
*** Therefore, libtool is disabling shared libraries support.  If you
 
 
8891
*** really care for shared libraries, you may want to modify your PATH
 
 
8892
*** so that a non-GNU linker is found, and then restart.
 
 
8901
            # see comment about AmigaOS4 .so support
 
 
8902
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
 
8903
            archive_expsym_cmds=''
 
 
8906
            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)'
 
 
8907
            hardcode_libdir_flag_spec='-L$libdir'
 
 
8908
            hardcode_minus_L=yes
 
 
8914
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
 
8915
        allow_undefined_flag=unsupported
 
 
8916
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
 
8917
        # support --undefined.  This deserves some investigation.  FIXME
 
 
8918
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
 
8924
    cygwin* | mingw* | pw32* | cegcc*)
 
 
8925
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 
 
8926
      # as there is no search path for DLLs.
 
 
8927
      hardcode_libdir_flag_spec='-L$libdir'
 
 
8928
      allow_undefined_flag=unsupported
 
 
8929
      always_export_symbols=no
 
 
8930
      enable_shared_with_static_runtimes=yes
 
 
8931
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
 
8933
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 
 
8934
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
 
8935
        # If the export-symbols file already is a .def file (1st line
 
 
8936
        # is EXPORTS), use it as is; otherwise, prepend...
 
 
8937
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
 
8938
          cp $export_symbols $output_objdir/$soname.def;
 
 
8940
          echo EXPORTS > $output_objdir/$soname.def;
 
 
8941
          cat $export_symbols >> $output_objdir/$soname.def;
 
 
8943
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
 
8951
      hardcode_shlibpath_var=no
 
 
8952
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
 
8953
      export_dynamic_flag_spec='${wl}-E'
 
 
8954
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
 
8955
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
 
8956
      # default) and relocated if they conflict, which is a slow very memory
 
 
8957
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
 
8958
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
 
8959
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
 
8960
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
 
8961
      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'
 
 
8964
    gnu* | linux* | tpf* | k*bsd*-gnu)
 
 
8966
      if test "$host_os" = linux-dietlibc; then
 
 
8967
        case $cc_basename in
 
 
8968
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
 
 
8971
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 
 
8972
         && test "$tmp_diet" = no
 
 
8975
        tmp_sharedflag='-shared'
 
 
8976
        case $cc_basename,$host_cpu in
 
 
8977
        pgcc*)                          # Portland Group C compiler
 
 
8978
          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'
 
 
8979
          tmp_addflag=' $pic_flag'
 
 
8981
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
 
 
8982
          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'
 
 
8983
          tmp_addflag=' $pic_flag -Mnomain' ;;
 
 
8984
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
 
 
8985
          tmp_addflag=' -i_dynamic' ;;
 
 
8986
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
 
 
8987
          tmp_addflag=' -i_dynamic -nofor_main' ;;
 
 
8988
        ifc* | ifort*)                  # Intel Fortran compiler
 
 
8989
          tmp_addflag=' -nofor_main' ;;
 
 
8990
        lf95*)                          # Lahey Fortran 8.1
 
 
8991
          whole_archive_flag_spec=
 
 
8992
          tmp_sharedflag='--shared' ;;
 
 
8993
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
 
8994
          tmp_sharedflag='-qmkshrobj'
 
 
8997
        case `$CC -V 2>&1 | sed 5q` in
 
 
8998
        *Sun\ C*)                       # Sun C 5.9
 
 
8999
          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'
 
 
9000
          compiler_needs_object=yes
 
 
9001
          tmp_sharedflag='-G' ;;
 
 
9002
        *Sun\ F*)                       # Sun Fortran 8.3
 
 
9003
          tmp_sharedflag='-G' ;;
 
 
9005
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
 
9007
        if test "x$supports_anon_versioning" = xyes; then
 
 
9008
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
 
9009
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
 
9010
            echo "local: *; };" >> $output_objdir/$libname.ver~
 
 
9011
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
 
9014
        case $cc_basename in
 
 
9016
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 
 
9017
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
 
 
9018
          hardcode_libdir_flag_spec=
 
 
9019
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
 
9020
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
 
9021
          if test "x$supports_anon_versioning" = xyes; then
 
 
9022
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
 
9023
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
 
9024
              echo "local: *; };" >> $output_objdir/$libname.ver~
 
 
9025
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
 
9034
    netbsd* | netbsdelf*-gnu)
 
 
9035
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
 
9036
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 
 
9039
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
 
9040
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
 
9045
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
 
 
9049
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
 
 
9050
*** create shared libraries on Solaris systems.  Therefore, libtool
 
 
9051
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
 
9052
*** binutils to release 2.9.1 or newer.  Another option is to modify
 
 
9053
*** your PATH or compiler configuration so that the native linker is
 
 
9054
*** used, and then restart.
 
 
9057
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
 
9058
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
 
9059
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
 
9065
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
 
9066
      case `$LD -v 2>&1` in
 
 
9067
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
 
9071
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
 
9072
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
 
9073
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
 
9074
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
 
9075
*** your PATH or compiler configuration so that the native linker is
 
 
9076
*** used, and then restart.
 
 
9081
          # For security reasons, it is highly recommended that you always
 
 
9082
          # use absolute paths for naming shared libraries, and exclude the
 
 
9083
          # DT_RUNPATH tag from executables and libraries.  But doing so
 
 
9084
          # requires that you compile everything twice, which is a pain.
 
 
9085
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
 
9086
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
 
9087
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
 
9088
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
 
9097
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
 
9100
      hardcode_shlibpath_var=no
 
 
9104
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
 
9105
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
 
9106
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
 
9113
    if test "$ld_shlibs" = no; then
 
 
9115
      hardcode_libdir_flag_spec=
 
 
9116
      export_dynamic_flag_spec=
 
 
9117
      whole_archive_flag_spec=
 
 
9120
    # PORTME fill in a description of your system's linker (not GNU ld)
 
 
9123
      allow_undefined_flag=unsupported
 
 
9124
      always_export_symbols=yes
 
 
9125
      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'
 
 
9126
      # Note: this linker hardcodes the directories in LIBPATH if there
 
 
9127
      # are no directories specified by -L.
 
 
9128
      hardcode_minus_L=yes
 
 
9129
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
 
 
9130
        # Neither direct hardcoding nor static linking is supported with a
 
 
9132
        hardcode_direct=unsupported
 
 
9137
      if test "$host_cpu" = ia64; then
 
 
9138
        # On IA64, the linker does run time linking by default, so we don't
 
 
9139
        # have to do anything special.
 
 
9140
        aix_use_runtimelinking=no
 
 
9141
        exp_sym_flag='-Bexport'
 
 
9144
        # If we're using GNU nm, then we don't want the "-C" option.
 
 
9145
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
 
9146
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
 
9147
          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'
 
 
9149
          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'
 
 
9151
        aix_use_runtimelinking=no
 
 
9153
        # Test if we are trying to use run time linking or normal
 
 
9154
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 
 
9155
        # need to do runtime linking.
 
 
9156
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
 
 
9157
          for ld_flag in $LDFLAGS; do
 
 
9158
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
 
9159
            aix_use_runtimelinking=yes
 
 
9166
        exp_sym_flag='-bexport'
 
 
9167
        no_entry_flag='-bnoentry'
 
 
9170
      # When large executables or shared objects are built, AIX ld can
 
 
9171
      # have problems creating the table of contents.  If linking a library
 
 
9172
      # or program results in "error TOC overflow" add -mminimal-toc to
 
 
9173
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 
 
9174
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
 
9178
      hardcode_direct_absolute=yes
 
 
9179
      hardcode_libdir_separator=':'
 
 
9180
      link_all_deplibs=yes
 
 
9181
      file_list_spec='${wl}-f,'
 
 
9183
      if test "$GCC" = yes; then
 
 
9184
        case $host_os in aix4.[012]|aix4.[012].*)
 
 
9185
        # We only want to do this on AIX 4.2 and lower, the check
 
 
9186
        # below for broken collect2 doesn't work under 4.3+
 
 
9187
          collect2name=`${CC} -print-prog-name=collect2`
 
 
9188
          if test -f "$collect2name" &&
 
 
9189
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
 
 
9191
          # We have reworked collect2
 
 
9194
          # We have old collect2
 
 
9195
          hardcode_direct=unsupported
 
 
9196
          # It fails to find uninstalled libraries when the uninstalled
 
 
9197
          # path is not listed in the libpath.  Setting hardcode_minus_L
 
 
9198
          # to unsupported forces relinking
 
 
9199
          hardcode_minus_L=yes
 
 
9200
          hardcode_libdir_flag_spec='-L$libdir'
 
 
9201
          hardcode_libdir_separator=
 
 
9205
        shared_flag='-shared'
 
 
9206
        if test "$aix_use_runtimelinking" = yes; then
 
 
9207
          shared_flag="$shared_flag "'${wl}-G'
 
 
9212
        if test "$host_cpu" = ia64; then
 
 
9213
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
 
9214
        # chokes on -Wl,-G. The following line is correct:
 
 
9217
          if test "$aix_use_runtimelinking" = yes; then
 
 
9218
            shared_flag='${wl}-G'
 
 
9220
            shared_flag='${wl}-bM:SRE'
 
 
9225
      export_dynamic_flag_spec='${wl}-bexpall'
 
 
9226
      # It seems that -bexpall does not export symbols beginning with
 
 
9227
      # underscore (_), so it is better to generate a list of symbols to export.
 
 
9228
      always_export_symbols=yes
 
 
9229
      if test "$aix_use_runtimelinking" = yes; then
 
 
9230
        # Warning - without using the other runtime loading flags (-brtl),
 
 
9231
        # -berok will link without error, but may produce a broken library.
 
 
9232
        allow_undefined_flag='-berok'
 
 
9233
        # Determine the default libpath from the value encoded in an
 
 
9235
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
9236
/* end confdefs.h.  */
 
 
9246
if ac_fn_c_try_link "$LINENO"; then :
 
 
9248
lt_aix_libpath_sed='
 
 
9249
    /Import File Strings/,/^$/ {
 
 
9255
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
 
9256
# Check for a 64-bit object if we didn't find anything.
 
 
9257
if test -z "$aix_libpath"; then
 
 
9258
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
 
9261
rm -f core conftest.err conftest.$ac_objext \
 
 
9262
    conftest$ac_exeext conftest.$ac_ext
 
 
9263
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
 
9265
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
 
9266
        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"
 
 
9268
        if test "$host_cpu" = ia64; then
 
 
9269
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
 
 
9270
          allow_undefined_flag="-z nodefs"
 
 
9271
          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"
 
 
9273
         # Determine the default libpath from the value encoded in an
 
 
9275
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
9276
/* end confdefs.h.  */
 
 
9286
if ac_fn_c_try_link "$LINENO"; then :
 
 
9288
lt_aix_libpath_sed='
 
 
9289
    /Import File Strings/,/^$/ {
 
 
9295
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
 
9296
# Check for a 64-bit object if we didn't find anything.
 
 
9297
if test -z "$aix_libpath"; then
 
 
9298
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
 
9301
rm -f core conftest.err conftest.$ac_objext \
 
 
9302
    conftest$ac_exeext conftest.$ac_ext
 
 
9303
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
 
9305
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
 
9306
          # Warning - without using the other run time loading flags,
 
 
9307
          # -berok will link without error, but may produce a broken library.
 
 
9308
          no_undefined_flag=' ${wl}-bernotok'
 
 
9309
          allow_undefined_flag=' ${wl}-berok'
 
 
9310
          # Exported symbols can be pulled into shared objects from archives
 
 
9311
          whole_archive_flag_spec='$convenience'
 
 
9312
          archive_cmds_need_lc=yes
 
 
9313
          # This is similar to how AIX traditionally builds its shared libraries.
 
 
9314
          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'
 
 
9322
            # see comment about AmigaOS4 .so support
 
 
9323
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
 
9324
            archive_expsym_cmds=''
 
 
9327
            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)'
 
 
9328
            hardcode_libdir_flag_spec='-L$libdir'
 
 
9329
            hardcode_minus_L=yes
 
 
9335
      export_dynamic_flag_spec=-rdynamic
 
 
9338
    cygwin* | mingw* | pw32* | cegcc*)
 
 
9339
      # When not using gcc, we currently assume that we are using
 
 
9340
      # Microsoft Visual C++.
 
 
9341
      # hardcode_libdir_flag_spec is actually meaningless, as there is
 
 
9342
      # no search path for DLLs.
 
 
9343
      hardcode_libdir_flag_spec=' '
 
 
9344
      allow_undefined_flag=unsupported
 
 
9345
      # Tell ltmain to make .lib files, not .a files.
 
 
9347
      # Tell ltmain to make .dll files, not .so files.
 
 
9349
      # FIXME: Setting linknames here is a bad hack.
 
 
9350
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
 
9351
      # The linker will automatically build a .lib file if we build a DLL.
 
 
9352
      old_archive_from_new_cmds='true'
 
 
9353
      # FIXME: Should let the user specify the lib program.
 
 
9354
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
 
9355
      fix_srcfile_path='`cygpath -w "$srcfile"`'
 
 
9356
      enable_shared_with_static_runtimes=yes
 
 
9359
    darwin* | rhapsody*)
 
 
9362
  archive_cmds_need_lc=no
 
 
9364
  hardcode_automatic=yes
 
 
9365
  hardcode_shlibpath_var=unsupported
 
 
9366
  whole_archive_flag_spec=''
 
 
9367
  link_all_deplibs=yes
 
 
9368
  allow_undefined_flag="$_lt_dar_allow_undefined"
 
 
9369
  case $cc_basename in
 
 
9370
     ifort*) _lt_dar_can_shared=yes ;;
 
 
9371
     *) _lt_dar_can_shared=$GCC ;;
 
 
9373
  if test "$_lt_dar_can_shared" = "yes"; then
 
 
9374
    output_verbose_link_cmd=echo
 
 
9375
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
 
9376
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
 
9377
    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}"
 
 
9378
    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}"
 
 
9387
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
 
9388
      hardcode_libdir_flag_spec='-L$libdir'
 
 
9389
      hardcode_shlibpath_var=no
 
 
9396
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
 
 
9397
    # support.  Future versions do this automatically, but an explicit c++rt0.o
 
 
9398
    # does not break anything, and helps significantly (at the cost of a little
 
 
9401
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
 
 
9402
      hardcode_libdir_flag_spec='-R$libdir'
 
 
9404
      hardcode_shlibpath_var=no
 
 
9407
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
 
 
9409
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
 
9411
      hardcode_minus_L=yes
 
 
9412
      hardcode_shlibpath_var=no
 
 
9415
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
 
 
9416
    freebsd* | dragonfly*)
 
 
9417
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
 
9418
      hardcode_libdir_flag_spec='-R$libdir'
 
 
9420
      hardcode_shlibpath_var=no
 
 
9424
      if test "$GCC" = yes; then
 
 
9425
        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'
 
 
9427
        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'
 
 
9429
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
 
9430
      hardcode_libdir_separator=:
 
 
9433
      # hardcode_minus_L: Not really in the search PATH,
 
 
9434
      # but as the default location of the library.
 
 
9435
      hardcode_minus_L=yes
 
 
9436
      export_dynamic_flag_spec='${wl}-E'
 
 
9440
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
 
9441
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
 
9443
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
 
9445
      if test "$with_gnu_ld" = no; then
 
 
9446
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
 
9447
        hardcode_libdir_flag_spec_ld='+b $libdir'
 
 
9448
        hardcode_libdir_separator=:
 
 
9450
        hardcode_direct_absolute=yes
 
 
9451
        export_dynamic_flag_spec='${wl}-E'
 
 
9452
        # hardcode_minus_L: Not really in the search PATH,
 
 
9453
        # but as the default location of the library.
 
 
9454
        hardcode_minus_L=yes
 
 
9459
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
 
9462
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
 
9465
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
 
9468
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
 
9474
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
 
9477
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
 
9480
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
 
9484
      if test "$with_gnu_ld" = no; then
 
 
9485
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
 
9486
        hardcode_libdir_separator=:
 
 
9491
          hardcode_shlibpath_var=no
 
 
9495
          hardcode_direct_absolute=yes
 
 
9496
          export_dynamic_flag_spec='${wl}-E'
 
 
9498
          # hardcode_minus_L: Not really in the search PATH,
 
 
9499
          # but as the default location of the library.
 
 
9500
          hardcode_minus_L=yes
 
 
9506
    irix5* | irix6* | nonstopux*)
 
 
9507
      if test "$GCC" = yes; then
 
 
9508
        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'
 
 
9509
        # Try to use the -exported_symbol ld option, if it does not
 
 
9510
        # work, assume that -exports_file does not work either and
 
 
9511
        # implicitly export all symbols.
 
 
9512
        save_LDFLAGS="$LDFLAGS"
 
 
9513
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
 
9514
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
9515
/* end confdefs.h.  */
 
 
9518
if ac_fn_c_try_link "$LINENO"; then :
 
 
9519
  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'
 
 
9522
rm -f core conftest.err conftest.$ac_objext \
 
 
9523
    conftest$ac_exeext conftest.$ac_ext
 
 
9524
        LDFLAGS="$save_LDFLAGS"
 
 
9526
        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'
 
 
9527
        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'
 
 
9529
      archive_cmds_need_lc='no'
 
 
9530
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
 
9531
      hardcode_libdir_separator=:
 
 
9533
      link_all_deplibs=yes
 
 
9536
    netbsd* | netbsdelf*-gnu)
 
 
9537
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
 
9538
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 
 
9540
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 
 
9542
      hardcode_libdir_flag_spec='-R$libdir'
 
 
9544
      hardcode_shlibpath_var=no
 
 
9548
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
 
9550
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
 
9551
      hardcode_libdir_separator=:
 
 
9552
      hardcode_shlibpath_var=no
 
 
9559
      if test -f /usr/libexec/ld.so; then
 
 
9561
        hardcode_shlibpath_var=no
 
 
9562
        hardcode_direct_absolute=yes
 
 
9563
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
 
9564
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
 
9565
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
 
9566
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
 
9567
          export_dynamic_flag_spec='${wl}-E'
 
 
9570
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
 
9571
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
 
9572
             hardcode_libdir_flag_spec='-R$libdir'
 
 
9575
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
 
9576
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
 
9586
      hardcode_libdir_flag_spec='-L$libdir'
 
 
9587
      hardcode_minus_L=yes
 
 
9588
      allow_undefined_flag=unsupported
 
 
9589
      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'
 
 
9590
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
 
9594
      if test "$GCC" = yes; then
 
 
9595
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
 
9596
        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'
 
 
9598
        allow_undefined_flag=' -expect_unresolved \*'
 
 
9599
        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'
 
 
9601
      archive_cmds_need_lc='no'
 
 
9602
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
 
9603
      hardcode_libdir_separator=:
 
 
9606
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
 
 
9607
      if test "$GCC" = yes; then
 
 
9608
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
 
9609
        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'
 
 
9610
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
 
9612
        allow_undefined_flag=' -expect_unresolved \*'
 
 
9613
        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'
 
 
9614
        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~
 
 
9615
        $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'
 
 
9617
        # Both c and cxx compiler support -rpath directly
 
 
9618
        hardcode_libdir_flag_spec='-rpath $libdir'
 
 
9620
      archive_cmds_need_lc='no'
 
 
9621
      hardcode_libdir_separator=:
 
 
9625
      no_undefined_flag=' -z defs'
 
 
9626
      if test "$GCC" = yes; then
 
 
9628
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
 
9629
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
 
9630
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
 
9632
        case `$CC -V 2>&1` in
 
 
9635
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
 
9636
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
 
9637
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 
 
9641
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
 
9642
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
 
9643
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
 
9647
      hardcode_libdir_flag_spec='-R$libdir'
 
 
9648
      hardcode_shlibpath_var=no
 
 
9650
      solaris2.[0-5] | solaris2.[0-5].*) ;;
 
 
9652
        # The compiler driver will combine and reorder linker options,
 
 
9653
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
 
9654
        # but is careful enough not to reorder.
 
 
9655
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
 
9656
        if test "$GCC" = yes; then
 
 
9657
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
 
9659
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
 
 
9663
      link_all_deplibs=yes
 
 
9667
      if test "x$host_vendor" = xsequent; then
 
 
9668
        # Use $CC to link under sequent, because it throws in some extra .o
 
 
9669
        # files that make .init and .fini sections work.
 
 
9670
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
 
9672
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 
 
9674
      hardcode_libdir_flag_spec='-L$libdir'
 
 
9676
      hardcode_minus_L=yes
 
 
9677
      hardcode_shlibpath_var=no
 
 
9681
      case $host_vendor in
 
 
9683
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
 
9684
          hardcode_direct=yes # is this really true???
 
 
9687
          ## LD is ld it makes a PLAMLIB
 
 
9688
          ## CC just makes a GrossModule.
 
 
9689
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 
 
9690
          reload_cmds='$CC -r -o $output$reload_objs'
 
 
9694
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
 
9695
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
 
 
9698
      runpath_var='LD_RUN_PATH'
 
 
9699
      hardcode_shlibpath_var=no
 
 
9703
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
 
9704
      hardcode_shlibpath_var=no
 
 
9705
      export_dynamic_flag_spec='-Bexport'
 
 
9709
      if test -d /usr/nec; then
 
 
9710
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
 
9711
        hardcode_shlibpath_var=no
 
 
9712
        runpath_var=LD_RUN_PATH
 
 
9713
        hardcode_runpath_var=yes
 
 
9718
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
 
9719
      no_undefined_flag='${wl}-z,text'
 
 
9720
      archive_cmds_need_lc=no
 
 
9721
      hardcode_shlibpath_var=no
 
 
9722
      runpath_var='LD_RUN_PATH'
 
 
9724
      if test "$GCC" = yes; then
 
 
9725
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
 
9726
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
 
9728
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
 
9729
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
 
9733
    sysv5* | sco3.2v5* | sco5v6*)
 
 
9734
      # Note: We can NOT use -z defs as we might desire, because we do not
 
 
9735
      # link with -lc, and that would cause any symbols used from libc to
 
 
9736
      # always be unresolved, which means just about no library would
 
 
9737
      # ever link correctly.  If we're not using GNU ld we use -z text
 
 
9738
      # though, which does catch some bad symbols but isn't as heavy-handed
 
 
9740
      no_undefined_flag='${wl}-z,text'
 
 
9741
      allow_undefined_flag='${wl}-z,nodefs'
 
 
9742
      archive_cmds_need_lc=no
 
 
9743
      hardcode_shlibpath_var=no
 
 
9744
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
 
 
9745
      hardcode_libdir_separator=':'
 
 
9746
      link_all_deplibs=yes
 
 
9747
      export_dynamic_flag_spec='${wl}-Bexport'
 
 
9748
      runpath_var='LD_RUN_PATH'
 
 
9750
      if test "$GCC" = yes; then
 
 
9751
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
 
9752
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
 
9754
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
 
9755
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
 
9760
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
 
9761
      hardcode_libdir_flag_spec='-L$libdir'
 
 
9762
      hardcode_shlibpath_var=no
 
 
9770
    if test x$host_vendor = xsni; then
 
 
9772
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
 
9773
        export_dynamic_flag_spec='${wl}-Blargedynsym'
 
 
9779
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
 
 
9780
$as_echo "$ld_shlibs" >&6; }
 
 
9781
test "$ld_shlibs" = no && can_build_shared=no
 
 
9783
with_gnu_ld=$with_gnu_ld
 
 
9800
# Do we need to explicitly link libc?
 
 
9802
case "x$archive_cmds_need_lc" in
 
 
9804
  # Assume -lc should be added
 
 
9805
  archive_cmds_need_lc=yes
 
 
9807
  if test "$enable_shared" = yes && test "$GCC" = yes; then
 
 
9808
    case $archive_cmds in
 
 
9810
      # FIXME: we may have to deal with multi-command sequences.
 
 
9813
      # Test whether the compiler implicitly links with -lc since on some
 
 
9814
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
 
 
9815
      # to ld, don't add -lc before -lgcc.
 
 
9816
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 
 
9817
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
 
9819
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
 
9821
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
 
9822
  (eval $ac_compile) 2>&5
 
 
9824
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
 
9825
  test $ac_status = 0; } 2>conftest.err; then
 
 
9828
        libobjs=conftest.$ac_objext
 
 
9830
        wl=$lt_prog_compiler_wl
 
 
9831
        pic_flag=$lt_prog_compiler_pic
 
 
9837
        lt_save_allow_undefined_flag=$allow_undefined_flag
 
 
9838
        allow_undefined_flag=
 
 
9839
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
 
9840
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
 
9842
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
 
9843
  test $ac_status = 0; }
 
 
9845
          archive_cmds_need_lc=no
 
 
9847
          archive_cmds_need_lc=yes
 
 
9849
        allow_undefined_flag=$lt_save_allow_undefined_flag
 
 
9851
        cat conftest.err 1>&5
 
 
9854
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
 
 
9855
$as_echo "$archive_cmds_need_lc" >&6; }
 
 
10018
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
 
 
10019
$as_echo_n "checking dynamic linker characteristics... " >&6; }
 
 
10021
if test "$GCC" = yes; then
 
 
10023
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 
 
10024
    *) lt_awk_arg="/^libraries:/" ;;
 
 
10026
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
 
10027
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
 
 
10028
    # if the path contains ";" then we assume it to be the separator
 
 
10029
    # otherwise default to the standard path separator (i.e. ":") - it is
 
 
10030
    # assumed that no part of a normal pathname contains ";" but that should
 
 
10031
    # okay in the real world where ";" in dirpaths is itself problematic.
 
 
10032
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
 
 
10034
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
 
10036
  # Ok, now we have the path, separated by spaces, we can step through it
 
 
10037
  # and add multilib dir if necessary.
 
 
10038
  lt_tmp_lt_search_path_spec=
 
 
10039
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 
 
10040
  for lt_sys_path in $lt_search_path_spec; do
 
 
10041
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 
 
10042
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 
 
10044
      test -d "$lt_sys_path" && \
 
 
10045
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 
 
10048
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
 
 
10049
BEGIN {RS=" "; FS="/|\n";} {
 
 
10052
  for (lt_i = NF; lt_i > 0; lt_i--) {
 
 
10053
    if ($lt_i != "" && $lt_i != ".") {
 
 
10054
      if ($lt_i == "..") {
 
 
10057
        if (lt_count == 0) {
 
 
10058
          lt_foo="/" $lt_i lt_foo;
 
 
10065
  if (lt_foo != "") { lt_freq[lt_foo]++; }
 
 
10066
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
 
 
10068
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
 
 
10070
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 
 
10072
library_names_spec=
 
 
10073
libname_spec='lib$name'
 
 
10077
postuninstall_cmds=
 
 
10081
shlibpath_overrides_runpath=unknown
 
 
10083
dynamic_linker="$host_os ld.so"
 
 
10084
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
 
10085
need_lib_prefix=unknown
 
 
10086
hardcode_into_libs=no
 
 
10088
# when you set need_version to no, make sure it does not cause -set_version
 
 
10089
# flags to be left without arguments
 
 
10090
need_version=unknown
 
 
10095
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 
 
10096
  shlibpath_var=LIBPATH
 
 
10098
  # AIX 3 has no versioning support, so we append a major version to the name.
 
 
10099
  soname_spec='${libname}${release}${shared_ext}$major'
 
 
10106
  hardcode_into_libs=yes
 
 
10107
  if test "$host_cpu" = ia64; then
 
 
10108
    # AIX 5 supports IA64
 
 
10109
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 
 
10110
    shlibpath_var=LD_LIBRARY_PATH
 
 
10112
    # With GCC up to 2.95.x, collect2 would create an import file
 
 
10113
    # for dependence libraries.  The import file would start with
 
 
10114
    # the line `#! .'.  This would cause the generated library to
 
 
10115
    # depend on `.', always an invalid library.  This was fixed in
 
 
10116
    # development snapshots of GCC prior to 3.0.
 
 
10118
      aix4 | aix4.[01] | aix4.[01].*)
 
 
10119
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 
 
10121
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
 
 
10124
        can_build_shared=no
 
 
10128
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 
 
10129
    # soname into executable. Probably we can add versioning support to
 
 
10130
    # collect2, so additional links can be useful in future.
 
 
10131
    if test "$aix_use_runtimelinking" = yes; then
 
 
10132
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 
 
10133
      # instead of lib<name>.a to let people know that these are not
 
 
10134
      # typical AIX shared libraries.
 
 
10135
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
 
10137
      # We preserve .a as extension for shared libraries through AIX4.2
 
 
10138
      # and later when we are not doing run time linking.
 
 
10139
      library_names_spec='${libname}${release}.a $libname.a'
 
 
10140
      soname_spec='${libname}${release}${shared_ext}$major'
 
 
10142
    shlibpath_var=LIBPATH
 
 
10149
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
 
10150
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
 
10151
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
 
10154
    library_names_spec='$libname.ixlibrary $libname.a'
 
 
10155
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
 
10156
    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'
 
 
10162
  library_names_spec='${libname}${shared_ext}'
 
 
10163
  dynamic_linker="$host_os ld.so"
 
 
10164
  shlibpath_var=LIBRARY_PATH
 
 
10170
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
 
10171
  soname_spec='${libname}${release}${shared_ext}$major'
 
 
10172
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 
 
10173
  shlibpath_var=LD_LIBRARY_PATH
 
 
10174
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 
 
10175
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 
 
10176
  # the default ld.so.conf also contains /usr/contrib/lib and
 
 
10177
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 
 
10178
  # libtool to hard-code these into programs
 
 
10181
cygwin* | mingw* | pw32* | cegcc*)
 
 
10182
  version_type=windows
 
 
10187
  case $GCC,$host_os in
 
 
10188
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
 
10189
    library_names_spec='$libname.dll.a'
 
 
10190
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
 
10191
    postinstall_cmds='base_file=`basename \${file}`~
 
 
10192
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
 
10193
      dldir=$destdir/`dirname \$dlpath`~
 
 
10194
      test -d \$dldir || mkdir -p \$dldir~
 
 
10195
      $install_prog $dir/$dlname \$dldir/$dlname~
 
 
10196
      chmod a+x \$dldir/$dlname~
 
 
10197
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
 
10198
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
 
10200
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
 
10201
      dlpath=$dir/\$dldll~
 
 
10203
    shlibpath_overrides_runpath=yes
 
 
10207
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 
 
10208
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
 
10209
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
 
10212
      # MinGW DLLs use traditional 'lib' prefix
 
 
10213
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
 
10214
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
 
10215
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
 
10216
        # It is most probably a Windows format PATH printed by
 
 
10217
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
 
 
10218
        # path with ; separators, and with drive letters. We can handle the
 
 
10219
        # drive letters (cygwin fileutils understands them), so leave them,
 
 
10220
        # especially as we might pass files found there to a mingw objdump,
 
 
10221
        # which wouldn't understand a cygwinified path. Ahh.
 
 
10222
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
 
10224
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
 
10228
      # pw32 DLLs use 'pw' prefix rather than 'lib'
 
 
10229
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
 
10235
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
 
10238
  dynamic_linker='Win32 ld.exe'
 
 
10239
  # FIXME: first we should search . and the directory the executable is in
 
 
10243
darwin* | rhapsody*)
 
 
10244
  dynamic_linker="$host_os dyld"
 
 
10245
  version_type=darwin
 
 
10248
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
 
10249
  soname_spec='${libname}${release}${major}$shared_ext'
 
 
10250
  shlibpath_overrides_runpath=yes
 
 
10251
  shlibpath_var=DYLD_LIBRARY_PATH
 
 
10252
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 
 
10254
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
 
 
10255
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 
 
10262
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 
 
10263
  soname_spec='${libname}${release}${shared_ext}$major'
 
 
10264
  shlibpath_var=LD_LIBRARY_PATH
 
 
10271
freebsd* | dragonfly*)
 
 
10272
  # DragonFly does not have aout.  When/if they implement a new
 
 
10273
  # versioning mechanism, adjust this.
 
 
10274
  if test -x /usr/bin/objformat; then
 
 
10275
    objformat=`/usr/bin/objformat`
 
 
10278
    freebsd[123]*) objformat=aout ;;
 
 
10279
    *) objformat=elf ;;
 
 
10282
  version_type=freebsd-$objformat
 
 
10283
  case $version_type in
 
 
10285
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
 
10290
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 
 
10294
  shlibpath_var=LD_LIBRARY_PATH
 
 
10297
    shlibpath_overrides_runpath=yes
 
 
10299
  freebsd3.[01]* | freebsdelf3.[01]*)
 
 
10300
    shlibpath_overrides_runpath=yes
 
 
10301
    hardcode_into_libs=yes
 
 
10303
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
 
10304
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
 
 
10305
    shlibpath_overrides_runpath=no
 
 
10306
    hardcode_into_libs=yes
 
 
10308
  *) # from 4.6 on, and DragonFly
 
 
10309
    shlibpath_overrides_runpath=yes
 
 
10310
    hardcode_into_libs=yes
 
 
10319
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
 
10320
  soname_spec='${libname}${release}${shared_ext}$major'
 
 
10321
  shlibpath_var=LD_LIBRARY_PATH
 
 
10322
  hardcode_into_libs=yes
 
 
10325
hpux9* | hpux10* | hpux11*)
 
 
10326
  # Give a soname corresponding to the major version so that dld.sl refuses to
 
 
10327
  # link against other versions.
 
 
10334
    hardcode_into_libs=yes
 
 
10335
    dynamic_linker="$host_os dld.so"
 
 
10336
    shlibpath_var=LD_LIBRARY_PATH
 
 
10337
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
 
10338
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
 
10339
    soname_spec='${libname}${release}${shared_ext}$major'
 
 
10340
    if test "X$HPUX_IA64_MODE" = X32; then
 
 
10341
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 
 
10343
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 
 
10345
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
 
10349
    hardcode_into_libs=yes
 
 
10350
    dynamic_linker="$host_os dld.sl"
 
 
10351
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
 
10352
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
 
10353
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
 
10354
    soname_spec='${libname}${release}${shared_ext}$major'
 
 
10355
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
 
10356
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
 
10360
    dynamic_linker="$host_os dld.sl"
 
 
10361
    shlibpath_var=SHLIB_PATH
 
 
10362
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 
 
10363
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
 
10364
    soname_spec='${libname}${release}${shared_ext}$major'
 
 
10367
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
 
10368
  postinstall_cmds='chmod 555 $lib'
 
 
10375
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
 
10376
  soname_spec='${libname}${release}${shared_ext}$major'
 
 
10377
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
 
10378
  shlibpath_var=LD_LIBRARY_PATH
 
 
10379
  shlibpath_overrides_runpath=no
 
 
10380
  hardcode_into_libs=yes
 
 
10383
irix5* | irix6* | nonstopux*)
 
 
10385
    nonstopux*) version_type=nonstopux ;;
 
 
10387
        if test "$lt_cv_prog_gnu_ld" = yes; then
 
 
10395
  soname_spec='${libname}${release}${shared_ext}$major'
 
 
10396
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 
 
10398
  irix5* | nonstopux*)
 
 
10399
    libsuff= shlibsuff=
 
 
10402
    case $LD in # libtool.m4 will add one of these switches to LD
 
 
10403
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 
 
10404
      libsuff= shlibsuff= libmagic=32-bit;;
 
 
10405
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 
 
10406
      libsuff=32 shlibsuff=N32 libmagic=N32;;
 
 
10407
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 
 
10408
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
 
 
10409
    *) libsuff= shlibsuff= libmagic=never-match;;
 
 
10413
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 
 
10414
  shlibpath_overrides_runpath=no
 
 
10415
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
 
10416
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 
 
10417
  hardcode_into_libs=yes
 
 
10420
# No shared lib support for Linux oldld, aout, or coff.
 
 
10421
linux*oldld* | linux*aout* | linux*coff*)
 
 
10425
# This must be Linux ELF.
 
 
10426
linux* | k*bsd*-gnu)
 
 
10430
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
 
10431
  soname_spec='${libname}${release}${shared_ext}$major'
 
 
10432
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 
 
10433
  shlibpath_var=LD_LIBRARY_PATH
 
 
10434
  shlibpath_overrides_runpath=no
 
 
10435
  # Some binutils ld are patched to set DT_RUNPATH
 
 
10436
  save_LDFLAGS=$LDFLAGS
 
 
10437
  save_libdir=$libdir
 
 
10438
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
 
10439
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
 
10440
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
10441
/* end confdefs.h.  */
 
 
10451
if ac_fn_c_try_link "$LINENO"; then :
 
 
10452
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
 
 
10453
  shlibpath_overrides_runpath=yes
 
 
10456
rm -f core conftest.err conftest.$ac_objext \
 
 
10457
    conftest$ac_exeext conftest.$ac_ext
 
 
10458
  LDFLAGS=$save_LDFLAGS
 
 
10459
  libdir=$save_libdir
 
 
10461
  # This implies no fast_install, which is unacceptable.
 
 
10462
  # Some rework will be needed to allow for fast_install
 
 
10463
  # before this can be enabled.
 
 
10464
  hardcode_into_libs=yes
 
 
10466
  # Append ld.so.conf contents to the search path
 
 
10467
  if test -f /etc/ld.so.conf; then
 
 
10468
    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' ' '`
 
 
10469
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
 
10472
  # We used to test for /lib/ld.so.1 and disable shared libraries on
 
 
10473
  # powerpc, because MkLinux only supported shared libraries with the
 
 
10474
  # GNU dynamic linker.  Since this was broken with cross compilers,
 
 
10475
  # most powerpc-linux boxes support dynamic linking these days and
 
 
10476
  # people can always --disable-shared, the test was removed, and we
 
 
10477
  # assume the GNU/Linux dynamic linker is in use.
 
 
10478
  dynamic_linker='GNU/Linux ld.so'
 
 
10485
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
 
10486
  soname_spec='${libname}${release}${shared_ext}$major'
 
 
10487
  shlibpath_var=LD_LIBRARY_PATH
 
 
10488
  shlibpath_overrides_runpath=no
 
 
10489
  hardcode_into_libs=yes
 
 
10490
  dynamic_linker='NetBSD ld.elf_so'
 
 
10497
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
 
10498
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
 
10499
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
 
10500
    dynamic_linker='NetBSD (a.out) ld.so'
 
 
10502
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
 
10503
    soname_spec='${libname}${release}${shared_ext}$major'
 
 
10504
    dynamic_linker='NetBSD ld.elf_so'
 
 
10506
  shlibpath_var=LD_LIBRARY_PATH
 
 
10507
  shlibpath_overrides_runpath=yes
 
 
10508
  hardcode_into_libs=yes
 
 
10513
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
 
10514
  shlibpath_var=LD_LIBRARY_PATH
 
 
10515
  shlibpath_overrides_runpath=yes
 
 
10522
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
 
10523
  soname_spec='${libname}${release}${shared_ext}$major'
 
 
10524
  shlibpath_var=LD_LIBRARY_PATH
 
 
10525
  shlibpath_overrides_runpath=no
 
 
10526
  hardcode_into_libs=yes
 
 
10527
  dynamic_linker='ldqnx.so'
 
 
10532
  sys_lib_dlsearch_path_spec="/usr/lib"
 
 
10534
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
 
10536
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
 
10537
    *)                          need_version=no  ;;
 
 
10539
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
 
10540
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
 
10541
  shlibpath_var=LD_LIBRARY_PATH
 
 
10542
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
 
10544
      openbsd2.[89] | openbsd2.[89].*)
 
 
10545
        shlibpath_overrides_runpath=no
 
 
10548
        shlibpath_overrides_runpath=yes
 
 
10552
    shlibpath_overrides_runpath=yes
 
 
10557
  libname_spec='$name'
 
 
10560
  library_names_spec='$libname${shared_ext} $libname.a'
 
 
10561
  dynamic_linker='OS/2 ld.exe'
 
 
10562
  shlibpath_var=LIBPATH
 
 
10565
osf3* | osf4* | osf5*)
 
 
10569
  soname_spec='${libname}${release}${shared_ext}$major'
 
 
10570
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
 
10571
  shlibpath_var=LD_LIBRARY_PATH
 
 
10572
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 
 
10573
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 
 
10584
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
 
10585
  soname_spec='${libname}${release}${shared_ext}$major'
 
 
10586
  shlibpath_var=LD_LIBRARY_PATH
 
 
10587
  shlibpath_overrides_runpath=yes
 
 
10588
  hardcode_into_libs=yes
 
 
10589
  # ldd complains unless libraries are executable
 
 
10590
  postinstall_cmds='chmod +x $lib'
 
 
10595
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
 
10596
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 
 
10597
  shlibpath_var=LD_LIBRARY_PATH
 
 
10598
  shlibpath_overrides_runpath=yes
 
 
10599
  if test "$with_gnu_ld" = yes; then
 
 
10607
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
 
10608
  soname_spec='${libname}${release}${shared_ext}$major'
 
 
10609
  shlibpath_var=LD_LIBRARY_PATH
 
 
10610
  case $host_vendor in
 
 
10612
      shlibpath_overrides_runpath=no
 
 
10614
      runpath_var=LD_RUN_PATH
 
 
10622
      shlibpath_overrides_runpath=no
 
 
10623
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 
 
10629
  if test -d /usr/nec ;then
 
 
10631
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 
 
10632
    soname_spec='$libname${shared_ext}.$major'
 
 
10633
    shlibpath_var=LD_LIBRARY_PATH
 
 
10637
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
 
10638
  version_type=freebsd-elf
 
 
10641
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
 
10642
  soname_spec='${libname}${release}${shared_ext}$major'
 
 
10643
  shlibpath_var=LD_LIBRARY_PATH
 
 
10644
  shlibpath_overrides_runpath=yes
 
 
10645
  hardcode_into_libs=yes
 
 
10646
  if test "$with_gnu_ld" = yes; then
 
 
10647
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
 
10649
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
 
10652
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
 
10656
  sys_lib_dlsearch_path_spec='/usr/lib'
 
 
10660
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
 
10664
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
 
10665
  shlibpath_var=LD_LIBRARY_PATH
 
 
10666
  shlibpath_overrides_runpath=no
 
 
10667
  hardcode_into_libs=yes
 
 
10672
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
 
10673
  soname_spec='${libname}${release}${shared_ext}$major'
 
 
10674
  shlibpath_var=LD_LIBRARY_PATH
 
 
10681
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
 
 
10682
$as_echo "$dynamic_linker" >&6; }
 
 
10683
test "$dynamic_linker" = no && can_build_shared=no
 
 
10685
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
 
10686
if test "$GCC" = yes; then
 
 
10687
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
 
10690
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
 
10691
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
 
10693
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
 
10694
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
 
10783
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
 
 
10784
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
 
 
10786
if test -n "$hardcode_libdir_flag_spec" ||
 
 
10787
   test -n "$runpath_var" ||
 
 
10788
   test "X$hardcode_automatic" = "Xyes" ; then
 
 
10790
  # We can hardcode non-existent directories.
 
 
10791
  if test "$hardcode_direct" != no &&
 
 
10792
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
 
 
10793
     # have to relink, otherwise we might link with an installed library
 
 
10794
     # when we should be linking with a yet-to-be-installed one
 
 
10795
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
 
 
10796
     test "$hardcode_minus_L" != no; then
 
 
10797
    # Linking always hardcodes the temporary library directory.
 
 
10798
    hardcode_action=relink
 
 
10800
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
 
 
10801
    hardcode_action=immediate
 
 
10804
  # We cannot hardcode anything, or else we can only hardcode existing
 
 
10806
  hardcode_action=unsupported
 
 
10808
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
 
 
10809
$as_echo "$hardcode_action" >&6; }
 
 
10811
if test "$hardcode_action" = relink ||
 
 
10812
   test "$inherit_rpath" = yes; then
 
 
10813
  # Fast installation is not supported
 
 
10814
  enable_fast_install=no
 
 
10815
elif test "$shlibpath_overrides_runpath" = yes ||
 
 
10816
     test "$enable_shared" = no; then
 
 
10817
  # Fast installation is not necessary
 
 
10818
  enable_fast_install=needless
 
 
10826
  if test "x$enable_dlopen" != xyes; then
 
 
10827
  enable_dlopen=unknown
 
 
10828
  enable_dlopen_self=unknown
 
 
10829
  enable_dlopen_self_static=unknown
 
 
10836
    lt_cv_dlopen="load_add_on"
 
 
10838
    lt_cv_dlopen_self=yes
 
 
10841
  mingw* | pw32* | cegcc*)
 
 
10842
    lt_cv_dlopen="LoadLibrary"
 
 
10847
    lt_cv_dlopen="dlopen"
 
 
10852
  # if libdl is installed we need to link against it
 
 
10853
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
 
10854
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
 
10855
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
 
10856
  $as_echo_n "(cached) " >&6
 
 
10858
  ac_check_lib_save_LIBS=$LIBS
 
 
10860
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
10861
/* end confdefs.h.  */
 
 
10863
/* Override any GCC internal prototype to avoid an error.
 
 
10864
   Use char because int might match the return type of a GCC
 
 
10865
   builtin and then its argument prototype would still apply.  */
 
 
10878
if ac_fn_c_try_link "$LINENO"; then :
 
 
10879
  ac_cv_lib_dl_dlopen=yes
 
 
10881
  ac_cv_lib_dl_dlopen=no
 
 
10883
rm -f core conftest.err conftest.$ac_objext \
 
 
10884
    conftest$ac_exeext conftest.$ac_ext
 
 
10885
LIBS=$ac_check_lib_save_LIBS
 
 
10887
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
 
10888
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
 
10889
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
 
10890
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
 
10893
    lt_cv_dlopen="dyld"
 
 
10895
    lt_cv_dlopen_self=yes
 
 
10902
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
 
 
10903
if test "x$ac_cv_func_shl_load" = x""yes; then :
 
 
10904
  lt_cv_dlopen="shl_load"
 
 
10906
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
 
 
10907
$as_echo_n "checking for shl_load in -ldld... " >&6; }
 
 
10908
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
 
 
10909
  $as_echo_n "(cached) " >&6
 
 
10911
  ac_check_lib_save_LIBS=$LIBS
 
 
10913
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
10914
/* end confdefs.h.  */
 
 
10916
/* Override any GCC internal prototype to avoid an error.
 
 
10917
   Use char because int might match the return type of a GCC
 
 
10918
   builtin and then its argument prototype would still apply.  */
 
 
10926
return shl_load ();
 
 
10931
if ac_fn_c_try_link "$LINENO"; then :
 
 
10932
  ac_cv_lib_dld_shl_load=yes
 
 
10934
  ac_cv_lib_dld_shl_load=no
 
 
10936
rm -f core conftest.err conftest.$ac_objext \
 
 
10937
    conftest$ac_exeext conftest.$ac_ext
 
 
10938
LIBS=$ac_check_lib_save_LIBS
 
 
10940
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
 
 
10941
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
 
 
10942
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
 
 
10943
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
 
 
10945
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
 
 
10946
if test "x$ac_cv_func_dlopen" = x""yes; then :
 
 
10947
  lt_cv_dlopen="dlopen"
 
 
10949
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
 
10950
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
 
10951
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
 
10952
  $as_echo_n "(cached) " >&6
 
 
10954
  ac_check_lib_save_LIBS=$LIBS
 
 
10956
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
10957
/* end confdefs.h.  */
 
 
10959
/* Override any GCC internal prototype to avoid an error.
 
 
10960
   Use char because int might match the return type of a GCC
 
 
10961
   builtin and then its argument prototype would still apply.  */
 
 
10974
if ac_fn_c_try_link "$LINENO"; then :
 
 
10975
  ac_cv_lib_dl_dlopen=yes
 
 
10977
  ac_cv_lib_dl_dlopen=no
 
 
10979
rm -f core conftest.err conftest.$ac_objext \
 
 
10980
    conftest$ac_exeext conftest.$ac_ext
 
 
10981
LIBS=$ac_check_lib_save_LIBS
 
 
10983
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
 
10984
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
 
10985
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
 
10986
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
 
10988
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
 
 
10989
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
 
 
10990
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
 
 
10991
  $as_echo_n "(cached) " >&6
 
 
10993
  ac_check_lib_save_LIBS=$LIBS
 
 
10994
LIBS="-lsvld  $LIBS"
 
 
10995
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
10996
/* end confdefs.h.  */
 
 
10998
/* Override any GCC internal prototype to avoid an error.
 
 
10999
   Use char because int might match the return type of a GCC
 
 
11000
   builtin and then its argument prototype would still apply.  */
 
 
11013
if ac_fn_c_try_link "$LINENO"; then :
 
 
11014
  ac_cv_lib_svld_dlopen=yes
 
 
11016
  ac_cv_lib_svld_dlopen=no
 
 
11018
rm -f core conftest.err conftest.$ac_objext \
 
 
11019
    conftest$ac_exeext conftest.$ac_ext
 
 
11020
LIBS=$ac_check_lib_save_LIBS
 
 
11022
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
 
 
11023
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
 
 
11024
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
 
 
11025
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
 
 
11027
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
 
 
11028
$as_echo_n "checking for dld_link in -ldld... " >&6; }
 
 
11029
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
 
 
11030
  $as_echo_n "(cached) " >&6
 
 
11032
  ac_check_lib_save_LIBS=$LIBS
 
 
11034
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
11035
/* end confdefs.h.  */
 
 
11037
/* Override any GCC internal prototype to avoid an error.
 
 
11038
   Use char because int might match the return type of a GCC
 
 
11039
   builtin and then its argument prototype would still apply.  */
 
 
11047
return dld_link ();
 
 
11052
if ac_fn_c_try_link "$LINENO"; then :
 
 
11053
  ac_cv_lib_dld_dld_link=yes
 
 
11055
  ac_cv_lib_dld_dld_link=no
 
 
11057
rm -f core conftest.err conftest.$ac_objext \
 
 
11058
    conftest$ac_exeext conftest.$ac_ext
 
 
11059
LIBS=$ac_check_lib_save_LIBS
 
 
11061
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
 
 
11062
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
 
 
11063
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
 
 
11064
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
 
 
11085
  if test "x$lt_cv_dlopen" != xno; then
 
 
11091
  case $lt_cv_dlopen in
 
 
11093
    save_CPPFLAGS="$CPPFLAGS"
 
 
11094
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
 
 
11096
    save_LDFLAGS="$LDFLAGS"
 
 
11097
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 
 
11100
    LIBS="$lt_cv_dlopen_libs $LIBS"
 
 
11102
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
 
 
11103
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
 
 
11104
if test "${lt_cv_dlopen_self+set}" = set; then :
 
 
11105
  $as_echo_n "(cached) " >&6
 
 
11107
          if test "$cross_compiling" = yes; then :
 
 
11108
  lt_cv_dlopen_self=cross
 
 
11110
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
 
11111
  lt_status=$lt_dlunknown
 
 
11112
  cat > conftest.$ac_ext <<_LT_EOF
 
 
11113
#line 11113 "configure"
 
 
11114
#include "confdefs.h"
 
 
11123
#  define LT_DLGLOBAL           RTLD_GLOBAL
 
 
11126
#    define LT_DLGLOBAL         DL_GLOBAL
 
 
11128
#    define LT_DLGLOBAL         0
 
 
11132
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
 
11133
   find out it does not work in some platform. */
 
 
11134
#ifndef LT_DLLAZY_OR_NOW
 
 
11136
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
 
 
11139
#      define LT_DLLAZY_OR_NOW          DL_LAZY
 
 
11142
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
 
 
11145
#          define LT_DLLAZY_OR_NOW      DL_NOW
 
 
11147
#          define LT_DLLAZY_OR_NOW      0
 
 
11154
void fnord() { int i=42;}
 
 
11157
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
 
11158
  int status = $lt_dlunknown;
 
 
11162
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
 
11163
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
 
11164
      /* dlclose (self); */
 
 
11172
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
 
11173
  (eval $ac_link) 2>&5
 
 
11175
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
 
11176
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
 
 
11177
    (./conftest; exit; ) >&5 2>/dev/null
 
 
11179
    case x$lt_status in
 
 
11180
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
 
 
11181
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
 
 
11182
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
 
 
11185
    # compilation failed
 
 
11186
    lt_cv_dlopen_self=no
 
 
11193
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
 
 
11194
$as_echo "$lt_cv_dlopen_self" >&6; }
 
 
11196
    if test "x$lt_cv_dlopen_self" = xyes; then
 
 
11197
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
 
 
11198
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
 
 
11199
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
 
 
11200
if test "${lt_cv_dlopen_self_static+set}" = set; then :
 
 
11201
  $as_echo_n "(cached) " >&6
 
 
11203
          if test "$cross_compiling" = yes; then :
 
 
11204
  lt_cv_dlopen_self_static=cross
 
 
11206
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
 
11207
  lt_status=$lt_dlunknown
 
 
11208
  cat > conftest.$ac_ext <<_LT_EOF
 
 
11209
#line 11209 "configure"
 
 
11210
#include "confdefs.h"
 
 
11219
#  define LT_DLGLOBAL           RTLD_GLOBAL
 
 
11222
#    define LT_DLGLOBAL         DL_GLOBAL
 
 
11224
#    define LT_DLGLOBAL         0
 
 
11228
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
 
11229
   find out it does not work in some platform. */
 
 
11230
#ifndef LT_DLLAZY_OR_NOW
 
 
11232
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
 
 
11235
#      define LT_DLLAZY_OR_NOW          DL_LAZY
 
 
11238
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
 
 
11241
#          define LT_DLLAZY_OR_NOW      DL_NOW
 
 
11243
#          define LT_DLLAZY_OR_NOW      0
 
 
11250
void fnord() { int i=42;}
 
 
11253
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
 
11254
  int status = $lt_dlunknown;
 
 
11258
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
 
11259
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
 
11260
      /* dlclose (self); */
 
 
11268
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
 
11269
  (eval $ac_link) 2>&5
 
 
11271
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
 
11272
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
 
 
11273
    (./conftest; exit; ) >&5 2>/dev/null
 
 
11275
    case x$lt_status in
 
 
11276
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
 
 
11277
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
 
 
11278
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
 
 
11281
    # compilation failed
 
 
11282
    lt_cv_dlopen_self_static=no
 
 
11289
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
 
 
11290
$as_echo "$lt_cv_dlopen_self_static" >&6; }
 
 
11293
    CPPFLAGS="$save_CPPFLAGS"
 
 
11294
    LDFLAGS="$save_LDFLAGS"
 
 
11299
  case $lt_cv_dlopen_self in
 
 
11300
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
 
 
11301
  *) enable_dlopen_self=unknown ;;
 
 
11304
  case $lt_cv_dlopen_self_static in
 
 
11305
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
 
 
11306
  *) enable_dlopen_self_static=unknown ;;
 
 
11328
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
 
 
11329
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
 
 
11330
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 
 
11331
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
 
11332
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
 
11333
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
 
11334
$as_echo "yes" >&6; }
 
 
11336
# FIXME - insert some real tests, host_os isn't really good enough
 
 
11339
    if test -n "$STRIP" ; then
 
 
11340
      striplib="$STRIP -x"
 
 
11341
      old_striplib="$STRIP -S"
 
 
11342
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
 
11343
$as_echo "yes" >&6; }
 
 
11345
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
11346
$as_echo "no" >&6; }
 
 
11350
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
11351
$as_echo "no" >&6; }
 
 
11367
  # Report which library types will actually be built
 
 
11368
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
 
 
11369
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
 
11370
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
 
 
11371
$as_echo "$can_build_shared" >&6; }
 
 
11373
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
 
 
11374
$as_echo_n "checking whether to build shared libraries... " >&6; }
 
 
11375
  test "$can_build_shared" = "no" && enable_shared=no
 
 
11377
  # On AIX, shared libraries and static libraries use the same namespace, and
 
 
11378
  # are all built from PIC.
 
 
11381
    test "$enable_shared" = yes && enable_static=no
 
 
11382
    if test -n "$RANLIB"; then
 
 
11383
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
 
11384
      postinstall_cmds='$RANLIB $lib'
 
 
11389
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
 
11390
      test "$enable_shared" = yes && enable_static=no
 
 
11394
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
 
 
11395
$as_echo "$enable_shared" >&6; }
 
 
11397
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
 
 
11398
$as_echo_n "checking whether to build static libraries... " >&6; }
 
 
11399
  # Make sure either enable_shared or enable_static is yes.
 
 
11400
  test "$enable_shared" = yes || enable_static=yes
 
 
11401
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
 
 
11402
$as_echo "$enable_static" >&6; }
 
 
11409
ac_cpp='$CPP $CPPFLAGS'
 
 
11410
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
 
11411
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
 
11412
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
11418
ac_cpp='$CXXCPP $CPPFLAGS'
 
 
11419
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
 
11420
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
 
11421
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
 
11423
archive_cmds_need_lc_CXX=no
 
 
11424
allow_undefined_flag_CXX=
 
 
11425
always_export_symbols_CXX=no
 
 
11426
archive_expsym_cmds_CXX=
 
 
11427
compiler_needs_object_CXX=no
 
 
11428
export_dynamic_flag_spec_CXX=
 
 
11429
hardcode_direct_CXX=no
 
 
11430
hardcode_direct_absolute_CXX=no
 
 
11431
hardcode_libdir_flag_spec_CXX=
 
 
11432
hardcode_libdir_flag_spec_ld_CXX=
 
 
11433
hardcode_libdir_separator_CXX=
 
 
11434
hardcode_minus_L_CXX=no
 
 
11435
hardcode_shlibpath_var_CXX=unsupported
 
 
11436
hardcode_automatic_CXX=no
 
 
11437
inherit_rpath_CXX=no
 
 
11439
module_expsym_cmds_CXX=
 
 
11440
link_all_deplibs_CXX=unknown
 
 
11441
old_archive_cmds_CXX=$old_archive_cmds
 
 
11442
no_undefined_flag_CXX=
 
 
11443
whole_archive_flag_spec_CXX=
 
 
11444
enable_shared_with_static_runtimes_CXX=no
 
 
11446
# Source file extension for C++ test sources.
 
 
11449
# Object file extension for compiled C++ test sources.
 
 
11453
# No sense in running all these tests if we already determined that
 
 
11454
# the CXX compiler isn't working.  Some variables (like enable_shared)
 
 
11455
# are currently assumed to apply to all compilers on this platform,
 
 
11456
# and will be corrupted by setting them based on a non-working compiler.
 
 
11457
if test "$_lt_caught_CXX_error" != yes; then
 
 
11458
  # Code to be used in simple compile tests
 
 
11459
  lt_simple_compile_test_code="int some_variable = 0;"
 
 
11461
  # Code to be used in simple link tests
 
 
11462
  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
 
 
11464
  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
 
11471
# If no C compiler was specified, use CC.
 
 
11474
# If no C compiler flags were specified, use CFLAGS.
 
 
11475
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
 
11477
# Allow CC to be a program name with arguments.
 
 
11481
  # save warnings/boilerplate of simple test code
 
 
11482
  ac_outfile=conftest.$ac_objext
 
 
11483
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
 
11484
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
 
11485
_lt_compiler_boilerplate=`cat conftest.err`
 
 
11488
  ac_outfile=conftest.$ac_objext
 
 
11489
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
 
11490
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
 
11491
_lt_linker_boilerplate=`cat conftest.err`
 
 
11495
  # Allow CC to be a program name with arguments.
 
 
11500
  lt_save_with_gnu_ld=$with_gnu_ld
 
 
11501
  lt_save_path_LD=$lt_cv_path_LD
 
 
11502
  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
 
 
11503
    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
 
 
11505
    $as_unset lt_cv_prog_gnu_ld
 
 
11507
  if test -n "${lt_cv_path_LDCXX+set}"; then
 
 
11508
    lt_cv_path_LD=$lt_cv_path_LDCXX
 
 
11510
    $as_unset lt_cv_path_LD
 
 
11512
  test -z "${LDCXX+set}" || LD=$LDCXX
 
 
11516
  for cc_temp in $compiler""; do
 
 
11518
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
 
11519
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
 
11524
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
 
11527
  if test -n "$compiler"; then
 
 
11528
    # We don't want -fno-exception when compiling C++ code, so set the
 
 
11529
    # no_builtin_flag separately
 
 
11530
    if test "$GXX" = yes; then
 
 
11531
      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
 
 
11533
      lt_prog_compiler_no_builtin_flag_CXX=
 
 
11536
    if test "$GXX" = yes; then
 
 
11537
      # Set up default GNU C++ configuration
 
 
11541
# Check whether --with-gnu-ld was given.
 
 
11542
if test "${with_gnu_ld+set}" = set; then :
 
 
11543
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 
 
11549
if test "$GCC" = yes; then
 
 
11550
  # Check if gcc -print-prog-name=ld gives a path.
 
 
11551
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
 
 
11552
$as_echo_n "checking for ld used by $CC... " >&6; }
 
 
11555
    # gcc leaves a trailing carriage return which upsets mingw
 
 
11556
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 
 
11558
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 
 
11561
    # Accept absolute paths.
 
 
11563
      re_direlt='/[^/][^/]*/\.\./'
 
 
11564
      # Canonicalize the pathname of ld
 
 
11565
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
 
11566
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
 
11567
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
 
 
11569
      test -z "$LD" && LD="$ac_prog"
 
 
11572
    # If it fails, then pretend we aren't using GCC.
 
 
11576
    # If it is relative, then search for the first ld in PATH.
 
 
11577
    with_gnu_ld=unknown
 
 
11580
elif test "$with_gnu_ld" = yes; then
 
 
11581
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 
 
11582
$as_echo_n "checking for GNU ld... " >&6; }
 
 
11584
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 
 
11585
$as_echo_n "checking for non-GNU ld... " >&6; }
 
 
11587
if test "${lt_cv_path_LD+set}" = set; then :
 
 
11588
  $as_echo_n "(cached) " >&6
 
 
11590
  if test -z "$LD"; then
 
 
11591
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
 
11592
  for ac_dir in $PATH; do
 
 
11594
    test -z "$ac_dir" && ac_dir=.
 
 
11595
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 
 
11596
      lt_cv_path_LD="$ac_dir/$ac_prog"
 
 
11597
      # Check to see if the program is GNU ld.  I'd rather use --version,
 
 
11598
      # but apparently some variants of GNU ld only accept -v.
 
 
11599
      # Break only if it was the GNU/non-GNU ld that we prefer.
 
 
11600
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 
 
11601
      *GNU* | *'with BFD'*)
 
 
11602
        test "$with_gnu_ld" != no && break
 
 
11605
        test "$with_gnu_ld" != yes && break
 
 
11612
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
 
 
11616
LD="$lt_cv_path_LD"
 
 
11617
if test -n "$LD"; then
 
 
11618
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 
 
11619
$as_echo "$LD" >&6; }
 
 
11621
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
11622
$as_echo "no" >&6; }
 
 
11624
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
 
11625
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 
 
11626
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 
 
11627
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
 
11628
  $as_echo_n "(cached) " >&6
 
 
11630
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
 
 
11631
case `$LD -v 2>&1 </dev/null` in
 
 
11632
*GNU* | *'with BFD'*)
 
 
11633
  lt_cv_prog_gnu_ld=yes
 
 
11636
  lt_cv_prog_gnu_ld=no
 
 
11640
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
 
 
11641
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
 
 
11642
with_gnu_ld=$lt_cv_prog_gnu_ld
 
 
11650
      # Check if GNU C++ uses GNU ld as the underlying linker, since the
 
 
11651
      # archiving commands below assume that GNU ld is being used.
 
 
11652
      if test "$with_gnu_ld" = yes; then
 
 
11653
        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
 
11654
        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'
 
 
11656
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
 
11657
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
 
11659
        # If archive_cmds runs LD, not CC, wlarc should be empty
 
 
11660
        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
 
 
11661
        #     investigate it a little bit more. (MM)
 
 
11664
        # ancient GNU ld didn't support --whole-archive et. al.
 
 
11665
        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
 
 
11666
          $GREP 'no-whole-archive' > /dev/null; then
 
 
11667
          whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
 
11669
          whole_archive_flag_spec_CXX=
 
 
11675
        # A generic and very simple default shared library creation
 
 
11676
        # command for GNU C++ for the case where it uses the native
 
 
11677
        # linker, instead of GNU ld.  If possible, this setting should
 
 
11678
        # overridden to take advantage of the native linker features on
 
 
11679
        # the platform it is being used on.
 
 
11680
        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
 
11683
      # Commands to make compiler produce verbose output that lists
 
 
11684
      # what "hidden" libraries, object files and flags are used when
 
 
11685
      # linking a shared library.
 
 
11686
      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
 
11694
    # PORTME: fill in a description of your system's C++ link characteristics
 
 
11695
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
 
11696
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 
 
11700
        # FIXME: insert proper C++ library support
 
 
11704
        if test "$host_cpu" = ia64; then
 
 
11705
          # On IA64, the linker does run time linking by default, so we don't
 
 
11706
          # have to do anything special.
 
 
11707
          aix_use_runtimelinking=no
 
 
11708
          exp_sym_flag='-Bexport'
 
 
11711
          aix_use_runtimelinking=no
 
 
11713
          # Test if we are trying to use run time linking or normal
 
 
11714
          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 
 
11715
          # need to do runtime linking.
 
 
11716
          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
 
 
11717
            for ld_flag in $LDFLAGS; do
 
 
11720
                aix_use_runtimelinking=yes
 
 
11728
          exp_sym_flag='-bexport'
 
 
11729
          no_entry_flag='-bnoentry'
 
 
11732
        # When large executables or shared objects are built, AIX ld can
 
 
11733
        # have problems creating the table of contents.  If linking a library
 
 
11734
        # or program results in "error TOC overflow" add -mminimal-toc to
 
 
11735
        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 
 
11736
        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
 
11738
        archive_cmds_CXX=''
 
 
11739
        hardcode_direct_CXX=yes
 
 
11740
        hardcode_direct_absolute_CXX=yes
 
 
11741
        hardcode_libdir_separator_CXX=':'
 
 
11742
        link_all_deplibs_CXX=yes
 
 
11743
        file_list_spec_CXX='${wl}-f,'
 
 
11745
        if test "$GXX" = yes; then
 
 
11746
          case $host_os in aix4.[012]|aix4.[012].*)
 
 
11747
          # We only want to do this on AIX 4.2 and lower, the check
 
 
11748
          # below for broken collect2 doesn't work under 4.3+
 
 
11749
          collect2name=`${CC} -print-prog-name=collect2`
 
 
11750
          if test -f "$collect2name" &&
 
 
11751
             strings "$collect2name" | $GREP resolve_lib_name >/dev/null
 
 
11753
            # We have reworked collect2
 
 
11756
            # We have old collect2
 
 
11757
            hardcode_direct_CXX=unsupported
 
 
11758
            # It fails to find uninstalled libraries when the uninstalled
 
 
11759
            # path is not listed in the libpath.  Setting hardcode_minus_L
 
 
11760
            # to unsupported forces relinking
 
 
11761
            hardcode_minus_L_CXX=yes
 
 
11762
            hardcode_libdir_flag_spec_CXX='-L$libdir'
 
 
11763
            hardcode_libdir_separator_CXX=
 
 
11766
          shared_flag='-shared'
 
 
11767
          if test "$aix_use_runtimelinking" = yes; then
 
 
11768
            shared_flag="$shared_flag "'${wl}-G'
 
 
11772
          if test "$host_cpu" = ia64; then
 
 
11773
          # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
 
11774
          # chokes on -Wl,-G. The following line is correct:
 
 
11777
            if test "$aix_use_runtimelinking" = yes; then
 
 
11778
              shared_flag='${wl}-G'
 
 
11780
              shared_flag='${wl}-bM:SRE'
 
 
11785
        export_dynamic_flag_spec_CXX='${wl}-bexpall'
 
 
11786
        # It seems that -bexpall does not export symbols beginning with
 
 
11787
        # underscore (_), so it is better to generate a list of symbols to
 
 
11789
        always_export_symbols_CXX=yes
 
 
11790
        if test "$aix_use_runtimelinking" = yes; then
 
 
11791
          # Warning - without using the other runtime loading flags (-brtl),
 
 
11792
          # -berok will link without error, but may produce a broken library.
 
 
11793
          allow_undefined_flag_CXX='-berok'
 
 
11794
          # Determine the default libpath from the value encoded in an empty
 
 
11796
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
11797
/* end confdefs.h.  */
 
 
11807
if ac_fn_cxx_try_link "$LINENO"; then :
 
 
11809
lt_aix_libpath_sed='
 
 
11810
    /Import File Strings/,/^$/ {
 
 
11816
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
 
11817
# Check for a 64-bit object if we didn't find anything.
 
 
11818
if test -z "$aix_libpath"; then
 
 
11819
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
 
11822
rm -f core conftest.err conftest.$ac_objext \
 
 
11823
    conftest$ac_exeext conftest.$ac_ext
 
 
11824
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
 
11826
          hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
 
 
11828
          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"
 
 
11830
          if test "$host_cpu" = ia64; then
 
 
11831
            hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
 
 
11832
            allow_undefined_flag_CXX="-z nodefs"
 
 
11833
            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"
 
 
11835
            # Determine the default libpath from the value encoded in an
 
 
11836
            # empty executable.
 
 
11837
            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
11838
/* end confdefs.h.  */
 
 
11848
if ac_fn_cxx_try_link "$LINENO"; then :
 
 
11850
lt_aix_libpath_sed='
 
 
11851
    /Import File Strings/,/^$/ {
 
 
11857
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
 
11858
# Check for a 64-bit object if we didn't find anything.
 
 
11859
if test -z "$aix_libpath"; then
 
 
11860
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
 
11863
rm -f core conftest.err conftest.$ac_objext \
 
 
11864
    conftest$ac_exeext conftest.$ac_ext
 
 
11865
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
 
11867
            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
 
 
11868
            # Warning - without using the other run time loading flags,
 
 
11869
            # -berok will link without error, but may produce a broken library.
 
 
11870
            no_undefined_flag_CXX=' ${wl}-bernotok'
 
 
11871
            allow_undefined_flag_CXX=' ${wl}-berok'
 
 
11872
            # Exported symbols can be pulled into shared objects from archives
 
 
11873
            whole_archive_flag_spec_CXX='$convenience'
 
 
11874
            archive_cmds_need_lc_CXX=yes
 
 
11875
            # This is similar to how AIX traditionally builds its shared
 
 
11877
            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'
 
 
11883
        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
 
11884
          allow_undefined_flag_CXX=unsupported
 
 
11885
          # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
 
11886
          # support --undefined.  This deserves some investigation.  FIXME
 
 
11887
          archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
 
11894
        case $cc_basename in
 
 
11896
          # FIXME: insert proper C++ library support
 
 
11902
      cygwin* | mingw* | pw32* | cegcc*)
 
 
11903
        # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
 
 
11904
        # as there is no search path for DLLs.
 
 
11905
        hardcode_libdir_flag_spec_CXX='-L$libdir'
 
 
11906
        allow_undefined_flag_CXX=unsupported
 
 
11907
        always_export_symbols_CXX=no
 
 
11908
        enable_shared_with_static_runtimes_CXX=yes
 
 
11910
        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 
 
11911
          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'
 
 
11912
          # If the export-symbols file already is a .def file (1st line
 
 
11913
          # is EXPORTS), use it as is; otherwise, prepend...
 
 
11914
          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
 
11915
            cp $export_symbols $output_objdir/$soname.def;
 
 
11917
            echo EXPORTS > $output_objdir/$soname.def;
 
 
11918
            cat $export_symbols >> $output_objdir/$soname.def;
 
 
11920
          $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'
 
 
11925
      darwin* | rhapsody*)
 
 
11928
  archive_cmds_need_lc_CXX=no
 
 
11929
  hardcode_direct_CXX=no
 
 
11930
  hardcode_automatic_CXX=yes
 
 
11931
  hardcode_shlibpath_var_CXX=unsupported
 
 
11932
  whole_archive_flag_spec_CXX=''
 
 
11933
  link_all_deplibs_CXX=yes
 
 
11934
  allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
 
 
11935
  case $cc_basename in
 
 
11936
     ifort*) _lt_dar_can_shared=yes ;;
 
 
11937
     *) _lt_dar_can_shared=$GCC ;;
 
 
11939
  if test "$_lt_dar_can_shared" = "yes"; then
 
 
11940
    output_verbose_link_cmd=echo
 
 
11941
    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}"
 
 
11942
    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
 
11943
    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}"
 
 
11944
    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}"
 
 
11945
       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
 
 
11946
      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}"
 
 
11947
      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}"
 
 
11957
        case $cc_basename in
 
 
11959
            # FIXME: insert proper C++ library support
 
 
11963
            # Green Hills C++ Compiler
 
 
11964
            # FIXME: insert proper C++ library support
 
 
11968
            # FIXME: insert proper C++ library support
 
 
11975
        # C++ shared libraries reported to be fairly broken before
 
 
11981
        archive_cmds_need_lc_CXX=no
 
 
11984
      freebsd* | dragonfly*)
 
 
11985
        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
 
 
11994
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 
 
11995
        hardcode_libdir_separator_CXX=:
 
 
11996
        export_dynamic_flag_spec_CXX='${wl}-E'
 
 
11997
        hardcode_direct_CXX=yes
 
 
11998
        hardcode_minus_L_CXX=yes # Not in the search PATH,
 
 
11999
                                             # but as the default
 
 
12000
                                             # location of the library.
 
 
12002
        case $cc_basename in
 
 
12004
            # FIXME: insert proper C++ library support
 
 
12008
            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'
 
 
12009
            # Commands to make compiler produce verbose output that lists
 
 
12010
            # what "hidden" libraries, object files and flags are used when
 
 
12011
            # linking a shared library.
 
 
12013
            # There doesn't appear to be a way to prevent this compiler from
 
 
12014
            # explicitly linking system object files so we need to strip them
 
 
12015
            # from the output so that they don't get included in the library
 
 
12017
            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'
 
 
12020
            if test "$GXX" = yes; then
 
 
12021
              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'
 
 
12023
              # FIXME: insert proper C++ library support
 
 
12031
        if test $with_gnu_ld = no; then
 
 
12032
          hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 
 
12033
          hardcode_libdir_separator_CXX=:
 
 
12039
              export_dynamic_flag_spec_CXX='${wl}-E'
 
 
12045
            hardcode_direct_CXX=no
 
 
12046
            hardcode_shlibpath_var_CXX=no
 
 
12049
            hardcode_direct_CXX=yes
 
 
12050
            hardcode_direct_absolute_CXX=yes
 
 
12051
            hardcode_minus_L_CXX=yes # Not in the search PATH,
 
 
12052
                                                 # but as the default
 
 
12053
                                                 # location of the library.
 
 
12057
        case $cc_basename in
 
 
12059
            # FIXME: insert proper C++ library support
 
 
12065
                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
 
12068
                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
 
12071
                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
 
12074
            # Commands to make compiler produce verbose output that lists
 
 
12075
            # what "hidden" libraries, object files and flags are used when
 
 
12076
            # linking a shared library.
 
 
12078
            # There doesn't appear to be a way to prevent this compiler from
 
 
12079
            # explicitly linking system object files so we need to strip them
 
 
12080
            # from the output so that they don't get included in the library
 
 
12082
            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'
 
 
12085
            if test "$GXX" = yes; then
 
 
12086
              if test $with_gnu_ld = no; then
 
 
12089
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
 
12092
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
 
12095
                    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'
 
 
12100
              # FIXME: insert proper C++ library support
 
 
12108
        hardcode_direct_CXX=no
 
 
12109
        hardcode_shlibpath_var_CXX=no
 
 
12110
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
 
12111
        export_dynamic_flag_spec_CXX='${wl}-E'
 
 
12112
        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
 
12113
        # Instead, shared libraries are loaded at an image base (0x10000000 by
 
 
12114
        # default) and relocated if they conflict, which is a slow very memory
 
 
12115
        # consuming and fragmenting process.  To avoid this, we pick a random,
 
 
12116
        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
 
12117
        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
 
12118
        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'
 
 
12119
        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'
 
 
12122
        case $cc_basename in
 
 
12125
            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'
 
 
12127
            # Archives containing C++ object files must be created using
 
 
12128
            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
 
 
12129
            # necessary to make sure instantiated templates are included
 
 
12131
            old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
 
 
12134
            if test "$GXX" = yes; then
 
 
12135
              if test "$with_gnu_ld" = no; then
 
 
12136
                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'
 
 
12138
                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'
 
 
12141
            link_all_deplibs_CXX=yes
 
 
12144
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
 
12145
        hardcode_libdir_separator_CXX=:
 
 
12146
        inherit_rpath_CXX=yes
 
 
12149
      linux* | k*bsd*-gnu)
 
 
12150
        case $cc_basename in
 
 
12152
            # Kuck and Associates, Inc. (KAI) C++ Compiler
 
 
12154
            # KCC will only create a shared library if the output file
 
 
12155
            # ends with ".so" (or ".sl" for HP-UX), so rename the library
 
 
12156
            # to its proper name (with version) after linking.
 
 
12157
            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'
 
 
12158
            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'
 
 
12159
            # Commands to make compiler produce verbose output that lists
 
 
12160
            # what "hidden" libraries, object files and flags are used when
 
 
12161
            # linking a shared library.
 
 
12163
            # There doesn't appear to be a way to prevent this compiler from
 
 
12164
            # explicitly linking system object files so we need to strip them
 
 
12165
            # from the output so that they don't get included in the library
 
 
12167
            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'
 
 
12169
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
 
12170
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
 
12172
            # Archives containing C++ object files must be created using
 
 
12173
            # "CC -Bstatic", where "CC" is the KAI C++ compiler.
 
 
12174
            old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
 
 
12179
            # version 8.0 and above of icpc choke on multiply defined symbols
 
 
12180
            # if we add $predep_objects and $postdep_objects, however 7.1 and
 
 
12181
            # earlier do not add the objects themselves.
 
 
12182
            case `$CC -V 2>&1` in
 
 
12184
                archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
 
12185
                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'
 
 
12187
              *)  # Version 8.0 or newer
 
 
12190
                  ia64*) tmp_idyn=' -i_dynamic';;
 
 
12192
                archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
 
12193
                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'
 
 
12196
            archive_cmds_need_lc_CXX=no
 
 
12197
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
 
12198
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
 
12199
            whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
 
12202
            # Portland Group C++ compiler
 
 
12204
            *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
 
 
12205
              prelink_cmds_CXX='tpldir=Template.dir~
 
 
12207
                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
 
 
12208
                compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
 
 
12209
              old_archive_cmds_CXX='tpldir=Template.dir~
 
 
12211
                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
 
 
12212
                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
 
 
12214
              archive_cmds_CXX='tpldir=Template.dir~
 
 
12216
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
 
 
12217
                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
 
 
12218
              archive_expsym_cmds_CXX='tpldir=Template.dir~
 
 
12220
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
 
 
12221
                $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'
 
 
12223
            *) # Version 6 will use weak symbols
 
 
12224
              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
 
 
12225
              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'
 
 
12229
            hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
 
 
12230
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
 
12231
            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'
 
 
12235
            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
 
12236
            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'
 
 
12238
            runpath_var=LD_RUN_PATH
 
 
12239
            hardcode_libdir_flag_spec_CXX='-rpath $libdir'
 
 
12240
            hardcode_libdir_separator_CXX=:
 
 
12242
            # Commands to make compiler produce verbose output that lists
 
 
12243
            # what "hidden" libraries, object files and flags are used when
 
 
12244
            # linking a shared library.
 
 
12246
            # There doesn't appear to be a way to prevent this compiler from
 
 
12247
            # explicitly linking system object files so we need to strip them
 
 
12248
            # from the output so that they don't get included in the library
 
 
12250
            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'
 
 
12253
            # IBM XL 8.0 on PPC, with GNU ld
 
 
12254
            hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
 
12255
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
 
12256
            archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
 
12257
            if test "x$supports_anon_versioning" = xyes; then
 
 
12258
              archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
 
 
12259
                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
 
12260
                echo "local: *; };" >> $output_objdir/$libname.ver~
 
 
12261
                $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
 
12265
            case `$CC -V 2>&1 | sed 5q` in
 
 
12268
              no_undefined_flag_CXX=' -zdefs'
 
 
12269
              archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
 
12270
              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'
 
 
12271
              hardcode_libdir_flag_spec_CXX='-R$libdir'
 
 
12272
              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'
 
 
12273
              compiler_needs_object_CXX=yes
 
 
12275
              # Not sure whether something based on
 
 
12276
              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
 
 
12278
              output_verbose_link_cmd='echo'
 
 
12280
              # Archives containing C++ object files must be created using
 
 
12281
              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 
 
12282
              # necessary to make sure instantiated templates are included
 
 
12284
              old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
 
 
12292
        # FIXME: insert proper C++ library support
 
 
12297
        # FIXME: insert proper C++ library support
 
 
12302
        case $cc_basename in
 
 
12304
            # FIXME: insert proper C++ library support
 
 
12308
            # FIXME: insert proper C++ library support
 
 
12315
        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
 
12316
          archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
 
 
12318
          hardcode_libdir_flag_spec_CXX='-R$libdir'
 
 
12319
          hardcode_direct_CXX=yes
 
 
12320
          hardcode_shlibpath_var_CXX=no
 
 
12322
        # Workaround some broken pre-1.5 toolchains
 
 
12323
        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
 
 
12331
        # C++ shared libraries are fairly broken
 
 
12336
        if test -f /usr/libexec/ld.so; then
 
 
12337
          hardcode_direct_CXX=yes
 
 
12338
          hardcode_shlibpath_var_CXX=no
 
 
12339
          hardcode_direct_absolute_CXX=yes
 
 
12340
          archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
 
12341
          hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
 
12342
          if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
 
12343
            archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
 
 
12344
            export_dynamic_flag_spec_CXX='${wl}-E'
 
 
12345
            whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
 
12347
          output_verbose_link_cmd=echo
 
 
12353
      osf3* | osf4* | osf5*)
 
 
12354
        case $cc_basename in
 
 
12356
            # Kuck and Associates, Inc. (KAI) C++ Compiler
 
 
12358
            # KCC will only create a shared library if the output file
 
 
12359
            # ends with ".so" (or ".sl" for HP-UX), so rename the library
 
 
12360
            # to its proper name (with version) after linking.
 
 
12361
            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'
 
 
12363
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
 
12364
            hardcode_libdir_separator_CXX=:
 
 
12366
            # Archives containing C++ object files must be created using
 
 
12367
            # the KAI C++ compiler.
 
 
12369
              osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
 
 
12370
              *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
 
 
12374
            # Rational C++ 2.4.1
 
 
12375
            # FIXME: insert proper C++ library support
 
 
12381
                allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
 
 
12382
                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'
 
 
12383
                hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
 
12386
                allow_undefined_flag_CXX=' -expect_unresolved \*'
 
 
12387
                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'
 
 
12388
                archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
 
 
12389
                  echo "-hidden">> $lib.exp~
 
 
12390
                  $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~
 
 
12392
                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
 
 
12396
            hardcode_libdir_separator_CXX=:
 
 
12398
            # Commands to make compiler produce verbose output that lists
 
 
12399
            # what "hidden" libraries, object files and flags are used when
 
 
12400
            # linking a shared library.
 
 
12402
            # There doesn't appear to be a way to prevent this compiler from
 
 
12403
            # explicitly linking system object files so we need to strip them
 
 
12404
            # from the output so that they don't get included in the library
 
 
12406
            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'
 
 
12409
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 
 
12410
              allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
 
 
12413
                  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'
 
 
12416
                  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'
 
 
12420
              hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
 
12421
              hardcode_libdir_separator_CXX=:
 
 
12423
              # Commands to make compiler produce verbose output that lists
 
 
12424
              # what "hidden" libraries, object files and flags are used when
 
 
12425
              # linking a shared library.
 
 
12426
              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
 
12429
              # FIXME: insert proper C++ library support
 
 
12437
        # FIXME: insert proper C++ library support
 
 
12442
        case $cc_basename in
 
 
12445
            # FIXME: insert proper C++ library support
 
 
12450
            # FIXME: insert proper C++ library support
 
 
12454
            # FIXME: insert proper C++ library support
 
 
12461
        case $cc_basename in
 
 
12463
            # Sun C++ 4.2, 5.x and Centerline C++
 
 
12464
            archive_cmds_need_lc_CXX=yes
 
 
12465
            no_undefined_flag_CXX=' -zdefs'
 
 
12466
            archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
 
12467
            archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
 
12468
              $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'
 
 
12470
            hardcode_libdir_flag_spec_CXX='-R$libdir'
 
 
12471
            hardcode_shlibpath_var_CXX=no
 
 
12473
              solaris2.[0-5] | solaris2.[0-5].*) ;;
 
 
12475
                # The compiler driver will combine and reorder linker options,
 
 
12476
                # but understands `-z linker_flag'.
 
 
12477
                # Supported since Solaris 2.6 (maybe 2.5.1?)
 
 
12478
                whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
 
 
12481
            link_all_deplibs_CXX=yes
 
 
12483
            output_verbose_link_cmd='echo'
 
 
12485
            # Archives containing C++ object files must be created using
 
 
12486
            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 
 
12487
            # necessary to make sure instantiated templates are included
 
 
12489
            old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
 
 
12492
            # Green Hills C++ Compiler
 
 
12493
            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
 
12495
            # The C++ compiler must be used to create the archive.
 
 
12496
            old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
 
 
12499
            # GNU C++ compiler with Solaris linker
 
 
12500
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 
 
12501
              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
 
 
12502
              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
 
 
12503
                archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
 
12504
                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
 
12505
                  $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
 
12507
                # Commands to make compiler produce verbose output that lists
 
 
12508
                # what "hidden" libraries, object files and flags are used when
 
 
12509
                # linking a shared library.
 
 
12510
                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
 
12512
                # g++ 2.7 appears to require `-G' NOT `-shared' on this
 
 
12514
                archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
 
12515
                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
 
12516
                  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
 
12518
                # Commands to make compiler produce verbose output that lists
 
 
12519
                # what "hidden" libraries, object files and flags are used when
 
 
12520
                # linking a shared library.
 
 
12521
                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
 
12524
              hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
 
 
12526
                solaris2.[0-5] | solaris2.[0-5].*) ;;
 
 
12528
                  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
 
12536
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
 
12537
      no_undefined_flag_CXX='${wl}-z,text'
 
 
12538
      archive_cmds_need_lc_CXX=no
 
 
12539
      hardcode_shlibpath_var_CXX=no
 
 
12540
      runpath_var='LD_RUN_PATH'
 
 
12542
      case $cc_basename in
 
 
12544
          archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
 
12545
          archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
 
12548
          archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
 
12549
          archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
 
12554
      sysv5* | sco3.2v5* | sco5v6*)
 
 
12555
        # Note: We can NOT use -z defs as we might desire, because we do not
 
 
12556
        # link with -lc, and that would cause any symbols used from libc to
 
 
12557
        # always be unresolved, which means just about no library would
 
 
12558
        # ever link correctly.  If we're not using GNU ld we use -z text
 
 
12559
        # though, which does catch some bad symbols but isn't as heavy-handed
 
 
12561
        no_undefined_flag_CXX='${wl}-z,text'
 
 
12562
        allow_undefined_flag_CXX='${wl}-z,nodefs'
 
 
12563
        archive_cmds_need_lc_CXX=no
 
 
12564
        hardcode_shlibpath_var_CXX=no
 
 
12565
        hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
 
 
12566
        hardcode_libdir_separator_CXX=':'
 
 
12567
        link_all_deplibs_CXX=yes
 
 
12568
        export_dynamic_flag_spec_CXX='${wl}-Bexport'
 
 
12569
        runpath_var='LD_RUN_PATH'
 
 
12571
        case $cc_basename in
 
 
12573
            archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
 
12574
            archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
 
12577
            archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
 
12578
            archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
 
12584
        case $cc_basename in
 
 
12586
            # NonStop-UX NCC 3.20
 
 
12587
            # FIXME: insert proper C++ library support
 
 
12591
            # FIXME: insert proper C++ library support
 
 
12598
        # FIXME: insert proper C++ library support
 
 
12603
        # FIXME: insert proper C++ library support
 
 
12608
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
 
 
12609
$as_echo "$ld_shlibs_CXX" >&6; }
 
 
12610
    test "$ld_shlibs_CXX" = no && can_build_shared=no
 
 
12616
    ## There is no encapsulation within the following macros, do not change
 
 
12617
    ## the running order or otherwise move them around unless you know exactly
 
 
12618
    ## what you are doing...
 
 
12619
    # Dependencies to place before and after the object being linked:
 
 
12620
predep_objects_CXX=
 
 
12621
postdep_objects_CXX=
 
 
12624
compiler_lib_search_path_CXX=
 
 
12626
cat > conftest.$ac_ext <<_LT_EOF
 
 
12630
  Foo (void) { a = 0; }
 
 
12636
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
 
12637
  (eval $ac_compile) 2>&5
 
 
12639
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
 
12640
  test $ac_status = 0; }; then
 
 
12641
  # Parse the compiler output and extract the necessary
 
 
12642
  # objects, libraries and library flags.
 
 
12644
  # Sentinel used to keep track of whether or not we are before
 
 
12645
  # the conftest object file.
 
 
12646
  pre_test_object_deps_done=no
 
 
12648
  for p in `eval "$output_verbose_link_cmd"`; do
 
 
12652
       # Some compilers place space between "-{L,R}" and the path.
 
 
12653
       # Remove the space.
 
 
12654
       if test $p = "-L" ||
 
 
12655
          test $p = "-R"; then
 
 
12662
       if test "$pre_test_object_deps_done" = no; then
 
 
12665
           # Internal compiler library paths should come after those
 
 
12666
           # provided the user.  The postdeps already come after the
 
 
12667
           # user supplied libs so there is no need to process them.
 
 
12668
           if test -z "$compiler_lib_search_path_CXX"; then
 
 
12669
             compiler_lib_search_path_CXX="${prev}${p}"
 
 
12671
             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
 
 
12674
         # The "-l" case would never come before the object being
 
 
12675
         # linked, so don't bother handling this case.
 
 
12678
         if test -z "$postdeps_CXX"; then
 
 
12679
           postdeps_CXX="${prev}${p}"
 
 
12681
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
 
 
12687
       # This assumes that the test object file only shows up
 
 
12688
       # once in the compiler output.
 
 
12689
       if test "$p" = "conftest.$objext"; then
 
 
12690
         pre_test_object_deps_done=yes
 
 
12694
       if test "$pre_test_object_deps_done" = no; then
 
 
12695
         if test -z "$predep_objects_CXX"; then
 
 
12696
           predep_objects_CXX="$p"
 
 
12698
           predep_objects_CXX="$predep_objects_CXX $p"
 
 
12701
         if test -z "$postdep_objects_CXX"; then
 
 
12702
           postdep_objects_CXX="$p"
 
 
12704
           postdep_objects_CXX="$postdep_objects_CXX $p"
 
 
12709
    *) ;; # Ignore the rest.
 
 
12717
  echo "libtool.m4: error: problem compiling CXX test program"
 
 
12720
$RM -f confest.$objext
 
 
12722
# PORTME: override above test on systems where it is broken
 
 
12725
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
 
 
12726
  # hack all around it, let's just trust "g++" to DTRT.
 
 
12727
  predep_objects_CXX=
 
 
12728
  postdep_objects_CXX=
 
 
12733
  case `$CC -V 2>&1 | sed 5q` in
 
 
12737
    # The more standards-conforming stlport4 library is
 
 
12738
    # incompatible with the Cstd library. Avoid specifying
 
 
12739
    # it if it's in CXXFLAGS. Ignore libCrun as
 
 
12740
    # -library=stlport4 depends on it.
 
 
12741
    case " $CXX $CXXFLAGS " in
 
 
12742
    *" -library=stlport4 "*)
 
 
12743
      solaris_use_stlport4=yes
 
 
12747
    if test "$solaris_use_stlport4" != yes; then
 
 
12748
      postdeps_CXX='-library=Cstd -library=Crun'
 
 
12755
  case $cc_basename in
 
 
12757
    # The more standards-conforming stlport4 library is
 
 
12758
    # incompatible with the Cstd library. Avoid specifying
 
 
12759
    # it if it's in CXXFLAGS. Ignore libCrun as
 
 
12760
    # -library=stlport4 depends on it.
 
 
12761
    case " $CXX $CXXFLAGS " in
 
 
12762
    *" -library=stlport4 "*)
 
 
12763
      solaris_use_stlport4=yes
 
 
12767
    # Adding this requires a known-good setup of shared libraries for
 
 
12768
    # Sun compiler versions before 5.6, else PIC objects from an old
 
 
12769
    # archive will be linked into the output, leading to subtle bugs.
 
 
12770
    if test "$solaris_use_stlport4" != yes; then
 
 
12771
      postdeps_CXX='-library=Cstd -library=Crun'
 
 
12779
case " $postdeps_CXX " in
 
 
12780
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
 
 
12782
 compiler_lib_search_dirs_CXX=
 
 
12783
if test -n "${compiler_lib_search_path_CXX}"; then
 
 
12784
 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
 
 
12817
    lt_prog_compiler_wl_CXX=
 
 
12818
lt_prog_compiler_pic_CXX=
 
 
12819
lt_prog_compiler_static_CXX=
 
 
12821
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
 
12822
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
 
12824
  # C++ specific cases for pic, static, wl, etc.
 
 
12825
  if test "$GXX" = yes; then
 
 
12826
    lt_prog_compiler_wl_CXX='-Wl,'
 
 
12827
    lt_prog_compiler_static_CXX='-static'
 
 
12831
      # All AIX code is PIC.
 
 
12832
      if test "$host_cpu" = ia64; then
 
 
12833
        # AIX 5 now supports IA64 processor
 
 
12834
        lt_prog_compiler_static_CXX='-Bstatic'
 
 
12841
            # see comment about AmigaOS4 .so support
 
 
12842
            lt_prog_compiler_pic_CXX='-fPIC'
 
 
12845
            # FIXME: we need at least 68020 code to build shared libraries, but
 
 
12846
            # adding the `-m68020' flag to GCC prevents building anything better,
 
 
12848
            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
 
 
12853
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
 
12854
      # PIC is the default for these OSes.
 
 
12856
    mingw* | cygwin* | os2* | pw32* | cegcc*)
 
 
12857
      # This hack is so that the source file can tell whether it is being
 
 
12858
      # built for inclusion in a dll (and should export symbols for example).
 
 
12859
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
 
12860
      # (--disable-auto-import) libraries
 
 
12861
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
 
 
12863
    darwin* | rhapsody*)
 
 
12864
      # PIC is the default on this platform
 
 
12865
      # Common symbols not allowed in MH_DYLIB files
 
 
12866
      lt_prog_compiler_pic_CXX='-fno-common'
 
 
12869
      # DJGPP does not support shared libraries at all
 
 
12870
      lt_prog_compiler_pic_CXX=
 
 
12873
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
 
12874
      # Instead, we relocate shared libraries at runtime.
 
 
12877
      if test -d /usr/nec; then
 
 
12878
        lt_prog_compiler_pic_CXX=-Kconform_pic
 
 
12882
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
 
12883
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
 
12884
      # sets the default TLS model and affects inlining.
 
 
12889
        lt_prog_compiler_pic_CXX='-fPIC'
 
 
12894
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
 
12895
      # it will coredump.
 
 
12896
      lt_prog_compiler_pic_CXX='-fPIC -shared'
 
 
12899
      lt_prog_compiler_pic_CXX='-fPIC'
 
 
12905
        # All AIX code is PIC.
 
 
12906
        if test "$host_cpu" = ia64; then
 
 
12907
          # AIX 5 now supports IA64 processor
 
 
12908
          lt_prog_compiler_static_CXX='-Bstatic'
 
 
12910
          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
 
 
12914
        case $cc_basename in
 
 
12916
          # Green Hills C++ Compiler
 
 
12917
          # _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"
 
 
12922
        case $cc_basename in
 
 
12924
            lt_prog_compiler_pic_CXX='-KPIC'
 
 
12927
            # Green Hills C++ Compiler
 
 
12928
            lt_prog_compiler_pic_CXX='-pic'
 
 
12934
      freebsd* | dragonfly*)
 
 
12935
        # FreeBSD uses GNU C++
 
 
12937
      hpux9* | hpux10* | hpux11*)
 
 
12938
        case $cc_basename in
 
 
12940
            lt_prog_compiler_wl_CXX='-Wl,'
 
 
12941
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
 
 
12942
            if test "$host_cpu" != ia64; then
 
 
12943
              lt_prog_compiler_pic_CXX='+Z'
 
 
12947
            lt_prog_compiler_wl_CXX='-Wl,'
 
 
12948
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
 
 
12954
              lt_prog_compiler_pic_CXX='+Z'
 
 
12963
        # This is c89, which is MS Visual C++ (no shared libs)
 
 
12964
        # Anyone wants to do a port?
 
 
12966
      irix5* | irix6* | nonstopux*)
 
 
12967
        case $cc_basename in
 
 
12969
            lt_prog_compiler_wl_CXX='-Wl,'
 
 
12970
            lt_prog_compiler_static_CXX='-non_shared'
 
 
12971
            # CC pic flag -KPIC is the default.
 
 
12977
      linux* | k*bsd*-gnu)
 
 
12978
        case $cc_basename in
 
 
12981
            lt_prog_compiler_wl_CXX='--backend -Wl,'
 
 
12982
            lt_prog_compiler_pic_CXX='-fPIC'
 
 
12985
            # old Intel C++ for x86_64 which still supported -KPIC.
 
 
12986
            lt_prog_compiler_wl_CXX='-Wl,'
 
 
12987
            lt_prog_compiler_pic_CXX='-KPIC'
 
 
12988
            lt_prog_compiler_static_CXX='-static'
 
 
12991
            # Intel C++, used to be incompatible with GCC.
 
 
12992
            # ICC 10 doesn't accept -KPIC any more.
 
 
12993
            lt_prog_compiler_wl_CXX='-Wl,'
 
 
12994
            lt_prog_compiler_pic_CXX='-fPIC'
 
 
12995
            lt_prog_compiler_static_CXX='-static'
 
 
12998
            # Portland Group C++ compiler
 
 
12999
            lt_prog_compiler_wl_CXX='-Wl,'
 
 
13000
            lt_prog_compiler_pic_CXX='-fpic'
 
 
13001
            lt_prog_compiler_static_CXX='-Bstatic'
 
 
13005
            # Make sure the PIC flag is empty.  It appears that all Alpha
 
 
13006
            # Linux and Compaq Tru64 Unix objects are PIC.
 
 
13007
            lt_prog_compiler_pic_CXX=
 
 
13008
            lt_prog_compiler_static_CXX='-non_shared'
 
 
13011
            # IBM XL 8.0 on PPC
 
 
13012
            lt_prog_compiler_wl_CXX='-Wl,'
 
 
13013
            lt_prog_compiler_pic_CXX='-qpic'
 
 
13014
            lt_prog_compiler_static_CXX='-qstaticlink'
 
 
13017
            case `$CC -V 2>&1 | sed 5q` in
 
 
13020
              lt_prog_compiler_pic_CXX='-KPIC'
 
 
13021
              lt_prog_compiler_static_CXX='-Bstatic'
 
 
13022
              lt_prog_compiler_wl_CXX='-Qoption ld '
 
 
13033
        case $cc_basename in
 
 
13035
            lt_prog_compiler_pic_CXX='-W c,exportall'
 
 
13041
      netbsd* | netbsdelf*-gnu)
 
 
13044
        # QNX uses GNU C++, but need to define -shared option too, otherwise
 
 
13045
        # it will coredump.
 
 
13046
        lt_prog_compiler_pic_CXX='-fPIC -shared'
 
 
13048
      osf3* | osf4* | osf5*)
 
 
13049
        case $cc_basename in
 
 
13051
            lt_prog_compiler_wl_CXX='--backend -Wl,'
 
 
13054
            # Rational C++ 2.4.1
 
 
13055
            lt_prog_compiler_pic_CXX='-pic'
 
 
13058
            # Digital/Compaq C++
 
 
13059
            lt_prog_compiler_wl_CXX='-Wl,'
 
 
13060
            # Make sure the PIC flag is empty.  It appears that all Alpha
 
 
13061
            # Linux and Compaq Tru64 Unix objects are PIC.
 
 
13062
            lt_prog_compiler_pic_CXX=
 
 
13063
            lt_prog_compiler_static_CXX='-non_shared'
 
 
13072
        case $cc_basename in
 
 
13074
            # Sun C++ 4.2, 5.x and Centerline C++
 
 
13075
            lt_prog_compiler_pic_CXX='-KPIC'
 
 
13076
            lt_prog_compiler_static_CXX='-Bstatic'
 
 
13077
            lt_prog_compiler_wl_CXX='-Qoption ld '
 
 
13080
            # Green Hills C++ Compiler
 
 
13081
            lt_prog_compiler_pic_CXX='-PIC'
 
 
13088
        case $cc_basename in
 
 
13091
            lt_prog_compiler_pic_CXX='-pic'
 
 
13092
            lt_prog_compiler_static_CXX='-Bstatic'
 
 
13096
            lt_prog_compiler_pic_CXX='-pic'
 
 
13102
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
 
13103
        case $cc_basename in
 
 
13105
            lt_prog_compiler_wl_CXX='-Wl,'
 
 
13106
            lt_prog_compiler_pic_CXX='-KPIC'
 
 
13107
            lt_prog_compiler_static_CXX='-Bstatic'
 
 
13112
        case $cc_basename in
 
 
13114
            # NonStop-UX NCC 3.20
 
 
13115
            lt_prog_compiler_pic_CXX='-KPIC'
 
 
13124
        lt_prog_compiler_can_build_shared_CXX=no
 
 
13130
  # For platforms which do not support PIC, -DPIC is meaningless:
 
 
13132
    lt_prog_compiler_pic_CXX=
 
 
13135
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
 
 
13138
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
 
 
13139
$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
 
 
13144
# Check to make sure the PIC flag actually works.
 
 
13146
if test -n "$lt_prog_compiler_pic_CXX"; then
 
 
13147
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 
 
13148
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
 
 
13149
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
 
 
13150
  $as_echo_n "(cached) " >&6
 
 
13152
  lt_cv_prog_compiler_pic_works_CXX=no
 
 
13153
   ac_outfile=conftest.$ac_objext
 
 
13154
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
 
13155
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
 
 
13156
   # Insert the option either (1) after the last *FLAGS variable, or
 
 
13157
   # (2) before a word containing "conftest.", or (3) at the end.
 
 
13158
   # Note that $ac_compile itself does not contain backslashes and begins
 
 
13159
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
 
13160
   # The option is referenced via a variable to avoid confusing sed.
 
 
13161
   lt_compile=`echo "$ac_compile" | $SED \
 
 
13162
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
 
13163
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
 
13164
   -e 's:$: $lt_compiler_flag:'`
 
 
13165
   (eval echo "\"\$as_me:13165: $lt_compile\"" >&5)
 
 
13166
   (eval "$lt_compile" 2>conftest.err)
 
 
13168
   cat conftest.err >&5
 
 
13169
   echo "$as_me:13169: \$? = $ac_status" >&5
 
 
13170
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
 
13171
     # The compiler can only warn and ignore the option if not recognized
 
 
13172
     # So say no if there are warnings other than the usual output.
 
 
13173
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
 
13174
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
 
13175
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
 
13176
       lt_cv_prog_compiler_pic_works_CXX=yes
 
 
13182
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
 
 
13183
$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
 
 
13185
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
 
 
13186
    case $lt_prog_compiler_pic_CXX in
 
 
13188
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
 
 
13191
    lt_prog_compiler_pic_CXX=
 
 
13192
     lt_prog_compiler_can_build_shared_CXX=no
 
 
13200
# Check to make sure the static flag actually works.
 
 
13202
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
 
 
13203
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
 
13204
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
 
13205
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
 
 
13206
  $as_echo_n "(cached) " >&6
 
 
13208
  lt_cv_prog_compiler_static_works_CXX=no
 
 
13209
   save_LDFLAGS="$LDFLAGS"
 
 
13210
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
 
13211
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
 
13212
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
 
13213
     # The linker can only warn and ignore the option if not recognized
 
 
13214
     # So say no if there are warnings
 
 
13215
     if test -s conftest.err; then
 
 
13216
       # Append any errors to the config.log.
 
 
13217
       cat conftest.err 1>&5
 
 
13218
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
 
13219
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
 
13220
       if diff conftest.exp conftest.er2 >/dev/null; then
 
 
13221
         lt_cv_prog_compiler_static_works_CXX=yes
 
 
13224
       lt_cv_prog_compiler_static_works_CXX=yes
 
 
13228
   LDFLAGS="$save_LDFLAGS"
 
 
13231
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
 
 
13232
$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
 
 
13234
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
 
 
13237
    lt_prog_compiler_static_CXX=
 
 
13243
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
 
13244
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
 
13245
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
 
 
13246
  $as_echo_n "(cached) " >&6
 
 
13248
  lt_cv_prog_compiler_c_o_CXX=no
 
 
13249
   $RM -r conftest 2>/dev/null
 
 
13253
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
 
13255
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
 
13256
   # Insert the option either (1) after the last *FLAGS variable, or
 
 
13257
   # (2) before a word containing "conftest.", or (3) at the end.
 
 
13258
   # Note that $ac_compile itself does not contain backslashes and begins
 
 
13259
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
 
13260
   lt_compile=`echo "$ac_compile" | $SED \
 
 
13261
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
 
13262
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
 
13263
   -e 's:$: $lt_compiler_flag:'`
 
 
13264
   (eval echo "\"\$as_me:13264: $lt_compile\"" >&5)
 
 
13265
   (eval "$lt_compile" 2>out/conftest.err)
 
 
13267
   cat out/conftest.err >&5
 
 
13268
   echo "$as_me:13268: \$? = $ac_status" >&5
 
 
13269
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
 
13271
     # The compiler can only warn and ignore the option if not recognized
 
 
13272
     # So say no if there are warnings
 
 
13273
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
 
13274
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
 
13275
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
 
13276
       lt_cv_prog_compiler_c_o_CXX=yes
 
 
13281
   # SGI C++ compiler will create directory out/ii_files/ for
 
 
13282
   # template instantiation
 
 
13283
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
 
13284
   $RM out/* && rmdir out
 
 
13290
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
 
13291
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
 
 
13295
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
 
13296
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
 
13297
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
 
 
13298
  $as_echo_n "(cached) " >&6
 
 
13300
  lt_cv_prog_compiler_c_o_CXX=no
 
 
13301
   $RM -r conftest 2>/dev/null
 
 
13305
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
 
13307
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
 
13308
   # Insert the option either (1) after the last *FLAGS variable, or
 
 
13309
   # (2) before a word containing "conftest.", or (3) at the end.
 
 
13310
   # Note that $ac_compile itself does not contain backslashes and begins
 
 
13311
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
 
13312
   lt_compile=`echo "$ac_compile" | $SED \
 
 
13313
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
 
13314
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
 
13315
   -e 's:$: $lt_compiler_flag:'`
 
 
13316
   (eval echo "\"\$as_me:13316: $lt_compile\"" >&5)
 
 
13317
   (eval "$lt_compile" 2>out/conftest.err)
 
 
13319
   cat out/conftest.err >&5
 
 
13320
   echo "$as_me:13320: \$? = $ac_status" >&5
 
 
13321
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
 
13323
     # The compiler can only warn and ignore the option if not recognized
 
 
13324
     # So say no if there are warnings
 
 
13325
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
 
13326
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
 
13327
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
 
13328
       lt_cv_prog_compiler_c_o_CXX=yes
 
 
13333
   # SGI C++ compiler will create directory out/ii_files/ for
 
 
13334
   # template instantiation
 
 
13335
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
 
13336
   $RM out/* && rmdir out
 
 
13342
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
 
13343
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
 
 
13348
hard_links="nottested"
 
 
13349
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
 
 
13350
  # do not overwrite the value of need_locks provided by the user
 
 
13351
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
 
 
13352
$as_echo_n "checking if we can lock with hard links... " >&6; }
 
 
13355
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
 
13357
  ln conftest.a conftest.b 2>&5 || hard_links=no
 
 
13358
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
 
13359
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
 
 
13360
$as_echo "$hard_links" >&6; }
 
 
13361
  if test "$hard_links" = no; then
 
 
13362
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
 
13363
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
 
13372
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
 
13373
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 
 
13375
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
 
13378
    # If we're using GNU nm, then we don't want the "-C" option.
 
 
13379
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
 
13380
    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
 
13381
      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'
 
 
13383
      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'
 
 
13387
    export_symbols_cmds_CXX="$ltdll_cmds"
 
 
13389
  cygwin* | mingw* | cegcc*)
 
 
13390
    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'
 
 
13392
  linux* | k*bsd*-gnu)
 
 
13393
    link_all_deplibs_CXX=no
 
 
13396
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
 
13399
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
 
 
13401
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
 
 
13402
$as_echo "$ld_shlibs_CXX" >&6; }
 
 
13403
test "$ld_shlibs_CXX" = no && can_build_shared=no
 
 
13405
with_gnu_ld_CXX=$with_gnu_ld
 
 
13413
# Do we need to explicitly link libc?
 
 
13415
case "x$archive_cmds_need_lc_CXX" in
 
 
13417
  # Assume -lc should be added
 
 
13418
  archive_cmds_need_lc_CXX=yes
 
 
13420
  if test "$enable_shared" = yes && test "$GCC" = yes; then
 
 
13421
    case $archive_cmds_CXX in
 
 
13423
      # FIXME: we may have to deal with multi-command sequences.
 
 
13426
      # Test whether the compiler implicitly links with -lc since on some
 
 
13427
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
 
 
13428
      # to ld, don't add -lc before -lgcc.
 
 
13429
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 
 
13430
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
 
13432
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
 
13434
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
 
13435
  (eval $ac_compile) 2>&5
 
 
13437
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
 
13438
  test $ac_status = 0; } 2>conftest.err; then
 
 
13441
        libobjs=conftest.$ac_objext
 
 
13443
        wl=$lt_prog_compiler_wl_CXX
 
 
13444
        pic_flag=$lt_prog_compiler_pic_CXX
 
 
13450
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
 
 
13451
        allow_undefined_flag_CXX=
 
 
13452
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
 
13453
  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
 
13455
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
 
13456
  test $ac_status = 0; }
 
 
13458
          archive_cmds_need_lc_CXX=no
 
 
13460
          archive_cmds_need_lc_CXX=yes
 
 
13462
        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
 
 
13464
        cat conftest.err 1>&5
 
 
13467
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
 
 
13468
$as_echo "$archive_cmds_need_lc_CXX" >&6; }
 
 
13538
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
 
 
13539
$as_echo_n "checking dynamic linker characteristics... " >&6; }
 
 
13541
library_names_spec=
 
 
13542
libname_spec='lib$name'
 
 
13546
postuninstall_cmds=
 
 
13550
shlibpath_overrides_runpath=unknown
 
 
13552
dynamic_linker="$host_os ld.so"
 
 
13553
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
 
13554
need_lib_prefix=unknown
 
 
13555
hardcode_into_libs=no
 
 
13557
# when you set need_version to no, make sure it does not cause -set_version
 
 
13558
# flags to be left without arguments
 
 
13559
need_version=unknown
 
 
13564
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 
 
13565
  shlibpath_var=LIBPATH
 
 
13567
  # AIX 3 has no versioning support, so we append a major version to the name.
 
 
13568
  soname_spec='${libname}${release}${shared_ext}$major'
 
 
13575
  hardcode_into_libs=yes
 
 
13576
  if test "$host_cpu" = ia64; then
 
 
13577
    # AIX 5 supports IA64
 
 
13578
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 
 
13579
    shlibpath_var=LD_LIBRARY_PATH
 
 
13581
    # With GCC up to 2.95.x, collect2 would create an import file
 
 
13582
    # for dependence libraries.  The import file would start with
 
 
13583
    # the line `#! .'.  This would cause the generated library to
 
 
13584
    # depend on `.', always an invalid library.  This was fixed in
 
 
13585
    # development snapshots of GCC prior to 3.0.
 
 
13587
      aix4 | aix4.[01] | aix4.[01].*)
 
 
13588
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 
 
13590
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
 
 
13593
        can_build_shared=no
 
 
13597
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 
 
13598
    # soname into executable. Probably we can add versioning support to
 
 
13599
    # collect2, so additional links can be useful in future.
 
 
13600
    if test "$aix_use_runtimelinking" = yes; then
 
 
13601
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 
 
13602
      # instead of lib<name>.a to let people know that these are not
 
 
13603
      # typical AIX shared libraries.
 
 
13604
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
 
13606
      # We preserve .a as extension for shared libraries through AIX4.2
 
 
13607
      # and later when we are not doing run time linking.
 
 
13608
      library_names_spec='${libname}${release}.a $libname.a'
 
 
13609
      soname_spec='${libname}${release}${shared_ext}$major'
 
 
13611
    shlibpath_var=LIBPATH
 
 
13618
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
 
13619
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
 
13620
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
 
13623
    library_names_spec='$libname.ixlibrary $libname.a'
 
 
13624
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
 
13625
    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'
 
 
13631
  library_names_spec='${libname}${shared_ext}'
 
 
13632
  dynamic_linker="$host_os ld.so"
 
 
13633
  shlibpath_var=LIBRARY_PATH
 
 
13639
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
 
13640
  soname_spec='${libname}${release}${shared_ext}$major'
 
 
13641
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 
 
13642
  shlibpath_var=LD_LIBRARY_PATH
 
 
13643
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 
 
13644
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 
 
13645
  # the default ld.so.conf also contains /usr/contrib/lib and
 
 
13646
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 
 
13647
  # libtool to hard-code these into programs
 
 
13650
cygwin* | mingw* | pw32* | cegcc*)
 
 
13651
  version_type=windows
 
 
13656
  case $GCC,$host_os in
 
 
13657
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
 
13658
    library_names_spec='$libname.dll.a'
 
 
13659
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
 
13660
    postinstall_cmds='base_file=`basename \${file}`~
 
 
13661
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
 
13662
      dldir=$destdir/`dirname \$dlpath`~
 
 
13663
      test -d \$dldir || mkdir -p \$dldir~
 
 
13664
      $install_prog $dir/$dlname \$dldir/$dlname~
 
 
13665
      chmod a+x \$dldir/$dlname~
 
 
13666
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
 
13667
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
 
13669
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
 
13670
      dlpath=$dir/\$dldll~
 
 
13672
    shlibpath_overrides_runpath=yes
 
 
13676
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 
 
13677
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
 
13678
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
 
13681
      # MinGW DLLs use traditional 'lib' prefix
 
 
13682
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
 
13683
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
 
13684
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
 
13685
        # It is most probably a Windows format PATH printed by
 
 
13686
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
 
 
13687
        # path with ; separators, and with drive letters. We can handle the
 
 
13688
        # drive letters (cygwin fileutils understands them), so leave them,
 
 
13689
        # especially as we might pass files found there to a mingw objdump,
 
 
13690
        # which wouldn't understand a cygwinified path. Ahh.
 
 
13691
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
 
13693
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
 
13697
      # pw32 DLLs use 'pw' prefix rather than 'lib'
 
 
13698
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
 
13704
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
 
13707
  dynamic_linker='Win32 ld.exe'
 
 
13708
  # FIXME: first we should search . and the directory the executable is in
 
 
13712
darwin* | rhapsody*)
 
 
13713
  dynamic_linker="$host_os dyld"
 
 
13714
  version_type=darwin
 
 
13717
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
 
13718
  soname_spec='${libname}${release}${major}$shared_ext'
 
 
13719
  shlibpath_overrides_runpath=yes
 
 
13720
  shlibpath_var=DYLD_LIBRARY_PATH
 
 
13721
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 
 
13723
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 
 
13730
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 
 
13731
  soname_spec='${libname}${release}${shared_ext}$major'
 
 
13732
  shlibpath_var=LD_LIBRARY_PATH
 
 
13739
freebsd* | dragonfly*)
 
 
13740
  # DragonFly does not have aout.  When/if they implement a new
 
 
13741
  # versioning mechanism, adjust this.
 
 
13742
  if test -x /usr/bin/objformat; then
 
 
13743
    objformat=`/usr/bin/objformat`
 
 
13746
    freebsd[123]*) objformat=aout ;;
 
 
13747
    *) objformat=elf ;;
 
 
13750
  version_type=freebsd-$objformat
 
 
13751
  case $version_type in
 
 
13753
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
 
13758
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 
 
13762
  shlibpath_var=LD_LIBRARY_PATH
 
 
13765
    shlibpath_overrides_runpath=yes
 
 
13767
  freebsd3.[01]* | freebsdelf3.[01]*)
 
 
13768
    shlibpath_overrides_runpath=yes
 
 
13769
    hardcode_into_libs=yes
 
 
13771
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
 
13772
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
 
 
13773
    shlibpath_overrides_runpath=no
 
 
13774
    hardcode_into_libs=yes
 
 
13776
  *) # from 4.6 on, and DragonFly
 
 
13777
    shlibpath_overrides_runpath=yes
 
 
13778
    hardcode_into_libs=yes
 
 
13787
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
 
13788
  soname_spec='${libname}${release}${shared_ext}$major'
 
 
13789
  shlibpath_var=LD_LIBRARY_PATH
 
 
13790
  hardcode_into_libs=yes
 
 
13793
hpux9* | hpux10* | hpux11*)
 
 
13794
  # Give a soname corresponding to the major version so that dld.sl refuses to
 
 
13795
  # link against other versions.
 
 
13802
    hardcode_into_libs=yes
 
 
13803
    dynamic_linker="$host_os dld.so"
 
 
13804
    shlibpath_var=LD_LIBRARY_PATH
 
 
13805
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
 
13806
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
 
13807
    soname_spec='${libname}${release}${shared_ext}$major'
 
 
13808
    if test "X$HPUX_IA64_MODE" = X32; then
 
 
13809
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 
 
13811
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 
 
13813
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
 
13817
    hardcode_into_libs=yes
 
 
13818
    dynamic_linker="$host_os dld.sl"
 
 
13819
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
 
13820
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
 
13821
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
 
13822
    soname_spec='${libname}${release}${shared_ext}$major'
 
 
13823
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
 
13824
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
 
13828
    dynamic_linker="$host_os dld.sl"
 
 
13829
    shlibpath_var=SHLIB_PATH
 
 
13830
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 
 
13831
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
 
13832
    soname_spec='${libname}${release}${shared_ext}$major'
 
 
13835
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
 
13836
  postinstall_cmds='chmod 555 $lib'
 
 
13843
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
 
13844
  soname_spec='${libname}${release}${shared_ext}$major'
 
 
13845
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
 
13846
  shlibpath_var=LD_LIBRARY_PATH
 
 
13847
  shlibpath_overrides_runpath=no
 
 
13848
  hardcode_into_libs=yes
 
 
13851
irix5* | irix6* | nonstopux*)
 
 
13853
    nonstopux*) version_type=nonstopux ;;
 
 
13855
        if test "$lt_cv_prog_gnu_ld" = yes; then
 
 
13863
  soname_spec='${libname}${release}${shared_ext}$major'
 
 
13864
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 
 
13866
  irix5* | nonstopux*)
 
 
13867
    libsuff= shlibsuff=
 
 
13870
    case $LD in # libtool.m4 will add one of these switches to LD
 
 
13871
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 
 
13872
      libsuff= shlibsuff= libmagic=32-bit;;
 
 
13873
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 
 
13874
      libsuff=32 shlibsuff=N32 libmagic=N32;;
 
 
13875
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 
 
13876
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
 
 
13877
    *) libsuff= shlibsuff= libmagic=never-match;;
 
 
13881
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 
 
13882
  shlibpath_overrides_runpath=no
 
 
13883
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
 
13884
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 
 
13885
  hardcode_into_libs=yes
 
 
13888
# No shared lib support for Linux oldld, aout, or coff.
 
 
13889
linux*oldld* | linux*aout* | linux*coff*)
 
 
13893
# This must be Linux ELF.
 
 
13894
linux* | k*bsd*-gnu)
 
 
13898
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
 
13899
  soname_spec='${libname}${release}${shared_ext}$major'
 
 
13900
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 
 
13901
  shlibpath_var=LD_LIBRARY_PATH
 
 
13902
  shlibpath_overrides_runpath=no
 
 
13903
  # Some binutils ld are patched to set DT_RUNPATH
 
 
13904
  save_LDFLAGS=$LDFLAGS
 
 
13905
  save_libdir=$libdir
 
 
13906
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
 
 
13907
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
 
 
13908
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
13909
/* end confdefs.h.  */
 
 
13919
if ac_fn_cxx_try_link "$LINENO"; then :
 
 
13920
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
 
 
13921
  shlibpath_overrides_runpath=yes
 
 
13924
rm -f core conftest.err conftest.$ac_objext \
 
 
13925
    conftest$ac_exeext conftest.$ac_ext
 
 
13926
  LDFLAGS=$save_LDFLAGS
 
 
13927
  libdir=$save_libdir
 
 
13929
  # This implies no fast_install, which is unacceptable.
 
 
13930
  # Some rework will be needed to allow for fast_install
 
 
13931
  # before this can be enabled.
 
 
13932
  hardcode_into_libs=yes
 
 
13934
  # Append ld.so.conf contents to the search path
 
 
13935
  if test -f /etc/ld.so.conf; then
 
 
13936
    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' ' '`
 
 
13937
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
 
13940
  # We used to test for /lib/ld.so.1 and disable shared libraries on
 
 
13941
  # powerpc, because MkLinux only supported shared libraries with the
 
 
13942
  # GNU dynamic linker.  Since this was broken with cross compilers,
 
 
13943
  # most powerpc-linux boxes support dynamic linking these days and
 
 
13944
  # people can always --disable-shared, the test was removed, and we
 
 
13945
  # assume the GNU/Linux dynamic linker is in use.
 
 
13946
  dynamic_linker='GNU/Linux ld.so'
 
 
13953
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
 
13954
  soname_spec='${libname}${release}${shared_ext}$major'
 
 
13955
  shlibpath_var=LD_LIBRARY_PATH
 
 
13956
  shlibpath_overrides_runpath=no
 
 
13957
  hardcode_into_libs=yes
 
 
13958
  dynamic_linker='NetBSD ld.elf_so'
 
 
13965
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
 
13966
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
 
13967
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
 
13968
    dynamic_linker='NetBSD (a.out) ld.so'
 
 
13970
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
 
13971
    soname_spec='${libname}${release}${shared_ext}$major'
 
 
13972
    dynamic_linker='NetBSD ld.elf_so'
 
 
13974
  shlibpath_var=LD_LIBRARY_PATH
 
 
13975
  shlibpath_overrides_runpath=yes
 
 
13976
  hardcode_into_libs=yes
 
 
13981
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
 
13982
  shlibpath_var=LD_LIBRARY_PATH
 
 
13983
  shlibpath_overrides_runpath=yes
 
 
13990
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
 
13991
  soname_spec='${libname}${release}${shared_ext}$major'
 
 
13992
  shlibpath_var=LD_LIBRARY_PATH
 
 
13993
  shlibpath_overrides_runpath=no
 
 
13994
  hardcode_into_libs=yes
 
 
13995
  dynamic_linker='ldqnx.so'
 
 
14000
  sys_lib_dlsearch_path_spec="/usr/lib"
 
 
14002
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
 
14004
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
 
14005
    *)                          need_version=no  ;;
 
 
14007
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
 
14008
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
 
14009
  shlibpath_var=LD_LIBRARY_PATH
 
 
14010
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
 
14012
      openbsd2.[89] | openbsd2.[89].*)
 
 
14013
        shlibpath_overrides_runpath=no
 
 
14016
        shlibpath_overrides_runpath=yes
 
 
14020
    shlibpath_overrides_runpath=yes
 
 
14025
  libname_spec='$name'
 
 
14028
  library_names_spec='$libname${shared_ext} $libname.a'
 
 
14029
  dynamic_linker='OS/2 ld.exe'
 
 
14030
  shlibpath_var=LIBPATH
 
 
14033
osf3* | osf4* | osf5*)
 
 
14037
  soname_spec='${libname}${release}${shared_ext}$major'
 
 
14038
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
 
14039
  shlibpath_var=LD_LIBRARY_PATH
 
 
14040
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 
 
14041
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 
 
14052
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
 
14053
  soname_spec='${libname}${release}${shared_ext}$major'
 
 
14054
  shlibpath_var=LD_LIBRARY_PATH
 
 
14055
  shlibpath_overrides_runpath=yes
 
 
14056
  hardcode_into_libs=yes
 
 
14057
  # ldd complains unless libraries are executable
 
 
14058
  postinstall_cmds='chmod +x $lib'
 
 
14063
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
 
14064
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 
 
14065
  shlibpath_var=LD_LIBRARY_PATH
 
 
14066
  shlibpath_overrides_runpath=yes
 
 
14067
  if test "$with_gnu_ld" = yes; then
 
 
14075
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
 
14076
  soname_spec='${libname}${release}${shared_ext}$major'
 
 
14077
  shlibpath_var=LD_LIBRARY_PATH
 
 
14078
  case $host_vendor in
 
 
14080
      shlibpath_overrides_runpath=no
 
 
14082
      runpath_var=LD_RUN_PATH
 
 
14090
      shlibpath_overrides_runpath=no
 
 
14091
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 
 
14097
  if test -d /usr/nec ;then
 
 
14099
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 
 
14100
    soname_spec='$libname${shared_ext}.$major'
 
 
14101
    shlibpath_var=LD_LIBRARY_PATH
 
 
14105
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
 
14106
  version_type=freebsd-elf
 
 
14109
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
 
14110
  soname_spec='${libname}${release}${shared_ext}$major'
 
 
14111
  shlibpath_var=LD_LIBRARY_PATH
 
 
14112
  shlibpath_overrides_runpath=yes
 
 
14113
  hardcode_into_libs=yes
 
 
14114
  if test "$with_gnu_ld" = yes; then
 
 
14115
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
 
14117
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
 
14120
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
 
14124
  sys_lib_dlsearch_path_spec='/usr/lib'
 
 
14128
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
 
14132
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
 
14133
  shlibpath_var=LD_LIBRARY_PATH
 
 
14134
  shlibpath_overrides_runpath=no
 
 
14135
  hardcode_into_libs=yes
 
 
14140
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
 
14141
  soname_spec='${libname}${release}${shared_ext}$major'
 
 
14142
  shlibpath_var=LD_LIBRARY_PATH
 
 
14149
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
 
 
14150
$as_echo "$dynamic_linker" >&6; }
 
 
14151
test "$dynamic_linker" = no && can_build_shared=no
 
 
14153
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
 
14154
if test "$GCC" = yes; then
 
 
14155
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
 
14158
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
 
14159
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
 
14161
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
 
14162
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
 
14200
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
 
 
14201
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
 
 
14202
hardcode_action_CXX=
 
 
14203
if test -n "$hardcode_libdir_flag_spec_CXX" ||
 
 
14204
   test -n "$runpath_var_CXX" ||
 
 
14205
   test "X$hardcode_automatic_CXX" = "Xyes" ; then
 
 
14207
  # We can hardcode non-existent directories.
 
 
14208
  if test "$hardcode_direct_CXX" != no &&
 
 
14209
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
 
 
14210
     # have to relink, otherwise we might link with an installed library
 
 
14211
     # when we should be linking with a yet-to-be-installed one
 
 
14212
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
 
 
14213
     test "$hardcode_minus_L_CXX" != no; then
 
 
14214
    # Linking always hardcodes the temporary library directory.
 
 
14215
    hardcode_action_CXX=relink
 
 
14217
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
 
 
14218
    hardcode_action_CXX=immediate
 
 
14221
  # We cannot hardcode anything, or else we can only hardcode existing
 
 
14223
  hardcode_action_CXX=unsupported
 
 
14225
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
 
 
14226
$as_echo "$hardcode_action_CXX" >&6; }
 
 
14228
if test "$hardcode_action_CXX" = relink ||
 
 
14229
   test "$inherit_rpath_CXX" = yes; then
 
 
14230
  # Fast installation is not supported
 
 
14231
  enable_fast_install=no
 
 
14232
elif test "$shlibpath_overrides_runpath" = yes ||
 
 
14233
     test "$enable_shared" = no; then
 
 
14234
  # Fast installation is not necessary
 
 
14235
  enable_fast_install=needless
 
 
14244
  fi # test -n "$compiler"
 
 
14250
  with_gnu_ld=$lt_save_with_gnu_ld
 
 
14251
  lt_cv_path_LDCXX=$lt_cv_path_LD
 
 
14252
  lt_cv_path_LD=$lt_save_path_LD
 
 
14253
  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
 
 
14254
  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
 
 
14255
fi # test "$_lt_caught_CXX_error" != yes
 
 
14258
ac_cpp='$CPP $CPPFLAGS'
 
 
14259
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
 
14260
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
 
14261
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
14275
        ac_config_commands="$ac_config_commands libtool"
 
 
14280
# Only expand once:
 
 
14285
# checks for libraries.
 
 
14287
# checks for header files.
 
 
14288
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 
 
14289
$as_echo_n "checking for ANSI C header files... " >&6; }
 
 
14290
if test "${ac_cv_header_stdc+set}" = set; then :
 
 
14291
  $as_echo_n "(cached) " >&6
 
 
14293
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
14294
/* end confdefs.h.  */
 
 
14295
#include <stdlib.h>
 
 
14296
#include <stdarg.h>
 
 
14297
#include <string.h>
 
 
14308
if ac_fn_c_try_compile "$LINENO"; then :
 
 
14309
  ac_cv_header_stdc=yes
 
 
14311
  ac_cv_header_stdc=no
 
 
14313
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
 
14315
if test $ac_cv_header_stdc = yes; then
 
 
14316
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
 
14317
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
14318
/* end confdefs.h.  */
 
 
14319
#include <string.h>
 
 
14322
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
 
14323
  $EGREP "memchr" >/dev/null 2>&1; then :
 
 
14326
  ac_cv_header_stdc=no
 
 
14332
if test $ac_cv_header_stdc = yes; then
 
 
14333
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
 
14334
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
14335
/* end confdefs.h.  */
 
 
14336
#include <stdlib.h>
 
 
14339
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
 
14340
  $EGREP "free" >/dev/null 2>&1; then :
 
 
14343
  ac_cv_header_stdc=no
 
 
14349
if test $ac_cv_header_stdc = yes; then
 
 
14350
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
 
14351
  if test "$cross_compiling" = yes; then :
 
 
14354
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
14355
/* end confdefs.h.  */
 
 
14357
#include <stdlib.h>
 
 
14358
#if ((' ' & 0x0FF) == 0x020)
 
 
14359
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
 
14360
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
 
14362
# define ISLOWER(c) \
 
 
14363
                   (('a' <= (c) && (c) <= 'i') \
 
 
14364
                     || ('j' <= (c) && (c) <= 'r') \
 
 
14365
                     || ('s' <= (c) && (c) <= 'z'))
 
 
14366
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
 
14369
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
 
14374
  for (i = 0; i < 256; i++)
 
 
14375
    if (XOR (islower (i), ISLOWER (i))
 
 
14376
        || toupper (i) != TOUPPER (i))
 
 
14381
if ac_fn_c_try_run "$LINENO"; then :
 
 
14384
  ac_cv_header_stdc=no
 
 
14386
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
 
14387
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
 
14392
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 
 
14393
$as_echo "$ac_cv_header_stdc" >&6; }
 
 
14394
if test $ac_cv_header_stdc = yes; then
 
 
14396
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
 
 
14400
for ac_header in string.h
 
 
14402
  ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
 
 
14403
if test "x$ac_cv_header_string_h" = x""yes; then :
 
 
14404
  cat >>confdefs.h <<_ACEOF
 
 
14405
#define HAVE_STRING_H 1
 
 
14413
# checks for typedefs, structures, and compiler characteristics.
 
 
14415
# checks for library functions.
 
 
14417
ac_config_files="$ac_config_files Makefile src/Makefile test/Makefile"
 
 
14419
cat >confcache <<\_ACEOF
 
 
14420
# This file is a shell script that caches the results of configure
 
 
14421
# tests run on this system so they can be shared between configure
 
 
14422
# scripts and configure runs, see configure's option --config-cache.
 
 
14423
# It is not useful on other systems.  If it contains results you don't
 
 
14424
# want to keep, you may remove or edit it.
 
 
14426
# config.status only pays attention to the cache file if you give it
 
 
14427
# the --recheck option to rerun configure.
 
 
14429
# `ac_cv_env_foo' variables (set or unset) will be overridden when
 
 
14430
# loading this file, other *unset* `ac_cv_foo' will be assigned the
 
 
14431
# following values.
 
 
14435
# The following way of writing the cache mishandles newlines in values,
 
 
14436
# but we know of no workaround that is simple, portable, and efficient.
 
 
14437
# So, we kill variables containing newlines.
 
 
14438
# Ultrix sh set writes to stderr and can't be redirected directly,
 
 
14439
# and sets the high bit in the cache file unless we assign to the vars.
 
 
14441
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
 
14442
    eval ac_val=\$$ac_var
 
 
14446
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
 
14447
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
 
14450
      _ | IFS | as_nl) ;; #(
 
 
14451
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
 
14452
      *) { eval $ac_var=; unset $ac_var;} ;;
 
 
14458
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
 
14459
    *${as_nl}ac_space=\ *)
 
 
14460
      # `set' does not quote correctly, so add quotes: double-quote
 
 
14461
      # substitution turns \\\\ into \\, and sed turns \\ into \.
 
 
14464
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
 
14467
      # `set' quotes correctly as required by POSIX, so do not add quotes.
 
 
14468
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
 
14477
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 
 
14479
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
 
14481
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
 
14482
  if test -w "$cache_file"; then
 
 
14483
    test "x$cache_file" != "x/dev/null" &&
 
 
14484
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 
 
14485
$as_echo "$as_me: updating cache $cache_file" >&6;}
 
 
14486
    cat confcache >$cache_file
 
 
14488
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 
 
14489
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
 
14494
test "x$prefix" = xNONE && prefix=$ac_default_prefix
 
 
14495
# Let make expand exec_prefix.
 
 
14496
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 
 
14498
DEFS=-DHAVE_CONFIG_H
 
 
14502
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 
 
14503
  # 1. Remove the extension, and $U if already installed.
 
 
14504
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
 
14505
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 
 
14506
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
 
14507
  #    will be set to the directory where LIBOBJS objects are built.
 
 
14508
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
 
14509
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
 
 
14511
LIBOBJS=$ac_libobjs
 
 
14513
LTLIBOBJS=$ac_ltlibobjs
 
 
14516
 if test -n "$EXEEXT"; then
 
 
14518
  am__EXEEXT_FALSE='#'
 
 
14520
  am__EXEEXT_TRUE='#'
 
 
14524
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 
 
14525
  as_fn_error "conditional \"AMDEP\" was never defined.
 
 
14526
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
 
14528
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 
 
14529
  as_fn_error "conditional \"am__fastdepCXX\" was never defined.
 
 
14530
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
 
14532
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
 
14533
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
 
14534
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
 
14536
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 
 
14537
  as_fn_error "conditional \"am__fastdepCXX\" was never defined.
 
 
14538
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
 
14541
: ${CONFIG_STATUS=./config.status}
 
 
14543
ac_clean_files_save=$ac_clean_files
 
 
14544
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 
 
14545
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 
 
14546
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
 
14548
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
 
 
14550
# Generated by $as_me.
 
 
14551
# Run this file to recreate the current configuration.
 
 
14552
# Compiler output produced by configure, useful for debugging
 
 
14553
# configure, is in config.log if it exists.
 
 
14556
ac_cs_recheck=false
 
 
14559
SHELL=\${CONFIG_SHELL-$SHELL}
 
 
14562
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
 
14563
## -------------------- ##
 
 
14564
## M4sh Initialization. ##
 
 
14565
## -------------------- ##
 
 
14567
# Be more Bourne compatible
 
 
14568
DUALCASE=1; export DUALCASE # for MKS sh
 
 
14569
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 
 
14572
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
 
14573
  # is contrary to our usage.  Disable this feature.
 
 
14574
  alias -g '${1+"$@"}'='"$@"'
 
 
14575
  setopt NO_GLOB_SUBST
 
 
14577
  case `(set -o) 2>/dev/null` in #(
 
 
14589
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
 
14590
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
 
14591
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
 
14592
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
 
14593
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
 
14594
# but without wasting forks for bash or zsh.
 
 
14595
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
 
14596
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
 
14597
  as_echo='print -r --'
 
 
14598
  as_echo_n='print -rn --'
 
 
14599
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
 
14600
  as_echo='printf %s\n'
 
 
14601
  as_echo_n='printf %s'
 
 
14603
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
 
14604
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
 
14605
    as_echo_n='/usr/ucb/echo -n'
 
 
14607
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
 
14608
    as_echo_n_body='eval
 
 
14612
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
 
14613
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
 
14615
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
 
14617
    export as_echo_n_body
 
 
14618
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
 
14620
  export as_echo_body
 
 
14621
  as_echo='sh -c $as_echo_body as_echo'
 
 
14624
# The user is always right.
 
 
14625
if test "${PATH_SEPARATOR+set}" != set; then
 
 
14627
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
 
14628
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
 
14635
# We need space, tab and new line, in precisely that order.  Quoting is
 
 
14636
# there to prevent editors from complaining about space-tab.
 
 
14637
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
 
14638
# splitting by setting IFS to empty value.)
 
 
14641
# Find who we are.  Look in the path if we contain no directory separator.
 
 
14643
  *[\\/]* ) as_myself=$0 ;;
 
 
14644
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
14645
for as_dir in $PATH
 
 
14648
  test -z "$as_dir" && as_dir=.
 
 
14649
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
 
14655
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
 
14656
# in which case we are not to be found in the path.
 
 
14657
if test "x$as_myself" = x; then
 
 
14660
if test ! -f "$as_myself"; then
 
 
14661
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
 
14665
# Unset variables that we do not need and which cause bugs (e.g. in
 
 
14666
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
 
14667
# suppresses any "Segmentation fault" message there.  '((' could
 
 
14668
# trigger a bug in pdksh 5.2.14.
 
 
14669
for as_var in BASH_ENV ENV MAIL MAILPATH
 
 
14670
do eval test x\${$as_var+set} = xset \
 
 
14671
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 
 
14684
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
 
14687
# as_fn_error ERROR [LINENO LOG_FD]
 
 
14688
# ---------------------------------
 
 
14689
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
 
14690
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
 
14691
# script with status $?, using 1 if that was 0.
 
 
14694
  as_status=$?; test $as_status -eq 0 && as_status=1
 
 
14696
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
 
14697
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
 
14699
  $as_echo "$as_me: error: $1" >&2
 
 
14700
  as_fn_exit $as_status
 
 
14704
# as_fn_set_status STATUS
 
 
14705
# -----------------------
 
 
14706
# Set $? to STATUS, without forking.
 
 
14707
as_fn_set_status ()
 
 
14710
} # as_fn_set_status
 
 
14712
# as_fn_exit STATUS
 
 
14713
# -----------------
 
 
14714
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
 
14718
  as_fn_set_status $1
 
 
14724
# Portably unset VAR.
 
 
14727
  { eval $1=; unset $1;}
 
 
14729
as_unset=as_fn_unset
 
 
14730
# as_fn_append VAR VALUE
 
 
14731
# ----------------------
 
 
14732
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
 
14733
# advantage of any shell optimizations that allow amortized linear growth over
 
 
14734
# repeated appends, instead of the typical quadratic growth present in naive
 
 
14736
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
 
14737
  eval 'as_fn_append ()
 
 
14748
# as_fn_arith ARG...
 
 
14749
# ------------------
 
 
14750
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
 
14751
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
 
14752
# must be portable across $(()) and expr.
 
 
14753
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
 
14754
  eval 'as_fn_arith ()
 
 
14761
    as_val=`expr "$@" || test $? -eq 1`
 
 
14766
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
 
14767
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
 
14773
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
 
14774
  as_basename=basename
 
 
14779
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
 
14785
as_me=`$as_basename -- "$0" ||
 
 
14786
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
 
14787
         X"$0" : 'X\(//\)$' \| \
 
 
14788
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
 
14790
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
 
14804
# Avoid depending upon Character Ranges.
 
 
14805
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
 
14806
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
 
14807
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
 
14808
as_cr_digits='0123456789'
 
 
14809
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
 
14811
ECHO_C= ECHO_N= ECHO_T=
 
 
14812
case `echo -n x` in #(((((
 
 
14814
  case `echo 'xy\c'` in
 
 
14815
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
 
14817
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
 
14824
rm -f conf$$ conf$$.exe conf$$.file
 
 
14825
if test -d conf$$.dir; then
 
 
14826
  rm -f conf$$.dir/conf$$.file
 
 
14829
  mkdir conf$$.dir 2>/dev/null
 
 
14831
if (echo >conf$$.file) 2>/dev/null; then
 
 
14832
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
 
14834
    # ... but there are two gotchas:
 
 
14835
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
 
14836
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
 
14837
    # In both cases, we have to default to `cp -p'.
 
 
14838
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
 
14840
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
 
14848
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
 
14849
rmdir conf$$.dir 2>/dev/null
 
 
14854
# Create "$as_dir" as a directory, including parents if necessary.
 
 
14859
  -*) as_dir=./$as_dir;;
 
 
14861
  test -d "$as_dir" || eval $as_mkdir_p || {
 
 
14865
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
 
14866
      *) as_qdir=$as_dir;;
 
 
14868
      as_dirs="'$as_qdir' $as_dirs"
 
 
14869
      as_dir=`$as_dirname -- "$as_dir" ||
 
 
14870
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
 
14871
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
 
14872
         X"$as_dir" : 'X\(//\)$' \| \
 
 
14873
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
 
14874
$as_echo X"$as_dir" |
 
 
14875
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
 
14879
          /^X\(\/\/\)[^/].*/{
 
 
14892
      test -d "$as_dir" && break
 
 
14894
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
 
14895
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
 
14899
if mkdir -p . 2>/dev/null; then
 
 
14900
  as_mkdir_p='mkdir -p "$as_dir"'
 
 
14902
  test -d ./-p && rmdir ./-p
 
 
14906
if test -x / >/dev/null 2>&1; then
 
 
14907
  as_test_x='test -x'
 
 
14909
  if ls -dL / >/dev/null 2>&1; then
 
 
14916
      if test -d "$1"; then
 
 
14922
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 
 
14923
        ???[sx]*):;;*)false;;esac;fi
 
 
14927
as_executable_p=$as_test_x
 
 
14929
# Sed expression to map a string onto a valid CPP name.
 
 
14930
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
 
14932
# Sed expression to map a string onto a valid variable name.
 
 
14933
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
 
14937
## ----------------------------------- ##
 
 
14938
## Main body of $CONFIG_STATUS script. ##
 
 
14939
## ----------------------------------- ##
 
 
14941
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
 
 
14943
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
 
14944
# Save the log message, to keep $0 and so on meaningful, and to
 
 
14945
# report actual input values of CONFIG_FILES etc. instead of their
 
 
14946
# values after options handling.
 
 
14948
This file was extended by sqlite3cc $as_me 0.1.0, which was
 
 
14949
generated by GNU Autoconf 2.64.  Invocation command line was
 
 
14951
  CONFIG_FILES    = $CONFIG_FILES
 
 
14952
  CONFIG_HEADERS  = $CONFIG_HEADERS
 
 
14953
  CONFIG_LINKS    = $CONFIG_LINKS
 
 
14954
  CONFIG_COMMANDS = $CONFIG_COMMANDS
 
 
14957
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
 
14962
case $ac_config_files in *"
 
 
14963
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
 
14966
case $ac_config_headers in *"
 
 
14967
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
 
14971
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
 
14972
# Files that config.status was made for.
 
 
14973
config_files="$ac_config_files"
 
 
14974
config_headers="$ac_config_headers"
 
 
14975
config_commands="$ac_config_commands"
 
 
14979
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
 
14981
\`$as_me' instantiates files and other configuration actions
 
 
14982
from templates according to the current configuration.  Unless the files
 
 
14983
and actions are specified as TAGs, all are instantiated by default.
 
 
14985
Usage: $0 [OPTION]... [TAG]...
 
 
14987
  -h, --help       print this help, then exit
 
 
14988
  -V, --version    print version number and configuration settings, then exit
 
 
14989
  -q, --quiet, --silent
 
 
14990
                   do not print progress messages
 
 
14991
  -d, --debug      don't remove temporary files
 
 
14992
      --recheck    update $as_me by reconfiguring in the same conditions
 
 
14993
      --file=FILE[:TEMPLATE]
 
 
14994
                   instantiate the configuration file FILE
 
 
14995
      --header=FILE[:TEMPLATE]
 
 
14996
                   instantiate the configuration header FILE
 
 
14998
Configuration files:
 
 
15001
Configuration headers:
 
 
15004
Configuration commands:
 
 
15007
Report bugs to <edam@waxworlds.org>."
 
 
15010
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
 
15012
sqlite3cc config.status 0.1.0
 
 
15013
configured by $0, generated by GNU Autoconf 2.64,
 
 
15014
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
 
15016
Copyright (C) 2009 Free Software Foundation, Inc.
 
 
15017
This config.status script is free software; the Free Software Foundation
 
 
15018
gives unlimited permission to copy, distribute and modify it."
 
 
15025
test -n "\$AWK" || AWK=awk
 
 
15028
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
 
15029
# The default lists apply if the user does not specify any file.
 
 
15035
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
 
15036
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 
 
15047
  # Handling of the options.
 
 
15048
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 
 
15050
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
 
15051
    $as_echo "$ac_cs_version"; exit ;;
 
 
15052
  --debug | --debu | --deb | --de | --d | -d )
 
 
15054
  --file | --fil | --fi | --f )
 
 
15057
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
 
15059
    as_fn_append CONFIG_FILES " '$ac_optarg'"
 
 
15060
    ac_need_defaults=false;;
 
 
15061
  --header | --heade | --head | --hea )
 
 
15064
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
 
15066
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
 
 
15067
    ac_need_defaults=false;;
 
 
15069
    # Conflict between --help and --header
 
 
15070
    as_fn_error "ambiguous option: \`$1'
 
 
15071
Try \`$0 --help' for more information.";;
 
 
15072
  --help | --hel | -h )
 
 
15073
    $as_echo "$ac_cs_usage"; exit ;;
 
 
15074
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
 
15075
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
 
 
15078
  # This is an error.
 
 
15079
  -*) as_fn_error "unrecognized option: \`$1'
 
 
15080
Try \`$0 --help' for more information." ;;
 
 
15082
  *) as_fn_append ac_config_targets " $1"
 
 
15083
     ac_need_defaults=false ;;
 
 
15089
ac_configure_extra_args=
 
 
15091
if $ac_cs_silent; then
 
 
15093
  ac_configure_extra_args="$ac_configure_extra_args --silent"
 
 
15097
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
 
15098
if \$ac_cs_recheck; then
 
 
15099
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
 
15101
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
 
15102
  CONFIG_SHELL='$SHELL'
 
 
15103
  export CONFIG_SHELL
 
 
15108
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
 
15112
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
 
15113
## Running $as_me. ##
 
 
15119
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
 
15123
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 
 
15126
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
 
15127
# if CDPATH is set.
 
 
15128
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
 
15130
sed_quote_subst='$sed_quote_subst'
 
 
15131
double_quote_subst='$double_quote_subst'
 
 
15132
delay_variable_subst='$delay_variable_subst'
 
 
15133
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15134
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15135
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15136
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15137
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15138
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15139
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15140
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15141
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15142
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15143
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15144
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15145
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15146
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15147
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15148
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15149
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15150
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15151
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15152
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15153
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15154
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15155
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15156
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15157
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15158
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15159
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15160
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15161
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15162
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15163
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15164
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15165
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15166
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15167
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15168
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15169
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15170
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15171
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15172
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15173
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15174
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15175
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15176
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15177
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"`'
 
 
15178
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"`'
 
 
15179
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15180
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15181
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15182
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15183
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15184
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15185
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15186
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15187
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15188
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15189
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15190
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15191
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15192
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15193
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15194
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15195
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15196
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15197
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15198
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15199
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15200
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15201
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15202
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15203
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15204
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15205
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15206
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15207
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15208
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15209
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15210
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15211
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15212
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15213
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15214
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15215
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15216
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15217
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15218
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15219
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15220
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15221
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15222
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15223
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15224
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15225
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15226
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15227
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15228
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15229
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15230
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15231
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15232
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15233
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15234
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15235
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15236
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15237
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15238
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15239
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15240
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15241
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15242
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15243
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15244
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15245
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15246
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15247
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15248
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15249
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15250
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15251
compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15252
predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15253
postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15254
predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15255
postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15256
compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15257
LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15258
old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15259
compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15260
GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15261
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15262
lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15263
lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15264
lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15265
lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15266
archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15267
enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15268
export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15269
whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15270
compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15271
old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15272
old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15273
archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15274
archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15275
module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15276
module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15277
with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15278
allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15279
no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15280
hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15281
hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15282
hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15283
hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15284
hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15285
hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15286
hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15287
hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15288
inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15289
link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15290
fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15291
always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15292
export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15293
exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15294
include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15295
prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15296
file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15297
hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15298
compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15299
predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15300
postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15301
predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15302
postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15303
compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 
 
15306
LTCFLAGS='$LTCFLAGS'
 
 
15307
compiler='$compiler_DEFAULT'
 
 
15309
# Quote evaled strings.
 
 
15321
deplibs_check_method \
 
 
15330
lt_cv_sys_global_symbol_pipe \
 
 
15331
lt_cv_sys_global_symbol_to_cdecl \
 
 
15332
lt_cv_sys_global_symbol_to_c_name_address \
 
 
15333
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
 
15336
lt_prog_compiler_no_builtin_flag \
 
 
15337
lt_prog_compiler_wl \
 
 
15338
lt_prog_compiler_pic \
 
 
15339
lt_prog_compiler_static \
 
 
15340
lt_cv_prog_compiler_c_o \
 
 
15348
export_dynamic_flag_spec \
 
 
15349
whole_archive_flag_spec \
 
 
15350
compiler_needs_object \
 
 
15352
allow_undefined_flag \
 
 
15353
no_undefined_flag \
 
 
15354
hardcode_libdir_flag_spec \
 
 
15355
hardcode_libdir_flag_spec_ld \
 
 
15356
hardcode_libdir_separator \
 
 
15361
variables_saved_for_relink \
 
 
15363
library_names_spec \
 
 
15368
compiler_lib_search_dirs \
 
 
15373
compiler_lib_search_path \
 
 
15376
lt_prog_compiler_no_builtin_flag_CXX \
 
 
15377
lt_prog_compiler_wl_CXX \
 
 
15378
lt_prog_compiler_pic_CXX \
 
 
15379
lt_prog_compiler_static_CXX \
 
 
15380
lt_cv_prog_compiler_c_o_CXX \
 
 
15381
export_dynamic_flag_spec_CXX \
 
 
15382
whole_archive_flag_spec_CXX \
 
 
15383
compiler_needs_object_CXX \
 
 
15385
allow_undefined_flag_CXX \
 
 
15386
no_undefined_flag_CXX \
 
 
15387
hardcode_libdir_flag_spec_CXX \
 
 
15388
hardcode_libdir_flag_spec_ld_CXX \
 
 
15389
hardcode_libdir_separator_CXX \
 
 
15390
fix_srcfile_path_CXX \
 
 
15391
exclude_expsyms_CXX \
 
 
15392
include_expsyms_CXX \
 
 
15393
file_list_spec_CXX \
 
 
15394
compiler_lib_search_dirs_CXX \
 
 
15395
predep_objects_CXX \
 
 
15396
postdep_objects_CXX \
 
 
15399
compiler_lib_search_path_CXX; do
 
 
15400
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
 
15401
    *[\\\\\\\`\\"\\\$]*)
 
 
15402
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
 
15405
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
 
15410
# Double-quote double-evaled strings.
 
 
15411
for var in reload_cmds \
 
 
15412
old_postinstall_cmds \
 
 
15413
old_postuninstall_cmds \
 
 
15415
extract_expsyms_cmds \
 
 
15416
old_archive_from_new_cmds \
 
 
15417
old_archive_from_expsyms_cmds \
 
 
15419
archive_expsym_cmds \
 
 
15421
module_expsym_cmds \
 
 
15422
export_symbols_cmds \
 
 
15425
postuninstall_cmds \
 
 
15427
sys_lib_search_path_spec \
 
 
15428
sys_lib_dlsearch_path_spec \
 
 
15429
old_archive_cmds_CXX \
 
 
15430
old_archive_from_new_cmds_CXX \
 
 
15431
old_archive_from_expsyms_cmds_CXX \
 
 
15433
archive_expsym_cmds_CXX \
 
 
15435
module_expsym_cmds_CXX \
 
 
15436
export_symbols_cmds_CXX \
 
 
15437
prelink_cmds_CXX; do
 
 
15438
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
 
15439
    *[\\\\\\\`\\"\\\$]*)
 
 
15440
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
 
15443
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
 
15448
# Fix-up fallback echo if it was mangled by the above quoting rules.
 
 
15450
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
 
 
15454
ac_aux_dir='$ac_aux_dir'
 
 
15455
xsi_shell='$xsi_shell'
 
 
15456
lt_shell_append='$lt_shell_append'
 
 
15458
# See if we are running on zsh, and set the options which allow our
 
 
15459
# commands through without removal of \ escapes INIT.
 
 
15460
if test -n "\${ZSH_VERSION+set}" ; then
 
 
15461
   setopt NO_GLOB_SUBST
 
 
15467
    TIMESTAMP='$TIMESTAMP'
 
 
15478
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
 
15480
# Handling of arguments.
 
 
15481
for ac_config_target in $ac_config_targets
 
 
15483
  case $ac_config_target in
 
 
15484
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
 
15485
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
 
15486
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
 
 
15487
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
 
15488
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 
 
15489
    "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
 
 
15491
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 
 
15496
# If the user did not use the arguments to specify the items to instantiate,
 
 
15497
# then the envvar interface is used.  Set only those that are not.
 
 
15498
# We use the long form for the default assignment because of an extremely
 
 
15499
# bizarre bug on SunOS 4.1.3.
 
 
15500
if $ac_need_defaults; then
 
 
15501
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 
 
15502
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
 
 
15503
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
 
 
15506
# Have a temporary directory for convenience.  Make it in the build tree
 
 
15507
# simply because there is no reason against having it here, and in addition,
 
 
15508
# creating and moving files from /tmp can sometimes cause problems.
 
 
15509
# Hook for its removal unless debugging.
 
 
15510
# Note that there is a small window in which the directory will not be cleaned:
 
 
15511
# after its creation but before its name has been assigned to `$tmp'.
 
 
15515
  trap 'exit_status=$?
 
 
15516
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
 
15518
  trap 'as_fn_exit 1' 1 2 13 15
 
 
15520
# Create a (secure) tmp directory for tmp files.
 
 
15523
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 
 
15524
  test -n "$tmp" && test -d "$tmp"
 
 
15527
  tmp=./conf$$-$RANDOM
 
 
15528
  (umask 077 && mkdir "$tmp")
 
 
15529
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
 
 
15531
# Set up the scripts for CONFIG_FILES section.
 
 
15532
# No need to generate them if there are no CONFIG_FILES.
 
 
15533
# This happens for instance with `./config.status config.h'.
 
 
15534
if test -n "$CONFIG_FILES"; then
 
 
15537
ac_cr=`echo X | tr X '\015'`
 
 
15538
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
 
15539
# But we know of no other shell where ac_cr would be empty at this
 
 
15540
# point, so we can use a bashism as a fallback.
 
 
15541
if test "x$ac_cr" = x; then
 
 
15542
  eval ac_cr=\$\'\\r\'
 
 
15544
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
 
15545
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
 
15548
  ac_cs_awk_cr=$ac_cr
 
 
15551
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
 
15556
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
 
15557
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
 
15559
} >conf$$subs.sh ||
 
 
15560
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
 
15561
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
 
15563
for ac_last_try in false false false false false :; do
 
 
15564
  . ./conf$$subs.sh ||
 
 
15565
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
 
15567
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
 
15568
  if test $ac_delim_n = $ac_delim_num; then
 
 
15570
  elif $ac_last_try; then
 
 
15571
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 
 
15573
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
 
15576
rm -f conf$$subs.sh
 
 
15578
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
 
15579
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
 
15583
s/^/S["/; s/!.*/"]=/
 
 
15593
s/\(.\{148\}\).*/\1/
 
 
15595
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
 
15600
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
 
15607
s/\(.\{148\}\).*/\1/
 
 
15609
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
 
15613
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
 
15618
' <conf$$subs.awk | sed '
 
 
15623
' >>$CONFIG_STATUS || ac_write_fail=1
 
 
15624
rm -f conf$$subs.awk
 
 
15625
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
 
15627
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
 
15628
  for (key in S) S_is_set[key] = 1
 
 
15634
  nfields = split(line, field, "@")
 
 
15636
  len = length(field[1])
 
 
15637
  for (i = 2; i < nfields; i++) {
 
 
15639
    keylen = length(key)
 
 
15640
    if (S_is_set[key]) {
 
 
15642
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
 
15643
      len += length(value) + length(field[++i])
 
 
15654
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
 
15655
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
 
15656
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
 
15659
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
 
15660
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
 
 
15663
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
 
15664
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
 
15665
# trailing colons and then remove the whole line if VPATH becomes empty
 
 
15666
# (actually we leave an empty line to preserve line numbers).
 
 
15667
if test "x$srcdir" = x.; then
 
 
15668
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
 
15669
s/:*\$(srcdir):*/:/
 
 
15670
s/:*\${srcdir}:*/:/
 
 
15672
s/^\([^=]*=[     ]*\):*/\1/
 
 
15678
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
 
15679
fi # test -n "$CONFIG_FILES"
 
 
15681
# Set up the scripts for CONFIG_HEADERS section.
 
 
15682
# No need to generate them if there are no CONFIG_HEADERS.
 
 
15683
# This happens for instance with `./config.status Makefile'.
 
 
15684
if test -n "$CONFIG_HEADERS"; then
 
 
15685
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
 
15689
# Transform confdefs.h into an awk script `defines.awk', embedded as
 
 
15690
# here-document in config.status, that substitutes the proper values into
 
 
15691
# config.h.in to produce config.h.
 
 
15693
# Create a delimiter string that does not exist in confdefs.h, to ease
 
 
15694
# handling of long lines.
 
 
15696
for ac_last_try in false false :; do
 
 
15697
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
 
 
15698
  if test -z "$ac_t"; then
 
 
15700
  elif $ac_last_try; then
 
 
15701
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
 
 
15703
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
 
15707
# For the awk script, D is an array of macro values keyed by name,
 
 
15708
# likewise P contains macro parameters if any.  Preserve backslash
 
 
15709
# newline sequences.
 
 
15711
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
 
15713
s/.\{148\}/&'"$ac_delim"'/g
 
 
15716
s/^[     ]*#[    ]*define[       ][      ]*/ /
 
 
15723
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
 
15725
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 
 
15729
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
 
15730
D["\1"]=" \3\\\\\\n"\\/p
 
 
15732
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 
 
15737
s/.\{148\}/&'"$ac_delim"'/g
 
 
15742
s/["\\]/\\&/g; s/^/"/; s/$/"/p
 
 
15745
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 
 
15747
' <confdefs.h | sed '
 
 
15748
s/'"$ac_delim"'/"\\\
 
 
15749
"/g' >>$CONFIG_STATUS || ac_write_fail=1
 
 
15751
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
 
15752
  for (key in D) D_is_set[key] = 1
 
 
15755
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 
 
15757
  split(line, arg, " ")
 
 
15758
  if (arg[1] == "#") {
 
 
15762
    defundef = substr(arg[1], 2)
 
 
15765
  split(mac1, mac2, "(") #)
 
 
15767
  prefix = substr(line, 1, index(line, defundef) - 1)
 
 
15768
  if (D_is_set[macro]) {
 
 
15769
    # Preserve the white space surrounding the "#".
 
 
15770
    print prefix "define", macro P[macro] D[macro]
 
 
15773
    # Replace #undef with comments.  This is necessary, for example,
 
 
15774
    # in the case of _POSIX_SOURCE, which is predefined and required
 
 
15775
    # on some systems where configure will not decide to define it.
 
 
15776
    if (defundef == "undef") {
 
 
15777
      print "/*", prefix defundef, macro, "*/"
 
 
15785
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
 
15786
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
 
 
15787
fi # test -n "$CONFIG_HEADERS"
 
 
15790
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 
 
15795
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
 
15797
  case $ac_mode$ac_tag in
 
 
15799
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
 
 
15800
  :[FH]-) ac_tag=-:-;;
 
 
15801
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
 
15818
      -) ac_f="$tmp/stdin";;
 
 
15819
      *) # Look for the file first in the build tree, then in the source tree
 
 
15820
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
 
15821
         # because $ac_f cannot contain `:'.
 
 
15825
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
 
15827
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 
 
15829
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
 
15830
      as_fn_append ac_file_inputs " '$ac_f'"
 
 
15833
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
 
15834
    # use $as_me), people would be surprised to read:
 
 
15835
    #    /* config.h.  Generated by config.status.  */
 
 
15836
    configure_input='Generated from '`
 
 
15837
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
 
15839
    if test x"$ac_file" != x-; then
 
 
15840
      configure_input="$ac_file.  $configure_input"
 
 
15841
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
 
 
15842
$as_echo "$as_me: creating $ac_file" >&6;}
 
 
15844
    # Neutralize special characters interpreted by sed in replacement strings.
 
 
15845
    case $configure_input in #(
 
 
15846
    *\&* | *\|* | *\\* )
 
 
15847
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
 
15848
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
 
15849
    *) ac_sed_conf_input=$configure_input;;
 
 
15853
    *:-:* | *:-) cat >"$tmp/stdin" \
 
 
15854
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
 
 
15859
  ac_dir=`$as_dirname -- "$ac_file" ||
 
 
15860
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
 
15861
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
 
15862
         X"$ac_file" : 'X\(//\)$' \| \
 
 
15863
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 
 
15864
$as_echo X"$ac_file" |
 
 
15865
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
 
15869
          /^X\(\/\/\)[^/].*/{
 
 
15882
  as_dir="$ac_dir"; as_fn_mkdir_p
 
 
15886
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
 
15888
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
 
15889
  # A ".." for each directory in $ac_dir_suffix.
 
 
15890
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
 
15891
  case $ac_top_builddir_sub in
 
 
15892
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
 
15893
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
 
15896
ac_abs_top_builddir=$ac_pwd
 
 
15897
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
 
15898
# for backward compatibility:
 
 
15899
ac_top_builddir=$ac_top_build_prefix
 
 
15902
  .)  # We are building in place.
 
 
15904
    ac_top_srcdir=$ac_top_builddir_sub
 
 
15905
    ac_abs_top_srcdir=$ac_pwd ;;
 
 
15906
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
 
15907
    ac_srcdir=$srcdir$ac_dir_suffix;
 
 
15908
    ac_top_srcdir=$srcdir
 
 
15909
    ac_abs_top_srcdir=$srcdir ;;
 
 
15910
  *) # Relative name.
 
 
15911
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
 
15912
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
 
15913
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
 
15915
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
 
15925
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 
 
15926
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 
 
15928
  ac_MKDIR_P=$MKDIR_P
 
 
15930
  [\\/$]* | ?:[\\/]* ) ;;
 
 
15931
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 
 
15935
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
 
15936
# If the template does not know about datarootdir, expand it.
 
 
15937
# FIXME: This hack should be removed a few years after 2.60.
 
 
15938
ac_datarootdir_hack=; ac_datarootdir_seen=
 
 
15949
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 
 
15950
*datarootdir*) ac_datarootdir_seen=yes;;
 
 
15951
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
 
15952
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
 
15953
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
 
15955
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
 
15956
  ac_datarootdir_hack='
 
 
15957
  s&@datadir@&$datadir&g
 
 
15958
  s&@docdir@&$docdir&g
 
 
15959
  s&@infodir@&$infodir&g
 
 
15960
  s&@localedir@&$localedir&g
 
 
15961
  s&@mandir@&$mandir&g
 
 
15962
  s&\\\${datarootdir}&$datarootdir&g' ;;
 
 
15966
# Neutralize VPATH when `$srcdir' = `.'.
 
 
15967
# Shell code in configure.ac might set extrasub.
 
 
15968
# FIXME: do we really want to maintain this feature?
 
 
15969
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
 
15970
ac_sed_extra="$ac_vpsub
 
 
15973
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
 
15975
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
 
15976
s|@configure_input@|$ac_sed_conf_input|;t t
 
 
15977
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
 
15978
s&@top_build_prefix@&$ac_top_build_prefix&;t t
 
 
15979
s&@srcdir@&$ac_srcdir&;t t
 
 
15980
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
 
15981
s&@top_srcdir@&$ac_top_srcdir&;t t
 
 
15982
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
 
15983
s&@builddir@&$ac_builddir&;t t
 
 
15984
s&@abs_builddir@&$ac_abs_builddir&;t t
 
 
15985
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
 
15986
s&@INSTALL@&$ac_INSTALL&;t t
 
 
15987
s&@MKDIR_P@&$ac_MKDIR_P&;t t
 
 
15988
$ac_datarootdir_hack
 
 
15990
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 
 
15991
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
 
15993
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
 
15994
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
 
15995
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
 
15996
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
 
15997
which seems to be undefined.  Please make sure it is defined." >&5
 
 
15998
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
 
15999
which seems to be undefined.  Please make sure it is defined." >&2;}
 
 
16003
  -) cat "$tmp/out" && rm -f "$tmp/out";;
 
 
16004
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
 
16006
  || as_fn_error "could not create $ac_file" "$LINENO" 5
 
 
16012
  if test x"$ac_file" != x-; then
 
 
16014
      $as_echo "/* $configure_input  */" \
 
 
16015
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
 
 
16016
    } >"$tmp/config.h" \
 
 
16017
      || as_fn_error "could not create $ac_file" "$LINENO" 5
 
 
16018
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
 
16019
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
 
 
16020
$as_echo "$as_me: $ac_file is unchanged" >&6;}
 
 
16023
      mv "$tmp/config.h" "$ac_file" \
 
 
16024
        || as_fn_error "could not create $ac_file" "$LINENO" 5
 
 
16027
    $as_echo "/* $configure_input  */" \
 
 
16028
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
 
16029
      || as_fn_error "could not create -" "$LINENO" 5
 
 
16031
# Compute "$ac_file"'s index in $config_headers.
 
 
16034
for _am_header in $config_headers :; do
 
 
16035
  case $_am_header in
 
 
16036
    $_am_arg | $_am_arg:* )
 
 
16039
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
 
 
16042
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 
 
16043
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
 
16044
         X"$_am_arg" : 'X\(//\)[^/]' \| \
 
 
16045
         X"$_am_arg" : 'X\(//\)$' \| \
 
 
16046
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 
 
16047
$as_echo X"$_am_arg" |
 
 
16048
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
 
16052
          /^X\(\/\/\)[^/].*/{
 
 
16064
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
 
16067
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
 
 
16068
$as_echo "$as_me: executing $ac_file commands" >&6;}
 
 
16073
  case $ac_file$ac_mode in
 
 
16074
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 
 
16075
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
 
16076
  # are listed without --file.  Let's play safe and only enable the eval
 
 
16077
  # if we detect the quoting.
 
 
16078
  case $CONFIG_FILES in
 
 
16079
  *\'*) eval set x "$CONFIG_FILES" ;;
 
 
16080
  *)   set x $CONFIG_FILES ;;
 
 
16085
    # Strip MF so we end up with the name of the file.
 
 
16086
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
 
16087
    # Check whether this is an Automake generated Makefile or not.
 
 
16088
    # We used to match only the files named `Makefile.in', but
 
 
16089
    # some people rename them; so instead we look at the file content.
 
 
16090
    # Grep'ing the first line is not enough: some people post-process
 
 
16091
    # each Makefile.in and add a new line on top of each file to say so.
 
 
16092
    # Grep'ing the whole file is not good either: AIX grep has a line
 
 
16093
    # limit of 2048, but all sed's we know have understand at least 4000.
 
 
16094
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
 
16095
      dirpart=`$as_dirname -- "$mf" ||
 
 
16096
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
 
16097
         X"$mf" : 'X\(//\)[^/]' \| \
 
 
16098
         X"$mf" : 'X\(//\)$' \| \
 
 
16099
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 
 
16101
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
 
16105
          /^X\(\/\/\)[^/].*/{
 
 
16121
    # Extract the definition of DEPDIR, am__include, and am__quote
 
 
16122
    # from the Makefile without running `make'.
 
 
16123
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
 
16124
    test -z "$DEPDIR" && continue
 
 
16125
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
 
16126
    test -z "am__include" && continue
 
 
16127
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
 
16128
    # When using ansi2knr, U may be empty or an underscore; expand it
 
 
16129
    U=`sed -n 's/^U = //p' < "$mf"`
 
 
16130
    # Find all dependency output files, they are included files with
 
 
16131
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
 
16132
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
 
16134
    for file in `sed -n "
 
 
16135
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
 
16136
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
 
16137
      # Make sure the directory exists.
 
 
16138
      test -f "$dirpart/$file" && continue
 
 
16139
      fdir=`$as_dirname -- "$file" ||
 
 
16140
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
 
16141
         X"$file" : 'X\(//\)[^/]' \| \
 
 
16142
         X"$file" : 'X\(//\)$' \| \
 
 
16143
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 
 
16144
$as_echo X"$file" |
 
 
16145
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
 
16149
          /^X\(\/\/\)[^/].*/{
 
 
16162
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
 
 
16163
      # echo "creating $dirpart/$file"
 
 
16164
      echo '# dummy' > "$dirpart/$file"
 
 
16171
    # See if we are running on zsh, and set the options which allow our
 
 
16172
    # commands through without removal of \ escapes.
 
 
16173
    if test -n "${ZSH_VERSION+set}" ; then
 
 
16174
      setopt NO_GLOB_SUBST
 
 
16177
    cfgfile="${ofile}T"
 
 
16178
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 
 
16181
    cat <<_LT_EOF >> "$cfgfile"
 
 
16184
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
 
16185
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 
 
16186
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
 
16187
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
 
16189
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
 
16190
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
 
16191
#   Written by Gordon Matzigkeit, 1996
 
 
16193
#   This file is part of GNU Libtool.
 
 
16195
# GNU Libtool is free software; you can redistribute it and/or
 
 
16196
# modify it under the terms of the GNU General Public License as
 
 
16197
# published by the Free Software Foundation; either version 2 of
 
 
16198
# the License, or (at your option) any later version.
 
 
16200
# As a special exception to the GNU General Public License,
 
 
16201
# if you distribute this file as part of a program or library that
 
 
16202
# is built using GNU Libtool, you may include this file under the
 
 
16203
# same distribution terms that you use for the rest of that program.
 
 
16205
# GNU Libtool is distributed in the hope that it will be useful,
 
 
16206
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
 
16207
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
 
16208
# GNU General Public License for more details.
 
 
16210
# You should have received a copy of the GNU General Public License
 
 
16211
# along with GNU Libtool; see the file COPYING.  If not, a copy
 
 
16212
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 
 
16213
# obtained by writing to the Free Software Foundation, Inc.,
 
 
16214
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
 
16217
# The names of the tagged configurations supported by this script.
 
 
16218
available_tags="CXX "
 
 
16220
# ### BEGIN LIBTOOL CONFIG
 
 
16222
# Which release of libtool.m4 was used?
 
 
16223
macro_version=$macro_version
 
 
16224
macro_revision=$macro_revision
 
 
16226
# Whether or not to build shared libraries.
 
 
16227
build_libtool_libs=$enable_shared
 
 
16229
# Whether or not to build static libraries.
 
 
16230
build_old_libs=$enable_static
 
 
16232
# What type of objects to build.
 
 
16235
# Whether or not to optimize for fast installation.
 
 
16236
fast_install=$enable_fast_install
 
 
16239
host_alias=$host_alias
 
 
16243
# The build system.
 
 
16244
build_alias=$build_alias
 
 
16248
# A sed program that does not truncate output.
 
 
16251
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
 
16252
Xsed="\$SED -e 1s/^X//"
 
 
16254
# A grep program that handles long lines.
 
 
16260
# A literal string matcher.
 
 
16263
# A BSD- or MS-compatible name lister.
 
 
16266
# Whether we need soft or hard links.
 
 
16269
# What is the maximum length of a command?
 
 
16270
max_cmd_len=$max_cmd_len
 
 
16272
# Object file suffix (normally "o").
 
 
16275
# Executable file suffix (normally "").
 
 
16278
# whether the shell understands "unset".
 
 
16281
# turn spaces into newlines.
 
 
16284
# turn newlines into spaces.
 
 
16287
# How to create reloadable object files.
 
 
16288
reload_flag=$lt_reload_flag
 
 
16289
reload_cmds=$lt_reload_cmds
 
 
16291
# An object symbol dumper.
 
 
16292
OBJDUMP=$lt_OBJDUMP
 
 
16294
# Method to check whether dependent libraries are shared objects.
 
 
16295
deplibs_check_method=$lt_deplibs_check_method
 
 
16297
# Command to use when deplibs_check_method == "file_magic".
 
 
16298
file_magic_cmd=$lt_file_magic_cmd
 
 
16302
AR_FLAGS=$lt_AR_FLAGS
 
 
16304
# A symbol stripping program.
 
 
16307
# Commands used to install an old-style archive.
 
 
16309
old_postinstall_cmds=$lt_old_postinstall_cmds
 
 
16310
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
 
16315
# LTCC compiler flags.
 
 
16316
LTCFLAGS=$lt_CFLAGS
 
 
16318
# Take the output of nm and produce a listing of raw symbols and C names.
 
 
16319
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
 
16321
# Transform the output of nm in a proper C declaration.
 
 
16322
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
 
16324
# Transform the output of nm in a C name address pair.
 
 
16325
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
 
16327
# Transform the output of nm in a C name address pair when lib prefix is needed.
 
 
16328
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 
 
16330
# The name of the directory that contains temporary libtool files.
 
 
16333
# Shell to use when invoking shell scripts.
 
 
16336
# An echo program that does not interpret backslashes.
 
 
16339
# Used to examine libraries when file_magic_cmd begins with "file".
 
 
16340
MAGIC_CMD=$MAGIC_CMD
 
 
16342
# Must we lock files when doing compilation?
 
 
16343
need_locks=$lt_need_locks
 
 
16345
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 
 
16346
DSYMUTIL=$lt_DSYMUTIL
 
 
16348
# Tool to change global to local symbols on Mac OS X.
 
 
16351
# Tool to manipulate fat objects and archives on Mac OS X.
 
 
16354
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
 
 
16357
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 
 
16358
OTOOL64=$lt_OTOOL64
 
 
16360
# Old archive suffix (normally "a").
 
 
16363
# Shared library suffix (normally ".so").
 
 
16364
shrext_cmds=$lt_shrext_cmds
 
 
16366
# The commands to extract the exported symbol list from a shared archive.
 
 
16367
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
 
16369
# Variables whose values should be saved in libtool wrapper scripts and
 
 
16370
# restored at link time.
 
 
16371
variables_saved_for_relink=$lt_variables_saved_for_relink
 
 
16373
# Do we need the "lib" prefix for modules?
 
 
16374
need_lib_prefix=$need_lib_prefix
 
 
16376
# Do we need a version for libraries?
 
 
16377
need_version=$need_version
 
 
16379
# Library versioning type.
 
 
16380
version_type=$version_type
 
 
16382
# Shared library runtime path variable.
 
 
16383
runpath_var=$runpath_var
 
 
16385
# Shared library path variable.
 
 
16386
shlibpath_var=$shlibpath_var
 
 
16388
# Is shlibpath searched before the hard-coded library search path?
 
 
16389
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
 
16391
# Format of library name prefix.
 
 
16392
libname_spec=$lt_libname_spec
 
 
16394
# List of archive names.  First name is the real one, the rest are links.
 
 
16395
# The last name is the one that the linker finds with -lNAME
 
 
16396
library_names_spec=$lt_library_names_spec
 
 
16398
# The coded name of the library, if different from the real name.
 
 
16399
soname_spec=$lt_soname_spec
 
 
16401
# Command to use after installation of a shared archive.
 
 
16402
postinstall_cmds=$lt_postinstall_cmds
 
 
16404
# Command to use after uninstallation of a shared archive.
 
 
16405
postuninstall_cmds=$lt_postuninstall_cmds
 
 
16407
# Commands used to finish a libtool library installation in a directory.
 
 
16408
finish_cmds=$lt_finish_cmds
 
 
16410
# As "finish_cmds", except a single script fragment to be evaled but
 
 
16412
finish_eval=$lt_finish_eval
 
 
16414
# Whether we should hardcode library paths into libraries.
 
 
16415
hardcode_into_libs=$hardcode_into_libs
 
 
16417
# Compile-time system search path for libraries.
 
 
16418
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
 
16420
# Run-time system search path for libraries.
 
 
16421
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
 
16423
# Whether dlopen is supported.
 
 
16424
dlopen_support=$enable_dlopen
 
 
16426
# Whether dlopen of programs is supported.
 
 
16427
dlopen_self=$enable_dlopen_self
 
 
16429
# Whether dlopen of statically linked programs is supported.
 
 
16430
dlopen_self_static=$enable_dlopen_self_static
 
 
16432
# Commands to strip libraries.
 
 
16433
old_striplib=$lt_old_striplib
 
 
16434
striplib=$lt_striplib
 
 
16437
# The linker used to build libraries.
 
 
16440
# Commands used to build an old-style archive.
 
 
16441
old_archive_cmds=$lt_old_archive_cmds
 
 
16443
# A language specific compiler.
 
 
16446
# Is the compiler the GNU compiler?
 
 
16449
# Compiler flag to turn off builtin functions.
 
 
16450
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 
 
16452
# How to pass a linker flag through the compiler.
 
 
16453
wl=$lt_lt_prog_compiler_wl
 
 
16455
# Additional compiler flags for building library objects.
 
 
16456
pic_flag=$lt_lt_prog_compiler_pic
 
 
16458
# Compiler flag to prevent dynamic linking.
 
 
16459
link_static_flag=$lt_lt_prog_compiler_static
 
 
16461
# Does compiler simultaneously support -c and -o options?
 
 
16462
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 
 
16464
# Whether or not to add -lc for building shared libraries.
 
 
16465
build_libtool_need_lc=$archive_cmds_need_lc
 
 
16467
# Whether or not to disallow shared libs when runtime libs are static.
 
 
16468
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 
 
16470
# Compiler flag to allow reflexive dlopens.
 
 
16471
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 
 
16473
# Compiler flag to generate shared objects directly from archives.
 
 
16474
whole_archive_flag_spec=$lt_whole_archive_flag_spec
 
 
16476
# Whether the compiler copes with passing no objects directly.
 
 
16477
compiler_needs_object=$lt_compiler_needs_object
 
 
16479
# Create an old-style archive from a shared archive.
 
 
16480
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 
 
16482
# Create a temporary old-style archive to link instead of a shared archive.
 
 
16483
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 
 
16485
# Commands used to build a shared archive.
 
 
16486
archive_cmds=$lt_archive_cmds
 
 
16487
archive_expsym_cmds=$lt_archive_expsym_cmds
 
 
16489
# Commands used to build a loadable module if different from building
 
 
16490
# a shared archive.
 
 
16491
module_cmds=$lt_module_cmds
 
 
16492
module_expsym_cmds=$lt_module_expsym_cmds
 
 
16494
# Whether we are building with GNU ld or not.
 
 
16495
with_gnu_ld=$lt_with_gnu_ld
 
 
16497
# Flag that allows shared libraries with undefined symbols to be built.
 
 
16498
allow_undefined_flag=$lt_allow_undefined_flag
 
 
16500
# Flag that enforces no undefined symbols.
 
 
16501
no_undefined_flag=$lt_no_undefined_flag
 
 
16503
# Flag to hardcode \$libdir into a binary during linking.
 
 
16504
# This must work even if \$libdir does not exist
 
 
16505
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
 
16507
# If ld is used when linking, flag to hardcode \$libdir into a binary
 
 
16508
# during linking.  This must work even if \$libdir does not exist.
 
 
16509
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
 
 
16511
# Whether we need a single "-rpath" flag with a separated argument.
 
 
16512
hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
 
16514
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
 
16515
# DIR into the resulting binary.
 
 
16516
hardcode_direct=$hardcode_direct
 
 
16518
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
 
16519
# DIR into the resulting binary and the resulting library dependency is
 
 
16520
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
 
16521
# library is relocated.
 
 
16522
hardcode_direct_absolute=$hardcode_direct_absolute
 
 
16524
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
 
16525
# into the resulting binary.
 
 
16526
hardcode_minus_L=$hardcode_minus_L
 
 
16528
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
 
16529
# into the resulting binary.
 
 
16530
hardcode_shlibpath_var=$hardcode_shlibpath_var
 
 
16532
# Set to "yes" if building a shared library automatically hardcodes DIR
 
 
16533
# into the library and all subsequent libraries and executables linked
 
 
16535
hardcode_automatic=$hardcode_automatic
 
 
16537
# Set to yes if linker adds runtime paths of dependent libraries
 
 
16538
# to runtime path list.
 
 
16539
inherit_rpath=$inherit_rpath
 
 
16541
# Whether libtool must link a program against all its dependency libraries.
 
 
16542
link_all_deplibs=$link_all_deplibs
 
 
16544
# Fix the shell variable \$srcfile for the compiler.
 
 
16545
fix_srcfile_path=$lt_fix_srcfile_path
 
 
16547
# Set to "yes" if exported symbols are required.
 
 
16548
always_export_symbols=$always_export_symbols
 
 
16550
# The commands to list exported symbols.
 
 
16551
export_symbols_cmds=$lt_export_symbols_cmds
 
 
16553
# Symbols that should not be listed in the preloaded symbols.
 
 
16554
exclude_expsyms=$lt_exclude_expsyms
 
 
16556
# Symbols that must always be exported.
 
 
16557
include_expsyms=$lt_include_expsyms
 
 
16559
# Commands necessary for linking programs (against libraries) with templates.
 
 
16560
prelink_cmds=$lt_prelink_cmds
 
 
16562
# Specify filename containing input files.
 
 
16563
file_list_spec=$lt_file_list_spec
 
 
16565
# How to hardcode a shared library path into an executable.
 
 
16566
hardcode_action=$hardcode_action
 
 
16568
# The directories searched by this compiler when creating a shared library.
 
 
16569
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
 
 
16571
# Dependencies to place before and after the objects being linked to
 
 
16572
# create a shared library.
 
 
16573
predep_objects=$lt_predep_objects
 
 
16574
postdep_objects=$lt_postdep_objects
 
 
16575
predeps=$lt_predeps
 
 
16576
postdeps=$lt_postdeps
 
 
16578
# The library search path used internally by the compiler when linking
 
 
16579
# a shared library.
 
 
16580
compiler_lib_search_path=$lt_compiler_lib_search_path
 
 
16582
# ### END LIBTOOL CONFIG
 
 
16588
    cat <<\_LT_EOF >> "$cfgfile"
 
 
16589
# AIX sometimes has problems with the GCC collect2 program.  For some
 
 
16590
# reason, if we set the COLLECT_NAMES environment variable, the problems
 
 
16591
# vanish in a puff of smoke.
 
 
16592
if test "X${COLLECT_NAMES+set}" != Xset; then
 
 
16594
  export COLLECT_NAMES
 
 
16601
ltmain="$ac_aux_dir/ltmain.sh"
 
 
16604
  # We use sed instead of cat because bash on DJGPP gets confused if
 
 
16605
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
 
16606
  # text mode, it properly converts lines to CR/LF.  This bash problem
 
 
16607
  # is reportedly fixed, but why not run on old versions too?
 
 
16608
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
 
 
16609
    || (rm -f "$cfgfile"; exit 1)
 
 
16613
    cat << \_LT_EOF >> "$cfgfile"
 
 
16615
# func_dirname file append nondir_replacement
 
 
16616
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
 
16617
# otherwise set result to NONDIR_REPLACEMENT.
 
 
16621
    */*) func_dirname_result="${1%/*}${2}" ;;
 
 
16622
    *  ) func_dirname_result="${3}" ;;
 
 
16626
# func_basename file
 
 
16629
  func_basename_result="${1##*/}"
 
 
16632
# func_dirname_and_basename file append nondir_replacement
 
 
16633
# perform func_basename and func_dirname in a single function
 
 
16635
#   dirname:  Compute the dirname of FILE.  If nonempty,
 
 
16636
#             add APPEND to the result, otherwise set result
 
 
16637
#             to NONDIR_REPLACEMENT.
 
 
16638
#             value returned in "$func_dirname_result"
 
 
16639
#   basename: Compute filename of FILE.
 
 
16640
#             value retuned in "$func_basename_result"
 
 
16641
# Implementation must be kept synchronized with func_dirname
 
 
16642
# and func_basename. For efficiency, we do not delegate to
 
 
16643
# those functions but instead duplicate the functionality here.
 
 
16644
func_dirname_and_basename ()
 
 
16647
    */*) func_dirname_result="${1%/*}${2}" ;;
 
 
16648
    *  ) func_dirname_result="${3}" ;;
 
 
16650
  func_basename_result="${1##*/}"
 
 
16653
# func_stripname prefix suffix name
 
 
16654
# strip PREFIX and SUFFIX off of NAME.
 
 
16655
# PREFIX and SUFFIX must not contain globbing or regex special
 
 
16656
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
 
16657
# dot (in which case that matches only a dot).
 
 
16660
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
 
 
16661
  # positional parameters, so assign one to ordinary parameter first.
 
 
16662
  func_stripname_result=${3}
 
 
16663
  func_stripname_result=${func_stripname_result#"${1}"}
 
 
16664
  func_stripname_result=${func_stripname_result%"${2}"}
 
 
16670
  func_opt_split_opt=${1%%=*}
 
 
16671
  func_opt_split_arg=${1#*=}
 
 
16678
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
 
 
16679
    *)    func_lo2o_result=${1} ;;
 
 
16683
# func_xform libobj-or-source
 
 
16686
  func_xform_result=${1%.*}.lo
 
 
16689
# func_arith arithmetic-term...
 
 
16692
  func_arith_result=$(( $* ))
 
 
16696
# STRING may not start with a hyphen.
 
 
16699
  func_len_result=${#1}
 
 
16704
  *) # Bourne compatible functions.
 
 
16705
    cat << \_LT_EOF >> "$cfgfile"
 
 
16707
# func_dirname file append nondir_replacement
 
 
16708
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
 
16709
# otherwise set result to NONDIR_REPLACEMENT.
 
 
16712
  # Extract subdirectory from the argument.
 
 
16713
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
 
 
16714
  if test "X$func_dirname_result" = "X${1}"; then
 
 
16715
    func_dirname_result="${3}"
 
 
16717
    func_dirname_result="$func_dirname_result${2}"
 
 
16721
# func_basename file
 
 
16724
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
 
 
16728
# func_stripname prefix suffix name
 
 
16729
# strip PREFIX and SUFFIX off of NAME.
 
 
16730
# PREFIX and SUFFIX must not contain globbing or regex special
 
 
16731
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
 
16732
# dot (in which case that matches only a dot).
 
 
16733
# func_strip_suffix prefix name
 
 
16737
    .*) func_stripname_result=`$ECHO "X${3}" \
 
 
16738
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
 
 
16739
    *)  func_stripname_result=`$ECHO "X${3}" \
 
 
16740
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
 
 
16745
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
 
 
16746
my_sed_long_arg='1s/^-[^=]*=//'
 
 
16751
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
 
 
16752
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
 
 
16758
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
 
 
16761
# func_xform libobj-or-source
 
 
16764
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
 
 
16767
# func_arith arithmetic-term...
 
 
16770
  func_arith_result=`expr "$@"`
 
 
16774
# STRING may not start with a hyphen.
 
 
16777
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
 
 
16783
case $lt_shell_append in
 
 
16785
    cat << \_LT_EOF >> "$cfgfile"
 
 
16787
# func_append var value
 
 
16788
# Append VALUE to the end of shell variable VAR.
 
 
16796
    cat << \_LT_EOF >> "$cfgfile"
 
 
16798
# func_append var value
 
 
16799
# Append VALUE to the end of shell variable VAR.
 
 
16810
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
 
 
16811
    || (rm -f "$cfgfile"; exit 1)
 
 
16813
  mv -f "$cfgfile" "$ofile" ||
 
 
16814
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
 
16818
    cat <<_LT_EOF >> "$ofile"
 
 
16820
# ### BEGIN LIBTOOL TAG CONFIG: CXX
 
 
16822
# The linker used to build libraries.
 
 
16825
# Commands used to build an old-style archive.
 
 
16826
old_archive_cmds=$lt_old_archive_cmds_CXX
 
 
16828
# A language specific compiler.
 
 
16829
CC=$lt_compiler_CXX
 
 
16831
# Is the compiler the GNU compiler?
 
 
16834
# Compiler flag to turn off builtin functions.
 
 
16835
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
 
 
16837
# How to pass a linker flag through the compiler.
 
 
16838
wl=$lt_lt_prog_compiler_wl_CXX
 
 
16840
# Additional compiler flags for building library objects.
 
 
16841
pic_flag=$lt_lt_prog_compiler_pic_CXX
 
 
16843
# Compiler flag to prevent dynamic linking.
 
 
16844
link_static_flag=$lt_lt_prog_compiler_static_CXX
 
 
16846
# Does compiler simultaneously support -c and -o options?
 
 
16847
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
 
 
16849
# Whether or not to add -lc for building shared libraries.
 
 
16850
build_libtool_need_lc=$archive_cmds_need_lc_CXX
 
 
16852
# Whether or not to disallow shared libs when runtime libs are static.
 
 
16853
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
 
 
16855
# Compiler flag to allow reflexive dlopens.
 
 
16856
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
 
 
16858
# Compiler flag to generate shared objects directly from archives.
 
 
16859
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
 
 
16861
# Whether the compiler copes with passing no objects directly.
 
 
16862
compiler_needs_object=$lt_compiler_needs_object_CXX
 
 
16864
# Create an old-style archive from a shared archive.
 
 
16865
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
 
 
16867
# Create a temporary old-style archive to link instead of a shared archive.
 
 
16868
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
 
 
16870
# Commands used to build a shared archive.
 
 
16871
archive_cmds=$lt_archive_cmds_CXX
 
 
16872
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
 
 
16874
# Commands used to build a loadable module if different from building
 
 
16875
# a shared archive.
 
 
16876
module_cmds=$lt_module_cmds_CXX
 
 
16877
module_expsym_cmds=$lt_module_expsym_cmds_CXX
 
 
16879
# Whether we are building with GNU ld or not.
 
 
16880
with_gnu_ld=$lt_with_gnu_ld_CXX
 
 
16882
# Flag that allows shared libraries with undefined symbols to be built.
 
 
16883
allow_undefined_flag=$lt_allow_undefined_flag_CXX
 
 
16885
# Flag that enforces no undefined symbols.
 
 
16886
no_undefined_flag=$lt_no_undefined_flag_CXX
 
 
16888
# Flag to hardcode \$libdir into a binary during linking.
 
 
16889
# This must work even if \$libdir does not exist
 
 
16890
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
 
 
16892
# If ld is used when linking, flag to hardcode \$libdir into a binary
 
 
16893
# during linking.  This must work even if \$libdir does not exist.
 
 
16894
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
 
 
16896
# Whether we need a single "-rpath" flag with a separated argument.
 
 
16897
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
 
 
16899
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
 
16900
# DIR into the resulting binary.
 
 
16901
hardcode_direct=$hardcode_direct_CXX
 
 
16903
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
 
16904
# DIR into the resulting binary and the resulting library dependency is
 
 
16905
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
 
16906
# library is relocated.
 
 
16907
hardcode_direct_absolute=$hardcode_direct_absolute_CXX
 
 
16909
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
 
16910
# into the resulting binary.
 
 
16911
hardcode_minus_L=$hardcode_minus_L_CXX
 
 
16913
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
 
16914
# into the resulting binary.
 
 
16915
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
 
 
16917
# Set to "yes" if building a shared library automatically hardcodes DIR
 
 
16918
# into the library and all subsequent libraries and executables linked
 
 
16920
hardcode_automatic=$hardcode_automatic_CXX
 
 
16922
# Set to yes if linker adds runtime paths of dependent libraries
 
 
16923
# to runtime path list.
 
 
16924
inherit_rpath=$inherit_rpath_CXX
 
 
16926
# Whether libtool must link a program against all its dependency libraries.
 
 
16927
link_all_deplibs=$link_all_deplibs_CXX
 
 
16929
# Fix the shell variable \$srcfile for the compiler.
 
 
16930
fix_srcfile_path=$lt_fix_srcfile_path_CXX
 
 
16932
# Set to "yes" if exported symbols are required.
 
 
16933
always_export_symbols=$always_export_symbols_CXX
 
 
16935
# The commands to list exported symbols.
 
 
16936
export_symbols_cmds=$lt_export_symbols_cmds_CXX
 
 
16938
# Symbols that should not be listed in the preloaded symbols.
 
 
16939
exclude_expsyms=$lt_exclude_expsyms_CXX
 
 
16941
# Symbols that must always be exported.
 
 
16942
include_expsyms=$lt_include_expsyms_CXX
 
 
16944
# Commands necessary for linking programs (against libraries) with templates.
 
 
16945
prelink_cmds=$lt_prelink_cmds_CXX
 
 
16947
# Specify filename containing input files.
 
 
16948
file_list_spec=$lt_file_list_spec_CXX
 
 
16950
# How to hardcode a shared library path into an executable.
 
 
16951
hardcode_action=$hardcode_action_CXX
 
 
16953
# The directories searched by this compiler when creating a shared library.
 
 
16954
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
 
 
16956
# Dependencies to place before and after the objects being linked to
 
 
16957
# create a shared library.
 
 
16958
predep_objects=$lt_predep_objects_CXX
 
 
16959
postdep_objects=$lt_postdep_objects_CXX
 
 
16960
predeps=$lt_predeps_CXX
 
 
16961
postdeps=$lt_postdeps_CXX
 
 
16963
# The library search path used internally by the compiler when linking
 
 
16964
# a shared library.
 
 
16965
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
 
 
16967
# ### END LIBTOOL TAG CONFIG: CXX
 
 
16978
ac_clean_files=$ac_clean_files_save
 
 
16980
test $ac_write_fail = 0 ||
 
 
16981
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
 
16984
# configure is writing to config.log, and then calls config.status.
 
 
16985
# config.status does its own redirection, appending to config.log.
 
 
16986
# Unfortunately, on DOS this fails, as config.log is still kept open
 
 
16987
# by configure, so config.status won't be able to write to it; its
 
 
16988
# output is simply discarded.  So we exec the FD to /dev/null,
 
 
16989
# effectively closing config.log, so it can be properly (re)opened and
 
 
16990
# appended to by config.status.  When coming back to configure, we
 
 
16991
# need to make the FD available again.
 
 
16992
if test "$no_create" != yes; then
 
 
16994
  ac_config_status_args=
 
 
16995
  test "$silent" = yes &&
 
 
16996
    ac_config_status_args="$ac_config_status_args --quiet"
 
 
16998
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 
 
17000
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 
 
17001
  # would make configure fail if this is the last instruction.
 
 
17002
  $ac_cs_success || as_fn_exit $?
 
 
17004
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
 
17005
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
 
17006
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}