~ubuntu-branches/debian/jessie/gdb/jessie

« back to all changes in this revision

Viewing changes to opcodes/configure

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Jacobowitz
  • Date: 2010-03-20 01:21:29 UTC
  • mfrom: (1.3.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20100320012129-t7h25y8zgr8c2369
Tags: 7.1-1
* New upstream release, including:
  - PIE support (Closes: #346409).
  - C++ improvements, including static_cast<> et al, namespace imports,
    and bug fixes in printing virtual base classes.
  - Multi-program debugging.  One GDB can now debug multiple programs
    at the same time.
  - Python scripting improvements, including gdb.parse_and_eval.
  - Updated MIPS Linux signal frame layout (Closes: #570875).
  - No internal error stepping over _dl_debug_state (Closes: #569551).
* Update to Standards-Version: 3.8.4 (no changes required).
* Include more relevant (and smaller) docs in the gdbserver package
  (Closes: #571132).
* Do not duplicate documentation in gdb64, gdb-source, and libgdb-dev.
* Fix crash when switching into TUI mode (Closes: #568489).

Show diffs side-by-side

added added

removed removed

Lines of Context:
169
169
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170
170
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171
171
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172
 
test \$(( 1 + 1 )) = 2 || exit 1"
 
172
test \$(( 1 + 1 )) = 2 || exit 1
 
173
 
 
174
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
 
175
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
176
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
177
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
178
    PATH=/empty FPATH=/empty; export PATH FPATH
 
179
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
 
180
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
173
181
  if (eval "$as_required") 2>/dev/null; then :
174
182
  as_have_required=yes
175
183
else
523
531
# Sed expression to map a string onto a valid variable name.
524
532
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
525
533
 
526
 
 
527
 
 
528
 
# Check that we are running under the correct shell.
529
534
SHELL=${CONFIG_SHELL-/bin/sh}
530
535
 
531
 
case X$lt_ECHO in
532
 
X*--fallback-echo)
533
 
  # Remove one level of quotation (which was required for Make).
534
 
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
535
 
  ;;
536
 
esac
537
 
 
538
 
ECHO=${lt_ECHO-echo}
539
 
if test "X$1" = X--no-reexec; then
540
 
  # Discard the --no-reexec flag, and continue.
541
 
  shift
542
 
elif test "X$1" = X--fallback-echo; then
543
 
  # Avoid inline document here, it may be left over
544
 
  :
545
 
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
546
 
  # Yippee, $ECHO works!
547
 
  :
548
 
else
549
 
  # Restart under the correct shell.
550
 
  exec $SHELL "$0" --no-reexec ${1+"$@"}
551
 
fi
552
 
 
553
 
if test "X$1" = X--fallback-echo; then
554
 
  # used as fallback echo
555
 
  shift
556
 
  cat <<_LT_EOF
557
 
$*
558
 
_LT_EOF
559
 
  exit 0
560
 
fi
561
 
 
562
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
563
 
# if CDPATH is set.
564
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
565
 
 
566
 
if test -z "$lt_ECHO"; then
567
 
  if test "X${echo_test_string+set}" != Xset; then
568
 
    # find a string as large as possible, as long as the shell can cope with it
569
 
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
570
 
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
571
 
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
572
 
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
573
 
      then
574
 
        break
575
 
      fi
576
 
    done
577
 
  fi
578
 
 
579
 
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
580
 
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
581
 
     test "X$echo_testing_string" = "X$echo_test_string"; then
582
 
    :
583
 
  else
584
 
    # The Solaris, AIX, and Digital Unix default echo programs unquote
585
 
    # backslashes.  This makes it impossible to quote backslashes using
586
 
    #   echo "$something" | sed 's/\\/\\\\/g'
587
 
    #
588
 
    # So, first we look for a working echo in the user's PATH.
589
 
 
590
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
591
 
    for dir in $PATH /usr/ucb; do
592
 
      IFS="$lt_save_ifs"
593
 
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
594
 
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
595
 
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
596
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
597
 
        ECHO="$dir/echo"
598
 
        break
599
 
      fi
600
 
    done
601
 
    IFS="$lt_save_ifs"
602
 
 
603
 
    if test "X$ECHO" = Xecho; then
604
 
      # We didn't find a better echo, so look for alternatives.
605
 
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
606
 
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
607
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
608
 
        # This shell has a builtin print -r that does the trick.
609
 
        ECHO='print -r'
610
 
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
611
 
           test "X$CONFIG_SHELL" != X/bin/ksh; then
612
 
        # If we have ksh, try running configure again with it.
613
 
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
614
 
        export ORIGINAL_CONFIG_SHELL
615
 
        CONFIG_SHELL=/bin/ksh
616
 
        export CONFIG_SHELL
617
 
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
618
 
      else
619
 
        # Try using printf.
620
 
        ECHO='printf %s\n'
621
 
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
622
 
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
623
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
624
 
          # Cool, printf works
625
 
          :
626
 
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
627
 
             test "X$echo_testing_string" = 'X\t' &&
628
 
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
629
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
630
 
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
631
 
          export CONFIG_SHELL
632
 
          SHELL="$CONFIG_SHELL"
633
 
          export SHELL
634
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
635
 
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
636
 
             test "X$echo_testing_string" = 'X\t' &&
637
 
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
638
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
639
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
640
 
        else
641
 
          # maybe with a smaller string...
642
 
          prev=:
643
 
 
644
 
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
645
 
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
646
 
            then
647
 
              break
648
 
            fi
649
 
            prev="$cmd"
650
 
          done
651
 
 
652
 
          if test "$prev" != 'sed 50q "$0"'; then
653
 
            echo_test_string=`eval $prev`
654
 
            export echo_test_string
655
 
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
656
 
          else
657
 
            # Oops.  We lost completely, so just stick with echo.
658
 
            ECHO=echo
659
 
          fi
660
 
        fi
661
 
      fi
662
 
    fi
663
 
  fi
664
 
fi
665
 
 
666
 
# Copy echo and quote the copy suitably for passing to libtool from
667
 
# the Makefile, instead of quoting the original, which is used later.
668
 
lt_ECHO=$ECHO
669
 
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
670
 
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
671
 
fi
672
 
 
673
 
 
674
 
 
675
536
 
676
537
exec 7<&0 </dev/null 6>&1
677
538
 
786
647
LIPO
787
648
NMEDIT
788
649
DSYMUTIL
789
 
lt_ECHO
790
650
OBJDUMP
791
651
LN_S
792
652
NM
5246
5106
 
5247
5107
 
5248
5108
 
5249
 
macro_version='2.2.6'
5250
 
macro_revision='1.3012'
 
5109
macro_version='2.2.7a'
 
5110
macro_revision='1.3134'
5251
5111
 
5252
5112
 
5253
5113
 
5263
5123
 
5264
5124
ltmain="$ac_aux_dir/ltmain.sh"
5265
5125
 
 
5126
# Backslashify metacharacters that are still active within
 
5127
# double-quoted strings.
 
5128
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
5129
 
 
5130
# Same as above, but do not quote variable references.
 
5131
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
5132
 
 
5133
# Sed substitution to delay expansion of an escaped shell variable in a
 
5134
# double_quote_subst'ed string.
 
5135
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
5136
 
 
5137
# Sed substitution to delay expansion of an escaped single quote.
 
5138
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
5139
 
 
5140
# Sed substitution to avoid accidental globbing in evaled expressions
 
5141
no_glob_subst='s/\*/\\\*/g'
 
5142
 
 
5143
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
5144
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 
5145
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 
5146
 
 
5147
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
 
5148
$as_echo_n "checking how to print strings... " >&6; }
 
5149
# Test print first, because it will be a builtin if present.
 
5150
if test "X`print -r -- -n 2>/dev/null`" = X-n && \
 
5151
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
 
5152
  ECHO='print -r --'
 
5153
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
 
5154
  ECHO='printf %s\n'
 
5155
else
 
5156
  # Use this function as a fallback that always works.
 
5157
  func_fallback_echo ()
 
5158
  {
 
5159
    eval 'cat <<_LTECHO_EOF
 
5160
$1
 
5161
_LTECHO_EOF'
 
5162
  }
 
5163
  ECHO='func_fallback_echo'
 
5164
fi
 
5165
 
 
5166
# func_echo_all arg...
 
5167
# Invoke $ECHO with all args, space-separated.
 
5168
func_echo_all ()
 
5169
{
 
5170
    $ECHO ""
 
5171
}
 
5172
 
 
5173
case "$ECHO" in
 
5174
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
 
5175
$as_echo "printf" >&6; } ;;
 
5176
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
 
5177
$as_echo "print -r" >&6; } ;;
 
5178
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
 
5179
$as_echo "cat" >&6; } ;;
 
5180
esac
 
5181
 
 
5182
 
 
5183
 
 
5184
 
 
5185
 
 
5186
 
 
5187
 
 
5188
 
 
5189
 
 
5190
 
 
5191
 
 
5192
 
 
5193
 
 
5194
 
5266
5195
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5267
5196
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5268
5197
if test "${ac_cv_path_SED+set}" = set; then :
5598
5527
  NM="$lt_cv_path_NM"
5599
5528
else
5600
5529
  # Didn't find any BSD compatible name lister, look for dumpbin.
5601
 
  if test -n "$ac_tool_prefix"; then
5602
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
5530
  if test -n "$DUMPBIN"; then :
 
5531
    # Let the user override the test.
 
5532
  else
 
5533
    if test -n "$ac_tool_prefix"; then
 
5534
  for ac_prog in dumpbin "link -dump"
5603
5535
  do
5604
5536
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5605
5537
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5643
5575
fi
5644
5576
if test -z "$DUMPBIN"; then
5645
5577
  ac_ct_DUMPBIN=$DUMPBIN
5646
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
5578
  for ac_prog in dumpbin "link -dump"
5647
5579
do
5648
5580
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5649
5581
set dummy $ac_prog; ac_word=$2
5698
5630
  fi
5699
5631
fi
5700
5632
 
 
5633
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
 
5634
    *COFF*)
 
5635
      DUMPBIN="$DUMPBIN -symbols"
 
5636
      ;;
 
5637
    *)
 
5638
      DUMPBIN=:
 
5639
      ;;
 
5640
    esac
 
5641
  fi
5701
5642
 
5702
5643
  if test "$DUMPBIN" != ":"; then
5703
5644
    NM="$DUMPBIN"
5717
5658
else
5718
5659
  lt_cv_nm_interface="BSD nm"
5719
5660
  echo "int some_variable = 0;" > conftest.$ac_ext
5720
 
  (eval echo "\"\$as_me:5720: $ac_compile\"" >&5)
 
5661
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5721
5662
  (eval "$ac_compile" 2>conftest.err)
5722
5663
  cat conftest.err >&5
5723
 
  (eval echo "\"\$as_me:5723: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
5664
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5724
5665
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5725
5666
  cat conftest.err >&5
5726
 
  (eval echo "\"\$as_me:5726: output\"" >&5)
 
5667
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5727
5668
  cat conftest.out >&5
5728
5669
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5729
5670
    lt_cv_nm_interface="MS dumpbin"
5780
5721
    lt_cv_sys_max_cmd_len=8192;
5781
5722
    ;;
5782
5723
 
 
5724
  mint*)
 
5725
    # On MiNT this can take a long time and run out of memory.
 
5726
    lt_cv_sys_max_cmd_len=8192;
 
5727
    ;;
 
5728
 
5783
5729
  amigaos*)
5784
5730
    # On AmigaOS with pdksh, this test takes hours, literally.
5785
5731
    # So we just punt and use a minimum line length of 8192.
5844
5790
      # If test is not a shell built-in, we'll probably end up computing a
5845
5791
      # maximum length that is only half of the actual maximum length, but
5846
5792
      # we can't tell.
5847
 
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5848
 
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
5793
      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
 
5794
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5849
5795
              test $i != 17 # 1/2 MB should be enough
5850
5796
      do
5851
5797
        i=`expr $i + 1`
6116
6062
  # Base MSYS/MinGW do not provide the 'file' command needed by
6117
6063
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6118
6064
  # unless we find 'file', for example because we are cross-compiling.
6119
 
  if ( file / ) >/dev/null 2>&1; then
 
6065
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
 
6066
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6120
6067
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6121
6068
    lt_cv_file_magic_cmd='func_win32_libid'
6122
6069
  else
6125
6072
  fi
6126
6073
  ;;
6127
6074
 
6128
 
cegcc)
 
6075
cegcc*)
6129
6076
  # use the weaker test based on 'objdump'. See mingw*.
6130
6077
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6131
6078
  lt_cv_file_magic_cmd='$OBJDUMP -f'
6155
6102
  lt_cv_deplibs_check_method=pass_all
6156
6103
  ;;
6157
6104
 
 
6105
haiku*)
 
6106
  lt_cv_deplibs_check_method=pass_all
 
6107
  ;;
 
6108
 
6158
6109
hpux10.20* | hpux11*)
6159
6110
  lt_cv_file_magic_cmd=/usr/bin/file
6160
6111
  case $host_cpu in
6163
6114
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6164
6115
    ;;
6165
6116
  hppa*64*)
6166
 
    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]'
 
6117
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6167
6118
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6168
6119
    ;;
6169
6120
  *)
6170
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
 
6121
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6171
6122
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6172
6123
    ;;
6173
6124
  esac
6605
6556
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6606
6557
fi
6607
6558
 
 
6559
case $host_os in
 
6560
  darwin*)
 
6561
    lock_old_archive_extraction=yes ;;
 
6562
  *)
 
6563
    lock_old_archive_extraction=no ;;
 
6564
esac
 
6565
 
 
6566
 
 
6567
 
 
6568
 
 
6569
 
 
6570
 
6608
6571
 
6609
6572
 
6610
6573
 
6774
6737
  test $ac_status = 0; }; then
6775
6738
    # Now try to grab the symbols.
6776
6739
    nlist=conftest.nm
6777
 
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6778
 
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
 
6740
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
 
6741
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6779
6742
  ac_status=$?
6780
6743
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6781
6744
  test $ac_status = 0; } && test -s "$nlist"; then
6928
6891
  ;;
6929
6892
*-*-irix6*)
6930
6893
  # Find out which ABI we are using.
6931
 
  echo '#line 6931 "configure"' > conftest.$ac_ext
 
6894
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6932
6895
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6933
6896
  (eval $ac_compile) 2>&5
6934
6897
  ac_status=$?
7640
7603
fi
7641
7604
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7642
7605
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
7606
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
 
7607
$as_echo_n "checking for -force_load linker flag... " >&6; }
 
7608
if test "${lt_cv_ld_force_load+set}" = set; then :
 
7609
  $as_echo_n "(cached) " >&6
 
7610
else
 
7611
  lt_cv_ld_force_load=no
 
7612
      cat > conftest.c << _LT_EOF
 
7613
int forced_loaded() { return 2;}
 
7614
_LT_EOF
 
7615
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
 
7616
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
 
7617
      echo "$AR cru libconftest.a conftest.o" >&5
 
7618
      $AR cru libconftest.a conftest.o 2>&5
 
7619
      cat > conftest.c << _LT_EOF
 
7620
int main() { return 0;}
 
7621
_LT_EOF
 
7622
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
 
7623
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
 
7624
      _lt_result=$?
 
7625
      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
 
7626
        lt_cv_ld_force_load=yes
 
7627
      else
 
7628
        cat conftest.err >&5
 
7629
      fi
 
7630
        rm -f conftest.err libconftest.a conftest conftest.c
 
7631
        rm -rf conftest.dSYM
 
7632
 
 
7633
fi
 
7634
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
 
7635
$as_echo "$lt_cv_ld_force_load" >&6; }
7643
7636
    case $host_os in
7644
7637
    rhapsody* | darwin1.[012])
7645
7638
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7667
7660
    else
7668
7661
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7669
7662
    fi
7670
 
    if test "$DSYMUTIL" != ":"; then
 
7663
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7671
7664
      _lt_dsymutil='~$DSYMUTIL $lib || :'
7672
7665
    else
7673
7666
      _lt_dsymutil=
7690
7683
 
7691
7684
 
7692
7685
 
 
7686
 
 
7687
 
7693
7688
# Set options
7694
7689
 
7695
7690
 
7812
7807
 
7813
7808
 
7814
7809
 
 
7810
 
7815
7811
test -z "$LN_S" && LN_S="ln -s"
7816
7812
 
7817
7813
 
7861
7857
 
7862
7858
 
7863
7859
 
7864
 
 
7865
 
 
7866
 
 
7867
 
 
7868
 
 
7869
 
 
7870
 
 
7871
 
 
7872
 
 
7873
 
 
7874
 
 
7875
 
 
7876
 
 
7877
7860
case $host_os in
7878
7861
aix3*)
7879
7862
  # AIX sometimes has problems with the GCC collect2 program.  For some
7886
7869
  ;;
7887
7870
esac
7888
7871
 
7889
 
# Sed substitution that helps us do robust quoting.  It backslashifies
7890
 
# metacharacters that are still active within double-quoted strings.
7891
 
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7892
 
 
7893
 
# Same as above, but do not quote variable references.
7894
 
double_quote_subst='s/\(["`\\]\)/\\\1/g'
7895
 
 
7896
 
# Sed substitution to delay expansion of an escaped shell variable in a
7897
 
# double_quote_subst'ed string.
7898
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7899
 
 
7900
 
# Sed substitution to delay expansion of an escaped single quote.
7901
 
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7902
 
 
7903
 
# Sed substitution to avoid accidental globbing in evaled expressions
7904
 
no_glob_subst='s/\*/\\\*/g'
7905
 
 
7906
7872
# Global variables:
7907
7873
ofile=libtool
7908
7874
can_build_shared=yes
7931
7897
    *) break;;
7932
7898
  esac
7933
7899
done
7934
 
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
7900
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7935
7901
 
7936
7902
 
7937
7903
# Only perform the check for file, if the check method requires it
8140
8106
lt_prog_compiler_no_builtin_flag=
8141
8107
 
8142
8108
if test "$GCC" = yes; then
8143
 
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
 
8109
  case $cc_basename in
 
8110
  nvcc*)
 
8111
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
 
8112
  *)
 
8113
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
 
8114
  esac
8144
8115
 
8145
8116
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8146
8117
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8160
8131
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8161
8132
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8162
8133
   -e 's:$: $lt_compiler_flag:'`
8163
 
   (eval echo "\"\$as_me:8163: $lt_compile\"" >&5)
 
8134
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8164
8135
   (eval "$lt_compile" 2>conftest.err)
8165
8136
   ac_status=$?
8166
8137
   cat conftest.err >&5
8167
 
   echo "$as_me:8167: \$? = $ac_status" >&5
 
8138
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8168
8139
   if (exit $ac_status) && test -s "$ac_outfile"; then
8169
8140
     # The compiler can only warn and ignore the option if not recognized
8170
8141
     # So say no if there are warnings other than the usual output.
8171
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8142
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8172
8143
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8173
8144
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8174
8145
       lt_cv_prog_compiler_rtti_exceptions=yes
8246
8217
      lt_prog_compiler_pic='-fno-common'
8247
8218
      ;;
8248
8219
 
 
8220
    haiku*)
 
8221
      # PIC is the default for Haiku.
 
8222
      # The "-static" flag exists, but is broken.
 
8223
      lt_prog_compiler_static=
 
8224
      ;;
 
8225
 
8249
8226
    hpux*)
8250
8227
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8251
8228
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8288
8265
      lt_prog_compiler_pic='-fPIC'
8289
8266
      ;;
8290
8267
    esac
 
8268
 
 
8269
    case $cc_basename in
 
8270
    nvcc*) # Cuda Compiler Driver 2.2
 
8271
      lt_prog_compiler_wl='-Xlinker '
 
8272
      lt_prog_compiler_pic='-Xcompiler -fPIC'
 
8273
      ;;
 
8274
    esac
8291
8275
  else
8292
8276
    # PORTME Check for flag to pass linker flags through the system compiler.
8293
8277
    case $host_os in
8350
8334
        lt_prog_compiler_pic='--shared'
8351
8335
        lt_prog_compiler_static='--static'
8352
8336
        ;;
8353
 
      pgcc* | pgf77* | pgf90* | pgf95*)
 
8337
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8354
8338
        # Portland Group compilers (*not* the Pentium gcc compiler,
8355
8339
        # which looks to be a dead project)
8356
8340
        lt_prog_compiler_wl='-Wl,'
8362
8346
        # All Alpha code is PIC.
8363
8347
        lt_prog_compiler_static='-non_shared'
8364
8348
        ;;
8365
 
      xl*)
8366
 
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
8349
      xl* | bgxl* | bgf* | mpixl*)
 
8350
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8367
8351
        lt_prog_compiler_wl='-Wl,'
8368
8352
        lt_prog_compiler_pic='-qpic'
8369
8353
        lt_prog_compiler_static='-qstaticlink'
8370
8354
        ;;
8371
8355
      *)
8372
8356
        case `$CC -V 2>&1 | sed 5q` in
 
8357
        *Sun\ F* | *Sun*Fortran*)
 
8358
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
8359
          lt_prog_compiler_pic='-KPIC'
 
8360
          lt_prog_compiler_static='-Bstatic'
 
8361
          lt_prog_compiler_wl=''
 
8362
          ;;
8373
8363
        *Sun\ C*)
8374
8364
          # Sun C 5.9
8375
8365
          lt_prog_compiler_pic='-KPIC'
8376
8366
          lt_prog_compiler_static='-Bstatic'
8377
8367
          lt_prog_compiler_wl='-Wl,'
8378
8368
          ;;
8379
 
        *Sun\ F*)
8380
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8381
 
          lt_prog_compiler_pic='-KPIC'
8382
 
          lt_prog_compiler_static='-Bstatic'
8383
 
          lt_prog_compiler_wl=''
8384
 
          ;;
8385
8369
        esac
8386
8370
        ;;
8387
8371
      esac
8499
8483
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8500
8484
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8501
8485
   -e 's:$: $lt_compiler_flag:'`
8502
 
   (eval echo "\"\$as_me:8502: $lt_compile\"" >&5)
 
8486
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8503
8487
   (eval "$lt_compile" 2>conftest.err)
8504
8488
   ac_status=$?
8505
8489
   cat conftest.err >&5
8506
 
   echo "$as_me:8506: \$? = $ac_status" >&5
 
8490
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8507
8491
   if (exit $ac_status) && test -s "$ac_outfile"; then
8508
8492
     # The compiler can only warn and ignore the option if not recognized
8509
8493
     # So say no if there are warnings other than the usual output.
8510
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8494
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8511
8495
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8512
8496
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8513
8497
       lt_cv_prog_compiler_pic_works=yes
8555
8539
     if test -s conftest.err; then
8556
8540
       # Append any errors to the config.log.
8557
8541
       cat conftest.err 1>&5
8558
 
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
8542
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8559
8543
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8560
8544
       if diff conftest.exp conftest.er2 >/dev/null; then
8561
8545
         lt_cv_prog_compiler_static_works=yes
8604
8588
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8605
8589
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8606
8590
   -e 's:$: $lt_compiler_flag:'`
8607
 
   (eval echo "\"\$as_me:8607: $lt_compile\"" >&5)
 
8591
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8608
8592
   (eval "$lt_compile" 2>out/conftest.err)
8609
8593
   ac_status=$?
8610
8594
   cat out/conftest.err >&5
8611
 
   echo "$as_me:8611: \$? = $ac_status" >&5
 
8595
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8612
8596
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8613
8597
   then
8614
8598
     # The compiler can only warn and ignore the option if not recognized
8615
8599
     # So say no if there are warnings
8616
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
8600
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8617
8601
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8618
8602
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8619
8603
       lt_cv_prog_compiler_c_o=yes
8659
8643
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8660
8644
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8661
8645
   -e 's:$: $lt_compiler_flag:'`
8662
 
   (eval echo "\"\$as_me:8662: $lt_compile\"" >&5)
 
8646
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8663
8647
   (eval "$lt_compile" 2>out/conftest.err)
8664
8648
   ac_status=$?
8665
8649
   cat out/conftest.err >&5
8666
 
   echo "$as_me:8666: \$? = $ac_status" >&5
 
8650
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8667
8651
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8668
8652
   then
8669
8653
     # The compiler can only warn and ignore the option if not recognized
8670
8654
     # So say no if there are warnings
8671
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
8655
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8672
8656
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8673
8657
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8674
8658
       lt_cv_prog_compiler_c_o=yes
8781
8765
  esac
8782
8766
 
8783
8767
  ld_shlibs=yes
 
8768
 
 
8769
  # On some targets, GNU ld is compatible enough with the native linker
 
8770
  # that we're better off using the native interface for both.
 
8771
  lt_use_gnu_ld_interface=no
8784
8772
  if test "$with_gnu_ld" = yes; then
 
8773
    case $host_os in
 
8774
      aix*)
 
8775
        # The AIX port of GNU ld has always aspired to compatibility
 
8776
        # with the native linker.  However, as the warning in the GNU ld
 
8777
        # block says, versions before 2.19.5* couldn't really create working
 
8778
        # shared libraries, regardless of the interface used.
 
8779
        case `$LD -v 2>&1` in
 
8780
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
 
8781
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
 
8782
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
 
8783
          *)
 
8784
            lt_use_gnu_ld_interface=yes
 
8785
            ;;
 
8786
        esac
 
8787
        ;;
 
8788
      *)
 
8789
        lt_use_gnu_ld_interface=yes
 
8790
        ;;
 
8791
    esac
 
8792
  fi
 
8793
 
 
8794
  if test "$lt_use_gnu_ld_interface" = yes; then
8785
8795
    # If archive_cmds runs LD, not CC, wlarc should be empty
8786
8796
    wlarc='${wl}'
8787
8797
 
8799
8809
    fi
8800
8810
    supports_anon_versioning=no
8801
8811
    case `$LD -v 2>&1` in
 
8812
      *GNU\ gold*) supports_anon_versioning=yes ;;
8802
8813
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8803
8814
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8804
8815
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8814
8825
        ld_shlibs=no
8815
8826
        cat <<_LT_EOF 1>&2
8816
8827
 
8817
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
8828
*** Warning: the GNU linker, at least up to release 2.19, is reported
8818
8829
*** to be unable to reliably create shared libraries on AIX.
8819
8830
*** Therefore, libtool is disabling shared libraries support.  If you
8820
 
*** really care for shared libraries, you may want to modify your PATH
8821
 
*** so that a non-GNU linker is found, and then restart.
 
8831
*** really care for shared libraries, you may want to install binutils
 
8832
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
 
8833
*** You will then need to restart the configuration process.
8822
8834
 
8823
8835
_LT_EOF
8824
8836
      fi
8854
8866
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8855
8867
      # as there is no search path for DLLs.
8856
8868
      hardcode_libdir_flag_spec='-L$libdir'
 
8869
      export_dynamic_flag_spec='${wl}--export-all-symbols'
8857
8870
      allow_undefined_flag=unsupported
8858
8871
      always_export_symbols=no
8859
8872
      enable_shared_with_static_runtimes=yes
8875
8888
      fi
8876
8889
      ;;
8877
8890
 
 
8891
    haiku*)
 
8892
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8893
      link_all_deplibs=yes
 
8894
      ;;
 
8895
 
8878
8896
    interix[3-9]*)
8879
8897
      hardcode_direct=no
8880
8898
      hardcode_shlibpath_var=no
8904
8922
        tmp_sharedflag='-shared'
8905
8923
        case $cc_basename,$host_cpu in
8906
8924
        pgcc*)                          # Portland Group C compiler
8907
 
          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'
 
8925
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8908
8926
          tmp_addflag=' $pic_flag'
8909
8927
          ;;
8910
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
8911
 
          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'
 
8928
        pgf77* | pgf90* | pgf95* | pgfortran*)
 
8929
                                        # Portland Group f77 and f90 compilers
 
8930
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8912
8931
          tmp_addflag=' $pic_flag -Mnomain' ;;
8913
8932
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8914
8933
          tmp_addflag=' -i_dynamic' ;;
8919
8938
        lf95*)                          # Lahey Fortran 8.1
8920
8939
          whole_archive_flag_spec=
8921
8940
          tmp_sharedflag='--shared' ;;
8922
 
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
8941
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8923
8942
          tmp_sharedflag='-qmkshrobj'
8924
8943
          tmp_addflag= ;;
 
8944
        nvcc*)  # Cuda Compiler Driver 2.2
 
8945
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 
8946
          compiler_needs_object=yes
 
8947
          ;;
8925
8948
        esac
8926
8949
        case `$CC -V 2>&1 | sed 5q` in
8927
8950
        *Sun\ C*)                       # Sun C 5.9
8928
 
          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'
 
8951
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8929
8952
          compiler_needs_object=yes
8930
8953
          tmp_sharedflag='-G' ;;
8931
8954
        *Sun\ F*)                       # Sun Fortran 8.3
8941
8964
        fi
8942
8965
 
8943
8966
        case $cc_basename in
8944
 
        xlf*)
 
8967
        xlf* | bgf* | bgxlf* | mpixlf*)
8945
8968
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8946
8969
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8947
8970
          hardcode_libdir_flag_spec=
9072
9095
      else
9073
9096
        # If we're using GNU nm, then we don't want the "-C" option.
9074
9097
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
9098
        # Also, AIX nm treats weak defined symbols like other global
 
9099
        # defined symbols, whereas GNU nm marks them as "W".
9075
9100
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9076
 
          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'
 
9101
          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9077
9102
        else
9078
9103
          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'
9079
9104
        fi
9191
9216
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9192
9217
 
9193
9218
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9194
 
        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"
 
9219
        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9195
9220
      else
9196
9221
        if test "$host_cpu" = ia64; then
9197
9222
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9235
9260
          # -berok will link without error, but may produce a broken library.
9236
9261
          no_undefined_flag=' ${wl}-bernotok'
9237
9262
          allow_undefined_flag=' ${wl}-berok'
9238
 
          # Exported symbols can be pulled into shared objects from archives
9239
 
          whole_archive_flag_spec='$convenience'
 
9263
          if test "$with_gnu_ld" = yes; then
 
9264
            # We only use this code for GNU lds that support --whole-archive.
 
9265
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
9266
          else
 
9267
            # Exported symbols can be pulled into shared objects from archives
 
9268
            whole_archive_flag_spec='$convenience'
 
9269
          fi
9240
9270
          archive_cmds_need_lc=yes
9241
9271
          # This is similar to how AIX traditionally builds its shared libraries.
9242
9272
          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'
9275
9305
      # Tell ltmain to make .dll files, not .so files.
9276
9306
      shrext_cmds=".dll"
9277
9307
      # FIXME: Setting linknames here is a bad hack.
9278
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
9308
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9279
9309
      # The linker will automatically build a .lib file if we build a DLL.
9280
9310
      old_archive_from_new_cmds='true'
9281
9311
      # FIXME: Should let the user specify the lib program.
9291
9321
  hardcode_direct=no
9292
9322
  hardcode_automatic=yes
9293
9323
  hardcode_shlibpath_var=unsupported
9294
 
  whole_archive_flag_spec=''
 
9324
  if test "$lt_cv_ld_force_load" = "yes"; then
 
9325
    whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
 
9326
  else
 
9327
    whole_archive_flag_spec=''
 
9328
  fi
9295
9329
  link_all_deplibs=yes
9296
9330
  allow_undefined_flag="$_lt_dar_allow_undefined"
9297
9331
  case $cc_basename in
9299
9333
     *) _lt_dar_can_shared=$GCC ;;
9300
9334
  esac
9301
9335
  if test "$_lt_dar_can_shared" = "yes"; then
9302
 
    output_verbose_link_cmd=echo
 
9336
    output_verbose_link_cmd=func_echo_all
9303
9337
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9304
9338
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9305
9339
    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}"
9365
9399
      ;;
9366
9400
 
9367
9401
    hpux10*)
9368
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
9402
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9369
9403
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9370
9404
      else
9371
9405
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9384
9418
      ;;
9385
9419
 
9386
9420
    hpux11*)
9387
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
9421
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9388
9422
        case $host_cpu in
9389
9423
        hppa*64*)
9390
9424
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9405
9439
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9406
9440
          ;;
9407
9441
        *)
9408
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9442
 
 
9443
          # Older versions of the 11.00 compiler do not understand -b yet
 
9444
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
 
9445
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
 
9446
$as_echo_n "checking if $CC understands -b... " >&6; }
 
9447
if test "${lt_cv_prog_compiler__b+set}" = set; then :
 
9448
  $as_echo_n "(cached) " >&6
 
9449
else
 
9450
  lt_cv_prog_compiler__b=no
 
9451
   save_LDFLAGS="$LDFLAGS"
 
9452
   LDFLAGS="$LDFLAGS -b"
 
9453
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
9454
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
9455
     # The linker can only warn and ignore the option if not recognized
 
9456
     # So say no if there are warnings
 
9457
     if test -s conftest.err; then
 
9458
       # Append any errors to the config.log.
 
9459
       cat conftest.err 1>&5
 
9460
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
9461
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
9462
       if diff conftest.exp conftest.er2 >/dev/null; then
 
9463
         lt_cv_prog_compiler__b=yes
 
9464
       fi
 
9465
     else
 
9466
       lt_cv_prog_compiler__b=yes
 
9467
     fi
 
9468
   fi
 
9469
   $RM -r conftest*
 
9470
   LDFLAGS="$save_LDFLAGS"
 
9471
 
 
9472
fi
 
9473
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
 
9474
$as_echo "$lt_cv_prog_compiler__b" >&6; }
 
9475
 
 
9476
if test x"$lt_cv_prog_compiler__b" = xyes; then
 
9477
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9478
else
 
9479
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
9480
fi
 
9481
 
9409
9482
          ;;
9410
9483
        esac
9411
9484
      fi
9433
9506
 
9434
9507
    irix5* | irix6* | nonstopux*)
9435
9508
      if test "$GCC" = yes; then
9436
 
        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
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9437
9510
        # Try to use the -exported_symbol ld option, if it does not
9438
9511
        # work, assume that -exports_file does not work either and
9439
9512
        # implicitly export all symbols.
9444
9517
int foo(void) {}
9445
9518
_ACEOF
9446
9519
if ac_fn_c_try_link "$LINENO"; then :
9447
 
  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'
 
9520
  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9448
9521
 
9449
9522
fi
9450
9523
rm -f core conftest.err conftest.$ac_objext \
9451
9524
    conftest$ac_exeext conftest.$ac_ext
9452
9525
        LDFLAGS="$save_LDFLAGS"
9453
9526
      else
9454
 
        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'
9455
 
        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'
 
9527
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 
9528
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9456
9529
      fi
9457
9530
      archive_cmds_need_lc='no'
9458
9531
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9514
9587
      hardcode_libdir_flag_spec='-L$libdir'
9515
9588
      hardcode_minus_L=yes
9516
9589
      allow_undefined_flag=unsupported
9517
 
      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
      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'
9518
9591
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9519
9592
      ;;
9520
9593
 
9521
9594
    osf3*)
9522
9595
      if test "$GCC" = yes; then
9523
9596
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9524
 
        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'
 
9597
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9525
9598
      else
9526
9599
        allow_undefined_flag=' -expect_unresolved \*'
9527
 
        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'
 
9600
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9528
9601
      fi
9529
9602
      archive_cmds_need_lc='no'
9530
9603
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9534
9607
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
9535
9608
      if test "$GCC" = yes; then
9536
9609
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9537
 
        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
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9538
9611
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9539
9612
      else
9540
9613
        allow_undefined_flag=' -expect_unresolved \*'
9541
 
        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_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9542
9615
        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~
9543
 
        $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'
 
9616
        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9544
9617
 
9545
9618
        # Both c and cxx compiler support -rpath directly
9546
9619
        hardcode_libdir_flag_spec='-rpath $libdir'
9957
10030
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9958
10031
    *) lt_awk_arg="/^libraries:/" ;;
9959
10032
  esac
9960
 
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9961
 
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
 
10033
  case $host_os in
 
10034
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
 
10035
    *) lt_sed_strip_eq="s,=/,/,g" ;;
 
10036
  esac
 
10037
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
 
10038
  case $lt_search_path_spec in
 
10039
  *\;*)
9962
10040
    # if the path contains ";" then we assume it to be the separator
9963
10041
    # otherwise default to the standard path separator (i.e. ":") - it is
9964
10042
    # assumed that no part of a normal pathname contains ";" but that should
9965
10043
    # okay in the real world where ";" in dirpaths is itself problematic.
9966
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9967
 
  else
9968
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9969
 
  fi
 
10044
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
 
10045
    ;;
 
10046
  *)
 
10047
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
 
10048
    ;;
 
10049
  esac
9970
10050
  # Ok, now we have the path, separated by spaces, we can step through it
9971
10051
  # and add multilib dir if necessary.
9972
10052
  lt_tmp_lt_search_path_spec=
9979
10059
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9980
10060
    fi
9981
10061
  done
9982
 
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
 
10062
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9983
10063
BEGIN {RS=" "; FS="/|\n";} {
9984
10064
  lt_foo="";
9985
10065
  lt_count=0;
9999
10079
  if (lt_foo != "") { lt_freq[lt_foo]++; }
10000
10080
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10001
10081
}'`
10002
 
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
 
10082
  # AWK program above erroneously prepends '/' to C:/dos/paths
 
10083
  # for these hosts.
 
10084
  case $host_os in
 
10085
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
 
10086
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
 
10087
  esac
 
10088
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10003
10089
else
10004
10090
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10005
10091
fi
10087
10173
  m68k)
10088
10174
    library_names_spec='$libname.ixlibrary $libname.a'
10089
10175
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
10090
 
    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'
 
10176
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10091
10177
    ;;
10092
10178
  esac
10093
10179
  ;;
10140
10226
    cygwin*)
10141
10227
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10142
10228
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10143
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
10229
 
 
10230
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10144
10231
      ;;
10145
10232
    mingw* | cegcc*)
10146
10233
      # MinGW DLLs use traditional 'lib' prefix
10147
10234
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10148
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10149
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10150
 
        # It is most probably a Windows format PATH printed by
10151
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
10152
 
        # path with ; separators, and with drive letters. We can handle the
10153
 
        # drive letters (cygwin fileutils understands them), so leave them,
10154
 
        # especially as we might pass files found there to a mingw objdump,
10155
 
        # which wouldn't understand a cygwinified path. Ahh.
10156
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10157
 
      else
10158
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10159
 
      fi
10160
10235
      ;;
10161
10236
    pw32*)
10162
10237
      # pw32 DLLs use 'pw' prefix rather than 'lib'
10256
10331
  hardcode_into_libs=yes
10257
10332
  ;;
10258
10333
 
 
10334
haiku*)
 
10335
  version_type=linux
 
10336
  need_lib_prefix=no
 
10337
  need_version=no
 
10338
  dynamic_linker="$host_os runtime_loader"
 
10339
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
10340
  soname_spec='${libname}${release}${shared_ext}$major'
 
10341
  shlibpath_var=LIBRARY_PATH
 
10342
  shlibpath_overrides_runpath=yes
 
10343
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
 
10344
  hardcode_into_libs=yes
 
10345
  ;;
 
10346
 
10259
10347
hpux9* | hpux10* | hpux11*)
10260
10348
  # Give a soname corresponding to the major version so that dld.sl refuses to
10261
10349
  # link against other versions.
10298
10386
    soname_spec='${libname}${release}${shared_ext}$major'
10299
10387
    ;;
10300
10388
  esac
10301
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
10389
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10302
10390
  postinstall_cmds='chmod 555 $lib'
 
10391
  # or fails outright, so override atomically:
 
10392
  install_override_mode=555
10303
10393
  ;;
10304
10394
 
10305
10395
interix[3-9]*)
10408
10498
 
10409
10499
  # Append ld.so.conf contents to the search path
10410
10500
  if test -f /etc/ld.so.conf; then
10411
 
    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' ' '`
 
10501
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
10412
10502
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10413
10503
  fi
10414
10504
 
10711
10801
 
10712
10802
 
10713
10803
 
 
10804
 
 
10805
 
 
10806
 
 
10807
 
 
10808
 
10714
10809
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10715
10810
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10716
10811
hardcode_action=
11041
11136
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11042
11137
  lt_status=$lt_dlunknown
11043
11138
  cat > conftest.$ac_ext <<_LT_EOF
11044
 
#line 11044 "configure"
 
11139
#line 11139 "configure"
11045
11140
#include "confdefs.h"
11046
11141
 
11047
11142
#if HAVE_DLFCN_H
11082
11177
#  endif
11083
11178
#endif
11084
11179
 
11085
 
void fnord() { int i=42;}
 
11180
/* When -fvisbility=hidden is used, assume the code has been annotated
 
11181
   correspondingly for the symbols needed.  */
 
11182
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
11183
void fnord () __attribute__((visibility("default")));
 
11184
#endif
 
11185
 
 
11186
void fnord () { int i=42; }
11086
11187
int main ()
11087
11188
{
11088
11189
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11091
11192
  if (self)
11092
11193
    {
11093
11194
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11094
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
11195
      else
 
11196
        {
 
11197
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
11198
          else puts (dlerror ());
 
11199
        }
11095
11200
      /* dlclose (self); */
11096
11201
    }
11097
11202
  else
11137
11242
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11138
11243
  lt_status=$lt_dlunknown
11139
11244
  cat > conftest.$ac_ext <<_LT_EOF
11140
 
#line 11140 "configure"
 
11245
#line 11245 "configure"
11141
11246
#include "confdefs.h"
11142
11247
 
11143
11248
#if HAVE_DLFCN_H
11178
11283
#  endif
11179
11284
#endif
11180
11285
 
11181
 
void fnord() { int i=42;}
 
11286
/* When -fvisbility=hidden is used, assume the code has been annotated
 
11287
   correspondingly for the symbols needed.  */
 
11288
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
11289
void fnord () __attribute__((visibility("default")));
 
11290
#endif
 
11291
 
 
11292
void fnord () { int i=42; }
11182
11293
int main ()
11183
11294
{
11184
11295
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11187
11298
  if (self)
11188
11299
    {
11189
11300
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11190
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
11301
      else
 
11302
        {
 
11303
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
11304
          else puts (dlerror ());
 
11305
        }
11191
11306
      /* dlclose (self); */
11192
11307
    }
11193
11308
  else
11376
11491
fi
11377
11492
 
11378
11493
 
11379
 
GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
 
11494
GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow"
11380
11495
 
11381
11496
# Check whether --enable-werror was given.
11382
11497
if test "${enable_werror+set}" = set; then :
12033
12148
 
12034
12149
LIBM=
12035
12150
case $host in
12036
 
*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
 
12151
*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
12037
12152
  # These system don't have libm, or don't need it
12038
12153
  ;;
12039
12154
*-ncr-sysv4.3*)
12332
12447
        bfd_pyramid_arch)       ;;
12333
12448
        bfd_romp_arch)          ;;
12334
12449
        bfd_rs6000_arch)        ta="$ta ppc-dis.lo ppc-opc.lo" ;;
 
12450
        bfd_rx_arch)            ta="$ta rx-dis.lo rx-decode.lo";;
12335
12451
        bfd_s390_arch)          ta="$ta s390-dis.lo s390-opc.lo" ;;
12336
12452
        bfd_score_arch)         ta="$ta score-dis.lo score7-dis.lo" ;;
12337
12453
        bfd_sh_arch)
13127
13243
sed_quote_subst='$sed_quote_subst'
13128
13244
double_quote_subst='$double_quote_subst'
13129
13245
delay_variable_subst='$delay_variable_subst'
13130
 
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
13131
 
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
13132
 
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
13133
 
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
13134
 
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
13135
 
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
13136
 
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
13137
 
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
13138
 
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
13139
 
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
13140
 
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
13141
 
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
13142
 
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
13143
 
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
13144
 
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
13145
 
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
13146
 
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
13147
 
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
13148
 
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
13149
 
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
13150
 
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
13151
 
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
13152
 
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
13153
 
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
13154
 
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
13155
 
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
13156
 
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
13157
 
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13158
 
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
13159
 
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
13160
 
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
13161
 
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
13162
 
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13163
 
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
13164
 
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
13165
 
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13166
 
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13167
 
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13168
 
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
13169
 
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13170
 
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
13171
 
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
13172
 
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
13173
 
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
13174
 
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"`'
13175
 
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"`'
13176
 
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
13177
 
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
13178
 
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
13179
 
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
13180
 
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
13181
 
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
13182
 
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
13183
 
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
13184
 
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
13185
 
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
13186
 
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
13187
 
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
13188
 
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
13189
 
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13190
 
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
13191
 
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
13192
 
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13193
 
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13194
 
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
13195
 
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
13196
 
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13197
 
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13198
 
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
13199
 
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13200
 
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13201
 
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13202
 
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13203
 
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13204
 
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13205
 
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
13206
 
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13207
 
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13208
 
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13209
 
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
13210
 
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13211
 
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13212
 
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13213
 
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13214
 
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13215
 
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13216
 
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13217
 
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13218
 
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13219
 
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13220
 
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13221
 
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13222
 
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13223
 
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13224
 
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13225
 
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13226
 
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13227
 
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13228
 
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13229
 
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13230
 
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13231
 
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13232
 
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13233
 
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13234
 
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13235
 
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13236
 
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13237
 
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13238
 
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13239
 
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13240
 
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13241
 
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13242
 
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13243
 
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
13244
 
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
13245
 
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
13246
 
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
13247
 
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
13246
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
 
13247
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
 
13248
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
 
13249
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
 
13250
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
 
13251
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
 
13252
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
 
13253
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
 
13254
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
 
13255
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
 
13256
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
 
13257
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
 
13258
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
 
13259
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
 
13260
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
 
13261
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
 
13262
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
 
13263
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
 
13264
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
 
13265
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
 
13266
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
 
13267
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
 
13268
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
 
13269
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
 
13270
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
 
13271
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
 
13272
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
 
13273
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
 
13274
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
 
13275
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
 
13276
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
 
13277
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
 
13278
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
 
13279
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
 
13280
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
 
13281
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
 
13282
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
 
13283
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
13284
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
13285
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
 
13286
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
 
13287
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
 
13288
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
 
13289
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
 
13290
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
 
13291
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
 
13292
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
 
13293
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
 
13294
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
13295
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
 
13296
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
 
13297
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
 
13298
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
 
13299
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
 
13300
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
 
13301
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
 
13302
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
 
13303
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
 
13304
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
 
13305
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
 
13306
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
 
13307
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
 
13308
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
 
13309
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
 
13310
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
13311
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
 
13312
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
 
13313
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
 
13314
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
 
13315
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
 
13316
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
 
13317
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
13318
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
 
13319
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
13320
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
 
13321
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
13322
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
 
13323
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
13324
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
13325
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
 
13326
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
 
13327
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
 
13328
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
 
13329
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
 
13330
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
 
13331
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
13332
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
 
13333
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
 
13334
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
 
13335
fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
 
13336
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
 
13337
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
 
13338
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
 
13339
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
 
13340
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
 
13341
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
 
13342
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
 
13343
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
13344
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
 
13345
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
 
13346
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
 
13347
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
13348
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
 
13349
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
 
13350
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
 
13351
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
 
13352
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
 
13353
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
13354
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
13355
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
 
13356
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
 
13357
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
 
13358
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
 
13359
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
 
13360
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
 
13361
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
 
13362
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
 
13363
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
 
13364
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
 
13365
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13248
13366
 
13249
13367
LTCC='$LTCC'
13250
13368
LTCFLAGS='$LTCFLAGS'
13251
13369
compiler='$compiler_DEFAULT'
13252
13370
 
 
13371
# A function that is used when there is no print builtin or printf.
 
13372
func_fallback_echo ()
 
13373
{
 
13374
  eval 'cat <<_LTECHO_EOF
 
13375
\$1
 
13376
_LTECHO_EOF'
 
13377
}
 
13378
 
13253
13379
# Quote evaled strings.
13254
 
for var in SED \
 
13380
for var in SHELL \
 
13381
ECHO \
 
13382
SED \
13255
13383
GREP \
13256
13384
EGREP \
13257
13385
FGREP \
13275
13403
lt_cv_sys_global_symbol_to_cdecl \
13276
13404
lt_cv_sys_global_symbol_to_c_name_address \
13277
13405
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13278
 
SHELL \
13279
 
ECHO \
13280
13406
lt_prog_compiler_no_builtin_flag \
13281
13407
lt_prog_compiler_wl \
13282
13408
lt_prog_compiler_pic \
13306
13432
libname_spec \
13307
13433
library_names_spec \
13308
13434
soname_spec \
 
13435
install_override_mode \
13309
13436
finish_eval \
13310
13437
old_striplib \
13311
13438
striplib; do
13312
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
13439
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13313
13440
    *[\\\\\\\`\\"\\\$]*)
13314
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
13441
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13315
13442
      ;;
13316
13443
    *)
13317
13444
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13338
13465
finish_cmds \
13339
13466
sys_lib_search_path_spec \
13340
13467
sys_lib_dlsearch_path_spec; do
13341
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
13468
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13342
13469
    *[\\\\\\\`\\"\\\$]*)
13343
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
13470
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13344
13471
      ;;
13345
13472
    *)
13346
13473
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13348
13475
    esac
13349
13476
done
13350
13477
 
13351
 
# Fix-up fallback echo if it was mangled by the above quoting rules.
13352
 
case \$lt_ECHO in
13353
 
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
13354
 
  ;;
13355
 
esac
13356
 
 
13357
13478
ac_aux_dir='$ac_aux_dir'
13358
13479
xsi_shell='$xsi_shell'
13359
13480
lt_shell_append='$lt_shell_append'
14095
14216
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
14096
14217
#
14097
14218
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14098
 
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
14219
#                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
14099
14220
#   Written by Gordon Matzigkeit, 1996
14100
14221
#
14101
14222
#   This file is part of GNU Libtool.
14143
14264
# Whether or not to optimize for fast installation.
14144
14265
fast_install=$enable_fast_install
14145
14266
 
 
14267
# Shell to use when invoking shell scripts.
 
14268
SHELL=$lt_SHELL
 
14269
 
 
14270
# An echo program that protects backslashes.
 
14271
ECHO=$lt_ECHO
 
14272
 
14146
14273
# The host system.
14147
14274
host_alias=$host_alias
14148
14275
host=$host
14192
14319
# turn newlines into spaces.
14193
14320
NL2SP=$lt_lt_NL2SP
14194
14321
 
14195
 
# How to create reloadable object files.
14196
 
reload_flag=$lt_reload_flag
14197
 
reload_cmds=$lt_reload_cmds
14198
 
 
14199
14322
# An object symbol dumper.
14200
14323
OBJDUMP=$lt_OBJDUMP
14201
14324
 
14217
14340
old_postinstall_cmds=$lt_old_postinstall_cmds
14218
14341
old_postuninstall_cmds=$lt_old_postuninstall_cmds
14219
14342
 
 
14343
# Whether to use a lock for old archive extraction.
 
14344
lock_old_archive_extraction=$lock_old_archive_extraction
 
14345
 
14220
14346
# A C compiler.
14221
14347
LTCC=$lt_CC
14222
14348
 
14238
14364
# The name of the directory that contains temporary libtool files.
14239
14365
objdir=$objdir
14240
14366
 
14241
 
# Shell to use when invoking shell scripts.
14242
 
SHELL=$lt_SHELL
14243
 
 
14244
 
# An echo program that does not interpret backslashes.
14245
 
ECHO=$lt_ECHO
14246
 
 
14247
14367
# Used to examine libraries when file_magic_cmd begins with "file".
14248
14368
MAGIC_CMD=$MAGIC_CMD
14249
14369
 
14306
14426
# The coded name of the library, if different from the real name.
14307
14427
soname_spec=$lt_soname_spec
14308
14428
 
 
14429
# Permission mode override for installation of shared libraries.
 
14430
install_override_mode=$lt_install_override_mode
 
14431
 
14309
14432
# Command to use after installation of a shared archive.
14310
14433
postinstall_cmds=$lt_postinstall_cmds
14311
14434
 
14345
14468
# The linker used to build libraries.
14346
14469
LD=$lt_LD
14347
14470
 
 
14471
# How to create reloadable object files.
 
14472
reload_flag=$lt_reload_flag
 
14473
reload_cmds=$lt_reload_cmds
 
14474
 
14348
14475
# Commands used to build an old-style archive.
14349
14476
old_archive_cmds=$lt_old_archive_cmds
14350
14477
 
14604
14731
func_dirname ()
14605
14732
{
14606
14733
  # Extract subdirectory from the argument.
14607
 
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
 
14734
  func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
14608
14735
  if test "X$func_dirname_result" = "X${1}"; then
14609
14736
    func_dirname_result="${3}"
14610
14737
  else
14615
14742
# func_basename file
14616
14743
func_basename ()
14617
14744
{
14618
 
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
 
14745
  func_basename_result=`$ECHO "${1}" | $SED "$basename"`
14619
14746
}
14620
14747
 
14621
14748
 
14628
14755
func_stripname ()
14629
14756
{
14630
14757
  case ${2} in
14631
 
    .*) func_stripname_result=`$ECHO "X${3}" \
14632
 
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
14633
 
    *)  func_stripname_result=`$ECHO "X${3}" \
14634
 
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
 
14758
    .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
 
14759
    *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
14635
14760
  esac
14636
14761
}
14637
14762
 
14642
14767
# func_opt_split
14643
14768
func_opt_split ()
14644
14769
{
14645
 
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
14646
 
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
 
14770
  func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
 
14771
  func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
14647
14772
}
14648
14773
 
14649
14774
# func_lo2o object
14650
14775
func_lo2o ()
14651
14776
{
14652
 
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
 
14777
  func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
14653
14778
}
14654
14779
 
14655
14780
# func_xform libobj-or-source
14656
14781
func_xform ()
14657
14782
{
14658
 
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
 
14783
  func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
14659
14784
}
14660
14785
 
14661
14786
# func_arith arithmetic-term...