~ubuntu-branches/ubuntu/raring/forked-daapd/raring-proposed

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Julien BLACHE
  • Date: 2011-04-09 11:41:55 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20110409114155-5i6vbc4v0eqtvcsg
Tags: 0.15-1
* New upstream release.

* debian/control:
  + Add build-dependency on gperf.
  + Bump Standards-Version to 3.9.2 (no changes).
* debian/copyright:
  + Update list of copyright holders.

Show diffs side-by-side

added added

removed removed

Lines of Context:
171
171
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172
172
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173
173
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174
 
test \$(( 1 + 1 )) = 2 || exit 1"
 
174
test \$(( 1 + 1 )) = 2 || exit 1
 
175
 
 
176
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
 
177
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
178
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
179
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
180
    PATH=/empty FPATH=/empty; export PATH FPATH
 
181
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
 
182
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
175
183
  if (eval "$as_required") 2>/dev/null; then :
176
184
  as_have_required=yes
177
185
else
525
533
# Sed expression to map a string onto a valid variable name.
526
534
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527
535
 
528
 
 
529
 
 
530
 
# Check that we are running under the correct shell.
531
536
SHELL=${CONFIG_SHELL-/bin/sh}
532
537
 
533
 
case X$lt_ECHO in
534
 
X*--fallback-echo)
535
 
  # Remove one level of quotation (which was required for Make).
536
 
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
537
 
  ;;
538
 
esac
539
 
 
540
 
ECHO=${lt_ECHO-echo}
541
 
if test "X$1" = X--no-reexec; then
542
 
  # Discard the --no-reexec flag, and continue.
543
 
  shift
544
 
elif test "X$1" = X--fallback-echo; then
545
 
  # Avoid inline document here, it may be left over
546
 
  :
547
 
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
548
 
  # Yippee, $ECHO works!
549
 
  :
550
 
else
551
 
  # Restart under the correct shell.
552
 
  exec $SHELL "$0" --no-reexec ${1+"$@"}
553
 
fi
554
 
 
555
 
if test "X$1" = X--fallback-echo; then
556
 
  # used as fallback echo
557
 
  shift
558
 
  cat <<_LT_EOF
559
 
$*
560
 
_LT_EOF
561
 
  exit 0
562
 
fi
563
 
 
564
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
565
 
# if CDPATH is set.
566
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
567
 
 
568
 
if test -z "$lt_ECHO"; then
569
 
  if test "X${echo_test_string+set}" != Xset; then
570
 
    # find a string as large as possible, as long as the shell can cope with it
571
 
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
572
 
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
573
 
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
574
 
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
575
 
      then
576
 
        break
577
 
      fi
578
 
    done
579
 
  fi
580
 
 
581
 
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
582
 
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
583
 
     test "X$echo_testing_string" = "X$echo_test_string"; then
584
 
    :
585
 
  else
586
 
    # The Solaris, AIX, and Digital Unix default echo programs unquote
587
 
    # backslashes.  This makes it impossible to quote backslashes using
588
 
    #   echo "$something" | sed 's/\\/\\\\/g'
589
 
    #
590
 
    # So, first we look for a working echo in the user's PATH.
591
 
 
592
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
593
 
    for dir in $PATH /usr/ucb; do
594
 
      IFS="$lt_save_ifs"
595
 
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
596
 
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
597
 
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
598
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
599
 
        ECHO="$dir/echo"
600
 
        break
601
 
      fi
602
 
    done
603
 
    IFS="$lt_save_ifs"
604
 
 
605
 
    if test "X$ECHO" = Xecho; then
606
 
      # We didn't find a better echo, so look for alternatives.
607
 
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
608
 
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
609
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
610
 
        # This shell has a builtin print -r that does the trick.
611
 
        ECHO='print -r'
612
 
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
613
 
           test "X$CONFIG_SHELL" != X/bin/ksh; then
614
 
        # If we have ksh, try running configure again with it.
615
 
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
616
 
        export ORIGINAL_CONFIG_SHELL
617
 
        CONFIG_SHELL=/bin/ksh
618
 
        export CONFIG_SHELL
619
 
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
620
 
      else
621
 
        # Try using printf.
622
 
        ECHO='printf %s\n'
623
 
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
624
 
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
625
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
626
 
          # Cool, printf works
627
 
          :
628
 
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
629
 
             test "X$echo_testing_string" = 'X\t' &&
630
 
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
631
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
632
 
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
633
 
          export CONFIG_SHELL
634
 
          SHELL="$CONFIG_SHELL"
635
 
          export SHELL
636
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
637
 
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
638
 
             test "X$echo_testing_string" = 'X\t' &&
639
 
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
640
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
641
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
642
 
        else
643
 
          # maybe with a smaller string...
644
 
          prev=:
645
 
 
646
 
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
647
 
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
648
 
            then
649
 
              break
650
 
            fi
651
 
            prev="$cmd"
652
 
          done
653
 
 
654
 
          if test "$prev" != 'sed 50q "$0"'; then
655
 
            echo_test_string=`eval $prev`
656
 
            export echo_test_string
657
 
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
658
 
          else
659
 
            # Oops.  We lost completely, so just stick with echo.
660
 
            ECHO=echo
661
 
          fi
662
 
        fi
663
 
      fi
664
 
    fi
665
 
  fi
666
 
fi
667
 
 
668
 
# Copy echo and quote the copy suitably for passing to libtool from
669
 
# the Makefile, instead of quoting the original, which is used later.
670
 
lt_ECHO=$ECHO
671
 
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
672
 
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
673
 
fi
674
 
 
675
 
 
676
 
 
677
538
 
678
539
test -n "$DJDIR" || exec 7<&0 </dev/null
679
540
exec 6>&1
796
657
COND_ANTLR_FALSE
797
658
COND_ANTLR_TRUE
798
659
ANTLR
 
660
GPERF
799
661
OTOOL64
800
662
OTOOL
801
663
LIPO
802
664
NMEDIT
803
665
DSYMUTIL
804
 
lt_ECHO
 
666
MANIFEST_TOOL
805
667
RANLIB
 
668
ac_ct_AR
806
669
AR
 
670
DLLTOOL
807
671
OBJDUMP
808
672
LN_S
809
673
NM
910
774
with_pic
911
775
enable_fast_install
912
776
with_gnu_ld
 
777
with_sysroot
913
778
enable_libtool_lock
914
779
enable_largefile
915
780
enable_flac
1591
1456
  --with-pic              try to use only PIC/non-PIC objects [default=use
1592
1457
                          both]
1593
1458
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
1459
  --with-sysroot=DIR Search for dependent libraries within DIR
 
1460
                        (or the compiler's sysroot if not specified).
1594
1461
  --with-oss4=includedir  Use OSS4 with soundcard.h in includedir (default
1595
1462
                          /usr/lib/oss/include/sys)
1596
1463
  --with-gnu-ld           assume the C compiler uses GNU ld default=no
3130
2997
 
3131
2998
# Define the identity of the package.
3132
2999
 PACKAGE=forked-daapd
3133
 
 VERSION=0.14
 
3000
 VERSION=0.15
3134
3001
 
3135
3002
 
3136
3003
cat >>confdefs.h <<_ACEOF
5411
5278
 
5412
5279
 
5413
5280
 
5414
 
macro_version='2.2.6b'
5415
 
macro_revision='1.3017'
 
5281
macro_version='2.4'
 
5282
macro_revision='1.3293'
5416
5283
 
5417
5284
 
5418
5285
 
5499
5366
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5500
5367
 
5501
5368
 
 
5369
# Backslashify metacharacters that are still active within
 
5370
# double-quoted strings.
 
5371
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
5372
 
 
5373
# Same as above, but do not quote variable references.
 
5374
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
5375
 
 
5376
# Sed substitution to delay expansion of an escaped shell variable in a
 
5377
# double_quote_subst'ed string.
 
5378
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
5379
 
 
5380
# Sed substitution to delay expansion of an escaped single quote.
 
5381
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
5382
 
 
5383
# Sed substitution to avoid accidental globbing in evaled expressions
 
5384
no_glob_subst='s/\*/\\\*/g'
 
5385
 
 
5386
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
5387
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 
5388
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 
5389
 
 
5390
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
 
5391
$as_echo_n "checking how to print strings... " >&6; }
 
5392
# Test print first, because it will be a builtin if present.
 
5393
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
 
5394
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
 
5395
  ECHO='print -r --'
 
5396
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
 
5397
  ECHO='printf %s\n'
 
5398
else
 
5399
  # Use this function as a fallback that always works.
 
5400
  func_fallback_echo ()
 
5401
  {
 
5402
    eval 'cat <<_LTECHO_EOF
 
5403
$1
 
5404
_LTECHO_EOF'
 
5405
  }
 
5406
  ECHO='func_fallback_echo'
 
5407
fi
 
5408
 
 
5409
# func_echo_all arg...
 
5410
# Invoke $ECHO with all args, space-separated.
 
5411
func_echo_all ()
 
5412
{
 
5413
    $ECHO ""
 
5414
}
 
5415
 
 
5416
case "$ECHO" in
 
5417
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
 
5418
$as_echo "printf" >&6; } ;;
 
5419
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
 
5420
$as_echo "print -r" >&6; } ;;
 
5421
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
 
5422
$as_echo "cat" >&6; } ;;
 
5423
esac
 
5424
 
 
5425
 
 
5426
 
 
5427
 
 
5428
 
 
5429
 
 
5430
 
 
5431
 
 
5432
 
 
5433
 
 
5434
 
 
5435
 
 
5436
 
 
5437
 
5502
5438
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5503
5439
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5504
5440
if test "${ac_cv_path_SED+set}" = set; then :
5834
5770
  NM="$lt_cv_path_NM"
5835
5771
else
5836
5772
  # Didn't find any BSD compatible name lister, look for dumpbin.
5837
 
  if test -n "$ac_tool_prefix"; then
5838
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
5773
  if test -n "$DUMPBIN"; then :
 
5774
    # Let the user override the test.
 
5775
  else
 
5776
    if test -n "$ac_tool_prefix"; then
 
5777
  for ac_prog in dumpbin "link -dump"
5839
5778
  do
5840
5779
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5841
5780
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5879
5818
fi
5880
5819
if test -z "$DUMPBIN"; then
5881
5820
  ac_ct_DUMPBIN=$DUMPBIN
5882
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
5821
  for ac_prog in dumpbin "link -dump"
5883
5822
do
5884
5823
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5885
5824
set dummy $ac_prog; ac_word=$2
5934
5873
  fi
5935
5874
fi
5936
5875
 
 
5876
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
 
5877
    *COFF*)
 
5878
      DUMPBIN="$DUMPBIN -symbols"
 
5879
      ;;
 
5880
    *)
 
5881
      DUMPBIN=:
 
5882
      ;;
 
5883
    esac
 
5884
  fi
5937
5885
 
5938
5886
  if test "$DUMPBIN" != ":"; then
5939
5887
    NM="$DUMPBIN"
5953
5901
else
5954
5902
  lt_cv_nm_interface="BSD nm"
5955
5903
  echo "int some_variable = 0;" > conftest.$ac_ext
5956
 
  (eval echo "\"\$as_me:5956: $ac_compile\"" >&5)
 
5904
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5957
5905
  (eval "$ac_compile" 2>conftest.err)
5958
5906
  cat conftest.err >&5
5959
 
  (eval echo "\"\$as_me:5959: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
5907
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5960
5908
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5961
5909
  cat conftest.err >&5
5962
 
  (eval echo "\"\$as_me:5962: output\"" >&5)
 
5910
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5963
5911
  cat conftest.out >&5
5964
5912
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5965
5913
    lt_cv_nm_interface="MS dumpbin"
6016
5964
    lt_cv_sys_max_cmd_len=8192;
6017
5965
    ;;
6018
5966
 
 
5967
  mint*)
 
5968
    # On MiNT this can take a long time and run out of memory.
 
5969
    lt_cv_sys_max_cmd_len=8192;
 
5970
    ;;
 
5971
 
6019
5972
  amigaos*)
6020
5973
    # On AmigaOS with pdksh, this test takes hours, literally.
6021
5974
    # So we just punt and use a minimum line length of 8192.
6080
6033
      # If test is not a shell built-in, we'll probably end up computing a
6081
6034
      # maximum length that is only half of the actual maximum length, but
6082
6035
      # we can't tell.
6083
 
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6084
 
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
6036
      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
 
6037
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6085
6038
              test $i != 17 # 1/2 MB should be enough
6086
6039
      do
6087
6040
        i=`expr $i + 1`
6123
6076
# Try some XSI features
6124
6077
xsi_shell=no
6125
6078
( _lt_dummy="a/b/c"
6126
 
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6127
 
      = c,a/b,, \
 
6079
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
 
6080
      = c,a/b,b/c, \
6128
6081
    && eval 'test $(( 1 + 1 )) -eq 2 \
6129
6082
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6130
6083
  && xsi_shell=yes
6173
6126
 
6174
6127
 
6175
6128
 
 
6129
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
 
6130
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
 
6131
if test "${lt_cv_to_host_file_cmd+set}" = set; then :
 
6132
  $as_echo_n "(cached) " >&6
 
6133
else
 
6134
  case $host in
 
6135
  *-*-mingw* )
 
6136
    case $build in
 
6137
      *-*-mingw* ) # actually msys
 
6138
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
 
6139
        ;;
 
6140
      *-*-cygwin* )
 
6141
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
 
6142
        ;;
 
6143
      * ) # otherwise, assume *nix
 
6144
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
 
6145
        ;;
 
6146
    esac
 
6147
    ;;
 
6148
  *-*-cygwin* )
 
6149
    case $build in
 
6150
      *-*-mingw* ) # actually msys
 
6151
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
 
6152
        ;;
 
6153
      *-*-cygwin* )
 
6154
        lt_cv_to_host_file_cmd=func_convert_file_noop
 
6155
        ;;
 
6156
      * ) # otherwise, assume *nix
 
6157
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
 
6158
        ;;
 
6159
    esac
 
6160
    ;;
 
6161
  * ) # unhandled hosts (and "normal" native builds)
 
6162
    lt_cv_to_host_file_cmd=func_convert_file_noop
 
6163
    ;;
 
6164
esac
 
6165
 
 
6166
fi
 
6167
 
 
6168
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
6169
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
 
6170
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
 
6171
 
 
6172
 
 
6173
 
 
6174
 
 
6175
 
 
6176
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
 
6177
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
 
6178
if test "${lt_cv_to_tool_file_cmd+set}" = set; then :
 
6179
  $as_echo_n "(cached) " >&6
 
6180
else
 
6181
  #assume ordinary cross tools, or native build.
 
6182
lt_cv_to_tool_file_cmd=func_convert_file_noop
 
6183
case $host in
 
6184
  *-*-mingw* )
 
6185
    case $build in
 
6186
      *-*-mingw* ) # actually msys
 
6187
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
 
6188
        ;;
 
6189
    esac
 
6190
    ;;
 
6191
esac
 
6192
 
 
6193
fi
 
6194
 
 
6195
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
6196
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
 
6197
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
 
6198
 
 
6199
 
 
6200
 
 
6201
 
 
6202
 
6176
6203
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6177
6204
$as_echo_n "checking for $LD option to reload object files... " >&6; }
6178
6205
if test "${lt_cv_ld_reload_flag+set}" = set; then :
6189
6216
esac
6190
6217
reload_cmds='$LD$reload_flag -o $output$reload_objs'
6191
6218
case $host_os in
 
6219
  cygwin* | mingw* | pw32* | cegcc*)
 
6220
    if test "$GCC" != yes; then
 
6221
      reload_cmds=false
 
6222
    fi
 
6223
    ;;
6192
6224
  darwin*)
6193
6225
    if test "$GCC" = yes; then
6194
6226
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6352
6384
  # Base MSYS/MinGW do not provide the 'file' command needed by
6353
6385
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6354
6386
  # unless we find 'file', for example because we are cross-compiling.
6355
 
  if ( file / ) >/dev/null 2>&1; then
 
6387
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
 
6388
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6356
6389
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6357
6390
    lt_cv_file_magic_cmd='func_win32_libid'
6358
6391
  else
6359
 
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
6392
    # Keep this pattern in sync with the one in func_win32_libid.
 
6393
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6360
6394
    lt_cv_file_magic_cmd='$OBJDUMP -f'
6361
6395
  fi
6362
6396
  ;;
6363
6397
 
6364
 
cegcc)
 
6398
cegcc*)
6365
6399
  # use the weaker test based on 'objdump'. See mingw*.
6366
6400
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6367
6401
  lt_cv_file_magic_cmd='$OBJDUMP -f'
6391
6425
  lt_cv_deplibs_check_method=pass_all
6392
6426
  ;;
6393
6427
 
 
6428
haiku*)
 
6429
  lt_cv_deplibs_check_method=pass_all
 
6430
  ;;
 
6431
 
6394
6432
hpux10.20* | hpux11*)
6395
6433
  lt_cv_file_magic_cmd=/usr/bin/file
6396
6434
  case $host_cpu in
6399
6437
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6400
6438
    ;;
6401
6439
  hppa*64*)
6402
 
    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]'
 
6440
    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]'
6403
6441
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6404
6442
    ;;
6405
6443
  *)
6406
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
 
6444
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6407
6445
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6408
6446
    ;;
6409
6447
  esac
6506
6544
fi
6507
6545
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6508
6546
$as_echo "$lt_cv_deplibs_check_method" >&6; }
 
6547
 
 
6548
file_magic_glob=
 
6549
want_nocaseglob=no
 
6550
if test "$build" = "$host"; then
 
6551
  case $host_os in
 
6552
  mingw* | pw32*)
 
6553
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
 
6554
      want_nocaseglob=yes
 
6555
    else
 
6556
      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
 
6557
    fi
 
6558
    ;;
 
6559
  esac
 
6560
fi
 
6561
 
6509
6562
file_magic_cmd=$lt_cv_file_magic_cmd
6510
6563
deplibs_check_method=$lt_cv_deplibs_check_method
6511
6564
test -z "$deplibs_check_method" && deplibs_check_method=unknown
6521
6574
 
6522
6575
 
6523
6576
 
6524
 
if test -n "$ac_tool_prefix"; then
6525
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6526
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
 
6577
 
 
6578
 
 
6579
 
 
6580
 
 
6581
 
 
6582
 
 
6583
 
 
6584
 
 
6585
 
 
6586
 
 
6587
if test -n "$ac_tool_prefix"; then
 
6588
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 
6589
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 
6590
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6591
$as_echo_n "checking for $ac_word... " >&6; }
 
6592
if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
 
6593
  $as_echo_n "(cached) " >&6
 
6594
else
 
6595
  if test -n "$DLLTOOL"; then
 
6596
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 
6597
else
 
6598
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6599
for as_dir in $PATH
 
6600
do
 
6601
  IFS=$as_save_IFS
 
6602
  test -z "$as_dir" && as_dir=.
 
6603
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6604
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6605
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 
6606
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6607
    break 2
 
6608
  fi
 
6609
done
 
6610
  done
 
6611
IFS=$as_save_IFS
 
6612
 
 
6613
fi
 
6614
fi
 
6615
DLLTOOL=$ac_cv_prog_DLLTOOL
 
6616
if test -n "$DLLTOOL"; then
 
6617
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 
6618
$as_echo "$DLLTOOL" >&6; }
 
6619
else
 
6620
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6621
$as_echo "no" >&6; }
 
6622
fi
 
6623
 
 
6624
 
 
6625
fi
 
6626
if test -z "$ac_cv_prog_DLLTOOL"; then
 
6627
  ac_ct_DLLTOOL=$DLLTOOL
 
6628
  # Extract the first word of "dlltool", so it can be a program name with args.
 
6629
set dummy dlltool; ac_word=$2
 
6630
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6631
$as_echo_n "checking for $ac_word... " >&6; }
 
6632
if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
 
6633
  $as_echo_n "(cached) " >&6
 
6634
else
 
6635
  if test -n "$ac_ct_DLLTOOL"; then
 
6636
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 
6637
else
 
6638
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6639
for as_dir in $PATH
 
6640
do
 
6641
  IFS=$as_save_IFS
 
6642
  test -z "$as_dir" && as_dir=.
 
6643
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6644
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6645
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 
6646
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6647
    break 2
 
6648
  fi
 
6649
done
 
6650
  done
 
6651
IFS=$as_save_IFS
 
6652
 
 
6653
fi
 
6654
fi
 
6655
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 
6656
if test -n "$ac_ct_DLLTOOL"; then
 
6657
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 
6658
$as_echo "$ac_ct_DLLTOOL" >&6; }
 
6659
else
 
6660
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6661
$as_echo "no" >&6; }
 
6662
fi
 
6663
 
 
6664
  if test "x$ac_ct_DLLTOOL" = x; then
 
6665
    DLLTOOL="false"
 
6666
  else
 
6667
    case $cross_compiling:$ac_tool_warned in
 
6668
yes:)
 
6669
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6670
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6671
ac_tool_warned=yes ;;
 
6672
esac
 
6673
    DLLTOOL=$ac_ct_DLLTOOL
 
6674
  fi
 
6675
else
 
6676
  DLLTOOL="$ac_cv_prog_DLLTOOL"
 
6677
fi
 
6678
 
 
6679
test -z "$DLLTOOL" && DLLTOOL=dlltool
 
6680
 
 
6681
 
 
6682
 
 
6683
 
 
6684
 
 
6685
 
 
6686
 
 
6687
 
 
6688
 
 
6689
 
 
6690
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
 
6691
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
 
6692
if test "${lt_cv_sharedlib_from_linklib_cmd+set}" = set; then :
 
6693
  $as_echo_n "(cached) " >&6
 
6694
else
 
6695
  lt_cv_sharedlib_from_linklib_cmd='unknown'
 
6696
 
 
6697
case $host_os in
 
6698
cygwin* | mingw* | pw32* | cegcc*)
 
6699
  # two different shell functions defined in ltmain.sh
 
6700
  # decide which to use based on capabilities of $DLLTOOL
 
6701
  case `$DLLTOOL --help 2>&1` in
 
6702
  *--identify-strict*)
 
6703
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
 
6704
    ;;
 
6705
  *)
 
6706
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
 
6707
    ;;
 
6708
  esac
 
6709
  ;;
 
6710
*)
 
6711
  # fallback: assume linklib IS sharedlib
 
6712
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
 
6713
  ;;
 
6714
esac
 
6715
 
 
6716
fi
 
6717
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
 
6718
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
 
6719
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
 
6720
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
 
6721
 
 
6722
 
 
6723
 
 
6724
 
 
6725
 
 
6726
 
 
6727
 
 
6728
if test -n "$ac_tool_prefix"; then
 
6729
  for ac_prog in ar
 
6730
  do
 
6731
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
6732
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6527
6733
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6528
6734
$as_echo_n "checking for $ac_word... " >&6; }
6529
6735
if test "${ac_cv_prog_AR+set}" = set; then :
6539
6745
  test -z "$as_dir" && as_dir=.
6540
6746
    for ac_exec_ext in '' $ac_executable_extensions; do
6541
6747
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6542
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
6748
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6543
6749
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6544
6750
    break 2
6545
6751
  fi
6559
6765
fi
6560
6766
 
6561
6767
 
 
6768
    test -n "$AR" && break
 
6769
  done
6562
6770
fi
6563
 
if test -z "$ac_cv_prog_AR"; then
 
6771
if test -z "$AR"; then
6564
6772
  ac_ct_AR=$AR
6565
 
  # Extract the first word of "ar", so it can be a program name with args.
6566
 
set dummy ar; ac_word=$2
 
6773
  for ac_prog in ar
 
6774
do
 
6775
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
6776
set dummy $ac_prog; ac_word=$2
6567
6777
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6568
6778
$as_echo_n "checking for $ac_word... " >&6; }
6569
6779
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6579
6789
  test -z "$as_dir" && as_dir=.
6580
6790
    for ac_exec_ext in '' $ac_executable_extensions; do
6581
6791
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6582
 
    ac_cv_prog_ac_ct_AR="ar"
 
6792
    ac_cv_prog_ac_ct_AR="$ac_prog"
6583
6793
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6584
6794
    break 2
6585
6795
  fi
6598
6808
$as_echo "no" >&6; }
6599
6809
fi
6600
6810
 
 
6811
 
 
6812
  test -n "$ac_ct_AR" && break
 
6813
done
 
6814
 
6601
6815
  if test "x$ac_ct_AR" = x; then
6602
6816
    AR="false"
6603
6817
  else
6609
6823
esac
6610
6824
    AR=$ac_ct_AR
6611
6825
  fi
6612
 
else
6613
 
  AR="$ac_cv_prog_AR"
6614
 
fi
6615
 
 
6616
 
test -z "$AR" && AR=ar
6617
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
6618
 
 
6619
 
 
6620
 
 
6621
 
 
 
6826
fi
 
6827
 
 
6828
: ${AR=ar}
 
6829
: ${AR_FLAGS=cru}
 
6830
 
 
6831
 
 
6832
 
 
6833
 
 
6834
 
 
6835
 
 
6836
 
 
6837
 
 
6838
 
 
6839
 
 
6840
 
 
6841
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
 
6842
$as_echo_n "checking for archiver @FILE support... " >&6; }
 
6843
if test "${lt_cv_ar_at_file+set}" = set; then :
 
6844
  $as_echo_n "(cached) " >&6
 
6845
else
 
6846
  lt_cv_ar_at_file=no
 
6847
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6848
/* end confdefs.h.  */
 
6849
 
 
6850
int
 
6851
main ()
 
6852
{
 
6853
 
 
6854
  ;
 
6855
  return 0;
 
6856
}
 
6857
_ACEOF
 
6858
if ac_fn_c_try_compile "$LINENO"; then :
 
6859
  echo conftest.$ac_objext > conftest.lst
 
6860
      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
 
6861
      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
6862
  (eval $lt_ar_try) 2>&5
 
6863
  ac_status=$?
 
6864
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6865
  test $ac_status = 0; }
 
6866
      if test "$ac_status" -eq 0; then
 
6867
        # Ensure the archiver fails upon bogus file names.
 
6868
        rm -f conftest.$ac_objext libconftest.a
 
6869
        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
6870
  (eval $lt_ar_try) 2>&5
 
6871
  ac_status=$?
 
6872
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6873
  test $ac_status = 0; }
 
6874
        if test "$ac_status" -ne 0; then
 
6875
          lt_cv_ar_at_file=@
 
6876
        fi
 
6877
      fi
 
6878
      rm -f conftest.* libconftest.a
 
6879
 
 
6880
fi
 
6881
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6882
 
 
6883
fi
 
6884
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
 
6885
$as_echo "$lt_cv_ar_at_file" >&6; }
 
6886
 
 
6887
if test "x$lt_cv_ar_at_file" = xno; then
 
6888
  archiver_list_spec=
 
6889
else
 
6890
  archiver_list_spec=$lt_cv_ar_at_file
 
6891
fi
6622
6892
 
6623
6893
 
6624
6894
 
6841
7111
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6842
7112
fi
6843
7113
 
 
7114
case $host_os in
 
7115
  darwin*)
 
7116
    lock_old_archive_extraction=yes ;;
 
7117
  *)
 
7118
    lock_old_archive_extraction=no ;;
 
7119
esac
 
7120
 
 
7121
 
 
7122
 
 
7123
 
 
7124
 
 
7125
 
6844
7126
 
6845
7127
 
6846
7128
 
6948
7230
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6949
7231
 
6950
7232
# Transform an extracted symbol line into symbol name and symbol address
6951
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6952
 
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
 
7233
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
7234
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
6953
7235
 
6954
7236
# Handle CRLF in mingw tool chain
6955
7237
opt_cr=
6985
7267
  else
6986
7268
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6987
7269
  fi
 
7270
  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6988
7271
 
6989
7272
  # Check to see that the pipe works correctly.
6990
7273
  pipe_works=no
7010
7293
  test $ac_status = 0; }; then
7011
7294
    # Now try to grab the symbols.
7012
7295
    nlist=conftest.nm
7013
 
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
7014
 
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
 
7296
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
 
7297
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7015
7298
  ac_status=$?
7016
7299
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7017
7300
  test $ac_status = 0; } && test -s "$nlist"; then
7026
7309
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7027
7310
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7028
7311
          cat <<_LT_EOF > conftest.$ac_ext
 
7312
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
 
7313
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
 
7314
/* DATA imports from DLLs on WIN32 con't be const, because runtime
 
7315
   relocations are performed -- see ld's documentation on pseudo-relocs.  */
 
7316
# define LT_DLSYM_CONST
 
7317
#elif defined(__osf__)
 
7318
/* This system does not cope well with relocations in const data.  */
 
7319
# define LT_DLSYM_CONST
 
7320
#else
 
7321
# define LT_DLSYM_CONST const
 
7322
#endif
 
7323
 
7029
7324
#ifdef __cplusplus
7030
7325
extern "C" {
7031
7326
#endif
7037
7332
          cat <<_LT_EOF >> conftest.$ac_ext
7038
7333
 
7039
7334
/* The mapping between symbol names and symbols.  */
7040
 
const struct {
 
7335
LT_DLSYM_CONST struct {
7041
7336
  const char *name;
7042
7337
  void       *address;
7043
7338
}
7063
7358
_LT_EOF
7064
7359
          # Now try linking the two files.
7065
7360
          mv conftest.$ac_objext conftstm.$ac_objext
7066
 
          lt_save_LIBS="$LIBS"
7067
 
          lt_save_CFLAGS="$CFLAGS"
 
7361
          lt_globsym_save_LIBS=$LIBS
 
7362
          lt_globsym_save_CFLAGS=$CFLAGS
7068
7363
          LIBS="conftstm.$ac_objext"
7069
7364
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7070
7365
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7074
7369
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7075
7370
            pipe_works=yes
7076
7371
          fi
7077
 
          LIBS="$lt_save_LIBS"
7078
 
          CFLAGS="$lt_save_CFLAGS"
 
7372
          LIBS=$lt_globsym_save_LIBS
 
7373
          CFLAGS=$lt_globsym_save_CFLAGS
7079
7374
        else
7080
7375
          echo "cannot find nm_test_func in $nlist" >&5
7081
7376
        fi
7112
7407
$as_echo "ok" >&6; }
7113
7408
fi
7114
7409
 
7115
 
 
7116
 
 
7117
 
 
7118
 
 
7119
 
 
7120
 
 
7121
 
 
7122
 
 
7123
 
 
7124
 
 
7125
 
 
7126
 
 
7127
 
 
7128
 
 
7129
 
 
7130
 
 
 
7410
# Response file support.
 
7411
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
7412
  nm_file_list_spec='@'
 
7413
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
 
7414
  nm_file_list_spec='@'
 
7415
fi
 
7416
 
 
7417
 
 
7418
 
 
7419
 
 
7420
 
 
7421
 
 
7422
 
 
7423
 
 
7424
 
 
7425
 
 
7426
 
 
7427
 
 
7428
 
 
7429
 
 
7430
 
 
7431
 
 
7432
 
 
7433
 
 
7434
 
 
7435
 
 
7436
 
 
7437
 
 
7438
 
 
7439
 
 
7440
 
 
7441
 
 
7442
 
 
7443
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
 
7444
$as_echo_n "checking for sysroot... " >&6; }
 
7445
 
 
7446
# Check whether --with-sysroot was given.
 
7447
if test "${with_sysroot+set}" = set; then :
 
7448
  withval=$with_sysroot;
 
7449
else
 
7450
  with_sysroot=no
 
7451
fi
 
7452
 
 
7453
 
 
7454
lt_sysroot=
 
7455
case ${with_sysroot} in #(
 
7456
 yes)
 
7457
   if test "$GCC" = yes; then
 
7458
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
 
7459
   fi
 
7460
   ;; #(
 
7461
 /*)
 
7462
   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
 
7463
   ;; #(
 
7464
 no|'')
 
7465
   ;; #(
 
7466
 *)
 
7467
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
 
7468
$as_echo "${with_sysroot}" >&6; }
 
7469
   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
 
7470
   ;;
 
7471
esac
 
7472
 
 
7473
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 
7474
$as_echo "${lt_sysroot:-no}" >&6; }
7131
7475
 
7132
7476
 
7133
7477
 
7164
7508
  ;;
7165
7509
*-*-irix6*)
7166
7510
  # Find out which ABI we are using.
7167
 
  echo '#line 7167 "configure"' > conftest.$ac_ext
 
7511
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7168
7512
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7169
7513
  (eval $ac_compile) 2>&5
7170
7514
  ac_status=$?
7326
7670
 
7327
7671
need_locks="$enable_libtool_lock"
7328
7672
 
 
7673
if test -n "$ac_tool_prefix"; then
 
7674
  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
 
7675
set dummy ${ac_tool_prefix}mt; ac_word=$2
 
7676
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7677
$as_echo_n "checking for $ac_word... " >&6; }
 
7678
if test "${ac_cv_prog_MANIFEST_TOOL+set}" = set; then :
 
7679
  $as_echo_n "(cached) " >&6
 
7680
else
 
7681
  if test -n "$MANIFEST_TOOL"; then
 
7682
  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
 
7683
else
 
7684
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7685
for as_dir in $PATH
 
7686
do
 
7687
  IFS=$as_save_IFS
 
7688
  test -z "$as_dir" && as_dir=.
 
7689
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7690
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7691
    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
 
7692
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7693
    break 2
 
7694
  fi
 
7695
done
 
7696
  done
 
7697
IFS=$as_save_IFS
 
7698
 
 
7699
fi
 
7700
fi
 
7701
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
 
7702
if test -n "$MANIFEST_TOOL"; then
 
7703
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
 
7704
$as_echo "$MANIFEST_TOOL" >&6; }
 
7705
else
 
7706
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7707
$as_echo "no" >&6; }
 
7708
fi
 
7709
 
 
7710
 
 
7711
fi
 
7712
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
 
7713
  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
 
7714
  # Extract the first word of "mt", so it can be a program name with args.
 
7715
set dummy mt; ac_word=$2
 
7716
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7717
$as_echo_n "checking for $ac_word... " >&6; }
 
7718
if test "${ac_cv_prog_ac_ct_MANIFEST_TOOL+set}" = set; then :
 
7719
  $as_echo_n "(cached) " >&6
 
7720
else
 
7721
  if test -n "$ac_ct_MANIFEST_TOOL"; then
 
7722
  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
 
7723
else
 
7724
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7725
for as_dir in $PATH
 
7726
do
 
7727
  IFS=$as_save_IFS
 
7728
  test -z "$as_dir" && as_dir=.
 
7729
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7730
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7731
    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
 
7732
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7733
    break 2
 
7734
  fi
 
7735
done
 
7736
  done
 
7737
IFS=$as_save_IFS
 
7738
 
 
7739
fi
 
7740
fi
 
7741
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
 
7742
if test -n "$ac_ct_MANIFEST_TOOL"; then
 
7743
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
 
7744
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
 
7745
else
 
7746
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7747
$as_echo "no" >&6; }
 
7748
fi
 
7749
 
 
7750
  if test "x$ac_ct_MANIFEST_TOOL" = x; then
 
7751
    MANIFEST_TOOL=":"
 
7752
  else
 
7753
    case $cross_compiling:$ac_tool_warned in
 
7754
yes:)
 
7755
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7756
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7757
ac_tool_warned=yes ;;
 
7758
esac
 
7759
    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
 
7760
  fi
 
7761
else
 
7762
  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
 
7763
fi
 
7764
 
 
7765
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
 
7766
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
 
7767
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
 
7768
if test "${lt_cv_path_mainfest_tool+set}" = set; then :
 
7769
  $as_echo_n "(cached) " >&6
 
7770
else
 
7771
  lt_cv_path_mainfest_tool=no
 
7772
  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
 
7773
  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
 
7774
  cat conftest.err >&5
 
7775
  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
 
7776
    lt_cv_path_mainfest_tool=yes
 
7777
  fi
 
7778
  rm -f conftest*
 
7779
fi
 
7780
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
 
7781
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
 
7782
if test "x$lt_cv_path_mainfest_tool" != xyes; then
 
7783
  MANIFEST_TOOL=:
 
7784
fi
 
7785
 
 
7786
 
 
7787
 
 
7788
 
 
7789
 
7329
7790
 
7330
7791
  case $host_os in
7331
7792
    rhapsody* | darwin*)
7876
8337
fi
7877
8338
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7878
8339
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
8340
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
 
8341
$as_echo_n "checking for -force_load linker flag... " >&6; }
 
8342
if test "${lt_cv_ld_force_load+set}" = set; then :
 
8343
  $as_echo_n "(cached) " >&6
 
8344
else
 
8345
  lt_cv_ld_force_load=no
 
8346
      cat > conftest.c << _LT_EOF
 
8347
int forced_loaded() { return 2;}
 
8348
_LT_EOF
 
8349
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
 
8350
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
 
8351
      echo "$AR cru libconftest.a conftest.o" >&5
 
8352
      $AR cru libconftest.a conftest.o 2>&5
 
8353
      echo "$RANLIB libconftest.a" >&5
 
8354
      $RANLIB libconftest.a 2>&5
 
8355
      cat > conftest.c << _LT_EOF
 
8356
int main() { return 0;}
 
8357
_LT_EOF
 
8358
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
 
8359
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
 
8360
      _lt_result=$?
 
8361
      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
 
8362
        lt_cv_ld_force_load=yes
 
8363
      else
 
8364
        cat conftest.err >&5
 
8365
      fi
 
8366
        rm -f conftest.err libconftest.a conftest conftest.c
 
8367
        rm -rf conftest.dSYM
 
8368
 
 
8369
fi
 
8370
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
 
8371
$as_echo "$lt_cv_ld_force_load" >&6; }
7879
8372
    case $host_os in
7880
8373
    rhapsody* | darwin1.[012])
7881
8374
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7903
8396
    else
7904
8397
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7905
8398
    fi
7906
 
    if test "$DSYMUTIL" != ":"; then
 
8399
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7907
8400
      _lt_dsymutil='~$DSYMUTIL $lib || :'
7908
8401
    else
7909
8402
      _lt_dsymutil=
7926
8419
 
7927
8420
 
7928
8421
 
 
8422
 
 
8423
 
7929
8424
# Set options
7930
8425
# Check whether --enable-static was given.
7931
8426
if test "${enable_static+set}" = set; then :
8077
8572
 
8078
8573
 
8079
8574
 
 
8575
 
8080
8576
test -z "$LN_S" && LN_S="ln -s"
8081
8577
 
8082
8578
 
8126
8622
 
8127
8623
 
8128
8624
 
8129
 
 
8130
 
 
8131
 
 
8132
 
 
8133
 
 
8134
 
 
8135
 
 
8136
 
 
8137
 
 
8138
 
 
8139
 
 
8140
 
 
8141
 
 
8142
8625
case $host_os in
8143
8626
aix3*)
8144
8627
  # AIX sometimes has problems with the GCC collect2 program.  For some
8151
8634
  ;;
8152
8635
esac
8153
8636
 
8154
 
# Sed substitution that helps us do robust quoting.  It backslashifies
8155
 
# metacharacters that are still active within double-quoted strings.
8156
 
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8157
 
 
8158
 
# Same as above, but do not quote variable references.
8159
 
double_quote_subst='s/\(["`\\]\)/\\\1/g'
8160
 
 
8161
 
# Sed substitution to delay expansion of an escaped shell variable in a
8162
 
# double_quote_subst'ed string.
8163
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8164
 
 
8165
 
# Sed substitution to delay expansion of an escaped single quote.
8166
 
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8167
 
 
8168
 
# Sed substitution to avoid accidental globbing in evaled expressions
8169
 
no_glob_subst='s/\*/\\\*/g'
8170
 
 
8171
8637
# Global variables:
8172
8638
ofile=libtool
8173
8639
can_build_shared=yes
8196
8662
    *) break;;
8197
8663
  esac
8198
8664
done
8199
 
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
8665
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8200
8666
 
8201
8667
 
8202
8668
# Only perform the check for file, if the check method requires it
8405
8871
lt_prog_compiler_no_builtin_flag=
8406
8872
 
8407
8873
if test "$GCC" = yes; then
8408
 
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
 
8874
  case $cc_basename in
 
8875
  nvcc*)
 
8876
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
 
8877
  *)
 
8878
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
 
8879
  esac
8409
8880
 
8410
8881
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8411
8882
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8425
8896
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8426
8897
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8427
8898
   -e 's:$: $lt_compiler_flag:'`
8428
 
   (eval echo "\"\$as_me:8428: $lt_compile\"" >&5)
 
8899
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8429
8900
   (eval "$lt_compile" 2>conftest.err)
8430
8901
   ac_status=$?
8431
8902
   cat conftest.err >&5
8432
 
   echo "$as_me:8432: \$? = $ac_status" >&5
 
8903
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8433
8904
   if (exit $ac_status) && test -s "$ac_outfile"; then
8434
8905
     # The compiler can only warn and ignore the option if not recognized
8435
8906
     # So say no if there are warnings other than the usual output.
8436
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8907
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8437
8908
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8438
8909
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8439
8910
       lt_cv_prog_compiler_rtti_exceptions=yes
8462
8933
lt_prog_compiler_pic=
8463
8934
lt_prog_compiler_static=
8464
8935
 
8465
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8466
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8467
8936
 
8468
8937
  if test "$GCC" = yes; then
8469
8938
    lt_prog_compiler_wl='-Wl,'
8511
8980
      lt_prog_compiler_pic='-fno-common'
8512
8981
      ;;
8513
8982
 
 
8983
    haiku*)
 
8984
      # PIC is the default for Haiku.
 
8985
      # The "-static" flag exists, but is broken.
 
8986
      lt_prog_compiler_static=
 
8987
      ;;
 
8988
 
8514
8989
    hpux*)
8515
8990
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8516
8991
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8553
9028
      lt_prog_compiler_pic='-fPIC'
8554
9029
      ;;
8555
9030
    esac
 
9031
 
 
9032
    case $cc_basename in
 
9033
    nvcc*) # Cuda Compiler Driver 2.2
 
9034
      lt_prog_compiler_wl='-Xlinker '
 
9035
      lt_prog_compiler_pic='-Xcompiler -fPIC'
 
9036
      ;;
 
9037
    esac
8556
9038
  else
8557
9039
    # PORTME Check for flag to pass linker flags through the system compiler.
8558
9040
    case $host_os in
8615
9097
        lt_prog_compiler_pic='--shared'
8616
9098
        lt_prog_compiler_static='--static'
8617
9099
        ;;
8618
 
      pgcc* | pgf77* | pgf90* | pgf95*)
 
9100
      nagfor*)
 
9101
        # NAG Fortran compiler
 
9102
        lt_prog_compiler_wl='-Wl,-Wl,,'
 
9103
        lt_prog_compiler_pic='-PIC'
 
9104
        lt_prog_compiler_static='-Bstatic'
 
9105
        ;;
 
9106
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8619
9107
        # Portland Group compilers (*not* the Pentium gcc compiler,
8620
9108
        # which looks to be a dead project)
8621
9109
        lt_prog_compiler_wl='-Wl,'
8627
9115
        # All Alpha code is PIC.
8628
9116
        lt_prog_compiler_static='-non_shared'
8629
9117
        ;;
8630
 
      xl*)
8631
 
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
9118
      xl* | bgxl* | bgf* | mpixl*)
 
9119
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8632
9120
        lt_prog_compiler_wl='-Wl,'
8633
9121
        lt_prog_compiler_pic='-qpic'
8634
9122
        lt_prog_compiler_static='-qstaticlink'
8635
9123
        ;;
8636
9124
      *)
8637
9125
        case `$CC -V 2>&1 | sed 5q` in
 
9126
        *Sun\ F* | *Sun*Fortran*)
 
9127
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
9128
          lt_prog_compiler_pic='-KPIC'
 
9129
          lt_prog_compiler_static='-Bstatic'
 
9130
          lt_prog_compiler_wl=''
 
9131
          ;;
8638
9132
        *Sun\ C*)
8639
9133
          # Sun C 5.9
8640
9134
          lt_prog_compiler_pic='-KPIC'
8641
9135
          lt_prog_compiler_static='-Bstatic'
8642
9136
          lt_prog_compiler_wl='-Wl,'
8643
9137
          ;;
8644
 
        *Sun\ F*)
8645
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8646
 
          lt_prog_compiler_pic='-KPIC'
8647
 
          lt_prog_compiler_static='-Bstatic'
8648
 
          lt_prog_compiler_wl=''
8649
 
          ;;
8650
9138
        esac
8651
9139
        ;;
8652
9140
      esac
8677
9165
      lt_prog_compiler_pic='-KPIC'
8678
9166
      lt_prog_compiler_static='-Bstatic'
8679
9167
      case $cc_basename in
8680
 
      f77* | f90* | f95*)
 
9168
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8681
9169
        lt_prog_compiler_wl='-Qoption ld ';;
8682
9170
      *)
8683
9171
        lt_prog_compiler_wl='-Wl,';;
8734
9222
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8735
9223
    ;;
8736
9224
esac
8737
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8738
 
$as_echo "$lt_prog_compiler_pic" >&6; }
8739
 
 
8740
 
 
8741
 
 
8742
 
 
8743
 
 
 
9225
 
 
9226
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
9227
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
9228
if test "${lt_cv_prog_compiler_pic+set}" = set; then :
 
9229
  $as_echo_n "(cached) " >&6
 
9230
else
 
9231
  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
 
9232
fi
 
9233
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
 
9234
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
 
9235
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8744
9236
 
8745
9237
#
8746
9238
# Check to make sure the PIC flag actually works.
8764
9256
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8765
9257
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8766
9258
   -e 's:$: $lt_compiler_flag:'`
8767
 
   (eval echo "\"\$as_me:8767: $lt_compile\"" >&5)
 
9259
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8768
9260
   (eval "$lt_compile" 2>conftest.err)
8769
9261
   ac_status=$?
8770
9262
   cat conftest.err >&5
8771
 
   echo "$as_me:8771: \$? = $ac_status" >&5
 
9263
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8772
9264
   if (exit $ac_status) && test -s "$ac_outfile"; then
8773
9265
     # The compiler can only warn and ignore the option if not recognized
8774
9266
     # So say no if there are warnings other than the usual output.
8775
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
9267
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8776
9268
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8777
9269
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8778
9270
       lt_cv_prog_compiler_pic_works=yes
8801
9293
 
8802
9294
 
8803
9295
 
 
9296
 
 
9297
 
 
9298
 
 
9299
 
 
9300
 
8804
9301
#
8805
9302
# Check to make sure the static flag actually works.
8806
9303
#
8820
9317
     if test -s conftest.err; then
8821
9318
       # Append any errors to the config.log.
8822
9319
       cat conftest.err 1>&5
8823
 
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
9320
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8824
9321
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8825
9322
       if diff conftest.exp conftest.er2 >/dev/null; then
8826
9323
         lt_cv_prog_compiler_static_works=yes
8869
9366
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8870
9367
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8871
9368
   -e 's:$: $lt_compiler_flag:'`
8872
 
   (eval echo "\"\$as_me:8872: $lt_compile\"" >&5)
 
9369
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8873
9370
   (eval "$lt_compile" 2>out/conftest.err)
8874
9371
   ac_status=$?
8875
9372
   cat out/conftest.err >&5
8876
 
   echo "$as_me:8876: \$? = $ac_status" >&5
 
9373
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8877
9374
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8878
9375
   then
8879
9376
     # The compiler can only warn and ignore the option if not recognized
8880
9377
     # So say no if there are warnings
8881
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
9378
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8882
9379
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8883
9380
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8884
9381
       lt_cv_prog_compiler_c_o=yes
8924
9421
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8925
9422
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8926
9423
   -e 's:$: $lt_compiler_flag:'`
8927
 
   (eval echo "\"\$as_me:8927: $lt_compile\"" >&5)
 
9424
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8928
9425
   (eval "$lt_compile" 2>out/conftest.err)
8929
9426
   ac_status=$?
8930
9427
   cat out/conftest.err >&5
8931
 
   echo "$as_me:8931: \$? = $ac_status" >&5
 
9428
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8932
9429
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8933
9430
   then
8934
9431
     # The compiler can only warn and ignore the option if not recognized
8935
9432
     # So say no if there are warnings
8936
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
9433
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8937
9434
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8938
9435
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8939
9436
       lt_cv_prog_compiler_c_o=yes
9043
9540
  openbsd*)
9044
9541
    with_gnu_ld=no
9045
9542
    ;;
9046
 
  linux* | k*bsd*-gnu)
 
9543
  linux* | k*bsd*-gnu | gnu*)
9047
9544
    link_all_deplibs=no
9048
9545
    ;;
9049
9546
  esac
9050
9547
 
9051
9548
  ld_shlibs=yes
 
9549
 
 
9550
  # On some targets, GNU ld is compatible enough with the native linker
 
9551
  # that we're better off using the native interface for both.
 
9552
  lt_use_gnu_ld_interface=no
9052
9553
  if test "$with_gnu_ld" = yes; then
 
9554
    case $host_os in
 
9555
      aix*)
 
9556
        # The AIX port of GNU ld has always aspired to compatibility
 
9557
        # with the native linker.  However, as the warning in the GNU ld
 
9558
        # block says, versions before 2.19.5* couldn't really create working
 
9559
        # shared libraries, regardless of the interface used.
 
9560
        case `$LD -v 2>&1` in
 
9561
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
 
9562
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
 
9563
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
 
9564
          *)
 
9565
            lt_use_gnu_ld_interface=yes
 
9566
            ;;
 
9567
        esac
 
9568
        ;;
 
9569
      *)
 
9570
        lt_use_gnu_ld_interface=yes
 
9571
        ;;
 
9572
    esac
 
9573
  fi
 
9574
 
 
9575
  if test "$lt_use_gnu_ld_interface" = yes; then
9053
9576
    # If archive_cmds runs LD, not CC, wlarc should be empty
9054
9577
    wlarc='${wl}'
9055
9578
 
9083
9606
        ld_shlibs=no
9084
9607
        cat <<_LT_EOF 1>&2
9085
9608
 
9086
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
9609
*** Warning: the GNU linker, at least up to release 2.19, is reported
9087
9610
*** to be unable to reliably create shared libraries on AIX.
9088
9611
*** Therefore, libtool is disabling shared libraries support.  If you
9089
 
*** really care for shared libraries, you may want to modify your PATH
9090
 
*** so that a non-GNU linker is found, and then restart.
 
9612
*** really care for shared libraries, you may want to install binutils
 
9613
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
 
9614
*** You will then need to restart the configuration process.
9091
9615
 
9092
9616
_LT_EOF
9093
9617
      fi
9123
9647
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9124
9648
      # as there is no search path for DLLs.
9125
9649
      hardcode_libdir_flag_spec='-L$libdir'
 
9650
      export_dynamic_flag_spec='${wl}--export-all-symbols'
9126
9651
      allow_undefined_flag=unsupported
9127
9652
      always_export_symbols=no
9128
9653
      enable_shared_with_static_runtimes=yes
9129
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
9654
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
 
9655
      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9130
9656
 
9131
9657
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9132
9658
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9144
9670
      fi
9145
9671
      ;;
9146
9672
 
 
9673
    haiku*)
 
9674
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9675
      link_all_deplibs=yes
 
9676
      ;;
 
9677
 
9147
9678
    interix[3-9]*)
9148
9679
      hardcode_direct=no
9149
9680
      hardcode_shlibpath_var=no
9169
9700
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9170
9701
         && test "$tmp_diet" = no
9171
9702
      then
9172
 
        tmp_addflag=
 
9703
        tmp_addflag=' $pic_flag'
9173
9704
        tmp_sharedflag='-shared'
9174
9705
        case $cc_basename,$host_cpu in
9175
9706
        pgcc*)                          # Portland Group C compiler
9176
 
          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'
 
9707
          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'
9177
9708
          tmp_addflag=' $pic_flag'
9178
9709
          ;;
9179
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
9180
 
          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'
 
9710
        pgf77* | pgf90* | pgf95* | pgfortran*)
 
9711
                                        # Portland Group f77 and f90 compilers
 
9712
          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'
9181
9713
          tmp_addflag=' $pic_flag -Mnomain' ;;
9182
9714
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9183
9715
          tmp_addflag=' -i_dynamic' ;;
9188
9720
        lf95*)                          # Lahey Fortran 8.1
9189
9721
          whole_archive_flag_spec=
9190
9722
          tmp_sharedflag='--shared' ;;
9191
 
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
9723
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9192
9724
          tmp_sharedflag='-qmkshrobj'
9193
9725
          tmp_addflag= ;;
 
9726
        nvcc*)  # Cuda Compiler Driver 2.2
 
9727
          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'
 
9728
          compiler_needs_object=yes
 
9729
          ;;
9194
9730
        esac
9195
9731
        case `$CC -V 2>&1 | sed 5q` in
9196
9732
        *Sun\ C*)                       # Sun C 5.9
9197
 
          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'
 
9733
          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'
9198
9734
          compiler_needs_object=yes
9199
9735
          tmp_sharedflag='-G' ;;
9200
9736
        *Sun\ F*)                       # Sun Fortran 8.3
9210
9746
        fi
9211
9747
 
9212
9748
        case $cc_basename in
9213
 
        xlf*)
 
9749
        xlf* | bgf* | bgxlf* | mpixlf*)
9214
9750
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9215
9751
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9216
9752
          hardcode_libdir_flag_spec=
9217
9753
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
9218
 
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
9754
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9219
9755
          if test "x$supports_anon_versioning" = xyes; then
9220
9756
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9221
9757
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9222
9758
              echo "local: *; };" >> $output_objdir/$libname.ver~
9223
 
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
9759
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9224
9760
          fi
9225
9761
          ;;
9226
9762
        esac
9234
9770
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9235
9771
        wlarc=
9236
9772
      else
9237
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9238
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9773
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9774
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9239
9775
      fi
9240
9776
      ;;
9241
9777
 
9253
9789
 
9254
9790
_LT_EOF
9255
9791
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9256
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9257
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9792
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9793
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9258
9794
      else
9259
9795
        ld_shlibs=no
9260
9796
      fi
9300
9836
 
9301
9837
    *)
9302
9838
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9303
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9304
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9839
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9840
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9305
9841
      else
9306
9842
        ld_shlibs=no
9307
9843
      fi
9341
9877
      else
9342
9878
        # If we're using GNU nm, then we don't want the "-C" option.
9343
9879
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
9880
        # Also, AIX nm treats weak defined symbols like other global
 
9881
        # defined symbols, whereas GNU nm marks them as "W".
9344
9882
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9345
 
          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'
 
9883
          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'
9346
9884
        else
9347
9885
          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'
9348
9886
        fi
9430
9968
        allow_undefined_flag='-berok'
9431
9969
        # Determine the default libpath from the value encoded in an
9432
9970
        # empty executable.
9433
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9971
        if test "${lt_cv_aix_libpath+set}" = set; then
 
9972
  aix_libpath=$lt_cv_aix_libpath
 
9973
else
 
9974
  if test "${lt_cv_aix_libpath_+set}" = set; then :
 
9975
  $as_echo_n "(cached) " >&6
 
9976
else
 
9977
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9434
9978
/* end confdefs.h.  */
9435
9979
 
9436
9980
int
9443
9987
_ACEOF
9444
9988
if ac_fn_c_try_link "$LINENO"; then :
9445
9989
 
9446
 
lt_aix_libpath_sed='
9447
 
    /Import File Strings/,/^$/ {
9448
 
        /^0/ {
9449
 
            s/^0  *\(.*\)$/\1/
9450
 
            p
9451
 
        }
9452
 
    }'
9453
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9454
 
# Check for a 64-bit object if we didn't find anything.
9455
 
if test -z "$aix_libpath"; then
9456
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9457
 
fi
 
9990
  lt_aix_libpath_sed='
 
9991
      /Import File Strings/,/^$/ {
 
9992
          /^0/ {
 
9993
              s/^0  *\([^ ]*\) *$/\1/
 
9994
              p
 
9995
          }
 
9996
      }'
 
9997
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9998
  # Check for a 64-bit object if we didn't find anything.
 
9999
  if test -z "$lt_cv_aix_libpath_"; then
 
10000
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
10001
  fi
9458
10002
fi
9459
10003
rm -f core conftest.err conftest.$ac_objext \
9460
10004
    conftest$ac_exeext conftest.$ac_ext
9461
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
10005
  if test -z "$lt_cv_aix_libpath_"; then
 
10006
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
10007
  fi
 
10008
 
 
10009
fi
 
10010
 
 
10011
  aix_libpath=$lt_cv_aix_libpath_
 
10012
fi
9462
10013
 
9463
10014
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9464
 
        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"
 
10015
        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"
9465
10016
      else
9466
10017
        if test "$host_cpu" = ia64; then
9467
10018
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9470
10021
        else
9471
10022
         # Determine the default libpath from the value encoded in an
9472
10023
         # empty executable.
9473
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10024
         if test "${lt_cv_aix_libpath+set}" = set; then
 
10025
  aix_libpath=$lt_cv_aix_libpath
 
10026
else
 
10027
  if test "${lt_cv_aix_libpath_+set}" = set; then :
 
10028
  $as_echo_n "(cached) " >&6
 
10029
else
 
10030
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9474
10031
/* end confdefs.h.  */
9475
10032
 
9476
10033
int
9483
10040
_ACEOF
9484
10041
if ac_fn_c_try_link "$LINENO"; then :
9485
10042
 
9486
 
lt_aix_libpath_sed='
9487
 
    /Import File Strings/,/^$/ {
9488
 
        /^0/ {
9489
 
            s/^0  *\(.*\)$/\1/
9490
 
            p
9491
 
        }
9492
 
    }'
9493
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9494
 
# Check for a 64-bit object if we didn't find anything.
9495
 
if test -z "$aix_libpath"; then
9496
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9497
 
fi
 
10043
  lt_aix_libpath_sed='
 
10044
      /Import File Strings/,/^$/ {
 
10045
          /^0/ {
 
10046
              s/^0  *\([^ ]*\) *$/\1/
 
10047
              p
 
10048
          }
 
10049
      }'
 
10050
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
10051
  # Check for a 64-bit object if we didn't find anything.
 
10052
  if test -z "$lt_cv_aix_libpath_"; then
 
10053
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
10054
  fi
9498
10055
fi
9499
10056
rm -f core conftest.err conftest.$ac_objext \
9500
10057
    conftest$ac_exeext conftest.$ac_ext
9501
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
10058
  if test -z "$lt_cv_aix_libpath_"; then
 
10059
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
10060
  fi
 
10061
 
 
10062
fi
 
10063
 
 
10064
  aix_libpath=$lt_cv_aix_libpath_
 
10065
fi
9502
10066
 
9503
10067
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9504
10068
          # Warning - without using the other run time loading flags,
9505
10069
          # -berok will link without error, but may produce a broken library.
9506
10070
          no_undefined_flag=' ${wl}-bernotok'
9507
10071
          allow_undefined_flag=' ${wl}-berok'
9508
 
          # Exported symbols can be pulled into shared objects from archives
9509
 
          whole_archive_flag_spec='$convenience'
 
10072
          if test "$with_gnu_ld" = yes; then
 
10073
            # We only use this code for GNU lds that support --whole-archive.
 
10074
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
10075
          else
 
10076
            # Exported symbols can be pulled into shared objects from archives
 
10077
            whole_archive_flag_spec='$convenience'
 
10078
          fi
9510
10079
          archive_cmds_need_lc=yes
9511
10080
          # This is similar to how AIX traditionally builds its shared libraries.
9512
10081
          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'
9538
10107
      # Microsoft Visual C++.
9539
10108
      # hardcode_libdir_flag_spec is actually meaningless, as there is
9540
10109
      # no search path for DLLs.
9541
 
      hardcode_libdir_flag_spec=' '
9542
 
      allow_undefined_flag=unsupported
9543
 
      # Tell ltmain to make .lib files, not .a files.
9544
 
      libext=lib
9545
 
      # Tell ltmain to make .dll files, not .so files.
9546
 
      shrext_cmds=".dll"
9547
 
      # FIXME: Setting linknames here is a bad hack.
9548
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9549
 
      # The linker will automatically build a .lib file if we build a DLL.
9550
 
      old_archive_from_new_cmds='true'
9551
 
      # FIXME: Should let the user specify the lib program.
9552
 
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9553
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
9554
 
      enable_shared_with_static_runtimes=yes
 
10110
      case $cc_basename in
 
10111
      cl*)
 
10112
        # Native MSVC
 
10113
        hardcode_libdir_flag_spec=' '
 
10114
        allow_undefined_flag=unsupported
 
10115
        always_export_symbols=yes
 
10116
        file_list_spec='@'
 
10117
        # Tell ltmain to make .lib files, not .a files.
 
10118
        libext=lib
 
10119
        # Tell ltmain to make .dll files, not .so files.
 
10120
        shrext_cmds=".dll"
 
10121
        # FIXME: Setting linknames here is a bad hack.
 
10122
        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 
10123
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
10124
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 
10125
          else
 
10126
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 
10127
          fi~
 
10128
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
10129
          linknames='
 
10130
        # The linker will not automatically build a static lib if we build a DLL.
 
10131
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
 
10132
        enable_shared_with_static_runtimes=yes
 
10133
        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
10134
        # Don't use ranlib
 
10135
        old_postinstall_cmds='chmod 644 $oldlib'
 
10136
        postlink_cmds='lt_outputfile="@OUTPUT@"~
 
10137
          lt_tool_outputfile="@TOOL_OUTPUT@"~
 
10138
          case $lt_outputfile in
 
10139
            *.exe|*.EXE) ;;
 
10140
            *)
 
10141
              lt_outputfile="$lt_outputfile.exe"
 
10142
              lt_tool_outputfile="$lt_tool_outputfile.exe"
 
10143
              ;;
 
10144
          esac~
 
10145
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 
10146
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
10147
            $RM "$lt_outputfile.manifest";
 
10148
          fi'
 
10149
        ;;
 
10150
      *)
 
10151
        # Assume MSVC wrapper
 
10152
        hardcode_libdir_flag_spec=' '
 
10153
        allow_undefined_flag=unsupported
 
10154
        # Tell ltmain to make .lib files, not .a files.
 
10155
        libext=lib
 
10156
        # Tell ltmain to make .dll files, not .so files.
 
10157
        shrext_cmds=".dll"
 
10158
        # FIXME: Setting linknames here is a bad hack.
 
10159
        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
 
10160
        # The linker will automatically build a .lib file if we build a DLL.
 
10161
        old_archive_from_new_cmds='true'
 
10162
        # FIXME: Should let the user specify the lib program.
 
10163
        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
10164
        enable_shared_with_static_runtimes=yes
 
10165
        ;;
 
10166
      esac
9555
10167
      ;;
9556
10168
 
9557
10169
    darwin* | rhapsody*)
9561
10173
  hardcode_direct=no
9562
10174
  hardcode_automatic=yes
9563
10175
  hardcode_shlibpath_var=unsupported
9564
 
  whole_archive_flag_spec=''
 
10176
  if test "$lt_cv_ld_force_load" = "yes"; then
 
10177
    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\"`'
 
10178
  else
 
10179
    whole_archive_flag_spec=''
 
10180
  fi
9565
10181
  link_all_deplibs=yes
9566
10182
  allow_undefined_flag="$_lt_dar_allow_undefined"
9567
10183
  case $cc_basename in
9569
10185
     *) _lt_dar_can_shared=$GCC ;;
9570
10186
  esac
9571
10187
  if test "$_lt_dar_can_shared" = "yes"; then
9572
 
    output_verbose_link_cmd=echo
 
10188
    output_verbose_link_cmd=func_echo_all
9573
10189
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9574
10190
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9575
10191
    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}"
9612
10228
 
9613
10229
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9614
10230
    freebsd* | dragonfly*)
9615
 
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
10231
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9616
10232
      hardcode_libdir_flag_spec='-R$libdir'
9617
10233
      hardcode_direct=yes
9618
10234
      hardcode_shlibpath_var=no
9620
10236
 
9621
10237
    hpux9*)
9622
10238
      if test "$GCC" = yes; then
9623
 
        archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
10239
        archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9624
10240
      else
9625
10241
        archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9626
10242
      fi
9635
10251
      ;;
9636
10252
 
9637
10253
    hpux10*)
9638
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9639
 
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
10254
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 
10255
        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9640
10256
      else
9641
10257
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9642
10258
      fi
9654
10270
      ;;
9655
10271
 
9656
10272
    hpux11*)
9657
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
10273
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9658
10274
        case $host_cpu in
9659
10275
        hppa*64*)
9660
10276
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9661
10277
          ;;
9662
10278
        ia64*)
9663
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
10279
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9664
10280
          ;;
9665
10281
        *)
9666
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
10282
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9667
10283
          ;;
9668
10284
        esac
9669
10285
      else
9675
10291
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9676
10292
          ;;
9677
10293
        *)
9678
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
10294
 
 
10295
          # Older versions of the 11.00 compiler do not understand -b yet
 
10296
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
 
10297
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
 
10298
$as_echo_n "checking if $CC understands -b... " >&6; }
 
10299
if test "${lt_cv_prog_compiler__b+set}" = set; then :
 
10300
  $as_echo_n "(cached) " >&6
 
10301
else
 
10302
  lt_cv_prog_compiler__b=no
 
10303
   save_LDFLAGS="$LDFLAGS"
 
10304
   LDFLAGS="$LDFLAGS -b"
 
10305
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
10306
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
10307
     # The linker can only warn and ignore the option if not recognized
 
10308
     # So say no if there are warnings
 
10309
     if test -s conftest.err; then
 
10310
       # Append any errors to the config.log.
 
10311
       cat conftest.err 1>&5
 
10312
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
10313
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
10314
       if diff conftest.exp conftest.er2 >/dev/null; then
 
10315
         lt_cv_prog_compiler__b=yes
 
10316
       fi
 
10317
     else
 
10318
       lt_cv_prog_compiler__b=yes
 
10319
     fi
 
10320
   fi
 
10321
   $RM -r conftest*
 
10322
   LDFLAGS="$save_LDFLAGS"
 
10323
 
 
10324
fi
 
10325
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
 
10326
$as_echo "$lt_cv_prog_compiler__b" >&6; }
 
10327
 
 
10328
if test x"$lt_cv_prog_compiler__b" = xyes; then
 
10329
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
10330
else
 
10331
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
10332
fi
 
10333
 
9679
10334
          ;;
9680
10335
        esac
9681
10336
      fi
9703
10358
 
9704
10359
    irix5* | irix6* | nonstopux*)
9705
10360
      if test "$GCC" = yes; then
9706
 
        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'
 
10361
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9707
10362
        # Try to use the -exported_symbol ld option, if it does not
9708
10363
        # work, assume that -exports_file does not work either and
9709
10364
        # implicitly export all symbols.
9710
 
        save_LDFLAGS="$LDFLAGS"
9711
 
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9712
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10365
        # This should be the same for all languages, so no per-tag cache variable.
 
10366
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
 
10367
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
 
10368
if test "${lt_cv_irix_exported_symbol+set}" = set; then :
 
10369
  $as_echo_n "(cached) " >&6
 
10370
else
 
10371
  save_LDFLAGS="$LDFLAGS"
 
10372
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
10373
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9713
10374
/* end confdefs.h.  */
9714
 
int foo(void) {}
 
10375
int foo (void) { return 0; }
9715
10376
_ACEOF
9716
10377
if ac_fn_c_try_link "$LINENO"; then :
9717
 
  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'
9718
 
 
 
10378
  lt_cv_irix_exported_symbol=yes
 
10379
else
 
10380
  lt_cv_irix_exported_symbol=no
9719
10381
fi
9720
10382
rm -f core conftest.err conftest.$ac_objext \
9721
10383
    conftest$ac_exeext conftest.$ac_ext
9722
 
        LDFLAGS="$save_LDFLAGS"
 
10384
           LDFLAGS="$save_LDFLAGS"
 
10385
fi
 
10386
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
 
10387
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
 
10388
        if test "$lt_cv_irix_exported_symbol" = yes; then
 
10389
          archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
 
10390
        fi
9723
10391
      else
9724
 
        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'
9725
 
        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'
 
10392
        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'
 
10393
        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'
9726
10394
      fi
9727
10395
      archive_cmds_need_lc='no'
9728
10396
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9784
10452
      hardcode_libdir_flag_spec='-L$libdir'
9785
10453
      hardcode_minus_L=yes
9786
10454
      allow_undefined_flag=unsupported
9787
 
      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'
 
10455
      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'
9788
10456
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9789
10457
      ;;
9790
10458
 
9791
10459
    osf3*)
9792
10460
      if test "$GCC" = yes; then
9793
10461
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9794
 
        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'
 
10462
        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'
9795
10463
      else
9796
10464
        allow_undefined_flag=' -expect_unresolved \*'
9797
 
        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'
 
10465
        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'
9798
10466
      fi
9799
10467
      archive_cmds_need_lc='no'
9800
10468
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9804
10472
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
9805
10473
      if test "$GCC" = yes; then
9806
10474
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9807
 
        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'
 
10475
        archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9808
10476
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9809
10477
      else
9810
10478
        allow_undefined_flag=' -expect_unresolved \*'
9811
 
        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'
 
10479
        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'
9812
10480
        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~
9813
 
        $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'
 
10481
        $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'
9814
10482
 
9815
10483
        # Both c and cxx compiler support -rpath directly
9816
10484
        hardcode_libdir_flag_spec='-rpath $libdir'
9823
10491
      no_undefined_flag=' -z defs'
9824
10492
      if test "$GCC" = yes; then
9825
10493
        wlarc='${wl}'
9826
 
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10494
        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9827
10495
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9828
 
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
10496
          $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9829
10497
      else
9830
10498
        case `$CC -V 2>&1` in
9831
10499
        *"Compilers 5.0"*)
10013
10681
      # to ld, don't add -lc before -lgcc.
10014
10682
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10015
10683
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10016
 
      $RM conftest*
10017
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
10684
if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
 
10685
  $as_echo_n "(cached) " >&6
 
10686
else
 
10687
  $RM conftest*
 
10688
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10018
10689
 
10019
 
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
10690
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10020
10691
  (eval $ac_compile) 2>&5
10021
10692
  ac_status=$?
10022
10693
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10023
10694
  test $ac_status = 0; } 2>conftest.err; then
10024
 
        soname=conftest
10025
 
        lib=conftest
10026
 
        libobjs=conftest.$ac_objext
10027
 
        deplibs=
10028
 
        wl=$lt_prog_compiler_wl
10029
 
        pic_flag=$lt_prog_compiler_pic
10030
 
        compiler_flags=-v
10031
 
        linker_flags=-v
10032
 
        verstring=
10033
 
        output_objdir=.
10034
 
        libname=conftest
10035
 
        lt_save_allow_undefined_flag=$allow_undefined_flag
10036
 
        allow_undefined_flag=
10037
 
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
10695
          soname=conftest
 
10696
          lib=conftest
 
10697
          libobjs=conftest.$ac_objext
 
10698
          deplibs=
 
10699
          wl=$lt_prog_compiler_wl
 
10700
          pic_flag=$lt_prog_compiler_pic
 
10701
          compiler_flags=-v
 
10702
          linker_flags=-v
 
10703
          verstring=
 
10704
          output_objdir=.
 
10705
          libname=conftest
 
10706
          lt_save_allow_undefined_flag=$allow_undefined_flag
 
10707
          allow_undefined_flag=
 
10708
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10038
10709
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10039
10710
  ac_status=$?
10040
10711
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10041
10712
  test $ac_status = 0; }
10042
 
        then
10043
 
          archive_cmds_need_lc=no
10044
 
        else
10045
 
          archive_cmds_need_lc=yes
10046
 
        fi
10047
 
        allow_undefined_flag=$lt_save_allow_undefined_flag
10048
 
      else
10049
 
        cat conftest.err 1>&5
10050
 
      fi
10051
 
      $RM conftest*
10052
 
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10053
 
$as_echo "$archive_cmds_need_lc" >&6; }
 
10713
          then
 
10714
            lt_cv_archive_cmds_need_lc=no
 
10715
          else
 
10716
            lt_cv_archive_cmds_need_lc=yes
 
10717
          fi
 
10718
          allow_undefined_flag=$lt_save_allow_undefined_flag
 
10719
        else
 
10720
          cat conftest.err 1>&5
 
10721
        fi
 
10722
        $RM conftest*
 
10723
 
 
10724
fi
 
10725
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
 
10726
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
 
10727
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10054
10728
      ;;
10055
10729
    esac
10056
10730
  fi
10221
10895
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10222
10896
    *) lt_awk_arg="/^libraries:/" ;;
10223
10897
  esac
10224
 
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10225
 
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
 
10898
  case $host_os in
 
10899
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
 
10900
    *) lt_sed_strip_eq="s,=/,/,g" ;;
 
10901
  esac
 
10902
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
 
10903
  case $lt_search_path_spec in
 
10904
  *\;*)
10226
10905
    # if the path contains ";" then we assume it to be the separator
10227
10906
    # otherwise default to the standard path separator (i.e. ":") - it is
10228
10907
    # assumed that no part of a normal pathname contains ";" but that should
10229
10908
    # okay in the real world where ";" in dirpaths is itself problematic.
10230
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10231
 
  else
10232
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10233
 
  fi
 
10909
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
 
10910
    ;;
 
10911
  *)
 
10912
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
 
10913
    ;;
 
10914
  esac
10234
10915
  # Ok, now we have the path, separated by spaces, we can step through it
10235
10916
  # and add multilib dir if necessary.
10236
10917
  lt_tmp_lt_search_path_spec=
10243
10924
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10244
10925
    fi
10245
10926
  done
10246
 
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
 
10927
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10247
10928
BEGIN {RS=" "; FS="/|\n";} {
10248
10929
  lt_foo="";
10249
10930
  lt_count=0;
10263
10944
  if (lt_foo != "") { lt_freq[lt_foo]++; }
10264
10945
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10265
10946
}'`
10266
 
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
 
10947
  # AWK program above erroneously prepends '/' to C:/dos/paths
 
10948
  # for these hosts.
 
10949
  case $host_os in
 
10950
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
 
10951
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
 
10952
  esac
 
10953
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10267
10954
else
10268
10955
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10269
10956
fi
10351
11038
  m68k)
10352
11039
    library_names_spec='$libname.ixlibrary $libname.a'
10353
11040
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
10354
 
    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'
 
11041
    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'
10355
11042
    ;;
10356
11043
  esac
10357
11044
  ;;
10382
11069
  need_version=no
10383
11070
  need_lib_prefix=no
10384
11071
 
10385
 
  case $GCC,$host_os in
10386
 
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
11072
  case $GCC,$cc_basename in
 
11073
  yes,*)
 
11074
    # gcc
10387
11075
    library_names_spec='$libname.dll.a'
10388
11076
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10389
11077
    postinstall_cmds='base_file=`basename \${file}`~
10404
11092
    cygwin*)
10405
11093
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10406
11094
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10407
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
11095
 
 
11096
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10408
11097
      ;;
10409
11098
    mingw* | cegcc*)
10410
11099
      # MinGW DLLs use traditional 'lib' prefix
10411
11100
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10412
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10413
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10414
 
        # It is most probably a Windows format PATH printed by
10415
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
10416
 
        # path with ; separators, and with drive letters. We can handle the
10417
 
        # drive letters (cygwin fileutils understands them), so leave them,
10418
 
        # especially as we might pass files found there to a mingw objdump,
10419
 
        # which wouldn't understand a cygwinified path. Ahh.
10420
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10421
 
      else
10422
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10423
 
      fi
10424
11101
      ;;
10425
11102
    pw32*)
10426
11103
      # pw32 DLLs use 'pw' prefix rather than 'lib'
10427
11104
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10428
11105
      ;;
10429
11106
    esac
 
11107
    dynamic_linker='Win32 ld.exe'
 
11108
    ;;
 
11109
 
 
11110
  *,cl*)
 
11111
    # Native MSVC
 
11112
    libname_spec='$name'
 
11113
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
11114
    library_names_spec='${libname}.dll.lib'
 
11115
 
 
11116
    case $build_os in
 
11117
    mingw*)
 
11118
      sys_lib_search_path_spec=
 
11119
      lt_save_ifs=$IFS
 
11120
      IFS=';'
 
11121
      for lt_path in $LIB
 
11122
      do
 
11123
        IFS=$lt_save_ifs
 
11124
        # Let DOS variable expansion print the short 8.3 style file name.
 
11125
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 
11126
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 
11127
      done
 
11128
      IFS=$lt_save_ifs
 
11129
      # Convert to MSYS style.
 
11130
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 
11131
      ;;
 
11132
    cygwin*)
 
11133
      # Convert to unix form, then to dos form, then back to unix form
 
11134
      # but this time dos style (no spaces!) so that the unix form looks
 
11135
      # like /cygdrive/c/PROGRA~1:/cygdr...
 
11136
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 
11137
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 
11138
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
11139
      ;;
 
11140
    *)
 
11141
      sys_lib_search_path_spec="$LIB"
 
11142
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
11143
        # It is most probably a Windows format PATH.
 
11144
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
11145
      else
 
11146
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
11147
      fi
 
11148
      # FIXME: find the short name or the path components, as spaces are
 
11149
      # common. (e.g. "Program Files" -> "PROGRA~1")
 
11150
      ;;
 
11151
    esac
 
11152
 
 
11153
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
11154
    postinstall_cmds='base_file=`basename \${file}`~
 
11155
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
11156
      dldir=$destdir/`dirname \$dlpath`~
 
11157
      test -d \$dldir || mkdir -p \$dldir~
 
11158
      $install_prog $dir/$dlname \$dldir/$dlname'
 
11159
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
11160
      dlpath=$dir/\$dldll~
 
11161
       $RM \$dlpath'
 
11162
    shlibpath_overrides_runpath=yes
 
11163
    dynamic_linker='Win32 link.exe'
10430
11164
    ;;
10431
11165
 
10432
11166
  *)
 
11167
    # Assume MSVC wrapper
10433
11168
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
11169
    dynamic_linker='Win32 ld.exe'
10434
11170
    ;;
10435
11171
  esac
10436
 
  dynamic_linker='Win32 ld.exe'
10437
11172
  # FIXME: first we should search . and the directory the executable is in
10438
11173
  shlibpath_var=PATH
10439
11174
  ;;
10517
11252
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10518
11253
  soname_spec='${libname}${release}${shared_ext}$major'
10519
11254
  shlibpath_var=LD_LIBRARY_PATH
 
11255
  shlibpath_overrides_runpath=no
 
11256
  hardcode_into_libs=yes
 
11257
  ;;
 
11258
 
 
11259
haiku*)
 
11260
  version_type=linux
 
11261
  need_lib_prefix=no
 
11262
  need_version=no
 
11263
  dynamic_linker="$host_os runtime_loader"
 
11264
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
11265
  soname_spec='${libname}${release}${shared_ext}$major'
 
11266
  shlibpath_var=LIBRARY_PATH
 
11267
  shlibpath_overrides_runpath=yes
 
11268
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10520
11269
  hardcode_into_libs=yes
10521
11270
  ;;
10522
11271
 
10562
11311
    soname_spec='${libname}${release}${shared_ext}$major'
10563
11312
    ;;
10564
11313
  esac
10565
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
11314
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10566
11315
  postinstall_cmds='chmod 555 $lib'
 
11316
  # or fails outright, so override atomically:
 
11317
  install_override_mode=555
10567
11318
  ;;
10568
11319
 
10569
11320
interix[3-9]*)
10630
11381
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10631
11382
  shlibpath_var=LD_LIBRARY_PATH
10632
11383
  shlibpath_overrides_runpath=no
 
11384
 
10633
11385
  # Some binutils ld are patched to set DT_RUNPATH
10634
 
  save_LDFLAGS=$LDFLAGS
10635
 
  save_libdir=$libdir
10636
 
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10637
 
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10638
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
11386
  if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
 
11387
  $as_echo_n "(cached) " >&6
 
11388
else
 
11389
  lt_cv_shlibpath_overrides_runpath=no
 
11390
    save_LDFLAGS=$LDFLAGS
 
11391
    save_libdir=$libdir
 
11392
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
11393
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
11394
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10639
11395
/* end confdefs.h.  */
10640
11396
 
10641
11397
int
10648
11404
_ACEOF
10649
11405
if ac_fn_c_try_link "$LINENO"; then :
10650
11406
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10651
 
  shlibpath_overrides_runpath=yes
 
11407
  lt_cv_shlibpath_overrides_runpath=yes
10652
11408
fi
10653
11409
fi
10654
11410
rm -f core conftest.err conftest.$ac_objext \
10655
11411
    conftest$ac_exeext conftest.$ac_ext
10656
 
  LDFLAGS=$save_LDFLAGS
10657
 
  libdir=$save_libdir
 
11412
    LDFLAGS=$save_LDFLAGS
 
11413
    libdir=$save_libdir
 
11414
 
 
11415
fi
 
11416
 
 
11417
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10658
11418
 
10659
11419
  # This implies no fast_install, which is unacceptable.
10660
11420
  # Some rework will be needed to allow for fast_install
10663
11423
 
10664
11424
  # Append ld.so.conf contents to the search path
10665
11425
  if test -f /etc/ld.so.conf; then
10666
 
    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' ' '`
 
11426
    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' ' '`
10667
11427
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10668
11428
  fi
10669
11429
 
10978
11738
 
10979
11739
 
10980
11740
 
 
11741
 
 
11742
 
 
11743
 
 
11744
 
 
11745
 
10981
11746
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10982
11747
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10983
11748
hardcode_action=
11308
12073
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11309
12074
  lt_status=$lt_dlunknown
11310
12075
  cat > conftest.$ac_ext <<_LT_EOF
11311
 
#line 11311 "configure"
 
12076
#line $LINENO "configure"
11312
12077
#include "confdefs.h"
11313
12078
 
11314
12079
#if HAVE_DLFCN_H
11349
12114
#  endif
11350
12115
#endif
11351
12116
 
11352
 
void fnord() { int i=42;}
 
12117
/* When -fvisbility=hidden is used, assume the code has been annotated
 
12118
   correspondingly for the symbols needed.  */
 
12119
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
12120
int fnord () __attribute__((visibility("default")));
 
12121
#endif
 
12122
 
 
12123
int fnord () { return 42; }
11353
12124
int main ()
11354
12125
{
11355
12126
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11358
12129
  if (self)
11359
12130
    {
11360
12131
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11361
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
12132
      else
 
12133
        {
 
12134
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
12135
          else puts (dlerror ());
 
12136
        }
11362
12137
      /* dlclose (self); */
11363
12138
    }
11364
12139
  else
11404
12179
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11405
12180
  lt_status=$lt_dlunknown
11406
12181
  cat > conftest.$ac_ext <<_LT_EOF
11407
 
#line 11407 "configure"
 
12182
#line $LINENO "configure"
11408
12183
#include "confdefs.h"
11409
12184
 
11410
12185
#if HAVE_DLFCN_H
11445
12220
#  endif
11446
12221
#endif
11447
12222
 
11448
 
void fnord() { int i=42;}
 
12223
/* When -fvisbility=hidden is used, assume the code has been annotated
 
12224
   correspondingly for the symbols needed.  */
 
12225
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
12226
int fnord () __attribute__((visibility("default")));
 
12227
#endif
 
12228
 
 
12229
int fnord () { return 42; }
11449
12230
int main ()
11450
12231
{
11451
12232
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11454
12235
  if (self)
11455
12236
    {
11456
12237
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11457
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
12238
      else
 
12239
        {
 
12240
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
12241
          else puts (dlerror ());
 
12242
        }
11458
12243
      /* dlclose (self); */
11459
12244
    }
11460
12245
  else
11632
12417
 
11633
12418
 
11634
12419
 
 
12420
# Extract the first word of "gperf", so it can be a program name with args.
 
12421
set dummy gperf; ac_word=$2
 
12422
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12423
$as_echo_n "checking for $ac_word... " >&6; }
 
12424
if test "${ac_cv_prog_GPERF+set}" = set; then :
 
12425
  $as_echo_n "(cached) " >&6
 
12426
else
 
12427
  if test -n "$GPERF"; then
 
12428
  ac_cv_prog_GPERF="$GPERF" # Let the user override the test.
 
12429
else
 
12430
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12431
for as_dir in $PATH
 
12432
do
 
12433
  IFS=$as_save_IFS
 
12434
  test -z "$as_dir" && as_dir=.
 
12435
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12436
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12437
    ac_cv_prog_GPERF="gperf"
 
12438
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12439
    break 2
 
12440
  fi
 
12441
done
 
12442
  done
 
12443
IFS=$as_save_IFS
 
12444
 
 
12445
fi
 
12446
fi
 
12447
GPERF=$ac_cv_prog_GPERF
 
12448
if test -n "$GPERF"; then
 
12449
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
 
12450
$as_echo "$GPERF" >&6; }
 
12451
else
 
12452
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12453
$as_echo "no" >&6; }
 
12454
fi
 
12455
 
 
12456
 
 
12457
if test "x$GPERF" = x; then
 
12458
        as_fn_error $? "GNU gperf not found, please install it" "$LINENO" 5
 
12459
fi
 
12460
 
 
12461
 
11635
12462
# Extract the first word of "antlr3", so it can be a program name with args.
11636
12463
set dummy antlr3; ac_word=$2
11637
12464
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16772
17599
sed_quote_subst='$sed_quote_subst'
16773
17600
double_quote_subst='$double_quote_subst'
16774
17601
delay_variable_subst='$delay_variable_subst'
16775
 
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
16776
 
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
16777
 
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
16778
 
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
16779
 
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
16780
 
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
16781
 
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
16782
 
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
16783
 
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
16784
 
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
16785
 
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
16786
 
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
16787
 
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
16788
 
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
16789
 
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
16790
 
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
16791
 
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
16792
 
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
16793
 
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
16794
 
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
16795
 
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
16796
 
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
16797
 
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
16798
 
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
16799
 
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
16800
 
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
16801
 
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
16802
 
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16803
 
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
16804
 
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
16805
 
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
16806
 
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
16807
 
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16808
 
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
16809
 
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
16810
 
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16811
 
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16812
 
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16813
 
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
16814
 
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16815
 
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
16816
 
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
16817
 
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
16818
 
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
16819
 
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"`'
16820
 
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"`'
16821
 
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
16822
 
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
16823
 
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
16824
 
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
16825
 
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
16826
 
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
16827
 
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
16828
 
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
16829
 
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
16830
 
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
16831
 
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
16832
 
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
16833
 
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
16834
 
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
16835
 
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
16836
 
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
16837
 
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16838
 
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16839
 
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
16840
 
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
16841
 
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16842
 
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16843
 
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
16844
 
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16845
 
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16846
 
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16847
 
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16848
 
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16849
 
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16850
 
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
16851
 
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16852
 
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16853
 
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16854
 
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
16855
 
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
16856
 
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
16857
 
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
16858
 
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
16859
 
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16860
 
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
16861
 
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
16862
 
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
16863
 
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
16864
 
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
16865
 
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16866
 
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16867
 
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16868
 
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16869
 
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
16870
 
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
16871
 
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16872
 
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
16873
 
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
16874
 
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16875
 
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16876
 
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
16877
 
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16878
 
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
16879
 
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16880
 
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16881
 
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16882
 
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16883
 
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
16884
 
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
16885
 
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16886
 
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16887
 
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
16888
 
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
16889
 
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
16890
 
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
16891
 
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
16892
 
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
17602
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
 
17603
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
 
17604
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
 
17605
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
 
17606
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
 
17607
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
 
17608
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
 
17609
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
 
17610
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
 
17611
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
 
17612
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
 
17613
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
 
17614
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
 
17615
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
 
17616
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
 
17617
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
 
17618
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
 
17619
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
 
17620
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
 
17621
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
 
17622
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
 
17623
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
 
17624
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
 
17625
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
 
17626
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
 
17627
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
 
17628
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
 
17629
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
 
17630
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
 
17631
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
 
17632
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
 
17633
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
 
17634
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
 
17635
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
 
17636
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
 
17637
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
 
17638
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
 
17639
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
 
17640
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
 
17641
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
 
17642
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
 
17643
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
 
17644
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
 
17645
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
 
17646
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
17647
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
17648
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
 
17649
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
 
17650
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
 
17651
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
 
17652
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
 
17653
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
 
17654
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
 
17655
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
 
17656
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
 
17657
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"`'
 
17658
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
 
17659
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
 
17660
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
 
17661
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
 
17662
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
 
17663
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
 
17664
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
 
17665
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
 
17666
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
 
17667
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
 
17668
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
 
17669
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
 
17670
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
 
17671
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
 
17672
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
 
17673
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
 
17674
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
 
17675
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
 
17676
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
17677
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
 
17678
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
 
17679
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
 
17680
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
 
17681
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
 
17682
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
 
17683
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
17684
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
 
17685
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
17686
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
 
17687
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
17688
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
 
17689
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
17690
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
17691
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
 
17692
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
 
17693
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
 
17694
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
 
17695
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
 
17696
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
 
17697
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
17698
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
 
17699
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
 
17700
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
 
17701
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
 
17702
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
 
17703
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
 
17704
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
 
17705
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
 
17706
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
 
17707
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
 
17708
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
 
17709
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
17710
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
 
17711
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
 
17712
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
 
17713
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
17714
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
 
17715
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
 
17716
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
 
17717
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
 
17718
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
 
17719
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
17720
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
17721
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
 
17722
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
 
17723
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
 
17724
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
 
17725
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
 
17726
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
 
17727
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
 
17728
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
 
17729
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
 
17730
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
 
17731
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16893
17732
 
16894
17733
LTCC='$LTCC'
16895
17734
LTCFLAGS='$LTCFLAGS'
16896
17735
compiler='$compiler_DEFAULT'
16897
17736
 
 
17737
# A function that is used when there is no print builtin or printf.
 
17738
func_fallback_echo ()
 
17739
{
 
17740
  eval 'cat <<_LTECHO_EOF
 
17741
\$1
 
17742
_LTECHO_EOF'
 
17743
}
 
17744
 
16898
17745
# Quote evaled strings.
16899
 
for var in SED \
 
17746
for var in SHELL \
 
17747
ECHO \
 
17748
SED \
16900
17749
GREP \
16901
17750
EGREP \
16902
17751
FGREP \
16909
17758
OBJDUMP \
16910
17759
deplibs_check_method \
16911
17760
file_magic_cmd \
 
17761
file_magic_glob \
 
17762
want_nocaseglob \
 
17763
DLLTOOL \
 
17764
sharedlib_from_linklib_cmd \
16912
17765
AR \
16913
17766
AR_FLAGS \
 
17767
archiver_list_spec \
16914
17768
STRIP \
16915
17769
RANLIB \
16916
17770
CC \
16920
17774
lt_cv_sys_global_symbol_to_cdecl \
16921
17775
lt_cv_sys_global_symbol_to_c_name_address \
16922
17776
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16923
 
SHELL \
16924
 
ECHO \
 
17777
nm_file_list_spec \
16925
17778
lt_prog_compiler_no_builtin_flag \
 
17779
lt_prog_compiler_pic \
16926
17780
lt_prog_compiler_wl \
16927
 
lt_prog_compiler_pic \
16928
17781
lt_prog_compiler_static \
16929
17782
lt_cv_prog_compiler_c_o \
16930
17783
need_locks \
 
17784
MANIFEST_TOOL \
16931
17785
DSYMUTIL \
16932
17786
NMEDIT \
16933
17787
LIPO \
16943
17797
hardcode_libdir_flag_spec \
16944
17798
hardcode_libdir_flag_spec_ld \
16945
17799
hardcode_libdir_separator \
16946
 
fix_srcfile_path \
16947
17800
exclude_expsyms \
16948
17801
include_expsyms \
16949
17802
file_list_spec \
16951
17804
libname_spec \
16952
17805
library_names_spec \
16953
17806
soname_spec \
 
17807
install_override_mode \
16954
17808
finish_eval \
16955
17809
old_striplib \
16956
17810
striplib; do
16957
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
17811
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16958
17812
    *[\\\\\\\`\\"\\\$]*)
16959
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
17813
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16960
17814
      ;;
16961
17815
    *)
16962
17816
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16978
17832
module_expsym_cmds \
16979
17833
export_symbols_cmds \
16980
17834
prelink_cmds \
 
17835
postlink_cmds \
16981
17836
postinstall_cmds \
16982
17837
postuninstall_cmds \
16983
17838
finish_cmds \
16984
17839
sys_lib_search_path_spec \
16985
17840
sys_lib_dlsearch_path_spec; do
16986
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
17841
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16987
17842
    *[\\\\\\\`\\"\\\$]*)
16988
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
17843
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16989
17844
      ;;
16990
17845
    *)
16991
17846
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16993
17848
    esac
16994
17849
done
16995
17850
 
16996
 
# Fix-up fallback echo if it was mangled by the above quoting rules.
16997
 
case \$lt_ECHO in
16998
 
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
16999
 
  ;;
17000
 
esac
17001
 
 
17002
17851
ac_aux_dir='$ac_aux_dir'
17003
17852
xsi_shell='$xsi_shell'
17004
17853
lt_shell_append='$lt_shell_append'
17741
18590
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
17742
18591
#
17743
18592
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17744
 
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
18593
#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
 
18594
#                 Inc.
17745
18595
#   Written by Gordon Matzigkeit, 1996
17746
18596
#
17747
18597
#   This file is part of GNU Libtool.
17789
18639
# Whether or not to optimize for fast installation.
17790
18640
fast_install=$enable_fast_install
17791
18641
 
 
18642
# Shell to use when invoking shell scripts.
 
18643
SHELL=$lt_SHELL
 
18644
 
 
18645
# An echo program that protects backslashes.
 
18646
ECHO=$lt_ECHO
 
18647
 
17792
18648
# The host system.
17793
18649
host_alias=$host_alias
17794
18650
host=$host
17838
18694
# turn newlines into spaces.
17839
18695
NL2SP=$lt_lt_NL2SP
17840
18696
 
17841
 
# How to create reloadable object files.
17842
 
reload_flag=$lt_reload_flag
17843
 
reload_cmds=$lt_reload_cmds
 
18697
# convert \$build file names to \$host format.
 
18698
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
18699
 
 
18700
# convert \$build files to toolchain format.
 
18701
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17844
18702
 
17845
18703
# An object symbol dumper.
17846
18704
OBJDUMP=$lt_OBJDUMP
17848
18706
# Method to check whether dependent libraries are shared objects.
17849
18707
deplibs_check_method=$lt_deplibs_check_method
17850
18708
 
17851
 
# Command to use when deplibs_check_method == "file_magic".
 
18709
# Command to use when deplibs_check_method = "file_magic".
17852
18710
file_magic_cmd=$lt_file_magic_cmd
17853
18711
 
 
18712
# How to find potential files when deplibs_check_method = "file_magic".
 
18713
file_magic_glob=$lt_file_magic_glob
 
18714
 
 
18715
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
 
18716
want_nocaseglob=$lt_want_nocaseglob
 
18717
 
 
18718
# DLL creation program.
 
18719
DLLTOOL=$lt_DLLTOOL
 
18720
 
 
18721
# Command to associate shared and link libraries.
 
18722
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
 
18723
 
17854
18724
# The archiver.
17855
18725
AR=$lt_AR
 
18726
 
 
18727
# Flags to create an archive.
17856
18728
AR_FLAGS=$lt_AR_FLAGS
17857
18729
 
 
18730
# How to feed a file listing to the archiver.
 
18731
archiver_list_spec=$lt_archiver_list_spec
 
18732
 
17858
18733
# A symbol stripping program.
17859
18734
STRIP=$lt_STRIP
17860
18735
 
17863
18738
old_postinstall_cmds=$lt_old_postinstall_cmds
17864
18739
old_postuninstall_cmds=$lt_old_postuninstall_cmds
17865
18740
 
 
18741
# Whether to use a lock for old archive extraction.
 
18742
lock_old_archive_extraction=$lock_old_archive_extraction
 
18743
 
17866
18744
# A C compiler.
17867
18745
LTCC=$lt_CC
17868
18746
 
17881
18759
# Transform the output of nm in a C name address pair when lib prefix is needed.
17882
18760
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17883
18761
 
 
18762
# Specify filename containing input files for \$NM.
 
18763
nm_file_list_spec=$lt_nm_file_list_spec
 
18764
 
 
18765
# The root where to search for dependent libraries,and in which our libraries should be installed.
 
18766
lt_sysroot=$lt_sysroot
 
18767
 
17884
18768
# The name of the directory that contains temporary libtool files.
17885
18769
objdir=$objdir
17886
18770
 
17887
 
# Shell to use when invoking shell scripts.
17888
 
SHELL=$lt_SHELL
17889
 
 
17890
 
# An echo program that does not interpret backslashes.
17891
 
ECHO=$lt_ECHO
17892
 
 
17893
18771
# Used to examine libraries when file_magic_cmd begins with "file".
17894
18772
MAGIC_CMD=$MAGIC_CMD
17895
18773
 
17896
18774
# Must we lock files when doing compilation?
17897
18775
need_locks=$lt_need_locks
17898
18776
 
 
18777
# Manifest tool.
 
18778
MANIFEST_TOOL=$lt_MANIFEST_TOOL
 
18779
 
17899
18780
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17900
18781
DSYMUTIL=$lt_DSYMUTIL
17901
18782
 
17952
18833
# The coded name of the library, if different from the real name.
17953
18834
soname_spec=$lt_soname_spec
17954
18835
 
 
18836
# Permission mode override for installation of shared libraries.
 
18837
install_override_mode=$lt_install_override_mode
 
18838
 
17955
18839
# Command to use after installation of a shared archive.
17956
18840
postinstall_cmds=$lt_postinstall_cmds
17957
18841
 
17991
18875
# The linker used to build libraries.
17992
18876
LD=$lt_LD
17993
18877
 
 
18878
# How to create reloadable object files.
 
18879
reload_flag=$lt_reload_flag
 
18880
reload_cmds=$lt_reload_cmds
 
18881
 
17994
18882
# Commands used to build an old-style archive.
17995
18883
old_archive_cmds=$lt_old_archive_cmds
17996
18884
 
18003
18891
# Compiler flag to turn off builtin functions.
18004
18892
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18005
18893
 
 
18894
# Additional compiler flags for building library objects.
 
18895
pic_flag=$lt_lt_prog_compiler_pic
 
18896
 
18006
18897
# How to pass a linker flag through the compiler.
18007
18898
wl=$lt_lt_prog_compiler_wl
18008
18899
 
18009
 
# Additional compiler flags for building library objects.
18010
 
pic_flag=$lt_lt_prog_compiler_pic
18011
 
 
18012
18900
# Compiler flag to prevent dynamic linking.
18013
18901
link_static_flag=$lt_lt_prog_compiler_static
18014
18902
 
18095
18983
# Whether libtool must link a program against all its dependency libraries.
18096
18984
link_all_deplibs=$link_all_deplibs
18097
18985
 
18098
 
# Fix the shell variable \$srcfile for the compiler.
18099
 
fix_srcfile_path=$lt_fix_srcfile_path
18100
 
 
18101
18986
# Set to "yes" if exported symbols are required.
18102
18987
always_export_symbols=$always_export_symbols
18103
18988
 
18113
18998
# Commands necessary for linking programs (against libraries) with templates.
18114
18999
prelink_cmds=$lt_prelink_cmds
18115
19000
 
 
19001
# Commands necessary for finishing linking programs.
 
19002
postlink_cmds=$lt_postlink_cmds
 
19003
 
18116
19004
# Specify filename containing input files.
18117
19005
file_list_spec=$lt_file_list_spec
18118
19006
 
18145
19033
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
18146
19034
  # text mode, it properly converts lines to CR/LF.  This bash problem
18147
19035
  # is reportedly fixed, but why not run on old versions too?
18148
 
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
18149
 
    || (rm -f "$cfgfile"; exit 1)
18150
 
 
18151
 
  case $xsi_shell in
18152
 
  yes)
18153
 
    cat << \_LT_EOF >> "$cfgfile"
18154
 
 
18155
 
# func_dirname file append nondir_replacement
18156
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
18157
 
# otherwise set result to NONDIR_REPLACEMENT.
18158
 
func_dirname ()
18159
 
{
18160
 
  case ${1} in
18161
 
    */*) func_dirname_result="${1%/*}${2}" ;;
18162
 
    *  ) func_dirname_result="${3}" ;;
18163
 
  esac
18164
 
}
18165
 
 
18166
 
# func_basename file
18167
 
func_basename ()
18168
 
{
18169
 
  func_basename_result="${1##*/}"
18170
 
}
18171
 
 
18172
 
# func_dirname_and_basename file append nondir_replacement
18173
 
# perform func_basename and func_dirname in a single function
18174
 
# call:
18175
 
#   dirname:  Compute the dirname of FILE.  If nonempty,
18176
 
#             add APPEND to the result, otherwise set result
18177
 
#             to NONDIR_REPLACEMENT.
18178
 
#             value returned in "$func_dirname_result"
18179
 
#   basename: Compute filename of FILE.
18180
 
#             value retuned in "$func_basename_result"
18181
 
# Implementation must be kept synchronized with func_dirname
18182
 
# and func_basename. For efficiency, we do not delegate to
18183
 
# those functions but instead duplicate the functionality here.
18184
 
func_dirname_and_basename ()
18185
 
{
18186
 
  case ${1} in
18187
 
    */*) func_dirname_result="${1%/*}${2}" ;;
18188
 
    *  ) func_dirname_result="${3}" ;;
18189
 
  esac
18190
 
  func_basename_result="${1##*/}"
18191
 
}
18192
 
 
18193
 
# func_stripname prefix suffix name
18194
 
# strip PREFIX and SUFFIX off of NAME.
18195
 
# PREFIX and SUFFIX must not contain globbing or regex special
18196
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
18197
 
# dot (in which case that matches only a dot).
18198
 
func_stripname ()
18199
 
{
18200
 
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
18201
 
  # positional parameters, so assign one to ordinary parameter first.
18202
 
  func_stripname_result=${3}
18203
 
  func_stripname_result=${func_stripname_result#"${1}"}
18204
 
  func_stripname_result=${func_stripname_result%"${2}"}
18205
 
}
18206
 
 
18207
 
# func_opt_split
18208
 
func_opt_split ()
18209
 
{
18210
 
  func_opt_split_opt=${1%%=*}
18211
 
  func_opt_split_arg=${1#*=}
18212
 
}
18213
 
 
18214
 
# func_lo2o object
18215
 
func_lo2o ()
18216
 
{
18217
 
  case ${1} in
18218
 
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
18219
 
    *)    func_lo2o_result=${1} ;;
18220
 
  esac
18221
 
}
18222
 
 
18223
 
# func_xform libobj-or-source
18224
 
func_xform ()
18225
 
{
18226
 
  func_xform_result=${1%.*}.lo
18227
 
}
18228
 
 
18229
 
# func_arith arithmetic-term...
18230
 
func_arith ()
18231
 
{
18232
 
  func_arith_result=$(( $* ))
18233
 
}
18234
 
 
18235
 
# func_len string
18236
 
# STRING may not start with a hyphen.
18237
 
func_len ()
18238
 
{
18239
 
  func_len_result=${#1}
18240
 
}
18241
 
 
18242
 
_LT_EOF
18243
 
    ;;
18244
 
  *) # Bourne compatible functions.
18245
 
    cat << \_LT_EOF >> "$cfgfile"
18246
 
 
18247
 
# func_dirname file append nondir_replacement
18248
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
18249
 
# otherwise set result to NONDIR_REPLACEMENT.
18250
 
func_dirname ()
18251
 
{
18252
 
  # Extract subdirectory from the argument.
18253
 
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
18254
 
  if test "X$func_dirname_result" = "X${1}"; then
18255
 
    func_dirname_result="${3}"
18256
 
  else
18257
 
    func_dirname_result="$func_dirname_result${2}"
18258
 
  fi
18259
 
}
18260
 
 
18261
 
# func_basename file
18262
 
func_basename ()
18263
 
{
18264
 
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
18265
 
}
18266
 
 
18267
 
 
18268
 
# func_stripname prefix suffix name
18269
 
# strip PREFIX and SUFFIX off of NAME.
18270
 
# PREFIX and SUFFIX must not contain globbing or regex special
18271
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
18272
 
# dot (in which case that matches only a dot).
18273
 
# func_strip_suffix prefix name
18274
 
func_stripname ()
18275
 
{
18276
 
  case ${2} in
18277
 
    .*) func_stripname_result=`$ECHO "X${3}" \
18278
 
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
18279
 
    *)  func_stripname_result=`$ECHO "X${3}" \
18280
 
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
18281
 
  esac
18282
 
}
18283
 
 
18284
 
# sed scripts:
18285
 
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
18286
 
my_sed_long_arg='1s/^-[^=]*=//'
18287
 
 
18288
 
# func_opt_split
18289
 
func_opt_split ()
18290
 
{
18291
 
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
18292
 
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
18293
 
}
18294
 
 
18295
 
# func_lo2o object
18296
 
func_lo2o ()
18297
 
{
18298
 
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
18299
 
}
18300
 
 
18301
 
# func_xform libobj-or-source
18302
 
func_xform ()
18303
 
{
18304
 
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
18305
 
}
18306
 
 
18307
 
# func_arith arithmetic-term...
18308
 
func_arith ()
18309
 
{
18310
 
  func_arith_result=`expr "$@"`
18311
 
}
18312
 
 
18313
 
# func_len string
18314
 
# STRING may not start with a hyphen.
18315
 
func_len ()
18316
 
{
18317
 
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
18318
 
}
18319
 
 
18320
 
_LT_EOF
18321
 
esac
18322
 
 
18323
 
case $lt_shell_append in
18324
 
  yes)
18325
 
    cat << \_LT_EOF >> "$cfgfile"
18326
 
 
18327
 
# func_append var value
18328
 
# Append VALUE to the end of shell variable VAR.
18329
 
func_append ()
18330
 
{
18331
 
  eval "$1+=\$2"
18332
 
}
18333
 
_LT_EOF
18334
 
    ;;
18335
 
  *)
18336
 
    cat << \_LT_EOF >> "$cfgfile"
18337
 
 
18338
 
# func_append var value
18339
 
# Append VALUE to the end of shell variable VAR.
18340
 
func_append ()
18341
 
{
18342
 
  eval "$1=\$$1\$2"
18343
 
}
18344
 
 
18345
 
_LT_EOF
18346
 
    ;;
18347
 
  esac
18348
 
 
18349
 
 
18350
 
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
18351
 
    || (rm -f "$cfgfile"; exit 1)
18352
 
 
18353
 
  mv -f "$cfgfile" "$ofile" ||
 
19036
  sed '$q' "$ltmain" >> "$cfgfile" \
 
19037
     || (rm -f "$cfgfile"; exit 1)
 
19038
 
 
19039
  if test x"$xsi_shell" = xyes; then
 
19040
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
 
19041
func_dirname ()\
 
19042
{\
 
19043
\    case ${1} in\
 
19044
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
19045
\      *  ) func_dirname_result="${3}" ;;\
 
19046
\    esac\
 
19047
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
 
19048
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
19049
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
19050
test 0 -eq $? || _lt_function_replace_fail=:
 
19051
 
 
19052
 
 
19053
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
 
19054
func_basename ()\
 
19055
{\
 
19056
\    func_basename_result="${1##*/}"\
 
19057
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
19058
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
19059
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
19060
test 0 -eq $? || _lt_function_replace_fail=:
 
19061
 
 
19062
 
 
19063
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
 
19064
func_dirname_and_basename ()\
 
19065
{\
 
19066
\    case ${1} in\
 
19067
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
19068
\      *  ) func_dirname_result="${3}" ;;\
 
19069
\    esac\
 
19070
\    func_basename_result="${1##*/}"\
 
19071
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
19072
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
19073
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
19074
test 0 -eq $? || _lt_function_replace_fail=:
 
19075
 
 
19076
 
 
19077
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
 
19078
func_stripname ()\
 
19079
{\
 
19080
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
 
19081
\    # positional parameters, so assign one to ordinary parameter first.\
 
19082
\    func_stripname_result=${3}\
 
19083
\    func_stripname_result=${func_stripname_result#"${1}"}\
 
19084
\    func_stripname_result=${func_stripname_result%"${2}"}\
 
19085
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
 
19086
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
19087
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
19088
test 0 -eq $? || _lt_function_replace_fail=:
 
19089
 
 
19090
 
 
19091
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
 
19092
func_split_long_opt ()\
 
19093
{\
 
19094
\    func_split_long_opt_name=${1%%=*}\
 
19095
\    func_split_long_opt_arg=${1#*=}\
 
19096
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
19097
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
19098
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
19099
test 0 -eq $? || _lt_function_replace_fail=:
 
19100
 
 
19101
 
 
19102
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
 
19103
func_split_short_opt ()\
 
19104
{\
 
19105
\    func_split_short_opt_arg=${1#??}\
 
19106
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
 
19107
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
19108
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
19109
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
19110
test 0 -eq $? || _lt_function_replace_fail=:
 
19111
 
 
19112
 
 
19113
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
 
19114
func_lo2o ()\
 
19115
{\
 
19116
\    case ${1} in\
 
19117
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
 
19118
\      *)    func_lo2o_result=${1} ;;\
 
19119
\    esac\
 
19120
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
 
19121
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
19122
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
19123
test 0 -eq $? || _lt_function_replace_fail=:
 
19124
 
 
19125
 
 
19126
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
 
19127
func_xform ()\
 
19128
{\
 
19129
    func_xform_result=${1%.*}.lo\
 
19130
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
 
19131
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
19132
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
19133
test 0 -eq $? || _lt_function_replace_fail=:
 
19134
 
 
19135
 
 
19136
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
 
19137
func_arith ()\
 
19138
{\
 
19139
    func_arith_result=$(( $* ))\
 
19140
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
 
19141
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
19142
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
19143
test 0 -eq $? || _lt_function_replace_fail=:
 
19144
 
 
19145
 
 
19146
  sed -e '/^func_len ()$/,/^} # func_len /c\
 
19147
func_len ()\
 
19148
{\
 
19149
    func_len_result=${#1}\
 
19150
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
 
19151
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
19152
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
19153
test 0 -eq $? || _lt_function_replace_fail=:
 
19154
 
 
19155
fi
 
19156
 
 
19157
if test x"$lt_shell_append" = xyes; then
 
19158
  sed -e '/^func_append ()$/,/^} # func_append /c\
 
19159
func_append ()\
 
19160
{\
 
19161
    eval "${1}+=\\${2}"\
 
19162
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
 
19163
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
19164
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
19165
test 0 -eq $? || _lt_function_replace_fail=:
 
19166
 
 
19167
 
 
19168
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
 
19169
func_append_quoted ()\
 
19170
{\
 
19171
\    func_quote_for_eval "${2}"\
 
19172
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
 
19173
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
 
19174
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
19175
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
19176
test 0 -eq $? || _lt_function_replace_fail=:
 
19177
 
 
19178
 
 
19179
  # Save a `func_append' function call where possible by direct use of '+='
 
19180
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
 
19181
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
19182
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
19183
  test 0 -eq $? || _lt_function_replace_fail=:
 
19184
else
 
19185
  # Save a `func_append' function call even when '+=' is not available
 
19186
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
 
19187
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
19188
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
19189
  test 0 -eq $? || _lt_function_replace_fail=:
 
19190
fi
 
19191
 
 
19192
if test x"$_lt_function_replace_fail" = x":"; then
 
19193
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
 
19194
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 
19195
fi
 
19196
 
 
19197
 
 
19198
   mv -f "$cfgfile" "$ofile" ||
18354
19199
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18355
19200
  chmod +x "$ofile"
18356
19201