~ubuntu-branches/ubuntu/karmic/uim/karmic

« back to all changes in this revision

Viewing changes to sigscheme/libgcroots/configure

  • Committer: Bazaar Package Importer
  • Author(s): Fabrice Coutadeur
  • Date: 2009-08-10 03:55:11 UTC
  • mfrom: (1.1.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20090810035511-cm398vzo5ffgc3n8
Tags: 1:1.5.6-0ubuntu1
* New upstream release (fix FTBFS because of missing gnome.h) (LP: #409034)
* debian/control:
  - added homepage tag
  - added watch file
  - bump Standards-Version to 3.8.2
  - changed build dependency on x-dev to x11proto-core-dev to avoid a lintian
    error (Debian bug #515522)
  - Added ${misc:Depends} to packages, to avoid several lintian warnings
  - Update build dependency on libgtk2.0-dev to delete the -1 revision and 
    fix this way another lintian warning
 * debian/uim-qt3.install: changed uim-chardict-qt.mo to uim.mo as upstream
   renamed it.
 * Added debian/README.source as this package uses dpatch to apply patches

Show diffs side-by-side

added added

removed removed

Lines of Context:
577
577
# Check that we are running under the correct shell.
578
578
SHELL=${CONFIG_SHELL-/bin/sh}
579
579
 
580
 
case X$ECHO in
 
580
case X$lt_ECHO in
581
581
X*--fallback-echo)
582
582
  # Remove one level of quotation (which was required for Make).
583
 
  ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
 
583
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
584
584
  ;;
585
585
esac
586
586
 
587
 
echo=${ECHO-echo}
 
587
ECHO=${lt_ECHO-echo}
588
588
if test "X$1" = X--no-reexec; then
589
589
  # Discard the --no-reexec flag, and continue.
590
590
  shift
591
591
elif test "X$1" = X--fallback-echo; then
592
592
  # Avoid inline document here, it may be left over
593
593
  :
594
 
elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
595
 
  # Yippee, $echo works!
 
594
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
 
595
  # Yippee, $ECHO works!
596
596
  :
597
597
else
598
598
  # Restart under the correct shell.
602
602
if test "X$1" = X--fallback-echo; then
603
603
  # used as fallback echo
604
604
  shift
605
 
  cat <<EOF
 
605
  cat <<_LT_EOF
606
606
$*
607
 
EOF
 
607
_LT_EOF
608
608
  exit 0
609
609
fi
610
610
 
612
612
# if CDPATH is set.
613
613
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
614
614
 
615
 
if test -z "$ECHO"; then
616
 
if test "X${echo_test_string+set}" != Xset; then
617
 
# find a string as large as possible, as long as the shell can cope with it
618
 
  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
619
 
    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
620
 
    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
621
 
       echo_test_string=`eval $cmd` &&
622
 
       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
623
 
    then
624
 
      break
625
 
    fi
626
 
  done
627
 
fi
628
 
 
629
 
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
630
 
   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
631
 
   test "X$echo_testing_string" = "X$echo_test_string"; then
632
 
  :
633
 
else
634
 
  # The Solaris, AIX, and Digital Unix default echo programs unquote
635
 
  # backslashes.  This makes it impossible to quote backslashes using
636
 
  #   echo "$something" | sed 's/\\/\\\\/g'
637
 
  #
638
 
  # So, first we look for a working echo in the user's PATH.
639
 
 
640
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
641
 
  for dir in $PATH /usr/ucb; do
 
615
if test -z "$lt_ECHO"; then
 
616
  if test "X${echo_test_string+set}" != Xset; then
 
617
    # find a string as large as possible, as long as the shell can cope with it
 
618
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
 
619
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
 
620
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
 
621
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
 
622
      then
 
623
        break
 
624
      fi
 
625
    done
 
626
  fi
 
627
 
 
628
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
629
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
630
     test "X$echo_testing_string" = "X$echo_test_string"; then
 
631
    :
 
632
  else
 
633
    # The Solaris, AIX, and Digital Unix default echo programs unquote
 
634
    # backslashes.  This makes it impossible to quote backslashes using
 
635
    #   echo "$something" | sed 's/\\/\\\\/g'
 
636
    #
 
637
    # So, first we look for a working echo in the user's PATH.
 
638
 
 
639
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
640
    for dir in $PATH /usr/ucb; do
 
641
      IFS="$lt_save_ifs"
 
642
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
 
643
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
 
644
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
 
645
         test "X$echo_testing_string" = "X$echo_test_string"; then
 
646
        ECHO="$dir/echo"
 
647
        break
 
648
      fi
 
649
    done
642
650
    IFS="$lt_save_ifs"
643
 
    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
644
 
       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
645
 
       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
646
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
647
 
      echo="$dir/echo"
648
 
      break
649
 
    fi
650
 
  done
651
 
  IFS="$lt_save_ifs"
652
651
 
653
 
  if test "X$echo" = Xecho; then
654
 
    # We didn't find a better echo, so look for alternatives.
655
 
    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
656
 
       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
657
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
658
 
      # This shell has a builtin print -r that does the trick.
659
 
      echo='print -r'
660
 
    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
661
 
         test "X$CONFIG_SHELL" != X/bin/ksh; then
662
 
      # If we have ksh, try running configure again with it.
663
 
      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
664
 
      export ORIGINAL_CONFIG_SHELL
665
 
      CONFIG_SHELL=/bin/ksh
666
 
      export CONFIG_SHELL
667
 
      exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
668
 
    else
669
 
      # Try using printf.
670
 
      echo='printf %s\n'
671
 
      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
672
 
         echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
673
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
674
 
        # Cool, printf works
675
 
        :
676
 
      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
677
 
           test "X$echo_testing_string" = 'X\t' &&
678
 
           echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
679
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
680
 
        CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
681
 
        export CONFIG_SHELL
682
 
        SHELL="$CONFIG_SHELL"
683
 
        export SHELL
684
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
685
 
      elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
686
 
           test "X$echo_testing_string" = 'X\t' &&
687
 
           echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
688
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
689
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
 
652
    if test "X$ECHO" = Xecho; then
 
653
      # We didn't find a better echo, so look for alternatives.
 
654
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
 
655
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
 
656
         test "X$echo_testing_string" = "X$echo_test_string"; then
 
657
        # This shell has a builtin print -r that does the trick.
 
658
        ECHO='print -r'
 
659
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
 
660
           test "X$CONFIG_SHELL" != X/bin/ksh; then
 
661
        # If we have ksh, try running configure again with it.
 
662
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
 
663
        export ORIGINAL_CONFIG_SHELL
 
664
        CONFIG_SHELL=/bin/ksh
 
665
        export CONFIG_SHELL
 
666
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
690
667
      else
691
 
        # maybe with a smaller string...
692
 
        prev=:
693
 
 
694
 
        for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
695
 
          if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
696
 
          then
697
 
            break
 
668
        # Try using printf.
 
669
        ECHO='printf %s\n'
 
670
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
671
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
672
           test "X$echo_testing_string" = "X$echo_test_string"; then
 
673
          # Cool, printf works
 
674
          :
 
675
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 
676
             test "X$echo_testing_string" = 'X\t' &&
 
677
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
678
             test "X$echo_testing_string" = "X$echo_test_string"; then
 
679
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
 
680
          export CONFIG_SHELL
 
681
          SHELL="$CONFIG_SHELL"
 
682
          export SHELL
 
683
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
 
684
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 
685
             test "X$echo_testing_string" = 'X\t' &&
 
686
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
687
             test "X$echo_testing_string" = "X$echo_test_string"; then
 
688
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
 
689
        else
 
690
          # maybe with a smaller string...
 
691
          prev=:
 
692
 
 
693
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
 
694
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
 
695
            then
 
696
              break
 
697
            fi
 
698
            prev="$cmd"
 
699
          done
 
700
 
 
701
          if test "$prev" != 'sed 50q "$0"'; then
 
702
            echo_test_string=`eval $prev`
 
703
            export echo_test_string
 
704
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
 
705
          else
 
706
            # Oops.  We lost completely, so just stick with echo.
 
707
            ECHO=echo
698
708
          fi
699
 
          prev="$cmd"
700
 
        done
701
 
 
702
 
        if test "$prev" != 'sed 50q "$0"'; then
703
 
          echo_test_string=`eval $prev`
704
 
          export echo_test_string
705
 
          exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
706
 
        else
707
 
          # Oops.  We lost completely, so just stick with echo.
708
 
          echo=echo
709
 
        fi
 
709
        fi
710
710
      fi
711
711
    fi
712
712
  fi
713
713
fi
714
 
fi
715
714
 
716
715
# Copy echo and quote the copy suitably for passing to libtool from
717
716
# the Makefile, instead of quoting the original, which is used later.
718
 
ECHO=$echo
719
 
if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
720
 
   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
 
717
lt_ECHO=$ECHO
 
718
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
 
719
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
721
720
fi
722
721
 
723
722
 
724
723
 
725
724
 
726
 
tagnames=${tagnames+${tagnames},}CXX
727
 
 
728
 
tagnames=${tagnames+${tagnames},}F77
729
 
 
730
725
exec 7<&0 </dev/null 6>&1
731
726
 
732
727
# Name of the host.
804
799
UNWINDLIBS
805
800
ENABLE_GCJ_SUPPORT_FALSE
806
801
ENABLE_GCJ_SUPPORT_TRUE
807
 
LIBTOOL
808
 
ac_ct_F77
809
 
FFLAGS
810
 
F77
811
 
CXXCPP
812
 
am__fastdepCXX_FALSE
813
 
am__fastdepCXX_TRUE
814
 
CXXDEPMODE
815
 
ac_ct_CXX
816
802
CXXFLAGS
 
803
OTOOL64
 
804
OTOOL
 
805
LIPO
817
806
NMEDIT
818
807
DSYMUTIL
819
 
ECHO
 
808
lt_ECHO
 
809
OBJDUMP
820
810
LN_S
 
811
NM
 
812
ac_ct_DUMPBIN
 
813
DUMPBIN
 
814
LD
 
815
FGREP
821
816
SED
 
817
LIBTOOL
822
818
addlibs
823
819
addobjs
824
820
CXXINCLUDES
952
948
with_ecos
953
949
enable_shared
954
950
enable_static
 
951
with_pic
955
952
enable_fast_install
956
953
with_gnu_ld
957
954
enable_libtool_lock
958
 
with_pic
959
 
with_tags
960
955
with_target_subdir
961
956
with_cross_host
962
957
enable_gc_assertions
971
966
CPPFLAGS
972
967
CCAS
973
968
CCASFLAGS
974
 
CPP
975
 
CXX
976
 
CXXFLAGS
977
 
CCC
978
 
CXXCPP
979
 
F77
980
 
FFLAGS'
 
969
CPP'
981
970
 
982
971
 
983
972
# Initialize some variables set by options.
1624
1613
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1625
1614
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1626
1615
  --with-ecos             enable runtime eCos target support
1627
 
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1628
1616
  --with-pic              try to use only PIC/non-PIC objects [default=use
1629
1617
                          both]
1630
 
  --with-tags[=TAGS]      include additional configurations [automatic]
 
1618
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1631
1619
  --with-target-subdir=SUBDIR
1632
1620
                          configuring with a cross compiler
1633
1621
  --with-cross-host=HOST  configuring with a cross compiler
1643
1631
  CCAS        assembler compiler command (defaults to CC)
1644
1632
  CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
1645
1633
  CPP         C preprocessor
1646
 
  CXX         C++ compiler command
1647
 
  CXXFLAGS    C++ compiler flags
1648
 
  CXXCPP      C++ preprocessor
1649
 
  F77         Fortran 77 compiler command
1650
 
  FFLAGS      Fortran 77 compiler flags
1651
1634
 
1652
1635
Use these variables to override the choices made by `configure' or to help
1653
1636
it to find libraries and programs with nonstandard names/locations.
8325
8308
 
8326
8309
 
8327
8310
 
 
8311
 
 
8312
 
 
8313
 
 
8314
 
 
8315
 
 
8316
 
 
8317
 
8328
8318
case "$host" in
8329
8319
 alpha-*-openbsd*)
8330
8320
     enable_shared=no
8413
8403
 
8414
8404
 
8415
8405
 
8416
 
# Check whether --enable-static was given.
8417
 
if test "${enable_static+set}" = set; then
8418
 
  enableval=$enable_static; p=${PACKAGE-default}
8419
 
    case $enableval in
8420
 
    yes) enable_static=yes ;;
8421
 
    no) enable_static=no ;;
8422
 
    *)
8423
 
     enable_static=no
8424
 
      # Look at the argument we got.  We use all the common list separators.
8425
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8426
 
      for pkg in $enableval; do
8427
 
        IFS="$lt_save_ifs"
8428
 
        if test "X$pkg" = "X$p"; then
8429
 
          enable_static=yes
8430
 
        fi
8431
 
      done
8432
 
      IFS="$lt_save_ifs"
8433
 
      ;;
8434
 
    esac
8435
 
else
8436
 
  enable_static=yes
8437
 
fi
8438
 
 
8439
 
 
8440
 
# Check whether --enable-fast-install was given.
8441
 
if test "${enable_fast_install+set}" = set; then
8442
 
  enableval=$enable_fast_install; p=${PACKAGE-default}
8443
 
    case $enableval in
8444
 
    yes) enable_fast_install=yes ;;
8445
 
    no) enable_fast_install=no ;;
8446
 
    *)
8447
 
      enable_fast_install=no
8448
 
      # Look at the argument we got.  We use all the common list separators.
8449
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8450
 
      for pkg in $enableval; do
8451
 
        IFS="$lt_save_ifs"
8452
 
        if test "X$pkg" = "X$p"; then
8453
 
          enable_fast_install=yes
8454
 
        fi
8455
 
      done
8456
 
      IFS="$lt_save_ifs"
8457
 
      ;;
8458
 
    esac
8459
 
else
8460
 
  enable_fast_install=yes
8461
 
fi
8462
 
 
 
8406
case `pwd` in
 
8407
  *\ * | *\     *)
 
8408
    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
8409
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
8410
esac
 
8411
 
 
8412
 
 
8413
 
 
8414
macro_version='2.2.6'
 
8415
macro_revision='1.3012'
 
8416
 
 
8417
 
 
8418
 
 
8419
 
 
8420
 
 
8421
 
 
8422
 
 
8423
 
 
8424
 
 
8425
 
 
8426
 
 
8427
 
 
8428
 
 
8429
ltmain="$ac_aux_dir/ltmain.sh"
8463
8430
 
8464
8431
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
8465
8432
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
8466
 
if test "${lt_cv_path_SED+set}" = set; then
 
8433
if test "${ac_cv_path_SED+set}" = set; then
8467
8434
  $as_echo_n "(cached) " >&6
8468
8435
else
8469
 
  # Loop through the user's path and test for sed and gsed.
8470
 
# Then use that list of sed's as ones to test for truncation.
8471
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8436
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
8437
     for ac_i in 1 2 3 4 5 6 7; do
 
8438
       ac_script="$ac_script$as_nl$ac_script"
 
8439
     done
 
8440
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
8441
     $as_unset ac_script || ac_script=
 
8442
     if test -z "$SED"; then
 
8443
  ac_path_SED_found=false
 
8444
  # Loop through the user's path and test for each of PROGNAME-LIST
 
8445
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8472
8446
for as_dir in $PATH
8473
8447
do
8474
8448
  IFS=$as_save_IFS
8475
8449
  test -z "$as_dir" && as_dir=.
8476
 
  for lt_ac_prog in sed gsed; do
8477
 
    for ac_exec_ext in '' $ac_executable_extensions; do
8478
 
      if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
8479
 
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
8480
 
      fi
8481
 
    done
8482
 
  done
8483
 
done
8484
 
IFS=$as_save_IFS
8485
 
lt_ac_max=0
8486
 
lt_ac_count=0
8487
 
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
8488
 
# along with /bin/sed that truncates output.
8489
 
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
8490
 
  test ! -f $lt_ac_sed && continue
8491
 
  cat /dev/null > conftest.in
8492
 
  lt_ac_count=0
8493
 
  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
8494
 
  # Check for GNU sed and select it if it is found.
8495
 
  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
8496
 
    lt_cv_path_SED=$lt_ac_sed
8497
 
    break
8498
 
  fi
8499
 
  while true; do
8500
 
    cat conftest.in conftest.in >conftest.tmp
8501
 
    mv conftest.tmp conftest.in
8502
 
    cp conftest.in conftest.nl
8503
 
    echo >>conftest.nl
8504
 
    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
8505
 
    cmp -s conftest.out conftest.nl || break
8506
 
    # 10000 chars as input seems more than enough
8507
 
    test $lt_ac_count -gt 10 && break
8508
 
    lt_ac_count=`expr $lt_ac_count + 1`
8509
 
    if test $lt_ac_count -gt $lt_ac_max; then
8510
 
      lt_ac_max=$lt_ac_count
8511
 
      lt_cv_path_SED=$lt_ac_sed
8512
 
    fi
8513
 
  done
8514
 
done
8515
 
 
8516
 
fi
8517
 
 
8518
 
SED=$lt_cv_path_SED
8519
 
 
8520
 
{ $as_echo "$as_me:$LINENO: result: $SED" >&5
8521
 
$as_echo "$SED" >&6; }
 
8450
  for ac_prog in sed gsed; do
 
8451
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8452
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
8453
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
8454
# Check for GNU ac_path_SED and select it if it is found.
 
8455
  # Check for GNU $ac_path_SED
 
8456
case `"$ac_path_SED" --version 2>&1` in
 
8457
*GNU*)
 
8458
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
8459
*)
 
8460
  ac_count=0
 
8461
  $as_echo_n 0123456789 >"conftest.in"
 
8462
  while :
 
8463
  do
 
8464
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
8465
    mv "conftest.tmp" "conftest.in"
 
8466
    cp "conftest.in" "conftest.nl"
 
8467
    $as_echo '' >> "conftest.nl"
 
8468
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
8469
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
8470
    ac_count=`expr $ac_count + 1`
 
8471
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
8472
      # Best one so far, save it but keep looking for a better one
 
8473
      ac_cv_path_SED="$ac_path_SED"
 
8474
      ac_path_SED_max=$ac_count
 
8475
    fi
 
8476
    # 10*(2^10) chars as input seems more than enough
 
8477
    test $ac_count -gt 10 && break
 
8478
  done
 
8479
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
8480
esac
 
8481
 
 
8482
      $ac_path_SED_found && break 3
 
8483
    done
 
8484
  done
 
8485
done
 
8486
IFS=$as_save_IFS
 
8487
  if test -z "$ac_cv_path_SED"; then
 
8488
    { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
 
8489
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
 
8490
   { (exit 1); exit 1; }; }
 
8491
  fi
 
8492
else
 
8493
  ac_cv_path_SED=$SED
 
8494
fi
 
8495
 
 
8496
fi
 
8497
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
 
8498
$as_echo "$ac_cv_path_SED" >&6; }
 
8499
 SED="$ac_cv_path_SED"
 
8500
  rm -f conftest.sed
 
8501
 
 
8502
test -z "$SED" && SED=sed
 
8503
Xsed="$SED -e 1s/^X//"
 
8504
 
 
8505
 
 
8506
 
 
8507
 
 
8508
 
 
8509
 
 
8510
 
 
8511
 
 
8512
 
 
8513
 
 
8514
 
 
8515
{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
 
8516
$as_echo_n "checking for fgrep... " >&6; }
 
8517
if test "${ac_cv_path_FGREP+set}" = set; then
 
8518
  $as_echo_n "(cached) " >&6
 
8519
else
 
8520
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 
8521
   then ac_cv_path_FGREP="$GREP -F"
 
8522
   else
 
8523
     if test -z "$FGREP"; then
 
8524
  ac_path_FGREP_found=false
 
8525
  # Loop through the user's path and test for each of PROGNAME-LIST
 
8526
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8527
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
8528
do
 
8529
  IFS=$as_save_IFS
 
8530
  test -z "$as_dir" && as_dir=.
 
8531
  for ac_prog in fgrep; do
 
8532
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8533
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 
8534
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
 
8535
# Check for GNU ac_path_FGREP and select it if it is found.
 
8536
  # Check for GNU $ac_path_FGREP
 
8537
case `"$ac_path_FGREP" --version 2>&1` in
 
8538
*GNU*)
 
8539
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 
8540
*)
 
8541
  ac_count=0
 
8542
  $as_echo_n 0123456789 >"conftest.in"
 
8543
  while :
 
8544
  do
 
8545
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
8546
    mv "conftest.tmp" "conftest.in"
 
8547
    cp "conftest.in" "conftest.nl"
 
8548
    $as_echo 'FGREP' >> "conftest.nl"
 
8549
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
8550
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
8551
    ac_count=`expr $ac_count + 1`
 
8552
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 
8553
      # Best one so far, save it but keep looking for a better one
 
8554
      ac_cv_path_FGREP="$ac_path_FGREP"
 
8555
      ac_path_FGREP_max=$ac_count
 
8556
    fi
 
8557
    # 10*(2^10) chars as input seems more than enough
 
8558
    test $ac_count -gt 10 && break
 
8559
  done
 
8560
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
8561
esac
 
8562
 
 
8563
      $ac_path_FGREP_found && break 3
 
8564
    done
 
8565
  done
 
8566
done
 
8567
IFS=$as_save_IFS
 
8568
  if test -z "$ac_cv_path_FGREP"; then
 
8569
    { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
8570
$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
8571
   { (exit 1); exit 1; }; }
 
8572
  fi
 
8573
else
 
8574
  ac_cv_path_FGREP=$FGREP
 
8575
fi
 
8576
 
 
8577
   fi
 
8578
fi
 
8579
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
 
8580
$as_echo "$ac_cv_path_FGREP" >&6; }
 
8581
 FGREP="$ac_cv_path_FGREP"
 
8582
 
 
8583
 
 
8584
test -z "$GREP" && GREP=grep
 
8585
 
 
8586
 
 
8587
 
 
8588
 
 
8589
 
 
8590
 
 
8591
 
 
8592
 
 
8593
 
 
8594
 
 
8595
 
 
8596
 
 
8597
 
 
8598
 
 
8599
 
 
8600
 
 
8601
 
8522
8602
 
8523
8603
 
8524
8604
# Check whether --with-gnu-ld was given.
8545
8625
    [\\/]* | ?:[\\/]*)
8546
8626
      re_direlt='/[^/][^/]*/\.\./'
8547
8627
      # Canonicalize the pathname of ld
8548
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
8549
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
8550
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
 
8628
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
8629
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
8630
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
8551
8631
      done
8552
8632
      test -z "$LD" && LD="$ac_prog"
8553
8633
      ;;
8627
8707
with_gnu_ld=$lt_cv_prog_gnu_ld
8628
8708
 
8629
8709
 
8630
 
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
8631
 
$as_echo_n "checking for $LD option to reload object files... " >&6; }
8632
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
8633
 
  $as_echo_n "(cached) " >&6
8634
 
else
8635
 
  lt_cv_ld_reload_flag='-r'
8636
 
fi
8637
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
8638
 
$as_echo "$lt_cv_ld_reload_flag" >&6; }
8639
 
reload_flag=$lt_cv_ld_reload_flag
8640
 
case $reload_flag in
8641
 
"" | " "*) ;;
8642
 
*) reload_flag=" $reload_flag" ;;
8643
 
esac
8644
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
8645
 
case $host_os in
8646
 
  darwin*)
8647
 
    if test "$GCC" = yes; then
8648
 
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
8649
 
    else
8650
 
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
8651
 
    fi
8652
 
    ;;
8653
 
esac
8654
 
 
8655
 
{ $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
8656
 
$as_echo_n "checking for BSD-compatible nm... " >&6; }
 
8710
 
 
8711
 
 
8712
 
 
8713
 
 
8714
 
 
8715
 
 
8716
 
 
8717
{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
 
8718
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
8657
8719
if test "${lt_cv_path_NM+set}" = set; then
8658
8720
  $as_echo_n "(cached) " >&6
8659
8721
else
8698
8760
    done
8699
8761
    IFS="$lt_save_ifs"
8700
8762
  done
8701
 
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
 
8763
  : ${lt_cv_path_NM=no}
8702
8764
fi
8703
8765
fi
8704
8766
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
8705
8767
$as_echo "$lt_cv_path_NM" >&6; }
8706
 
NM="$lt_cv_path_NM"
 
8768
if test "$lt_cv_path_NM" != "no"; then
 
8769
  NM="$lt_cv_path_NM"
 
8770
else
 
8771
  # Didn't find any BSD compatible name lister, look for dumpbin.
 
8772
  if test -n "$ac_tool_prefix"; then
 
8773
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
8774
  do
 
8775
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
8776
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
8777
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8778
$as_echo_n "checking for $ac_word... " >&6; }
 
8779
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
 
8780
  $as_echo_n "(cached) " >&6
 
8781
else
 
8782
  if test -n "$DUMPBIN"; then
 
8783
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 
8784
else
 
8785
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8786
for as_dir in $PATH
 
8787
do
 
8788
  IFS=$as_save_IFS
 
8789
  test -z "$as_dir" && as_dir=.
 
8790
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8791
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8792
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 
8793
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8794
    break 2
 
8795
  fi
 
8796
done
 
8797
done
 
8798
IFS=$as_save_IFS
 
8799
 
 
8800
fi
 
8801
fi
 
8802
DUMPBIN=$ac_cv_prog_DUMPBIN
 
8803
if test -n "$DUMPBIN"; then
 
8804
  { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
 
8805
$as_echo "$DUMPBIN" >&6; }
 
8806
else
 
8807
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8808
$as_echo "no" >&6; }
 
8809
fi
 
8810
 
 
8811
 
 
8812
    test -n "$DUMPBIN" && break
 
8813
  done
 
8814
fi
 
8815
if test -z "$DUMPBIN"; then
 
8816
  ac_ct_DUMPBIN=$DUMPBIN
 
8817
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
8818
do
 
8819
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
8820
set dummy $ac_prog; ac_word=$2
 
8821
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8822
$as_echo_n "checking for $ac_word... " >&6; }
 
8823
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
 
8824
  $as_echo_n "(cached) " >&6
 
8825
else
 
8826
  if test -n "$ac_ct_DUMPBIN"; then
 
8827
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 
8828
else
 
8829
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8830
for as_dir in $PATH
 
8831
do
 
8832
  IFS=$as_save_IFS
 
8833
  test -z "$as_dir" && as_dir=.
 
8834
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8835
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8836
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 
8837
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8838
    break 2
 
8839
  fi
 
8840
done
 
8841
done
 
8842
IFS=$as_save_IFS
 
8843
 
 
8844
fi
 
8845
fi
 
8846
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 
8847
if test -n "$ac_ct_DUMPBIN"; then
 
8848
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
 
8849
$as_echo "$ac_ct_DUMPBIN" >&6; }
 
8850
else
 
8851
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8852
$as_echo "no" >&6; }
 
8853
fi
 
8854
 
 
8855
 
 
8856
  test -n "$ac_ct_DUMPBIN" && break
 
8857
done
 
8858
 
 
8859
  if test "x$ac_ct_DUMPBIN" = x; then
 
8860
    DUMPBIN=":"
 
8861
  else
 
8862
    case $cross_compiling:$ac_tool_warned in
 
8863
yes:)
 
8864
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
8865
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8866
ac_tool_warned=yes ;;
 
8867
esac
 
8868
    DUMPBIN=$ac_ct_DUMPBIN
 
8869
  fi
 
8870
fi
 
8871
 
 
8872
 
 
8873
  if test "$DUMPBIN" != ":"; then
 
8874
    NM="$DUMPBIN"
 
8875
  fi
 
8876
fi
 
8877
test -z "$NM" && NM=nm
 
8878
 
 
8879
 
 
8880
 
 
8881
 
 
8882
 
 
8883
 
 
8884
{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
 
8885
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
 
8886
if test "${lt_cv_nm_interface+set}" = set; then
 
8887
  $as_echo_n "(cached) " >&6
 
8888
else
 
8889
  lt_cv_nm_interface="BSD nm"
 
8890
  echo "int some_variable = 0;" > conftest.$ac_ext
 
8891
  (eval echo "\"\$as_me:8891: $ac_compile\"" >&5)
 
8892
  (eval "$ac_compile" 2>conftest.err)
 
8893
  cat conftest.err >&5
 
8894
  (eval echo "\"\$as_me:8894: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
8895
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 
8896
  cat conftest.err >&5
 
8897
  (eval echo "\"\$as_me:8897: output\"" >&5)
 
8898
  cat conftest.out >&5
 
8899
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 
8900
    lt_cv_nm_interface="MS dumpbin"
 
8901
  fi
 
8902
  rm -f conftest*
 
8903
fi
 
8904
{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
 
8905
$as_echo "$lt_cv_nm_interface" >&6; }
8707
8906
 
8708
8907
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
8709
8908
$as_echo_n "checking whether ln -s works... " >&6; }
8716
8915
$as_echo "no, using $LN_S" >&6; }
8717
8916
fi
8718
8917
 
 
8918
# find the maximum length of command line arguments
 
8919
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
8920
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
 
8921
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
 
8922
  $as_echo_n "(cached) " >&6
 
8923
else
 
8924
    i=0
 
8925
  teststring="ABCD"
 
8926
 
 
8927
  case $build_os in
 
8928
  msdosdjgpp*)
 
8929
    # On DJGPP, this test can blow up pretty badly due to problems in libc
 
8930
    # (any single argument exceeding 2000 bytes causes a buffer overrun
 
8931
    # during glob expansion).  Even if it were fixed, the result of this
 
8932
    # check would be larger than it should be.
 
8933
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 
8934
    ;;
 
8935
 
 
8936
  gnu*)
 
8937
    # Under GNU Hurd, this test is not required because there is
 
8938
    # no limit to the length of command line arguments.
 
8939
    # Libtool will interpret -1 as no limit whatsoever
 
8940
    lt_cv_sys_max_cmd_len=-1;
 
8941
    ;;
 
8942
 
 
8943
  cygwin* | mingw* | cegcc*)
 
8944
    # On Win9x/ME, this test blows up -- it succeeds, but takes
 
8945
    # about 5 minutes as the teststring grows exponentially.
 
8946
    # Worse, since 9x/ME are not pre-emptively multitasking,
 
8947
    # you end up with a "frozen" computer, even though with patience
 
8948
    # the test eventually succeeds (with a max line length of 256k).
 
8949
    # Instead, let's just punt: use the minimum linelength reported by
 
8950
    # all of the supported platforms: 8192 (on NT/2K/XP).
 
8951
    lt_cv_sys_max_cmd_len=8192;
 
8952
    ;;
 
8953
 
 
8954
  amigaos*)
 
8955
    # On AmigaOS with pdksh, this test takes hours, literally.
 
8956
    # So we just punt and use a minimum line length of 8192.
 
8957
    lt_cv_sys_max_cmd_len=8192;
 
8958
    ;;
 
8959
 
 
8960
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
8961
    # This has been around since 386BSD, at least.  Likely further.
 
8962
    if test -x /sbin/sysctl; then
 
8963
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
8964
    elif test -x /usr/sbin/sysctl; then
 
8965
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
8966
    else
 
8967
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
8968
    fi
 
8969
    # And add a safety zone
 
8970
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
8971
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
8972
    ;;
 
8973
 
 
8974
  interix*)
 
8975
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
8976
    lt_cv_sys_max_cmd_len=196608
 
8977
    ;;
 
8978
 
 
8979
  osf*)
 
8980
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
8981
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
8982
    # nice to cause kernel panics so lets avoid the loop below.
 
8983
    # First set a reasonable default.
 
8984
    lt_cv_sys_max_cmd_len=16384
 
8985
    #
 
8986
    if test -x /sbin/sysconfig; then
 
8987
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
8988
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
8989
      esac
 
8990
    fi
 
8991
    ;;
 
8992
  sco3.2v5*)
 
8993
    lt_cv_sys_max_cmd_len=102400
 
8994
    ;;
 
8995
  sysv5* | sco5v6* | sysv4.2uw2*)
 
8996
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
8997
    if test -n "$kargmax"; then
 
8998
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
 
8999
    else
 
9000
      lt_cv_sys_max_cmd_len=32768
 
9001
    fi
 
9002
    ;;
 
9003
  *)
 
9004
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
9005
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
9006
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
9007
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
9008
    else
 
9009
      # Make teststring a little bigger before we do anything with it.
 
9010
      # a 1K string should be a reasonable start.
 
9011
      for i in 1 2 3 4 5 6 7 8 ; do
 
9012
        teststring=$teststring$teststring
 
9013
      done
 
9014
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
9015
      # If test is not a shell built-in, we'll probably end up computing a
 
9016
      # maximum length that is only half of the actual maximum length, but
 
9017
      # we can't tell.
 
9018
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
 
9019
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
9020
              test $i != 17 # 1/2 MB should be enough
 
9021
      do
 
9022
        i=`expr $i + 1`
 
9023
        teststring=$teststring$teststring
 
9024
      done
 
9025
      # Only check the string length outside the loop.
 
9026
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 
9027
      teststring=
 
9028
      # Add a significant safety factor because C++ compilers can tack on
 
9029
      # massive amounts of additional arguments before passing them to the
 
9030
      # linker.  It appears as though 1/2 is a usable value.
 
9031
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
9032
    fi
 
9033
    ;;
 
9034
  esac
 
9035
 
 
9036
fi
 
9037
 
 
9038
if test -n $lt_cv_sys_max_cmd_len ; then
 
9039
  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
9040
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
 
9041
else
 
9042
  { $as_echo "$as_me:$LINENO: result: none" >&5
 
9043
$as_echo "none" >&6; }
 
9044
fi
 
9045
max_cmd_len=$lt_cv_sys_max_cmd_len
 
9046
 
 
9047
 
 
9048
 
 
9049
 
 
9050
 
 
9051
 
 
9052
: ${CP="cp -f"}
 
9053
: ${MV="mv -f"}
 
9054
: ${RM="rm -f"}
 
9055
 
 
9056
{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
 
9057
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
 
9058
# Try some XSI features
 
9059
xsi_shell=no
 
9060
( _lt_dummy="a/b/c"
 
9061
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
 
9062
      = c,a/b,, \
 
9063
    && eval 'test $(( 1 + 1 )) -eq 2 \
 
9064
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 
9065
  && xsi_shell=yes
 
9066
{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
 
9067
$as_echo "$xsi_shell" >&6; }
 
9068
 
 
9069
 
 
9070
{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
 
9071
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
 
9072
lt_shell_append=no
 
9073
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
 
9074
    >/dev/null 2>&1 \
 
9075
  && lt_shell_append=yes
 
9076
{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
 
9077
$as_echo "$lt_shell_append" >&6; }
 
9078
 
 
9079
 
 
9080
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
9081
  lt_unset=unset
 
9082
else
 
9083
  lt_unset=false
 
9084
fi
 
9085
 
 
9086
 
 
9087
 
 
9088
 
 
9089
 
 
9090
# test EBCDIC or ASCII
 
9091
case `echo X|tr X '\101'` in
 
9092
 A) # ASCII based system
 
9093
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 
9094
  lt_SP2NL='tr \040 \012'
 
9095
  lt_NL2SP='tr \015\012 \040\040'
 
9096
  ;;
 
9097
 *) # EBCDIC based system
 
9098
  lt_SP2NL='tr \100 \n'
 
9099
  lt_NL2SP='tr \r\n \100\100'
 
9100
  ;;
 
9101
esac
 
9102
 
 
9103
 
 
9104
 
 
9105
 
 
9106
 
 
9107
 
 
9108
 
 
9109
 
 
9110
 
 
9111
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
9112
$as_echo_n "checking for $LD option to reload object files... " >&6; }
 
9113
if test "${lt_cv_ld_reload_flag+set}" = set; then
 
9114
  $as_echo_n "(cached) " >&6
 
9115
else
 
9116
  lt_cv_ld_reload_flag='-r'
 
9117
fi
 
9118
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
9119
$as_echo "$lt_cv_ld_reload_flag" >&6; }
 
9120
reload_flag=$lt_cv_ld_reload_flag
 
9121
case $reload_flag in
 
9122
"" | " "*) ;;
 
9123
*) reload_flag=" $reload_flag" ;;
 
9124
esac
 
9125
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
9126
case $host_os in
 
9127
  darwin*)
 
9128
    if test "$GCC" = yes; then
 
9129
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
9130
    else
 
9131
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
9132
    fi
 
9133
    ;;
 
9134
esac
 
9135
 
 
9136
 
 
9137
 
 
9138
 
 
9139
 
 
9140
 
 
9141
 
 
9142
 
 
9143
 
 
9144
if test -n "$ac_tool_prefix"; then
 
9145
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
9146
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
9147
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9148
$as_echo_n "checking for $ac_word... " >&6; }
 
9149
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
 
9150
  $as_echo_n "(cached) " >&6
 
9151
else
 
9152
  if test -n "$OBJDUMP"; then
 
9153
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
9154
else
 
9155
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9156
for as_dir in $PATH
 
9157
do
 
9158
  IFS=$as_save_IFS
 
9159
  test -z "$as_dir" && as_dir=.
 
9160
  for ac_exec_ext in '' $ac_executable_extensions; do
 
9161
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9162
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
9163
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9164
    break 2
 
9165
  fi
 
9166
done
 
9167
done
 
9168
IFS=$as_save_IFS
 
9169
 
 
9170
fi
 
9171
fi
 
9172
OBJDUMP=$ac_cv_prog_OBJDUMP
 
9173
if test -n "$OBJDUMP"; then
 
9174
  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
 
9175
$as_echo "$OBJDUMP" >&6; }
 
9176
else
 
9177
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9178
$as_echo "no" >&6; }
 
9179
fi
 
9180
 
 
9181
 
 
9182
fi
 
9183
if test -z "$ac_cv_prog_OBJDUMP"; then
 
9184
  ac_ct_OBJDUMP=$OBJDUMP
 
9185
  # Extract the first word of "objdump", so it can be a program name with args.
 
9186
set dummy objdump; ac_word=$2
 
9187
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9188
$as_echo_n "checking for $ac_word... " >&6; }
 
9189
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
 
9190
  $as_echo_n "(cached) " >&6
 
9191
else
 
9192
  if test -n "$ac_ct_OBJDUMP"; then
 
9193
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
9194
else
 
9195
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9196
for as_dir in $PATH
 
9197
do
 
9198
  IFS=$as_save_IFS
 
9199
  test -z "$as_dir" && as_dir=.
 
9200
  for ac_exec_ext in '' $ac_executable_extensions; do
 
9201
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9202
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
9203
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9204
    break 2
 
9205
  fi
 
9206
done
 
9207
done
 
9208
IFS=$as_save_IFS
 
9209
 
 
9210
fi
 
9211
fi
 
9212
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
9213
if test -n "$ac_ct_OBJDUMP"; then
 
9214
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
 
9215
$as_echo "$ac_ct_OBJDUMP" >&6; }
 
9216
else
 
9217
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9218
$as_echo "no" >&6; }
 
9219
fi
 
9220
 
 
9221
  if test "x$ac_ct_OBJDUMP" = x; then
 
9222
    OBJDUMP="false"
 
9223
  else
 
9224
    case $cross_compiling:$ac_tool_warned in
 
9225
yes:)
 
9226
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
9227
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
9228
ac_tool_warned=yes ;;
 
9229
esac
 
9230
    OBJDUMP=$ac_ct_OBJDUMP
 
9231
  fi
 
9232
else
 
9233
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
9234
fi
 
9235
 
 
9236
test -z "$OBJDUMP" && OBJDUMP=objdump
 
9237
 
 
9238
 
 
9239
 
 
9240
 
 
9241
 
 
9242
 
 
9243
 
 
9244
 
 
9245
 
8719
9246
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
8720
9247
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
8721
9248
if test "${lt_cv_deplibs_check_method+set}" = set; then
8769
9296
  fi
8770
9297
  ;;
8771
9298
 
 
9299
cegcc)
 
9300
  # use the weaker test based on 'objdump'. See mingw*.
 
9301
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 
9302
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
9303
  ;;
 
9304
 
8772
9305
darwin* | rhapsody*)
8773
9306
  lt_cv_deplibs_check_method=pass_all
8774
9307
  ;;
8775
9308
 
8776
9309
freebsd* | dragonfly*)
8777
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
9310
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8778
9311
    case $host_cpu in
8779
9312
    i*86 )
8780
9313
      # Not sure whether the presence of OpenBSD here was a mistake.
8832
9365
  ;;
8833
9366
 
8834
9367
netbsd*)
8835
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
9368
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8836
9369
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8837
9370
  else
8838
9371
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
8845
9378
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
8846
9379
  ;;
8847
9380
 
8848
 
nto-qnx*)
8849
 
  lt_cv_deplibs_check_method=unknown
 
9381
*nto* | *qnx*)
 
9382
  lt_cv_deplibs_check_method=pass_all
8850
9383
  ;;
8851
9384
 
8852
9385
openbsd*)
8853
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
9386
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8854
9387
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
8855
9388
  else
8856
9389
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8869
9402
  lt_cv_deplibs_check_method=pass_all
8870
9403
  ;;
8871
9404
 
 
9405
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
9406
  lt_cv_deplibs_check_method=pass_all
 
9407
  ;;
 
9408
 
8872
9409
sysv4 | sysv4.3*)
8873
9410
  case $host_vendor in
8874
9411
  motorola)
8896
9433
  esac
8897
9434
  ;;
8898
9435
 
8899
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
9436
tpf*)
8900
9437
  lt_cv_deplibs_check_method=pass_all
8901
9438
  ;;
8902
9439
esac
8911
9448
 
8912
9449
 
8913
9450
 
 
9451
 
 
9452
 
 
9453
 
 
9454
 
 
9455
 
 
9456
 
 
9457
 
 
9458
 
 
9459
if test -n "$ac_tool_prefix"; then
 
9460
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 
9461
set dummy ${ac_tool_prefix}ar; ac_word=$2
 
9462
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9463
$as_echo_n "checking for $ac_word... " >&6; }
 
9464
if test "${ac_cv_prog_AR+set}" = set; then
 
9465
  $as_echo_n "(cached) " >&6
 
9466
else
 
9467
  if test -n "$AR"; then
 
9468
  ac_cv_prog_AR="$AR" # Let the user override the test.
 
9469
else
 
9470
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9471
for as_dir in $PATH
 
9472
do
 
9473
  IFS=$as_save_IFS
 
9474
  test -z "$as_dir" && as_dir=.
 
9475
  for ac_exec_ext in '' $ac_executable_extensions; do
 
9476
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9477
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
9478
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9479
    break 2
 
9480
  fi
 
9481
done
 
9482
done
 
9483
IFS=$as_save_IFS
 
9484
 
 
9485
fi
 
9486
fi
 
9487
AR=$ac_cv_prog_AR
 
9488
if test -n "$AR"; then
 
9489
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
 
9490
$as_echo "$AR" >&6; }
 
9491
else
 
9492
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9493
$as_echo "no" >&6; }
 
9494
fi
 
9495
 
 
9496
 
 
9497
fi
 
9498
if test -z "$ac_cv_prog_AR"; then
 
9499
  ac_ct_AR=$AR
 
9500
  # Extract the first word of "ar", so it can be a program name with args.
 
9501
set dummy ar; ac_word=$2
 
9502
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9503
$as_echo_n "checking for $ac_word... " >&6; }
 
9504
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
 
9505
  $as_echo_n "(cached) " >&6
 
9506
else
 
9507
  if test -n "$ac_ct_AR"; then
 
9508
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 
9509
else
 
9510
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9511
for as_dir in $PATH
 
9512
do
 
9513
  IFS=$as_save_IFS
 
9514
  test -z "$as_dir" && as_dir=.
 
9515
  for ac_exec_ext in '' $ac_executable_extensions; do
 
9516
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9517
    ac_cv_prog_ac_ct_AR="ar"
 
9518
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9519
    break 2
 
9520
  fi
 
9521
done
 
9522
done
 
9523
IFS=$as_save_IFS
 
9524
 
 
9525
fi
 
9526
fi
 
9527
ac_ct_AR=$ac_cv_prog_ac_ct_AR
 
9528
if test -n "$ac_ct_AR"; then
 
9529
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
9530
$as_echo "$ac_ct_AR" >&6; }
 
9531
else
 
9532
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9533
$as_echo "no" >&6; }
 
9534
fi
 
9535
 
 
9536
  if test "x$ac_ct_AR" = x; then
 
9537
    AR="false"
 
9538
  else
 
9539
    case $cross_compiling:$ac_tool_warned in
 
9540
yes:)
 
9541
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
9542
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
9543
ac_tool_warned=yes ;;
 
9544
esac
 
9545
    AR=$ac_ct_AR
 
9546
  fi
 
9547
else
 
9548
  AR="$ac_cv_prog_AR"
 
9549
fi
 
9550
 
 
9551
test -z "$AR" && AR=ar
 
9552
test -z "$AR_FLAGS" && AR_FLAGS=cru
 
9553
 
 
9554
 
 
9555
 
 
9556
 
 
9557
 
 
9558
 
 
9559
 
 
9560
 
 
9561
 
 
9562
 
 
9563
 
 
9564
if test -n "$ac_tool_prefix"; then
 
9565
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
9566
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
9567
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9568
$as_echo_n "checking for $ac_word... " >&6; }
 
9569
if test "${ac_cv_prog_STRIP+set}" = set; then
 
9570
  $as_echo_n "(cached) " >&6
 
9571
else
 
9572
  if test -n "$STRIP"; then
 
9573
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
9574
else
 
9575
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9576
for as_dir in $PATH
 
9577
do
 
9578
  IFS=$as_save_IFS
 
9579
  test -z "$as_dir" && as_dir=.
 
9580
  for ac_exec_ext in '' $ac_executable_extensions; do
 
9581
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9582
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
9583
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9584
    break 2
 
9585
  fi
 
9586
done
 
9587
done
 
9588
IFS=$as_save_IFS
 
9589
 
 
9590
fi
 
9591
fi
 
9592
STRIP=$ac_cv_prog_STRIP
 
9593
if test -n "$STRIP"; then
 
9594
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
9595
$as_echo "$STRIP" >&6; }
 
9596
else
 
9597
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9598
$as_echo "no" >&6; }
 
9599
fi
 
9600
 
 
9601
 
 
9602
fi
 
9603
if test -z "$ac_cv_prog_STRIP"; then
 
9604
  ac_ct_STRIP=$STRIP
 
9605
  # Extract the first word of "strip", so it can be a program name with args.
 
9606
set dummy strip; ac_word=$2
 
9607
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9608
$as_echo_n "checking for $ac_word... " >&6; }
 
9609
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
9610
  $as_echo_n "(cached) " >&6
 
9611
else
 
9612
  if test -n "$ac_ct_STRIP"; then
 
9613
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
9614
else
 
9615
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9616
for as_dir in $PATH
 
9617
do
 
9618
  IFS=$as_save_IFS
 
9619
  test -z "$as_dir" && as_dir=.
 
9620
  for ac_exec_ext in '' $ac_executable_extensions; do
 
9621
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9622
    ac_cv_prog_ac_ct_STRIP="strip"
 
9623
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9624
    break 2
 
9625
  fi
 
9626
done
 
9627
done
 
9628
IFS=$as_save_IFS
 
9629
 
 
9630
fi
 
9631
fi
 
9632
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
9633
if test -n "$ac_ct_STRIP"; then
 
9634
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
9635
$as_echo "$ac_ct_STRIP" >&6; }
 
9636
else
 
9637
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9638
$as_echo "no" >&6; }
 
9639
fi
 
9640
 
 
9641
  if test "x$ac_ct_STRIP" = x; then
 
9642
    STRIP=":"
 
9643
  else
 
9644
    case $cross_compiling:$ac_tool_warned in
 
9645
yes:)
 
9646
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
9647
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
9648
ac_tool_warned=yes ;;
 
9649
esac
 
9650
    STRIP=$ac_ct_STRIP
 
9651
  fi
 
9652
else
 
9653
  STRIP="$ac_cv_prog_STRIP"
 
9654
fi
 
9655
 
 
9656
test -z "$STRIP" && STRIP=:
 
9657
 
 
9658
 
 
9659
 
 
9660
 
 
9661
 
 
9662
 
 
9663
if test -n "$ac_tool_prefix"; then
 
9664
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
9665
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
9666
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9667
$as_echo_n "checking for $ac_word... " >&6; }
 
9668
if test "${ac_cv_prog_RANLIB+set}" = set; then
 
9669
  $as_echo_n "(cached) " >&6
 
9670
else
 
9671
  if test -n "$RANLIB"; then
 
9672
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
9673
else
 
9674
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9675
for as_dir in $PATH
 
9676
do
 
9677
  IFS=$as_save_IFS
 
9678
  test -z "$as_dir" && as_dir=.
 
9679
  for ac_exec_ext in '' $ac_executable_extensions; do
 
9680
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9681
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
9682
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9683
    break 2
 
9684
  fi
 
9685
done
 
9686
done
 
9687
IFS=$as_save_IFS
 
9688
 
 
9689
fi
 
9690
fi
 
9691
RANLIB=$ac_cv_prog_RANLIB
 
9692
if test -n "$RANLIB"; then
 
9693
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
 
9694
$as_echo "$RANLIB" >&6; }
 
9695
else
 
9696
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9697
$as_echo "no" >&6; }
 
9698
fi
 
9699
 
 
9700
 
 
9701
fi
 
9702
if test -z "$ac_cv_prog_RANLIB"; then
 
9703
  ac_ct_RANLIB=$RANLIB
 
9704
  # Extract the first word of "ranlib", so it can be a program name with args.
 
9705
set dummy ranlib; ac_word=$2
 
9706
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
9707
$as_echo_n "checking for $ac_word... " >&6; }
 
9708
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 
9709
  $as_echo_n "(cached) " >&6
 
9710
else
 
9711
  if test -n "$ac_ct_RANLIB"; then
 
9712
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
9713
else
 
9714
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
9715
for as_dir in $PATH
 
9716
do
 
9717
  IFS=$as_save_IFS
 
9718
  test -z "$as_dir" && as_dir=.
 
9719
  for ac_exec_ext in '' $ac_executable_extensions; do
 
9720
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
9721
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
9722
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
9723
    break 2
 
9724
  fi
 
9725
done
 
9726
done
 
9727
IFS=$as_save_IFS
 
9728
 
 
9729
fi
 
9730
fi
 
9731
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
9732
if test -n "$ac_ct_RANLIB"; then
 
9733
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
9734
$as_echo "$ac_ct_RANLIB" >&6; }
 
9735
else
 
9736
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9737
$as_echo "no" >&6; }
 
9738
fi
 
9739
 
 
9740
  if test "x$ac_ct_RANLIB" = x; then
 
9741
    RANLIB=":"
 
9742
  else
 
9743
    case $cross_compiling:$ac_tool_warned in
 
9744
yes:)
 
9745
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
9746
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
9747
ac_tool_warned=yes ;;
 
9748
esac
 
9749
    RANLIB=$ac_ct_RANLIB
 
9750
  fi
 
9751
else
 
9752
  RANLIB="$ac_cv_prog_RANLIB"
 
9753
fi
 
9754
 
 
9755
test -z "$RANLIB" && RANLIB=:
 
9756
 
 
9757
 
 
9758
 
 
9759
 
 
9760
 
 
9761
 
 
9762
# Determine commands to create old-style static archives.
 
9763
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 
9764
old_postinstall_cmds='chmod 644 $oldlib'
 
9765
old_postuninstall_cmds=
 
9766
 
 
9767
if test -n "$RANLIB"; then
 
9768
  case $host_os in
 
9769
  openbsd*)
 
9770
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
9771
    ;;
 
9772
  *)
 
9773
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
9774
    ;;
 
9775
  esac
 
9776
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
9777
fi
 
9778
 
 
9779
 
 
9780
 
 
9781
 
 
9782
 
 
9783
 
 
9784
 
 
9785
 
 
9786
 
 
9787
 
 
9788
 
 
9789
 
 
9790
 
 
9791
 
 
9792
 
 
9793
 
 
9794
 
 
9795
 
 
9796
 
 
9797
 
 
9798
 
 
9799
 
 
9800
 
 
9801
 
 
9802
 
 
9803
 
 
9804
 
 
9805
 
 
9806
 
 
9807
 
 
9808
 
 
9809
 
 
9810
 
 
9811
 
8914
9812
# If no C compiler was specified, use CC.
8915
9813
LTCC=${LTCC-"$CC"}
8916
9814
 
8920
9818
# Allow CC to be a program name with arguments.
8921
9819
compiler=$CC
8922
9820
 
8923
 
# Check whether --enable-libtool-lock was given.
8924
 
if test "${enable_libtool_lock+set}" = set; then
8925
 
  enableval=$enable_libtool_lock;
8926
 
fi
8927
 
 
8928
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8929
 
 
8930
 
# Some flags need to be propagated to the compiler or linker for good
8931
 
# libtool support.
8932
 
case $host in
8933
 
ia64-*-hpux*)
8934
 
  # Find out which ABI we are using.
8935
 
  echo 'int i;' > conftest.$ac_ext
8936
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8937
 
  (eval $ac_compile) 2>&5
8938
 
  ac_status=$?
8939
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8940
 
  (exit $ac_status); }; then
8941
 
    case `/usr/bin/file conftest.$ac_objext` in
8942
 
    *ELF-32*)
8943
 
      HPUX_IA64_MODE="32"
8944
 
      ;;
8945
 
    *ELF-64*)
8946
 
      HPUX_IA64_MODE="64"
8947
 
      ;;
8948
 
    esac
8949
 
  fi
8950
 
  rm -rf conftest*
8951
 
  ;;
8952
 
*-*-irix6*)
8953
 
  # Find out which ABI we are using.
8954
 
  echo '#line 8954 "configure"' > conftest.$ac_ext
8955
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8956
 
  (eval $ac_compile) 2>&5
8957
 
  ac_status=$?
8958
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8959
 
  (exit $ac_status); }; then
8960
 
   if test "$lt_cv_prog_gnu_ld" = yes; then
8961
 
    case `/usr/bin/file conftest.$ac_objext` in
8962
 
    *32-bit*)
8963
 
      LD="${LD-ld} -melf32bsmip"
8964
 
      ;;
8965
 
    *N32*)
8966
 
      LD="${LD-ld} -melf32bmipn32"
8967
 
      ;;
8968
 
    *64-bit*)
8969
 
      LD="${LD-ld} -melf64bmip"
8970
 
      ;;
8971
 
    esac
8972
 
   else
8973
 
    case `/usr/bin/file conftest.$ac_objext` in
8974
 
    *32-bit*)
8975
 
      LD="${LD-ld} -32"
8976
 
      ;;
8977
 
    *N32*)
8978
 
      LD="${LD-ld} -n32"
8979
 
      ;;
8980
 
    *64-bit*)
8981
 
      LD="${LD-ld} -64"
8982
 
      ;;
8983
 
    esac
8984
 
   fi
8985
 
  fi
8986
 
  rm -rf conftest*
8987
 
  ;;
8988
 
 
8989
 
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
8990
 
s390*-*linux*|sparc*-*linux*)
8991
 
  # Find out which ABI we are using.
8992
 
  echo 'int i;' > conftest.$ac_ext
8993
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8994
 
  (eval $ac_compile) 2>&5
8995
 
  ac_status=$?
8996
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8997
 
  (exit $ac_status); }; then
8998
 
    case `/usr/bin/file conftest.o` in
8999
 
    *32-bit*)
9000
 
      case $host in
9001
 
        x86_64-*kfreebsd*-gnu)
9002
 
          LD="${LD-ld} -m elf_i386_fbsd"
9003
 
          ;;
9004
 
        x86_64-*linux*)
9005
 
          LD="${LD-ld} -m elf_i386"
9006
 
          ;;
9007
 
        ppc64-*linux*|powerpc64-*linux*)
9008
 
          LD="${LD-ld} -m elf32ppclinux"
9009
 
          ;;
9010
 
        s390x-*linux*)
9011
 
          LD="${LD-ld} -m elf_s390"
9012
 
          ;;
9013
 
        sparc64-*linux*)
9014
 
          LD="${LD-ld} -m elf32_sparc"
9015
 
          ;;
9016
 
      esac
9017
 
      ;;
9018
 
    *64-bit*)
9019
 
      libsuff=64
9020
 
      case $host in
9021
 
        x86_64-*kfreebsd*-gnu)
9022
 
          LD="${LD-ld} -m elf_x86_64_fbsd"
9023
 
          ;;
9024
 
        x86_64-*linux*)
9025
 
          LD="${LD-ld} -m elf_x86_64"
9026
 
          ;;
9027
 
        ppc*-*linux*|powerpc*-*linux*)
9028
 
          LD="${LD-ld} -m elf64ppc"
9029
 
          ;;
9030
 
        s390*-*linux*)
9031
 
          LD="${LD-ld} -m elf64_s390"
9032
 
          ;;
9033
 
        sparc*-*linux*)
9034
 
          LD="${LD-ld} -m elf64_sparc"
9035
 
          ;;
9036
 
      esac
9037
 
      ;;
9038
 
    esac
9039
 
  fi
9040
 
  rm -rf conftest*
9041
 
  ;;
9042
 
 
9043
 
*-*-sco3.2v5*)
9044
 
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
9045
 
  SAVE_CFLAGS="$CFLAGS"
9046
 
  CFLAGS="$CFLAGS -belf"
9047
 
  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
9048
 
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
9049
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
9050
 
  $as_echo_n "(cached) " >&6
9051
 
else
9052
 
  ac_ext=c
9053
 
ac_cpp='$CPP $CPPFLAGS'
9054
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9055
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9056
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
9057
 
 
9058
 
     cat >conftest.$ac_ext <<_ACEOF
9059
 
/* confdefs.h.  */
9060
 
_ACEOF
9061
 
cat confdefs.h >>conftest.$ac_ext
9062
 
cat >>conftest.$ac_ext <<_ACEOF
9063
 
/* end confdefs.h.  */
9064
 
 
9065
 
int
9066
 
main ()
9067
 
{
9068
 
 
9069
 
  ;
9070
 
  return 0;
9071
 
}
9072
 
_ACEOF
9073
 
rm -f conftest.$ac_objext conftest$ac_exeext
9074
 
if { (ac_try="$ac_link"
9075
 
case "(($ac_try" in
9076
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9077
 
  *) ac_try_echo=$ac_try;;
9078
 
esac
9079
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9080
 
$as_echo "$ac_try_echo") >&5
9081
 
  (eval "$ac_link") 2>conftest.er1
9082
 
  ac_status=$?
9083
 
  grep -v '^ *+' conftest.er1 >conftest.err
9084
 
  rm -f conftest.er1
9085
 
  cat conftest.err >&5
9086
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9087
 
  (exit $ac_status); } && {
9088
 
         test -z "$ac_c_werror_flag" ||
9089
 
         test ! -s conftest.err
9090
 
       } && test -s conftest$ac_exeext && {
9091
 
         test "$cross_compiling" = yes ||
9092
 
         $as_test_x conftest$ac_exeext
9093
 
       }; then
9094
 
  lt_cv_cc_needs_belf=yes
9095
 
else
9096
 
  $as_echo "$as_me: failed program was:" >&5
9097
 
sed 's/^/| /' conftest.$ac_ext >&5
9098
 
 
9099
 
        lt_cv_cc_needs_belf=no
9100
 
fi
9101
 
 
9102
 
rm -rf conftest.dSYM
9103
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9104
 
      conftest$ac_exeext conftest.$ac_ext
9105
 
     ac_ext=c
9106
 
ac_cpp='$CPP $CPPFLAGS'
9107
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9108
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9109
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
9110
 
 
9111
 
fi
9112
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
9113
 
$as_echo "$lt_cv_cc_needs_belf" >&6; }
9114
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
9115
 
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
9116
 
    CFLAGS="$SAVE_CFLAGS"
9117
 
  fi
9118
 
  ;;
9119
 
sparc*-*solaris*)
9120
 
  # Find out which ABI we are using.
9121
 
  echo 'int i;' > conftest.$ac_ext
9122
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9123
 
  (eval $ac_compile) 2>&5
9124
 
  ac_status=$?
9125
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9126
 
  (exit $ac_status); }; then
9127
 
    case `/usr/bin/file conftest.o` in
9128
 
    *64-bit*)
9129
 
      case $lt_cv_prog_gnu_ld in
9130
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
9131
 
      *)
9132
 
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
9133
 
          LD="${LD-ld} -64"
9134
 
        fi
9135
 
        ;;
9136
 
      esac
9137
 
      ;;
9138
 
    esac
9139
 
  fi
9140
 
  rm -rf conftest*
9141
 
  ;;
9142
 
 
9143
 
 
9144
 
esac
9145
 
 
9146
 
need_locks="$enable_libtool_lock"
9147
 
 
9148
 
 
9149
 
 
9150
 
for ac_header in dlfcn.h
9151
 
do
9152
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9153
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9154
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9155
 
$as_echo_n "checking for $ac_header... " >&6; }
9156
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9157
 
  $as_echo_n "(cached) " >&6
9158
 
fi
9159
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
9160
 
                 $as_echo "$as_val"'`
9161
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9162
 
$as_echo "$ac_res" >&6; }
9163
 
else
9164
 
  # Is the header compilable?
9165
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
9166
 
$as_echo_n "checking $ac_header usability... " >&6; }
9167
 
cat >conftest.$ac_ext <<_ACEOF
9168
 
/* confdefs.h.  */
9169
 
_ACEOF
9170
 
cat confdefs.h >>conftest.$ac_ext
9171
 
cat >>conftest.$ac_ext <<_ACEOF
9172
 
/* end confdefs.h.  */
9173
 
$ac_includes_default
9174
 
#include <$ac_header>
9175
 
_ACEOF
9176
 
rm -f conftest.$ac_objext
9177
 
if { (ac_try="$ac_compile"
9178
 
case "(($ac_try" in
9179
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9180
 
  *) ac_try_echo=$ac_try;;
9181
 
esac
9182
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9183
 
$as_echo "$ac_try_echo") >&5
9184
 
  (eval "$ac_compile") 2>conftest.er1
9185
 
  ac_status=$?
9186
 
  grep -v '^ *+' conftest.er1 >conftest.err
9187
 
  rm -f conftest.er1
9188
 
  cat conftest.err >&5
9189
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9190
 
  (exit $ac_status); } && {
9191
 
         test -z "$ac_c_werror_flag" ||
9192
 
         test ! -s conftest.err
9193
 
       } && test -s conftest.$ac_objext; then
9194
 
  ac_header_compiler=yes
9195
 
else
9196
 
  $as_echo "$as_me: failed program was:" >&5
9197
 
sed 's/^/| /' conftest.$ac_ext >&5
9198
 
 
9199
 
        ac_header_compiler=no
9200
 
fi
9201
 
 
9202
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9203
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9204
 
$as_echo "$ac_header_compiler" >&6; }
9205
 
 
9206
 
# Is the header present?
9207
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
9208
 
$as_echo_n "checking $ac_header presence... " >&6; }
9209
 
cat >conftest.$ac_ext <<_ACEOF
9210
 
/* confdefs.h.  */
9211
 
_ACEOF
9212
 
cat confdefs.h >>conftest.$ac_ext
9213
 
cat >>conftest.$ac_ext <<_ACEOF
9214
 
/* end confdefs.h.  */
9215
 
#include <$ac_header>
9216
 
_ACEOF
9217
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
9218
 
case "(($ac_try" in
9219
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9220
 
  *) ac_try_echo=$ac_try;;
9221
 
esac
9222
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9223
 
$as_echo "$ac_try_echo") >&5
9224
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9225
 
  ac_status=$?
9226
 
  grep -v '^ *+' conftest.er1 >conftest.err
9227
 
  rm -f conftest.er1
9228
 
  cat conftest.err >&5
9229
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9230
 
  (exit $ac_status); } >/dev/null && {
9231
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9232
 
         test ! -s conftest.err
9233
 
       }; then
9234
 
  ac_header_preproc=yes
9235
 
else
9236
 
  $as_echo "$as_me: failed program was:" >&5
9237
 
sed 's/^/| /' conftest.$ac_ext >&5
9238
 
 
9239
 
  ac_header_preproc=no
9240
 
fi
9241
 
 
9242
 
rm -f conftest.err conftest.$ac_ext
9243
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9244
 
$as_echo "$ac_header_preproc" >&6; }
9245
 
 
9246
 
# So?  What about this header?
9247
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9248
 
  yes:no: )
9249
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9250
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9251
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9252
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9253
 
    ac_header_preproc=yes
9254
 
    ;;
9255
 
  no:yes:* )
9256
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9257
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9258
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
9259
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
9260
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9261
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9262
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
9263
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
9264
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9265
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9266
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9267
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9268
 
    ( cat <<\_ASBOX
9269
 
## -------------------------------------------- ##
9270
 
## Report this to sigscheme-ja@googlegroups.com ##
9271
 
## -------------------------------------------- ##
9272
 
_ASBOX
9273
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
9274
 
    ;;
9275
 
esac
9276
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9277
 
$as_echo_n "checking for $ac_header... " >&6; }
9278
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9279
 
  $as_echo_n "(cached) " >&6
9280
 
else
9281
 
  eval "$as_ac_Header=\$ac_header_preproc"
9282
 
fi
9283
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
9284
 
                 $as_echo "$as_val"'`
9285
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9286
 
$as_echo "$ac_res" >&6; }
9287
 
 
9288
 
fi
9289
 
as_val=`eval 'as_val=${'$as_ac_Header'}
9290
 
                 $as_echo "$as_val"'`
9291
 
   if test "x$as_val" = x""yes; then
9292
 
  cat >>confdefs.h <<_ACEOF
9293
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9294
 
_ACEOF
9295
 
 
9296
 
fi
9297
 
 
9298
 
done
9299
 
 
9300
 
ac_ext=cpp
9301
 
ac_cpp='$CXXCPP $CPPFLAGS'
9302
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9303
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9304
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9305
 
if test -z "$CXX"; then
9306
 
  if test -n "$CCC"; then
9307
 
    CXX=$CCC
9308
 
  else
9309
 
    if test -n "$ac_tool_prefix"; then
9310
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
9311
 
  do
9312
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9313
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9314
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9315
 
$as_echo_n "checking for $ac_word... " >&6; }
9316
 
if test "${ac_cv_prog_CXX+set}" = set; then
9317
 
  $as_echo_n "(cached) " >&6
9318
 
else
9319
 
  if test -n "$CXX"; then
9320
 
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
9321
 
else
9322
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9323
 
for as_dir in $PATH
9324
 
do
9325
 
  IFS=$as_save_IFS
9326
 
  test -z "$as_dir" && as_dir=.
9327
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9328
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9329
 
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
9330
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9331
 
    break 2
9332
 
  fi
9333
 
done
9334
 
done
9335
 
IFS=$as_save_IFS
9336
 
 
9337
 
fi
9338
 
fi
9339
 
CXX=$ac_cv_prog_CXX
9340
 
if test -n "$CXX"; then
9341
 
  { $as_echo "$as_me:$LINENO: result: $CXX" >&5
9342
 
$as_echo "$CXX" >&6; }
9343
 
else
9344
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
9345
 
$as_echo "no" >&6; }
9346
 
fi
9347
 
 
9348
 
 
9349
 
    test -n "$CXX" && break
9350
 
  done
9351
 
fi
9352
 
if test -z "$CXX"; then
9353
 
  ac_ct_CXX=$CXX
9354
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
9355
 
do
9356
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
9357
 
set dummy $ac_prog; ac_word=$2
9358
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9359
 
$as_echo_n "checking for $ac_word... " >&6; }
9360
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
9361
 
  $as_echo_n "(cached) " >&6
9362
 
else
9363
 
  if test -n "$ac_ct_CXX"; then
9364
 
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
9365
 
else
9366
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9367
 
for as_dir in $PATH
9368
 
do
9369
 
  IFS=$as_save_IFS
9370
 
  test -z "$as_dir" && as_dir=.
9371
 
  for ac_exec_ext in '' $ac_executable_extensions; do
9372
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9373
 
    ac_cv_prog_ac_ct_CXX="$ac_prog"
9374
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9375
 
    break 2
9376
 
  fi
9377
 
done
9378
 
done
9379
 
IFS=$as_save_IFS
9380
 
 
9381
 
fi
9382
 
fi
9383
 
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
9384
 
if test -n "$ac_ct_CXX"; then
9385
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
9386
 
$as_echo "$ac_ct_CXX" >&6; }
9387
 
else
9388
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
9389
 
$as_echo "no" >&6; }
9390
 
fi
9391
 
 
9392
 
 
9393
 
  test -n "$ac_ct_CXX" && break
9394
 
done
9395
 
 
9396
 
  if test "x$ac_ct_CXX" = x; then
9397
 
    CXX="g++"
9398
 
  else
9399
 
    case $cross_compiling:$ac_tool_warned in
9400
 
yes:)
9401
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
9402
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9403
 
ac_tool_warned=yes ;;
9404
 
esac
9405
 
    CXX=$ac_ct_CXX
9406
 
  fi
9407
 
fi
9408
 
 
9409
 
  fi
9410
 
fi
9411
 
# Provide some information about the compiler.
9412
 
$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
9413
 
set X $ac_compile
9414
 
ac_compiler=$2
9415
 
{ (ac_try="$ac_compiler --version >&5"
9416
 
case "(($ac_try" in
9417
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9418
 
  *) ac_try_echo=$ac_try;;
9419
 
esac
9420
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9421
 
$as_echo "$ac_try_echo") >&5
9422
 
  (eval "$ac_compiler --version >&5") 2>&5
9423
 
  ac_status=$?
9424
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9425
 
  (exit $ac_status); }
9426
 
{ (ac_try="$ac_compiler -v >&5"
9427
 
case "(($ac_try" in
9428
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9429
 
  *) ac_try_echo=$ac_try;;
9430
 
esac
9431
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9432
 
$as_echo "$ac_try_echo") >&5
9433
 
  (eval "$ac_compiler -v >&5") 2>&5
9434
 
  ac_status=$?
9435
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9436
 
  (exit $ac_status); }
9437
 
{ (ac_try="$ac_compiler -V >&5"
9438
 
case "(($ac_try" in
9439
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9440
 
  *) ac_try_echo=$ac_try;;
9441
 
esac
9442
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9443
 
$as_echo "$ac_try_echo") >&5
9444
 
  (eval "$ac_compiler -V >&5") 2>&5
9445
 
  ac_status=$?
9446
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9447
 
  (exit $ac_status); }
9448
 
 
9449
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
9450
 
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
9451
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
9452
 
  $as_echo_n "(cached) " >&6
9453
 
else
9454
 
  cat >conftest.$ac_ext <<_ACEOF
9455
 
/* confdefs.h.  */
9456
 
_ACEOF
9457
 
cat confdefs.h >>conftest.$ac_ext
9458
 
cat >>conftest.$ac_ext <<_ACEOF
9459
 
/* end confdefs.h.  */
9460
 
 
9461
 
int
9462
 
main ()
9463
 
{
9464
 
#ifndef __GNUC__
9465
 
       choke me
9466
 
#endif
9467
 
 
9468
 
  ;
9469
 
  return 0;
9470
 
}
9471
 
_ACEOF
9472
 
rm -f conftest.$ac_objext
9473
 
if { (ac_try="$ac_compile"
9474
 
case "(($ac_try" in
9475
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9476
 
  *) ac_try_echo=$ac_try;;
9477
 
esac
9478
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9479
 
$as_echo "$ac_try_echo") >&5
9480
 
  (eval "$ac_compile") 2>conftest.er1
9481
 
  ac_status=$?
9482
 
  grep -v '^ *+' conftest.er1 >conftest.err
9483
 
  rm -f conftest.er1
9484
 
  cat conftest.err >&5
9485
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9486
 
  (exit $ac_status); } && {
9487
 
         test -z "$ac_cxx_werror_flag" ||
9488
 
         test ! -s conftest.err
9489
 
       } && test -s conftest.$ac_objext; then
9490
 
  ac_compiler_gnu=yes
9491
 
else
9492
 
  $as_echo "$as_me: failed program was:" >&5
9493
 
sed 's/^/| /' conftest.$ac_ext >&5
9494
 
 
9495
 
        ac_compiler_gnu=no
9496
 
fi
9497
 
 
9498
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9499
 
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
9500
 
 
9501
 
fi
9502
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
9503
 
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
9504
 
if test $ac_compiler_gnu = yes; then
9505
 
  GXX=yes
9506
 
else
9507
 
  GXX=
9508
 
fi
9509
 
ac_test_CXXFLAGS=${CXXFLAGS+set}
9510
 
ac_save_CXXFLAGS=$CXXFLAGS
9511
 
{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
9512
 
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
9513
 
if test "${ac_cv_prog_cxx_g+set}" = set; then
9514
 
  $as_echo_n "(cached) " >&6
9515
 
else
9516
 
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
9517
 
   ac_cxx_werror_flag=yes
9518
 
   ac_cv_prog_cxx_g=no
9519
 
   CXXFLAGS="-g"
9520
 
   cat >conftest.$ac_ext <<_ACEOF
9521
 
/* confdefs.h.  */
9522
 
_ACEOF
9523
 
cat confdefs.h >>conftest.$ac_ext
9524
 
cat >>conftest.$ac_ext <<_ACEOF
9525
 
/* end confdefs.h.  */
9526
 
 
9527
 
int
9528
 
main ()
9529
 
{
9530
 
 
9531
 
  ;
9532
 
  return 0;
9533
 
}
9534
 
_ACEOF
9535
 
rm -f conftest.$ac_objext
9536
 
if { (ac_try="$ac_compile"
9537
 
case "(($ac_try" in
9538
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9539
 
  *) ac_try_echo=$ac_try;;
9540
 
esac
9541
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9542
 
$as_echo "$ac_try_echo") >&5
9543
 
  (eval "$ac_compile") 2>conftest.er1
9544
 
  ac_status=$?
9545
 
  grep -v '^ *+' conftest.er1 >conftest.err
9546
 
  rm -f conftest.er1
9547
 
  cat conftest.err >&5
9548
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9549
 
  (exit $ac_status); } && {
9550
 
         test -z "$ac_cxx_werror_flag" ||
9551
 
         test ! -s conftest.err
9552
 
       } && test -s conftest.$ac_objext; then
9553
 
  ac_cv_prog_cxx_g=yes
9554
 
else
9555
 
  $as_echo "$as_me: failed program was:" >&5
9556
 
sed 's/^/| /' conftest.$ac_ext >&5
9557
 
 
9558
 
        CXXFLAGS=""
9559
 
      cat >conftest.$ac_ext <<_ACEOF
9560
 
/* confdefs.h.  */
9561
 
_ACEOF
9562
 
cat confdefs.h >>conftest.$ac_ext
9563
 
cat >>conftest.$ac_ext <<_ACEOF
9564
 
/* end confdefs.h.  */
9565
 
 
9566
 
int
9567
 
main ()
9568
 
{
9569
 
 
9570
 
  ;
9571
 
  return 0;
9572
 
}
9573
 
_ACEOF
9574
 
rm -f conftest.$ac_objext
9575
 
if { (ac_try="$ac_compile"
9576
 
case "(($ac_try" in
9577
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9578
 
  *) ac_try_echo=$ac_try;;
9579
 
esac
9580
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9581
 
$as_echo "$ac_try_echo") >&5
9582
 
  (eval "$ac_compile") 2>conftest.er1
9583
 
  ac_status=$?
9584
 
  grep -v '^ *+' conftest.er1 >conftest.err
9585
 
  rm -f conftest.er1
9586
 
  cat conftest.err >&5
9587
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9588
 
  (exit $ac_status); } && {
9589
 
         test -z "$ac_cxx_werror_flag" ||
9590
 
         test ! -s conftest.err
9591
 
       } && test -s conftest.$ac_objext; then
9592
 
  :
9593
 
else
9594
 
  $as_echo "$as_me: failed program was:" >&5
9595
 
sed 's/^/| /' conftest.$ac_ext >&5
9596
 
 
9597
 
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
9598
 
         CXXFLAGS="-g"
9599
 
         cat >conftest.$ac_ext <<_ACEOF
9600
 
/* confdefs.h.  */
9601
 
_ACEOF
9602
 
cat confdefs.h >>conftest.$ac_ext
9603
 
cat >>conftest.$ac_ext <<_ACEOF
9604
 
/* end confdefs.h.  */
9605
 
 
9606
 
int
9607
 
main ()
9608
 
{
9609
 
 
9610
 
  ;
9611
 
  return 0;
9612
 
}
9613
 
_ACEOF
9614
 
rm -f conftest.$ac_objext
9615
 
if { (ac_try="$ac_compile"
9616
 
case "(($ac_try" in
9617
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9618
 
  *) ac_try_echo=$ac_try;;
9619
 
esac
9620
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9621
 
$as_echo "$ac_try_echo") >&5
9622
 
  (eval "$ac_compile") 2>conftest.er1
9623
 
  ac_status=$?
9624
 
  grep -v '^ *+' conftest.er1 >conftest.err
9625
 
  rm -f conftest.er1
9626
 
  cat conftest.err >&5
9627
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9628
 
  (exit $ac_status); } && {
9629
 
         test -z "$ac_cxx_werror_flag" ||
9630
 
         test ! -s conftest.err
9631
 
       } && test -s conftest.$ac_objext; then
9632
 
  ac_cv_prog_cxx_g=yes
9633
 
else
9634
 
  $as_echo "$as_me: failed program was:" >&5
9635
 
sed 's/^/| /' conftest.$ac_ext >&5
9636
 
 
9637
 
 
9638
 
fi
9639
 
 
9640
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9641
 
fi
9642
 
 
9643
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9644
 
fi
9645
 
 
9646
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9647
 
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
9648
 
fi
9649
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
9650
 
$as_echo "$ac_cv_prog_cxx_g" >&6; }
9651
 
if test "$ac_test_CXXFLAGS" = set; then
9652
 
  CXXFLAGS=$ac_save_CXXFLAGS
9653
 
elif test $ac_cv_prog_cxx_g = yes; then
9654
 
  if test "$GXX" = yes; then
9655
 
    CXXFLAGS="-g -O2"
9656
 
  else
9657
 
    CXXFLAGS="-g"
9658
 
  fi
9659
 
else
9660
 
  if test "$GXX" = yes; then
9661
 
    CXXFLAGS="-O2"
9662
 
  else
9663
 
    CXXFLAGS=
9664
 
  fi
9665
 
fi
9666
 
ac_ext=cpp
9667
 
ac_cpp='$CXXCPP $CPPFLAGS'
9668
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9669
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9670
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9671
 
 
9672
 
depcc="$CXX"  am_compiler_list=
9673
 
 
9674
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
9675
 
$as_echo_n "checking dependency style of $depcc... " >&6; }
9676
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
9677
 
  $as_echo_n "(cached) " >&6
9678
 
else
9679
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
9680
 
  # We make a subdir and do the tests there.  Otherwise we can end up
9681
 
  # making bogus files that we don't know about and never remove.  For
9682
 
  # instance it was reported that on HP-UX the gcc test will end up
9683
 
  # making a dummy file named `D' -- because `-MD' means `put the output
9684
 
  # in D'.
9685
 
  mkdir conftest.dir
9686
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
9687
 
  # using a relative directory.
9688
 
  cp "$am_depcomp" conftest.dir
9689
 
  cd conftest.dir
9690
 
  # We will build objects and dependencies in a subdirectory because
9691
 
  # it helps to detect inapplicable dependency modes.  For instance
9692
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
9693
 
  # side effect of compilation, but ICC will put the dependencies in
9694
 
  # the current directory while Tru64 will put them in the object
9695
 
  # directory.
9696
 
  mkdir sub
9697
 
 
9698
 
  am_cv_CXX_dependencies_compiler_type=none
9699
 
  if test "$am_compiler_list" = ""; then
9700
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
9701
 
  fi
9702
 
  for depmode in $am_compiler_list; do
9703
 
    # Setup a source with many dependencies, because some compilers
9704
 
    # like to wrap large dependency lists on column 80 (with \), and
9705
 
    # we should not choose a depcomp mode which is confused by this.
9706
 
    #
9707
 
    # We need to recreate these files for each test, as the compiler may
9708
 
    # overwrite some of them when testing with obscure command lines.
9709
 
    # This happens at least with the AIX C compiler.
9710
 
    : > sub/conftest.c
9711
 
    for i in 1 2 3 4 5 6; do
9712
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
9713
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
9714
 
      # Solaris 8's {/usr,}/bin/sh.
9715
 
      touch sub/conftst$i.h
9716
 
    done
9717
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
9718
 
 
9719
 
    case $depmode in
9720
 
    nosideeffect)
9721
 
      # after this tag, mechanisms are not by side-effect, so they'll
9722
 
      # only be used when explicitly requested
9723
 
      if test "x$enable_dependency_tracking" = xyes; then
9724
 
        continue
9725
 
      else
9726
 
        break
9727
 
      fi
9728
 
      ;;
9729
 
    none) break ;;
9730
 
    esac
9731
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
9732
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
9733
 
    # handle `-M -o', and we need to detect this.
9734
 
    if depmode=$depmode \
9735
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
9736
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
9737
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
9738
 
         >/dev/null 2>conftest.err &&
9739
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
9740
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
9741
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
9742
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
9743
 
      # icc doesn't choke on unknown options, it will just issue warnings
9744
 
      # or remarks (even with -Werror).  So we grep stderr for any message
9745
 
      # that says an option was ignored or not supported.
9746
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
9747
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
9748
 
      # The diagnosis changed in icc 8.0:
9749
 
      #   icc: Command line remark: option '-MP' not supported
9750
 
      if (grep 'ignoring option' conftest.err ||
9751
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
9752
 
        am_cv_CXX_dependencies_compiler_type=$depmode
9753
 
        break
9754
 
      fi
9755
 
    fi
9756
 
  done
9757
 
 
9758
 
  cd ..
9759
 
  rm -rf conftest.dir
9760
 
else
9761
 
  am_cv_CXX_dependencies_compiler_type=none
9762
 
fi
9763
 
 
9764
 
fi
9765
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
9766
 
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
9767
 
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
9768
 
 
9769
 
 if
9770
 
  test "x$enable_dependency_tracking" != xno \
9771
 
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
9772
 
  am__fastdepCXX_TRUE=
9773
 
  am__fastdepCXX_FALSE='#'
9774
 
else
9775
 
  am__fastdepCXX_TRUE='#'
9776
 
  am__fastdepCXX_FALSE=
9777
 
fi
9778
 
 
9779
 
 
9780
 
 
9781
 
 
9782
 
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
9783
 
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
9784
 
    (test "X$CXX" != "Xg++"))) ; then
9785
 
  ac_ext=cpp
9786
 
ac_cpp='$CXXCPP $CPPFLAGS'
9787
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9788
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9789
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9790
 
{ $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
9791
 
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
9792
 
if test -z "$CXXCPP"; then
9793
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
9794
 
  $as_echo_n "(cached) " >&6
9795
 
else
9796
 
      # Double quotes because CXXCPP needs to be expanded
9797
 
    for CXXCPP in "$CXX -E" "/lib/cpp"
9798
 
    do
9799
 
      ac_preproc_ok=false
9800
 
for ac_cxx_preproc_warn_flag in '' yes
9801
 
do
9802
 
  # Use a header file that comes with gcc, so configuring glibc
9803
 
  # with a fresh cross-compiler works.
9804
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9805
 
  # <limits.h> exists even on freestanding compilers.
9806
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
9807
 
  # not just through cpp. "Syntax error" is here to catch this case.
9808
 
  cat >conftest.$ac_ext <<_ACEOF
9809
 
/* confdefs.h.  */
9810
 
_ACEOF
9811
 
cat confdefs.h >>conftest.$ac_ext
9812
 
cat >>conftest.$ac_ext <<_ACEOF
9813
 
/* end confdefs.h.  */
9814
 
#ifdef __STDC__
9815
 
# include <limits.h>
9816
 
#else
9817
 
# include <assert.h>
9818
 
#endif
9819
 
                     Syntax error
9820
 
_ACEOF
9821
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
9822
 
case "(($ac_try" in
9823
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9824
 
  *) ac_try_echo=$ac_try;;
9825
 
esac
9826
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9827
 
$as_echo "$ac_try_echo") >&5
9828
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9829
 
  ac_status=$?
9830
 
  grep -v '^ *+' conftest.er1 >conftest.err
9831
 
  rm -f conftest.er1
9832
 
  cat conftest.err >&5
9833
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9834
 
  (exit $ac_status); } >/dev/null && {
9835
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
9836
 
         test ! -s conftest.err
9837
 
       }; then
9838
 
  :
9839
 
else
9840
 
  $as_echo "$as_me: failed program was:" >&5
9841
 
sed 's/^/| /' conftest.$ac_ext >&5
9842
 
 
9843
 
  # Broken: fails on valid input.
9844
 
continue
9845
 
fi
9846
 
 
9847
 
rm -f conftest.err conftest.$ac_ext
9848
 
 
9849
 
  # OK, works on sane cases.  Now check whether nonexistent headers
9850
 
  # can be detected and how.
9851
 
  cat >conftest.$ac_ext <<_ACEOF
9852
 
/* confdefs.h.  */
9853
 
_ACEOF
9854
 
cat confdefs.h >>conftest.$ac_ext
9855
 
cat >>conftest.$ac_ext <<_ACEOF
9856
 
/* end confdefs.h.  */
9857
 
#include <ac_nonexistent.h>
9858
 
_ACEOF
9859
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
9860
 
case "(($ac_try" in
9861
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9862
 
  *) ac_try_echo=$ac_try;;
9863
 
esac
9864
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9865
 
$as_echo "$ac_try_echo") >&5
9866
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9867
 
  ac_status=$?
9868
 
  grep -v '^ *+' conftest.er1 >conftest.err
9869
 
  rm -f conftest.er1
9870
 
  cat conftest.err >&5
9871
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9872
 
  (exit $ac_status); } >/dev/null && {
9873
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
9874
 
         test ! -s conftest.err
9875
 
       }; then
9876
 
  # Broken: success on invalid input.
9877
 
continue
9878
 
else
9879
 
  $as_echo "$as_me: failed program was:" >&5
9880
 
sed 's/^/| /' conftest.$ac_ext >&5
9881
 
 
9882
 
  # Passes both tests.
9883
 
ac_preproc_ok=:
9884
 
break
9885
 
fi
9886
 
 
9887
 
rm -f conftest.err conftest.$ac_ext
9888
 
 
9889
 
done
9890
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9891
 
rm -f conftest.err conftest.$ac_ext
9892
 
if $ac_preproc_ok; then
9893
 
  break
9894
 
fi
9895
 
 
9896
 
    done
9897
 
    ac_cv_prog_CXXCPP=$CXXCPP
9898
 
 
9899
 
fi
9900
 
  CXXCPP=$ac_cv_prog_CXXCPP
9901
 
else
9902
 
  ac_cv_prog_CXXCPP=$CXXCPP
9903
 
fi
9904
 
{ $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
9905
 
$as_echo "$CXXCPP" >&6; }
9906
 
ac_preproc_ok=false
9907
 
for ac_cxx_preproc_warn_flag in '' yes
9908
 
do
9909
 
  # Use a header file that comes with gcc, so configuring glibc
9910
 
  # with a fresh cross-compiler works.
9911
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9912
 
  # <limits.h> exists even on freestanding compilers.
9913
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
9914
 
  # not just through cpp. "Syntax error" is here to catch this case.
9915
 
  cat >conftest.$ac_ext <<_ACEOF
9916
 
/* confdefs.h.  */
9917
 
_ACEOF
9918
 
cat confdefs.h >>conftest.$ac_ext
9919
 
cat >>conftest.$ac_ext <<_ACEOF
9920
 
/* end confdefs.h.  */
9921
 
#ifdef __STDC__
9922
 
# include <limits.h>
9923
 
#else
9924
 
# include <assert.h>
9925
 
#endif
9926
 
                     Syntax error
9927
 
_ACEOF
9928
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
9929
 
case "(($ac_try" in
9930
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9931
 
  *) ac_try_echo=$ac_try;;
9932
 
esac
9933
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9934
 
$as_echo "$ac_try_echo") >&5
9935
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9936
 
  ac_status=$?
9937
 
  grep -v '^ *+' conftest.er1 >conftest.err
9938
 
  rm -f conftest.er1
9939
 
  cat conftest.err >&5
9940
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9941
 
  (exit $ac_status); } >/dev/null && {
9942
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
9943
 
         test ! -s conftest.err
9944
 
       }; then
9945
 
  :
9946
 
else
9947
 
  $as_echo "$as_me: failed program was:" >&5
9948
 
sed 's/^/| /' conftest.$ac_ext >&5
9949
 
 
9950
 
  # Broken: fails on valid input.
9951
 
continue
9952
 
fi
9953
 
 
9954
 
rm -f conftest.err conftest.$ac_ext
9955
 
 
9956
 
  # OK, works on sane cases.  Now check whether nonexistent headers
9957
 
  # can be detected and how.
9958
 
  cat >conftest.$ac_ext <<_ACEOF
9959
 
/* confdefs.h.  */
9960
 
_ACEOF
9961
 
cat confdefs.h >>conftest.$ac_ext
9962
 
cat >>conftest.$ac_ext <<_ACEOF
9963
 
/* end confdefs.h.  */
9964
 
#include <ac_nonexistent.h>
9965
 
_ACEOF
9966
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
9967
 
case "(($ac_try" in
9968
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9969
 
  *) ac_try_echo=$ac_try;;
9970
 
esac
9971
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9972
 
$as_echo "$ac_try_echo") >&5
9973
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9974
 
  ac_status=$?
9975
 
  grep -v '^ *+' conftest.er1 >conftest.err
9976
 
  rm -f conftest.er1
9977
 
  cat conftest.err >&5
9978
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9979
 
  (exit $ac_status); } >/dev/null && {
9980
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
9981
 
         test ! -s conftest.err
9982
 
       }; then
9983
 
  # Broken: success on invalid input.
9984
 
continue
9985
 
else
9986
 
  $as_echo "$as_me: failed program was:" >&5
9987
 
sed 's/^/| /' conftest.$ac_ext >&5
9988
 
 
9989
 
  # Passes both tests.
9990
 
ac_preproc_ok=:
9991
 
break
9992
 
fi
9993
 
 
9994
 
rm -f conftest.err conftest.$ac_ext
9995
 
 
9996
 
done
9997
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9998
 
rm -f conftest.err conftest.$ac_ext
9999
 
if $ac_preproc_ok; then
10000
 
  :
10001
 
else
10002
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
10003
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10004
 
{ { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
10005
 
See \`config.log' for more details." >&5
10006
 
$as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
10007
 
See \`config.log' for more details." >&2;}
10008
 
   { (exit 1); exit 1; }; }; }
10009
 
fi
10010
 
 
10011
 
ac_ext=cpp
10012
 
ac_cpp='$CXXCPP $CPPFLAGS'
10013
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10014
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10015
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10016
 
 
10017
 
fi
10018
 
 
10019
 
 
10020
 
ac_ext=f
10021
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
10022
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10023
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
10024
 
if test -n "$ac_tool_prefix"; then
10025
 
  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
10026
 
  do
10027
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10028
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10029
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10030
 
$as_echo_n "checking for $ac_word... " >&6; }
10031
 
if test "${ac_cv_prog_F77+set}" = set; then
10032
 
  $as_echo_n "(cached) " >&6
10033
 
else
10034
 
  if test -n "$F77"; then
10035
 
  ac_cv_prog_F77="$F77" # Let the user override the test.
10036
 
else
10037
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10038
 
for as_dir in $PATH
10039
 
do
10040
 
  IFS=$as_save_IFS
10041
 
  test -z "$as_dir" && as_dir=.
10042
 
  for ac_exec_ext in '' $ac_executable_extensions; do
10043
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10044
 
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
10045
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10046
 
    break 2
10047
 
  fi
10048
 
done
10049
 
done
10050
 
IFS=$as_save_IFS
10051
 
 
10052
 
fi
10053
 
fi
10054
 
F77=$ac_cv_prog_F77
10055
 
if test -n "$F77"; then
10056
 
  { $as_echo "$as_me:$LINENO: result: $F77" >&5
10057
 
$as_echo "$F77" >&6; }
10058
 
else
10059
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
10060
 
$as_echo "no" >&6; }
10061
 
fi
10062
 
 
10063
 
 
10064
 
    test -n "$F77" && break
10065
 
  done
10066
 
fi
10067
 
if test -z "$F77"; then
10068
 
  ac_ct_F77=$F77
10069
 
  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
10070
 
do
10071
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
10072
 
set dummy $ac_prog; ac_word=$2
10073
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10074
 
$as_echo_n "checking for $ac_word... " >&6; }
10075
 
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
10076
 
  $as_echo_n "(cached) " >&6
10077
 
else
10078
 
  if test -n "$ac_ct_F77"; then
10079
 
  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
10080
 
else
10081
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10082
 
for as_dir in $PATH
10083
 
do
10084
 
  IFS=$as_save_IFS
10085
 
  test -z "$as_dir" && as_dir=.
10086
 
  for ac_exec_ext in '' $ac_executable_extensions; do
10087
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10088
 
    ac_cv_prog_ac_ct_F77="$ac_prog"
10089
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10090
 
    break 2
10091
 
  fi
10092
 
done
10093
 
done
10094
 
IFS=$as_save_IFS
10095
 
 
10096
 
fi
10097
 
fi
10098
 
ac_ct_F77=$ac_cv_prog_ac_ct_F77
10099
 
if test -n "$ac_ct_F77"; then
10100
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
10101
 
$as_echo "$ac_ct_F77" >&6; }
10102
 
else
10103
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
10104
 
$as_echo "no" >&6; }
10105
 
fi
10106
 
 
10107
 
 
10108
 
  test -n "$ac_ct_F77" && break
10109
 
done
10110
 
 
10111
 
  if test "x$ac_ct_F77" = x; then
10112
 
    F77=""
10113
 
  else
10114
 
    case $cross_compiling:$ac_tool_warned in
10115
 
yes:)
10116
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
10117
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10118
 
ac_tool_warned=yes ;;
10119
 
esac
10120
 
    F77=$ac_ct_F77
10121
 
  fi
10122
 
fi
10123
 
 
10124
 
 
10125
 
# Provide some information about the compiler.
10126
 
$as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
10127
 
set X $ac_compile
10128
 
ac_compiler=$2
10129
 
{ (ac_try="$ac_compiler --version >&5"
10130
 
case "(($ac_try" in
10131
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10132
 
  *) ac_try_echo=$ac_try;;
10133
 
esac
10134
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10135
 
$as_echo "$ac_try_echo") >&5
10136
 
  (eval "$ac_compiler --version >&5") 2>&5
10137
 
  ac_status=$?
10138
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10139
 
  (exit $ac_status); }
10140
 
{ (ac_try="$ac_compiler -v >&5"
10141
 
case "(($ac_try" in
10142
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10143
 
  *) ac_try_echo=$ac_try;;
10144
 
esac
10145
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10146
 
$as_echo "$ac_try_echo") >&5
10147
 
  (eval "$ac_compiler -v >&5") 2>&5
10148
 
  ac_status=$?
10149
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10150
 
  (exit $ac_status); }
10151
 
{ (ac_try="$ac_compiler -V >&5"
10152
 
case "(($ac_try" in
10153
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10154
 
  *) ac_try_echo=$ac_try;;
10155
 
esac
10156
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10157
 
$as_echo "$ac_try_echo") >&5
10158
 
  (eval "$ac_compiler -V >&5") 2>&5
10159
 
  ac_status=$?
10160
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10161
 
  (exit $ac_status); }
10162
 
rm -f a.out
10163
 
 
10164
 
# If we don't use `.F' as extension, the preprocessor is not run on the
10165
 
# input file.  (Note that this only needs to work for GNU compilers.)
10166
 
ac_save_ext=$ac_ext
10167
 
ac_ext=F
10168
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
10169
 
$as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
10170
 
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
10171
 
  $as_echo_n "(cached) " >&6
10172
 
else
10173
 
  cat >conftest.$ac_ext <<_ACEOF
10174
 
      program main
10175
 
#ifndef __GNUC__
10176
 
       choke me
10177
 
#endif
10178
 
 
10179
 
      end
10180
 
_ACEOF
10181
 
rm -f conftest.$ac_objext
10182
 
if { (ac_try="$ac_compile"
10183
 
case "(($ac_try" in
10184
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10185
 
  *) ac_try_echo=$ac_try;;
10186
 
esac
10187
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10188
 
$as_echo "$ac_try_echo") >&5
10189
 
  (eval "$ac_compile") 2>conftest.er1
10190
 
  ac_status=$?
10191
 
  grep -v '^ *+' conftest.er1 >conftest.err
10192
 
  rm -f conftest.er1
10193
 
  cat conftest.err >&5
10194
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10195
 
  (exit $ac_status); } && {
10196
 
         test -z "$ac_f77_werror_flag" ||
10197
 
         test ! -s conftest.err
10198
 
       } && test -s conftest.$ac_objext; then
10199
 
  ac_compiler_gnu=yes
10200
 
else
10201
 
  $as_echo "$as_me: failed program was:" >&5
10202
 
sed 's/^/| /' conftest.$ac_ext >&5
10203
 
 
10204
 
        ac_compiler_gnu=no
10205
 
fi
10206
 
 
10207
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10208
 
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
10209
 
 
10210
 
fi
10211
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
10212
 
$as_echo "$ac_cv_f77_compiler_gnu" >&6; }
10213
 
ac_ext=$ac_save_ext
10214
 
ac_test_FFLAGS=${FFLAGS+set}
10215
 
ac_save_FFLAGS=$FFLAGS
10216
 
FFLAGS=
10217
 
{ $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
10218
 
$as_echo_n "checking whether $F77 accepts -g... " >&6; }
10219
 
if test "${ac_cv_prog_f77_g+set}" = set; then
10220
 
  $as_echo_n "(cached) " >&6
10221
 
else
10222
 
  FFLAGS=-g
10223
 
cat >conftest.$ac_ext <<_ACEOF
10224
 
      program main
10225
 
 
10226
 
      end
10227
 
_ACEOF
10228
 
rm -f conftest.$ac_objext
10229
 
if { (ac_try="$ac_compile"
10230
 
case "(($ac_try" in
10231
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10232
 
  *) ac_try_echo=$ac_try;;
10233
 
esac
10234
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10235
 
$as_echo "$ac_try_echo") >&5
10236
 
  (eval "$ac_compile") 2>conftest.er1
10237
 
  ac_status=$?
10238
 
  grep -v '^ *+' conftest.er1 >conftest.err
10239
 
  rm -f conftest.er1
10240
 
  cat conftest.err >&5
10241
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10242
 
  (exit $ac_status); } && {
10243
 
         test -z "$ac_f77_werror_flag" ||
10244
 
         test ! -s conftest.err
10245
 
       } && test -s conftest.$ac_objext; then
10246
 
  ac_cv_prog_f77_g=yes
10247
 
else
10248
 
  $as_echo "$as_me: failed program was:" >&5
10249
 
sed 's/^/| /' conftest.$ac_ext >&5
10250
 
 
10251
 
        ac_cv_prog_f77_g=no
10252
 
fi
10253
 
 
10254
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10255
 
 
10256
 
fi
10257
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
10258
 
$as_echo "$ac_cv_prog_f77_g" >&6; }
10259
 
if test "$ac_test_FFLAGS" = set; then
10260
 
  FFLAGS=$ac_save_FFLAGS
10261
 
elif test $ac_cv_prog_f77_g = yes; then
10262
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
10263
 
    FFLAGS="-g -O2"
10264
 
  else
10265
 
    FFLAGS="-g"
10266
 
  fi
10267
 
else
10268
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
10269
 
    FFLAGS="-O2"
10270
 
  else
10271
 
    FFLAGS=
10272
 
  fi
10273
 
fi
10274
 
 
10275
 
if test $ac_compiler_gnu = yes; then
10276
 
  G77=yes
10277
 
else
10278
 
  G77=
10279
 
fi
10280
 
ac_ext=c
10281
 
ac_cpp='$CPP $CPPFLAGS'
10282
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10283
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10284
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
10285
 
 
10286
 
 
10287
 
 
10288
 
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
10289
 
# find the maximum length of command line arguments
10290
 
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
10291
 
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
10292
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
10293
 
  $as_echo_n "(cached) " >&6
10294
 
else
10295
 
    i=0
10296
 
  teststring="ABCD"
10297
 
 
10298
 
  case $build_os in
10299
 
  msdosdjgpp*)
10300
 
    # On DJGPP, this test can blow up pretty badly due to problems in libc
10301
 
    # (any single argument exceeding 2000 bytes causes a buffer overrun
10302
 
    # during glob expansion).  Even if it were fixed, the result of this
10303
 
    # check would be larger than it should be.
10304
 
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
10305
 
    ;;
10306
 
 
10307
 
  gnu*)
10308
 
    # Under GNU Hurd, this test is not required because there is
10309
 
    # no limit to the length of command line arguments.
10310
 
    # Libtool will interpret -1 as no limit whatsoever
10311
 
    lt_cv_sys_max_cmd_len=-1;
10312
 
    ;;
10313
 
 
10314
 
  cygwin* | mingw*)
10315
 
    # On Win9x/ME, this test blows up -- it succeeds, but takes
10316
 
    # about 5 minutes as the teststring grows exponentially.
10317
 
    # Worse, since 9x/ME are not pre-emptively multitasking,
10318
 
    # you end up with a "frozen" computer, even though with patience
10319
 
    # the test eventually succeeds (with a max line length of 256k).
10320
 
    # Instead, let's just punt: use the minimum linelength reported by
10321
 
    # all of the supported platforms: 8192 (on NT/2K/XP).
10322
 
    lt_cv_sys_max_cmd_len=8192;
10323
 
    ;;
10324
 
 
10325
 
  amigaos*)
10326
 
    # On AmigaOS with pdksh, this test takes hours, literally.
10327
 
    # So we just punt and use a minimum line length of 8192.
10328
 
    lt_cv_sys_max_cmd_len=8192;
10329
 
    ;;
10330
 
 
10331
 
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
10332
 
    # This has been around since 386BSD, at least.  Likely further.
10333
 
    if test -x /sbin/sysctl; then
10334
 
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
10335
 
    elif test -x /usr/sbin/sysctl; then
10336
 
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
10337
 
    else
10338
 
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
10339
 
    fi
10340
 
    # And add a safety zone
10341
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
10342
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
10343
 
    ;;
10344
 
 
10345
 
  interix*)
10346
 
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
10347
 
    lt_cv_sys_max_cmd_len=196608
10348
 
    ;;
10349
 
 
10350
 
  osf*)
10351
 
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
10352
 
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
10353
 
    # nice to cause kernel panics so lets avoid the loop below.
10354
 
    # First set a reasonable default.
10355
 
    lt_cv_sys_max_cmd_len=16384
10356
 
    #
10357
 
    if test -x /sbin/sysconfig; then
10358
 
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
10359
 
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
10360
 
      esac
10361
 
    fi
10362
 
    ;;
10363
 
  sco3.2v5*)
10364
 
    lt_cv_sys_max_cmd_len=102400
10365
 
    ;;
10366
 
  sysv5* | sco5v6* | sysv4.2uw2*)
10367
 
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
10368
 
    if test -n "$kargmax"; then
10369
 
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
10370
 
    else
10371
 
      lt_cv_sys_max_cmd_len=32768
10372
 
    fi
10373
 
    ;;
10374
 
  *)
10375
 
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
10376
 
    if test -n "$lt_cv_sys_max_cmd_len"; then
10377
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
10378
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
10379
 
    else
10380
 
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
10381
 
      while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
10382
 
               = "XX$teststring") >/dev/null 2>&1 &&
10383
 
              new_result=`expr "X$teststring" : ".*" 2>&1` &&
10384
 
              lt_cv_sys_max_cmd_len=$new_result &&
10385
 
              test $i != 17 # 1/2 MB should be enough
10386
 
      do
10387
 
        i=`expr $i + 1`
10388
 
        teststring=$teststring$teststring
10389
 
      done
10390
 
      teststring=
10391
 
      # Add a significant safety factor because C++ compilers can tack on massive
10392
 
      # amounts of additional arguments before passing them to the linker.
10393
 
      # It appears as though 1/2 is a usable value.
10394
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
10395
 
    fi
10396
 
    ;;
10397
 
  esac
10398
 
 
10399
 
fi
10400
 
 
10401
 
if test -n $lt_cv_sys_max_cmd_len ; then
10402
 
  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
10403
 
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
10404
 
else
10405
 
  { $as_echo "$as_me:$LINENO: result: none" >&5
10406
 
$as_echo "none" >&6; }
10407
 
fi
10408
 
 
10409
 
 
10410
 
 
10411
 
 
10412
9821
 
10413
9822
# Check for command to grab the raw symbol name followed by C symbol from nm.
10414
9823
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
10426
9835
# Regexp to match symbols that can be accessed directly from C.
10427
9836
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
10428
9837
 
10429
 
# Transform an extracted symbol line into a proper C declaration
10430
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
10431
 
 
10432
 
# Transform an extracted symbol line into symbol name and symbol address
10433
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
10434
 
 
10435
9838
# Define system-specific variables.
10436
9839
case $host_os in
10437
9840
aix*)
10438
9841
  symcode='[BCDT]'
10439
9842
  ;;
10440
 
cygwin* | mingw* | pw32*)
 
9843
cygwin* | mingw* | pw32* | cegcc*)
10441
9844
  symcode='[ABCDGISTW]'
10442
9845
  ;;
10443
 
hpux*) # Its linker distinguishes data from code symbols
 
9846
hpux*)
10444
9847
  if test "$host_cpu" = ia64; then
10445
9848
    symcode='[ABCDEGRST]'
10446
9849
  fi
10447
 
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
10448
 
  lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
10449
 
  ;;
10450
 
linux* | k*bsd*-gnu)
10451
 
  if test "$host_cpu" = ia64; then
10452
 
    symcode='[ABCDGIRSTW]'
10453
 
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
10454
 
    lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
10455
 
  fi
10456
9850
  ;;
10457
9851
irix* | nonstopux*)
10458
9852
  symcode='[BCDEGRST]'
10477
9871
  ;;
10478
9872
esac
10479
9873
 
 
9874
# If we're using GNU nm, then use its standard symbol codes.
 
9875
case `$NM -V 2>&1` in
 
9876
*GNU* | *'with BFD'*)
 
9877
  symcode='[ABCDGIRSTW]' ;;
 
9878
esac
 
9879
 
 
9880
# Transform an extracted symbol line into a proper C declaration.
 
9881
# Some systems (esp. on ia64) link data and code symbols differently,
 
9882
# so use this general approach.
 
9883
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
9884
 
 
9885
# Transform an extracted symbol line into symbol name and symbol address
 
9886
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
9887
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'"
 
9888
 
10480
9889
# Handle CRLF in mingw tool chain
10481
9890
opt_cr=
10482
9891
case $build_os in
10483
9892
mingw*)
10484
 
  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
9893
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
10485
9894
  ;;
10486
9895
esac
10487
9896
 
10488
 
# If we're using GNU nm, then use its standard symbol codes.
10489
 
case `$NM -V 2>&1` in
10490
 
*GNU* | *'with BFD'*)
10491
 
  symcode='[ABCDGIRSTW]' ;;
10492
 
esac
10493
 
 
10494
 
# Try without a prefix undercore, then with it.
 
9897
# Try without a prefix underscore, then with it.
10495
9898
for ac_symprfx in "" "_"; do
10496
9899
 
10497
9900
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
10498
9901
  symxfrm="\\1 $ac_symprfx\\2 \\2"
10499
9902
 
10500
9903
  # Write the raw and C identifiers.
10501
 
  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
9904
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
9905
    # Fake it for dumpbin and say T for any non-static function
 
9906
    # and D for any global variable.
 
9907
    # Also find C++ and __fastcall symbols from MSVC++,
 
9908
    # which start with @ or ?.
 
9909
    lt_cv_sys_global_symbol_pipe="$AWK '"\
 
9910
"     {last_section=section; section=\$ 3};"\
 
9911
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 
9912
"     \$ 0!~/External *\|/{next};"\
 
9913
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 
9914
"     {if(hide[section]) next};"\
 
9915
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 
9916
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 
9917
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 
9918
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 
9919
"     ' prfx=^$ac_symprfx"
 
9920
  else
 
9921
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
9922
  fi
10502
9923
 
10503
9924
  # Check to see that the pipe works correctly.
10504
9925
  pipe_works=no
10505
9926
 
10506
9927
  rm -f conftest*
10507
 
  cat > conftest.$ac_ext <<EOF
 
9928
  cat > conftest.$ac_ext <<_LT_EOF
10508
9929
#ifdef __cplusplus
10509
9930
extern "C" {
10510
9931
#endif
10511
9932
char nm_test_var;
10512
 
void nm_test_func(){}
 
9933
void nm_test_func(void);
 
9934
void nm_test_func(void){}
10513
9935
#ifdef __cplusplus
10514
9936
}
10515
9937
#endif
10516
9938
int main(){nm_test_var='a';nm_test_func();return(0);}
10517
 
EOF
 
9939
_LT_EOF
10518
9940
 
10519
9941
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10520
9942
  (eval $ac_compile) 2>&5
10536
9958
      fi
10537
9959
 
10538
9960
      # Make sure that we snagged all the symbols we need.
10539
 
      if grep ' nm_test_var$' "$nlist" >/dev/null; then
10540
 
        if grep ' nm_test_func$' "$nlist" >/dev/null; then
10541
 
          cat <<EOF > conftest.$ac_ext
 
9961
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 
9962
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 
9963
          cat <<_LT_EOF > conftest.$ac_ext
10542
9964
#ifdef __cplusplus
10543
9965
extern "C" {
10544
9966
#endif
10545
9967
 
10546
 
EOF
 
9968
_LT_EOF
10547
9969
          # Now generate the symbol file.
10548
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
10549
 
 
10550
 
          cat <<EOF >> conftest.$ac_ext
10551
 
#if defined (__STDC__) && __STDC__
10552
 
# define lt_ptr_t void *
10553
 
#else
10554
 
# define lt_ptr_t char *
10555
 
# define const
10556
 
#endif
10557
 
 
10558
 
/* The mapping between symbol names and symbols. */
 
9970
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 
9971
 
 
9972
          cat <<_LT_EOF >> conftest.$ac_ext
 
9973
 
 
9974
/* The mapping between symbol names and symbols.  */
10559
9975
const struct {
10560
9976
  const char *name;
10561
 
  lt_ptr_t address;
 
9977
  void       *address;
10562
9978
}
10563
 
lt_preloaded_symbols[] =
 
9979
lt__PROGRAM__LTX_preloaded_symbols[] =
10564
9980
{
10565
 
EOF
10566
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
10567
 
          cat <<\EOF >> conftest.$ac_ext
10568
 
  {0, (lt_ptr_t) 0}
 
9981
  { "@PROGRAM@", (void *) 0 },
 
9982
_LT_EOF
 
9983
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 
9984
          cat <<\_LT_EOF >> conftest.$ac_ext
 
9985
  {0, (void *) 0}
10569
9986
};
10570
9987
 
 
9988
/* This works around a problem in FreeBSD linker */
 
9989
#ifdef FREEBSD_WORKAROUND
 
9990
static const void *lt_preloaded_setup() {
 
9991
  return lt__PROGRAM__LTX_preloaded_symbols;
 
9992
}
 
9993
#endif
 
9994
 
10571
9995
#ifdef __cplusplus
10572
9996
}
10573
9997
#endif
10574
 
EOF
 
9998
_LT_EOF
10575
9999
          # Now try linking the two files.
10576
10000
          mv conftest.$ac_objext conftstm.$ac_objext
10577
10001
          lt_save_LIBS="$LIBS"
10623
10047
$as_echo "ok" >&6; }
10624
10048
fi
10625
10049
 
10626
 
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
10627
 
$as_echo_n "checking for objdir... " >&6; }
10628
 
if test "${lt_cv_objdir+set}" = set; then
10629
 
  $as_echo_n "(cached) " >&6
10630
 
else
10631
 
  rm -f .libs 2>/dev/null
10632
 
mkdir .libs 2>/dev/null
10633
 
if test -d .libs; then
10634
 
  lt_cv_objdir=.libs
10635
 
else
10636
 
  # MS-DOS does not allow filenames that begin with a dot.
10637
 
  lt_cv_objdir=_libs
10638
 
fi
10639
 
rmdir .libs 2>/dev/null
10640
 
fi
10641
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
10642
 
$as_echo "$lt_cv_objdir" >&6; }
10643
 
objdir=$lt_cv_objdir
10644
 
 
10645
 
 
10646
 
 
10647
 
 
10648
 
 
10649
 
case $host_os in
10650
 
aix3*)
10651
 
  # AIX sometimes has problems with the GCC collect2 program.  For some
10652
 
  # reason, if we set the COLLECT_NAMES environment variable, the problems
10653
 
  # vanish in a puff of smoke.
10654
 
  if test "X${COLLECT_NAMES+set}" != Xset; then
10655
 
    COLLECT_NAMES=
10656
 
    export COLLECT_NAMES
10657
 
  fi
10658
 
  ;;
10659
 
esac
10660
 
 
10661
 
# Sed substitution that helps us do robust quoting.  It backslashifies
10662
 
# metacharacters that are still active within double-quoted strings.
10663
 
Xsed='sed -e 1s/^X//'
10664
 
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
10665
 
 
10666
 
# Same as above, but do not quote variable references.
10667
 
double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
10668
 
 
10669
 
# Sed substitution to delay expansion of an escaped shell variable in a
10670
 
# double_quote_subst'ed string.
10671
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
10672
 
 
10673
 
# Sed substitution to avoid accidental globbing in evaled expressions
10674
 
no_glob_subst='s/\*/\\\*/g'
10675
 
 
10676
 
# Constants:
10677
 
rm="rm -f"
10678
 
 
10679
 
# Global variables:
10680
 
default_ofile=libtool
10681
 
can_build_shared=yes
10682
 
 
10683
 
# All known linkers require a `.a' archive for static linking (except MSVC,
10684
 
# which needs '.lib').
10685
 
libext=a
10686
 
ltmain="$ac_aux_dir/ltmain.sh"
10687
 
ofile="$default_ofile"
10688
 
with_gnu_ld="$lt_cv_prog_gnu_ld"
10689
 
 
10690
 
if test -n "$ac_tool_prefix"; then
10691
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
10692
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
10693
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10694
 
$as_echo_n "checking for $ac_word... " >&6; }
10695
 
if test "${ac_cv_prog_AR+set}" = set; then
10696
 
  $as_echo_n "(cached) " >&6
10697
 
else
10698
 
  if test -n "$AR"; then
10699
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
10700
 
else
10701
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10702
 
for as_dir in $PATH
10703
 
do
10704
 
  IFS=$as_save_IFS
10705
 
  test -z "$as_dir" && as_dir=.
10706
 
  for ac_exec_ext in '' $ac_executable_extensions; do
10707
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10708
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
10709
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10710
 
    break 2
10711
 
  fi
10712
 
done
10713
 
done
10714
 
IFS=$as_save_IFS
10715
 
 
10716
 
fi
10717
 
fi
10718
 
AR=$ac_cv_prog_AR
10719
 
if test -n "$AR"; then
10720
 
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
10721
 
$as_echo "$AR" >&6; }
10722
 
else
10723
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
10724
 
$as_echo "no" >&6; }
10725
 
fi
10726
 
 
10727
 
 
10728
 
fi
10729
 
if test -z "$ac_cv_prog_AR"; then
10730
 
  ac_ct_AR=$AR
10731
 
  # Extract the first word of "ar", so it can be a program name with args.
10732
 
set dummy ar; ac_word=$2
10733
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10734
 
$as_echo_n "checking for $ac_word... " >&6; }
10735
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
10736
 
  $as_echo_n "(cached) " >&6
10737
 
else
10738
 
  if test -n "$ac_ct_AR"; then
10739
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
10740
 
else
10741
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10742
 
for as_dir in $PATH
10743
 
do
10744
 
  IFS=$as_save_IFS
10745
 
  test -z "$as_dir" && as_dir=.
10746
 
  for ac_exec_ext in '' $ac_executable_extensions; do
10747
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10748
 
    ac_cv_prog_ac_ct_AR="ar"
10749
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10750
 
    break 2
10751
 
  fi
10752
 
done
10753
 
done
10754
 
IFS=$as_save_IFS
10755
 
 
10756
 
fi
10757
 
fi
10758
 
ac_ct_AR=$ac_cv_prog_ac_ct_AR
10759
 
if test -n "$ac_ct_AR"; then
10760
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
10761
 
$as_echo "$ac_ct_AR" >&6; }
10762
 
else
10763
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
10764
 
$as_echo "no" >&6; }
10765
 
fi
10766
 
 
10767
 
  if test "x$ac_ct_AR" = x; then
10768
 
    AR="false"
10769
 
  else
10770
 
    case $cross_compiling:$ac_tool_warned in
10771
 
yes:)
10772
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
10773
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10774
 
ac_tool_warned=yes ;;
10775
 
esac
10776
 
    AR=$ac_ct_AR
10777
 
  fi
10778
 
else
10779
 
  AR="$ac_cv_prog_AR"
10780
 
fi
10781
 
 
10782
 
if test -n "$ac_tool_prefix"; then
10783
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
10784
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
10785
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10786
 
$as_echo_n "checking for $ac_word... " >&6; }
10787
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
10788
 
  $as_echo_n "(cached) " >&6
10789
 
else
10790
 
  if test -n "$RANLIB"; then
10791
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
10792
 
else
10793
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10794
 
for as_dir in $PATH
10795
 
do
10796
 
  IFS=$as_save_IFS
10797
 
  test -z "$as_dir" && as_dir=.
10798
 
  for ac_exec_ext in '' $ac_executable_extensions; do
10799
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10800
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
10801
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10802
 
    break 2
10803
 
  fi
10804
 
done
10805
 
done
10806
 
IFS=$as_save_IFS
10807
 
 
10808
 
fi
10809
 
fi
10810
 
RANLIB=$ac_cv_prog_RANLIB
10811
 
if test -n "$RANLIB"; then
10812
 
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
10813
 
$as_echo "$RANLIB" >&6; }
10814
 
else
10815
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
10816
 
$as_echo "no" >&6; }
10817
 
fi
10818
 
 
10819
 
 
10820
 
fi
10821
 
if test -z "$ac_cv_prog_RANLIB"; then
10822
 
  ac_ct_RANLIB=$RANLIB
10823
 
  # Extract the first word of "ranlib", so it can be a program name with args.
10824
 
set dummy ranlib; ac_word=$2
10825
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10826
 
$as_echo_n "checking for $ac_word... " >&6; }
10827
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
10828
 
  $as_echo_n "(cached) " >&6
10829
 
else
10830
 
  if test -n "$ac_ct_RANLIB"; then
10831
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
10832
 
else
10833
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10834
 
for as_dir in $PATH
10835
 
do
10836
 
  IFS=$as_save_IFS
10837
 
  test -z "$as_dir" && as_dir=.
10838
 
  for ac_exec_ext in '' $ac_executable_extensions; do
10839
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10840
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
10841
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10842
 
    break 2
10843
 
  fi
10844
 
done
10845
 
done
10846
 
IFS=$as_save_IFS
10847
 
 
10848
 
fi
10849
 
fi
10850
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
10851
 
if test -n "$ac_ct_RANLIB"; then
10852
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
10853
 
$as_echo "$ac_ct_RANLIB" >&6; }
10854
 
else
10855
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
10856
 
$as_echo "no" >&6; }
10857
 
fi
10858
 
 
10859
 
  if test "x$ac_ct_RANLIB" = x; then
10860
 
    RANLIB=":"
10861
 
  else
10862
 
    case $cross_compiling:$ac_tool_warned in
10863
 
yes:)
10864
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
10865
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10866
 
ac_tool_warned=yes ;;
10867
 
esac
10868
 
    RANLIB=$ac_ct_RANLIB
10869
 
  fi
10870
 
else
10871
 
  RANLIB="$ac_cv_prog_RANLIB"
10872
 
fi
10873
 
 
10874
 
if test -n "$ac_tool_prefix"; then
10875
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
10876
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
10877
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10878
 
$as_echo_n "checking for $ac_word... " >&6; }
10879
 
if test "${ac_cv_prog_STRIP+set}" = set; then
10880
 
  $as_echo_n "(cached) " >&6
10881
 
else
10882
 
  if test -n "$STRIP"; then
10883
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
10884
 
else
10885
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10886
 
for as_dir in $PATH
10887
 
do
10888
 
  IFS=$as_save_IFS
10889
 
  test -z "$as_dir" && as_dir=.
10890
 
  for ac_exec_ext in '' $ac_executable_extensions; do
10891
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10892
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
10893
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10894
 
    break 2
10895
 
  fi
10896
 
done
10897
 
done
10898
 
IFS=$as_save_IFS
10899
 
 
10900
 
fi
10901
 
fi
10902
 
STRIP=$ac_cv_prog_STRIP
10903
 
if test -n "$STRIP"; then
10904
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
10905
 
$as_echo "$STRIP" >&6; }
10906
 
else
10907
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
10908
 
$as_echo "no" >&6; }
10909
 
fi
10910
 
 
10911
 
 
10912
 
fi
10913
 
if test -z "$ac_cv_prog_STRIP"; then
10914
 
  ac_ct_STRIP=$STRIP
10915
 
  # Extract the first word of "strip", so it can be a program name with args.
10916
 
set dummy strip; ac_word=$2
10917
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10918
 
$as_echo_n "checking for $ac_word... " >&6; }
10919
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
10920
 
  $as_echo_n "(cached) " >&6
10921
 
else
10922
 
  if test -n "$ac_ct_STRIP"; then
10923
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
10924
 
else
10925
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10926
 
for as_dir in $PATH
10927
 
do
10928
 
  IFS=$as_save_IFS
10929
 
  test -z "$as_dir" && as_dir=.
10930
 
  for ac_exec_ext in '' $ac_executable_extensions; do
10931
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10932
 
    ac_cv_prog_ac_ct_STRIP="strip"
10933
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10934
 
    break 2
10935
 
  fi
10936
 
done
10937
 
done
10938
 
IFS=$as_save_IFS
10939
 
 
10940
 
fi
10941
 
fi
10942
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
10943
 
if test -n "$ac_ct_STRIP"; then
10944
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
10945
 
$as_echo "$ac_ct_STRIP" >&6; }
10946
 
else
10947
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
10948
 
$as_echo "no" >&6; }
10949
 
fi
10950
 
 
10951
 
  if test "x$ac_ct_STRIP" = x; then
10952
 
    STRIP=":"
10953
 
  else
10954
 
    case $cross_compiling:$ac_tool_warned in
10955
 
yes:)
10956
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
10957
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10958
 
ac_tool_warned=yes ;;
10959
 
esac
10960
 
    STRIP=$ac_ct_STRIP
10961
 
  fi
10962
 
else
10963
 
  STRIP="$ac_cv_prog_STRIP"
10964
 
fi
10965
 
 
10966
 
 
10967
 
old_CC="$CC"
10968
 
old_CFLAGS="$CFLAGS"
10969
 
 
10970
 
# Set sane defaults for various variables
10971
 
test -z "$AR" && AR=ar
10972
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
10973
 
test -z "$AS" && AS=as
10974
 
test -z "$CC" && CC=cc
10975
 
test -z "$LTCC" && LTCC=$CC
10976
 
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
10977
 
test -z "$DLLTOOL" && DLLTOOL=dlltool
10978
 
test -z "$LD" && LD=ld
10979
 
test -z "$LN_S" && LN_S="ln -s"
10980
 
test -z "$MAGIC_CMD" && MAGIC_CMD=file
10981
 
test -z "$NM" && NM=nm
10982
 
test -z "$SED" && SED=sed
10983
 
test -z "$OBJDUMP" && OBJDUMP=objdump
10984
 
test -z "$RANLIB" && RANLIB=:
10985
 
test -z "$STRIP" && STRIP=:
10986
 
test -z "$ac_objext" && ac_objext=o
10987
 
 
10988
 
# Determine commands to create old-style static archives.
10989
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
10990
 
old_postinstall_cmds='chmod 644 $oldlib'
10991
 
old_postuninstall_cmds=
10992
 
 
10993
 
if test -n "$RANLIB"; then
10994
 
  case $host_os in
10995
 
  openbsd*)
10996
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
10997
 
    ;;
10998
 
  *)
10999
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
11000
 
    ;;
11001
 
  esac
11002
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
11003
 
fi
11004
 
 
11005
 
for cc_temp in $compiler""; do
11006
 
  case $cc_temp in
11007
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11008
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11009
 
    \-*) ;;
11010
 
    *) break;;
11011
 
  esac
11012
 
done
11013
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11014
 
 
11015
 
 
11016
 
# Only perform the check for file, if the check method requires it
11017
 
case $deplibs_check_method in
11018
 
file_magic*)
11019
 
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
11020
 
    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
11021
 
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
11022
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
11023
 
  $as_echo_n "(cached) " >&6
11024
 
else
11025
 
  case $MAGIC_CMD in
11026
 
[\\/*] |  ?:[\\/]*)
11027
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
11028
 
  ;;
11029
 
*)
11030
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
11031
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11032
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
11033
 
  for ac_dir in $ac_dummy; do
11034
 
    IFS="$lt_save_ifs"
11035
 
    test -z "$ac_dir" && ac_dir=.
11036
 
    if test -f $ac_dir/${ac_tool_prefix}file; then
11037
 
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
11038
 
      if test -n "$file_magic_test_file"; then
11039
 
        case $deplibs_check_method in
11040
 
        "file_magic "*)
11041
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
11042
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11043
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
11044
 
            $EGREP "$file_magic_regex" > /dev/null; then
11045
 
            :
11046
 
          else
11047
 
            cat <<EOF 1>&2
11048
 
 
11049
 
*** Warning: the command libtool uses to detect shared libraries,
11050
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
11051
 
*** The result is that libtool may fail to recognize shared libraries
11052
 
*** as such.  This will affect the creation of libtool libraries that
11053
 
*** depend on shared libraries, but programs linked with such libtool
11054
 
*** libraries will work regardless of this problem.  Nevertheless, you
11055
 
*** may want to report the problem to your system manager and/or to
11056
 
*** bug-libtool@gnu.org
11057
 
 
11058
 
EOF
11059
 
          fi ;;
11060
 
        esac
11061
 
      fi
11062
 
      break
11063
 
    fi
11064
 
  done
11065
 
  IFS="$lt_save_ifs"
11066
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
11067
 
  ;;
11068
 
esac
11069
 
fi
11070
 
 
11071
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11072
 
if test -n "$MAGIC_CMD"; then
11073
 
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
11074
 
$as_echo "$MAGIC_CMD" >&6; }
11075
 
else
11076
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
11077
 
$as_echo "no" >&6; }
11078
 
fi
11079
 
 
11080
 
if test -z "$lt_cv_path_MAGIC_CMD"; then
11081
 
  if test -n "$ac_tool_prefix"; then
11082
 
    { $as_echo "$as_me:$LINENO: checking for file" >&5
11083
 
$as_echo_n "checking for file... " >&6; }
11084
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
11085
 
  $as_echo_n "(cached) " >&6
11086
 
else
11087
 
  case $MAGIC_CMD in
11088
 
[\\/*] |  ?:[\\/]*)
11089
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
11090
 
  ;;
11091
 
*)
11092
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
11093
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11094
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
11095
 
  for ac_dir in $ac_dummy; do
11096
 
    IFS="$lt_save_ifs"
11097
 
    test -z "$ac_dir" && ac_dir=.
11098
 
    if test -f $ac_dir/file; then
11099
 
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
11100
 
      if test -n "$file_magic_test_file"; then
11101
 
        case $deplibs_check_method in
11102
 
        "file_magic "*)
11103
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
11104
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11105
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
11106
 
            $EGREP "$file_magic_regex" > /dev/null; then
11107
 
            :
11108
 
          else
11109
 
            cat <<EOF 1>&2
11110
 
 
11111
 
*** Warning: the command libtool uses to detect shared libraries,
11112
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
11113
 
*** The result is that libtool may fail to recognize shared libraries
11114
 
*** as such.  This will affect the creation of libtool libraries that
11115
 
*** depend on shared libraries, but programs linked with such libtool
11116
 
*** libraries will work regardless of this problem.  Nevertheless, you
11117
 
*** may want to report the problem to your system manager and/or to
11118
 
*** bug-libtool@gnu.org
11119
 
 
11120
 
EOF
11121
 
          fi ;;
11122
 
        esac
11123
 
      fi
11124
 
      break
11125
 
    fi
11126
 
  done
11127
 
  IFS="$lt_save_ifs"
11128
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
11129
 
  ;;
11130
 
esac
11131
 
fi
11132
 
 
11133
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11134
 
if test -n "$MAGIC_CMD"; then
11135
 
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
11136
 
$as_echo "$MAGIC_CMD" >&6; }
11137
 
else
11138
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
11139
 
$as_echo "no" >&6; }
11140
 
fi
11141
 
 
11142
 
  else
11143
 
    MAGIC_CMD=:
11144
 
  fi
11145
 
fi
11146
 
 
11147
 
  fi
11148
 
  ;;
11149
 
esac
 
10050
 
 
10051
 
 
10052
 
 
10053
 
 
10054
 
 
10055
 
 
10056
 
 
10057
 
 
10058
 
 
10059
 
 
10060
 
 
10061
 
 
10062
 
 
10063
 
 
10064
 
 
10065
 
 
10066
 
 
10067
 
 
10068
 
 
10069
 
 
10070
 
 
10071
# Check whether --enable-libtool-lock was given.
 
10072
if test "${enable_libtool_lock+set}" = set; then
 
10073
  enableval=$enable_libtool_lock;
 
10074
fi
 
10075
 
 
10076
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
10077
 
 
10078
# Some flags need to be propagated to the compiler or linker for good
 
10079
# libtool support.
 
10080
case $host in
 
10081
ia64-*-hpux*)
 
10082
  # Find out which ABI we are using.
 
10083
  echo 'int i;' > conftest.$ac_ext
 
10084
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
10085
  (eval $ac_compile) 2>&5
 
10086
  ac_status=$?
 
10087
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10088
  (exit $ac_status); }; then
 
10089
    case `/usr/bin/file conftest.$ac_objext` in
 
10090
      *ELF-32*)
 
10091
        HPUX_IA64_MODE="32"
 
10092
        ;;
 
10093
      *ELF-64*)
 
10094
        HPUX_IA64_MODE="64"
 
10095
        ;;
 
10096
    esac
 
10097
  fi
 
10098
  rm -rf conftest*
 
10099
  ;;
 
10100
*-*-irix6*)
 
10101
  # Find out which ABI we are using.
 
10102
  echo '#line 10102 "configure"' > conftest.$ac_ext
 
10103
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
10104
  (eval $ac_compile) 2>&5
 
10105
  ac_status=$?
 
10106
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10107
  (exit $ac_status); }; then
 
10108
    if test "$lt_cv_prog_gnu_ld" = yes; then
 
10109
      case `/usr/bin/file conftest.$ac_objext` in
 
10110
        *32-bit*)
 
10111
          LD="${LD-ld} -melf32bsmip"
 
10112
          ;;
 
10113
        *N32*)
 
10114
          LD="${LD-ld} -melf32bmipn32"
 
10115
          ;;
 
10116
        *64-bit*)
 
10117
          LD="${LD-ld} -melf64bmip"
 
10118
        ;;
 
10119
      esac
 
10120
    else
 
10121
      case `/usr/bin/file conftest.$ac_objext` in
 
10122
        *32-bit*)
 
10123
          LD="${LD-ld} -32"
 
10124
          ;;
 
10125
        *N32*)
 
10126
          LD="${LD-ld} -n32"
 
10127
          ;;
 
10128
        *64-bit*)
 
10129
          LD="${LD-ld} -64"
 
10130
          ;;
 
10131
      esac
 
10132
    fi
 
10133
  fi
 
10134
  rm -rf conftest*
 
10135
  ;;
 
10136
 
 
10137
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
10138
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 
10139
  # Find out which ABI we are using.
 
10140
  echo 'int i;' > conftest.$ac_ext
 
10141
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
10142
  (eval $ac_compile) 2>&5
 
10143
  ac_status=$?
 
10144
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10145
  (exit $ac_status); }; then
 
10146
    case `/usr/bin/file conftest.o` in
 
10147
      *32-bit*)
 
10148
        case $host in
 
10149
          x86_64-*kfreebsd*-gnu)
 
10150
            LD="${LD-ld} -m elf_i386_fbsd"
 
10151
            ;;
 
10152
          x86_64-*linux*)
 
10153
            LD="${LD-ld} -m elf_i386"
 
10154
            ;;
 
10155
          ppc64-*linux*|powerpc64-*linux*)
 
10156
            LD="${LD-ld} -m elf32ppclinux"
 
10157
            ;;
 
10158
          s390x-*linux*)
 
10159
            LD="${LD-ld} -m elf_s390"
 
10160
            ;;
 
10161
          sparc64-*linux*)
 
10162
            LD="${LD-ld} -m elf32_sparc"
 
10163
            ;;
 
10164
        esac
 
10165
        ;;
 
10166
      *64-bit*)
 
10167
        case $host in
 
10168
          x86_64-*kfreebsd*-gnu)
 
10169
            LD="${LD-ld} -m elf_x86_64_fbsd"
 
10170
            ;;
 
10171
          x86_64-*linux*)
 
10172
            LD="${LD-ld} -m elf_x86_64"
 
10173
            ;;
 
10174
          ppc*-*linux*|powerpc*-*linux*)
 
10175
            LD="${LD-ld} -m elf64ppc"
 
10176
            ;;
 
10177
          s390*-*linux*|s390*-*tpf*)
 
10178
            LD="${LD-ld} -m elf64_s390"
 
10179
            ;;
 
10180
          sparc*-*linux*)
 
10181
            LD="${LD-ld} -m elf64_sparc"
 
10182
            ;;
 
10183
        esac
 
10184
        ;;
 
10185
    esac
 
10186
  fi
 
10187
  rm -rf conftest*
 
10188
  ;;
 
10189
 
 
10190
*-*-sco3.2v5*)
 
10191
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
10192
  SAVE_CFLAGS="$CFLAGS"
 
10193
  CFLAGS="$CFLAGS -belf"
 
10194
  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
10195
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 
10196
if test "${lt_cv_cc_needs_belf+set}" = set; then
 
10197
  $as_echo_n "(cached) " >&6
 
10198
else
 
10199
  ac_ext=c
 
10200
ac_cpp='$CPP $CPPFLAGS'
 
10201
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
10202
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
10203
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
10204
 
 
10205
     cat >conftest.$ac_ext <<_ACEOF
 
10206
/* confdefs.h.  */
 
10207
_ACEOF
 
10208
cat confdefs.h >>conftest.$ac_ext
 
10209
cat >>conftest.$ac_ext <<_ACEOF
 
10210
/* end confdefs.h.  */
 
10211
 
 
10212
int
 
10213
main ()
 
10214
{
 
10215
 
 
10216
  ;
 
10217
  return 0;
 
10218
}
 
10219
_ACEOF
 
10220
rm -f conftest.$ac_objext conftest$ac_exeext
 
10221
if { (ac_try="$ac_link"
 
10222
case "(($ac_try" in
 
10223
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10224
  *) ac_try_echo=$ac_try;;
 
10225
esac
 
10226
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10227
$as_echo "$ac_try_echo") >&5
 
10228
  (eval "$ac_link") 2>conftest.er1
 
10229
  ac_status=$?
 
10230
  grep -v '^ *+' conftest.er1 >conftest.err
 
10231
  rm -f conftest.er1
 
10232
  cat conftest.err >&5
 
10233
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10234
  (exit $ac_status); } && {
 
10235
         test -z "$ac_c_werror_flag" ||
 
10236
         test ! -s conftest.err
 
10237
       } && test -s conftest$ac_exeext && {
 
10238
         test "$cross_compiling" = yes ||
 
10239
         $as_test_x conftest$ac_exeext
 
10240
       }; then
 
10241
  lt_cv_cc_needs_belf=yes
 
10242
else
 
10243
  $as_echo "$as_me: failed program was:" >&5
 
10244
sed 's/^/| /' conftest.$ac_ext >&5
 
10245
 
 
10246
        lt_cv_cc_needs_belf=no
 
10247
fi
 
10248
 
 
10249
rm -rf conftest.dSYM
 
10250
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
10251
      conftest$ac_exeext conftest.$ac_ext
 
10252
     ac_ext=c
 
10253
ac_cpp='$CPP $CPPFLAGS'
 
10254
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
10255
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
10256
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
10257
 
 
10258
fi
 
10259
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
10260
$as_echo "$lt_cv_cc_needs_belf" >&6; }
 
10261
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
10262
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
10263
    CFLAGS="$SAVE_CFLAGS"
 
10264
  fi
 
10265
  ;;
 
10266
sparc*-*solaris*)
 
10267
  # Find out which ABI we are using.
 
10268
  echo 'int i;' > conftest.$ac_ext
 
10269
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
10270
  (eval $ac_compile) 2>&5
 
10271
  ac_status=$?
 
10272
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10273
  (exit $ac_status); }; then
 
10274
    case `/usr/bin/file conftest.o` in
 
10275
    *64-bit*)
 
10276
      case $lt_cv_prog_gnu_ld in
 
10277
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
10278
      *)
 
10279
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
10280
          LD="${LD-ld} -64"
 
10281
        fi
 
10282
        ;;
 
10283
      esac
 
10284
      ;;
 
10285
    esac
 
10286
  fi
 
10287
  rm -rf conftest*
 
10288
  ;;
 
10289
esac
 
10290
 
 
10291
need_locks="$enable_libtool_lock"
11150
10292
 
11151
10293
 
11152
10294
  case $host_os in
11335
10477
  NMEDIT="$ac_cv_prog_NMEDIT"
11336
10478
fi
11337
10479
 
 
10480
    if test -n "$ac_tool_prefix"; then
 
10481
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 
10482
set dummy ${ac_tool_prefix}lipo; ac_word=$2
 
10483
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
10484
$as_echo_n "checking for $ac_word... " >&6; }
 
10485
if test "${ac_cv_prog_LIPO+set}" = set; then
 
10486
  $as_echo_n "(cached) " >&6
 
10487
else
 
10488
  if test -n "$LIPO"; then
 
10489
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 
10490
else
 
10491
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
10492
for as_dir in $PATH
 
10493
do
 
10494
  IFS=$as_save_IFS
 
10495
  test -z "$as_dir" && as_dir=.
 
10496
  for ac_exec_ext in '' $ac_executable_extensions; do
 
10497
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
10498
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 
10499
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10500
    break 2
 
10501
  fi
 
10502
done
 
10503
done
 
10504
IFS=$as_save_IFS
 
10505
 
 
10506
fi
 
10507
fi
 
10508
LIPO=$ac_cv_prog_LIPO
 
10509
if test -n "$LIPO"; then
 
10510
  { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
 
10511
$as_echo "$LIPO" >&6; }
 
10512
else
 
10513
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
10514
$as_echo "no" >&6; }
 
10515
fi
 
10516
 
 
10517
 
 
10518
fi
 
10519
if test -z "$ac_cv_prog_LIPO"; then
 
10520
  ac_ct_LIPO=$LIPO
 
10521
  # Extract the first word of "lipo", so it can be a program name with args.
 
10522
set dummy lipo; ac_word=$2
 
10523
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
10524
$as_echo_n "checking for $ac_word... " >&6; }
 
10525
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
 
10526
  $as_echo_n "(cached) " >&6
 
10527
else
 
10528
  if test -n "$ac_ct_LIPO"; then
 
10529
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 
10530
else
 
10531
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
10532
for as_dir in $PATH
 
10533
do
 
10534
  IFS=$as_save_IFS
 
10535
  test -z "$as_dir" && as_dir=.
 
10536
  for ac_exec_ext in '' $ac_executable_extensions; do
 
10537
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
10538
    ac_cv_prog_ac_ct_LIPO="lipo"
 
10539
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10540
    break 2
 
10541
  fi
 
10542
done
 
10543
done
 
10544
IFS=$as_save_IFS
 
10545
 
 
10546
fi
 
10547
fi
 
10548
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 
10549
if test -n "$ac_ct_LIPO"; then
 
10550
  { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
 
10551
$as_echo "$ac_ct_LIPO" >&6; }
 
10552
else
 
10553
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
10554
$as_echo "no" >&6; }
 
10555
fi
 
10556
 
 
10557
  if test "x$ac_ct_LIPO" = x; then
 
10558
    LIPO=":"
 
10559
  else
 
10560
    case $cross_compiling:$ac_tool_warned in
 
10561
yes:)
 
10562
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
10563
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
10564
ac_tool_warned=yes ;;
 
10565
esac
 
10566
    LIPO=$ac_ct_LIPO
 
10567
  fi
 
10568
else
 
10569
  LIPO="$ac_cv_prog_LIPO"
 
10570
fi
 
10571
 
 
10572
    if test -n "$ac_tool_prefix"; then
 
10573
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 
10574
set dummy ${ac_tool_prefix}otool; ac_word=$2
 
10575
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
10576
$as_echo_n "checking for $ac_word... " >&6; }
 
10577
if test "${ac_cv_prog_OTOOL+set}" = set; then
 
10578
  $as_echo_n "(cached) " >&6
 
10579
else
 
10580
  if test -n "$OTOOL"; then
 
10581
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 
10582
else
 
10583
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
10584
for as_dir in $PATH
 
10585
do
 
10586
  IFS=$as_save_IFS
 
10587
  test -z "$as_dir" && as_dir=.
 
10588
  for ac_exec_ext in '' $ac_executable_extensions; do
 
10589
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
10590
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 
10591
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10592
    break 2
 
10593
  fi
 
10594
done
 
10595
done
 
10596
IFS=$as_save_IFS
 
10597
 
 
10598
fi
 
10599
fi
 
10600
OTOOL=$ac_cv_prog_OTOOL
 
10601
if test -n "$OTOOL"; then
 
10602
  { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
 
10603
$as_echo "$OTOOL" >&6; }
 
10604
else
 
10605
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
10606
$as_echo "no" >&6; }
 
10607
fi
 
10608
 
 
10609
 
 
10610
fi
 
10611
if test -z "$ac_cv_prog_OTOOL"; then
 
10612
  ac_ct_OTOOL=$OTOOL
 
10613
  # Extract the first word of "otool", so it can be a program name with args.
 
10614
set dummy otool; ac_word=$2
 
10615
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
10616
$as_echo_n "checking for $ac_word... " >&6; }
 
10617
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
 
10618
  $as_echo_n "(cached) " >&6
 
10619
else
 
10620
  if test -n "$ac_ct_OTOOL"; then
 
10621
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 
10622
else
 
10623
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
10624
for as_dir in $PATH
 
10625
do
 
10626
  IFS=$as_save_IFS
 
10627
  test -z "$as_dir" && as_dir=.
 
10628
  for ac_exec_ext in '' $ac_executable_extensions; do
 
10629
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
10630
    ac_cv_prog_ac_ct_OTOOL="otool"
 
10631
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10632
    break 2
 
10633
  fi
 
10634
done
 
10635
done
 
10636
IFS=$as_save_IFS
 
10637
 
 
10638
fi
 
10639
fi
 
10640
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 
10641
if test -n "$ac_ct_OTOOL"; then
 
10642
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
 
10643
$as_echo "$ac_ct_OTOOL" >&6; }
 
10644
else
 
10645
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
10646
$as_echo "no" >&6; }
 
10647
fi
 
10648
 
 
10649
  if test "x$ac_ct_OTOOL" = x; then
 
10650
    OTOOL=":"
 
10651
  else
 
10652
    case $cross_compiling:$ac_tool_warned in
 
10653
yes:)
 
10654
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
10655
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
10656
ac_tool_warned=yes ;;
 
10657
esac
 
10658
    OTOOL=$ac_ct_OTOOL
 
10659
  fi
 
10660
else
 
10661
  OTOOL="$ac_cv_prog_OTOOL"
 
10662
fi
 
10663
 
 
10664
    if test -n "$ac_tool_prefix"; then
 
10665
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 
10666
set dummy ${ac_tool_prefix}otool64; ac_word=$2
 
10667
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
10668
$as_echo_n "checking for $ac_word... " >&6; }
 
10669
if test "${ac_cv_prog_OTOOL64+set}" = set; then
 
10670
  $as_echo_n "(cached) " >&6
 
10671
else
 
10672
  if test -n "$OTOOL64"; then
 
10673
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 
10674
else
 
10675
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
10676
for as_dir in $PATH
 
10677
do
 
10678
  IFS=$as_save_IFS
 
10679
  test -z "$as_dir" && as_dir=.
 
10680
  for ac_exec_ext in '' $ac_executable_extensions; do
 
10681
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
10682
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 
10683
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10684
    break 2
 
10685
  fi
 
10686
done
 
10687
done
 
10688
IFS=$as_save_IFS
 
10689
 
 
10690
fi
 
10691
fi
 
10692
OTOOL64=$ac_cv_prog_OTOOL64
 
10693
if test -n "$OTOOL64"; then
 
10694
  { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
 
10695
$as_echo "$OTOOL64" >&6; }
 
10696
else
 
10697
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
10698
$as_echo "no" >&6; }
 
10699
fi
 
10700
 
 
10701
 
 
10702
fi
 
10703
if test -z "$ac_cv_prog_OTOOL64"; then
 
10704
  ac_ct_OTOOL64=$OTOOL64
 
10705
  # Extract the first word of "otool64", so it can be a program name with args.
 
10706
set dummy otool64; ac_word=$2
 
10707
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
10708
$as_echo_n "checking for $ac_word... " >&6; }
 
10709
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
 
10710
  $as_echo_n "(cached) " >&6
 
10711
else
 
10712
  if test -n "$ac_ct_OTOOL64"; then
 
10713
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 
10714
else
 
10715
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
10716
for as_dir in $PATH
 
10717
do
 
10718
  IFS=$as_save_IFS
 
10719
  test -z "$as_dir" && as_dir=.
 
10720
  for ac_exec_ext in '' $ac_executable_extensions; do
 
10721
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
10722
    ac_cv_prog_ac_ct_OTOOL64="otool64"
 
10723
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
10724
    break 2
 
10725
  fi
 
10726
done
 
10727
done
 
10728
IFS=$as_save_IFS
 
10729
 
 
10730
fi
 
10731
fi
 
10732
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 
10733
if test -n "$ac_ct_OTOOL64"; then
 
10734
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
 
10735
$as_echo "$ac_ct_OTOOL64" >&6; }
 
10736
else
 
10737
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
10738
$as_echo "no" >&6; }
 
10739
fi
 
10740
 
 
10741
  if test "x$ac_ct_OTOOL64" = x; then
 
10742
    OTOOL64=":"
 
10743
  else
 
10744
    case $cross_compiling:$ac_tool_warned in
 
10745
yes:)
 
10746
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
10747
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
10748
ac_tool_warned=yes ;;
 
10749
esac
 
10750
    OTOOL64=$ac_ct_OTOOL64
 
10751
  fi
 
10752
else
 
10753
  OTOOL64="$ac_cv_prog_OTOOL64"
 
10754
fi
 
10755
 
 
10756
 
 
10757
 
 
10758
 
 
10759
 
 
10760
 
 
10761
 
 
10762
 
 
10763
 
 
10764
 
 
10765
 
 
10766
 
 
10767
 
 
10768
 
 
10769
 
 
10770
 
 
10771
 
 
10772
 
 
10773
 
 
10774
 
 
10775
 
 
10776
 
 
10777
 
 
10778
 
 
10779
 
 
10780
 
11338
10781
 
11339
10782
    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
11340
10783
$as_echo_n "checking for -single_module linker flag... " >&6; }
11343
10786
else
11344
10787
  lt_cv_apple_cc_single_mod=no
11345
10788
      if test -z "${LT_MULTI_MODULE}"; then
11346
 
   # By default we will add the -single_module flag. You can override
11347
 
   # by either setting the environment variable LT_MULTI_MODULE
11348
 
   # non-empty at configure time, or by adding -multi_module to the
11349
 
   # link flags.
11350
 
   echo "int foo(void){return 1;}" > conftest.c
11351
 
   $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
11352
 
     -dynamiclib ${wl}-single_module conftest.c
11353
 
   if test -f libconftest.dylib; then
11354
 
     lt_cv_apple_cc_single_mod=yes
11355
 
     rm -rf libconftest.dylib*
11356
 
   fi
11357
 
   rm conftest.c
 
10789
        # By default we will add the -single_module flag. You can override
 
10790
        # by either setting the environment variable LT_MULTI_MODULE
 
10791
        # non-empty at configure time, or by adding -multi_module to the
 
10792
        # link flags.
 
10793
        rm -rf libconftest.dylib*
 
10794
        echo "int foo(void){return 1;}" > conftest.c
 
10795
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
10796
-dynamiclib -Wl,-single_module conftest.c" >&5
 
10797
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
10798
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 
10799
        _lt_result=$?
 
10800
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 
10801
          lt_cv_apple_cc_single_mod=yes
 
10802
        else
 
10803
          cat conftest.err >&5
 
10804
        fi
 
10805
        rm -rf libconftest.dylib*
 
10806
        rm -f conftest.*
11358
10807
      fi
11359
10808
fi
11360
10809
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
11415
10864
rm -rf conftest.dSYM
11416
10865
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11417
10866
      conftest$ac_exeext conftest.$ac_ext
11418
 
   LDFLAGS="$save_LDFLAGS"
 
10867
        LDFLAGS="$save_LDFLAGS"
11419
10868
 
11420
10869
fi
11421
10870
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
11422
10871
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
11423
10872
    case $host_os in
11424
 
    rhapsody* | darwin1.[0123])
 
10873
    rhapsody* | darwin1.[012])
11425
10874
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
11426
10875
    darwin1.*)
11427
 
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
11428
 
    darwin*)
 
10876
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
10877
    darwin*) # darwin 5.x on
11429
10878
      # if running on 10.5 or later, the deployment target defaults
11430
10879
      # to the OS version, if on x86, and 10.4, the deployment
11431
10880
      # target defaults to 10.4. Don't you love it?
11432
10881
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
11433
 
   10.0,*86*-darwin8*|10.0,*-darwin[91]*)
11434
 
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
11435
 
   10.[012]*)
11436
 
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
11437
 
   10.*)
11438
 
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
10882
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
10883
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
10884
        10.[012]*)
 
10885
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
10886
        10.*)
 
10887
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
11439
10888
      esac
11440
10889
    ;;
11441
10890
  esac
11445
10894
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
11446
10895
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
11447
10896
    else
11448
 
      _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
 
10897
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
11449
10898
    fi
11450
10899
    if test "$DSYMUTIL" != ":"; then
11451
 
      _lt_dsymutil="~$DSYMUTIL \$lib || :"
 
10900
      _lt_dsymutil='~$DSYMUTIL $lib || :'
11452
10901
    else
11453
10902
      _lt_dsymutil=
11454
10903
    fi
11456
10905
  esac
11457
10906
 
11458
10907
 
11459
 
enable_dlopen=no
11460
 
enable_win32_dll=no
11461
 
 
11462
 
# Check whether --enable-libtool-lock was given.
11463
 
if test "${enable_libtool_lock+set}" = set; then
11464
 
  enableval=$enable_libtool_lock;
11465
 
fi
11466
 
 
11467
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
10908
for ac_header in dlfcn.h
 
10909
do
 
10910
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
10911
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
10912
$as_echo_n "checking for $ac_header... " >&6; }
 
10913
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
10914
  $as_echo_n "(cached) " >&6
 
10915
else
 
10916
  cat >conftest.$ac_ext <<_ACEOF
 
10917
/* confdefs.h.  */
 
10918
_ACEOF
 
10919
cat confdefs.h >>conftest.$ac_ext
 
10920
cat >>conftest.$ac_ext <<_ACEOF
 
10921
/* end confdefs.h.  */
 
10922
$ac_includes_default
 
10923
 
 
10924
#include <$ac_header>
 
10925
_ACEOF
 
10926
rm -f conftest.$ac_objext
 
10927
if { (ac_try="$ac_compile"
 
10928
case "(($ac_try" in
 
10929
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10930
  *) ac_try_echo=$ac_try;;
 
10931
esac
 
10932
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10933
$as_echo "$ac_try_echo") >&5
 
10934
  (eval "$ac_compile") 2>conftest.er1
 
10935
  ac_status=$?
 
10936
  grep -v '^ *+' conftest.er1 >conftest.err
 
10937
  rm -f conftest.er1
 
10938
  cat conftest.err >&5
 
10939
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10940
  (exit $ac_status); } && {
 
10941
         test -z "$ac_c_werror_flag" ||
 
10942
         test ! -s conftest.err
 
10943
       } && test -s conftest.$ac_objext; then
 
10944
  eval "$as_ac_Header=yes"
 
10945
else
 
10946
  $as_echo "$as_me: failed program was:" >&5
 
10947
sed 's/^/| /' conftest.$ac_ext >&5
 
10948
 
 
10949
        eval "$as_ac_Header=no"
 
10950
fi
 
10951
 
 
10952
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
10953
fi
 
10954
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
10955
                 $as_echo "$as_val"'`
 
10956
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
10957
$as_echo "$ac_res" >&6; }
 
10958
as_val=`eval 'as_val=${'$as_ac_Header'}
 
10959
                 $as_echo "$as_val"'`
 
10960
   if test "x$as_val" = x""yes; then
 
10961
  cat >>confdefs.h <<_ACEOF
 
10962
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
10963
_ACEOF
 
10964
 
 
10965
fi
 
10966
 
 
10967
done
 
10968
 
 
10969
 
 
10970
 
 
10971
# Set options
 
10972
 
 
10973
 
 
10974
 
 
10975
        enable_dlopen=no
 
10976
 
 
10977
 
 
10978
  enable_win32_dll=no
 
10979
 
 
10980
 
 
10981
 
 
10982
  # Check whether --enable-static was given.
 
10983
if test "${enable_static+set}" = set; then
 
10984
  enableval=$enable_static; p=${PACKAGE-default}
 
10985
    case $enableval in
 
10986
    yes) enable_static=yes ;;
 
10987
    no) enable_static=no ;;
 
10988
    *)
 
10989
     enable_static=no
 
10990
      # Look at the argument we got.  We use all the common list separators.
 
10991
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
10992
      for pkg in $enableval; do
 
10993
        IFS="$lt_save_ifs"
 
10994
        if test "X$pkg" = "X$p"; then
 
10995
          enable_static=yes
 
10996
        fi
 
10997
      done
 
10998
      IFS="$lt_save_ifs"
 
10999
      ;;
 
11000
    esac
 
11001
else
 
11002
  enable_static=yes
 
11003
fi
 
11004
 
 
11005
 
 
11006
 
 
11007
 
 
11008
 
 
11009
 
 
11010
 
 
11011
 
11468
11012
 
11469
11013
 
11470
11014
# Check whether --with-pic was given.
11474
11018
  pic_mode=default
11475
11019
fi
11476
11020
 
 
11021
 
11477
11022
test -z "$pic_mode" && pic_mode=default
11478
11023
 
 
11024
 
 
11025
 
 
11026
 
 
11027
 
 
11028
 
 
11029
 
 
11030
  # Check whether --enable-fast-install was given.
 
11031
if test "${enable_fast_install+set}" = set; then
 
11032
  enableval=$enable_fast_install; p=${PACKAGE-default}
 
11033
    case $enableval in
 
11034
    yes) enable_fast_install=yes ;;
 
11035
    no) enable_fast_install=no ;;
 
11036
    *)
 
11037
      enable_fast_install=no
 
11038
      # Look at the argument we got.  We use all the common list separators.
 
11039
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
11040
      for pkg in $enableval; do
 
11041
        IFS="$lt_save_ifs"
 
11042
        if test "X$pkg" = "X$p"; then
 
11043
          enable_fast_install=yes
 
11044
        fi
 
11045
      done
 
11046
      IFS="$lt_save_ifs"
 
11047
      ;;
 
11048
    esac
 
11049
else
 
11050
  enable_fast_install=yes
 
11051
fi
 
11052
 
 
11053
 
 
11054
 
 
11055
 
 
11056
 
 
11057
 
 
11058
 
 
11059
 
 
11060
 
 
11061
 
 
11062
 
 
11063
# This can be used to rebuild libtool when needed
 
11064
LIBTOOL_DEPS="$ltmain"
 
11065
 
 
11066
# Always use our own libtool.
 
11067
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
11068
 
 
11069
 
 
11070
 
 
11071
 
 
11072
 
 
11073
 
 
11074
 
 
11075
 
 
11076
 
 
11077
 
 
11078
 
 
11079
 
 
11080
 
 
11081
 
 
11082
 
 
11083
 
 
11084
 
 
11085
 
 
11086
 
 
11087
 
 
11088
 
 
11089
 
 
11090
 
 
11091
 
 
11092
 
 
11093
test -z "$LN_S" && LN_S="ln -s"
 
11094
 
 
11095
 
 
11096
 
 
11097
 
 
11098
 
 
11099
 
 
11100
 
 
11101
 
 
11102
 
 
11103
 
 
11104
 
 
11105
 
 
11106
 
 
11107
 
 
11108
if test -n "${ZSH_VERSION+set}" ; then
 
11109
   setopt NO_GLOB_SUBST
 
11110
fi
 
11111
 
 
11112
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
 
11113
$as_echo_n "checking for objdir... " >&6; }
 
11114
if test "${lt_cv_objdir+set}" = set; then
 
11115
  $as_echo_n "(cached) " >&6
 
11116
else
 
11117
  rm -f .libs 2>/dev/null
 
11118
mkdir .libs 2>/dev/null
 
11119
if test -d .libs; then
 
11120
  lt_cv_objdir=.libs
 
11121
else
 
11122
  # MS-DOS does not allow filenames that begin with a dot.
 
11123
  lt_cv_objdir=_libs
 
11124
fi
 
11125
rmdir .libs 2>/dev/null
 
11126
fi
 
11127
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
11128
$as_echo "$lt_cv_objdir" >&6; }
 
11129
objdir=$lt_cv_objdir
 
11130
 
 
11131
 
 
11132
 
 
11133
 
 
11134
 
 
11135
cat >>confdefs.h <<_ACEOF
 
11136
#define LT_OBJDIR "$lt_cv_objdir/"
 
11137
_ACEOF
 
11138
 
 
11139
 
 
11140
 
 
11141
 
 
11142
 
 
11143
 
 
11144
 
 
11145
 
 
11146
 
 
11147
 
 
11148
 
 
11149
 
 
11150
 
 
11151
 
 
11152
 
 
11153
 
 
11154
 
 
11155
case $host_os in
 
11156
aix3*)
 
11157
  # AIX sometimes has problems with the GCC collect2 program.  For some
 
11158
  # reason, if we set the COLLECT_NAMES environment variable, the problems
 
11159
  # vanish in a puff of smoke.
 
11160
  if test "X${COLLECT_NAMES+set}" != Xset; then
 
11161
    COLLECT_NAMES=
 
11162
    export COLLECT_NAMES
 
11163
  fi
 
11164
  ;;
 
11165
esac
 
11166
 
 
11167
# Sed substitution that helps us do robust quoting.  It backslashifies
 
11168
# metacharacters that are still active within double-quoted strings.
 
11169
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
11170
 
 
11171
# Same as above, but do not quote variable references.
 
11172
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
11173
 
 
11174
# Sed substitution to delay expansion of an escaped shell variable in a
 
11175
# double_quote_subst'ed string.
 
11176
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
11177
 
 
11178
# Sed substitution to delay expansion of an escaped single quote.
 
11179
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
11180
 
 
11181
# Sed substitution to avoid accidental globbing in evaled expressions
 
11182
no_glob_subst='s/\*/\\\*/g'
 
11183
 
 
11184
# Global variables:
 
11185
ofile=libtool
 
11186
can_build_shared=yes
 
11187
 
 
11188
# All known linkers require a `.a' archive for static linking (except MSVC,
 
11189
# which needs '.lib').
 
11190
libext=a
 
11191
 
 
11192
with_gnu_ld="$lt_cv_prog_gnu_ld"
 
11193
 
 
11194
old_CC="$CC"
 
11195
old_CFLAGS="$CFLAGS"
 
11196
 
 
11197
# Set sane defaults for various variables
 
11198
test -z "$CC" && CC=cc
 
11199
test -z "$LTCC" && LTCC=$CC
 
11200
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 
11201
test -z "$LD" && LD=ld
 
11202
test -z "$ac_objext" && ac_objext=o
 
11203
 
 
11204
for cc_temp in $compiler""; do
 
11205
  case $cc_temp in
 
11206
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
11207
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
11208
    \-*) ;;
 
11209
    *) break;;
 
11210
  esac
 
11211
done
 
11212
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
11213
 
 
11214
 
 
11215
# Only perform the check for file, if the check method requires it
 
11216
test -z "$MAGIC_CMD" && MAGIC_CMD=file
 
11217
case $deplibs_check_method in
 
11218
file_magic*)
 
11219
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 
11220
    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
11221
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
 
11222
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
11223
  $as_echo_n "(cached) " >&6
 
11224
else
 
11225
  case $MAGIC_CMD in
 
11226
[\\/*] |  ?:[\\/]*)
 
11227
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
11228
  ;;
 
11229
*)
 
11230
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
11231
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
11232
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
11233
  for ac_dir in $ac_dummy; do
 
11234
    IFS="$lt_save_ifs"
 
11235
    test -z "$ac_dir" && ac_dir=.
 
11236
    if test -f $ac_dir/${ac_tool_prefix}file; then
 
11237
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
 
11238
      if test -n "$file_magic_test_file"; then
 
11239
        case $deplibs_check_method in
 
11240
        "file_magic "*)
 
11241
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
11242
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
11243
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
11244
            $EGREP "$file_magic_regex" > /dev/null; then
 
11245
            :
 
11246
          else
 
11247
            cat <<_LT_EOF 1>&2
 
11248
 
 
11249
*** Warning: the command libtool uses to detect shared libraries,
 
11250
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
11251
*** The result is that libtool may fail to recognize shared libraries
 
11252
*** as such.  This will affect the creation of libtool libraries that
 
11253
*** depend on shared libraries, but programs linked with such libtool
 
11254
*** libraries will work regardless of this problem.  Nevertheless, you
 
11255
*** may want to report the problem to your system manager and/or to
 
11256
*** bug-libtool@gnu.org
 
11257
 
 
11258
_LT_EOF
 
11259
          fi ;;
 
11260
        esac
 
11261
      fi
 
11262
      break
 
11263
    fi
 
11264
  done
 
11265
  IFS="$lt_save_ifs"
 
11266
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
11267
  ;;
 
11268
esac
 
11269
fi
 
11270
 
 
11271
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
11272
if test -n "$MAGIC_CMD"; then
 
11273
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
11274
$as_echo "$MAGIC_CMD" >&6; }
 
11275
else
 
11276
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11277
$as_echo "no" >&6; }
 
11278
fi
 
11279
 
 
11280
 
 
11281
 
 
11282
 
 
11283
 
 
11284
if test -z "$lt_cv_path_MAGIC_CMD"; then
 
11285
  if test -n "$ac_tool_prefix"; then
 
11286
    { $as_echo "$as_me:$LINENO: checking for file" >&5
 
11287
$as_echo_n "checking for file... " >&6; }
 
11288
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
11289
  $as_echo_n "(cached) " >&6
 
11290
else
 
11291
  case $MAGIC_CMD in
 
11292
[\\/*] |  ?:[\\/]*)
 
11293
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
11294
  ;;
 
11295
*)
 
11296
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
11297
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
11298
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
11299
  for ac_dir in $ac_dummy; do
 
11300
    IFS="$lt_save_ifs"
 
11301
    test -z "$ac_dir" && ac_dir=.
 
11302
    if test -f $ac_dir/file; then
 
11303
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
 
11304
      if test -n "$file_magic_test_file"; then
 
11305
        case $deplibs_check_method in
 
11306
        "file_magic "*)
 
11307
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
11308
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
11309
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
11310
            $EGREP "$file_magic_regex" > /dev/null; then
 
11311
            :
 
11312
          else
 
11313
            cat <<_LT_EOF 1>&2
 
11314
 
 
11315
*** Warning: the command libtool uses to detect shared libraries,
 
11316
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
11317
*** The result is that libtool may fail to recognize shared libraries
 
11318
*** as such.  This will affect the creation of libtool libraries that
 
11319
*** depend on shared libraries, but programs linked with such libtool
 
11320
*** libraries will work regardless of this problem.  Nevertheless, you
 
11321
*** may want to report the problem to your system manager and/or to
 
11322
*** bug-libtool@gnu.org
 
11323
 
 
11324
_LT_EOF
 
11325
          fi ;;
 
11326
        esac
 
11327
      fi
 
11328
      break
 
11329
    fi
 
11330
  done
 
11331
  IFS="$lt_save_ifs"
 
11332
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
11333
  ;;
 
11334
esac
 
11335
fi
 
11336
 
 
11337
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
11338
if test -n "$MAGIC_CMD"; then
 
11339
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
11340
$as_echo "$MAGIC_CMD" >&6; }
 
11341
else
 
11342
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
11343
$as_echo "no" >&6; }
 
11344
fi
 
11345
 
 
11346
 
 
11347
  else
 
11348
    MAGIC_CMD=:
 
11349
  fi
 
11350
fi
 
11351
 
 
11352
  fi
 
11353
  ;;
 
11354
esac
 
11355
 
11479
11356
# Use C for the default configuration in the libtool script
11480
 
tagname=
 
11357
 
11481
11358
lt_save_CC="$CC"
11482
11359
ac_ext=c
11483
11360
ac_cpp='$CPP $CPPFLAGS'
11500
11377
lt_simple_link_test_code='int main(){return(0);}'
11501
11378
 
11502
11379
 
 
11380
 
 
11381
 
 
11382
 
 
11383
 
 
11384
 
11503
11385
# If no C compiler was specified, use CC.
11504
11386
LTCC=${LTCC-"$CC"}
11505
11387
 
11509
11391
# Allow CC to be a program name with arguments.
11510
11392
compiler=$CC
11511
11393
 
 
11394
# Save the default compiler, since it gets overwritten when the other
 
11395
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 
11396
compiler_DEFAULT=$CC
11512
11397
 
11513
11398
# save warnings/boilerplate of simple test code
11514
11399
ac_outfile=conftest.$ac_objext
11515
11400
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11516
11401
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11517
11402
_lt_compiler_boilerplate=`cat conftest.err`
11518
 
$rm conftest*
 
11403
$RM conftest*
11519
11404
 
11520
11405
ac_outfile=conftest.$ac_objext
11521
11406
echo "$lt_simple_link_test_code" >conftest.$ac_ext
11522
11407
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11523
11408
_lt_linker_boilerplate=`cat conftest.err`
11524
 
$rm -r conftest*
11525
 
 
11526
 
 
 
11409
$RM -r conftest*
 
11410
 
 
11411
 
 
11412
if test -n "$compiler"; then
11527
11413
 
11528
11414
lt_prog_compiler_no_builtin_flag=
11529
11415
 
11530
11416
if test "$GCC" = yes; then
11531
11417
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
11532
11418
 
11533
 
 
11534
 
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
11419
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
11535
11420
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
11536
11421
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
11537
11422
  $as_echo_n "(cached) " >&6
11538
11423
else
11539
11424
  lt_cv_prog_compiler_rtti_exceptions=no
11540
 
  ac_outfile=conftest.$ac_objext
 
11425
   ac_outfile=conftest.$ac_objext
11541
11426
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11542
11427
   lt_compiler_flag="-fno-rtti -fno-exceptions"
11543
11428
   # Insert the option either (1) after the last *FLAGS variable, or
11549
11434
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11550
11435
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11551
11436
   -e 's:$: $lt_compiler_flag:'`
11552
 
   (eval echo "\"\$as_me:11552: $lt_compile\"" >&5)
 
11437
   (eval echo "\"\$as_me:11437: $lt_compile\"" >&5)
11553
11438
   (eval "$lt_compile" 2>conftest.err)
11554
11439
   ac_status=$?
11555
11440
   cat conftest.err >&5
11556
 
   echo "$as_me:11556: \$? = $ac_status" >&5
 
11441
   echo "$as_me:11441: \$? = $ac_status" >&5
11557
11442
   if (exit $ac_status) && test -s "$ac_outfile"; then
11558
11443
     # The compiler can only warn and ignore the option if not recognized
11559
11444
     # So say no if there are warnings other than the usual output.
11560
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
11445
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
11561
11446
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11562
11447
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11563
11448
       lt_cv_prog_compiler_rtti_exceptions=yes
11564
11449
     fi
11565
11450
   fi
11566
 
   $rm conftest*
 
11451
   $RM conftest*
11567
11452
 
11568
11453
fi
11569
11454
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
11577
11462
 
11578
11463
fi
11579
11464
 
11580
 
lt_prog_compiler_wl=
 
11465
 
 
11466
 
 
11467
 
 
11468
 
 
11469
 
 
11470
  lt_prog_compiler_wl=
11581
11471
lt_prog_compiler_pic=
11582
11472
lt_prog_compiler_static=
11583
11473
 
11598
11488
      ;;
11599
11489
 
11600
11490
    amigaos*)
11601
 
      # FIXME: we need at least 68020 code to build shared libraries, but
11602
 
      # adding the `-m68020' flag to GCC prevents building anything better,
11603
 
      # like `-m68040'.
11604
 
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
11491
      case $host_cpu in
 
11492
      powerpc)
 
11493
            # see comment about AmigaOS4 .so support
 
11494
            lt_prog_compiler_pic='-fPIC'
 
11495
        ;;
 
11496
      m68k)
 
11497
            # FIXME: we need at least 68020 code to build shared libraries, but
 
11498
            # adding the `-m68020' flag to GCC prevents building anything better,
 
11499
            # like `-m68040'.
 
11500
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
11501
        ;;
 
11502
      esac
11605
11503
      ;;
11606
11504
 
11607
11505
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
11608
11506
      # PIC is the default for these OSes.
11609
11507
      ;;
11610
11508
 
11611
 
    mingw* | cygwin* | pw32* | os2*)
 
11509
    mingw* | cygwin* | pw32* | os2* | cegcc*)
11612
11510
      # This hack is so that the source file can tell whether it is being
11613
11511
      # built for inclusion in a dll (and should export symbols for example).
11614
11512
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
11622
11520
      lt_prog_compiler_pic='-fno-common'
11623
11521
      ;;
11624
11522
 
 
11523
    hpux*)
 
11524
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
11525
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
11526
      # sets the default TLS model and affects inlining.
 
11527
      case $host_cpu in
 
11528
      hppa*64*)
 
11529
        # +Z the default
 
11530
        ;;
 
11531
      *)
 
11532
        lt_prog_compiler_pic='-fPIC'
 
11533
        ;;
 
11534
      esac
 
11535
      ;;
 
11536
 
11625
11537
    interix[3-9]*)
11626
11538
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11627
11539
      # Instead, we relocate shared libraries at runtime.
11634
11546
      enable_shared=no
11635
11547
      ;;
11636
11548
 
 
11549
    *nto* | *qnx*)
 
11550
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
11551
      # it will coredump.
 
11552
      lt_prog_compiler_pic='-fPIC -shared'
 
11553
      ;;
 
11554
 
11637
11555
    sysv4*MP*)
11638
11556
      if test -d /usr/nec; then
11639
11557
        lt_prog_compiler_pic=-Kconform_pic
11640
11558
      fi
11641
11559
      ;;
11642
11560
 
11643
 
    hpux*)
11644
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11645
 
      # not for PA HP-UX.
11646
 
      case $host_cpu in
11647
 
      hppa*64*|ia64*)
11648
 
        # +Z the default
11649
 
        ;;
11650
 
      *)
11651
 
        lt_prog_compiler_pic='-fPIC'
11652
 
        ;;
11653
 
      esac
11654
 
      ;;
11655
 
 
11656
11561
    *)
11657
11562
      lt_prog_compiler_pic='-fPIC'
11658
11563
      ;;
11669
11574
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
11670
11575
      fi
11671
11576
      ;;
11672
 
      darwin*)
11673
 
        # PIC is the default on this platform
11674
 
        # Common symbols not allowed in MH_DYLIB files
11675
 
       case $cc_basename in
11676
 
         xlc*)
11677
 
         lt_prog_compiler_pic='-qnocommon'
11678
 
         lt_prog_compiler_wl='-Wl,'
11679
 
         ;;
11680
 
       esac
11681
 
       ;;
11682
11577
 
11683
 
    mingw* | cygwin* | pw32* | os2*)
 
11578
    mingw* | cygwin* | pw32* | os2* | cegcc*)
11684
11579
      # This hack is so that the source file can tell whether it is being
11685
11580
      # built for inclusion in a dll (and should export symbols for example).
11686
11581
      lt_prog_compiler_pic='-DDLL_EXPORT'
11708
11603
      lt_prog_compiler_static='-non_shared'
11709
11604
      ;;
11710
11605
 
11711
 
    newsos6)
11712
 
      lt_prog_compiler_pic='-KPIC'
11713
 
      lt_prog_compiler_static='-Bstatic'
11714
 
      ;;
11715
 
 
11716
11606
    linux* | k*bsd*-gnu)
11717
11607
      case $cc_basename in
11718
 
      icc* | ecc*)
 
11608
      # old Intel for x86_64 which still supported -KPIC.
 
11609
      ecc*)
11719
11610
        lt_prog_compiler_wl='-Wl,'
11720
11611
        lt_prog_compiler_pic='-KPIC'
11721
11612
        lt_prog_compiler_static='-static'
11722
11613
        ;;
 
11614
      # icc used to be incompatible with GCC.
 
11615
      # ICC 10 doesn't accept -KPIC any more.
 
11616
      icc* | ifort*)
 
11617
        lt_prog_compiler_wl='-Wl,'
 
11618
        lt_prog_compiler_pic='-fPIC'
 
11619
        lt_prog_compiler_static='-static'
 
11620
        ;;
 
11621
      # Lahey Fortran 8.1.
 
11622
      lf95*)
 
11623
        lt_prog_compiler_wl='-Wl,'
 
11624
        lt_prog_compiler_pic='--shared'
 
11625
        lt_prog_compiler_static='--static'
 
11626
        ;;
11723
11627
      pgcc* | pgf77* | pgf90* | pgf95*)
11724
11628
        # Portland Group compilers (*not* the Pentium gcc compiler,
11725
11629
        # which looks to be a dead project)
11732
11636
        # All Alpha code is PIC.
11733
11637
        lt_prog_compiler_static='-non_shared'
11734
11638
        ;;
 
11639
      xl*)
 
11640
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
11641
        lt_prog_compiler_wl='-Wl,'
 
11642
        lt_prog_compiler_pic='-qpic'
 
11643
        lt_prog_compiler_static='-qstaticlink'
 
11644
        ;;
11735
11645
      *)
11736
 
        case `$CC -V 2>&1 | sed 5q` in
 
11646
        case `$CC -V 2>&1 | sed 5q` in
11737
11647
        *Sun\ C*)
11738
11648
          # Sun C 5.9
11739
11649
          lt_prog_compiler_pic='-KPIC'
11751
11661
      esac
11752
11662
      ;;
11753
11663
 
 
11664
    newsos6)
 
11665
      lt_prog_compiler_pic='-KPIC'
 
11666
      lt_prog_compiler_static='-Bstatic'
 
11667
      ;;
 
11668
 
 
11669
    *nto* | *qnx*)
 
11670
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
11671
      # it will coredump.
 
11672
      lt_prog_compiler_pic='-fPIC -shared'
 
11673
      ;;
 
11674
 
11754
11675
    osf3* | osf4* | osf5*)
11755
11676
      lt_prog_compiler_wl='-Wl,'
11756
11677
      # All OSF/1 code is PIC.
11813
11734
    esac
11814
11735
  fi
11815
11736
 
 
11737
case $host_os in
 
11738
  # For platforms which do not support PIC, -DPIC is meaningless:
 
11739
  *djgpp*)
 
11740
    lt_prog_compiler_pic=
 
11741
    ;;
 
11742
  *)
 
11743
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 
11744
    ;;
 
11745
esac
11816
11746
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
11817
11747
$as_echo "$lt_prog_compiler_pic" >&6; }
11818
11748
 
 
11749
 
 
11750
 
 
11751
 
 
11752
 
 
11753
 
11819
11754
#
11820
11755
# Check to make sure the PIC flag actually works.
11821
11756
#
11822
11757
if test -n "$lt_prog_compiler_pic"; then
11823
 
 
11824
 
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
11758
  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
11825
11759
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
11826
11760
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
11827
11761
  $as_echo_n "(cached) " >&6
11828
11762
else
11829
11763
  lt_cv_prog_compiler_pic_works=no
11830
 
  ac_outfile=conftest.$ac_objext
 
11764
   ac_outfile=conftest.$ac_objext
11831
11765
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11832
11766
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
11833
11767
   # Insert the option either (1) after the last *FLAGS variable, or
11839
11773
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11840
11774
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11841
11775
   -e 's:$: $lt_compiler_flag:'`
11842
 
   (eval echo "\"\$as_me:11842: $lt_compile\"" >&5)
 
11776
   (eval echo "\"\$as_me:11776: $lt_compile\"" >&5)
11843
11777
   (eval "$lt_compile" 2>conftest.err)
11844
11778
   ac_status=$?
11845
11779
   cat conftest.err >&5
11846
 
   echo "$as_me:11846: \$? = $ac_status" >&5
 
11780
   echo "$as_me:11780: \$? = $ac_status" >&5
11847
11781
   if (exit $ac_status) && test -s "$ac_outfile"; then
11848
11782
     # The compiler can only warn and ignore the option if not recognized
11849
11783
     # So say no if there are warnings other than the usual output.
11850
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
11784
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
11851
11785
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11852
11786
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11853
11787
       lt_cv_prog_compiler_pic_works=yes
11854
11788
     fi
11855
11789
   fi
11856
 
   $rm conftest*
 
11790
   $RM conftest*
11857
11791
 
11858
11792
fi
11859
11793
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
11870
11804
fi
11871
11805
 
11872
11806
fi
11873
 
case $host_os in
11874
 
  # For platforms which do not support PIC, -DPIC is meaningless:
11875
 
  *djgpp*)
11876
 
    lt_prog_compiler_pic=
11877
 
    ;;
11878
 
  *)
11879
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
11880
 
    ;;
11881
 
esac
 
11807
 
 
11808
 
 
11809
 
 
11810
 
 
11811
 
11882
11812
 
11883
11813
#
11884
11814
# Check to make sure the static flag actually works.
11899
11829
     if test -s conftest.err; then
11900
11830
       # Append any errors to the config.log.
11901
11831
       cat conftest.err 1>&5
11902
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
11832
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
11903
11833
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11904
11834
       if diff conftest.exp conftest.er2 >/dev/null; then
11905
11835
         lt_cv_prog_compiler_static_works=yes
11908
11838
       lt_cv_prog_compiler_static_works=yes
11909
11839
     fi
11910
11840
   fi
11911
 
   $rm -r conftest*
 
11841
   $RM -r conftest*
11912
11842
   LDFLAGS="$save_LDFLAGS"
11913
11843
 
11914
11844
fi
11922
11852
fi
11923
11853
 
11924
11854
 
11925
 
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11926
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11927
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
11928
 
  $as_echo_n "(cached) " >&6
11929
 
else
11930
 
  lt_cv_prog_compiler_c_o=no
11931
 
   $rm -r conftest 2>/dev/null
11932
 
   mkdir conftest
11933
 
   cd conftest
11934
 
   mkdir out
11935
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11936
 
 
11937
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
11938
 
   # Insert the option either (1) after the last *FLAGS variable, or
11939
 
   # (2) before a word containing "conftest.", or (3) at the end.
11940
 
   # Note that $ac_compile itself does not contain backslashes and begins
11941
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
11942
 
   lt_compile=`echo "$ac_compile" | $SED \
11943
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11944
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11945
 
   -e 's:$: $lt_compiler_flag:'`
11946
 
   (eval echo "\"\$as_me:11946: $lt_compile\"" >&5)
11947
 
   (eval "$lt_compile" 2>out/conftest.err)
11948
 
   ac_status=$?
11949
 
   cat out/conftest.err >&5
11950
 
   echo "$as_me:11950: \$? = $ac_status" >&5
11951
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
11952
 
   then
11953
 
     # The compiler can only warn and ignore the option if not recognized
11954
 
     # So say no if there are warnings
11955
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
11956
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11957
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11958
 
       lt_cv_prog_compiler_c_o=yes
11959
 
     fi
11960
 
   fi
11961
 
   chmod u+w . 2>&5
11962
 
   $rm conftest*
11963
 
   # SGI C++ compiler will create directory out/ii_files/ for
11964
 
   # template instantiation
11965
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
11966
 
   $rm out/* && rmdir out
11967
 
   cd ..
11968
 
   rmdir conftest
11969
 
   $rm conftest*
11970
 
 
11971
 
fi
11972
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
11973
 
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
11855
 
 
11856
 
 
11857
 
 
11858
 
 
11859
 
 
11860
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
11861
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
11862
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
11863
  $as_echo_n "(cached) " >&6
 
11864
else
 
11865
  lt_cv_prog_compiler_c_o=no
 
11866
   $RM -r conftest 2>/dev/null
 
11867
   mkdir conftest
 
11868
   cd conftest
 
11869
   mkdir out
 
11870
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
11871
 
 
11872
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
11873
   # Insert the option either (1) after the last *FLAGS variable, or
 
11874
   # (2) before a word containing "conftest.", or (3) at the end.
 
11875
   # Note that $ac_compile itself does not contain backslashes and begins
 
11876
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
11877
   lt_compile=`echo "$ac_compile" | $SED \
 
11878
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
11879
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
11880
   -e 's:$: $lt_compiler_flag:'`
 
11881
   (eval echo "\"\$as_me:11881: $lt_compile\"" >&5)
 
11882
   (eval "$lt_compile" 2>out/conftest.err)
 
11883
   ac_status=$?
 
11884
   cat out/conftest.err >&5
 
11885
   echo "$as_me:11885: \$? = $ac_status" >&5
 
11886
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
11887
   then
 
11888
     # The compiler can only warn and ignore the option if not recognized
 
11889
     # So say no if there are warnings
 
11890
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
11891
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
11892
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
11893
       lt_cv_prog_compiler_c_o=yes
 
11894
     fi
 
11895
   fi
 
11896
   chmod u+w . 2>&5
 
11897
   $RM conftest*
 
11898
   # SGI C++ compiler will create directory out/ii_files/ for
 
11899
   # template instantiation
 
11900
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
11901
   $RM out/* && rmdir out
 
11902
   cd ..
 
11903
   $RM -r conftest
 
11904
   $RM conftest*
 
11905
 
 
11906
fi
 
11907
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
11908
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
11909
 
 
11910
 
 
11911
 
 
11912
 
 
11913
 
 
11914
 
 
11915
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
11916
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
11917
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
11918
  $as_echo_n "(cached) " >&6
 
11919
else
 
11920
  lt_cv_prog_compiler_c_o=no
 
11921
   $RM -r conftest 2>/dev/null
 
11922
   mkdir conftest
 
11923
   cd conftest
 
11924
   mkdir out
 
11925
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
11926
 
 
11927
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
11928
   # Insert the option either (1) after the last *FLAGS variable, or
 
11929
   # (2) before a word containing "conftest.", or (3) at the end.
 
11930
   # Note that $ac_compile itself does not contain backslashes and begins
 
11931
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
11932
   lt_compile=`echo "$ac_compile" | $SED \
 
11933
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
11934
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
11935
   -e 's:$: $lt_compiler_flag:'`
 
11936
   (eval echo "\"\$as_me:11936: $lt_compile\"" >&5)
 
11937
   (eval "$lt_compile" 2>out/conftest.err)
 
11938
   ac_status=$?
 
11939
   cat out/conftest.err >&5
 
11940
   echo "$as_me:11940: \$? = $ac_status" >&5
 
11941
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
11942
   then
 
11943
     # The compiler can only warn and ignore the option if not recognized
 
11944
     # So say no if there are warnings
 
11945
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
11946
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
11947
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
11948
       lt_cv_prog_compiler_c_o=yes
 
11949
     fi
 
11950
   fi
 
11951
   chmod u+w . 2>&5
 
11952
   $RM conftest*
 
11953
   # SGI C++ compiler will create directory out/ii_files/ for
 
11954
   # template instantiation
 
11955
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
11956
   $RM out/* && rmdir out
 
11957
   cd ..
 
11958
   $RM -r conftest
 
11959
   $RM conftest*
 
11960
 
 
11961
fi
 
11962
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
11963
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
11964
 
 
11965
 
11974
11966
 
11975
11967
 
11976
11968
hard_links="nottested"
11979
11971
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11980
11972
$as_echo_n "checking if we can lock with hard links... " >&6; }
11981
11973
  hard_links=yes
11982
 
  $rm conftest*
 
11974
  $RM conftest*
11983
11975
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
11984
11976
  touch conftest.a
11985
11977
  ln conftest.a conftest.b 2>&5 || hard_links=no
11995
11987
  need_locks=no
11996
11988
fi
11997
11989
 
11998
 
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
11990
 
 
11991
 
 
11992
 
 
11993
 
 
11994
 
 
11995
  { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11999
11996
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12000
11997
 
12001
11998
  runpath_var=
12002
11999
  allow_undefined_flag=
12003
 
  enable_shared_with_static_runtimes=no
 
12000
  always_export_symbols=no
12004
12001
  archive_cmds=
12005
12002
  archive_expsym_cmds=
12006
 
  old_archive_From_new_cmds=
12007
 
  old_archive_from_expsyms_cmds=
 
12003
  compiler_needs_object=no
 
12004
  enable_shared_with_static_runtimes=no
12008
12005
  export_dynamic_flag_spec=
12009
 
  whole_archive_flag_spec=
12010
 
  thread_safe_flag_spec=
 
12006
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
12007
  hardcode_automatic=no
 
12008
  hardcode_direct=no
 
12009
  hardcode_direct_absolute=no
12011
12010
  hardcode_libdir_flag_spec=
12012
12011
  hardcode_libdir_flag_spec_ld=
12013
12012
  hardcode_libdir_separator=
12014
 
  hardcode_direct=no
12015
12013
  hardcode_minus_L=no
12016
12014
  hardcode_shlibpath_var=unsupported
 
12015
  inherit_rpath=no
12017
12016
  link_all_deplibs=unknown
12018
 
  hardcode_automatic=no
12019
12017
  module_cmds=
12020
12018
  module_expsym_cmds=
12021
 
  always_export_symbols=no
12022
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
12019
  old_archive_from_new_cmds=
 
12020
  old_archive_from_expsyms_cmds=
 
12021
  thread_safe_flag_spec=
 
12022
  whole_archive_flag_spec=
12023
12023
  # include_expsyms should be a list of space-separated symbols to be *always*
12024
12024
  # included in the symbol list
12025
12025
  include_expsyms=
12035
12035
  # preloaded symbol tables.
12036
12036
  # Exclude shared library initialization/finalization symbols.
12037
12037
  extract_expsyms_cmds=
12038
 
  # Just being paranoid about ensuring that cc_basename is set.
12039
 
  for cc_temp in $compiler""; do
12040
 
  case $cc_temp in
12041
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12042
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12043
 
    \-*) ;;
12044
 
    *) break;;
12045
 
  esac
12046
 
done
12047
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12048
12038
 
12049
12039
  case $host_os in
12050
 
  cygwin* | mingw* | pw32*)
 
12040
  cygwin* | mingw* | pw32* | cegcc*)
12051
12041
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
12052
12042
    # When not using gcc, we currently assume that we are using
12053
12043
    # Microsoft Visual C++.
12073
12063
    # are reset later if shared libraries are not supported. Putting them
12074
12064
    # here allows them to be overridden if necessary.
12075
12065
    runpath_var=LD_RUN_PATH
12076
 
    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
 
12066
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12077
12067
    export_dynamic_flag_spec='${wl}--export-dynamic'
12078
12068
    # ancient GNU ld didn't support --whole-archive et. al.
12079
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
12080
 
        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12081
 
      else
12082
 
        whole_archive_flag_spec=
 
12069
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 
12070
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
12071
    else
 
12072
      whole_archive_flag_spec=
12083
12073
    fi
12084
12074
    supports_anon_versioning=no
12085
 
    case `$LD -v 2>/dev/null` in
 
12075
    case `$LD -v 2>&1` in
12086
12076
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
12087
12077
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
12088
12078
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
12096
12086
      # On AIX/PPC, the GNU linker is very broken
12097
12087
      if test "$host_cpu" != ia64; then
12098
12088
        ld_shlibs=no
12099
 
        cat <<EOF 1>&2
 
12089
        cat <<_LT_EOF 1>&2
12100
12090
 
12101
12091
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
12102
12092
*** to be unable to reliably create shared libraries on AIX.
12104
12094
*** really care for shared libraries, you may want to modify your PATH
12105
12095
*** so that a non-GNU linker is found, and then restart.
12106
12096
 
12107
 
EOF
 
12097
_LT_EOF
12108
12098
      fi
12109
12099
      ;;
12110
12100
 
12111
12101
    amigaos*)
12112
 
      archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
12113
 
      hardcode_libdir_flag_spec='-L$libdir'
12114
 
      hardcode_minus_L=yes
12115
 
 
12116
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
12117
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
12118
 
      # to version 4, is to share data among multiple programs linked
12119
 
      # with the same dynamic library.  Since this doesn't match the
12120
 
      # behavior of shared libraries on other platforms, we can't use
12121
 
      # them.
12122
 
      ld_shlibs=no
 
12102
      case $host_cpu in
 
12103
      powerpc)
 
12104
            # see comment about AmigaOS4 .so support
 
12105
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
12106
            archive_expsym_cmds=''
 
12107
        ;;
 
12108
      m68k)
 
12109
            archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
 
12110
            hardcode_libdir_flag_spec='-L$libdir'
 
12111
            hardcode_minus_L=yes
 
12112
        ;;
 
12113
      esac
12123
12114
      ;;
12124
12115
 
12125
12116
    beos*)
12126
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
12117
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12127
12118
        allow_undefined_flag=unsupported
12128
12119
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12129
12120
        # support --undefined.  This deserves some investigation.  FIXME
12133
12124
      fi
12134
12125
      ;;
12135
12126
 
12136
 
    cygwin* | mingw* | pw32*)
12137
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 
12127
    cygwin* | mingw* | pw32* | cegcc*)
 
12128
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
12138
12129
      # as there is no search path for DLLs.
12139
12130
      hardcode_libdir_flag_spec='-L$libdir'
12140
12131
      allow_undefined_flag=unsupported
12141
12132
      always_export_symbols=no
12142
12133
      enable_shared_with_static_runtimes=yes
12143
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
12134
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12144
12135
 
12145
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
 
12136
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12146
12137
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12147
12138
        # If the export-symbols file already is a .def file (1st line
12148
12139
        # is EXPORTS), use it as is; otherwise, prepend...
12173
12164
      archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12174
12165
      ;;
12175
12166
 
12176
 
    gnu* | linux* | k*bsd*-gnu)
12177
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
12167
    gnu* | linux* | tpf* | k*bsd*-gnu)
 
12168
      tmp_diet=no
 
12169
      if test "$host_os" = linux-dietlibc; then
 
12170
        case $cc_basename in
 
12171
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
 
12172
        esac
 
12173
      fi
 
12174
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 
12175
         && test "$tmp_diet" = no
 
12176
      then
12178
12177
        tmp_addflag=
 
12178
        tmp_sharedflag='-shared'
12179
12179
        case $cc_basename,$host_cpu in
12180
 
        pgcc*)                          # Portland Group C compiler
12181
 
          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'
 
12180
        pgcc*)                          # Portland Group C compiler
 
12181
          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'
12182
12182
          tmp_addflag=' $pic_flag'
12183
12183
          ;;
12184
12184
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
12185
 
          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'
 
12185
          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'
12186
12186
          tmp_addflag=' $pic_flag -Mnomain' ;;
12187
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
 
12187
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
12188
12188
          tmp_addflag=' -i_dynamic' ;;
12189
12189
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
12190
12190
          tmp_addflag=' -i_dynamic -nofor_main' ;;
12191
12191
        ifc* | ifort*)                  # Intel Fortran compiler
12192
12192
          tmp_addflag=' -nofor_main' ;;
 
12193
        lf95*)                          # Lahey Fortran 8.1
 
12194
          whole_archive_flag_spec=
 
12195
          tmp_sharedflag='--shared' ;;
 
12196
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
12197
          tmp_sharedflag='-qmkshrobj'
 
12198
          tmp_addflag= ;;
12193
12199
        esac
12194
12200
        case `$CC -V 2>&1 | sed 5q` in
12195
12201
        *Sun\ C*)                       # Sun C 5.9
12196
 
          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'
 
12202
          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'
 
12203
          compiler_needs_object=yes
12197
12204
          tmp_sharedflag='-G' ;;
12198
12205
        *Sun\ F*)                       # Sun Fortran 8.3
12199
12206
          tmp_sharedflag='-G' ;;
12200
 
        *)
12201
 
          tmp_sharedflag='-shared' ;;
12202
12207
        esac
12203
12208
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12204
12209
 
12205
 
        if test $supports_anon_versioning = yes; then
12206
 
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
12207
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12208
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
12209
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12210
 
        fi
 
12210
        if test "x$supports_anon_versioning" = xyes; then
 
12211
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
12212
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
12213
            echo "local: *; };" >> $output_objdir/$libname.ver~
 
12214
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
12215
        fi
 
12216
 
 
12217
        case $cc_basename in
 
12218
        xlf*)
 
12219
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 
12220
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
 
12221
          hardcode_libdir_flag_spec=
 
12222
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
12223
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
12224
          if test "x$supports_anon_versioning" = xyes; then
 
12225
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
12226
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
12227
              echo "local: *; };" >> $output_objdir/$libname.ver~
 
12228
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
12229
          fi
 
12230
          ;;
 
12231
        esac
12211
12232
      else
12212
 
        ld_shlibs=no
 
12233
        ld_shlibs=no
12213
12234
      fi
12214
12235
      ;;
12215
12236
 
12216
12237
    netbsd*)
12217
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
12238
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12218
12239
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12219
12240
        wlarc=
12220
12241
      else
12224
12245
      ;;
12225
12246
 
12226
12247
    solaris*)
12227
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
 
12248
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
12228
12249
        ld_shlibs=no
12229
 
        cat <<EOF 1>&2
 
12250
        cat <<_LT_EOF 1>&2
12230
12251
 
12231
12252
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
12232
12253
*** create shared libraries on Solaris systems.  Therefore, libtool
12235
12256
*** your PATH or compiler configuration so that the native linker is
12236
12257
*** used, and then restart.
12237
12258
 
12238
 
EOF
12239
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
12259
_LT_EOF
 
12260
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12240
12261
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12241
12262
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12242
12263
      else
12260
12281
_LT_EOF
12261
12282
        ;;
12262
12283
        *)
12263
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
12264
 
            hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
12265
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
12266
 
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
12284
          # For security reasons, it is highly recommended that you always
 
12285
          # use absolute paths for naming shared libraries, and exclude the
 
12286
          # DT_RUNPATH tag from executables and libraries.  But doing so
 
12287
          # requires that you compile everything twice, which is a pain.
 
12288
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
12289
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
12290
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
12291
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12267
12292
          else
12268
12293
            ld_shlibs=no
12269
12294
          fi
12279
12304
      ;;
12280
12305
 
12281
12306
    *)
12282
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
12307
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12283
12308
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12284
12309
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12285
12310
      else
12321
12346
      else
12322
12347
        # If we're using GNU nm, then we don't want the "-C" option.
12323
12348
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
12324
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
12325
 
          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'
 
12349
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
12350
          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'
12326
12351
        else
12327
 
          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'
 
12352
          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'
12328
12353
        fi
12329
12354
        aix_use_runtimelinking=no
12330
12355
 
12333
12358
        # need to do runtime linking.
12334
12359
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12335
12360
          for ld_flag in $LDFLAGS; do
12336
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
12337
 
            aix_use_runtimelinking=yes
12338
 
            break
12339
 
          fi
 
12361
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
12362
            aix_use_runtimelinking=yes
 
12363
            break
 
12364
          fi
12340
12365
          done
12341
12366
          ;;
12342
12367
        esac
12353
12378
 
12354
12379
      archive_cmds=''
12355
12380
      hardcode_direct=yes
 
12381
      hardcode_direct_absolute=yes
12356
12382
      hardcode_libdir_separator=':'
12357
12383
      link_all_deplibs=yes
 
12384
      file_list_spec='${wl}-f,'
12358
12385
 
12359
12386
      if test "$GCC" = yes; then
12360
12387
        case $host_os in aix4.[012]|aix4.[012].*)
12361
12388
        # We only want to do this on AIX 4.2 and lower, the check
12362
12389
        # below for broken collect2 doesn't work under 4.3+
12363
12390
          collect2name=`${CC} -print-prog-name=collect2`
12364
 
          if test -f "$collect2name" && \
12365
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
 
12391
          if test -f "$collect2name" &&
 
12392
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12366
12393
          then
12367
 
          # We have reworked collect2
12368
 
          :
 
12394
          # We have reworked collect2
 
12395
          :
12369
12396
          else
12370
 
          # We have old collect2
12371
 
          hardcode_direct=unsupported
12372
 
          # It fails to find uninstalled libraries when the uninstalled
12373
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
12374
 
          # to unsupported forces relinking
12375
 
          hardcode_minus_L=yes
12376
 
          hardcode_libdir_flag_spec='-L$libdir'
12377
 
          hardcode_libdir_separator=
 
12397
          # We have old collect2
 
12398
          hardcode_direct=unsupported
 
12399
          # It fails to find uninstalled libraries when the uninstalled
 
12400
          # path is not listed in the libpath.  Setting hardcode_minus_L
 
12401
          # to unsupported forces relinking
 
12402
          hardcode_minus_L=yes
 
12403
          hardcode_libdir_flag_spec='-L$libdir'
 
12404
          hardcode_libdir_separator=
12378
12405
          fi
12379
12406
          ;;
12380
12407
        esac
12385
12412
      else
12386
12413
        # not using gcc
12387
12414
        if test "$host_cpu" = ia64; then
12388
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12389
 
        # chokes on -Wl,-G. The following line is correct:
 
12415
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
12416
        # chokes on -Wl,-G. The following line is correct:
12390
12417
          shared_flag='-G'
12391
12418
        else
12392
12419
          if test "$aix_use_runtimelinking" = yes; then
12397
12424
        fi
12398
12425
      fi
12399
12426
 
 
12427
      export_dynamic_flag_spec='${wl}-bexpall'
12400
12428
      # It seems that -bexpall does not export symbols beginning with
12401
12429
      # underscore (_), so it is better to generate a list of symbols to export.
12402
12430
      always_export_symbols=yes
12404
12432
        # Warning - without using the other runtime loading flags (-brtl),
12405
12433
        # -berok will link without error, but may produce a broken library.
12406
12434
        allow_undefined_flag='-berok'
12407
 
       # Determine the default libpath from the value encoded in an empty executable.
12408
 
       cat >conftest.$ac_ext <<_ACEOF
 
12435
        # Determine the default libpath from the value encoded in an
 
12436
        # empty executable.
 
12437
        cat >conftest.$ac_ext <<_ACEOF
12409
12438
/* confdefs.h.  */
12410
12439
_ACEOF
12411
12440
cat confdefs.h >>conftest.$ac_ext
12466
12495
      conftest$ac_exeext conftest.$ac_ext
12467
12496
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12468
12497
 
12469
 
       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
12470
 
        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 "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12471
 
       else
 
12498
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
12499
        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"
 
12500
      else
12472
12501
        if test "$host_cpu" = ia64; then
12473
12502
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
12474
12503
          allow_undefined_flag="-z nodefs"
12475
12504
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
12476
12505
        else
12477
 
         # Determine the default libpath from the value encoded in an empty executable.
 
12506
         # Determine the default libpath from the value encoded in an
 
12507
         # empty executable.
12478
12508
         cat >conftest.$ac_ext <<_ACEOF
12479
12509
/* confdefs.h.  */
12480
12510
_ACEOF
12551
12581
      ;;
12552
12582
 
12553
12583
    amigaos*)
12554
 
      archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
12555
 
      hardcode_libdir_flag_spec='-L$libdir'
12556
 
      hardcode_minus_L=yes
12557
 
      # see comment about different semantics on the GNU ld section
12558
 
      ld_shlibs=no
 
12584
      case $host_cpu in
 
12585
      powerpc)
 
12586
            # see comment about AmigaOS4 .so support
 
12587
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
12588
            archive_expsym_cmds=''
 
12589
        ;;
 
12590
      m68k)
 
12591
            archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
 
12592
            hardcode_libdir_flag_spec='-L$libdir'
 
12593
            hardcode_minus_L=yes
 
12594
        ;;
 
12595
      esac
12559
12596
      ;;
12560
12597
 
12561
12598
    bsdi[45]*)
12562
12599
      export_dynamic_flag_spec=-rdynamic
12563
12600
      ;;
12564
12601
 
12565
 
    cygwin* | mingw* | pw32*)
 
12602
    cygwin* | mingw* | pw32* | cegcc*)
12566
12603
      # When not using gcc, we currently assume that we are using
12567
12604
      # Microsoft Visual C++.
12568
12605
      # hardcode_libdir_flag_spec is actually meaningless, as there is
12574
12611
      # Tell ltmain to make .dll files, not .so files.
12575
12612
      shrext_cmds=".dll"
12576
12613
      # FIXME: Setting linknames here is a bad hack.
12577
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
12614
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
12578
12615
      # The linker will automatically build a .lib file if we build a DLL.
12579
 
      old_archive_From_new_cmds='true'
 
12616
      old_archive_from_new_cmds='true'
12580
12617
      # FIXME: Should let the user specify the lib program.
12581
12618
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
12582
12619
      fix_srcfile_path='`cygpath -w "$srcfile"`'
12584
12621
      ;;
12585
12622
 
12586
12623
    darwin* | rhapsody*)
12587
 
      allow_undefined_flag="$_lt_dar_allow_undefined"
12588
 
      archive_cmds_need_lc=no
12589
 
      hardcode_direct=no
12590
 
      hardcode_automatic=yes
12591
 
      hardcode_shlibpath_var=unsupported
12592
 
      whole_archive_flag_spec=''
12593
 
      link_all_deplibs=yes
12594
 
    if test "$GCC" = yes ; then
12595
 
        output_verbose_link_cmd='echo'
12596
 
        archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12597
 
        module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12598
 
        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}"
12599
 
        module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
12600
 
    else
12601
 
      case $cc_basename in
12602
 
        xlc*)
12603
 
         output_verbose_link_cmd='echo'
12604
 
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
12605
 
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12606
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12607
 
         archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12608
 
          module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12609
 
          ;;
12610
 
       *)
12611
 
         ld_shlibs=no
12612
 
          ;;
12613
 
      esac
12614
 
    fi
 
12624
 
 
12625
 
 
12626
  archive_cmds_need_lc=no
 
12627
  hardcode_direct=no
 
12628
  hardcode_automatic=yes
 
12629
  hardcode_shlibpath_var=unsupported
 
12630
  whole_archive_flag_spec=''
 
12631
  link_all_deplibs=yes
 
12632
  allow_undefined_flag="$_lt_dar_allow_undefined"
 
12633
  case $cc_basename in
 
12634
     ifort*) _lt_dar_can_shared=yes ;;
 
12635
     *) _lt_dar_can_shared=$GCC ;;
 
12636
  esac
 
12637
  if test "$_lt_dar_can_shared" = "yes"; then
 
12638
    output_verbose_link_cmd=echo
 
12639
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
12640
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
12641
    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}"
 
12642
    module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
 
12643
 
 
12644
  else
 
12645
  ld_shlibs=no
 
12646
  fi
 
12647
 
12615
12648
      ;;
12616
12649
 
12617
12650
    dgux*)
12653
12686
 
12654
12687
    hpux9*)
12655
12688
      if test "$GCC" = yes; then
12656
 
        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'
 
12689
        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'
12657
12690
      else
12658
 
        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'
 
12691
        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'
12659
12692
      fi
12660
12693
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
12661
12694
      hardcode_libdir_separator=:
12675
12708
      fi
12676
12709
      if test "$with_gnu_ld" = no; then
12677
12710
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
12711
        hardcode_libdir_flag_spec_ld='+b $libdir'
12678
12712
        hardcode_libdir_separator=:
12679
 
 
12680
12713
        hardcode_direct=yes
 
12714
        hardcode_direct_absolute=yes
12681
12715
        export_dynamic_flag_spec='${wl}-E'
12682
 
 
12683
12716
        # hardcode_minus_L: Not really in the search PATH,
12684
12717
        # but as the default location of the library.
12685
12718
        hardcode_minus_L=yes
12693
12726
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12694
12727
          ;;
12695
12728
        ia64*)
12696
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
12729
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12697
12730
          ;;
12698
12731
        *)
12699
12732
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12718
12751
 
12719
12752
        case $host_cpu in
12720
12753
        hppa*64*|ia64*)
12721
 
          hardcode_libdir_flag_spec_ld='+b $libdir'
12722
12754
          hardcode_direct=no
12723
12755
          hardcode_shlibpath_var=no
12724
12756
          ;;
12725
12757
        *)
12726
12758
          hardcode_direct=yes
 
12759
          hardcode_direct_absolute=yes
12727
12760
          export_dynamic_flag_spec='${wl}-E'
12728
12761
 
12729
12762
          # hardcode_minus_L: Not really in the search PATH,
12736
12769
 
12737
12770
    irix5* | irix6* | nonstopux*)
12738
12771
      if test "$GCC" = yes; then
12739
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
12772
        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'
 
12773
        # Try to use the -exported_symbol ld option, if it does not
 
12774
        # work, assume that -exports_file does not work either and
 
12775
        # implicitly export all symbols.
 
12776
        save_LDFLAGS="$LDFLAGS"
 
12777
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
12778
        cat >conftest.$ac_ext <<_ACEOF
 
12779
int foo(void) {}
 
12780
_ACEOF
 
12781
rm -f conftest.$ac_objext conftest$ac_exeext
 
12782
if { (ac_try="$ac_link"
 
12783
case "(($ac_try" in
 
12784
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12785
  *) ac_try_echo=$ac_try;;
 
12786
esac
 
12787
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12788
$as_echo "$ac_try_echo") >&5
 
12789
  (eval "$ac_link") 2>conftest.er1
 
12790
  ac_status=$?
 
12791
  grep -v '^ *+' conftest.er1 >conftest.err
 
12792
  rm -f conftest.er1
 
12793
  cat conftest.err >&5
 
12794
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12795
  (exit $ac_status); } && {
 
12796
         test -z "$ac_c_werror_flag" ||
 
12797
         test ! -s conftest.err
 
12798
       } && test -s conftest$ac_exeext && {
 
12799
         test "$cross_compiling" = yes ||
 
12800
         $as_test_x conftest$ac_exeext
 
12801
       }; then
 
12802
  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'
 
12803
 
 
12804
else
 
12805
  $as_echo "$as_me: failed program was:" >&5
 
12806
sed 's/^/| /' conftest.$ac_ext >&5
 
12807
 
 
12808
 
 
12809
fi
 
12810
 
 
12811
rm -rf conftest.dSYM
 
12812
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
12813
      conftest$ac_exeext conftest.$ac_ext
 
12814
        LDFLAGS="$save_LDFLAGS"
12740
12815
      else
12741
 
        archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
12742
 
        hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
12816
        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'
 
12817
        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'
12743
12818
      fi
 
12819
      archive_cmds_need_lc='no'
12744
12820
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12745
12821
      hardcode_libdir_separator=:
 
12822
      inherit_rpath=yes
12746
12823
      link_all_deplibs=yes
12747
12824
      ;;
12748
12825
 
12749
12826
    netbsd*)
12750
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
12827
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12751
12828
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
12752
12829
      else
12753
12830
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
12765
12842
      hardcode_shlibpath_var=no
12766
12843
      ;;
12767
12844
 
 
12845
    *nto* | *qnx*)
 
12846
      ;;
 
12847
 
12768
12848
    openbsd*)
12769
12849
      if test -f /usr/libexec/ld.so; then
12770
12850
        hardcode_direct=yes
12771
12851
        hardcode_shlibpath_var=no
12772
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
12852
        hardcode_direct_absolute=yes
 
12853
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12773
12854
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12774
12855
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
12775
12856
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
12785
12866
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
12786
12867
             ;;
12787
12868
          esac
12788
 
        fi
 
12869
        fi
12789
12870
      else
12790
12871
        ld_shlibs=no
12791
12872
      fi
12795
12876
      hardcode_libdir_flag_spec='-L$libdir'
12796
12877
      hardcode_minus_L=yes
12797
12878
      allow_undefined_flag=unsupported
12798
 
      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'
12799
 
      old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
12879
      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'
 
12880
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12800
12881
      ;;
12801
12882
 
12802
12883
    osf3*)
12803
12884
      if test "$GCC" = yes; then
12804
12885
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
12805
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
12886
        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'
12806
12887
      else
12807
12888
        allow_undefined_flag=' -expect_unresolved \*'
12808
 
        archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
 
12889
        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'
12809
12890
      fi
 
12891
      archive_cmds_need_lc='no'
12810
12892
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12811
12893
      hardcode_libdir_separator=:
12812
12894
      ;;
12814
12896
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
12815
12897
      if test "$GCC" = yes; then
12816
12898
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
12817
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
12899
        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'
12818
12900
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12819
12901
      else
12820
12902
        allow_undefined_flag=' -expect_unresolved \*'
12821
 
        archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
12822
 
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
12823
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
 
12903
        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'
 
12904
        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~
 
12905
        $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'
12824
12906
 
12825
12907
        # Both c and cxx compiler support -rpath directly
12826
12908
        hardcode_libdir_flag_spec='-rpath $libdir'
12827
12909
      fi
 
12910
      archive_cmds_need_lc='no'
12828
12911
      hardcode_libdir_separator=:
12829
12912
      ;;
12830
12913
 
12831
12914
    solaris*)
12832
 
      no_undefined_flag=' -z text'
 
12915
      no_undefined_flag=' -z defs'
12833
12916
      if test "$GCC" = yes; then
12834
12917
        wlarc='${wl}'
12835
 
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12836
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12837
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
 
12918
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
12919
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
12920
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12838
12921
      else
12839
 
        wlarc=''
12840
 
        archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12841
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12842
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
 
12922
        case `$CC -V 2>&1` in
 
12923
        *"Compilers 5.0"*)
 
12924
          wlarc=''
 
12925
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
12926
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
12927
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 
12928
          ;;
 
12929
        *)
 
12930
          wlarc='${wl}'
 
12931
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
12932
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
12933
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
12934
          ;;
 
12935
        esac
12843
12936
      fi
12844
12937
      hardcode_libdir_flag_spec='-R$libdir'
12845
12938
      hardcode_shlibpath_var=no
12849
12942
        # The compiler driver will combine and reorder linker options,
12850
12943
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
12851
12944
        # but is careful enough not to reorder.
12852
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
12945
        # Supported since Solaris 2.6 (maybe 2.5.1?)
12853
12946
        if test "$GCC" = yes; then
12854
12947
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12855
12948
        else
12938
13031
      allow_undefined_flag='${wl}-z,nodefs'
12939
13032
      archive_cmds_need_lc=no
12940
13033
      hardcode_shlibpath_var=no
12941
 
      hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
13034
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
12942
13035
      hardcode_libdir_separator=':'
12943
13036
      link_all_deplibs=yes
12944
13037
      export_dynamic_flag_spec='${wl}-Bexport'
12945
13038
      runpath_var='LD_RUN_PATH'
12946
13039
 
12947
13040
      if test "$GCC" = yes; then
12948
 
        archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12949
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13041
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13042
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12950
13043
      else
12951
 
        archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12952
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13044
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
13045
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12953
13046
      fi
12954
13047
      ;;
12955
13048
 
12963
13056
      ld_shlibs=no
12964
13057
      ;;
12965
13058
    esac
 
13059
 
 
13060
    if test x$host_vendor = xsni; then
 
13061
      case $host in
 
13062
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
13063
        export_dynamic_flag_spec='${wl}-Blargedynsym'
 
13064
        ;;
 
13065
      esac
 
13066
    fi
12966
13067
  fi
12967
13068
 
12968
13069
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
12969
13070
$as_echo "$ld_shlibs" >&6; }
12970
13071
test "$ld_shlibs" = no && can_build_shared=no
12971
13072
 
 
13073
with_gnu_ld=$with_gnu_ld
 
13074
 
 
13075
 
 
13076
 
 
13077
 
 
13078
 
 
13079
 
 
13080
 
 
13081
 
 
13082
 
 
13083
 
 
13084
 
 
13085
 
 
13086
 
 
13087
 
 
13088
 
12972
13089
#
12973
13090
# Do we need to explicitly link libc?
12974
13091
#
12988
13105
      # to ld, don't add -lc before -lgcc.
12989
13106
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12990
13107
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
12991
 
      $rm conftest*
 
13108
      $RM conftest*
12992
13109
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12993
13110
 
12994
13111
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13009
13126
        libname=conftest
13010
13127
        lt_save_allow_undefined_flag=$allow_undefined_flag
13011
13128
        allow_undefined_flag=
13012
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13013
 
  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
13129
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
13130
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13014
13131
  ac_status=$?
13015
13132
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13016
13133
  (exit $ac_status); }
13023
13140
      else
13024
13141
        cat conftest.err 1>&5
13025
13142
      fi
13026
 
      $rm conftest*
 
13143
      $RM conftest*
13027
13144
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
13028
13145
$as_echo "$archive_cmds_need_lc" >&6; }
13029
13146
      ;;
13032
13149
  ;;
13033
13150
esac
13034
13151
 
13035
 
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
13152
 
 
13153
 
 
13154
 
 
13155
 
 
13156
 
 
13157
 
 
13158
 
 
13159
 
 
13160
 
 
13161
 
 
13162
 
 
13163
 
 
13164
 
 
13165
 
 
13166
 
 
13167
 
 
13168
 
 
13169
 
 
13170
 
 
13171
 
 
13172
 
 
13173
 
 
13174
 
 
13175
 
 
13176
 
 
13177
 
 
13178
 
 
13179
 
 
13180
 
 
13181
 
 
13182
 
 
13183
 
 
13184
 
 
13185
 
 
13186
 
 
13187
 
 
13188
 
 
13189
 
 
13190
 
 
13191
 
 
13192
 
 
13193
 
 
13194
 
 
13195
 
 
13196
 
 
13197
 
 
13198
 
 
13199
 
 
13200
 
 
13201
 
 
13202
 
 
13203
 
 
13204
 
 
13205
 
 
13206
 
 
13207
 
 
13208
 
 
13209
 
 
13210
 
 
13211
 
 
13212
 
 
13213
 
 
13214
 
 
13215
 
 
13216
 
 
13217
 
 
13218
 
 
13219
 
 
13220
 
 
13221
 
 
13222
 
 
13223
 
 
13224
 
 
13225
 
 
13226
 
 
13227
 
 
13228
 
 
13229
 
 
13230
 
 
13231
 
 
13232
 
 
13233
 
 
13234
 
 
13235
 
 
13236
 
 
13237
 
 
13238
 
 
13239
 
 
13240
 
 
13241
 
 
13242
 
 
13243
 
 
13244
 
 
13245
 
 
13246
 
 
13247
 
 
13248
 
 
13249
 
 
13250
 
 
13251
 
 
13252
 
 
13253
 
 
13254
 
 
13255
 
 
13256
 
 
13257
 
 
13258
 
 
13259
 
 
13260
 
 
13261
 
 
13262
 
 
13263
 
 
13264
 
 
13265
 
 
13266
 
 
13267
 
 
13268
 
 
13269
 
 
13270
 
 
13271
 
 
13272
 
 
13273
 
 
13274
 
 
13275
 
 
13276
 
 
13277
 
 
13278
 
 
13279
 
 
13280
 
 
13281
 
 
13282
 
 
13283
 
 
13284
 
 
13285
 
 
13286
 
 
13287
 
 
13288
 
 
13289
 
 
13290
 
 
13291
 
 
13292
 
 
13293
 
 
13294
 
 
13295
 
 
13296
 
 
13297
 
 
13298
 
 
13299
 
 
13300
 
 
13301
 
 
13302
 
 
13303
 
 
13304
 
 
13305
 
 
13306
 
 
13307
 
 
13308
  { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13036
13309
$as_echo_n "checking dynamic linker characteristics... " >&6; }
13037
 
library_names_spec=
13038
 
libname_spec='lib$name'
13039
 
soname_spec=
13040
 
shrext_cmds=".so"
13041
 
postinstall_cmds=
13042
 
postuninstall_cmds=
13043
 
finish_cmds=
13044
 
finish_eval=
13045
 
shlibpath_var=
13046
 
shlibpath_overrides_runpath=unknown
13047
 
version_type=none
13048
 
dynamic_linker="$host_os ld.so"
13049
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
13050
13310
 
13051
13311
if test "$GCC" = yes; then
13052
13312
  case $host_os in
13054
13314
    *) lt_awk_arg="/^libraries:/" ;;
13055
13315
  esac
13056
13316
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13057
 
  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
 
13317
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
13058
13318
    # if the path contains ";" then we assume it to be the separator
13059
13319
    # otherwise default to the standard path separator (i.e. ":") - it is
13060
13320
    # assumed that no part of a normal pathname contains ";" but that should
13061
13321
    # okay in the real world where ";" in dirpaths is itself problematic.
13062
 
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
 
13322
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
13063
13323
  else
13064
 
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
13324
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
13065
13325
  fi
13066
13326
  # Ok, now we have the path, separated by spaces, we can step through it
13067
13327
  # and add multilib dir if necessary.
13075
13335
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
13076
13336
    fi
13077
13337
  done
13078
 
  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
 
13338
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
13079
13339
BEGIN {RS=" "; FS="/|\n";} {
13080
13340
  lt_foo="";
13081
13341
  lt_count=0;
13095
13355
  if (lt_foo != "") { lt_freq[lt_foo]++; }
13096
13356
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
13097
13357
}'`
13098
 
  sys_lib_search_path_spec=`echo $lt_search_path_spec`
 
13358
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
13099
13359
else
13100
13360
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
13101
13361
fi
 
13362
library_names_spec=
 
13363
libname_spec='lib$name'
 
13364
soname_spec=
 
13365
shrext_cmds=".so"
 
13366
postinstall_cmds=
 
13367
postuninstall_cmds=
 
13368
finish_cmds=
 
13369
finish_eval=
 
13370
shlibpath_var=
 
13371
shlibpath_overrides_runpath=unknown
 
13372
version_type=none
 
13373
dynamic_linker="$host_os ld.so"
 
13374
sys_lib_dlsearch_path_spec="/lib /usr/lib"
13102
13375
need_lib_prefix=unknown
13103
13376
hardcode_into_libs=no
13104
13377
 
13135
13408
      aix4 | aix4.[01] | aix4.[01].*)
13136
13409
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13137
13410
           echo ' yes '
13138
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 
13411
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13139
13412
        :
13140
13413
      else
13141
13414
        can_build_shared=no
13161
13434
  ;;
13162
13435
 
13163
13436
amigaos*)
13164
 
  library_names_spec='$libname.ixlibrary $libname.a'
13165
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
13166
 
  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'
 
13437
  case $host_cpu in
 
13438
  powerpc)
 
13439
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
13440
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
13441
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
13442
    ;;
 
13443
  m68k)
 
13444
    library_names_spec='$libname.ixlibrary $libname.a'
 
13445
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
13446
    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'
 
13447
    ;;
 
13448
  esac
13167
13449
  ;;
13168
13450
 
13169
13451
beos*)
13186
13468
  # libtool to hard-code these into programs
13187
13469
  ;;
13188
13470
 
13189
 
cygwin* | mingw* | pw32*)
 
13471
cygwin* | mingw* | pw32* | cegcc*)
13190
13472
  version_type=windows
13191
13473
  shrext_cmds=".dll"
13192
13474
  need_version=no
13193
13475
  need_lib_prefix=no
13194
13476
 
13195
13477
  case $GCC,$host_os in
13196
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
 
13478
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
13197
13479
    library_names_spec='$libname.dll.a'
13198
13480
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
13199
13481
    postinstall_cmds='base_file=`basename \${file}`~
13200
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
 
13482
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13201
13483
      dldir=$destdir/`dirname \$dlpath`~
13202
13484
      test -d \$dldir || mkdir -p \$dldir~
13203
13485
      $install_prog $dir/$dlname \$dldir/$dlname~
13204
 
      chmod a+x \$dldir/$dlname'
 
13486
      chmod a+x \$dldir/$dlname~
 
13487
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
13488
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
13489
      fi'
13205
13490
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13206
13491
      dlpath=$dir/\$dldll~
13207
 
       $rm \$dlpath'
 
13492
       $RM \$dlpath'
13208
13493
    shlibpath_overrides_runpath=yes
13209
13494
 
13210
13495
    case $host_os in
13213
13498
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13214
13499
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13215
13500
      ;;
13216
 
    mingw*)
 
13501
    mingw* | cegcc*)
13217
13502
      # MinGW DLLs use traditional 'lib' prefix
13218
13503
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13219
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13220
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
 
13504
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
13505
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13221
13506
        # It is most probably a Windows format PATH printed by
13222
13507
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
13223
13508
        # path with ; separators, and with drive letters. We can handle the
13224
13509
        # drive letters (cygwin fileutils understands them), so leave them,
13225
13510
        # especially as we might pass files found there to a mingw objdump,
13226
13511
        # which wouldn't understand a cygwinified path. Ahh.
13227
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
13512
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13228
13513
      else
13229
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
13514
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
13230
13515
      fi
13231
13516
      ;;
13232
13517
    pw32*)
13250
13535
  version_type=darwin
13251
13536
  need_lib_prefix=no
13252
13537
  need_version=no
13253
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
13538
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13254
13539
  soname_spec='${libname}${release}${major}$shared_ext'
13255
13540
  shlibpath_overrides_runpath=yes
13256
13541
  shlibpath_var=DYLD_LIBRARY_PATH
13349
13634
    fi
13350
13635
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13351
13636
    ;;
13352
 
   hppa*64*)
13353
 
     shrext_cmds='.sl'
13354
 
     hardcode_into_libs=yes
13355
 
     dynamic_linker="$host_os dld.sl"
13356
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13357
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13358
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13359
 
     soname_spec='${libname}${release}${shared_ext}$major'
13360
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13361
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13362
 
     ;;
13363
 
   *)
 
13637
  hppa*64*)
 
13638
    shrext_cmds='.sl'
 
13639
    hardcode_into_libs=yes
 
13640
    dynamic_linker="$host_os dld.sl"
 
13641
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
13642
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
13643
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
13644
    soname_spec='${libname}${release}${shared_ext}$major'
 
13645
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
13646
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
13647
    ;;
 
13648
  *)
13364
13649
    shrext_cmds='.sl'
13365
13650
    dynamic_linker="$host_os dld.sl"
13366
13651
    shlibpath_var=SHLIB_PATH
13437
13722
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13438
13723
  shlibpath_var=LD_LIBRARY_PATH
13439
13724
  shlibpath_overrides_runpath=no
 
13725
  # Some binutils ld are patched to set DT_RUNPATH
 
13726
  save_LDFLAGS=$LDFLAGS
 
13727
  save_libdir=$libdir
 
13728
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
13729
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
13730
  cat >conftest.$ac_ext <<_ACEOF
 
13731
/* confdefs.h.  */
 
13732
_ACEOF
 
13733
cat confdefs.h >>conftest.$ac_ext
 
13734
cat >>conftest.$ac_ext <<_ACEOF
 
13735
/* end confdefs.h.  */
 
13736
 
 
13737
int
 
13738
main ()
 
13739
{
 
13740
 
 
13741
  ;
 
13742
  return 0;
 
13743
}
 
13744
_ACEOF
 
13745
rm -f conftest.$ac_objext conftest$ac_exeext
 
13746
if { (ac_try="$ac_link"
 
13747
case "(($ac_try" in
 
13748
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13749
  *) ac_try_echo=$ac_try;;
 
13750
esac
 
13751
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13752
$as_echo "$ac_try_echo") >&5
 
13753
  (eval "$ac_link") 2>conftest.er1
 
13754
  ac_status=$?
 
13755
  grep -v '^ *+' conftest.er1 >conftest.err
 
13756
  rm -f conftest.er1
 
13757
  cat conftest.err >&5
 
13758
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13759
  (exit $ac_status); } && {
 
13760
         test -z "$ac_c_werror_flag" ||
 
13761
         test ! -s conftest.err
 
13762
       } && test -s conftest$ac_exeext && {
 
13763
         test "$cross_compiling" = yes ||
 
13764
         $as_test_x conftest$ac_exeext
 
13765
       }; then
 
13766
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
 
13767
  shlibpath_overrides_runpath=yes
 
13768
fi
 
13769
 
 
13770
else
 
13771
  $as_echo "$as_me: failed program was:" >&5
 
13772
sed 's/^/| /' conftest.$ac_ext >&5
 
13773
 
 
13774
 
 
13775
fi
 
13776
 
 
13777
rm -rf conftest.dSYM
 
13778
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
13779
      conftest$ac_exeext conftest.$ac_ext
 
13780
  LDFLAGS=$save_LDFLAGS
 
13781
  libdir=$save_libdir
 
13782
 
13440
13783
  # This implies no fast_install, which is unacceptable.
13441
13784
  # Some rework will be needed to allow for fast_install
13442
13785
  # before this can be enabled.
13443
13786
  hardcode_into_libs=yes
13444
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13445
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 
13787
 
 
13788
  # Add ABI-specific directories to the system library path.
 
13789
  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
13446
13790
 
13447
13791
  # Append ld.so.conf contents to the search path
13448
13792
  if test -f /etc/ld.so.conf; then
13449
 
    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' ' '`
 
13793
    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' ' '`
13450
13794
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
13451
13795
  fi
13452
13796
 
13463
13807
  version_type=sunos
13464
13808
  need_lib_prefix=no
13465
13809
  need_version=no
13466
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
13810
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13467
13811
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13468
13812
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13469
13813
    dynamic_linker='NetBSD (a.out) ld.so'
13484
13828
  shlibpath_overrides_runpath=yes
13485
13829
  ;;
13486
13830
 
13487
 
nto-qnx*)
13488
 
  version_type=linux
 
13831
*nto* | *qnx*)
 
13832
  version_type=qnx
13489
13833
  need_lib_prefix=no
13490
13834
  need_version=no
13491
13835
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13492
13836
  soname_spec='${libname}${release}${shared_ext}$major'
13493
13837
  shlibpath_var=LD_LIBRARY_PATH
13494
 
  shlibpath_overrides_runpath=yes
 
13838
  shlibpath_overrides_runpath=no
 
13839
  hardcode_into_libs=yes
 
13840
  dynamic_linker='ldqnx.so'
13495
13841
  ;;
13496
13842
 
13497
13843
openbsd*)
13500
13846
  need_lib_prefix=no
13501
13847
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13502
13848
  case $host_os in
13503
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13504
 
    *)                         need_version=no  ;;
 
13849
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
13850
    *)                          need_version=no  ;;
13505
13851
  esac
13506
13852
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13507
13853
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13508
13854
  shlibpath_var=LD_LIBRARY_PATH
13509
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
13855
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13510
13856
    case $host_os in
13511
13857
      openbsd2.[89] | openbsd2.[89].*)
13512
13858
        shlibpath_overrides_runpath=no
13578
13924
    sni)
13579
13925
      shlibpath_overrides_runpath=no
13580
13926
      need_lib_prefix=no
13581
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
13582
13927
      runpath_var=LD_RUN_PATH
13583
13928
      ;;
13584
13929
    siemens)
13609
13954
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13610
13955
  soname_spec='${libname}${release}${shared_ext}$major'
13611
13956
  shlibpath_var=LD_LIBRARY_PATH
 
13957
  shlibpath_overrides_runpath=yes
13612
13958
  hardcode_into_libs=yes
13613
13959
  if test "$with_gnu_ld" = yes; then
13614
13960
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13615
 
    shlibpath_overrides_runpath=no
13616
13961
  else
13617
13962
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13618
 
    shlibpath_overrides_runpath=yes
13619
13963
    case $host_os in
13620
13964
      sco3.2v5*)
13621
13965
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13625
13969
  sys_lib_dlsearch_path_spec='/usr/lib'
13626
13970
  ;;
13627
13971
 
 
13972
tpf*)
 
13973
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
13974
  version_type=linux
 
13975
  need_lib_prefix=no
 
13976
  need_version=no
 
13977
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
13978
  shlibpath_var=LD_LIBRARY_PATH
 
13979
  shlibpath_overrides_runpath=no
 
13980
  hardcode_into_libs=yes
 
13981
  ;;
 
13982
 
13628
13983
uts4*)
13629
13984
  version_type=linux
13630
13985
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13640
13995
$as_echo "$dynamic_linker" >&6; }
13641
13996
test "$dynamic_linker" = no && can_build_shared=no
13642
13997
 
13643
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
13644
 
  $as_echo_n "(cached) " >&6
13645
 
else
13646
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
13647
 
fi
13648
 
 
13649
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
13650
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
13651
 
  $as_echo_n "(cached) " >&6
13652
 
else
13653
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
13654
 
fi
13655
 
 
13656
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
13657
 
 
13658
13998
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13659
13999
if test "$GCC" = yes; then
13660
14000
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13661
14001
fi
13662
14002
 
13663
 
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
14003
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
14004
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
14005
fi
 
14006
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
14007
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
14008
fi
 
14009
 
 
14010
 
 
14011
 
 
14012
 
 
14013
 
 
14014
 
 
14015
 
 
14016
 
 
14017
 
 
14018
 
 
14019
 
 
14020
 
 
14021
 
 
14022
 
 
14023
 
 
14024
 
 
14025
 
 
14026
 
 
14027
 
 
14028
 
 
14029
 
 
14030
 
 
14031
 
 
14032
 
 
14033
 
 
14034
 
 
14035
 
 
14036
 
 
14037
 
 
14038
 
 
14039
 
 
14040
 
 
14041
 
 
14042
 
 
14043
 
 
14044
 
 
14045
 
 
14046
 
 
14047
 
 
14048
 
 
14049
 
 
14050
 
 
14051
 
 
14052
 
 
14053
 
 
14054
 
 
14055
 
 
14056
 
 
14057
 
 
14058
 
 
14059
 
 
14060
 
 
14061
 
 
14062
 
 
14063
 
 
14064
 
 
14065
 
 
14066
 
 
14067
 
 
14068
 
 
14069
 
 
14070
 
 
14071
 
 
14072
 
 
14073
 
 
14074
 
 
14075
 
 
14076
 
 
14077
 
 
14078
 
 
14079
 
 
14080
 
 
14081
 
 
14082
 
 
14083
 
 
14084
 
 
14085
 
 
14086
 
 
14087
 
 
14088
 
 
14089
 
 
14090
 
 
14091
 
 
14092
 
 
14093
 
 
14094
 
 
14095
 
 
14096
  { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13664
14097
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13665
14098
hardcode_action=
13666
 
if test -n "$hardcode_libdir_flag_spec" || \
13667
 
   test -n "$runpath_var" || \
 
14099
if test -n "$hardcode_libdir_flag_spec" ||
 
14100
   test -n "$runpath_var" ||
13668
14101
   test "X$hardcode_automatic" = "Xyes" ; then
13669
14102
 
13670
 
  # We can hardcode non-existant directories.
 
14103
  # We can hardcode non-existent directories.
13671
14104
  if test "$hardcode_direct" != no &&
13672
14105
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
13673
14106
     # have to relink, otherwise we might link with an installed library
13674
14107
     # when we should be linking with a yet-to-be-installed one
13675
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
 
14108
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
13676
14109
     test "$hardcode_minus_L" != no; then
13677
14110
    # Linking always hardcodes the temporary library directory.
13678
14111
    hardcode_action=relink
13688
14121
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
13689
14122
$as_echo "$hardcode_action" >&6; }
13690
14123
 
13691
 
if test "$hardcode_action" = relink; then
 
14124
if test "$hardcode_action" = relink ||
 
14125
   test "$inherit_rpath" = yes; then
13692
14126
  # Fast installation is not supported
13693
14127
  enable_fast_install=no
13694
14128
elif test "$shlibpath_overrides_runpath" = yes ||
13697
14131
  enable_fast_install=needless
13698
14132
fi
13699
14133
 
13700
 
striplib=
13701
 
old_striplib=
13702
 
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
13703
 
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
13704
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
13705
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13706
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13707
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
13708
 
$as_echo "yes" >&6; }
13709
 
else
13710
 
# FIXME - insert some real tests, host_os isn't really good enough
13711
 
  case $host_os in
13712
 
   darwin*)
13713
 
       if test -n "$STRIP" ; then
13714
 
         striplib="$STRIP -x"
13715
 
         old_striplib="$STRIP -S"
13716
 
         { $as_echo "$as_me:$LINENO: result: yes" >&5
13717
 
$as_echo "yes" >&6; }
13718
 
       else
13719
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
13720
 
$as_echo "no" >&6; }
13721
 
fi
13722
 
       ;;
13723
 
   *)
13724
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
13725
 
$as_echo "no" >&6; }
13726
 
    ;;
13727
 
  esac
13728
 
fi
13729
 
 
13730
 
if test "x$enable_dlopen" != xyes; then
 
14134
 
 
14135
 
 
14136
 
 
14137
 
 
14138
 
 
14139
  if test "x$enable_dlopen" != xyes; then
13731
14140
  enable_dlopen=unknown
13732
14141
  enable_dlopen_self=unknown
13733
14142
  enable_dlopen_self_static=unknown
13742
14151
    lt_cv_dlopen_self=yes
13743
14152
    ;;
13744
14153
 
13745
 
  mingw* | pw32*)
 
14154
  mingw* | pw32* | cegcc*)
13746
14155
    lt_cv_dlopen="LoadLibrary"
13747
14156
    lt_cv_dlopen_libs=
13748
 
   ;;
 
14157
    ;;
13749
14158
 
13750
14159
  cygwin*)
13751
14160
    lt_cv_dlopen="dlopen"
13752
14161
    lt_cv_dlopen_libs=
13753
 
   ;;
 
14162
    ;;
13754
14163
 
13755
14164
  darwin*)
13756
14165
  # if libdl is installed we need to link against it
13829
14238
 
13830
14239
fi
13831
14240
 
13832
 
   ;;
 
14241
    ;;
13833
14242
 
13834
14243
  *)
13835
14244
    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
14326
14735
else
14327
14736
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14328
14737
  lt_status=$lt_dlunknown
14329
 
  cat > conftest.$ac_ext <<EOF
14330
 
#line 14330 "configure"
 
14738
  cat > conftest.$ac_ext <<_LT_EOF
 
14739
#line 14739 "configure"
14331
14740
#include "confdefs.h"
14332
14741
 
14333
14742
#if HAVE_DLFCN_H
14368
14777
#  endif
14369
14778
#endif
14370
14779
 
14371
 
#ifdef __cplusplus
14372
 
extern "C" void exit (int);
14373
 
#endif
14374
 
 
14375
14780
void fnord() { int i=42;}
14376
14781
int main ()
14377
14782
{
14387
14792
  else
14388
14793
    puts (dlerror ());
14389
14794
 
14390
 
    exit (status);
 
14795
  return status;
14391
14796
}
14392
 
EOF
 
14797
_LT_EOF
14393
14798
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14394
14799
  (eval $ac_link) 2>&5
14395
14800
  ac_status=$?
14426
14831
else
14427
14832
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14428
14833
  lt_status=$lt_dlunknown
14429
 
  cat > conftest.$ac_ext <<EOF
14430
 
#line 14430 "configure"
 
14834
  cat > conftest.$ac_ext <<_LT_EOF
 
14835
#line 14835 "configure"
14431
14836
#include "confdefs.h"
14432
14837
 
14433
14838
#if HAVE_DLFCN_H
14468
14873
#  endif
14469
14874
#endif
14470
14875
 
14471
 
#ifdef __cplusplus
14472
 
extern "C" void exit (int);
14473
 
#endif
14474
 
 
14475
14876
void fnord() { int i=42;}
14476
14877
int main ()
14477
14878
{
14487
14888
  else
14488
14889
    puts (dlerror ());
14489
14890
 
14490
 
    exit (status);
 
14891
  return status;
14491
14892
}
14492
 
EOF
 
14893
_LT_EOF
14493
14894
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14494
14895
  (eval $ac_link) 2>&5
14495
14896
  ac_status=$?
14533
14934
fi
14534
14935
 
14535
14936
 
14536
 
# Report which library types will actually be built
14537
 
{ $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14538
 
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
14539
 
{ $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
14540
 
$as_echo "$can_build_shared" >&6; }
14541
 
 
14542
 
{ $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14543
 
$as_echo_n "checking whether to build shared libraries... " >&6; }
14544
 
test "$can_build_shared" = "no" && enable_shared=no
14545
 
 
14546
 
# On AIX, shared libraries and static libraries use the same namespace, and
14547
 
# are all built from PIC.
14548
 
case $host_os in
14549
 
aix3*)
14550
 
  test "$enable_shared" = yes && enable_static=no
14551
 
  if test -n "$RANLIB"; then
14552
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
14553
 
    postinstall_cmds='$RANLIB $lib'
14554
 
  fi
14555
 
  ;;
14556
 
 
14557
 
aix[4-9]*)
14558
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
14559
 
    test "$enable_shared" = yes && enable_static=no
14560
 
  fi
14561
 
    ;;
14562
 
esac
14563
 
{ $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
14564
 
$as_echo "$enable_shared" >&6; }
14565
 
 
14566
 
{ $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14567
 
$as_echo_n "checking whether to build static libraries... " >&6; }
14568
 
# Make sure either enable_shared or enable_static is yes.
14569
 
test "$enable_shared" = yes || enable_static=yes
14570
 
{ $as_echo "$as_me:$LINENO: result: $enable_static" >&5
14571
 
$as_echo "$enable_static" >&6; }
14572
 
 
14573
 
# The else clause should only fire when bootstrapping the
14574
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
14575
 
# with your package, and you will get complaints that there are
14576
 
# no rules to generate ltmain.sh.
14577
 
if test -f "$ltmain"; then
14578
 
  # See if we are running on zsh, and set the options which allow our commands through
14579
 
  # without removal of \ escapes.
14580
 
  if test -n "${ZSH_VERSION+set}" ; then
14581
 
    setopt NO_GLOB_SUBST
14582
 
  fi
14583
 
  # Now quote all the things that may contain metacharacters while being
14584
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
14585
 
  # variables and quote the copies for generation of the libtool script.
14586
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
14587
 
    SED SHELL STRIP \
14588
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14589
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14590
 
    deplibs_check_method reload_flag reload_cmds need_locks \
14591
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14592
 
    lt_cv_sys_global_symbol_to_c_name_address \
14593
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14594
 
    old_postinstall_cmds old_postuninstall_cmds \
14595
 
    compiler \
14596
 
    CC \
14597
 
    LD \
14598
 
    lt_prog_compiler_wl \
14599
 
    lt_prog_compiler_pic \
14600
 
    lt_prog_compiler_static \
14601
 
    lt_prog_compiler_no_builtin_flag \
14602
 
    export_dynamic_flag_spec \
14603
 
    thread_safe_flag_spec \
14604
 
    whole_archive_flag_spec \
14605
 
    enable_shared_with_static_runtimes \
14606
 
    old_archive_cmds \
14607
 
    old_archive_from_new_cmds \
14608
 
    predep_objects \
14609
 
    postdep_objects \
14610
 
    predeps \
14611
 
    postdeps \
14612
 
    compiler_lib_search_path \
14613
 
    compiler_lib_search_dirs \
14614
 
    archive_cmds \
14615
 
    archive_expsym_cmds \
14616
 
    postinstall_cmds \
14617
 
    postuninstall_cmds \
14618
 
    old_archive_from_expsyms_cmds \
14619
 
    allow_undefined_flag \
14620
 
    no_undefined_flag \
14621
 
    export_symbols_cmds \
14622
 
    hardcode_libdir_flag_spec \
14623
 
    hardcode_libdir_flag_spec_ld \
14624
 
    hardcode_libdir_separator \
14625
 
    hardcode_automatic \
14626
 
    module_cmds \
14627
 
    module_expsym_cmds \
14628
 
    lt_cv_prog_compiler_c_o \
14629
 
    fix_srcfile_path \
14630
 
    exclude_expsyms \
14631
 
    include_expsyms; do
14632
 
 
14633
 
    case $var in
14634
 
    old_archive_cmds | \
14635
 
    old_archive_from_new_cmds | \
14636
 
    archive_cmds | \
14637
 
    archive_expsym_cmds | \
14638
 
    module_cmds | \
14639
 
    module_expsym_cmds | \
14640
 
    old_archive_from_expsyms_cmds | \
14641
 
    export_symbols_cmds | \
14642
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
14643
 
    postinstall_cmds | postuninstall_cmds | \
14644
 
    old_postinstall_cmds | old_postuninstall_cmds | \
14645
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
14646
 
      # Double-quote double-evaled strings.
14647
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14648
 
      ;;
14649
 
    *)
14650
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14651
 
      ;;
14652
 
    esac
14653
 
  done
14654
 
 
14655
 
  case $lt_echo in
14656
 
  *'\$0 --fallback-echo"')
14657
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14658
 
    ;;
14659
 
  esac
14660
 
 
14661
 
cfgfile="${ofile}T"
14662
 
  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
14663
 
  $rm -f "$cfgfile"
14664
 
  { $as_echo "$as_me:$LINENO: creating $ofile" >&5
14665
 
$as_echo "$as_me: creating $ofile" >&6;}
14666
 
 
14667
 
  cat <<__EOF__ >> "$cfgfile"
14668
 
#! $SHELL
14669
 
 
14670
 
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14671
 
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
14672
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
14673
 
#
14674
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
14675
 
# Free Software Foundation, Inc.
14676
 
#
14677
 
# This file is part of GNU Libtool:
14678
 
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
14679
 
#
14680
 
# This program is free software; you can redistribute it and/or modify
14681
 
# it under the terms of the GNU General Public License as published by
14682
 
# the Free Software Foundation; either version 2 of the License, or
14683
 
# (at your option) any later version.
14684
 
#
14685
 
# This program is distributed in the hope that it will be useful, but
14686
 
# WITHOUT ANY WARRANTY; without even the implied warranty of
14687
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14688
 
# General Public License for more details.
14689
 
#
14690
 
# You should have received a copy of the GNU General Public License
14691
 
# along with this program; if not, write to the Free Software
14692
 
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14693
 
#
14694
 
# As a special exception to the GNU General Public License, if you
14695
 
# distribute this file as part of a program that contains a
14696
 
# configuration script generated by Autoconf, you may include it under
14697
 
# the same distribution terms that you use for the rest of that program.
14698
 
 
14699
 
# A sed program that does not truncate output.
14700
 
SED=$lt_SED
14701
 
 
14702
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
14703
 
Xsed="$SED -e 1s/^X//"
14704
 
 
14705
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
14706
 
# if CDPATH is set.
14707
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14708
 
 
14709
 
# The names of the tagged configurations supported by this script.
14710
 
available_tags=
14711
 
 
14712
 
# ### BEGIN LIBTOOL CONFIG
14713
 
 
14714
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14715
 
 
14716
 
# Shell to use when invoking shell scripts.
14717
 
SHELL=$lt_SHELL
14718
 
 
14719
 
# Whether or not to build shared libraries.
14720
 
build_libtool_libs=$enable_shared
14721
 
 
14722
 
# Whether or not to build static libraries.
14723
 
build_old_libs=$enable_static
14724
 
 
14725
 
# Whether or not to add -lc for building shared libraries.
14726
 
build_libtool_need_lc=$archive_cmds_need_lc
14727
 
 
14728
 
# Whether or not to disallow shared libs when runtime libs are static
14729
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14730
 
 
14731
 
# Whether or not to optimize for fast installation.
14732
 
fast_install=$enable_fast_install
14733
 
 
14734
 
# The host system.
14735
 
host_alias=$host_alias
14736
 
host=$host
14737
 
host_os=$host_os
14738
 
 
14739
 
# The build system.
14740
 
build_alias=$build_alias
14741
 
build=$build
14742
 
build_os=$build_os
14743
 
 
14744
 
# An echo program that does not interpret backslashes.
14745
 
echo=$lt_echo
14746
 
 
14747
 
# The archiver.
14748
 
AR=$lt_AR
14749
 
AR_FLAGS=$lt_AR_FLAGS
14750
 
 
14751
 
# A C compiler.
14752
 
LTCC=$lt_LTCC
14753
 
 
14754
 
# LTCC compiler flags.
14755
 
LTCFLAGS=$lt_LTCFLAGS
14756
 
 
14757
 
# A language-specific compiler.
14758
 
CC=$lt_compiler
14759
 
 
14760
 
# Is the compiler the GNU C compiler?
14761
 
with_gcc=$GCC
14762
 
 
14763
 
# An ERE matcher.
14764
 
EGREP=$lt_EGREP
14765
 
 
14766
 
# The linker used to build libraries.
14767
 
LD=$lt_LD
14768
 
 
14769
 
# Whether we need hard or soft links.
14770
 
LN_S=$lt_LN_S
14771
 
 
14772
 
# A BSD-compatible nm program.
14773
 
NM=$lt_NM
14774
 
 
14775
 
# A symbol stripping program
14776
 
STRIP=$lt_STRIP
14777
 
 
14778
 
# Used to examine libraries when file_magic_cmd begins "file"
14779
 
MAGIC_CMD=$MAGIC_CMD
14780
 
 
14781
 
# Used on cygwin: DLL creation program.
14782
 
DLLTOOL="$DLLTOOL"
14783
 
 
14784
 
# Used on cygwin: object dumper.
14785
 
OBJDUMP="$OBJDUMP"
14786
 
 
14787
 
# Used on cygwin: assembler.
14788
 
AS="$AS"
14789
 
 
14790
 
# The name of the directory that contains temporary libtool files.
14791
 
objdir=$objdir
14792
 
 
14793
 
# How to create reloadable object files.
14794
 
reload_flag=$lt_reload_flag
14795
 
reload_cmds=$lt_reload_cmds
14796
 
 
14797
 
# How to pass a linker flag through the compiler.
14798
 
wl=$lt_lt_prog_compiler_wl
14799
 
 
14800
 
# Object file suffix (normally "o").
14801
 
objext="$ac_objext"
14802
 
 
14803
 
# Old archive suffix (normally "a").
14804
 
libext="$libext"
14805
 
 
14806
 
# Shared library suffix (normally ".so").
14807
 
shrext_cmds='$shrext_cmds'
14808
 
 
14809
 
# Executable file suffix (normally "").
14810
 
exeext="$exeext"
14811
 
 
14812
 
# Additional compiler flags for building library objects.
14813
 
pic_flag=$lt_lt_prog_compiler_pic
14814
 
pic_mode=$pic_mode
14815
 
 
14816
 
# What is the maximum length of a command?
14817
 
max_cmd_len=$lt_cv_sys_max_cmd_len
14818
 
 
14819
 
# Does compiler simultaneously support -c and -o options?
14820
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14821
 
 
14822
 
# Must we lock files when doing compilation?
14823
 
need_locks=$lt_need_locks
14824
 
 
14825
 
# Do we need the lib prefix for modules?
14826
 
need_lib_prefix=$need_lib_prefix
14827
 
 
14828
 
# Do we need a version for libraries?
14829
 
need_version=$need_version
14830
 
 
14831
 
# Whether dlopen is supported.
14832
 
dlopen_support=$enable_dlopen
14833
 
 
14834
 
# Whether dlopen of programs is supported.
14835
 
dlopen_self=$enable_dlopen_self
14836
 
 
14837
 
# Whether dlopen of statically linked programs is supported.
14838
 
dlopen_self_static=$enable_dlopen_self_static
14839
 
 
14840
 
# Compiler flag to prevent dynamic linking.
14841
 
link_static_flag=$lt_lt_prog_compiler_static
14842
 
 
14843
 
# Compiler flag to turn off builtin functions.
14844
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14845
 
 
14846
 
# Compiler flag to allow reflexive dlopens.
14847
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14848
 
 
14849
 
# Compiler flag to generate shared objects directly from archives.
14850
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
14851
 
 
14852
 
# Compiler flag to generate thread-safe objects.
14853
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec
14854
 
 
14855
 
# Library versioning type.
14856
 
version_type=$version_type
14857
 
 
14858
 
# Format of library name prefix.
14859
 
libname_spec=$lt_libname_spec
14860
 
 
14861
 
# List of archive names.  First name is the real one, the rest are links.
14862
 
# The last name is the one that the linker finds with -lNAME.
14863
 
library_names_spec=$lt_library_names_spec
14864
 
 
14865
 
# The coded name of the library, if different from the real name.
14866
 
soname_spec=$lt_soname_spec
14867
 
 
14868
 
# Commands used to build and install an old-style archive.
14869
 
RANLIB=$lt_RANLIB
14870
 
old_archive_cmds=$lt_old_archive_cmds
14871
 
old_postinstall_cmds=$lt_old_postinstall_cmds
14872
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
14873
 
 
14874
 
# Create an old-style archive from a shared archive.
14875
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14876
 
 
14877
 
# Create a temporary old-style archive to link instead of a shared archive.
14878
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14879
 
 
14880
 
# Commands used to build and install a shared archive.
14881
 
archive_cmds=$lt_archive_cmds
14882
 
archive_expsym_cmds=$lt_archive_expsym_cmds
14883
 
postinstall_cmds=$lt_postinstall_cmds
14884
 
postuninstall_cmds=$lt_postuninstall_cmds
14885
 
 
14886
 
# Commands used to build a loadable module (assumed same as above if empty)
14887
 
module_cmds=$lt_module_cmds
14888
 
module_expsym_cmds=$lt_module_expsym_cmds
14889
 
 
14890
 
# Commands to strip libraries.
14891
 
old_striplib=$lt_old_striplib
14892
 
striplib=$lt_striplib
14893
 
 
14894
 
# Dependencies to place before the objects being linked to create a
14895
 
# shared library.
14896
 
predep_objects=$lt_predep_objects
14897
 
 
14898
 
# Dependencies to place after the objects being linked to create a
14899
 
# shared library.
14900
 
postdep_objects=$lt_postdep_objects
14901
 
 
14902
 
# Dependencies to place before the objects being linked to create a
14903
 
# shared library.
14904
 
predeps=$lt_predeps
14905
 
 
14906
 
# Dependencies to place after the objects being linked to create a
14907
 
# shared library.
14908
 
postdeps=$lt_postdeps
14909
 
 
14910
 
# The directories searched by this compiler when creating a shared
14911
 
# library
14912
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
14913
 
 
14914
 
# The library search path used internally by the compiler when linking
14915
 
# a shared library.
14916
 
compiler_lib_search_path=$lt_compiler_lib_search_path
14917
 
 
14918
 
# Method to check whether dependent libraries are shared objects.
14919
 
deplibs_check_method=$lt_deplibs_check_method
14920
 
 
14921
 
# Command to use when deplibs_check_method == file_magic.
14922
 
file_magic_cmd=$lt_file_magic_cmd
14923
 
 
14924
 
# Flag that allows shared libraries with undefined symbols to be built.
14925
 
allow_undefined_flag=$lt_allow_undefined_flag
14926
 
 
14927
 
# Flag that forces no undefined symbols.
14928
 
no_undefined_flag=$lt_no_undefined_flag
14929
 
 
14930
 
# Commands used to finish a libtool library installation in a directory.
14931
 
finish_cmds=$lt_finish_cmds
14932
 
 
14933
 
# Same as above, but a single script fragment to be evaled but not shown.
14934
 
finish_eval=$lt_finish_eval
14935
 
 
14936
 
# Take the output of nm and produce a listing of raw symbols and C names.
14937
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14938
 
 
14939
 
# Transform the output of nm in a proper C declaration
14940
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14941
 
 
14942
 
# Transform the output of nm in a C name address pair
14943
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14944
 
 
14945
 
# This is the shared library runtime path variable.
14946
 
runpath_var=$runpath_var
14947
 
 
14948
 
# This is the shared library path variable.
14949
 
shlibpath_var=$shlibpath_var
14950
 
 
14951
 
# Is shlibpath searched before the hard-coded library search path?
14952
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14953
 
 
14954
 
# How to hardcode a shared library path into an executable.
14955
 
hardcode_action=$hardcode_action
14956
 
 
14957
 
# Whether we should hardcode library paths into libraries.
14958
 
hardcode_into_libs=$hardcode_into_libs
14959
 
 
14960
 
# Flag to hardcode \$libdir into a binary during linking.
14961
 
# This must work even if \$libdir does not exist.
14962
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14963
 
 
14964
 
# If ld is used when linking, flag to hardcode \$libdir into
14965
 
# a binary during linking. This must work even if \$libdir does
14966
 
# not exist.
14967
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14968
 
 
14969
 
# Whether we need a single -rpath flag with a separated argument.
14970
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
14971
 
 
14972
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14973
 
# resulting binary.
14974
 
hardcode_direct=$hardcode_direct
14975
 
 
14976
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14977
 
# resulting binary.
14978
 
hardcode_minus_L=$hardcode_minus_L
14979
 
 
14980
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14981
 
# the resulting binary.
14982
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
14983
 
 
14984
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
14985
 
# and all subsequent libraries and executables linked against it.
14986
 
hardcode_automatic=$hardcode_automatic
14987
 
 
14988
 
# Variables whose values should be saved in libtool wrapper scripts and
14989
 
# restored at relink time.
14990
 
variables_saved_for_relink="$variables_saved_for_relink"
14991
 
 
14992
 
# Whether libtool must link a program against all its dependency libraries.
14993
 
link_all_deplibs=$link_all_deplibs
14994
 
 
14995
 
# Compile-time system search path for libraries
14996
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14997
 
 
14998
 
# Run-time system search path for libraries
14999
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15000
 
 
15001
 
# Fix the shell variable \$srcfile for the compiler.
15002
 
fix_srcfile_path=$lt_fix_srcfile_path
15003
 
 
15004
 
# Set to yes if exported symbols are required.
15005
 
always_export_symbols=$always_export_symbols
15006
 
 
15007
 
# The commands to list exported symbols.
15008
 
export_symbols_cmds=$lt_export_symbols_cmds
15009
 
 
15010
 
# The commands to extract the exported symbol list from a shared archive.
15011
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
15012
 
 
15013
 
# Symbols that should not be listed in the preloaded symbols.
15014
 
exclude_expsyms=$lt_exclude_expsyms
15015
 
 
15016
 
# Symbols that must always be exported.
15017
 
include_expsyms=$lt_include_expsyms
15018
 
 
15019
 
# ### END LIBTOOL CONFIG
15020
 
 
15021
 
__EOF__
15022
 
 
15023
 
 
15024
 
  case $host_os in
15025
 
  aix3*)
15026
 
    cat <<\EOF >> "$cfgfile"
15027
 
 
15028
 
# AIX sometimes has problems with the GCC collect2 program.  For some
15029
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
15030
 
# vanish in a puff of smoke.
15031
 
if test "X${COLLECT_NAMES+set}" != Xset; then
15032
 
  COLLECT_NAMES=
15033
 
  export COLLECT_NAMES
15034
 
fi
15035
 
EOF
15036
 
    ;;
15037
 
  esac
15038
 
 
15039
 
  # We use sed instead of cat because bash on DJGPP gets confused if
15040
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
15041
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
15042
 
  # is reportedly fixed, but why not run on old versions too?
15043
 
  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
15044
 
 
15045
 
  mv -f "$cfgfile" "$ofile" || \
15046
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15047
 
  chmod +x "$ofile"
15048
 
 
15049
 
else
15050
 
  # If there is no Makefile yet, we rely on a make rule to execute
15051
 
  # `config.status --recheck' to rerun these tests and create the
15052
 
  # libtool script then.
15053
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
15054
 
  if test -f "$ltmain_in"; then
15055
 
    test -f Makefile && make "$ltmain"
15056
 
  fi
15057
 
fi
15058
 
 
15059
 
 
15060
 
ac_ext=c
15061
 
ac_cpp='$CPP $CPPFLAGS'
15062
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15063
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15064
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
15065
 
 
15066
 
CC="$lt_save_CC"
15067
 
 
15068
 
 
15069
 
# Check whether --with-tags was given.
15070
 
if test "${with_tags+set}" = set; then
15071
 
  withval=$with_tags; tagnames="$withval"
15072
 
fi
15073
 
 
15074
 
 
15075
 
if test -f "$ltmain" && test -n "$tagnames"; then
15076
 
  if test ! -f "${ofile}"; then
15077
 
    { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
15078
 
$as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
15079
 
  fi
15080
 
 
15081
 
  if test -z "$LTCC"; then
15082
 
    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
15083
 
    if test -z "$LTCC"; then
15084
 
      { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
15085
 
$as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
15086
 
    else
15087
 
      { $as_echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
15088
 
$as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
15089
 
    fi
15090
 
  fi
15091
 
  if test -z "$LTCFLAGS"; then
15092
 
    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
15093
 
  fi
15094
 
 
15095
 
  # Extract list of available tagged configurations in $ofile.
15096
 
  # Note that this assumes the entire list is on one line.
15097
 
  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
15098
 
 
15099
 
  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
15100
 
  for tagname in $tagnames; do
15101
 
    IFS="$lt_save_ifs"
15102
 
    # Check whether tagname contains only valid characters
15103
 
    case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
15104
 
    "") ;;
15105
 
    *)  { { $as_echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
15106
 
$as_echo "$as_me: error: invalid tag name: $tagname" >&2;}
15107
 
   { (exit 1); exit 1; }; }
15108
 
        ;;
15109
 
    esac
15110
 
 
15111
 
    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
15112
 
    then
15113
 
      { { $as_echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
15114
 
$as_echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
15115
 
   { (exit 1); exit 1; }; }
15116
 
    fi
15117
 
 
15118
 
    # Update the list of available tags.
15119
 
    if test -n "$tagname"; then
15120
 
      echo appending configuration tag \"$tagname\" to $ofile
15121
 
 
15122
 
      case $tagname in
15123
 
      CXX)
15124
 
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
15125
 
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
15126
 
            (test "X$CXX" != "Xg++"))) ; then
15127
 
          ac_ext=cpp
15128
 
ac_cpp='$CXXCPP $CPPFLAGS'
15129
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15130
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15131
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15132
 
 
15133
 
 
15134
 
 
15135
 
 
15136
 
archive_cmds_need_lc_CXX=no
15137
 
allow_undefined_flag_CXX=
15138
 
always_export_symbols_CXX=no
15139
 
archive_expsym_cmds_CXX=
15140
 
export_dynamic_flag_spec_CXX=
15141
 
hardcode_direct_CXX=no
15142
 
hardcode_libdir_flag_spec_CXX=
15143
 
hardcode_libdir_flag_spec_ld_CXX=
15144
 
hardcode_libdir_separator_CXX=
15145
 
hardcode_minus_L_CXX=no
15146
 
hardcode_shlibpath_var_CXX=unsupported
15147
 
hardcode_automatic_CXX=no
15148
 
module_cmds_CXX=
15149
 
module_expsym_cmds_CXX=
15150
 
link_all_deplibs_CXX=unknown
15151
 
old_archive_cmds_CXX=$old_archive_cmds
15152
 
no_undefined_flag_CXX=
15153
 
whole_archive_flag_spec_CXX=
15154
 
enable_shared_with_static_runtimes_CXX=no
15155
 
 
15156
 
# Dependencies to place before and after the object being linked:
15157
 
predep_objects_CXX=
15158
 
postdep_objects_CXX=
15159
 
predeps_CXX=
15160
 
postdeps_CXX=
15161
 
compiler_lib_search_path_CXX=
15162
 
compiler_lib_search_dirs_CXX=
15163
 
 
15164
 
# Source file extension for C++ test sources.
15165
 
ac_ext=cpp
15166
 
 
15167
 
# Object file extension for compiled C++ test sources.
15168
 
objext=o
15169
 
objext_CXX=$objext
15170
 
 
15171
 
# Code to be used in simple compile tests
15172
 
lt_simple_compile_test_code="int some_variable = 0;"
15173
 
 
15174
 
# Code to be used in simple link tests
15175
 
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
15176
 
 
15177
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
15178
 
 
15179
 
# If no C compiler was specified, use CC.
15180
 
LTCC=${LTCC-"$CC"}
15181
 
 
15182
 
# If no C compiler flags were specified, use CFLAGS.
15183
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
15184
 
 
15185
 
# Allow CC to be a program name with arguments.
15186
 
compiler=$CC
15187
 
 
15188
 
 
15189
 
# save warnings/boilerplate of simple test code
15190
 
ac_outfile=conftest.$ac_objext
15191
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
15192
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15193
 
_lt_compiler_boilerplate=`cat conftest.err`
15194
 
$rm conftest*
15195
 
 
15196
 
ac_outfile=conftest.$ac_objext
15197
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
15198
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15199
 
_lt_linker_boilerplate=`cat conftest.err`
15200
 
$rm -r conftest*
15201
 
 
15202
 
 
15203
 
# Allow CC to be a program name with arguments.
15204
 
lt_save_CC=$CC
15205
 
lt_save_LD=$LD
15206
 
lt_save_GCC=$GCC
15207
 
GCC=$GXX
15208
 
lt_save_with_gnu_ld=$with_gnu_ld
15209
 
lt_save_path_LD=$lt_cv_path_LD
15210
 
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
15211
 
  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
15212
 
else
15213
 
  $as_unset lt_cv_prog_gnu_ld
15214
 
fi
15215
 
if test -n "${lt_cv_path_LDCXX+set}"; then
15216
 
  lt_cv_path_LD=$lt_cv_path_LDCXX
15217
 
else
15218
 
  $as_unset lt_cv_path_LD
15219
 
fi
15220
 
test -z "${LDCXX+set}" || LD=$LDCXX
15221
 
CC=${CXX-"c++"}
15222
 
compiler=$CC
15223
 
compiler_CXX=$CC
15224
 
for cc_temp in $compiler""; do
15225
 
  case $cc_temp in
15226
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15227
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15228
 
    \-*) ;;
15229
 
    *) break;;
15230
 
  esac
15231
 
done
15232
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15233
 
 
15234
 
 
15235
 
# We don't want -fno-exception wen compiling C++ code, so set the
15236
 
# no_builtin_flag separately
15237
 
if test "$GXX" = yes; then
15238
 
  lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
15239
 
else
15240
 
  lt_prog_compiler_no_builtin_flag_CXX=
15241
 
fi
15242
 
 
15243
 
if test "$GXX" = yes; then
15244
 
  # Set up default GNU C++ configuration
15245
 
 
15246
 
 
15247
 
# Check whether --with-gnu-ld was given.
15248
 
if test "${with_gnu_ld+set}" = set; then
15249
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
15250
 
else
15251
 
  with_gnu_ld=no
15252
 
fi
15253
 
 
15254
 
ac_prog=ld
15255
 
if test "$GCC" = yes; then
15256
 
  # Check if gcc -print-prog-name=ld gives a path.
15257
 
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
15258
 
$as_echo_n "checking for ld used by $CC... " >&6; }
15259
 
  case $host in
15260
 
  *-*-mingw*)
15261
 
    # gcc leaves a trailing carriage return which upsets mingw
15262
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
15263
 
  *)
15264
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
15265
 
  esac
15266
 
  case $ac_prog in
15267
 
    # Accept absolute paths.
15268
 
    [\\/]* | ?:[\\/]*)
15269
 
      re_direlt='/[^/][^/]*/\.\./'
15270
 
      # Canonicalize the pathname of ld
15271
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
15272
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
15273
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
15274
 
      done
15275
 
      test -z "$LD" && LD="$ac_prog"
15276
 
      ;;
15277
 
  "")
15278
 
    # If it fails, then pretend we aren't using GCC.
15279
 
    ac_prog=ld
15280
 
    ;;
15281
 
  *)
15282
 
    # If it is relative, then search for the first ld in PATH.
15283
 
    with_gnu_ld=unknown
15284
 
    ;;
15285
 
  esac
15286
 
elif test "$with_gnu_ld" = yes; then
15287
 
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
15288
 
$as_echo_n "checking for GNU ld... " >&6; }
15289
 
else
15290
 
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
15291
 
$as_echo_n "checking for non-GNU ld... " >&6; }
15292
 
fi
15293
 
if test "${lt_cv_path_LD+set}" = set; then
15294
 
  $as_echo_n "(cached) " >&6
15295
 
else
15296
 
  if test -z "$LD"; then
15297
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
15298
 
  for ac_dir in $PATH; do
15299
 
    IFS="$lt_save_ifs"
15300
 
    test -z "$ac_dir" && ac_dir=.
15301
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
15302
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
15303
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
15304
 
      # but apparently some variants of GNU ld only accept -v.
15305
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
15306
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
15307
 
      *GNU* | *'with BFD'*)
15308
 
        test "$with_gnu_ld" != no && break
15309
 
        ;;
15310
 
      *)
15311
 
        test "$with_gnu_ld" != yes && break
15312
 
        ;;
15313
 
      esac
15314
 
    fi
15315
 
  done
15316
 
  IFS="$lt_save_ifs"
15317
 
else
15318
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
15319
 
fi
15320
 
fi
15321
 
 
15322
 
LD="$lt_cv_path_LD"
15323
 
if test -n "$LD"; then
15324
 
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
15325
 
$as_echo "$LD" >&6; }
15326
 
else
15327
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
15328
 
$as_echo "no" >&6; }
15329
 
fi
15330
 
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
15331
 
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
15332
 
   { (exit 1); exit 1; }; }
15333
 
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
15334
 
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
15335
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
15336
 
  $as_echo_n "(cached) " >&6
15337
 
else
15338
 
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
15339
 
case `$LD -v 2>&1 </dev/null` in
15340
 
*GNU* | *'with BFD'*)
15341
 
  lt_cv_prog_gnu_ld=yes
15342
 
  ;;
15343
 
*)
15344
 
  lt_cv_prog_gnu_ld=no
15345
 
  ;;
15346
 
esac
15347
 
fi
15348
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
15349
 
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
15350
 
with_gnu_ld=$lt_cv_prog_gnu_ld
15351
 
 
15352
 
 
15353
 
 
15354
 
  # Check if GNU C++ uses GNU ld as the underlying linker, since the
15355
 
  # archiving commands below assume that GNU ld is being used.
15356
 
  if test "$with_gnu_ld" = yes; then
15357
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15358
 
    archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15359
 
 
15360
 
    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
15361
 
    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15362
 
 
15363
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
15364
 
    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
15365
 
    #     investigate it a little bit more. (MM)
15366
 
    wlarc='${wl}'
15367
 
 
15368
 
    # ancient GNU ld didn't support --whole-archive et. al.
15369
 
    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
15370
 
        grep 'no-whole-archive' > /dev/null; then
15371
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15372
 
    else
15373
 
      whole_archive_flag_spec_CXX=
15374
 
    fi
15375
 
  else
15376
 
    with_gnu_ld=no
15377
 
    wlarc=
15378
 
 
15379
 
    # A generic and very simple default shared library creation
15380
 
    # command for GNU C++ for the case where it uses the native
15381
 
    # linker, instead of GNU ld.  If possible, this setting should
15382
 
    # overridden to take advantage of the native linker features on
15383
 
    # the platform it is being used on.
15384
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15385
 
  fi
15386
 
 
15387
 
  # Commands to make compiler produce verbose output that lists
15388
 
  # what "hidden" libraries, object files and flags are used when
15389
 
  # linking a shared library.
15390
 
  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
15391
 
 
15392
 
else
15393
 
  GXX=no
15394
 
  with_gnu_ld=no
15395
 
  wlarc=
15396
 
fi
15397
 
 
15398
 
# PORTME: fill in a description of your system's C++ link characteristics
15399
 
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15400
 
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15401
 
ld_shlibs_CXX=yes
15402
 
case $host_os in
15403
 
  aix3*)
15404
 
    # FIXME: insert proper C++ library support
15405
 
    ld_shlibs_CXX=no
15406
 
    ;;
15407
 
  aix[4-9]*)
15408
 
    if test "$host_cpu" = ia64; then
15409
 
      # On IA64, the linker does run time linking by default, so we don't
15410
 
      # have to do anything special.
15411
 
      aix_use_runtimelinking=no
15412
 
      exp_sym_flag='-Bexport'
15413
 
      no_entry_flag=""
15414
 
    else
15415
 
      aix_use_runtimelinking=no
15416
 
 
15417
 
      # Test if we are trying to use run time linking or normal
15418
 
      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15419
 
      # need to do runtime linking.
15420
 
      case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
15421
 
        for ld_flag in $LDFLAGS; do
15422
 
          case $ld_flag in
15423
 
          *-brtl*)
15424
 
            aix_use_runtimelinking=yes
15425
 
            break
15426
 
            ;;
15427
 
          esac
15428
 
        done
15429
 
        ;;
15430
 
      esac
15431
 
 
15432
 
      exp_sym_flag='-bexport'
15433
 
      no_entry_flag='-bnoentry'
15434
 
    fi
15435
 
 
15436
 
    # When large executables or shared objects are built, AIX ld can
15437
 
    # have problems creating the table of contents.  If linking a library
15438
 
    # or program results in "error TOC overflow" add -mminimal-toc to
15439
 
    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
15440
 
    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15441
 
 
15442
 
    archive_cmds_CXX=''
15443
 
    hardcode_direct_CXX=yes
15444
 
    hardcode_libdir_separator_CXX=':'
15445
 
    link_all_deplibs_CXX=yes
15446
 
 
15447
 
    if test "$GXX" = yes; then
15448
 
      case $host_os in aix4.[012]|aix4.[012].*)
15449
 
      # We only want to do this on AIX 4.2 and lower, the check
15450
 
      # below for broken collect2 doesn't work under 4.3+
15451
 
        collect2name=`${CC} -print-prog-name=collect2`
15452
 
        if test -f "$collect2name" && \
15453
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
15454
 
        then
15455
 
          # We have reworked collect2
15456
 
          :
15457
 
        else
15458
 
          # We have old collect2
15459
 
          hardcode_direct_CXX=unsupported
15460
 
          # It fails to find uninstalled libraries when the uninstalled
15461
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
15462
 
          # to unsupported forces relinking
15463
 
          hardcode_minus_L_CXX=yes
15464
 
          hardcode_libdir_flag_spec_CXX='-L$libdir'
15465
 
          hardcode_libdir_separator_CXX=
15466
 
        fi
15467
 
        ;;
15468
 
      esac
15469
 
      shared_flag='-shared'
15470
 
      if test "$aix_use_runtimelinking" = yes; then
15471
 
        shared_flag="$shared_flag "'${wl}-G'
15472
 
      fi
15473
 
    else
15474
 
      # not using gcc
15475
 
      if test "$host_cpu" = ia64; then
15476
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15477
 
        # chokes on -Wl,-G. The following line is correct:
15478
 
        shared_flag='-G'
15479
 
      else
15480
 
        if test "$aix_use_runtimelinking" = yes; then
15481
 
          shared_flag='${wl}-G'
15482
 
        else
15483
 
          shared_flag='${wl}-bM:SRE'
15484
 
        fi
15485
 
      fi
15486
 
    fi
15487
 
 
15488
 
    # It seems that -bexpall does not export symbols beginning with
15489
 
    # underscore (_), so it is better to generate a list of symbols to export.
15490
 
    always_export_symbols_CXX=yes
15491
 
    if test "$aix_use_runtimelinking" = yes; then
15492
 
      # Warning - without using the other runtime loading flags (-brtl),
15493
 
      # -berok will link without error, but may produce a broken library.
15494
 
      allow_undefined_flag_CXX='-berok'
15495
 
      # Determine the default libpath from the value encoded in an empty executable.
15496
 
      cat >conftest.$ac_ext <<_ACEOF
15497
 
/* confdefs.h.  */
15498
 
_ACEOF
15499
 
cat confdefs.h >>conftest.$ac_ext
15500
 
cat >>conftest.$ac_ext <<_ACEOF
15501
 
/* end confdefs.h.  */
15502
 
 
15503
 
int
15504
 
main ()
15505
 
{
15506
 
 
15507
 
  ;
15508
 
  return 0;
15509
 
}
15510
 
_ACEOF
15511
 
rm -f conftest.$ac_objext conftest$ac_exeext
15512
 
if { (ac_try="$ac_link"
15513
 
case "(($ac_try" in
15514
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15515
 
  *) ac_try_echo=$ac_try;;
15516
 
esac
15517
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15518
 
$as_echo "$ac_try_echo") >&5
15519
 
  (eval "$ac_link") 2>conftest.er1
15520
 
  ac_status=$?
15521
 
  grep -v '^ *+' conftest.er1 >conftest.err
15522
 
  rm -f conftest.er1
15523
 
  cat conftest.err >&5
15524
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15525
 
  (exit $ac_status); } && {
15526
 
         test -z "$ac_cxx_werror_flag" ||
15527
 
         test ! -s conftest.err
15528
 
       } && test -s conftest$ac_exeext && {
15529
 
         test "$cross_compiling" = yes ||
15530
 
         $as_test_x conftest$ac_exeext
15531
 
       }; then
15532
 
 
15533
 
lt_aix_libpath_sed='
15534
 
    /Import File Strings/,/^$/ {
15535
 
        /^0/ {
15536
 
            s/^0  *\(.*\)$/\1/
15537
 
            p
15538
 
        }
15539
 
    }'
15540
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15541
 
# Check for a 64-bit object if we didn't find anything.
15542
 
if test -z "$aix_libpath"; then
15543
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15544
 
fi
15545
 
else
15546
 
  $as_echo "$as_me: failed program was:" >&5
15547
 
sed 's/^/| /' conftest.$ac_ext >&5
15548
 
 
15549
 
 
15550
 
fi
15551
 
 
15552
 
rm -rf conftest.dSYM
15553
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15554
 
      conftest$ac_exeext conftest.$ac_ext
15555
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15556
 
 
15557
 
      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
15558
 
 
15559
 
      archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
15560
 
     else
15561
 
      if test "$host_cpu" = ia64; then
15562
 
        hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
15563
 
        allow_undefined_flag_CXX="-z nodefs"
15564
 
        archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
15565
 
      else
15566
 
        # Determine the default libpath from the value encoded in an empty executable.
15567
 
        cat >conftest.$ac_ext <<_ACEOF
15568
 
/* confdefs.h.  */
15569
 
_ACEOF
15570
 
cat confdefs.h >>conftest.$ac_ext
15571
 
cat >>conftest.$ac_ext <<_ACEOF
15572
 
/* end confdefs.h.  */
15573
 
 
15574
 
int
15575
 
main ()
15576
 
{
15577
 
 
15578
 
  ;
15579
 
  return 0;
15580
 
}
15581
 
_ACEOF
15582
 
rm -f conftest.$ac_objext conftest$ac_exeext
15583
 
if { (ac_try="$ac_link"
15584
 
case "(($ac_try" in
15585
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15586
 
  *) ac_try_echo=$ac_try;;
15587
 
esac
15588
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15589
 
$as_echo "$ac_try_echo") >&5
15590
 
  (eval "$ac_link") 2>conftest.er1
15591
 
  ac_status=$?
15592
 
  grep -v '^ *+' conftest.er1 >conftest.err
15593
 
  rm -f conftest.er1
15594
 
  cat conftest.err >&5
15595
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15596
 
  (exit $ac_status); } && {
15597
 
         test -z "$ac_cxx_werror_flag" ||
15598
 
         test ! -s conftest.err
15599
 
       } && test -s conftest$ac_exeext && {
15600
 
         test "$cross_compiling" = yes ||
15601
 
         $as_test_x conftest$ac_exeext
15602
 
       }; then
15603
 
 
15604
 
lt_aix_libpath_sed='
15605
 
    /Import File Strings/,/^$/ {
15606
 
        /^0/ {
15607
 
            s/^0  *\(.*\)$/\1/
15608
 
            p
15609
 
        }
15610
 
    }'
15611
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15612
 
# Check for a 64-bit object if we didn't find anything.
15613
 
if test -z "$aix_libpath"; then
15614
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15615
 
fi
15616
 
else
15617
 
  $as_echo "$as_me: failed program was:" >&5
15618
 
sed 's/^/| /' conftest.$ac_ext >&5
15619
 
 
15620
 
 
15621
 
fi
15622
 
 
15623
 
rm -rf conftest.dSYM
15624
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15625
 
      conftest$ac_exeext conftest.$ac_ext
15626
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15627
 
 
15628
 
        hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
15629
 
        # Warning - without using the other run time loading flags,
15630
 
        # -berok will link without error, but may produce a broken library.
15631
 
        no_undefined_flag_CXX=' ${wl}-bernotok'
15632
 
        allow_undefined_flag_CXX=' ${wl}-berok'
15633
 
        # Exported symbols can be pulled into shared objects from archives
15634
 
        whole_archive_flag_spec_CXX='$convenience'
15635
 
        archive_cmds_need_lc_CXX=yes
15636
 
        # This is similar to how AIX traditionally builds its shared libraries.
15637
 
        archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
15638
 
      fi
15639
 
    fi
15640
 
    ;;
15641
 
 
15642
 
  beos*)
15643
 
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15644
 
      allow_undefined_flag_CXX=unsupported
15645
 
      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15646
 
      # support --undefined.  This deserves some investigation.  FIXME
15647
 
      archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15648
 
    else
15649
 
      ld_shlibs_CXX=no
15650
 
    fi
15651
 
    ;;
15652
 
 
15653
 
  chorus*)
15654
 
    case $cc_basename in
15655
 
      *)
15656
 
        # FIXME: insert proper C++ library support
15657
 
        ld_shlibs_CXX=no
15658
 
        ;;
15659
 
    esac
15660
 
    ;;
15661
 
 
15662
 
  cygwin* | mingw* | pw32*)
15663
 
    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
15664
 
    # as there is no search path for DLLs.
15665
 
    hardcode_libdir_flag_spec_CXX='-L$libdir'
15666
 
    allow_undefined_flag_CXX=unsupported
15667
 
    always_export_symbols_CXX=no
15668
 
    enable_shared_with_static_runtimes_CXX=yes
15669
 
 
15670
 
    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15671
 
      archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15672
 
      # If the export-symbols file already is a .def file (1st line
15673
 
      # is EXPORTS), use it as is; otherwise, prepend...
15674
 
      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15675
 
        cp $export_symbols $output_objdir/$soname.def;
15676
 
      else
15677
 
        echo EXPORTS > $output_objdir/$soname.def;
15678
 
        cat $export_symbols >> $output_objdir/$soname.def;
15679
 
      fi~
15680
 
      $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15681
 
    else
15682
 
      ld_shlibs_CXX=no
15683
 
    fi
15684
 
  ;;
15685
 
      darwin* | rhapsody*)
15686
 
      archive_cmds_need_lc_CXX=no
15687
 
      hardcode_direct_CXX=no
15688
 
      hardcode_automatic_CXX=yes
15689
 
      hardcode_shlibpath_var_CXX=unsupported
15690
 
      whole_archive_flag_spec_CXX=''
15691
 
      link_all_deplibs_CXX=yes
15692
 
      allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
15693
 
      if test "$GXX" = yes ; then
15694
 
      output_verbose_link_cmd='echo'
15695
 
      archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
15696
 
      module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15697
 
      archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
15698
 
      module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
15699
 
      if test "$lt_cv_apple_cc_single_mod" != "yes"; then
15700
 
        archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
15701
 
        archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
15702
 
      fi
15703
 
      else
15704
 
      case $cc_basename in
15705
 
        xlc*)
15706
 
         output_verbose_link_cmd='echo'
15707
 
          archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
15708
 
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15709
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15710
 
          archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15711
 
          module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15712
 
          ;;
15713
 
       *)
15714
 
         ld_shlibs_CXX=no
15715
 
          ;;
15716
 
      esac
15717
 
      fi
15718
 
        ;;
15719
 
 
15720
 
  dgux*)
15721
 
    case $cc_basename in
15722
 
      ec++*)
15723
 
        # FIXME: insert proper C++ library support
15724
 
        ld_shlibs_CXX=no
15725
 
        ;;
15726
 
      ghcx*)
15727
 
        # Green Hills C++ Compiler
15728
 
        # FIXME: insert proper C++ library support
15729
 
        ld_shlibs_CXX=no
15730
 
        ;;
15731
 
      *)
15732
 
        # FIXME: insert proper C++ library support
15733
 
        ld_shlibs_CXX=no
15734
 
        ;;
15735
 
    esac
15736
 
    ;;
15737
 
  freebsd[12]*)
15738
 
    # C++ shared libraries reported to be fairly broken before switch to ELF
15739
 
    ld_shlibs_CXX=no
15740
 
    ;;
15741
 
  freebsd-elf*)
15742
 
    archive_cmds_need_lc_CXX=no
15743
 
    ;;
15744
 
  freebsd* | dragonfly*)
15745
 
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
15746
 
    # conventions
15747
 
    ld_shlibs_CXX=yes
15748
 
    ;;
15749
 
  gnu*)
15750
 
    ;;
15751
 
  hpux9*)
15752
 
    hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
15753
 
    hardcode_libdir_separator_CXX=:
15754
 
    export_dynamic_flag_spec_CXX='${wl}-E'
15755
 
    hardcode_direct_CXX=yes
15756
 
    hardcode_minus_L_CXX=yes # Not in the search PATH,
15757
 
                                # but as the default
15758
 
                                # location of the library.
15759
 
 
15760
 
    case $cc_basename in
15761
 
    CC*)
15762
 
      # FIXME: insert proper C++ library support
15763
 
      ld_shlibs_CXX=no
15764
 
      ;;
15765
 
    aCC*)
15766
 
      archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
15767
 
      # Commands to make compiler produce verbose output that lists
15768
 
      # what "hidden" libraries, object files and flags are used when
15769
 
      # linking a shared library.
15770
 
      #
15771
 
      # There doesn't appear to be a way to prevent this compiler from
15772
 
      # explicitly linking system object files so we need to strip them
15773
 
      # from the output so that they don't get included in the library
15774
 
      # dependencies.
15775
 
      output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
15776
 
      ;;
15777
 
    *)
15778
 
      if test "$GXX" = yes; then
15779
 
        archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
15780
 
      else
15781
 
        # FIXME: insert proper C++ library support
15782
 
        ld_shlibs_CXX=no
15783
 
      fi
15784
 
      ;;
15785
 
    esac
15786
 
    ;;
15787
 
  hpux10*|hpux11*)
15788
 
    if test $with_gnu_ld = no; then
15789
 
      hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
15790
 
      hardcode_libdir_separator_CXX=:
15791
 
 
15792
 
      case $host_cpu in
15793
 
      hppa*64*|ia64*) ;;
15794
 
      *)
15795
 
        export_dynamic_flag_spec_CXX='${wl}-E'
15796
 
        ;;
15797
 
      esac
15798
 
    fi
15799
 
    case $host_cpu in
15800
 
    hppa*64*|ia64*)
15801
 
      hardcode_direct_CXX=no
15802
 
      hardcode_shlibpath_var_CXX=no
15803
 
      ;;
15804
 
    *)
15805
 
      hardcode_direct_CXX=yes
15806
 
      hardcode_minus_L_CXX=yes # Not in the search PATH,
15807
 
                                              # but as the default
15808
 
                                              # location of the library.
15809
 
      ;;
15810
 
    esac
15811
 
 
15812
 
    case $cc_basename in
15813
 
      CC*)
15814
 
        # FIXME: insert proper C++ library support
15815
 
        ld_shlibs_CXX=no
15816
 
        ;;
15817
 
      aCC*)
15818
 
        case $host_cpu in
15819
 
        hppa*64*)
15820
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15821
 
          ;;
15822
 
        ia64*)
15823
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15824
 
          ;;
15825
 
        *)
15826
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15827
 
          ;;
15828
 
        esac
15829
 
        # Commands to make compiler produce verbose output that lists
15830
 
        # what "hidden" libraries, object files and flags are used when
15831
 
        # linking a shared library.
15832
 
        #
15833
 
        # There doesn't appear to be a way to prevent this compiler from
15834
 
        # explicitly linking system object files so we need to strip them
15835
 
        # from the output so that they don't get included in the library
15836
 
        # dependencies.
15837
 
        output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
15838
 
        ;;
15839
 
      *)
15840
 
        if test "$GXX" = yes; then
15841
 
          if test $with_gnu_ld = no; then
15842
 
            case $host_cpu in
15843
 
            hppa*64*)
15844
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15845
 
              ;;
15846
 
            ia64*)
15847
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15848
 
              ;;
15849
 
            *)
15850
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15851
 
              ;;
15852
 
            esac
15853
 
          fi
15854
 
        else
15855
 
          # FIXME: insert proper C++ library support
15856
 
          ld_shlibs_CXX=no
15857
 
        fi
15858
 
        ;;
15859
 
    esac
15860
 
    ;;
15861
 
  interix[3-9]*)
15862
 
    hardcode_direct_CXX=no
15863
 
    hardcode_shlibpath_var_CXX=no
15864
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15865
 
    export_dynamic_flag_spec_CXX='${wl}-E'
15866
 
    # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15867
 
    # Instead, shared libraries are loaded at an image base (0x10000000 by
15868
 
    # default) and relocated if they conflict, which is a slow very memory
15869
 
    # consuming and fragmenting process.  To avoid this, we pick a random,
15870
 
    # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15871
 
    # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
15872
 
    archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15873
 
    archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15874
 
    ;;
15875
 
  irix5* | irix6*)
15876
 
    case $cc_basename in
15877
 
      CC*)
15878
 
        # SGI C++
15879
 
        archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
15880
 
 
15881
 
        # Archives containing C++ object files must be created using
15882
 
        # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
15883
 
        # necessary to make sure instantiated templates are included
15884
 
        # in the archive.
15885
 
        old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
15886
 
        ;;
15887
 
      *)
15888
 
        if test "$GXX" = yes; then
15889
 
          if test "$with_gnu_ld" = no; then
15890
 
            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15891
 
          else
15892
 
            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
15893
 
          fi
15894
 
        fi
15895
 
        link_all_deplibs_CXX=yes
15896
 
        ;;
15897
 
    esac
15898
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15899
 
    hardcode_libdir_separator_CXX=:
15900
 
    ;;
15901
 
  linux* | k*bsd*-gnu)
15902
 
    case $cc_basename in
15903
 
      KCC*)
15904
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
15905
 
 
15906
 
        # KCC will only create a shared library if the output file
15907
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
15908
 
        # to its proper name (with version) after linking.
15909
 
        archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
15910
 
        archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
15911
 
        # Commands to make compiler produce verbose output that lists
15912
 
        # what "hidden" libraries, object files and flags are used when
15913
 
        # linking a shared library.
15914
 
        #
15915
 
        # There doesn't appear to be a way to prevent this compiler from
15916
 
        # explicitly linking system object files so we need to strip them
15917
 
        # from the output so that they don't get included in the library
15918
 
        # dependencies.
15919
 
        output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
15920
 
 
15921
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
15922
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15923
 
 
15924
 
        # Archives containing C++ object files must be created using
15925
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15926
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
15927
 
        ;;
15928
 
      icpc*)
15929
 
        # Intel C++
15930
 
        with_gnu_ld=yes
15931
 
        # version 8.0 and above of icpc choke on multiply defined symbols
15932
 
        # if we add $predep_objects and $postdep_objects, however 7.1 and
15933
 
        # earlier do not add the objects themselves.
15934
 
        case `$CC -V 2>&1` in
15935
 
        *"Version 7."*)
15936
 
          archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15937
 
          archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15938
 
          ;;
15939
 
        *)  # Version 8.0 or newer
15940
 
          tmp_idyn=
15941
 
          case $host_cpu in
15942
 
            ia64*) tmp_idyn=' -i_dynamic';;
15943
 
          esac
15944
 
          archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15945
 
          archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15946
 
          ;;
15947
 
        esac
15948
 
        archive_cmds_need_lc_CXX=no
15949
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15950
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15951
 
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15952
 
        ;;
15953
 
      pgCC* | pgcpp*)
15954
 
        # Portland Group C++ compiler
15955
 
        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15956
 
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
15957
 
 
15958
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
15959
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15960
 
        whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
15961
 
        ;;
15962
 
      cxx*)
15963
 
        # Compaq C++
15964
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15965
 
        archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
15966
 
 
15967
 
        runpath_var=LD_RUN_PATH
15968
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15969
 
        hardcode_libdir_separator_CXX=:
15970
 
 
15971
 
        # Commands to make compiler produce verbose output that lists
15972
 
        # what "hidden" libraries, object files and flags are used when
15973
 
        # linking a shared library.
15974
 
        #
15975
 
        # There doesn't appear to be a way to prevent this compiler from
15976
 
        # explicitly linking system object files so we need to strip them
15977
 
        # from the output so that they don't get included in the library
15978
 
        # dependencies.
15979
 
        output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
15980
 
        ;;
15981
 
      *)
15982
 
        case `$CC -V 2>&1 | sed 5q` in
15983
 
        *Sun\ C*)
15984
 
          # Sun C++ 5.9
15985
 
          no_undefined_flag_CXX=' -zdefs'
15986
 
          archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15987
 
          archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
15988
 
          hardcode_libdir_flag_spec_CXX='-R$libdir'
15989
 
          whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
15990
 
 
15991
 
          # Not sure whether something based on
15992
 
          # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15993
 
          # would be better.
15994
 
          output_verbose_link_cmd='echo'
15995
 
 
15996
 
          # Archives containing C++ object files must be created using
15997
 
          # "CC -xar", where "CC" is the Sun C++ compiler.  This is
15998
 
          # necessary to make sure instantiated templates are included
15999
 
          # in the archive.
16000
 
          old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
16001
 
          ;;
16002
 
        esac
16003
 
        ;;
16004
 
    esac
16005
 
    ;;
16006
 
  lynxos*)
16007
 
    # FIXME: insert proper C++ library support
16008
 
    ld_shlibs_CXX=no
16009
 
    ;;
16010
 
  m88k*)
16011
 
    # FIXME: insert proper C++ library support
16012
 
    ld_shlibs_CXX=no
16013
 
    ;;
16014
 
  mvs*)
16015
 
    case $cc_basename in
16016
 
      cxx*)
16017
 
        # FIXME: insert proper C++ library support
16018
 
        ld_shlibs_CXX=no
16019
 
        ;;
16020
 
      *)
16021
 
        # FIXME: insert proper C++ library support
16022
 
        ld_shlibs_CXX=no
16023
 
        ;;
16024
 
    esac
16025
 
    ;;
16026
 
  netbsd*)
16027
 
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16028
 
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
16029
 
      wlarc=
16030
 
      hardcode_libdir_flag_spec_CXX='-R$libdir'
16031
 
      hardcode_direct_CXX=yes
16032
 
      hardcode_shlibpath_var_CXX=no
16033
 
    fi
16034
 
    # Workaround some broken pre-1.5 toolchains
16035
 
    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
16036
 
    ;;
16037
 
  openbsd2*)
16038
 
    # C++ shared libraries are fairly broken
16039
 
    ld_shlibs_CXX=no
16040
 
    ;;
16041
 
  openbsd*)
16042
 
    if test -f /usr/libexec/ld.so; then
16043
 
      hardcode_direct_CXX=yes
16044
 
      hardcode_shlibpath_var_CXX=no
16045
 
      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
16046
 
      hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
16047
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16048
 
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
16049
 
        export_dynamic_flag_spec_CXX='${wl}-E'
16050
 
        whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16051
 
      fi
16052
 
      output_verbose_link_cmd='echo'
16053
 
    else
16054
 
      ld_shlibs_CXX=no
16055
 
    fi
16056
 
    ;;
16057
 
  osf3*)
16058
 
    case $cc_basename in
16059
 
      KCC*)
16060
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
16061
 
 
16062
 
        # KCC will only create a shared library if the output file
16063
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
16064
 
        # to its proper name (with version) after linking.
16065
 
        archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
16066
 
 
16067
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
16068
 
        hardcode_libdir_separator_CXX=:
16069
 
 
16070
 
        # Archives containing C++ object files must be created using
16071
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
16072
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
16073
 
 
16074
 
        ;;
16075
 
      RCC*)
16076
 
        # Rational C++ 2.4.1
16077
 
        # FIXME: insert proper C++ library support
16078
 
        ld_shlibs_CXX=no
16079
 
        ;;
16080
 
      cxx*)
16081
 
        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
16082
 
        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16083
 
 
16084
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
16085
 
        hardcode_libdir_separator_CXX=:
16086
 
 
16087
 
        # Commands to make compiler produce verbose output that lists
16088
 
        # what "hidden" libraries, object files and flags are used when
16089
 
        # linking a shared library.
16090
 
        #
16091
 
        # There doesn't appear to be a way to prevent this compiler from
16092
 
        # explicitly linking system object files so we need to strip them
16093
 
        # from the output so that they don't get included in the library
16094
 
        # dependencies.
16095
 
        output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
16096
 
        ;;
16097
 
      *)
16098
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
16099
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
16100
 
          archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16101
 
 
16102
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
16103
 
          hardcode_libdir_separator_CXX=:
16104
 
 
16105
 
          # Commands to make compiler produce verbose output that lists
16106
 
          # what "hidden" libraries, object files and flags are used when
16107
 
          # linking a shared library.
16108
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
16109
 
 
16110
 
        else
16111
 
          # FIXME: insert proper C++ library support
16112
 
          ld_shlibs_CXX=no
16113
 
        fi
16114
 
        ;;
16115
 
    esac
16116
 
    ;;
16117
 
  osf4* | osf5*)
16118
 
    case $cc_basename in
16119
 
      KCC*)
16120
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
16121
 
 
16122
 
        # KCC will only create a shared library if the output file
16123
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
16124
 
        # to its proper name (with version) after linking.
16125
 
        archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
16126
 
 
16127
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
16128
 
        hardcode_libdir_separator_CXX=:
16129
 
 
16130
 
        # Archives containing C++ object files must be created using
16131
 
        # the KAI C++ compiler.
16132
 
        old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
16133
 
        ;;
16134
 
      RCC*)
16135
 
        # Rational C++ 2.4.1
16136
 
        # FIXME: insert proper C++ library support
16137
 
        ld_shlibs_CXX=no
16138
 
        ;;
16139
 
      cxx*)
16140
 
        allow_undefined_flag_CXX=' -expect_unresolved \*'
16141
 
        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16142
 
        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
16143
 
          echo "-hidden">> $lib.exp~
16144
 
          $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp  `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
16145
 
          $rm $lib.exp'
16146
 
 
16147
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
16148
 
        hardcode_libdir_separator_CXX=:
16149
 
 
16150
 
        # Commands to make compiler produce verbose output that lists
16151
 
        # what "hidden" libraries, object files and flags are used when
16152
 
        # linking a shared library.
16153
 
        #
16154
 
        # There doesn't appear to be a way to prevent this compiler from
16155
 
        # explicitly linking system object files so we need to strip them
16156
 
        # from the output so that they don't get included in the library
16157
 
        # dependencies.
16158
 
        output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
16159
 
        ;;
16160
 
      *)
16161
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
16162
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
16163
 
         archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16164
 
 
16165
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
16166
 
          hardcode_libdir_separator_CXX=:
16167
 
 
16168
 
          # Commands to make compiler produce verbose output that lists
16169
 
          # what "hidden" libraries, object files and flags are used when
16170
 
          # linking a shared library.
16171
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
16172
 
 
16173
 
        else
16174
 
          # FIXME: insert proper C++ library support
16175
 
          ld_shlibs_CXX=no
16176
 
        fi
16177
 
        ;;
16178
 
    esac
16179
 
    ;;
16180
 
  psos*)
16181
 
    # FIXME: insert proper C++ library support
16182
 
    ld_shlibs_CXX=no
16183
 
    ;;
16184
 
  sunos4*)
16185
 
    case $cc_basename in
16186
 
      CC*)
16187
 
        # Sun C++ 4.x
16188
 
        # FIXME: insert proper C++ library support
16189
 
        ld_shlibs_CXX=no
16190
 
        ;;
16191
 
      lcc*)
16192
 
        # Lucid
16193
 
        # FIXME: insert proper C++ library support
16194
 
        ld_shlibs_CXX=no
16195
 
        ;;
16196
 
      *)
16197
 
        # FIXME: insert proper C++ library support
16198
 
        ld_shlibs_CXX=no
16199
 
        ;;
16200
 
    esac
16201
 
    ;;
16202
 
  solaris*)
16203
 
    case $cc_basename in
16204
 
      CC*)
16205
 
        # Sun C++ 4.2, 5.x and Centerline C++
16206
 
        archive_cmds_need_lc_CXX=yes
16207
 
        no_undefined_flag_CXX=' -zdefs'
16208
 
        archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16209
 
        archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16210
 
        $CC -G${allow_undefined_flag}  ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
16211
 
 
16212
 
        hardcode_libdir_flag_spec_CXX='-R$libdir'
16213
 
        hardcode_shlibpath_var_CXX=no
16214
 
        case $host_os in
16215
 
          solaris2.[0-5] | solaris2.[0-5].*) ;;
16216
 
          *)
16217
 
            # The compiler driver will combine and reorder linker options,
16218
 
            # but understands `-z linker_flag'.
16219
 
            # Supported since Solaris 2.6 (maybe 2.5.1?)
16220
 
            whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
16221
 
            ;;
16222
 
        esac
16223
 
        link_all_deplibs_CXX=yes
16224
 
 
16225
 
        output_verbose_link_cmd='echo'
16226
 
 
16227
 
        # Archives containing C++ object files must be created using
16228
 
        # "CC -xar", where "CC" is the Sun C++ compiler.  This is
16229
 
        # necessary to make sure instantiated templates are included
16230
 
        # in the archive.
16231
 
        old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
16232
 
        ;;
16233
 
      gcx*)
16234
 
        # Green Hills C++ Compiler
16235
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
16236
 
 
16237
 
        # The C++ compiler must be used to create the archive.
16238
 
        old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
16239
 
        ;;
16240
 
      *)
16241
 
        # GNU C++ compiler with Solaris linker
16242
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
16243
 
          no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
16244
 
          if $CC --version | grep -v '^2\.7' > /dev/null; then
16245
 
            archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
16246
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16247
 
                $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
16248
 
 
16249
 
            # Commands to make compiler produce verbose output that lists
16250
 
            # what "hidden" libraries, object files and flags are used when
16251
 
            # linking a shared library.
16252
 
            output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
16253
 
          else
16254
 
            # g++ 2.7 appears to require `-G' NOT `-shared' on this
16255
 
            # platform.
16256
 
            archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
16257
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16258
 
                $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
16259
 
 
16260
 
            # Commands to make compiler produce verbose output that lists
16261
 
            # what "hidden" libraries, object files and flags are used when
16262
 
            # linking a shared library.
16263
 
            output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
16264
 
          fi
16265
 
 
16266
 
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
16267
 
          case $host_os in
16268
 
          solaris2.[0-5] | solaris2.[0-5].*) ;;
16269
 
          *)
16270
 
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
16271
 
            ;;
16272
 
          esac
16273
 
        fi
16274
 
        ;;
16275
 
    esac
16276
 
    ;;
16277
 
  sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
16278
 
    no_undefined_flag_CXX='${wl}-z,text'
16279
 
    archive_cmds_need_lc_CXX=no
16280
 
    hardcode_shlibpath_var_CXX=no
16281
 
    runpath_var='LD_RUN_PATH'
16282
 
 
16283
 
    case $cc_basename in
16284
 
      CC*)
16285
 
        archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16286
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16287
 
        ;;
16288
 
      *)
16289
 
        archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16290
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16291
 
        ;;
16292
 
    esac
16293
 
    ;;
16294
 
  sysv5* | sco3.2v5* | sco5v6*)
16295
 
    # Note: We can NOT use -z defs as we might desire, because we do not
16296
 
    # link with -lc, and that would cause any symbols used from libc to
16297
 
    # always be unresolved, which means just about no library would
16298
 
    # ever link correctly.  If we're not using GNU ld we use -z text
16299
 
    # though, which does catch some bad symbols but isn't as heavy-handed
16300
 
    # as -z defs.
16301
 
    # For security reasons, it is highly recommended that you always
16302
 
    # use absolute paths for naming shared libraries, and exclude the
16303
 
    # DT_RUNPATH tag from executables and libraries.  But doing so
16304
 
    # requires that you compile everything twice, which is a pain.
16305
 
    # So that behaviour is only enabled if SCOABSPATH is set to a
16306
 
    # non-empty value in the environment.  Most likely only useful for
16307
 
    # creating official distributions of packages.
16308
 
    # This is a hack until libtool officially supports absolute path
16309
 
    # names for shared libraries.
16310
 
    no_undefined_flag_CXX='${wl}-z,text'
16311
 
    allow_undefined_flag_CXX='${wl}-z,nodefs'
16312
 
    archive_cmds_need_lc_CXX=no
16313
 
    hardcode_shlibpath_var_CXX=no
16314
 
    hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
16315
 
    hardcode_libdir_separator_CXX=':'
16316
 
    link_all_deplibs_CXX=yes
16317
 
    export_dynamic_flag_spec_CXX='${wl}-Bexport'
16318
 
    runpath_var='LD_RUN_PATH'
16319
 
 
16320
 
    case $cc_basename in
16321
 
      CC*)
16322
 
        archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16323
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16324
 
        ;;
16325
 
      *)
16326
 
        archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16327
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16328
 
        ;;
16329
 
    esac
16330
 
    ;;
16331
 
  tandem*)
16332
 
    case $cc_basename in
16333
 
      NCC*)
16334
 
        # NonStop-UX NCC 3.20
16335
 
        # FIXME: insert proper C++ library support
16336
 
        ld_shlibs_CXX=no
16337
 
        ;;
16338
 
      *)
16339
 
        # FIXME: insert proper C++ library support
16340
 
        ld_shlibs_CXX=no
16341
 
        ;;
16342
 
    esac
16343
 
    ;;
16344
 
  vxworks*)
16345
 
    # FIXME: insert proper C++ library support
16346
 
    ld_shlibs_CXX=no
16347
 
    ;;
16348
 
  *)
16349
 
    # FIXME: insert proper C++ library support
16350
 
    ld_shlibs_CXX=no
16351
 
    ;;
16352
 
esac
16353
 
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
16354
 
$as_echo "$ld_shlibs_CXX" >&6; }
16355
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
16356
 
 
16357
 
GCC_CXX="$GXX"
16358
 
LD_CXX="$LD"
16359
 
 
16360
 
cat > conftest.$ac_ext <<EOF
16361
 
class Foo
16362
 
{
16363
 
public:
16364
 
  Foo (void) { a = 0; }
16365
 
private:
16366
 
  int a;
16367
 
};
16368
 
EOF
16369
 
 
16370
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16371
 
  (eval $ac_compile) 2>&5
16372
 
  ac_status=$?
16373
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16374
 
  (exit $ac_status); }; then
16375
 
  # Parse the compiler output and extract the necessary
16376
 
  # objects, libraries and library flags.
16377
 
 
16378
 
  # Sentinel used to keep track of whether or not we are before
16379
 
  # the conftest object file.
16380
 
  pre_test_object_deps_done=no
16381
 
 
16382
 
  # The `*' in the case matches for architectures that use `case' in
16383
 
  # $output_verbose_cmd can trigger glob expansion during the loop
16384
 
  # eval without this substitution.
16385
 
  output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
16386
 
 
16387
 
  for p in `eval $output_verbose_link_cmd`; do
16388
 
    case $p in
16389
 
 
16390
 
    -L* | -R* | -l*)
16391
 
       # Some compilers place space between "-{L,R}" and the path.
16392
 
       # Remove the space.
16393
 
       if test $p = "-L" \
16394
 
          || test $p = "-R"; then
16395
 
         prev=$p
16396
 
         continue
16397
 
       else
16398
 
         prev=
16399
 
       fi
16400
 
 
16401
 
       if test "$pre_test_object_deps_done" = no; then
16402
 
         case $p in
16403
 
         -L* | -R*)
16404
 
           # Internal compiler library paths should come after those
16405
 
           # provided the user.  The postdeps already come after the
16406
 
           # user supplied libs so there is no need to process them.
16407
 
           if test -z "$compiler_lib_search_path_CXX"; then
16408
 
             compiler_lib_search_path_CXX="${prev}${p}"
16409
 
           else
16410
 
             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
16411
 
           fi
16412
 
           ;;
16413
 
         # The "-l" case would never come before the object being
16414
 
         # linked, so don't bother handling this case.
16415
 
         esac
16416
 
       else
16417
 
         if test -z "$postdeps_CXX"; then
16418
 
           postdeps_CXX="${prev}${p}"
16419
 
         else
16420
 
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
16421
 
         fi
16422
 
       fi
16423
 
       ;;
16424
 
 
16425
 
    *.$objext)
16426
 
       # This assumes that the test object file only shows up
16427
 
       # once in the compiler output.
16428
 
       if test "$p" = "conftest.$objext"; then
16429
 
         pre_test_object_deps_done=yes
16430
 
         continue
16431
 
       fi
16432
 
 
16433
 
       if test "$pre_test_object_deps_done" = no; then
16434
 
         if test -z "$predep_objects_CXX"; then
16435
 
           predep_objects_CXX="$p"
16436
 
         else
16437
 
           predep_objects_CXX="$predep_objects_CXX $p"
16438
 
         fi
16439
 
       else
16440
 
         if test -z "$postdep_objects_CXX"; then
16441
 
           postdep_objects_CXX="$p"
16442
 
         else
16443
 
           postdep_objects_CXX="$postdep_objects_CXX $p"
16444
 
         fi
16445
 
       fi
16446
 
       ;;
16447
 
 
16448
 
    *) ;; # Ignore the rest.
16449
 
 
16450
 
    esac
16451
 
  done
16452
 
 
16453
 
  # Clean up.
16454
 
  rm -f a.out a.exe
16455
 
else
16456
 
  echo "libtool.m4: error: problem compiling CXX test program"
16457
 
fi
16458
 
 
16459
 
$rm -f confest.$objext
16460
 
 
16461
 
compiler_lib_search_dirs_CXX=
16462
 
if test -n "$compiler_lib_search_path_CXX"; then
16463
 
  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
16464
 
fi
16465
 
 
16466
 
# PORTME: override above test on systems where it is broken
16467
 
case $host_os in
16468
 
interix[3-9]*)
16469
 
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
16470
 
  # hack all around it, let's just trust "g++" to DTRT.
16471
 
  predep_objects_CXX=
16472
 
  postdep_objects_CXX=
16473
 
  postdeps_CXX=
16474
 
  ;;
16475
 
 
16476
 
linux*)
16477
 
  case `$CC -V 2>&1 | sed 5q` in
16478
 
  *Sun\ C*)
16479
 
    # Sun C++ 5.9
16480
 
    #
16481
 
    # The more standards-conforming stlport4 library is
16482
 
    # incompatible with the Cstd library. Avoid specifying
16483
 
    # it if it's in CXXFLAGS. Ignore libCrun as
16484
 
    # -library=stlport4 depends on it.
16485
 
    case " $CXX $CXXFLAGS " in
16486
 
    *" -library=stlport4 "*)
16487
 
      solaris_use_stlport4=yes
16488
 
      ;;
16489
 
    esac
16490
 
    if test "$solaris_use_stlport4" != yes; then
16491
 
      postdeps_CXX='-library=Cstd -library=Crun'
16492
 
    fi
16493
 
    ;;
16494
 
  esac
16495
 
  ;;
16496
 
 
16497
 
solaris*)
16498
 
  case $cc_basename in
16499
 
  CC*)
16500
 
    # The more standards-conforming stlport4 library is
16501
 
    # incompatible with the Cstd library. Avoid specifying
16502
 
    # it if it's in CXXFLAGS. Ignore libCrun as
16503
 
    # -library=stlport4 depends on it.
16504
 
    case " $CXX $CXXFLAGS " in
16505
 
    *" -library=stlport4 "*)
16506
 
      solaris_use_stlport4=yes
16507
 
      ;;
16508
 
    esac
16509
 
 
16510
 
    # Adding this requires a known-good setup of shared libraries for
16511
 
    # Sun compiler versions before 5.6, else PIC objects from an old
16512
 
    # archive will be linked into the output, leading to subtle bugs.
16513
 
    if test "$solaris_use_stlport4" != yes; then
16514
 
      postdeps_CXX='-library=Cstd -library=Crun'
16515
 
    fi
16516
 
    ;;
16517
 
  esac
16518
 
  ;;
16519
 
esac
16520
 
 
16521
 
case " $postdeps_CXX " in
16522
 
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
16523
 
esac
16524
 
 
16525
 
lt_prog_compiler_wl_CXX=
16526
 
lt_prog_compiler_pic_CXX=
16527
 
lt_prog_compiler_static_CXX=
16528
 
 
16529
 
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16530
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
16531
 
 
16532
 
  # C++ specific cases for pic, static, wl, etc.
16533
 
  if test "$GXX" = yes; then
16534
 
    lt_prog_compiler_wl_CXX='-Wl,'
16535
 
    lt_prog_compiler_static_CXX='-static'
16536
 
 
16537
 
    case $host_os in
16538
 
    aix*)
16539
 
      # All AIX code is PIC.
16540
 
      if test "$host_cpu" = ia64; then
16541
 
        # AIX 5 now supports IA64 processor
16542
 
        lt_prog_compiler_static_CXX='-Bstatic'
16543
 
      fi
16544
 
      ;;
16545
 
    amigaos*)
16546
 
      # FIXME: we need at least 68020 code to build shared libraries, but
16547
 
      # adding the `-m68020' flag to GCC prevents building anything better,
16548
 
      # like `-m68040'.
16549
 
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
16550
 
      ;;
16551
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16552
 
      # PIC is the default for these OSes.
16553
 
      ;;
16554
 
    mingw* | cygwin* | os2* | pw32*)
16555
 
      # This hack is so that the source file can tell whether it is being
16556
 
      # built for inclusion in a dll (and should export symbols for example).
16557
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
16558
 
      # (--disable-auto-import) libraries
16559
 
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16560
 
      ;;
16561
 
    darwin* | rhapsody*)
16562
 
      # PIC is the default on this platform
16563
 
      # Common symbols not allowed in MH_DYLIB files
16564
 
      lt_prog_compiler_pic_CXX='-fno-common'
16565
 
      ;;
16566
 
    *djgpp*)
16567
 
      # DJGPP does not support shared libraries at all
16568
 
      lt_prog_compiler_pic_CXX=
16569
 
      ;;
16570
 
    interix[3-9]*)
16571
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16572
 
      # Instead, we relocate shared libraries at runtime.
16573
 
      ;;
16574
 
    sysv4*MP*)
16575
 
      if test -d /usr/nec; then
16576
 
        lt_prog_compiler_pic_CXX=-Kconform_pic
16577
 
      fi
16578
 
      ;;
16579
 
    hpux*)
16580
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16581
 
      # not for PA HP-UX.
16582
 
      case $host_cpu in
16583
 
      hppa*64*|ia64*)
16584
 
        ;;
16585
 
      *)
16586
 
        lt_prog_compiler_pic_CXX='-fPIC'
16587
 
        ;;
16588
 
      esac
16589
 
      ;;
16590
 
    *)
16591
 
      lt_prog_compiler_pic_CXX='-fPIC'
16592
 
      ;;
16593
 
    esac
16594
 
  else
16595
 
    case $host_os in
16596
 
      aix[4-9]*)
16597
 
        # All AIX code is PIC.
16598
 
        if test "$host_cpu" = ia64; then
16599
 
          # AIX 5 now supports IA64 processor
16600
 
          lt_prog_compiler_static_CXX='-Bstatic'
16601
 
        else
16602
 
          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
16603
 
        fi
16604
 
        ;;
16605
 
      chorus*)
16606
 
        case $cc_basename in
16607
 
        cxch68*)
16608
 
          # Green Hills C++ Compiler
16609
 
          # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
16610
 
          ;;
16611
 
        esac
16612
 
        ;;
16613
 
       darwin*)
16614
 
         # PIC is the default on this platform
16615
 
         # Common symbols not allowed in MH_DYLIB files
16616
 
         case $cc_basename in
16617
 
           xlc*)
16618
 
           lt_prog_compiler_pic_CXX='-qnocommon'
16619
 
           lt_prog_compiler_wl_CXX='-Wl,'
16620
 
           ;;
16621
 
         esac
16622
 
       ;;
16623
 
      dgux*)
16624
 
        case $cc_basename in
16625
 
          ec++*)
16626
 
            lt_prog_compiler_pic_CXX='-KPIC'
16627
 
            ;;
16628
 
          ghcx*)
16629
 
            # Green Hills C++ Compiler
16630
 
            lt_prog_compiler_pic_CXX='-pic'
16631
 
            ;;
16632
 
          *)
16633
 
            ;;
16634
 
        esac
16635
 
        ;;
16636
 
      freebsd* | dragonfly*)
16637
 
        # FreeBSD uses GNU C++
16638
 
        ;;
16639
 
      hpux9* | hpux10* | hpux11*)
16640
 
        case $cc_basename in
16641
 
          CC*)
16642
 
            lt_prog_compiler_wl_CXX='-Wl,'
16643
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
16644
 
            if test "$host_cpu" != ia64; then
16645
 
              lt_prog_compiler_pic_CXX='+Z'
16646
 
            fi
16647
 
            ;;
16648
 
          aCC*)
16649
 
            lt_prog_compiler_wl_CXX='-Wl,'
16650
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
16651
 
            case $host_cpu in
16652
 
            hppa*64*|ia64*)
16653
 
              # +Z the default
16654
 
              ;;
16655
 
            *)
16656
 
              lt_prog_compiler_pic_CXX='+Z'
16657
 
              ;;
16658
 
            esac
16659
 
            ;;
16660
 
          *)
16661
 
            ;;
16662
 
        esac
16663
 
        ;;
16664
 
      interix*)
16665
 
        # This is c89, which is MS Visual C++ (no shared libs)
16666
 
        # Anyone wants to do a port?
16667
 
        ;;
16668
 
      irix5* | irix6* | nonstopux*)
16669
 
        case $cc_basename in
16670
 
          CC*)
16671
 
            lt_prog_compiler_wl_CXX='-Wl,'
16672
 
            lt_prog_compiler_static_CXX='-non_shared'
16673
 
            # CC pic flag -KPIC is the default.
16674
 
            ;;
16675
 
          *)
16676
 
            ;;
16677
 
        esac
16678
 
        ;;
16679
 
      linux* | k*bsd*-gnu)
16680
 
        case $cc_basename in
16681
 
          KCC*)
16682
 
            # KAI C++ Compiler
16683
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
16684
 
            lt_prog_compiler_pic_CXX='-fPIC'
16685
 
            ;;
16686
 
          icpc* | ecpc*)
16687
 
            # Intel C++
16688
 
            lt_prog_compiler_wl_CXX='-Wl,'
16689
 
            lt_prog_compiler_pic_CXX='-KPIC'
16690
 
            lt_prog_compiler_static_CXX='-static'
16691
 
            ;;
16692
 
          pgCC* | pgcpp*)
16693
 
            # Portland Group C++ compiler.
16694
 
            lt_prog_compiler_wl_CXX='-Wl,'
16695
 
            lt_prog_compiler_pic_CXX='-fpic'
16696
 
            lt_prog_compiler_static_CXX='-Bstatic'
16697
 
            ;;
16698
 
          cxx*)
16699
 
            # Compaq C++
16700
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
16701
 
            # Linux and Compaq Tru64 Unix objects are PIC.
16702
 
            lt_prog_compiler_pic_CXX=
16703
 
            lt_prog_compiler_static_CXX='-non_shared'
16704
 
            ;;
16705
 
          *)
16706
 
            case `$CC -V 2>&1 | sed 5q` in
16707
 
            *Sun\ C*)
16708
 
              # Sun C++ 5.9
16709
 
              lt_prog_compiler_pic_CXX='-KPIC'
16710
 
              lt_prog_compiler_static_CXX='-Bstatic'
16711
 
              lt_prog_compiler_wl_CXX='-Qoption ld '
16712
 
              ;;
16713
 
            esac
16714
 
            ;;
16715
 
        esac
16716
 
        ;;
16717
 
      lynxos*)
16718
 
        ;;
16719
 
      m88k*)
16720
 
        ;;
16721
 
      mvs*)
16722
 
        case $cc_basename in
16723
 
          cxx*)
16724
 
            lt_prog_compiler_pic_CXX='-W c,exportall'
16725
 
            ;;
16726
 
          *)
16727
 
            ;;
16728
 
        esac
16729
 
        ;;
16730
 
      netbsd*)
16731
 
        ;;
16732
 
      osf3* | osf4* | osf5*)
16733
 
        case $cc_basename in
16734
 
          KCC*)
16735
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
16736
 
            ;;
16737
 
          RCC*)
16738
 
            # Rational C++ 2.4.1
16739
 
            lt_prog_compiler_pic_CXX='-pic'
16740
 
            ;;
16741
 
          cxx*)
16742
 
            # Digital/Compaq C++
16743
 
            lt_prog_compiler_wl_CXX='-Wl,'
16744
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
16745
 
            # Linux and Compaq Tru64 Unix objects are PIC.
16746
 
            lt_prog_compiler_pic_CXX=
16747
 
            lt_prog_compiler_static_CXX='-non_shared'
16748
 
            ;;
16749
 
          *)
16750
 
            ;;
16751
 
        esac
16752
 
        ;;
16753
 
      psos*)
16754
 
        ;;
16755
 
      solaris*)
16756
 
        case $cc_basename in
16757
 
          CC*)
16758
 
            # Sun C++ 4.2, 5.x and Centerline C++
16759
 
            lt_prog_compiler_pic_CXX='-KPIC'
16760
 
            lt_prog_compiler_static_CXX='-Bstatic'
16761
 
            lt_prog_compiler_wl_CXX='-Qoption ld '
16762
 
            ;;
16763
 
          gcx*)
16764
 
            # Green Hills C++ Compiler
16765
 
            lt_prog_compiler_pic_CXX='-PIC'
16766
 
            ;;
16767
 
          *)
16768
 
            ;;
16769
 
        esac
16770
 
        ;;
16771
 
      sunos4*)
16772
 
        case $cc_basename in
16773
 
          CC*)
16774
 
            # Sun C++ 4.x
16775
 
            lt_prog_compiler_pic_CXX='-pic'
16776
 
            lt_prog_compiler_static_CXX='-Bstatic'
16777
 
            ;;
16778
 
          lcc*)
16779
 
            # Lucid
16780
 
            lt_prog_compiler_pic_CXX='-pic'
16781
 
            ;;
16782
 
          *)
16783
 
            ;;
16784
 
        esac
16785
 
        ;;
16786
 
      tandem*)
16787
 
        case $cc_basename in
16788
 
          NCC*)
16789
 
            # NonStop-UX NCC 3.20
16790
 
            lt_prog_compiler_pic_CXX='-KPIC'
16791
 
            ;;
16792
 
          *)
16793
 
            ;;
16794
 
        esac
16795
 
        ;;
16796
 
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16797
 
        case $cc_basename in
16798
 
          CC*)
16799
 
            lt_prog_compiler_wl_CXX='-Wl,'
16800
 
            lt_prog_compiler_pic_CXX='-KPIC'
16801
 
            lt_prog_compiler_static_CXX='-Bstatic'
16802
 
            ;;
16803
 
        esac
16804
 
        ;;
16805
 
      vxworks*)
16806
 
        ;;
16807
 
      *)
16808
 
        lt_prog_compiler_can_build_shared_CXX=no
16809
 
        ;;
16810
 
    esac
16811
 
  fi
16812
 
 
16813
 
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
16814
 
$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
16815
 
 
16816
 
#
16817
 
# Check to make sure the PIC flag actually works.
16818
 
#
16819
 
if test -n "$lt_prog_compiler_pic_CXX"; then
16820
 
 
16821
 
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
16822
 
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
16823
 
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
16824
 
  $as_echo_n "(cached) " >&6
16825
 
else
16826
 
  lt_cv_prog_compiler_pic_works_CXX=no
16827
 
  ac_outfile=conftest.$ac_objext
16828
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16829
 
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
16830
 
   # Insert the option either (1) after the last *FLAGS variable, or
16831
 
   # (2) before a word containing "conftest.", or (3) at the end.
16832
 
   # Note that $ac_compile itself does not contain backslashes and begins
16833
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
16834
 
   # The option is referenced via a variable to avoid confusing sed.
16835
 
   lt_compile=`echo "$ac_compile" | $SED \
16836
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16837
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16838
 
   -e 's:$: $lt_compiler_flag:'`
16839
 
   (eval echo "\"\$as_me:16839: $lt_compile\"" >&5)
16840
 
   (eval "$lt_compile" 2>conftest.err)
16841
 
   ac_status=$?
16842
 
   cat conftest.err >&5
16843
 
   echo "$as_me:16843: \$? = $ac_status" >&5
16844
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
16845
 
     # The compiler can only warn and ignore the option if not recognized
16846
 
     # So say no if there are warnings other than the usual output.
16847
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
16848
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16849
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16850
 
       lt_cv_prog_compiler_pic_works_CXX=yes
16851
 
     fi
16852
 
   fi
16853
 
   $rm conftest*
16854
 
 
16855
 
fi
16856
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16857
 
$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
16858
 
 
16859
 
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
16860
 
    case $lt_prog_compiler_pic_CXX in
16861
 
     "" | " "*) ;;
16862
 
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
16863
 
     esac
16864
 
else
16865
 
    lt_prog_compiler_pic_CXX=
16866
 
     lt_prog_compiler_can_build_shared_CXX=no
16867
 
fi
16868
 
 
16869
 
fi
16870
 
case $host_os in
16871
 
  # For platforms which do not support PIC, -DPIC is meaningless:
16872
 
  *djgpp*)
16873
 
    lt_prog_compiler_pic_CXX=
16874
 
    ;;
16875
 
  *)
16876
 
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
16877
 
    ;;
16878
 
esac
16879
 
 
16880
 
#
16881
 
# Check to make sure the static flag actually works.
16882
 
#
16883
 
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
16884
 
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16885
 
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16886
 
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
16887
 
  $as_echo_n "(cached) " >&6
16888
 
else
16889
 
  lt_cv_prog_compiler_static_works_CXX=no
16890
 
   save_LDFLAGS="$LDFLAGS"
16891
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16892
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
16893
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16894
 
     # The linker can only warn and ignore the option if not recognized
16895
 
     # So say no if there are warnings
16896
 
     if test -s conftest.err; then
16897
 
       # Append any errors to the config.log.
16898
 
       cat conftest.err 1>&5
16899
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
16900
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16901
 
       if diff conftest.exp conftest.er2 >/dev/null; then
16902
 
         lt_cv_prog_compiler_static_works_CXX=yes
16903
 
       fi
16904
 
     else
16905
 
       lt_cv_prog_compiler_static_works_CXX=yes
16906
 
     fi
16907
 
   fi
16908
 
   $rm -r conftest*
16909
 
   LDFLAGS="$save_LDFLAGS"
16910
 
 
16911
 
fi
16912
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16913
 
$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
16914
 
 
16915
 
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
16916
 
    :
16917
 
else
16918
 
    lt_prog_compiler_static_CXX=
16919
 
fi
16920
 
 
16921
 
 
16922
 
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16923
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16924
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
16925
 
  $as_echo_n "(cached) " >&6
16926
 
else
16927
 
  lt_cv_prog_compiler_c_o_CXX=no
16928
 
   $rm -r conftest 2>/dev/null
16929
 
   mkdir conftest
16930
 
   cd conftest
16931
 
   mkdir out
16932
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16933
 
 
16934
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
16935
 
   # Insert the option either (1) after the last *FLAGS variable, or
16936
 
   # (2) before a word containing "conftest.", or (3) at the end.
16937
 
   # Note that $ac_compile itself does not contain backslashes and begins
16938
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
16939
 
   lt_compile=`echo "$ac_compile" | $SED \
16940
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16941
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16942
 
   -e 's:$: $lt_compiler_flag:'`
16943
 
   (eval echo "\"\$as_me:16943: $lt_compile\"" >&5)
16944
 
   (eval "$lt_compile" 2>out/conftest.err)
16945
 
   ac_status=$?
16946
 
   cat out/conftest.err >&5
16947
 
   echo "$as_me:16947: \$? = $ac_status" >&5
16948
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
16949
 
   then
16950
 
     # The compiler can only warn and ignore the option if not recognized
16951
 
     # So say no if there are warnings
16952
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
16953
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16954
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16955
 
       lt_cv_prog_compiler_c_o_CXX=yes
16956
 
     fi
16957
 
   fi
16958
 
   chmod u+w . 2>&5
16959
 
   $rm conftest*
16960
 
   # SGI C++ compiler will create directory out/ii_files/ for
16961
 
   # template instantiation
16962
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
16963
 
   $rm out/* && rmdir out
16964
 
   cd ..
16965
 
   rmdir conftest
16966
 
   $rm conftest*
16967
 
 
16968
 
fi
16969
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16970
 
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16971
 
 
16972
 
 
16973
 
hard_links="nottested"
16974
 
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
16975
 
  # do not overwrite the value of need_locks provided by the user
16976
 
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16977
 
$as_echo_n "checking if we can lock with hard links... " >&6; }
16978
 
  hard_links=yes
16979
 
  $rm conftest*
16980
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16981
 
  touch conftest.a
16982
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
16983
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16984
 
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
16985
 
$as_echo "$hard_links" >&6; }
16986
 
  if test "$hard_links" = no; then
16987
 
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16988
 
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16989
 
    need_locks=warn
16990
 
  fi
16991
 
else
16992
 
  need_locks=no
16993
 
fi
16994
 
 
16995
 
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16996
 
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16997
 
 
16998
 
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16999
 
  case $host_os in
17000
 
  aix[4-9]*)
17001
 
    # If we're using GNU nm, then we don't want the "-C" option.
17002
 
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
17003
 
    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
17004
 
      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
17005
 
    else
17006
 
      export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
17007
 
    fi
17008
 
    ;;
17009
 
  pw32*)
17010
 
    export_symbols_cmds_CXX="$ltdll_cmds"
17011
 
  ;;
17012
 
  cygwin* | mingw*)
17013
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
17014
 
  ;;
17015
 
  *)
17016
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17017
 
  ;;
17018
 
  esac
17019
 
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17020
 
 
17021
 
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
17022
 
$as_echo "$ld_shlibs_CXX" >&6; }
17023
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
17024
 
 
17025
 
#
17026
 
# Do we need to explicitly link libc?
17027
 
#
17028
 
case "x$archive_cmds_need_lc_CXX" in
17029
 
x|xyes)
17030
 
  # Assume -lc should be added
17031
 
  archive_cmds_need_lc_CXX=yes
17032
 
 
17033
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
17034
 
    case $archive_cmds_CXX in
17035
 
    *'~'*)
17036
 
      # FIXME: we may have to deal with multi-command sequences.
17037
 
      ;;
17038
 
    '$CC '*)
17039
 
      # Test whether the compiler implicitly links with -lc since on some
17040
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
17041
 
      # to ld, don't add -lc before -lgcc.
17042
 
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17043
 
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
17044
 
      $rm conftest*
17045
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17046
 
 
17047
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17048
 
  (eval $ac_compile) 2>&5
17049
 
  ac_status=$?
17050
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17051
 
  (exit $ac_status); } 2>conftest.err; then
17052
 
        soname=conftest
17053
 
        lib=conftest
17054
 
        libobjs=conftest.$ac_objext
17055
 
        deplibs=
17056
 
        wl=$lt_prog_compiler_wl_CXX
17057
 
        pic_flag=$lt_prog_compiler_pic_CXX
17058
 
        compiler_flags=-v
17059
 
        linker_flags=-v
17060
 
        verstring=
17061
 
        output_objdir=.
17062
 
        libname=conftest
17063
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
17064
 
        allow_undefined_flag_CXX=
17065
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17066
 
  (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
17067
 
  ac_status=$?
17068
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17069
 
  (exit $ac_status); }
17070
 
        then
17071
 
          archive_cmds_need_lc_CXX=no
17072
 
        else
17073
 
          archive_cmds_need_lc_CXX=yes
17074
 
        fi
17075
 
        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
17076
 
      else
17077
 
        cat conftest.err 1>&5
17078
 
      fi
17079
 
      $rm conftest*
17080
 
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
17081
 
$as_echo "$archive_cmds_need_lc_CXX" >&6; }
17082
 
      ;;
17083
 
    esac
17084
 
  fi
17085
 
  ;;
17086
 
esac
17087
 
 
17088
 
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17089
 
$as_echo_n "checking dynamic linker characteristics... " >&6; }
17090
 
library_names_spec=
17091
 
libname_spec='lib$name'
17092
 
soname_spec=
17093
 
shrext_cmds=".so"
17094
 
postinstall_cmds=
17095
 
postuninstall_cmds=
17096
 
finish_cmds=
17097
 
finish_eval=
17098
 
shlibpath_var=
17099
 
shlibpath_overrides_runpath=unknown
17100
 
version_type=none
17101
 
dynamic_linker="$host_os ld.so"
17102
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
17103
 
 
17104
 
need_lib_prefix=unknown
17105
 
hardcode_into_libs=no
17106
 
 
17107
 
# when you set need_version to no, make sure it does not cause -set_version
17108
 
# flags to be left without arguments
17109
 
need_version=unknown
17110
 
 
17111
 
case $host_os in
17112
 
aix3*)
17113
 
  version_type=linux
17114
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
17115
 
  shlibpath_var=LIBPATH
17116
 
 
17117
 
  # AIX 3 has no versioning support, so we append a major version to the name.
17118
 
  soname_spec='${libname}${release}${shared_ext}$major'
17119
 
  ;;
17120
 
 
17121
 
aix[4-9]*)
17122
 
  version_type=linux
17123
 
  need_lib_prefix=no
17124
 
  need_version=no
17125
 
  hardcode_into_libs=yes
17126
 
  if test "$host_cpu" = ia64; then
17127
 
    # AIX 5 supports IA64
17128
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17129
 
    shlibpath_var=LD_LIBRARY_PATH
17130
 
  else
17131
 
    # With GCC up to 2.95.x, collect2 would create an import file
17132
 
    # for dependence libraries.  The import file would start with
17133
 
    # the line `#! .'.  This would cause the generated library to
17134
 
    # depend on `.', always an invalid library.  This was fixed in
17135
 
    # development snapshots of GCC prior to 3.0.
17136
 
    case $host_os in
17137
 
      aix4 | aix4.[01] | aix4.[01].*)
17138
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17139
 
           echo ' yes '
17140
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
17141
 
        :
17142
 
      else
17143
 
        can_build_shared=no
17144
 
      fi
17145
 
      ;;
17146
 
    esac
17147
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17148
 
    # soname into executable. Probably we can add versioning support to
17149
 
    # collect2, so additional links can be useful in future.
17150
 
    if test "$aix_use_runtimelinking" = yes; then
17151
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17152
 
      # instead of lib<name>.a to let people know that these are not
17153
 
      # typical AIX shared libraries.
17154
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17155
 
    else
17156
 
      # We preserve .a as extension for shared libraries through AIX4.2
17157
 
      # and later when we are not doing run time linking.
17158
 
      library_names_spec='${libname}${release}.a $libname.a'
17159
 
      soname_spec='${libname}${release}${shared_ext}$major'
17160
 
    fi
17161
 
    shlibpath_var=LIBPATH
17162
 
  fi
17163
 
  ;;
17164
 
 
17165
 
amigaos*)
17166
 
  library_names_spec='$libname.ixlibrary $libname.a'
17167
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
17168
 
  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'
17169
 
  ;;
17170
 
 
17171
 
beos*)
17172
 
  library_names_spec='${libname}${shared_ext}'
17173
 
  dynamic_linker="$host_os ld.so"
17174
 
  shlibpath_var=LIBRARY_PATH
17175
 
  ;;
17176
 
 
17177
 
bsdi[45]*)
17178
 
  version_type=linux
17179
 
  need_version=no
17180
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17181
 
  soname_spec='${libname}${release}${shared_ext}$major'
17182
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
17183
 
  shlibpath_var=LD_LIBRARY_PATH
17184
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17185
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
17186
 
  # the default ld.so.conf also contains /usr/contrib/lib and
17187
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17188
 
  # libtool to hard-code these into programs
17189
 
  ;;
17190
 
 
17191
 
cygwin* | mingw* | pw32*)
17192
 
  version_type=windows
17193
 
  shrext_cmds=".dll"
17194
 
  need_version=no
17195
 
  need_lib_prefix=no
17196
 
 
17197
 
  case $GCC,$host_os in
17198
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
17199
 
    library_names_spec='$libname.dll.a'
17200
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
17201
 
    postinstall_cmds='base_file=`basename \${file}`~
17202
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
17203
 
      dldir=$destdir/`dirname \$dlpath`~
17204
 
      test -d \$dldir || mkdir -p \$dldir~
17205
 
      $install_prog $dir/$dlname \$dldir/$dlname~
17206
 
      chmod a+x \$dldir/$dlname'
17207
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17208
 
      dlpath=$dir/\$dldll~
17209
 
       $rm \$dlpath'
17210
 
    shlibpath_overrides_runpath=yes
17211
 
 
17212
 
    case $host_os in
17213
 
    cygwin*)
17214
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17215
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17216
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
17217
 
      ;;
17218
 
    mingw*)
17219
 
      # MinGW DLLs use traditional 'lib' prefix
17220
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17221
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17222
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
17223
 
        # It is most probably a Windows format PATH printed by
17224
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
17225
 
        # path with ; separators, and with drive letters. We can handle the
17226
 
        # drive letters (cygwin fileutils understands them), so leave them,
17227
 
        # especially as we might pass files found there to a mingw objdump,
17228
 
        # which wouldn't understand a cygwinified path. Ahh.
17229
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17230
 
      else
17231
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
17232
 
      fi
17233
 
      ;;
17234
 
    pw32*)
17235
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
17236
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17237
 
      ;;
17238
 
    esac
17239
 
    ;;
17240
 
 
17241
 
  *)
17242
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17243
 
    ;;
17244
 
  esac
17245
 
  dynamic_linker='Win32 ld.exe'
17246
 
  # FIXME: first we should search . and the directory the executable is in
17247
 
  shlibpath_var=PATH
17248
 
  ;;
17249
 
 
17250
 
darwin* | rhapsody*)
17251
 
  dynamic_linker="$host_os dyld"
17252
 
  version_type=darwin
17253
 
  need_lib_prefix=no
17254
 
  need_version=no
17255
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17256
 
  soname_spec='${libname}${release}${major}$shared_ext'
17257
 
  shlibpath_overrides_runpath=yes
17258
 
  shlibpath_var=DYLD_LIBRARY_PATH
17259
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17260
 
 
17261
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17262
 
  ;;
17263
 
 
17264
 
dgux*)
17265
 
  version_type=linux
17266
 
  need_lib_prefix=no
17267
 
  need_version=no
17268
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17269
 
  soname_spec='${libname}${release}${shared_ext}$major'
17270
 
  shlibpath_var=LD_LIBRARY_PATH
17271
 
  ;;
17272
 
 
17273
 
freebsd1*)
17274
 
  dynamic_linker=no
17275
 
  ;;
17276
 
 
17277
 
freebsd* | dragonfly*)
17278
 
  # DragonFly does not have aout.  When/if they implement a new
17279
 
  # versioning mechanism, adjust this.
17280
 
  if test -x /usr/bin/objformat; then
17281
 
    objformat=`/usr/bin/objformat`
17282
 
  else
17283
 
    case $host_os in
17284
 
    freebsd[123]*) objformat=aout ;;
17285
 
    *) objformat=elf ;;
17286
 
    esac
17287
 
  fi
17288
 
  version_type=freebsd-$objformat
17289
 
  case $version_type in
17290
 
    freebsd-elf*)
17291
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17292
 
      need_version=no
17293
 
      need_lib_prefix=no
17294
 
      ;;
17295
 
    freebsd-*)
17296
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17297
 
      need_version=yes
17298
 
      ;;
17299
 
  esac
17300
 
  shlibpath_var=LD_LIBRARY_PATH
17301
 
  case $host_os in
17302
 
  freebsd2*)
17303
 
    shlibpath_overrides_runpath=yes
17304
 
    ;;
17305
 
  freebsd3.[01]* | freebsdelf3.[01]*)
17306
 
    shlibpath_overrides_runpath=yes
17307
 
    hardcode_into_libs=yes
17308
 
    ;;
17309
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
17310
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
17311
 
    shlibpath_overrides_runpath=no
17312
 
    hardcode_into_libs=yes
17313
 
    ;;
17314
 
  *) # from 4.6 on, and DragonFly
17315
 
    shlibpath_overrides_runpath=yes
17316
 
    hardcode_into_libs=yes
17317
 
    ;;
17318
 
  esac
17319
 
  ;;
17320
 
 
17321
 
gnu*)
17322
 
  version_type=linux
17323
 
  need_lib_prefix=no
17324
 
  need_version=no
17325
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17326
 
  soname_spec='${libname}${release}${shared_ext}$major'
17327
 
  shlibpath_var=LD_LIBRARY_PATH
17328
 
  hardcode_into_libs=yes
17329
 
  ;;
17330
 
 
17331
 
hpux9* | hpux10* | hpux11*)
17332
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
17333
 
  # link against other versions.
17334
 
  version_type=sunos
17335
 
  need_lib_prefix=no
17336
 
  need_version=no
17337
 
  case $host_cpu in
17338
 
  ia64*)
17339
 
    shrext_cmds='.so'
17340
 
    hardcode_into_libs=yes
17341
 
    dynamic_linker="$host_os dld.so"
17342
 
    shlibpath_var=LD_LIBRARY_PATH
17343
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17344
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17345
 
    soname_spec='${libname}${release}${shared_ext}$major'
17346
 
    if test "X$HPUX_IA64_MODE" = X32; then
17347
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17348
 
    else
17349
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
17350
 
    fi
17351
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17352
 
    ;;
17353
 
   hppa*64*)
17354
 
     shrext_cmds='.sl'
17355
 
     hardcode_into_libs=yes
17356
 
     dynamic_linker="$host_os dld.sl"
17357
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
17358
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17359
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17360
 
     soname_spec='${libname}${release}${shared_ext}$major'
17361
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17362
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17363
 
     ;;
17364
 
   *)
17365
 
    shrext_cmds='.sl'
17366
 
    dynamic_linker="$host_os dld.sl"
17367
 
    shlibpath_var=SHLIB_PATH
17368
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
17369
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17370
 
    soname_spec='${libname}${release}${shared_ext}$major'
17371
 
    ;;
17372
 
  esac
17373
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
17374
 
  postinstall_cmds='chmod 555 $lib'
17375
 
  ;;
17376
 
 
17377
 
interix[3-9]*)
17378
 
  version_type=linux
17379
 
  need_lib_prefix=no
17380
 
  need_version=no
17381
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17382
 
  soname_spec='${libname}${release}${shared_ext}$major'
17383
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
17384
 
  shlibpath_var=LD_LIBRARY_PATH
17385
 
  shlibpath_overrides_runpath=no
17386
 
  hardcode_into_libs=yes
17387
 
  ;;
17388
 
 
17389
 
irix5* | irix6* | nonstopux*)
17390
 
  case $host_os in
17391
 
    nonstopux*) version_type=nonstopux ;;
17392
 
    *)
17393
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
17394
 
                version_type=linux
17395
 
        else
17396
 
                version_type=irix
17397
 
        fi ;;
17398
 
  esac
17399
 
  need_lib_prefix=no
17400
 
  need_version=no
17401
 
  soname_spec='${libname}${release}${shared_ext}$major'
17402
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17403
 
  case $host_os in
17404
 
  irix5* | nonstopux*)
17405
 
    libsuff= shlibsuff=
17406
 
    ;;
17407
 
  *)
17408
 
    case $LD in # libtool.m4 will add one of these switches to LD
17409
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
17410
 
      libsuff= shlibsuff= libmagic=32-bit;;
17411
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
17412
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
17413
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
17414
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
17415
 
    *) libsuff= shlibsuff= libmagic=never-match;;
17416
 
    esac
17417
 
    ;;
17418
 
  esac
17419
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
17420
 
  shlibpath_overrides_runpath=no
17421
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17422
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
17423
 
  hardcode_into_libs=yes
17424
 
  ;;
17425
 
 
17426
 
# No shared lib support for Linux oldld, aout, or coff.
17427
 
linux*oldld* | linux*aout* | linux*coff*)
17428
 
  dynamic_linker=no
17429
 
  ;;
17430
 
 
17431
 
# This must be Linux ELF.
17432
 
linux* | k*bsd*-gnu)
17433
 
  version_type=linux
17434
 
  need_lib_prefix=no
17435
 
  need_version=no
17436
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17437
 
  soname_spec='${libname}${release}${shared_ext}$major'
17438
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17439
 
  shlibpath_var=LD_LIBRARY_PATH
17440
 
  shlibpath_overrides_runpath=no
17441
 
  # This implies no fast_install, which is unacceptable.
17442
 
  # Some rework will be needed to allow for fast_install
17443
 
  # before this can be enabled.
17444
 
  hardcode_into_libs=yes
17445
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17446
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
17447
 
 
17448
 
  # Append ld.so.conf contents to the search path
17449
 
  if test -f /etc/ld.so.conf; then
17450
 
    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' ' '`
17451
 
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
17452
 
  fi
17453
 
 
17454
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
17455
 
  # powerpc, because MkLinux only supported shared libraries with the
17456
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
17457
 
  # most powerpc-linux boxes support dynamic linking these days and
17458
 
  # people can always --disable-shared, the test was removed, and we
17459
 
  # assume the GNU/Linux dynamic linker is in use.
17460
 
  dynamic_linker='GNU/Linux ld.so'
17461
 
  ;;
17462
 
 
17463
 
netbsd*)
17464
 
  version_type=sunos
17465
 
  need_lib_prefix=no
17466
 
  need_version=no
17467
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17468
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17469
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17470
 
    dynamic_linker='NetBSD (a.out) ld.so'
17471
 
  else
17472
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17473
 
    soname_spec='${libname}${release}${shared_ext}$major'
17474
 
    dynamic_linker='NetBSD ld.elf_so'
17475
 
  fi
17476
 
  shlibpath_var=LD_LIBRARY_PATH
17477
 
  shlibpath_overrides_runpath=yes
17478
 
  hardcode_into_libs=yes
17479
 
  ;;
17480
 
 
17481
 
newsos6)
17482
 
  version_type=linux
17483
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17484
 
  shlibpath_var=LD_LIBRARY_PATH
17485
 
  shlibpath_overrides_runpath=yes
17486
 
  ;;
17487
 
 
17488
 
nto-qnx*)
17489
 
  version_type=linux
17490
 
  need_lib_prefix=no
17491
 
  need_version=no
17492
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17493
 
  soname_spec='${libname}${release}${shared_ext}$major'
17494
 
  shlibpath_var=LD_LIBRARY_PATH
17495
 
  shlibpath_overrides_runpath=yes
17496
 
  ;;
17497
 
 
17498
 
openbsd*)
17499
 
  version_type=sunos
17500
 
  sys_lib_dlsearch_path_spec="/usr/lib"
17501
 
  need_lib_prefix=no
17502
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17503
 
  case $host_os in
17504
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
17505
 
    *)                         need_version=no  ;;
17506
 
  esac
17507
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17508
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17509
 
  shlibpath_var=LD_LIBRARY_PATH
17510
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17511
 
    case $host_os in
17512
 
      openbsd2.[89] | openbsd2.[89].*)
17513
 
        shlibpath_overrides_runpath=no
17514
 
        ;;
17515
 
      *)
17516
 
        shlibpath_overrides_runpath=yes
17517
 
        ;;
17518
 
      esac
17519
 
  else
17520
 
    shlibpath_overrides_runpath=yes
17521
 
  fi
17522
 
  ;;
17523
 
 
17524
 
os2*)
17525
 
  libname_spec='$name'
17526
 
  shrext_cmds=".dll"
17527
 
  need_lib_prefix=no
17528
 
  library_names_spec='$libname${shared_ext} $libname.a'
17529
 
  dynamic_linker='OS/2 ld.exe'
17530
 
  shlibpath_var=LIBPATH
17531
 
  ;;
17532
 
 
17533
 
osf3* | osf4* | osf5*)
17534
 
  version_type=osf
17535
 
  need_lib_prefix=no
17536
 
  need_version=no
17537
 
  soname_spec='${libname}${release}${shared_ext}$major'
17538
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17539
 
  shlibpath_var=LD_LIBRARY_PATH
17540
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17541
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17542
 
  ;;
17543
 
 
17544
 
rdos*)
17545
 
  dynamic_linker=no
17546
 
  ;;
17547
 
 
17548
 
solaris*)
17549
 
  version_type=linux
17550
 
  need_lib_prefix=no
17551
 
  need_version=no
17552
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17553
 
  soname_spec='${libname}${release}${shared_ext}$major'
17554
 
  shlibpath_var=LD_LIBRARY_PATH
17555
 
  shlibpath_overrides_runpath=yes
17556
 
  hardcode_into_libs=yes
17557
 
  # ldd complains unless libraries are executable
17558
 
  postinstall_cmds='chmod +x $lib'
17559
 
  ;;
17560
 
 
17561
 
sunos4*)
17562
 
  version_type=sunos
17563
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17564
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17565
 
  shlibpath_var=LD_LIBRARY_PATH
17566
 
  shlibpath_overrides_runpath=yes
17567
 
  if test "$with_gnu_ld" = yes; then
17568
 
    need_lib_prefix=no
17569
 
  fi
17570
 
  need_version=yes
17571
 
  ;;
17572
 
 
17573
 
sysv4 | sysv4.3*)
17574
 
  version_type=linux
17575
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17576
 
  soname_spec='${libname}${release}${shared_ext}$major'
17577
 
  shlibpath_var=LD_LIBRARY_PATH
17578
 
  case $host_vendor in
17579
 
    sni)
17580
 
      shlibpath_overrides_runpath=no
17581
 
      need_lib_prefix=no
17582
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
17583
 
      runpath_var=LD_RUN_PATH
17584
 
      ;;
17585
 
    siemens)
17586
 
      need_lib_prefix=no
17587
 
      ;;
17588
 
    motorola)
17589
 
      need_lib_prefix=no
17590
 
      need_version=no
17591
 
      shlibpath_overrides_runpath=no
17592
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17593
 
      ;;
17594
 
  esac
17595
 
  ;;
17596
 
 
17597
 
sysv4*MP*)
17598
 
  if test -d /usr/nec ;then
17599
 
    version_type=linux
17600
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17601
 
    soname_spec='$libname${shared_ext}.$major'
17602
 
    shlibpath_var=LD_LIBRARY_PATH
17603
 
  fi
17604
 
  ;;
17605
 
 
17606
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17607
 
  version_type=freebsd-elf
17608
 
  need_lib_prefix=no
17609
 
  need_version=no
17610
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17611
 
  soname_spec='${libname}${release}${shared_ext}$major'
17612
 
  shlibpath_var=LD_LIBRARY_PATH
17613
 
  hardcode_into_libs=yes
17614
 
  if test "$with_gnu_ld" = yes; then
17615
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17616
 
    shlibpath_overrides_runpath=no
17617
 
  else
17618
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17619
 
    shlibpath_overrides_runpath=yes
17620
 
    case $host_os in
17621
 
      sco3.2v5*)
17622
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17623
 
        ;;
17624
 
    esac
17625
 
  fi
17626
 
  sys_lib_dlsearch_path_spec='/usr/lib'
17627
 
  ;;
17628
 
 
17629
 
uts4*)
17630
 
  version_type=linux
17631
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17632
 
  soname_spec='${libname}${release}${shared_ext}$major'
17633
 
  shlibpath_var=LD_LIBRARY_PATH
17634
 
  ;;
17635
 
 
17636
 
*)
17637
 
  dynamic_linker=no
17638
 
  ;;
17639
 
esac
17640
 
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17641
 
$as_echo "$dynamic_linker" >&6; }
17642
 
test "$dynamic_linker" = no && can_build_shared=no
17643
 
 
17644
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
17645
 
  $as_echo_n "(cached) " >&6
17646
 
else
17647
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
17648
 
fi
17649
 
 
17650
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
17651
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
17652
 
  $as_echo_n "(cached) " >&6
17653
 
else
17654
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
17655
 
fi
17656
 
 
17657
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
17658
 
 
17659
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17660
 
if test "$GCC" = yes; then
17661
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17662
 
fi
17663
 
 
17664
 
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17665
 
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
17666
 
hardcode_action_CXX=
17667
 
if test -n "$hardcode_libdir_flag_spec_CXX" || \
17668
 
   test -n "$runpath_var_CXX" || \
17669
 
   test "X$hardcode_automatic_CXX" = "Xyes" ; then
17670
 
 
17671
 
  # We can hardcode non-existant directories.
17672
 
  if test "$hardcode_direct_CXX" != no &&
17673
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
17674
 
     # have to relink, otherwise we might link with an installed library
17675
 
     # when we should be linking with a yet-to-be-installed one
17676
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
17677
 
     test "$hardcode_minus_L_CXX" != no; then
17678
 
    # Linking always hardcodes the temporary library directory.
17679
 
    hardcode_action_CXX=relink
17680
 
  else
17681
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
17682
 
    hardcode_action_CXX=immediate
17683
 
  fi
17684
 
else
17685
 
  # We cannot hardcode anything, or else we can only hardcode existing
17686
 
  # directories.
17687
 
  hardcode_action_CXX=unsupported
17688
 
fi
17689
 
{ $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
17690
 
$as_echo "$hardcode_action_CXX" >&6; }
17691
 
 
17692
 
if test "$hardcode_action_CXX" = relink; then
17693
 
  # Fast installation is not supported
17694
 
  enable_fast_install=no
17695
 
elif test "$shlibpath_overrides_runpath" = yes ||
17696
 
     test "$enable_shared" = no; then
17697
 
  # Fast installation is not necessary
17698
 
  enable_fast_install=needless
17699
 
fi
17700
 
 
17701
 
 
17702
 
# The else clause should only fire when bootstrapping the
17703
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
17704
 
# with your package, and you will get complaints that there are
17705
 
# no rules to generate ltmain.sh.
17706
 
if test -f "$ltmain"; then
17707
 
  # See if we are running on zsh, and set the options which allow our commands through
17708
 
  # without removal of \ escapes.
17709
 
  if test -n "${ZSH_VERSION+set}" ; then
17710
 
    setopt NO_GLOB_SUBST
17711
 
  fi
17712
 
  # Now quote all the things that may contain metacharacters while being
17713
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
17714
 
  # variables and quote the copies for generation of the libtool script.
17715
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17716
 
    SED SHELL STRIP \
17717
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17718
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17719
 
    deplibs_check_method reload_flag reload_cmds need_locks \
17720
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17721
 
    lt_cv_sys_global_symbol_to_c_name_address \
17722
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17723
 
    old_postinstall_cmds old_postuninstall_cmds \
17724
 
    compiler_CXX \
17725
 
    CC_CXX \
17726
 
    LD_CXX \
17727
 
    lt_prog_compiler_wl_CXX \
17728
 
    lt_prog_compiler_pic_CXX \
17729
 
    lt_prog_compiler_static_CXX \
17730
 
    lt_prog_compiler_no_builtin_flag_CXX \
17731
 
    export_dynamic_flag_spec_CXX \
17732
 
    thread_safe_flag_spec_CXX \
17733
 
    whole_archive_flag_spec_CXX \
17734
 
    enable_shared_with_static_runtimes_CXX \
17735
 
    old_archive_cmds_CXX \
17736
 
    old_archive_from_new_cmds_CXX \
17737
 
    predep_objects_CXX \
17738
 
    postdep_objects_CXX \
17739
 
    predeps_CXX \
17740
 
    postdeps_CXX \
17741
 
    compiler_lib_search_path_CXX \
17742
 
    compiler_lib_search_dirs_CXX \
17743
 
    archive_cmds_CXX \
17744
 
    archive_expsym_cmds_CXX \
17745
 
    postinstall_cmds_CXX \
17746
 
    postuninstall_cmds_CXX \
17747
 
    old_archive_from_expsyms_cmds_CXX \
17748
 
    allow_undefined_flag_CXX \
17749
 
    no_undefined_flag_CXX \
17750
 
    export_symbols_cmds_CXX \
17751
 
    hardcode_libdir_flag_spec_CXX \
17752
 
    hardcode_libdir_flag_spec_ld_CXX \
17753
 
    hardcode_libdir_separator_CXX \
17754
 
    hardcode_automatic_CXX \
17755
 
    module_cmds_CXX \
17756
 
    module_expsym_cmds_CXX \
17757
 
    lt_cv_prog_compiler_c_o_CXX \
17758
 
    fix_srcfile_path_CXX \
17759
 
    exclude_expsyms_CXX \
17760
 
    include_expsyms_CXX; do
17761
 
 
17762
 
    case $var in
17763
 
    old_archive_cmds_CXX | \
17764
 
    old_archive_from_new_cmds_CXX | \
17765
 
    archive_cmds_CXX | \
17766
 
    archive_expsym_cmds_CXX | \
17767
 
    module_cmds_CXX | \
17768
 
    module_expsym_cmds_CXX | \
17769
 
    old_archive_from_expsyms_cmds_CXX | \
17770
 
    export_symbols_cmds_CXX | \
17771
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
17772
 
    postinstall_cmds | postuninstall_cmds | \
17773
 
    old_postinstall_cmds | old_postuninstall_cmds | \
17774
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17775
 
      # Double-quote double-evaled strings.
17776
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17777
 
      ;;
17778
 
    *)
17779
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17780
 
      ;;
17781
 
    esac
17782
 
  done
17783
 
 
17784
 
  case $lt_echo in
17785
 
  *'\$0 --fallback-echo"')
17786
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17787
 
    ;;
17788
 
  esac
17789
 
 
17790
 
cfgfile="$ofile"
17791
 
 
17792
 
  cat <<__EOF__ >> "$cfgfile"
17793
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
17794
 
 
17795
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17796
 
 
17797
 
# Shell to use when invoking shell scripts.
17798
 
SHELL=$lt_SHELL
17799
 
 
17800
 
# Whether or not to build shared libraries.
17801
 
build_libtool_libs=$enable_shared
17802
 
 
17803
 
# Whether or not to build static libraries.
17804
 
build_old_libs=$enable_static
17805
 
 
17806
 
# Whether or not to add -lc for building shared libraries.
17807
 
build_libtool_need_lc=$archive_cmds_need_lc_CXX
17808
 
 
17809
 
# Whether or not to disallow shared libs when runtime libs are static
17810
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
17811
 
 
17812
 
# Whether or not to optimize for fast installation.
17813
 
fast_install=$enable_fast_install
17814
 
 
17815
 
# The host system.
17816
 
host_alias=$host_alias
17817
 
host=$host
17818
 
host_os=$host_os
17819
 
 
17820
 
# The build system.
17821
 
build_alias=$build_alias
17822
 
build=$build
17823
 
build_os=$build_os
17824
 
 
17825
 
# An echo program that does not interpret backslashes.
17826
 
echo=$lt_echo
17827
 
 
17828
 
# The archiver.
17829
 
AR=$lt_AR
17830
 
AR_FLAGS=$lt_AR_FLAGS
17831
 
 
17832
 
# A C compiler.
17833
 
LTCC=$lt_LTCC
17834
 
 
17835
 
# LTCC compiler flags.
17836
 
LTCFLAGS=$lt_LTCFLAGS
17837
 
 
17838
 
# A language-specific compiler.
17839
 
CC=$lt_compiler_CXX
17840
 
 
17841
 
# Is the compiler the GNU C compiler?
17842
 
with_gcc=$GCC_CXX
17843
 
 
17844
 
# An ERE matcher.
17845
 
EGREP=$lt_EGREP
17846
 
 
17847
 
# The linker used to build libraries.
17848
 
LD=$lt_LD_CXX
17849
 
 
17850
 
# Whether we need hard or soft links.
17851
 
LN_S=$lt_LN_S
17852
 
 
17853
 
# A BSD-compatible nm program.
17854
 
NM=$lt_NM
17855
 
 
17856
 
# A symbol stripping program
17857
 
STRIP=$lt_STRIP
17858
 
 
17859
 
# Used to examine libraries when file_magic_cmd begins "file"
17860
 
MAGIC_CMD=$MAGIC_CMD
17861
 
 
17862
 
# Used on cygwin: DLL creation program.
17863
 
DLLTOOL="$DLLTOOL"
17864
 
 
17865
 
# Used on cygwin: object dumper.
17866
 
OBJDUMP="$OBJDUMP"
17867
 
 
17868
 
# Used on cygwin: assembler.
17869
 
AS="$AS"
17870
 
 
17871
 
# The name of the directory that contains temporary libtool files.
17872
 
objdir=$objdir
17873
 
 
17874
 
# How to create reloadable object files.
17875
 
reload_flag=$lt_reload_flag
17876
 
reload_cmds=$lt_reload_cmds
17877
 
 
17878
 
# How to pass a linker flag through the compiler.
17879
 
wl=$lt_lt_prog_compiler_wl_CXX
17880
 
 
17881
 
# Object file suffix (normally "o").
17882
 
objext="$ac_objext"
17883
 
 
17884
 
# Old archive suffix (normally "a").
17885
 
libext="$libext"
17886
 
 
17887
 
# Shared library suffix (normally ".so").
17888
 
shrext_cmds='$shrext_cmds'
17889
 
 
17890
 
# Executable file suffix (normally "").
17891
 
exeext="$exeext"
17892
 
 
17893
 
# Additional compiler flags for building library objects.
17894
 
pic_flag=$lt_lt_prog_compiler_pic_CXX
17895
 
pic_mode=$pic_mode
17896
 
 
17897
 
# What is the maximum length of a command?
17898
 
max_cmd_len=$lt_cv_sys_max_cmd_len
17899
 
 
17900
 
# Does compiler simultaneously support -c and -o options?
17901
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
17902
 
 
17903
 
# Must we lock files when doing compilation?
17904
 
need_locks=$lt_need_locks
17905
 
 
17906
 
# Do we need the lib prefix for modules?
17907
 
need_lib_prefix=$need_lib_prefix
17908
 
 
17909
 
# Do we need a version for libraries?
17910
 
need_version=$need_version
17911
 
 
17912
 
# Whether dlopen is supported.
17913
 
dlopen_support=$enable_dlopen
17914
 
 
17915
 
# Whether dlopen of programs is supported.
17916
 
dlopen_self=$enable_dlopen_self
17917
 
 
17918
 
# Whether dlopen of statically linked programs is supported.
17919
 
dlopen_self_static=$enable_dlopen_self_static
17920
 
 
17921
 
# Compiler flag to prevent dynamic linking.
17922
 
link_static_flag=$lt_lt_prog_compiler_static_CXX
17923
 
 
17924
 
# Compiler flag to turn off builtin functions.
17925
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
17926
 
 
17927
 
# Compiler flag to allow reflexive dlopens.
17928
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
17929
 
 
17930
 
# Compiler flag to generate shared objects directly from archives.
17931
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
17932
 
 
17933
 
# Compiler flag to generate thread-safe objects.
17934
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
17935
 
 
17936
 
# Library versioning type.
17937
 
version_type=$version_type
17938
 
 
17939
 
# Format of library name prefix.
17940
 
libname_spec=$lt_libname_spec
17941
 
 
17942
 
# List of archive names.  First name is the real one, the rest are links.
17943
 
# The last name is the one that the linker finds with -lNAME.
17944
 
library_names_spec=$lt_library_names_spec
17945
 
 
17946
 
# The coded name of the library, if different from the real name.
17947
 
soname_spec=$lt_soname_spec
17948
 
 
17949
 
# Commands used to build and install an old-style archive.
17950
 
RANLIB=$lt_RANLIB
17951
 
old_archive_cmds=$lt_old_archive_cmds_CXX
17952
 
old_postinstall_cmds=$lt_old_postinstall_cmds
17953
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
17954
 
 
17955
 
# Create an old-style archive from a shared archive.
17956
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
17957
 
 
17958
 
# Create a temporary old-style archive to link instead of a shared archive.
17959
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
17960
 
 
17961
 
# Commands used to build and install a shared archive.
17962
 
archive_cmds=$lt_archive_cmds_CXX
17963
 
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
17964
 
postinstall_cmds=$lt_postinstall_cmds
17965
 
postuninstall_cmds=$lt_postuninstall_cmds
17966
 
 
17967
 
# Commands used to build a loadable module (assumed same as above if empty)
17968
 
module_cmds=$lt_module_cmds_CXX
17969
 
module_expsym_cmds=$lt_module_expsym_cmds_CXX
17970
 
 
17971
 
# Commands to strip libraries.
17972
 
old_striplib=$lt_old_striplib
17973
 
striplib=$lt_striplib
17974
 
 
17975
 
# Dependencies to place before the objects being linked to create a
17976
 
# shared library.
17977
 
predep_objects=$lt_predep_objects_CXX
17978
 
 
17979
 
# Dependencies to place after the objects being linked to create a
17980
 
# shared library.
17981
 
postdep_objects=$lt_postdep_objects_CXX
17982
 
 
17983
 
# Dependencies to place before the objects being linked to create a
17984
 
# shared library.
17985
 
predeps=$lt_predeps_CXX
17986
 
 
17987
 
# Dependencies to place after the objects being linked to create a
17988
 
# shared library.
17989
 
postdeps=$lt_postdeps_CXX
17990
 
 
17991
 
# The directories searched by this compiler when creating a shared
17992
 
# library
17993
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
17994
 
 
17995
 
# The library search path used internally by the compiler when linking
17996
 
# a shared library.
17997
 
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
17998
 
 
17999
 
# Method to check whether dependent libraries are shared objects.
18000
 
deplibs_check_method=$lt_deplibs_check_method
18001
 
 
18002
 
# Command to use when deplibs_check_method == file_magic.
18003
 
file_magic_cmd=$lt_file_magic_cmd
18004
 
 
18005
 
# Flag that allows shared libraries with undefined symbols to be built.
18006
 
allow_undefined_flag=$lt_allow_undefined_flag_CXX
18007
 
 
18008
 
# Flag that forces no undefined symbols.
18009
 
no_undefined_flag=$lt_no_undefined_flag_CXX
18010
 
 
18011
 
# Commands used to finish a libtool library installation in a directory.
18012
 
finish_cmds=$lt_finish_cmds
18013
 
 
18014
 
# Same as above, but a single script fragment to be evaled but not shown.
18015
 
finish_eval=$lt_finish_eval
18016
 
 
18017
 
# Take the output of nm and produce a listing of raw symbols and C names.
18018
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18019
 
 
18020
 
# Transform the output of nm in a proper C declaration
18021
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18022
 
 
18023
 
# Transform the output of nm in a C name address pair
18024
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18025
 
 
18026
 
# This is the shared library runtime path variable.
18027
 
runpath_var=$runpath_var
18028
 
 
18029
 
# This is the shared library path variable.
18030
 
shlibpath_var=$shlibpath_var
18031
 
 
18032
 
# Is shlibpath searched before the hard-coded library search path?
18033
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18034
 
 
18035
 
# How to hardcode a shared library path into an executable.
18036
 
hardcode_action=$hardcode_action_CXX
18037
 
 
18038
 
# Whether we should hardcode library paths into libraries.
18039
 
hardcode_into_libs=$hardcode_into_libs
18040
 
 
18041
 
# Flag to hardcode \$libdir into a binary during linking.
18042
 
# This must work even if \$libdir does not exist.
18043
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
18044
 
 
18045
 
# If ld is used when linking, flag to hardcode \$libdir into
18046
 
# a binary during linking. This must work even if \$libdir does
18047
 
# not exist.
18048
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
18049
 
 
18050
 
# Whether we need a single -rpath flag with a separated argument.
18051
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
18052
 
 
18053
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18054
 
# resulting binary.
18055
 
hardcode_direct=$hardcode_direct_CXX
18056
 
 
18057
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18058
 
# resulting binary.
18059
 
hardcode_minus_L=$hardcode_minus_L_CXX
18060
 
 
18061
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18062
 
# the resulting binary.
18063
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
18064
 
 
18065
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
18066
 
# and all subsequent libraries and executables linked against it.
18067
 
hardcode_automatic=$hardcode_automatic_CXX
18068
 
 
18069
 
# Variables whose values should be saved in libtool wrapper scripts and
18070
 
# restored at relink time.
18071
 
variables_saved_for_relink="$variables_saved_for_relink"
18072
 
 
18073
 
# Whether libtool must link a program against all its dependency libraries.
18074
 
link_all_deplibs=$link_all_deplibs_CXX
18075
 
 
18076
 
# Compile-time system search path for libraries
18077
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18078
 
 
18079
 
# Run-time system search path for libraries
18080
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18081
 
 
18082
 
# Fix the shell variable \$srcfile for the compiler.
18083
 
fix_srcfile_path=$lt_fix_srcfile_path
18084
 
 
18085
 
# Set to yes if exported symbols are required.
18086
 
always_export_symbols=$always_export_symbols_CXX
18087
 
 
18088
 
# The commands to list exported symbols.
18089
 
export_symbols_cmds=$lt_export_symbols_cmds_CXX
18090
 
 
18091
 
# The commands to extract the exported symbol list from a shared archive.
18092
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
18093
 
 
18094
 
# Symbols that should not be listed in the preloaded symbols.
18095
 
exclude_expsyms=$lt_exclude_expsyms_CXX
18096
 
 
18097
 
# Symbols that must always be exported.
18098
 
include_expsyms=$lt_include_expsyms_CXX
18099
 
 
18100
 
# ### END LIBTOOL TAG CONFIG: $tagname
18101
 
 
18102
 
__EOF__
18103
 
 
18104
 
 
18105
 
else
18106
 
  # If there is no Makefile yet, we rely on a make rule to execute
18107
 
  # `config.status --recheck' to rerun these tests and create the
18108
 
  # libtool script then.
18109
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18110
 
  if test -f "$ltmain_in"; then
18111
 
    test -f Makefile && make "$ltmain"
18112
 
  fi
18113
 
fi
18114
 
 
18115
 
 
18116
 
ac_ext=c
18117
 
ac_cpp='$CPP $CPPFLAGS'
18118
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18119
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18120
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
18121
 
 
18122
 
CC=$lt_save_CC
18123
 
LDCXX=$LD
18124
 
LD=$lt_save_LD
18125
 
GCC=$lt_save_GCC
18126
 
with_gnu_ldcxx=$with_gnu_ld
18127
 
with_gnu_ld=$lt_save_with_gnu_ld
18128
 
lt_cv_path_LDCXX=$lt_cv_path_LD
18129
 
lt_cv_path_LD=$lt_save_path_LD
18130
 
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
18131
 
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
18132
 
 
18133
 
        else
18134
 
          tagname=""
18135
 
        fi
18136
 
        ;;
18137
 
 
18138
 
      F77)
18139
 
        if test -n "$F77" && test "X$F77" != "Xno"; then
18140
 
 
18141
 
ac_ext=f
18142
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
18143
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18144
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
18145
 
 
18146
 
 
18147
 
archive_cmds_need_lc_F77=no
18148
 
allow_undefined_flag_F77=
18149
 
always_export_symbols_F77=no
18150
 
archive_expsym_cmds_F77=
18151
 
export_dynamic_flag_spec_F77=
18152
 
hardcode_direct_F77=no
18153
 
hardcode_libdir_flag_spec_F77=
18154
 
hardcode_libdir_flag_spec_ld_F77=
18155
 
hardcode_libdir_separator_F77=
18156
 
hardcode_minus_L_F77=no
18157
 
hardcode_automatic_F77=no
18158
 
module_cmds_F77=
18159
 
module_expsym_cmds_F77=
18160
 
link_all_deplibs_F77=unknown
18161
 
old_archive_cmds_F77=$old_archive_cmds
18162
 
no_undefined_flag_F77=
18163
 
whole_archive_flag_spec_F77=
18164
 
enable_shared_with_static_runtimes_F77=no
18165
 
 
18166
 
# Source file extension for f77 test sources.
18167
 
ac_ext=f
18168
 
 
18169
 
# Object file extension for compiled f77 test sources.
18170
 
objext=o
18171
 
objext_F77=$objext
18172
 
 
18173
 
# Code to be used in simple compile tests
18174
 
lt_simple_compile_test_code="\
18175
 
      subroutine t
18176
 
      return
18177
 
      end
18178
 
"
18179
 
 
18180
 
# Code to be used in simple link tests
18181
 
lt_simple_link_test_code="\
18182
 
      program t
18183
 
      end
18184
 
"
18185
 
 
18186
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
18187
 
 
18188
 
# If no C compiler was specified, use CC.
18189
 
LTCC=${LTCC-"$CC"}
18190
 
 
18191
 
# If no C compiler flags were specified, use CFLAGS.
18192
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
18193
 
 
18194
 
# Allow CC to be a program name with arguments.
18195
 
compiler=$CC
18196
 
 
18197
 
 
18198
 
# save warnings/boilerplate of simple test code
18199
 
ac_outfile=conftest.$ac_objext
18200
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
18201
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18202
 
_lt_compiler_boilerplate=`cat conftest.err`
18203
 
$rm conftest*
18204
 
 
18205
 
ac_outfile=conftest.$ac_objext
18206
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
18207
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18208
 
_lt_linker_boilerplate=`cat conftest.err`
18209
 
$rm -r conftest*
18210
 
 
18211
 
 
18212
 
# Allow CC to be a program name with arguments.
18213
 
lt_save_CC="$CC"
18214
 
CC=${F77-"f77"}
18215
 
compiler=$CC
18216
 
compiler_F77=$CC
18217
 
for cc_temp in $compiler""; do
18218
 
  case $cc_temp in
18219
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18220
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18221
 
    \-*) ;;
18222
 
    *) break;;
18223
 
  esac
18224
 
done
18225
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18226
 
 
18227
 
 
18228
 
{ $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
18229
 
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
18230
 
{ $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
18231
 
$as_echo "$can_build_shared" >&6; }
18232
 
 
18233
 
{ $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
18234
 
$as_echo_n "checking whether to build shared libraries... " >&6; }
18235
 
test "$can_build_shared" = "no" && enable_shared=no
18236
 
 
18237
 
# On AIX, shared libraries and static libraries use the same namespace, and
18238
 
# are all built from PIC.
18239
 
case $host_os in
18240
 
aix3*)
18241
 
  test "$enable_shared" = yes && enable_static=no
18242
 
  if test -n "$RANLIB"; then
18243
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
18244
 
    postinstall_cmds='$RANLIB $lib'
18245
 
  fi
18246
 
  ;;
18247
 
aix[4-9]*)
18248
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
18249
 
    test "$enable_shared" = yes && enable_static=no
18250
 
  fi
18251
 
  ;;
18252
 
esac
18253
 
{ $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
18254
 
$as_echo "$enable_shared" >&6; }
18255
 
 
18256
 
{ $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
18257
 
$as_echo_n "checking whether to build static libraries... " >&6; }
18258
 
# Make sure either enable_shared or enable_static is yes.
18259
 
test "$enable_shared" = yes || enable_static=yes
18260
 
{ $as_echo "$as_me:$LINENO: result: $enable_static" >&5
18261
 
$as_echo "$enable_static" >&6; }
18262
 
 
18263
 
GCC_F77="$G77"
18264
 
LD_F77="$LD"
18265
 
 
18266
 
lt_prog_compiler_wl_F77=
18267
 
lt_prog_compiler_pic_F77=
18268
 
lt_prog_compiler_static_F77=
18269
 
 
18270
 
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
18271
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
18272
 
 
18273
 
  if test "$GCC" = yes; then
18274
 
    lt_prog_compiler_wl_F77='-Wl,'
18275
 
    lt_prog_compiler_static_F77='-static'
18276
 
 
18277
 
    case $host_os in
18278
 
      aix*)
18279
 
      # All AIX code is PIC.
18280
 
      if test "$host_cpu" = ia64; then
18281
 
        # AIX 5 now supports IA64 processor
18282
 
        lt_prog_compiler_static_F77='-Bstatic'
18283
 
      fi
18284
 
      ;;
18285
 
 
18286
 
    amigaos*)
18287
 
      # FIXME: we need at least 68020 code to build shared libraries, but
18288
 
      # adding the `-m68020' flag to GCC prevents building anything better,
18289
 
      # like `-m68040'.
18290
 
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
18291
 
      ;;
18292
 
 
18293
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
18294
 
      # PIC is the default for these OSes.
18295
 
      ;;
18296
 
 
18297
 
    mingw* | cygwin* | pw32* | os2*)
18298
 
      # This hack is so that the source file can tell whether it is being
18299
 
      # built for inclusion in a dll (and should export symbols for example).
18300
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
18301
 
      # (--disable-auto-import) libraries
18302
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
18303
 
      ;;
18304
 
 
18305
 
    darwin* | rhapsody*)
18306
 
      # PIC is the default on this platform
18307
 
      # Common symbols not allowed in MH_DYLIB files
18308
 
      lt_prog_compiler_pic_F77='-fno-common'
18309
 
      ;;
18310
 
 
18311
 
    interix[3-9]*)
18312
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
18313
 
      # Instead, we relocate shared libraries at runtime.
18314
 
      ;;
18315
 
 
18316
 
    msdosdjgpp*)
18317
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
18318
 
      # on systems that don't support them.
18319
 
      lt_prog_compiler_can_build_shared_F77=no
18320
 
      enable_shared=no
18321
 
      ;;
18322
 
 
18323
 
    sysv4*MP*)
18324
 
      if test -d /usr/nec; then
18325
 
        lt_prog_compiler_pic_F77=-Kconform_pic
18326
 
      fi
18327
 
      ;;
18328
 
 
18329
 
    hpux*)
18330
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
18331
 
      # not for PA HP-UX.
18332
 
      case $host_cpu in
18333
 
      hppa*64*|ia64*)
18334
 
        # +Z the default
18335
 
        ;;
18336
 
      *)
18337
 
        lt_prog_compiler_pic_F77='-fPIC'
18338
 
        ;;
18339
 
      esac
18340
 
      ;;
18341
 
 
18342
 
    *)
18343
 
      lt_prog_compiler_pic_F77='-fPIC'
18344
 
      ;;
18345
 
    esac
18346
 
  else
18347
 
    # PORTME Check for flag to pass linker flags through the system compiler.
18348
 
    case $host_os in
18349
 
    aix*)
18350
 
      lt_prog_compiler_wl_F77='-Wl,'
18351
 
      if test "$host_cpu" = ia64; then
18352
 
        # AIX 5 now supports IA64 processor
18353
 
        lt_prog_compiler_static_F77='-Bstatic'
18354
 
      else
18355
 
        lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
18356
 
      fi
18357
 
      ;;
18358
 
      darwin*)
18359
 
        # PIC is the default on this platform
18360
 
        # Common symbols not allowed in MH_DYLIB files
18361
 
       case $cc_basename in
18362
 
         xlc*)
18363
 
         lt_prog_compiler_pic_F77='-qnocommon'
18364
 
         lt_prog_compiler_wl_F77='-Wl,'
18365
 
         ;;
18366
 
       esac
18367
 
       ;;
18368
 
 
18369
 
    mingw* | cygwin* | pw32* | os2*)
18370
 
      # This hack is so that the source file can tell whether it is being
18371
 
      # built for inclusion in a dll (and should export symbols for example).
18372
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
18373
 
      ;;
18374
 
 
18375
 
    hpux9* | hpux10* | hpux11*)
18376
 
      lt_prog_compiler_wl_F77='-Wl,'
18377
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
18378
 
      # not for PA HP-UX.
18379
 
      case $host_cpu in
18380
 
      hppa*64*|ia64*)
18381
 
        # +Z the default
18382
 
        ;;
18383
 
      *)
18384
 
        lt_prog_compiler_pic_F77='+Z'
18385
 
        ;;
18386
 
      esac
18387
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
18388
 
      lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
18389
 
      ;;
18390
 
 
18391
 
    irix5* | irix6* | nonstopux*)
18392
 
      lt_prog_compiler_wl_F77='-Wl,'
18393
 
      # PIC (with -KPIC) is the default.
18394
 
      lt_prog_compiler_static_F77='-non_shared'
18395
 
      ;;
18396
 
 
18397
 
    newsos6)
18398
 
      lt_prog_compiler_pic_F77='-KPIC'
18399
 
      lt_prog_compiler_static_F77='-Bstatic'
18400
 
      ;;
18401
 
 
18402
 
    linux* | k*bsd*-gnu)
18403
 
      case $cc_basename in
18404
 
      icc* | ecc*)
18405
 
        lt_prog_compiler_wl_F77='-Wl,'
18406
 
        lt_prog_compiler_pic_F77='-KPIC'
18407
 
        lt_prog_compiler_static_F77='-static'
18408
 
        ;;
18409
 
      pgcc* | pgf77* | pgf90* | pgf95*)
18410
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
18411
 
        # which looks to be a dead project)
18412
 
        lt_prog_compiler_wl_F77='-Wl,'
18413
 
        lt_prog_compiler_pic_F77='-fpic'
18414
 
        lt_prog_compiler_static_F77='-Bstatic'
18415
 
        ;;
18416
 
      ccc*)
18417
 
        lt_prog_compiler_wl_F77='-Wl,'
18418
 
        # All Alpha code is PIC.
18419
 
        lt_prog_compiler_static_F77='-non_shared'
18420
 
        ;;
18421
 
      *)
18422
 
        case `$CC -V 2>&1 | sed 5q` in
18423
 
        *Sun\ C*)
18424
 
          # Sun C 5.9
18425
 
          lt_prog_compiler_pic_F77='-KPIC'
18426
 
          lt_prog_compiler_static_F77='-Bstatic'
18427
 
          lt_prog_compiler_wl_F77='-Wl,'
18428
 
          ;;
18429
 
        *Sun\ F*)
18430
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
18431
 
          lt_prog_compiler_pic_F77='-KPIC'
18432
 
          lt_prog_compiler_static_F77='-Bstatic'
18433
 
          lt_prog_compiler_wl_F77=''
18434
 
          ;;
18435
 
        esac
18436
 
        ;;
18437
 
      esac
18438
 
      ;;
18439
 
 
18440
 
    osf3* | osf4* | osf5*)
18441
 
      lt_prog_compiler_wl_F77='-Wl,'
18442
 
      # All OSF/1 code is PIC.
18443
 
      lt_prog_compiler_static_F77='-non_shared'
18444
 
      ;;
18445
 
 
18446
 
    rdos*)
18447
 
      lt_prog_compiler_static_F77='-non_shared'
18448
 
      ;;
18449
 
 
18450
 
    solaris*)
18451
 
      lt_prog_compiler_pic_F77='-KPIC'
18452
 
      lt_prog_compiler_static_F77='-Bstatic'
18453
 
      case $cc_basename in
18454
 
      f77* | f90* | f95*)
18455
 
        lt_prog_compiler_wl_F77='-Qoption ld ';;
18456
 
      *)
18457
 
        lt_prog_compiler_wl_F77='-Wl,';;
18458
 
      esac
18459
 
      ;;
18460
 
 
18461
 
    sunos4*)
18462
 
      lt_prog_compiler_wl_F77='-Qoption ld '
18463
 
      lt_prog_compiler_pic_F77='-PIC'
18464
 
      lt_prog_compiler_static_F77='-Bstatic'
18465
 
      ;;
18466
 
 
18467
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
18468
 
      lt_prog_compiler_wl_F77='-Wl,'
18469
 
      lt_prog_compiler_pic_F77='-KPIC'
18470
 
      lt_prog_compiler_static_F77='-Bstatic'
18471
 
      ;;
18472
 
 
18473
 
    sysv4*MP*)
18474
 
      if test -d /usr/nec ;then
18475
 
        lt_prog_compiler_pic_F77='-Kconform_pic'
18476
 
        lt_prog_compiler_static_F77='-Bstatic'
18477
 
      fi
18478
 
      ;;
18479
 
 
18480
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
18481
 
      lt_prog_compiler_wl_F77='-Wl,'
18482
 
      lt_prog_compiler_pic_F77='-KPIC'
18483
 
      lt_prog_compiler_static_F77='-Bstatic'
18484
 
      ;;
18485
 
 
18486
 
    unicos*)
18487
 
      lt_prog_compiler_wl_F77='-Wl,'
18488
 
      lt_prog_compiler_can_build_shared_F77=no
18489
 
      ;;
18490
 
 
18491
 
    uts4*)
18492
 
      lt_prog_compiler_pic_F77='-pic'
18493
 
      lt_prog_compiler_static_F77='-Bstatic'
18494
 
      ;;
18495
 
 
18496
 
    *)
18497
 
      lt_prog_compiler_can_build_shared_F77=no
18498
 
      ;;
18499
 
    esac
18500
 
  fi
18501
 
 
18502
 
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
18503
 
$as_echo "$lt_prog_compiler_pic_F77" >&6; }
18504
 
 
18505
 
#
18506
 
# Check to make sure the PIC flag actually works.
18507
 
#
18508
 
if test -n "$lt_prog_compiler_pic_F77"; then
18509
 
 
18510
 
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
18511
 
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
18512
 
if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
18513
 
  $as_echo_n "(cached) " >&6
18514
 
else
18515
 
  lt_cv_prog_compiler_pic_works_F77=no
18516
 
  ac_outfile=conftest.$ac_objext
18517
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18518
 
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
18519
 
   # Insert the option either (1) after the last *FLAGS variable, or
18520
 
   # (2) before a word containing "conftest.", or (3) at the end.
18521
 
   # Note that $ac_compile itself does not contain backslashes and begins
18522
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
18523
 
   # The option is referenced via a variable to avoid confusing sed.
18524
 
   lt_compile=`echo "$ac_compile" | $SED \
18525
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18526
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18527
 
   -e 's:$: $lt_compiler_flag:'`
18528
 
   (eval echo "\"\$as_me:18528: $lt_compile\"" >&5)
18529
 
   (eval "$lt_compile" 2>conftest.err)
18530
 
   ac_status=$?
18531
 
   cat conftest.err >&5
18532
 
   echo "$as_me:18532: \$? = $ac_status" >&5
18533
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
18534
 
     # The compiler can only warn and ignore the option if not recognized
18535
 
     # So say no if there are warnings other than the usual output.
18536
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
18537
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18538
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
18539
 
       lt_cv_prog_compiler_pic_works_F77=yes
18540
 
     fi
18541
 
   fi
18542
 
   $rm conftest*
18543
 
 
18544
 
fi
18545
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
18546
 
$as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; }
18547
 
 
18548
 
if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
18549
 
    case $lt_prog_compiler_pic_F77 in
18550
 
     "" | " "*) ;;
18551
 
     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
18552
 
     esac
18553
 
else
18554
 
    lt_prog_compiler_pic_F77=
18555
 
     lt_prog_compiler_can_build_shared_F77=no
18556
 
fi
18557
 
 
18558
 
fi
18559
 
case $host_os in
18560
 
  # For platforms which do not support PIC, -DPIC is meaningless:
18561
 
  *djgpp*)
18562
 
    lt_prog_compiler_pic_F77=
18563
 
    ;;
18564
 
  *)
18565
 
    lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
18566
 
    ;;
18567
 
esac
18568
 
 
18569
 
#
18570
 
# Check to make sure the static flag actually works.
18571
 
#
18572
 
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
18573
 
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
18574
 
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
18575
 
if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
18576
 
  $as_echo_n "(cached) " >&6
18577
 
else
18578
 
  lt_cv_prog_compiler_static_works_F77=no
18579
 
   save_LDFLAGS="$LDFLAGS"
18580
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
18581
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
18582
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
18583
 
     # The linker can only warn and ignore the option if not recognized
18584
 
     # So say no if there are warnings
18585
 
     if test -s conftest.err; then
18586
 
       # Append any errors to the config.log.
18587
 
       cat conftest.err 1>&5
18588
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
18589
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18590
 
       if diff conftest.exp conftest.er2 >/dev/null; then
18591
 
         lt_cv_prog_compiler_static_works_F77=yes
18592
 
       fi
18593
 
     else
18594
 
       lt_cv_prog_compiler_static_works_F77=yes
18595
 
     fi
18596
 
   fi
18597
 
   $rm -r conftest*
18598
 
   LDFLAGS="$save_LDFLAGS"
18599
 
 
18600
 
fi
18601
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
18602
 
$as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; }
18603
 
 
18604
 
if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
18605
 
    :
18606
 
else
18607
 
    lt_prog_compiler_static_F77=
18608
 
fi
18609
 
 
18610
 
 
18611
 
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
18612
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
18613
 
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
18614
 
  $as_echo_n "(cached) " >&6
18615
 
else
18616
 
  lt_cv_prog_compiler_c_o_F77=no
18617
 
   $rm -r conftest 2>/dev/null
18618
 
   mkdir conftest
18619
 
   cd conftest
18620
 
   mkdir out
18621
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18622
 
 
18623
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
18624
 
   # Insert the option either (1) after the last *FLAGS variable, or
18625
 
   # (2) before a word containing "conftest.", or (3) at the end.
18626
 
   # Note that $ac_compile itself does not contain backslashes and begins
18627
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
18628
 
   lt_compile=`echo "$ac_compile" | $SED \
18629
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18630
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18631
 
   -e 's:$: $lt_compiler_flag:'`
18632
 
   (eval echo "\"\$as_me:18632: $lt_compile\"" >&5)
18633
 
   (eval "$lt_compile" 2>out/conftest.err)
18634
 
   ac_status=$?
18635
 
   cat out/conftest.err >&5
18636
 
   echo "$as_me:18636: \$? = $ac_status" >&5
18637
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
18638
 
   then
18639
 
     # The compiler can only warn and ignore the option if not recognized
18640
 
     # So say no if there are warnings
18641
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
18642
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
18643
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
18644
 
       lt_cv_prog_compiler_c_o_F77=yes
18645
 
     fi
18646
 
   fi
18647
 
   chmod u+w . 2>&5
18648
 
   $rm conftest*
18649
 
   # SGI C++ compiler will create directory out/ii_files/ for
18650
 
   # template instantiation
18651
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
18652
 
   $rm out/* && rmdir out
18653
 
   cd ..
18654
 
   rmdir conftest
18655
 
   $rm conftest*
18656
 
 
18657
 
fi
18658
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
18659
 
$as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
18660
 
 
18661
 
 
18662
 
hard_links="nottested"
18663
 
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
18664
 
  # do not overwrite the value of need_locks provided by the user
18665
 
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
18666
 
$as_echo_n "checking if we can lock with hard links... " >&6; }
18667
 
  hard_links=yes
18668
 
  $rm conftest*
18669
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
18670
 
  touch conftest.a
18671
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
18672
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
18673
 
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
18674
 
$as_echo "$hard_links" >&6; }
18675
 
  if test "$hard_links" = no; then
18676
 
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
18677
 
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
18678
 
    need_locks=warn
18679
 
  fi
18680
 
else
18681
 
  need_locks=no
18682
 
fi
18683
 
 
18684
 
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18685
 
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
18686
 
 
18687
 
  runpath_var=
18688
 
  allow_undefined_flag_F77=
18689
 
  enable_shared_with_static_runtimes_F77=no
18690
 
  archive_cmds_F77=
18691
 
  archive_expsym_cmds_F77=
18692
 
  old_archive_From_new_cmds_F77=
18693
 
  old_archive_from_expsyms_cmds_F77=
18694
 
  export_dynamic_flag_spec_F77=
18695
 
  whole_archive_flag_spec_F77=
18696
 
  thread_safe_flag_spec_F77=
18697
 
  hardcode_libdir_flag_spec_F77=
18698
 
  hardcode_libdir_flag_spec_ld_F77=
18699
 
  hardcode_libdir_separator_F77=
18700
 
  hardcode_direct_F77=no
18701
 
  hardcode_minus_L_F77=no
18702
 
  hardcode_shlibpath_var_F77=unsupported
18703
 
  link_all_deplibs_F77=unknown
18704
 
  hardcode_automatic_F77=no
18705
 
  module_cmds_F77=
18706
 
  module_expsym_cmds_F77=
18707
 
  always_export_symbols_F77=no
18708
 
  export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
18709
 
  # include_expsyms should be a list of space-separated symbols to be *always*
18710
 
  # included in the symbol list
18711
 
  include_expsyms_F77=
18712
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
18713
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
18714
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
18715
 
  # as well as any symbol that contains `d'.
18716
 
  exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
18717
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
18718
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
18719
 
  # the symbol is explicitly referenced.  Since portable code cannot
18720
 
  # rely on this symbol name, it's probably fine to never include it in
18721
 
  # preloaded symbol tables.
18722
 
  # Exclude shared library initialization/finalization symbols.
18723
 
  extract_expsyms_cmds=
18724
 
  # Just being paranoid about ensuring that cc_basename is set.
18725
 
  for cc_temp in $compiler""; do
18726
 
  case $cc_temp in
18727
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18728
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18729
 
    \-*) ;;
18730
 
    *) break;;
18731
 
  esac
18732
 
done
18733
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18734
 
 
18735
 
  case $host_os in
18736
 
  cygwin* | mingw* | pw32*)
18737
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
18738
 
    # When not using gcc, we currently assume that we are using
18739
 
    # Microsoft Visual C++.
18740
 
    if test "$GCC" != yes; then
18741
 
      with_gnu_ld=no
18742
 
    fi
18743
 
    ;;
18744
 
  interix*)
18745
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
18746
 
    with_gnu_ld=yes
18747
 
    ;;
18748
 
  openbsd*)
18749
 
    with_gnu_ld=no
18750
 
    ;;
18751
 
  esac
18752
 
 
18753
 
  ld_shlibs_F77=yes
18754
 
  if test "$with_gnu_ld" = yes; then
18755
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
18756
 
    wlarc='${wl}'
18757
 
 
18758
 
    # Set some defaults for GNU ld with shared library support. These
18759
 
    # are reset later if shared libraries are not supported. Putting them
18760
 
    # here allows them to be overridden if necessary.
18761
 
    runpath_var=LD_RUN_PATH
18762
 
    hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
18763
 
    export_dynamic_flag_spec_F77='${wl}--export-dynamic'
18764
 
    # ancient GNU ld didn't support --whole-archive et. al.
18765
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
18766
 
        whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18767
 
      else
18768
 
        whole_archive_flag_spec_F77=
18769
 
    fi
18770
 
    supports_anon_versioning=no
18771
 
    case `$LD -v 2>/dev/null` in
18772
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
18773
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
18774
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
18775
 
      *\ 2.11.*) ;; # other 2.11 versions
18776
 
      *) supports_anon_versioning=yes ;;
18777
 
    esac
18778
 
 
18779
 
    # See if GNU ld supports shared libraries.
18780
 
    case $host_os in
18781
 
    aix[3-9]*)
18782
 
      # On AIX/PPC, the GNU linker is very broken
18783
 
      if test "$host_cpu" != ia64; then
18784
 
        ld_shlibs_F77=no
18785
 
        cat <<EOF 1>&2
18786
 
 
18787
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
18788
 
*** to be unable to reliably create shared libraries on AIX.
18789
 
*** Therefore, libtool is disabling shared libraries support.  If you
18790
 
*** really care for shared libraries, you may want to modify your PATH
18791
 
*** so that a non-GNU linker is found, and then restart.
18792
 
 
18793
 
EOF
18794
 
      fi
18795
 
      ;;
18796
 
 
18797
 
    amigaos*)
18798
 
      archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
18799
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
18800
 
      hardcode_minus_L_F77=yes
18801
 
 
18802
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
18803
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
18804
 
      # to version 4, is to share data among multiple programs linked
18805
 
      # with the same dynamic library.  Since this doesn't match the
18806
 
      # behavior of shared libraries on other platforms, we can't use
18807
 
      # them.
18808
 
      ld_shlibs_F77=no
18809
 
      ;;
18810
 
 
18811
 
    beos*)
18812
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18813
 
        allow_undefined_flag_F77=unsupported
18814
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18815
 
        # support --undefined.  This deserves some investigation.  FIXME
18816
 
        archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18817
 
      else
18818
 
        ld_shlibs_F77=no
18819
 
      fi
18820
 
      ;;
18821
 
 
18822
 
    cygwin* | mingw* | pw32*)
18823
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
18824
 
      # as there is no search path for DLLs.
18825
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
18826
 
      allow_undefined_flag_F77=unsupported
18827
 
      always_export_symbols_F77=no
18828
 
      enable_shared_with_static_runtimes_F77=yes
18829
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
18830
 
 
18831
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
18832
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18833
 
        # If the export-symbols file already is a .def file (1st line
18834
 
        # is EXPORTS), use it as is; otherwise, prepend...
18835
 
        archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18836
 
          cp $export_symbols $output_objdir/$soname.def;
18837
 
        else
18838
 
          echo EXPORTS > $output_objdir/$soname.def;
18839
 
          cat $export_symbols >> $output_objdir/$soname.def;
18840
 
        fi~
18841
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18842
 
      else
18843
 
        ld_shlibs_F77=no
18844
 
      fi
18845
 
      ;;
18846
 
 
18847
 
    interix[3-9]*)
18848
 
      hardcode_direct_F77=no
18849
 
      hardcode_shlibpath_var_F77=no
18850
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
18851
 
      export_dynamic_flag_spec_F77='${wl}-E'
18852
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
18853
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
18854
 
      # default) and relocated if they conflict, which is a slow very memory
18855
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
18856
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
18857
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
18858
 
      archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
18859
 
      archive_expsym_cmds_F77='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
18860
 
      ;;
18861
 
 
18862
 
    gnu* | linux* | k*bsd*-gnu)
18863
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18864
 
        tmp_addflag=
18865
 
        case $cc_basename,$host_cpu in
18866
 
        pgcc*)                          # Portland Group C compiler
18867
 
          whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
18868
 
          tmp_addflag=' $pic_flag'
18869
 
          ;;
18870
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
18871
 
          whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
18872
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
18873
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
18874
 
          tmp_addflag=' -i_dynamic' ;;
18875
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
18876
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
18877
 
        ifc* | ifort*)                  # Intel Fortran compiler
18878
 
          tmp_addflag=' -nofor_main' ;;
18879
 
        esac
18880
 
        case `$CC -V 2>&1 | sed 5q` in
18881
 
        *Sun\ C*)                       # Sun C 5.9
18882
 
          whole_archive_flag_spec_F77='${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'
18883
 
          tmp_sharedflag='-G' ;;
18884
 
        *Sun\ F*)                       # Sun Fortran 8.3
18885
 
          tmp_sharedflag='-G' ;;
18886
 
        *)
18887
 
          tmp_sharedflag='-shared' ;;
18888
 
        esac
18889
 
        archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18890
 
 
18891
 
        if test $supports_anon_versioning = yes; then
18892
 
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
18893
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18894
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
18895
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18896
 
        fi
18897
 
      else
18898
 
        ld_shlibs_F77=no
18899
 
      fi
18900
 
      ;;
18901
 
 
18902
 
    netbsd*)
18903
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18904
 
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
18905
 
        wlarc=
18906
 
      else
18907
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18908
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18909
 
      fi
18910
 
      ;;
18911
 
 
18912
 
    solaris*)
18913
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
18914
 
        ld_shlibs_F77=no
18915
 
        cat <<EOF 1>&2
18916
 
 
18917
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
18918
 
*** create shared libraries on Solaris systems.  Therefore, libtool
18919
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
18920
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
18921
 
*** your PATH or compiler configuration so that the native linker is
18922
 
*** used, and then restart.
18923
 
 
18924
 
EOF
18925
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18926
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18927
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18928
 
      else
18929
 
        ld_shlibs_F77=no
18930
 
      fi
18931
 
      ;;
18932
 
 
18933
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
18934
 
      case `$LD -v 2>&1` in
18935
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
18936
 
        ld_shlibs_F77=no
18937
 
        cat <<_LT_EOF 1>&2
18938
 
 
18939
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
18940
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
18941
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
18942
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
18943
 
*** your PATH or compiler configuration so that the native linker is
18944
 
*** used, and then restart.
18945
 
 
18946
 
_LT_EOF
18947
 
        ;;
18948
 
        *)
18949
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18950
 
            hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
18951
 
            archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
18952
 
            archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
18953
 
          else
18954
 
            ld_shlibs_F77=no
18955
 
          fi
18956
 
        ;;
18957
 
      esac
18958
 
      ;;
18959
 
 
18960
 
    sunos4*)
18961
 
      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18962
 
      wlarc=
18963
 
      hardcode_direct_F77=yes
18964
 
      hardcode_shlibpath_var_F77=no
18965
 
      ;;
18966
 
 
18967
 
    *)
18968
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18969
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18970
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18971
 
      else
18972
 
        ld_shlibs_F77=no
18973
 
      fi
18974
 
      ;;
18975
 
    esac
18976
 
 
18977
 
    if test "$ld_shlibs_F77" = no; then
18978
 
      runpath_var=
18979
 
      hardcode_libdir_flag_spec_F77=
18980
 
      export_dynamic_flag_spec_F77=
18981
 
      whole_archive_flag_spec_F77=
18982
 
    fi
18983
 
  else
18984
 
    # PORTME fill in a description of your system's linker (not GNU ld)
18985
 
    case $host_os in
18986
 
    aix3*)
18987
 
      allow_undefined_flag_F77=unsupported
18988
 
      always_export_symbols_F77=yes
18989
 
      archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
18990
 
      # Note: this linker hardcodes the directories in LIBPATH if there
18991
 
      # are no directories specified by -L.
18992
 
      hardcode_minus_L_F77=yes
18993
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
18994
 
        # Neither direct hardcoding nor static linking is supported with a
18995
 
        # broken collect2.
18996
 
        hardcode_direct_F77=unsupported
18997
 
      fi
18998
 
      ;;
18999
 
 
19000
 
    aix[4-9]*)
19001
 
      if test "$host_cpu" = ia64; then
19002
 
        # On IA64, the linker does run time linking by default, so we don't
19003
 
        # have to do anything special.
19004
 
        aix_use_runtimelinking=no
19005
 
        exp_sym_flag='-Bexport'
19006
 
        no_entry_flag=""
19007
 
      else
19008
 
        # If we're using GNU nm, then we don't want the "-C" option.
19009
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
19010
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
19011
 
          export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
19012
 
        else
19013
 
          export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
19014
 
        fi
19015
 
        aix_use_runtimelinking=no
19016
 
 
19017
 
        # Test if we are trying to use run time linking or normal
19018
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
19019
 
        # need to do runtime linking.
19020
 
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
19021
 
          for ld_flag in $LDFLAGS; do
19022
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
19023
 
            aix_use_runtimelinking=yes
19024
 
            break
19025
 
          fi
19026
 
          done
19027
 
          ;;
19028
 
        esac
19029
 
 
19030
 
        exp_sym_flag='-bexport'
19031
 
        no_entry_flag='-bnoentry'
19032
 
      fi
19033
 
 
19034
 
      # When large executables or shared objects are built, AIX ld can
19035
 
      # have problems creating the table of contents.  If linking a library
19036
 
      # or program results in "error TOC overflow" add -mminimal-toc to
19037
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
19038
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
19039
 
 
19040
 
      archive_cmds_F77=''
19041
 
      hardcode_direct_F77=yes
19042
 
      hardcode_libdir_separator_F77=':'
19043
 
      link_all_deplibs_F77=yes
19044
 
 
19045
 
      if test "$GCC" = yes; then
19046
 
        case $host_os in aix4.[012]|aix4.[012].*)
19047
 
        # We only want to do this on AIX 4.2 and lower, the check
19048
 
        # below for broken collect2 doesn't work under 4.3+
19049
 
          collect2name=`${CC} -print-prog-name=collect2`
19050
 
          if test -f "$collect2name" && \
19051
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
19052
 
          then
19053
 
          # We have reworked collect2
19054
 
          :
19055
 
          else
19056
 
          # We have old collect2
19057
 
          hardcode_direct_F77=unsupported
19058
 
          # It fails to find uninstalled libraries when the uninstalled
19059
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
19060
 
          # to unsupported forces relinking
19061
 
          hardcode_minus_L_F77=yes
19062
 
          hardcode_libdir_flag_spec_F77='-L$libdir'
19063
 
          hardcode_libdir_separator_F77=
19064
 
          fi
19065
 
          ;;
19066
 
        esac
19067
 
        shared_flag='-shared'
19068
 
        if test "$aix_use_runtimelinking" = yes; then
19069
 
          shared_flag="$shared_flag "'${wl}-G'
19070
 
        fi
19071
 
      else
19072
 
        # not using gcc
19073
 
        if test "$host_cpu" = ia64; then
19074
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
19075
 
        # chokes on -Wl,-G. The following line is correct:
19076
 
          shared_flag='-G'
19077
 
        else
19078
 
          if test "$aix_use_runtimelinking" = yes; then
19079
 
            shared_flag='${wl}-G'
19080
 
          else
19081
 
            shared_flag='${wl}-bM:SRE'
19082
 
          fi
19083
 
        fi
19084
 
      fi
19085
 
 
19086
 
      # It seems that -bexpall does not export symbols beginning with
19087
 
      # underscore (_), so it is better to generate a list of symbols to export.
19088
 
      always_export_symbols_F77=yes
19089
 
      if test "$aix_use_runtimelinking" = yes; then
19090
 
        # Warning - without using the other runtime loading flags (-brtl),
19091
 
        # -berok will link without error, but may produce a broken library.
19092
 
        allow_undefined_flag_F77='-berok'
19093
 
       # Determine the default libpath from the value encoded in an empty executable.
19094
 
       cat >conftest.$ac_ext <<_ACEOF
19095
 
      program main
19096
 
 
19097
 
      end
19098
 
_ACEOF
19099
 
rm -f conftest.$ac_objext conftest$ac_exeext
19100
 
if { (ac_try="$ac_link"
19101
 
case "(($ac_try" in
19102
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19103
 
  *) ac_try_echo=$ac_try;;
19104
 
esac
19105
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19106
 
$as_echo "$ac_try_echo") >&5
19107
 
  (eval "$ac_link") 2>conftest.er1
19108
 
  ac_status=$?
19109
 
  grep -v '^ *+' conftest.er1 >conftest.err
19110
 
  rm -f conftest.er1
19111
 
  cat conftest.err >&5
19112
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19113
 
  (exit $ac_status); } && {
19114
 
         test -z "$ac_f77_werror_flag" ||
19115
 
         test ! -s conftest.err
19116
 
       } && test -s conftest$ac_exeext && {
19117
 
         test "$cross_compiling" = yes ||
19118
 
         $as_test_x conftest$ac_exeext
19119
 
       }; then
19120
 
 
19121
 
lt_aix_libpath_sed='
19122
 
    /Import File Strings/,/^$/ {
19123
 
        /^0/ {
19124
 
            s/^0  *\(.*\)$/\1/
19125
 
            p
19126
 
        }
19127
 
    }'
19128
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19129
 
# Check for a 64-bit object if we didn't find anything.
19130
 
if test -z "$aix_libpath"; then
19131
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19132
 
fi
19133
 
else
19134
 
  $as_echo "$as_me: failed program was:" >&5
19135
 
sed 's/^/| /' conftest.$ac_ext >&5
19136
 
 
19137
 
 
19138
 
fi
19139
 
 
19140
 
rm -rf conftest.dSYM
19141
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19142
 
      conftest$ac_exeext conftest.$ac_ext
19143
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
19144
 
 
19145
 
       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
19146
 
        archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
19147
 
       else
19148
 
        if test "$host_cpu" = ia64; then
19149
 
          hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
19150
 
          allow_undefined_flag_F77="-z nodefs"
19151
 
          archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
19152
 
        else
19153
 
         # Determine the default libpath from the value encoded in an empty executable.
19154
 
         cat >conftest.$ac_ext <<_ACEOF
19155
 
      program main
19156
 
 
19157
 
      end
19158
 
_ACEOF
19159
 
rm -f conftest.$ac_objext conftest$ac_exeext
19160
 
if { (ac_try="$ac_link"
19161
 
case "(($ac_try" in
19162
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19163
 
  *) ac_try_echo=$ac_try;;
19164
 
esac
19165
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19166
 
$as_echo "$ac_try_echo") >&5
19167
 
  (eval "$ac_link") 2>conftest.er1
19168
 
  ac_status=$?
19169
 
  grep -v '^ *+' conftest.er1 >conftest.err
19170
 
  rm -f conftest.er1
19171
 
  cat conftest.err >&5
19172
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19173
 
  (exit $ac_status); } && {
19174
 
         test -z "$ac_f77_werror_flag" ||
19175
 
         test ! -s conftest.err
19176
 
       } && test -s conftest$ac_exeext && {
19177
 
         test "$cross_compiling" = yes ||
19178
 
         $as_test_x conftest$ac_exeext
19179
 
       }; then
19180
 
 
19181
 
lt_aix_libpath_sed='
19182
 
    /Import File Strings/,/^$/ {
19183
 
        /^0/ {
19184
 
            s/^0  *\(.*\)$/\1/
19185
 
            p
19186
 
        }
19187
 
    }'
19188
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19189
 
# Check for a 64-bit object if we didn't find anything.
19190
 
if test -z "$aix_libpath"; then
19191
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19192
 
fi
19193
 
else
19194
 
  $as_echo "$as_me: failed program was:" >&5
19195
 
sed 's/^/| /' conftest.$ac_ext >&5
19196
 
 
19197
 
 
19198
 
fi
19199
 
 
19200
 
rm -rf conftest.dSYM
19201
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19202
 
      conftest$ac_exeext conftest.$ac_ext
19203
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
19204
 
 
19205
 
         hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
19206
 
          # Warning - without using the other run time loading flags,
19207
 
          # -berok will link without error, but may produce a broken library.
19208
 
          no_undefined_flag_F77=' ${wl}-bernotok'
19209
 
          allow_undefined_flag_F77=' ${wl}-berok'
19210
 
          # Exported symbols can be pulled into shared objects from archives
19211
 
          whole_archive_flag_spec_F77='$convenience'
19212
 
          archive_cmds_need_lc_F77=yes
19213
 
          # This is similar to how AIX traditionally builds its shared libraries.
19214
 
          archive_expsym_cmds_F77="\$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'
19215
 
        fi
19216
 
      fi
19217
 
      ;;
19218
 
 
19219
 
    amigaos*)
19220
 
      archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
19221
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
19222
 
      hardcode_minus_L_F77=yes
19223
 
      # see comment about different semantics on the GNU ld section
19224
 
      ld_shlibs_F77=no
19225
 
      ;;
19226
 
 
19227
 
    bsdi[45]*)
19228
 
      export_dynamic_flag_spec_F77=-rdynamic
19229
 
      ;;
19230
 
 
19231
 
    cygwin* | mingw* | pw32*)
19232
 
      # When not using gcc, we currently assume that we are using
19233
 
      # Microsoft Visual C++.
19234
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
19235
 
      # no search path for DLLs.
19236
 
      hardcode_libdir_flag_spec_F77=' '
19237
 
      allow_undefined_flag_F77=unsupported
19238
 
      # Tell ltmain to make .lib files, not .a files.
19239
 
      libext=lib
19240
 
      # Tell ltmain to make .dll files, not .so files.
19241
 
      shrext_cmds=".dll"
19242
 
      # FIXME: Setting linknames here is a bad hack.
19243
 
      archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
19244
 
      # The linker will automatically build a .lib file if we build a DLL.
19245
 
      old_archive_From_new_cmds_F77='true'
19246
 
      # FIXME: Should let the user specify the lib program.
19247
 
      old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
19248
 
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
19249
 
      enable_shared_with_static_runtimes_F77=yes
19250
 
      ;;
19251
 
 
19252
 
    darwin* | rhapsody*)
19253
 
      allow_undefined_flag_F77="$_lt_dar_allow_undefined"
19254
 
      archive_cmds_need_lc_F77=no
19255
 
      hardcode_direct_F77=no
19256
 
      hardcode_automatic_F77=yes
19257
 
      hardcode_shlibpath_var_F77=unsupported
19258
 
      whole_archive_flag_spec_F77=''
19259
 
      link_all_deplibs_F77=yes
19260
 
    if test "$GCC" = yes ; then
19261
 
        output_verbose_link_cmd='echo'
19262
 
        archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
19263
 
        module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
19264
 
        archive_expsym_cmds_F77="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}"
19265
 
        module_expsym_cmds_F77="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
19266
 
    else
19267
 
      case $cc_basename in
19268
 
        xlc*)
19269
 
         output_verbose_link_cmd='echo'
19270
 
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
19271
 
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
19272
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
19273
 
         archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
19274
 
          module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
19275
 
          ;;
19276
 
       *)
19277
 
         ld_shlibs_F77=no
19278
 
          ;;
19279
 
      esac
19280
 
    fi
19281
 
      ;;
19282
 
 
19283
 
    dgux*)
19284
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19285
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
19286
 
      hardcode_shlibpath_var_F77=no
19287
 
      ;;
19288
 
 
19289
 
    freebsd1*)
19290
 
      ld_shlibs_F77=no
19291
 
      ;;
19292
 
 
19293
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
19294
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
19295
 
    # does not break anything, and helps significantly (at the cost of a little
19296
 
    # extra space).
19297
 
    freebsd2.2*)
19298
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
19299
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
19300
 
      hardcode_direct_F77=yes
19301
 
      hardcode_shlibpath_var_F77=no
19302
 
      ;;
19303
 
 
19304
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
19305
 
    freebsd2*)
19306
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19307
 
      hardcode_direct_F77=yes
19308
 
      hardcode_minus_L_F77=yes
19309
 
      hardcode_shlibpath_var_F77=no
19310
 
      ;;
19311
 
 
19312
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
19313
 
    freebsd* | dragonfly*)
19314
 
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
19315
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
19316
 
      hardcode_direct_F77=yes
19317
 
      hardcode_shlibpath_var_F77=no
19318
 
      ;;
19319
 
 
19320
 
    hpux9*)
19321
 
      if test "$GCC" = yes; then
19322
 
        archive_cmds_F77='$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'
19323
 
      else
19324
 
        archive_cmds_F77='$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'
19325
 
      fi
19326
 
      hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
19327
 
      hardcode_libdir_separator_F77=:
19328
 
      hardcode_direct_F77=yes
19329
 
 
19330
 
      # hardcode_minus_L: Not really in the search PATH,
19331
 
      # but as the default location of the library.
19332
 
      hardcode_minus_L_F77=yes
19333
 
      export_dynamic_flag_spec_F77='${wl}-E'
19334
 
      ;;
19335
 
 
19336
 
    hpux10*)
19337
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
19338
 
        archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19339
 
      else
19340
 
        archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
19341
 
      fi
19342
 
      if test "$with_gnu_ld" = no; then
19343
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
19344
 
        hardcode_libdir_separator_F77=:
19345
 
 
19346
 
        hardcode_direct_F77=yes
19347
 
        export_dynamic_flag_spec_F77='${wl}-E'
19348
 
 
19349
 
        # hardcode_minus_L: Not really in the search PATH,
19350
 
        # but as the default location of the library.
19351
 
        hardcode_minus_L_F77=yes
19352
 
      fi
19353
 
      ;;
19354
 
 
19355
 
    hpux11*)
19356
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
19357
 
        case $host_cpu in
19358
 
        hppa*64*)
19359
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19360
 
          ;;
19361
 
        ia64*)
19362
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
19363
 
          ;;
19364
 
        *)
19365
 
          archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19366
 
          ;;
19367
 
        esac
19368
 
      else
19369
 
        case $host_cpu in
19370
 
        hppa*64*)
19371
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19372
 
          ;;
19373
 
        ia64*)
19374
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
19375
 
          ;;
19376
 
        *)
19377
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
19378
 
          ;;
19379
 
        esac
19380
 
      fi
19381
 
      if test "$with_gnu_ld" = no; then
19382
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
19383
 
        hardcode_libdir_separator_F77=:
19384
 
 
19385
 
        case $host_cpu in
19386
 
        hppa*64*|ia64*)
19387
 
          hardcode_libdir_flag_spec_ld_F77='+b $libdir'
19388
 
          hardcode_direct_F77=no
19389
 
          hardcode_shlibpath_var_F77=no
19390
 
          ;;
19391
 
        *)
19392
 
          hardcode_direct_F77=yes
19393
 
          export_dynamic_flag_spec_F77='${wl}-E'
19394
 
 
19395
 
          # hardcode_minus_L: Not really in the search PATH,
19396
 
          # but as the default location of the library.
19397
 
          hardcode_minus_L_F77=yes
19398
 
          ;;
19399
 
        esac
19400
 
      fi
19401
 
      ;;
19402
 
 
19403
 
    irix5* | irix6* | nonstopux*)
19404
 
      if test "$GCC" = yes; then
19405
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
19406
 
      else
19407
 
        archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
19408
 
        hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
19409
 
      fi
19410
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
19411
 
      hardcode_libdir_separator_F77=:
19412
 
      link_all_deplibs_F77=yes
19413
 
      ;;
19414
 
 
19415
 
    netbsd*)
19416
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19417
 
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
19418
 
      else
19419
 
        archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
19420
 
      fi
19421
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
19422
 
      hardcode_direct_F77=yes
19423
 
      hardcode_shlibpath_var_F77=no
19424
 
      ;;
19425
 
 
19426
 
    newsos6)
19427
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19428
 
      hardcode_direct_F77=yes
19429
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
19430
 
      hardcode_libdir_separator_F77=:
19431
 
      hardcode_shlibpath_var_F77=no
19432
 
      ;;
19433
 
 
19434
 
    openbsd*)
19435
 
      if test -f /usr/libexec/ld.so; then
19436
 
        hardcode_direct_F77=yes
19437
 
        hardcode_shlibpath_var_F77=no
19438
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19439
 
          archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19440
 
          archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
19441
 
          hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
19442
 
          export_dynamic_flag_spec_F77='${wl}-E'
19443
 
        else
19444
 
          case $host_os in
19445
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
19446
 
             archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19447
 
             hardcode_libdir_flag_spec_F77='-R$libdir'
19448
 
             ;;
19449
 
           *)
19450
 
             archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19451
 
             hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
19452
 
             ;;
19453
 
          esac
19454
 
        fi
19455
 
      else
19456
 
        ld_shlibs_F77=no
19457
 
      fi
19458
 
      ;;
19459
 
 
19460
 
    os2*)
19461
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
19462
 
      hardcode_minus_L_F77=yes
19463
 
      allow_undefined_flag_F77=unsupported
19464
 
      archive_cmds_F77='$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'
19465
 
      old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
19466
 
      ;;
19467
 
 
19468
 
    osf3*)
19469
 
      if test "$GCC" = yes; then
19470
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
19471
 
        archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
19472
 
      else
19473
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
19474
 
        archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
19475
 
      fi
19476
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
19477
 
      hardcode_libdir_separator_F77=:
19478
 
      ;;
19479
 
 
19480
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
19481
 
      if test "$GCC" = yes; then
19482
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
19483
 
        archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
19484
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
19485
 
      else
19486
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
19487
 
        archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
19488
 
        archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
19489
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
19490
 
 
19491
 
        # Both c and cxx compiler support -rpath directly
19492
 
        hardcode_libdir_flag_spec_F77='-rpath $libdir'
19493
 
      fi
19494
 
      hardcode_libdir_separator_F77=:
19495
 
      ;;
19496
 
 
19497
 
    solaris*)
19498
 
      no_undefined_flag_F77=' -z text'
19499
 
      if test "$GCC" = yes; then
19500
 
        wlarc='${wl}'
19501
 
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19502
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19503
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
19504
 
      else
19505
 
        wlarc=''
19506
 
        archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
19507
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19508
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
19509
 
      fi
19510
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
19511
 
      hardcode_shlibpath_var_F77=no
19512
 
      case $host_os in
19513
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
19514
 
      *)
19515
 
        # The compiler driver will combine and reorder linker options,
19516
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
19517
 
        # but is careful enough not to reorder.
19518
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
19519
 
        if test "$GCC" = yes; then
19520
 
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
19521
 
        else
19522
 
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
19523
 
        fi
19524
 
        ;;
19525
 
      esac
19526
 
      link_all_deplibs_F77=yes
19527
 
      ;;
19528
 
 
19529
 
    sunos4*)
19530
 
      if test "x$host_vendor" = xsequent; then
19531
 
        # Use $CC to link under sequent, because it throws in some extra .o
19532
 
        # files that make .init and .fini sections work.
19533
 
        archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
19534
 
      else
19535
 
        archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
19536
 
      fi
19537
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
19538
 
      hardcode_direct_F77=yes
19539
 
      hardcode_minus_L_F77=yes
19540
 
      hardcode_shlibpath_var_F77=no
19541
 
      ;;
19542
 
 
19543
 
    sysv4)
19544
 
      case $host_vendor in
19545
 
        sni)
19546
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19547
 
          hardcode_direct_F77=yes # is this really true???
19548
 
        ;;
19549
 
        siemens)
19550
 
          ## LD is ld it makes a PLAMLIB
19551
 
          ## CC just makes a GrossModule.
19552
 
          archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
19553
 
          reload_cmds_F77='$CC -r -o $output$reload_objs'
19554
 
          hardcode_direct_F77=no
19555
 
        ;;
19556
 
        motorola)
19557
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19558
 
          hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
19559
 
        ;;
19560
 
      esac
19561
 
      runpath_var='LD_RUN_PATH'
19562
 
      hardcode_shlibpath_var_F77=no
19563
 
      ;;
19564
 
 
19565
 
    sysv4.3*)
19566
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19567
 
      hardcode_shlibpath_var_F77=no
19568
 
      export_dynamic_flag_spec_F77='-Bexport'
19569
 
      ;;
19570
 
 
19571
 
    sysv4*MP*)
19572
 
      if test -d /usr/nec; then
19573
 
        archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19574
 
        hardcode_shlibpath_var_F77=no
19575
 
        runpath_var=LD_RUN_PATH
19576
 
        hardcode_runpath_var=yes
19577
 
        ld_shlibs_F77=yes
19578
 
      fi
19579
 
      ;;
19580
 
 
19581
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
19582
 
      no_undefined_flag_F77='${wl}-z,text'
19583
 
      archive_cmds_need_lc_F77=no
19584
 
      hardcode_shlibpath_var_F77=no
19585
 
      runpath_var='LD_RUN_PATH'
19586
 
 
19587
 
      if test "$GCC" = yes; then
19588
 
        archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19589
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19590
 
      else
19591
 
        archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19592
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19593
 
      fi
19594
 
      ;;
19595
 
 
19596
 
    sysv5* | sco3.2v5* | sco5v6*)
19597
 
      # Note: We can NOT use -z defs as we might desire, because we do not
19598
 
      # link with -lc, and that would cause any symbols used from libc to
19599
 
      # always be unresolved, which means just about no library would
19600
 
      # ever link correctly.  If we're not using GNU ld we use -z text
19601
 
      # though, which does catch some bad symbols but isn't as heavy-handed
19602
 
      # as -z defs.
19603
 
      no_undefined_flag_F77='${wl}-z,text'
19604
 
      allow_undefined_flag_F77='${wl}-z,nodefs'
19605
 
      archive_cmds_need_lc_F77=no
19606
 
      hardcode_shlibpath_var_F77=no
19607
 
      hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
19608
 
      hardcode_libdir_separator_F77=':'
19609
 
      link_all_deplibs_F77=yes
19610
 
      export_dynamic_flag_spec_F77='${wl}-Bexport'
19611
 
      runpath_var='LD_RUN_PATH'
19612
 
 
19613
 
      if test "$GCC" = yes; then
19614
 
        archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19615
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19616
 
      else
19617
 
        archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19618
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19619
 
      fi
19620
 
      ;;
19621
 
 
19622
 
    uts4*)
19623
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19624
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
19625
 
      hardcode_shlibpath_var_F77=no
19626
 
      ;;
19627
 
 
19628
 
    *)
19629
 
      ld_shlibs_F77=no
19630
 
      ;;
19631
 
    esac
19632
 
  fi
19633
 
 
19634
 
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
19635
 
$as_echo "$ld_shlibs_F77" >&6; }
19636
 
test "$ld_shlibs_F77" = no && can_build_shared=no
19637
 
 
19638
 
#
19639
 
# Do we need to explicitly link libc?
19640
 
#
19641
 
case "x$archive_cmds_need_lc_F77" in
19642
 
x|xyes)
19643
 
  # Assume -lc should be added
19644
 
  archive_cmds_need_lc_F77=yes
19645
 
 
19646
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
19647
 
    case $archive_cmds_F77 in
19648
 
    *'~'*)
19649
 
      # FIXME: we may have to deal with multi-command sequences.
19650
 
      ;;
19651
 
    '$CC '*)
19652
 
      # Test whether the compiler implicitly links with -lc since on some
19653
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
19654
 
      # to ld, don't add -lc before -lgcc.
19655
 
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
19656
 
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
19657
 
      $rm conftest*
19658
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19659
 
 
19660
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19661
 
  (eval $ac_compile) 2>&5
19662
 
  ac_status=$?
19663
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19664
 
  (exit $ac_status); } 2>conftest.err; then
19665
 
        soname=conftest
19666
 
        lib=conftest
19667
 
        libobjs=conftest.$ac_objext
19668
 
        deplibs=
19669
 
        wl=$lt_prog_compiler_wl_F77
19670
 
        pic_flag=$lt_prog_compiler_pic_F77
19671
 
        compiler_flags=-v
19672
 
        linker_flags=-v
19673
 
        verstring=
19674
 
        output_objdir=.
19675
 
        libname=conftest
19676
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_F77
19677
 
        allow_undefined_flag_F77=
19678
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
19679
 
  (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
19680
 
  ac_status=$?
19681
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19682
 
  (exit $ac_status); }
19683
 
        then
19684
 
          archive_cmds_need_lc_F77=no
19685
 
        else
19686
 
          archive_cmds_need_lc_F77=yes
19687
 
        fi
19688
 
        allow_undefined_flag_F77=$lt_save_allow_undefined_flag
19689
 
      else
19690
 
        cat conftest.err 1>&5
19691
 
      fi
19692
 
      $rm conftest*
19693
 
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
19694
 
$as_echo "$archive_cmds_need_lc_F77" >&6; }
19695
 
      ;;
19696
 
    esac
19697
 
  fi
19698
 
  ;;
19699
 
esac
19700
 
 
19701
 
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
19702
 
$as_echo_n "checking dynamic linker characteristics... " >&6; }
19703
 
library_names_spec=
19704
 
libname_spec='lib$name'
19705
 
soname_spec=
19706
 
shrext_cmds=".so"
19707
 
postinstall_cmds=
19708
 
postuninstall_cmds=
19709
 
finish_cmds=
19710
 
finish_eval=
19711
 
shlibpath_var=
19712
 
shlibpath_overrides_runpath=unknown
19713
 
version_type=none
19714
 
dynamic_linker="$host_os ld.so"
19715
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
19716
 
 
19717
 
need_lib_prefix=unknown
19718
 
hardcode_into_libs=no
19719
 
 
19720
 
# when you set need_version to no, make sure it does not cause -set_version
19721
 
# flags to be left without arguments
19722
 
need_version=unknown
19723
 
 
19724
 
case $host_os in
19725
 
aix3*)
19726
 
  version_type=linux
19727
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
19728
 
  shlibpath_var=LIBPATH
19729
 
 
19730
 
  # AIX 3 has no versioning support, so we append a major version to the name.
19731
 
  soname_spec='${libname}${release}${shared_ext}$major'
19732
 
  ;;
19733
 
 
19734
 
aix[4-9]*)
19735
 
  version_type=linux
19736
 
  need_lib_prefix=no
19737
 
  need_version=no
19738
 
  hardcode_into_libs=yes
19739
 
  if test "$host_cpu" = ia64; then
19740
 
    # AIX 5 supports IA64
19741
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
19742
 
    shlibpath_var=LD_LIBRARY_PATH
19743
 
  else
19744
 
    # With GCC up to 2.95.x, collect2 would create an import file
19745
 
    # for dependence libraries.  The import file would start with
19746
 
    # the line `#! .'.  This would cause the generated library to
19747
 
    # depend on `.', always an invalid library.  This was fixed in
19748
 
    # development snapshots of GCC prior to 3.0.
19749
 
    case $host_os in
19750
 
      aix4 | aix4.[01] | aix4.[01].*)
19751
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
19752
 
           echo ' yes '
19753
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
19754
 
        :
19755
 
      else
19756
 
        can_build_shared=no
19757
 
      fi
19758
 
      ;;
19759
 
    esac
19760
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
19761
 
    # soname into executable. Probably we can add versioning support to
19762
 
    # collect2, so additional links can be useful in future.
19763
 
    if test "$aix_use_runtimelinking" = yes; then
19764
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
19765
 
      # instead of lib<name>.a to let people know that these are not
19766
 
      # typical AIX shared libraries.
19767
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19768
 
    else
19769
 
      # We preserve .a as extension for shared libraries through AIX4.2
19770
 
      # and later when we are not doing run time linking.
19771
 
      library_names_spec='${libname}${release}.a $libname.a'
19772
 
      soname_spec='${libname}${release}${shared_ext}$major'
19773
 
    fi
19774
 
    shlibpath_var=LIBPATH
19775
 
  fi
19776
 
  ;;
19777
 
 
19778
 
amigaos*)
19779
 
  library_names_spec='$libname.ixlibrary $libname.a'
19780
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
19781
 
  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'
19782
 
  ;;
19783
 
 
19784
 
beos*)
19785
 
  library_names_spec='${libname}${shared_ext}'
19786
 
  dynamic_linker="$host_os ld.so"
19787
 
  shlibpath_var=LIBRARY_PATH
19788
 
  ;;
19789
 
 
19790
 
bsdi[45]*)
19791
 
  version_type=linux
19792
 
  need_version=no
19793
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19794
 
  soname_spec='${libname}${release}${shared_ext}$major'
19795
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
19796
 
  shlibpath_var=LD_LIBRARY_PATH
19797
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
19798
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
19799
 
  # the default ld.so.conf also contains /usr/contrib/lib and
19800
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
19801
 
  # libtool to hard-code these into programs
19802
 
  ;;
19803
 
 
19804
 
cygwin* | mingw* | pw32*)
19805
 
  version_type=windows
19806
 
  shrext_cmds=".dll"
19807
 
  need_version=no
19808
 
  need_lib_prefix=no
19809
 
 
19810
 
  case $GCC,$host_os in
19811
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
19812
 
    library_names_spec='$libname.dll.a'
19813
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
19814
 
    postinstall_cmds='base_file=`basename \${file}`~
19815
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
19816
 
      dldir=$destdir/`dirname \$dlpath`~
19817
 
      test -d \$dldir || mkdir -p \$dldir~
19818
 
      $install_prog $dir/$dlname \$dldir/$dlname~
19819
 
      chmod a+x \$dldir/$dlname'
19820
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
19821
 
      dlpath=$dir/\$dldll~
19822
 
       $rm \$dlpath'
19823
 
    shlibpath_overrides_runpath=yes
19824
 
 
19825
 
    case $host_os in
19826
 
    cygwin*)
19827
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
19828
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19829
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
19830
 
      ;;
19831
 
    mingw*)
19832
 
      # MinGW DLLs use traditional 'lib' prefix
19833
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19834
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19835
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
19836
 
        # It is most probably a Windows format PATH printed by
19837
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
19838
 
        # path with ; separators, and with drive letters. We can handle the
19839
 
        # drive letters (cygwin fileutils understands them), so leave them,
19840
 
        # especially as we might pass files found there to a mingw objdump,
19841
 
        # which wouldn't understand a cygwinified path. Ahh.
19842
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19843
 
      else
19844
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
19845
 
      fi
19846
 
      ;;
19847
 
    pw32*)
19848
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
19849
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19850
 
      ;;
19851
 
    esac
19852
 
    ;;
19853
 
 
19854
 
  *)
19855
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
19856
 
    ;;
19857
 
  esac
19858
 
  dynamic_linker='Win32 ld.exe'
19859
 
  # FIXME: first we should search . and the directory the executable is in
19860
 
  shlibpath_var=PATH
19861
 
  ;;
19862
 
 
19863
 
darwin* | rhapsody*)
19864
 
  dynamic_linker="$host_os dyld"
19865
 
  version_type=darwin
19866
 
  need_lib_prefix=no
19867
 
  need_version=no
19868
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
19869
 
  soname_spec='${libname}${release}${major}$shared_ext'
19870
 
  shlibpath_overrides_runpath=yes
19871
 
  shlibpath_var=DYLD_LIBRARY_PATH
19872
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
19873
 
 
19874
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
19875
 
  ;;
19876
 
 
19877
 
dgux*)
19878
 
  version_type=linux
19879
 
  need_lib_prefix=no
19880
 
  need_version=no
19881
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
19882
 
  soname_spec='${libname}${release}${shared_ext}$major'
19883
 
  shlibpath_var=LD_LIBRARY_PATH
19884
 
  ;;
19885
 
 
19886
 
freebsd1*)
19887
 
  dynamic_linker=no
19888
 
  ;;
19889
 
 
19890
 
freebsd* | dragonfly*)
19891
 
  # DragonFly does not have aout.  When/if they implement a new
19892
 
  # versioning mechanism, adjust this.
19893
 
  if test -x /usr/bin/objformat; then
19894
 
    objformat=`/usr/bin/objformat`
19895
 
  else
19896
 
    case $host_os in
19897
 
    freebsd[123]*) objformat=aout ;;
19898
 
    *) objformat=elf ;;
19899
 
    esac
19900
 
  fi
19901
 
  version_type=freebsd-$objformat
19902
 
  case $version_type in
19903
 
    freebsd-elf*)
19904
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19905
 
      need_version=no
19906
 
      need_lib_prefix=no
19907
 
      ;;
19908
 
    freebsd-*)
19909
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
19910
 
      need_version=yes
19911
 
      ;;
19912
 
  esac
19913
 
  shlibpath_var=LD_LIBRARY_PATH
19914
 
  case $host_os in
19915
 
  freebsd2*)
19916
 
    shlibpath_overrides_runpath=yes
19917
 
    ;;
19918
 
  freebsd3.[01]* | freebsdelf3.[01]*)
19919
 
    shlibpath_overrides_runpath=yes
19920
 
    hardcode_into_libs=yes
19921
 
    ;;
19922
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
19923
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
19924
 
    shlibpath_overrides_runpath=no
19925
 
    hardcode_into_libs=yes
19926
 
    ;;
19927
 
  *) # from 4.6 on, and DragonFly
19928
 
    shlibpath_overrides_runpath=yes
19929
 
    hardcode_into_libs=yes
19930
 
    ;;
19931
 
  esac
19932
 
  ;;
19933
 
 
19934
 
gnu*)
19935
 
  version_type=linux
19936
 
  need_lib_prefix=no
19937
 
  need_version=no
19938
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
19939
 
  soname_spec='${libname}${release}${shared_ext}$major'
19940
 
  shlibpath_var=LD_LIBRARY_PATH
19941
 
  hardcode_into_libs=yes
19942
 
  ;;
19943
 
 
19944
 
hpux9* | hpux10* | hpux11*)
19945
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
19946
 
  # link against other versions.
19947
 
  version_type=sunos
19948
 
  need_lib_prefix=no
19949
 
  need_version=no
19950
 
  case $host_cpu in
19951
 
  ia64*)
19952
 
    shrext_cmds='.so'
19953
 
    hardcode_into_libs=yes
19954
 
    dynamic_linker="$host_os dld.so"
19955
 
    shlibpath_var=LD_LIBRARY_PATH
19956
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19957
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19958
 
    soname_spec='${libname}${release}${shared_ext}$major'
19959
 
    if test "X$HPUX_IA64_MODE" = X32; then
19960
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
19961
 
    else
19962
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
19963
 
    fi
19964
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19965
 
    ;;
19966
 
   hppa*64*)
19967
 
     shrext_cmds='.sl'
19968
 
     hardcode_into_libs=yes
19969
 
     dynamic_linker="$host_os dld.sl"
19970
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
19971
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19972
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19973
 
     soname_spec='${libname}${release}${shared_ext}$major'
19974
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
19975
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19976
 
     ;;
19977
 
   *)
19978
 
    shrext_cmds='.sl'
19979
 
    dynamic_linker="$host_os dld.sl"
19980
 
    shlibpath_var=SHLIB_PATH
19981
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
19982
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19983
 
    soname_spec='${libname}${release}${shared_ext}$major'
19984
 
    ;;
19985
 
  esac
19986
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
19987
 
  postinstall_cmds='chmod 555 $lib'
19988
 
  ;;
19989
 
 
19990
 
interix[3-9]*)
19991
 
  version_type=linux
19992
 
  need_lib_prefix=no
19993
 
  need_version=no
19994
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19995
 
  soname_spec='${libname}${release}${shared_ext}$major'
19996
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
19997
 
  shlibpath_var=LD_LIBRARY_PATH
19998
 
  shlibpath_overrides_runpath=no
19999
 
  hardcode_into_libs=yes
20000
 
  ;;
20001
 
 
20002
 
irix5* | irix6* | nonstopux*)
20003
 
  case $host_os in
20004
 
    nonstopux*) version_type=nonstopux ;;
20005
 
    *)
20006
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
20007
 
                version_type=linux
20008
 
        else
20009
 
                version_type=irix
20010
 
        fi ;;
20011
 
  esac
20012
 
  need_lib_prefix=no
20013
 
  need_version=no
20014
 
  soname_spec='${libname}${release}${shared_ext}$major'
20015
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
20016
 
  case $host_os in
20017
 
  irix5* | nonstopux*)
20018
 
    libsuff= shlibsuff=
20019
 
    ;;
20020
 
  *)
20021
 
    case $LD in # libtool.m4 will add one of these switches to LD
20022
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
20023
 
      libsuff= shlibsuff= libmagic=32-bit;;
20024
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
20025
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
20026
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
20027
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
20028
 
    *) libsuff= shlibsuff= libmagic=never-match;;
20029
 
    esac
20030
 
    ;;
20031
 
  esac
20032
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
20033
 
  shlibpath_overrides_runpath=no
20034
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
20035
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
20036
 
  hardcode_into_libs=yes
20037
 
  ;;
20038
 
 
20039
 
# No shared lib support for Linux oldld, aout, or coff.
20040
 
linux*oldld* | linux*aout* | linux*coff*)
20041
 
  dynamic_linker=no
20042
 
  ;;
20043
 
 
20044
 
# This must be Linux ELF.
20045
 
linux* | k*bsd*-gnu)
20046
 
  version_type=linux
20047
 
  need_lib_prefix=no
20048
 
  need_version=no
20049
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20050
 
  soname_spec='${libname}${release}${shared_ext}$major'
20051
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
20052
 
  shlibpath_var=LD_LIBRARY_PATH
20053
 
  shlibpath_overrides_runpath=no
20054
 
  # This implies no fast_install, which is unacceptable.
20055
 
  # Some rework will be needed to allow for fast_install
20056
 
  # before this can be enabled.
20057
 
  hardcode_into_libs=yes
20058
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
20059
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
20060
 
 
20061
 
  # Append ld.so.conf contents to the search path
20062
 
  if test -f /etc/ld.so.conf; then
20063
 
    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' ' '`
20064
 
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
20065
 
  fi
20066
 
 
20067
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
20068
 
  # powerpc, because MkLinux only supported shared libraries with the
20069
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
20070
 
  # most powerpc-linux boxes support dynamic linking these days and
20071
 
  # people can always --disable-shared, the test was removed, and we
20072
 
  # assume the GNU/Linux dynamic linker is in use.
20073
 
  dynamic_linker='GNU/Linux ld.so'
20074
 
  ;;
20075
 
 
20076
 
netbsd*)
20077
 
  version_type=sunos
20078
 
  need_lib_prefix=no
20079
 
  need_version=no
20080
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
20081
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20082
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20083
 
    dynamic_linker='NetBSD (a.out) ld.so'
20084
 
  else
20085
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20086
 
    soname_spec='${libname}${release}${shared_ext}$major'
20087
 
    dynamic_linker='NetBSD ld.elf_so'
20088
 
  fi
20089
 
  shlibpath_var=LD_LIBRARY_PATH
20090
 
  shlibpath_overrides_runpath=yes
20091
 
  hardcode_into_libs=yes
20092
 
  ;;
20093
 
 
20094
 
newsos6)
20095
 
  version_type=linux
20096
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20097
 
  shlibpath_var=LD_LIBRARY_PATH
20098
 
  shlibpath_overrides_runpath=yes
20099
 
  ;;
20100
 
 
20101
 
nto-qnx*)
20102
 
  version_type=linux
20103
 
  need_lib_prefix=no
20104
 
  need_version=no
20105
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20106
 
  soname_spec='${libname}${release}${shared_ext}$major'
20107
 
  shlibpath_var=LD_LIBRARY_PATH
20108
 
  shlibpath_overrides_runpath=yes
20109
 
  ;;
20110
 
 
20111
 
openbsd*)
20112
 
  version_type=sunos
20113
 
  sys_lib_dlsearch_path_spec="/usr/lib"
20114
 
  need_lib_prefix=no
20115
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
20116
 
  case $host_os in
20117
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
20118
 
    *)                         need_version=no  ;;
20119
 
  esac
20120
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20121
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20122
 
  shlibpath_var=LD_LIBRARY_PATH
20123
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20124
 
    case $host_os in
20125
 
      openbsd2.[89] | openbsd2.[89].*)
20126
 
        shlibpath_overrides_runpath=no
20127
 
        ;;
20128
 
      *)
20129
 
        shlibpath_overrides_runpath=yes
20130
 
        ;;
20131
 
      esac
20132
 
  else
20133
 
    shlibpath_overrides_runpath=yes
20134
 
  fi
20135
 
  ;;
20136
 
 
20137
 
os2*)
20138
 
  libname_spec='$name'
20139
 
  shrext_cmds=".dll"
20140
 
  need_lib_prefix=no
20141
 
  library_names_spec='$libname${shared_ext} $libname.a'
20142
 
  dynamic_linker='OS/2 ld.exe'
20143
 
  shlibpath_var=LIBPATH
20144
 
  ;;
20145
 
 
20146
 
osf3* | osf4* | osf5*)
20147
 
  version_type=osf
20148
 
  need_lib_prefix=no
20149
 
  need_version=no
20150
 
  soname_spec='${libname}${release}${shared_ext}$major'
20151
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20152
 
  shlibpath_var=LD_LIBRARY_PATH
20153
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
20154
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
20155
 
  ;;
20156
 
 
20157
 
rdos*)
20158
 
  dynamic_linker=no
20159
 
  ;;
20160
 
 
20161
 
solaris*)
20162
 
  version_type=linux
20163
 
  need_lib_prefix=no
20164
 
  need_version=no
20165
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20166
 
  soname_spec='${libname}${release}${shared_ext}$major'
20167
 
  shlibpath_var=LD_LIBRARY_PATH
20168
 
  shlibpath_overrides_runpath=yes
20169
 
  hardcode_into_libs=yes
20170
 
  # ldd complains unless libraries are executable
20171
 
  postinstall_cmds='chmod +x $lib'
20172
 
  ;;
20173
 
 
20174
 
sunos4*)
20175
 
  version_type=sunos
20176
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20177
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
20178
 
  shlibpath_var=LD_LIBRARY_PATH
20179
 
  shlibpath_overrides_runpath=yes
20180
 
  if test "$with_gnu_ld" = yes; then
20181
 
    need_lib_prefix=no
20182
 
  fi
20183
 
  need_version=yes
20184
 
  ;;
20185
 
 
20186
 
sysv4 | sysv4.3*)
20187
 
  version_type=linux
20188
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20189
 
  soname_spec='${libname}${release}${shared_ext}$major'
20190
 
  shlibpath_var=LD_LIBRARY_PATH
20191
 
  case $host_vendor in
20192
 
    sni)
20193
 
      shlibpath_overrides_runpath=no
20194
 
      need_lib_prefix=no
20195
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
20196
 
      runpath_var=LD_RUN_PATH
20197
 
      ;;
20198
 
    siemens)
20199
 
      need_lib_prefix=no
20200
 
      ;;
20201
 
    motorola)
20202
 
      need_lib_prefix=no
20203
 
      need_version=no
20204
 
      shlibpath_overrides_runpath=no
20205
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
20206
 
      ;;
20207
 
  esac
20208
 
  ;;
20209
 
 
20210
 
sysv4*MP*)
20211
 
  if test -d /usr/nec ;then
20212
 
    version_type=linux
20213
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
20214
 
    soname_spec='$libname${shared_ext}.$major'
20215
 
    shlibpath_var=LD_LIBRARY_PATH
20216
 
  fi
20217
 
  ;;
20218
 
 
20219
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
20220
 
  version_type=freebsd-elf
20221
 
  need_lib_prefix=no
20222
 
  need_version=no
20223
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20224
 
  soname_spec='${libname}${release}${shared_ext}$major'
20225
 
  shlibpath_var=LD_LIBRARY_PATH
20226
 
  hardcode_into_libs=yes
20227
 
  if test "$with_gnu_ld" = yes; then
20228
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
20229
 
    shlibpath_overrides_runpath=no
20230
 
  else
20231
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
20232
 
    shlibpath_overrides_runpath=yes
20233
 
    case $host_os in
20234
 
      sco3.2v5*)
20235
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
20236
 
        ;;
20237
 
    esac
20238
 
  fi
20239
 
  sys_lib_dlsearch_path_spec='/usr/lib'
20240
 
  ;;
20241
 
 
20242
 
uts4*)
20243
 
  version_type=linux
20244
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20245
 
  soname_spec='${libname}${release}${shared_ext}$major'
20246
 
  shlibpath_var=LD_LIBRARY_PATH
20247
 
  ;;
20248
 
 
20249
 
*)
20250
 
  dynamic_linker=no
20251
 
  ;;
20252
 
esac
20253
 
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
20254
 
$as_echo "$dynamic_linker" >&6; }
20255
 
test "$dynamic_linker" = no && can_build_shared=no
20256
 
 
20257
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
20258
 
  $as_echo_n "(cached) " >&6
20259
 
else
20260
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
20261
 
fi
20262
 
 
20263
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
20264
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
20265
 
  $as_echo_n "(cached) " >&6
20266
 
else
20267
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
20268
 
fi
20269
 
 
20270
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
20271
 
 
20272
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
20273
 
if test "$GCC" = yes; then
20274
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20275
 
fi
20276
 
 
20277
 
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
20278
 
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
20279
 
hardcode_action_F77=
20280
 
if test -n "$hardcode_libdir_flag_spec_F77" || \
20281
 
   test -n "$runpath_var_F77" || \
20282
 
   test "X$hardcode_automatic_F77" = "Xyes" ; then
20283
 
 
20284
 
  # We can hardcode non-existant directories.
20285
 
  if test "$hardcode_direct_F77" != no &&
20286
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
20287
 
     # have to relink, otherwise we might link with an installed library
20288
 
     # when we should be linking with a yet-to-be-installed one
20289
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
20290
 
     test "$hardcode_minus_L_F77" != no; then
20291
 
    # Linking always hardcodes the temporary library directory.
20292
 
    hardcode_action_F77=relink
20293
 
  else
20294
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
20295
 
    hardcode_action_F77=immediate
20296
 
  fi
20297
 
else
20298
 
  # We cannot hardcode anything, or else we can only hardcode existing
20299
 
  # directories.
20300
 
  hardcode_action_F77=unsupported
20301
 
fi
20302
 
{ $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
20303
 
$as_echo "$hardcode_action_F77" >&6; }
20304
 
 
20305
 
if test "$hardcode_action_F77" = relink; then
20306
 
  # Fast installation is not supported
20307
 
  enable_fast_install=no
20308
 
elif test "$shlibpath_overrides_runpath" = yes ||
20309
 
     test "$enable_shared" = no; then
20310
 
  # Fast installation is not necessary
20311
 
  enable_fast_install=needless
20312
 
fi
20313
 
 
20314
 
 
20315
 
# The else clause should only fire when bootstrapping the
20316
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
20317
 
# with your package, and you will get complaints that there are
20318
 
# no rules to generate ltmain.sh.
20319
 
if test -f "$ltmain"; then
20320
 
  # See if we are running on zsh, and set the options which allow our commands through
20321
 
  # without removal of \ escapes.
20322
 
  if test -n "${ZSH_VERSION+set}" ; then
20323
 
    setopt NO_GLOB_SUBST
20324
 
  fi
20325
 
  # Now quote all the things that may contain metacharacters while being
20326
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
20327
 
  # variables and quote the copies for generation of the libtool script.
20328
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
20329
 
    SED SHELL STRIP \
20330
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20331
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20332
 
    deplibs_check_method reload_flag reload_cmds need_locks \
20333
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20334
 
    lt_cv_sys_global_symbol_to_c_name_address \
20335
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20336
 
    old_postinstall_cmds old_postuninstall_cmds \
20337
 
    compiler_F77 \
20338
 
    CC_F77 \
20339
 
    LD_F77 \
20340
 
    lt_prog_compiler_wl_F77 \
20341
 
    lt_prog_compiler_pic_F77 \
20342
 
    lt_prog_compiler_static_F77 \
20343
 
    lt_prog_compiler_no_builtin_flag_F77 \
20344
 
    export_dynamic_flag_spec_F77 \
20345
 
    thread_safe_flag_spec_F77 \
20346
 
    whole_archive_flag_spec_F77 \
20347
 
    enable_shared_with_static_runtimes_F77 \
20348
 
    old_archive_cmds_F77 \
20349
 
    old_archive_from_new_cmds_F77 \
20350
 
    predep_objects_F77 \
20351
 
    postdep_objects_F77 \
20352
 
    predeps_F77 \
20353
 
    postdeps_F77 \
20354
 
    compiler_lib_search_path_F77 \
20355
 
    compiler_lib_search_dirs_F77 \
20356
 
    archive_cmds_F77 \
20357
 
    archive_expsym_cmds_F77 \
20358
 
    postinstall_cmds_F77 \
20359
 
    postuninstall_cmds_F77 \
20360
 
    old_archive_from_expsyms_cmds_F77 \
20361
 
    allow_undefined_flag_F77 \
20362
 
    no_undefined_flag_F77 \
20363
 
    export_symbols_cmds_F77 \
20364
 
    hardcode_libdir_flag_spec_F77 \
20365
 
    hardcode_libdir_flag_spec_ld_F77 \
20366
 
    hardcode_libdir_separator_F77 \
20367
 
    hardcode_automatic_F77 \
20368
 
    module_cmds_F77 \
20369
 
    module_expsym_cmds_F77 \
20370
 
    lt_cv_prog_compiler_c_o_F77 \
20371
 
    fix_srcfile_path_F77 \
20372
 
    exclude_expsyms_F77 \
20373
 
    include_expsyms_F77; do
20374
 
 
20375
 
    case $var in
20376
 
    old_archive_cmds_F77 | \
20377
 
    old_archive_from_new_cmds_F77 | \
20378
 
    archive_cmds_F77 | \
20379
 
    archive_expsym_cmds_F77 | \
20380
 
    module_cmds_F77 | \
20381
 
    module_expsym_cmds_F77 | \
20382
 
    old_archive_from_expsyms_cmds_F77 | \
20383
 
    export_symbols_cmds_F77 | \
20384
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
20385
 
    postinstall_cmds | postuninstall_cmds | \
20386
 
    old_postinstall_cmds | old_postuninstall_cmds | \
20387
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
20388
 
      # Double-quote double-evaled strings.
20389
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20390
 
      ;;
20391
 
    *)
20392
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20393
 
      ;;
20394
 
    esac
20395
 
  done
20396
 
 
20397
 
  case $lt_echo in
20398
 
  *'\$0 --fallback-echo"')
20399
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20400
 
    ;;
20401
 
  esac
20402
 
 
20403
 
cfgfile="$ofile"
20404
 
 
20405
 
  cat <<__EOF__ >> "$cfgfile"
20406
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
20407
 
 
20408
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20409
 
 
20410
 
# Shell to use when invoking shell scripts.
20411
 
SHELL=$lt_SHELL
20412
 
 
20413
 
# Whether or not to build shared libraries.
20414
 
build_libtool_libs=$enable_shared
20415
 
 
20416
 
# Whether or not to build static libraries.
20417
 
build_old_libs=$enable_static
20418
 
 
20419
 
# Whether or not to add -lc for building shared libraries.
20420
 
build_libtool_need_lc=$archive_cmds_need_lc_F77
20421
 
 
20422
 
# Whether or not to disallow shared libs when runtime libs are static
20423
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
20424
 
 
20425
 
# Whether or not to optimize for fast installation.
20426
 
fast_install=$enable_fast_install
20427
 
 
20428
 
# The host system.
20429
 
host_alias=$host_alias
20430
 
host=$host
20431
 
host_os=$host_os
20432
 
 
20433
 
# The build system.
20434
 
build_alias=$build_alias
20435
 
build=$build
20436
 
build_os=$build_os
20437
 
 
20438
 
# An echo program that does not interpret backslashes.
20439
 
echo=$lt_echo
20440
 
 
20441
 
# The archiver.
20442
 
AR=$lt_AR
20443
 
AR_FLAGS=$lt_AR_FLAGS
20444
 
 
20445
 
# A C compiler.
20446
 
LTCC=$lt_LTCC
20447
 
 
20448
 
# LTCC compiler flags.
20449
 
LTCFLAGS=$lt_LTCFLAGS
20450
 
 
20451
 
# A language-specific compiler.
20452
 
CC=$lt_compiler_F77
20453
 
 
20454
 
# Is the compiler the GNU C compiler?
20455
 
with_gcc=$GCC_F77
20456
 
 
20457
 
# An ERE matcher.
20458
 
EGREP=$lt_EGREP
20459
 
 
20460
 
# The linker used to build libraries.
20461
 
LD=$lt_LD_F77
20462
 
 
20463
 
# Whether we need hard or soft links.
20464
 
LN_S=$lt_LN_S
20465
 
 
20466
 
# A BSD-compatible nm program.
20467
 
NM=$lt_NM
20468
 
 
20469
 
# A symbol stripping program
20470
 
STRIP=$lt_STRIP
20471
 
 
20472
 
# Used to examine libraries when file_magic_cmd begins "file"
20473
 
MAGIC_CMD=$MAGIC_CMD
20474
 
 
20475
 
# Used on cygwin: DLL creation program.
20476
 
DLLTOOL="$DLLTOOL"
20477
 
 
20478
 
# Used on cygwin: object dumper.
20479
 
OBJDUMP="$OBJDUMP"
20480
 
 
20481
 
# Used on cygwin: assembler.
20482
 
AS="$AS"
20483
 
 
20484
 
# The name of the directory that contains temporary libtool files.
20485
 
objdir=$objdir
20486
 
 
20487
 
# How to create reloadable object files.
20488
 
reload_flag=$lt_reload_flag
20489
 
reload_cmds=$lt_reload_cmds
20490
 
 
20491
 
# How to pass a linker flag through the compiler.
20492
 
wl=$lt_lt_prog_compiler_wl_F77
20493
 
 
20494
 
# Object file suffix (normally "o").
20495
 
objext="$ac_objext"
20496
 
 
20497
 
# Old archive suffix (normally "a").
20498
 
libext="$libext"
20499
 
 
20500
 
# Shared library suffix (normally ".so").
20501
 
shrext_cmds='$shrext_cmds'
20502
 
 
20503
 
# Executable file suffix (normally "").
20504
 
exeext="$exeext"
20505
 
 
20506
 
# Additional compiler flags for building library objects.
20507
 
pic_flag=$lt_lt_prog_compiler_pic_F77
20508
 
pic_mode=$pic_mode
20509
 
 
20510
 
# What is the maximum length of a command?
20511
 
max_cmd_len=$lt_cv_sys_max_cmd_len
20512
 
 
20513
 
# Does compiler simultaneously support -c and -o options?
20514
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
20515
 
 
20516
 
# Must we lock files when doing compilation?
20517
 
need_locks=$lt_need_locks
20518
 
 
20519
 
# Do we need the lib prefix for modules?
20520
 
need_lib_prefix=$need_lib_prefix
20521
 
 
20522
 
# Do we need a version for libraries?
20523
 
need_version=$need_version
20524
 
 
20525
 
# Whether dlopen is supported.
20526
 
dlopen_support=$enable_dlopen
20527
 
 
20528
 
# Whether dlopen of programs is supported.
20529
 
dlopen_self=$enable_dlopen_self
20530
 
 
20531
 
# Whether dlopen of statically linked programs is supported.
20532
 
dlopen_self_static=$enable_dlopen_self_static
20533
 
 
20534
 
# Compiler flag to prevent dynamic linking.
20535
 
link_static_flag=$lt_lt_prog_compiler_static_F77
20536
 
 
20537
 
# Compiler flag to turn off builtin functions.
20538
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
20539
 
 
20540
 
# Compiler flag to allow reflexive dlopens.
20541
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
20542
 
 
20543
 
# Compiler flag to generate shared objects directly from archives.
20544
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
20545
 
 
20546
 
# Compiler flag to generate thread-safe objects.
20547
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
20548
 
 
20549
 
# Library versioning type.
20550
 
version_type=$version_type
20551
 
 
20552
 
# Format of library name prefix.
20553
 
libname_spec=$lt_libname_spec
20554
 
 
20555
 
# List of archive names.  First name is the real one, the rest are links.
20556
 
# The last name is the one that the linker finds with -lNAME.
20557
 
library_names_spec=$lt_library_names_spec
20558
 
 
20559
 
# The coded name of the library, if different from the real name.
20560
 
soname_spec=$lt_soname_spec
20561
 
 
20562
 
# Commands used to build and install an old-style archive.
20563
 
RANLIB=$lt_RANLIB
20564
 
old_archive_cmds=$lt_old_archive_cmds_F77
20565
 
old_postinstall_cmds=$lt_old_postinstall_cmds
20566
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
20567
 
 
20568
 
# Create an old-style archive from a shared archive.
20569
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
20570
 
 
20571
 
# Create a temporary old-style archive to link instead of a shared archive.
20572
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
20573
 
 
20574
 
# Commands used to build and install a shared archive.
20575
 
archive_cmds=$lt_archive_cmds_F77
20576
 
archive_expsym_cmds=$lt_archive_expsym_cmds_F77
20577
 
postinstall_cmds=$lt_postinstall_cmds
20578
 
postuninstall_cmds=$lt_postuninstall_cmds
20579
 
 
20580
 
# Commands used to build a loadable module (assumed same as above if empty)
20581
 
module_cmds=$lt_module_cmds_F77
20582
 
module_expsym_cmds=$lt_module_expsym_cmds_F77
20583
 
 
20584
 
# Commands to strip libraries.
20585
 
old_striplib=$lt_old_striplib
20586
 
striplib=$lt_striplib
20587
 
 
20588
 
# Dependencies to place before the objects being linked to create a
20589
 
# shared library.
20590
 
predep_objects=$lt_predep_objects_F77
20591
 
 
20592
 
# Dependencies to place after the objects being linked to create a
20593
 
# shared library.
20594
 
postdep_objects=$lt_postdep_objects_F77
20595
 
 
20596
 
# Dependencies to place before the objects being linked to create a
20597
 
# shared library.
20598
 
predeps=$lt_predeps_F77
20599
 
 
20600
 
# Dependencies to place after the objects being linked to create a
20601
 
# shared library.
20602
 
postdeps=$lt_postdeps_F77
20603
 
 
20604
 
# The directories searched by this compiler when creating a shared
20605
 
# library
20606
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
20607
 
 
20608
 
# The library search path used internally by the compiler when linking
20609
 
# a shared library.
20610
 
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
20611
 
 
20612
 
# Method to check whether dependent libraries are shared objects.
20613
 
deplibs_check_method=$lt_deplibs_check_method
20614
 
 
20615
 
# Command to use when deplibs_check_method == file_magic.
20616
 
file_magic_cmd=$lt_file_magic_cmd
20617
 
 
20618
 
# Flag that allows shared libraries with undefined symbols to be built.
20619
 
allow_undefined_flag=$lt_allow_undefined_flag_F77
20620
 
 
20621
 
# Flag that forces no undefined symbols.
20622
 
no_undefined_flag=$lt_no_undefined_flag_F77
20623
 
 
20624
 
# Commands used to finish a libtool library installation in a directory.
20625
 
finish_cmds=$lt_finish_cmds
20626
 
 
20627
 
# Same as above, but a single script fragment to be evaled but not shown.
20628
 
finish_eval=$lt_finish_eval
20629
 
 
20630
 
# Take the output of nm and produce a listing of raw symbols and C names.
20631
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20632
 
 
20633
 
# Transform the output of nm in a proper C declaration
20634
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20635
 
 
20636
 
# Transform the output of nm in a C name address pair
20637
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20638
 
 
20639
 
# This is the shared library runtime path variable.
20640
 
runpath_var=$runpath_var
20641
 
 
20642
 
# This is the shared library path variable.
20643
 
shlibpath_var=$shlibpath_var
20644
 
 
20645
 
# Is shlibpath searched before the hard-coded library search path?
20646
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20647
 
 
20648
 
# How to hardcode a shared library path into an executable.
20649
 
hardcode_action=$hardcode_action_F77
20650
 
 
20651
 
# Whether we should hardcode library paths into libraries.
20652
 
hardcode_into_libs=$hardcode_into_libs
20653
 
 
20654
 
# Flag to hardcode \$libdir into a binary during linking.
20655
 
# This must work even if \$libdir does not exist.
20656
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
20657
 
 
20658
 
# If ld is used when linking, flag to hardcode \$libdir into
20659
 
# a binary during linking. This must work even if \$libdir does
20660
 
# not exist.
20661
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
20662
 
 
20663
 
# Whether we need a single -rpath flag with a separated argument.
20664
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
20665
 
 
20666
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20667
 
# resulting binary.
20668
 
hardcode_direct=$hardcode_direct_F77
20669
 
 
20670
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20671
 
# resulting binary.
20672
 
hardcode_minus_L=$hardcode_minus_L_F77
20673
 
 
20674
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20675
 
# the resulting binary.
20676
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
20677
 
 
20678
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
20679
 
# and all subsequent libraries and executables linked against it.
20680
 
hardcode_automatic=$hardcode_automatic_F77
20681
 
 
20682
 
# Variables whose values should be saved in libtool wrapper scripts and
20683
 
# restored at relink time.
20684
 
variables_saved_for_relink="$variables_saved_for_relink"
20685
 
 
20686
 
# Whether libtool must link a program against all its dependency libraries.
20687
 
link_all_deplibs=$link_all_deplibs_F77
20688
 
 
20689
 
# Compile-time system search path for libraries
20690
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20691
 
 
20692
 
# Run-time system search path for libraries
20693
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20694
 
 
20695
 
# Fix the shell variable \$srcfile for the compiler.
20696
 
fix_srcfile_path=$lt_fix_srcfile_path
20697
 
 
20698
 
# Set to yes if exported symbols are required.
20699
 
always_export_symbols=$always_export_symbols_F77
20700
 
 
20701
 
# The commands to list exported symbols.
20702
 
export_symbols_cmds=$lt_export_symbols_cmds_F77
20703
 
 
20704
 
# The commands to extract the exported symbol list from a shared archive.
20705
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
20706
 
 
20707
 
# Symbols that should not be listed in the preloaded symbols.
20708
 
exclude_expsyms=$lt_exclude_expsyms_F77
20709
 
 
20710
 
# Symbols that must always be exported.
20711
 
include_expsyms=$lt_include_expsyms_F77
20712
 
 
20713
 
# ### END LIBTOOL TAG CONFIG: $tagname
20714
 
 
20715
 
__EOF__
20716
 
 
20717
 
 
20718
 
else
20719
 
  # If there is no Makefile yet, we rely on a make rule to execute
20720
 
  # `config.status --recheck' to rerun these tests and create the
20721
 
  # libtool script then.
20722
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20723
 
  if test -f "$ltmain_in"; then
20724
 
    test -f Makefile && make "$ltmain"
20725
 
  fi
20726
 
fi
20727
 
 
20728
 
 
20729
 
ac_ext=c
20730
 
ac_cpp='$CPP $CPPFLAGS'
20731
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20732
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20733
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
20734
 
 
20735
 
CC="$lt_save_CC"
20736
 
 
20737
 
        else
20738
 
          tagname=""
20739
 
        fi
20740
 
        ;;
20741
 
 
20742
 
      GCJ)
20743
 
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
20744
 
 
20745
 
 
20746
 
# Source file extension for Java test sources.
20747
 
ac_ext=java
20748
 
 
20749
 
# Object file extension for compiled Java test sources.
20750
 
objext=o
20751
 
objext_GCJ=$objext
20752
 
 
20753
 
# Code to be used in simple compile tests
20754
 
lt_simple_compile_test_code="class foo {}"
20755
 
 
20756
 
# Code to be used in simple link tests
20757
 
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
20758
 
 
20759
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
20760
 
 
20761
 
# If no C compiler was specified, use CC.
20762
 
LTCC=${LTCC-"$CC"}
20763
 
 
20764
 
# If no C compiler flags were specified, use CFLAGS.
20765
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
20766
 
 
20767
 
# Allow CC to be a program name with arguments.
20768
 
compiler=$CC
20769
 
 
20770
 
 
20771
 
# save warnings/boilerplate of simple test code
20772
 
ac_outfile=conftest.$ac_objext
20773
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
20774
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20775
 
_lt_compiler_boilerplate=`cat conftest.err`
20776
 
$rm conftest*
20777
 
 
20778
 
ac_outfile=conftest.$ac_objext
20779
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
20780
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20781
 
_lt_linker_boilerplate=`cat conftest.err`
20782
 
$rm -r conftest*
20783
 
 
20784
 
 
20785
 
# Allow CC to be a program name with arguments.
20786
 
lt_save_CC="$CC"
20787
 
CC=${GCJ-"gcj"}
20788
 
compiler=$CC
20789
 
compiler_GCJ=$CC
20790
 
for cc_temp in $compiler""; do
20791
 
  case $cc_temp in
20792
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
20793
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
20794
 
    \-*) ;;
20795
 
    *) break;;
20796
 
  esac
20797
 
done
20798
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
20799
 
 
20800
 
 
20801
 
# GCJ did not exist at the time GCC didn't implicitly link libc in.
20802
 
archive_cmds_need_lc_GCJ=no
20803
 
 
20804
 
old_archive_cmds_GCJ=$old_archive_cmds
20805
 
 
20806
 
 
20807
 
lt_prog_compiler_no_builtin_flag_GCJ=
20808
 
 
20809
 
if test "$GCC" = yes; then
20810
 
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
20811
 
 
20812
 
 
20813
 
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
20814
 
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
20815
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
20816
 
  $as_echo_n "(cached) " >&6
20817
 
else
20818
 
  lt_cv_prog_compiler_rtti_exceptions=no
20819
 
  ac_outfile=conftest.$ac_objext
20820
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
20821
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
20822
 
   # Insert the option either (1) after the last *FLAGS variable, or
20823
 
   # (2) before a word containing "conftest.", or (3) at the end.
20824
 
   # Note that $ac_compile itself does not contain backslashes and begins
20825
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
20826
 
   # The option is referenced via a variable to avoid confusing sed.
20827
 
   lt_compile=`echo "$ac_compile" | $SED \
20828
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
20829
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20830
 
   -e 's:$: $lt_compiler_flag:'`
20831
 
   (eval echo "\"\$as_me:20831: $lt_compile\"" >&5)
20832
 
   (eval "$lt_compile" 2>conftest.err)
20833
 
   ac_status=$?
20834
 
   cat conftest.err >&5
20835
 
   echo "$as_me:20835: \$? = $ac_status" >&5
20836
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
20837
 
     # The compiler can only warn and ignore the option if not recognized
20838
 
     # So say no if there are warnings other than the usual output.
20839
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
20840
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
20841
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
20842
 
       lt_cv_prog_compiler_rtti_exceptions=yes
20843
 
     fi
20844
 
   fi
20845
 
   $rm conftest*
20846
 
 
20847
 
fi
20848
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
20849
 
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
20850
 
 
20851
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
20852
 
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
20853
 
else
20854
 
    :
20855
 
fi
20856
 
 
20857
 
fi
20858
 
 
20859
 
lt_prog_compiler_wl_GCJ=
20860
 
lt_prog_compiler_pic_GCJ=
20861
 
lt_prog_compiler_static_GCJ=
20862
 
 
20863
 
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
20864
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
20865
 
 
20866
 
  if test "$GCC" = yes; then
20867
 
    lt_prog_compiler_wl_GCJ='-Wl,'
20868
 
    lt_prog_compiler_static_GCJ='-static'
20869
 
 
20870
 
    case $host_os in
20871
 
      aix*)
20872
 
      # All AIX code is PIC.
20873
 
      if test "$host_cpu" = ia64; then
20874
 
        # AIX 5 now supports IA64 processor
20875
 
        lt_prog_compiler_static_GCJ='-Bstatic'
20876
 
      fi
20877
 
      ;;
20878
 
 
20879
 
    amigaos*)
20880
 
      # FIXME: we need at least 68020 code to build shared libraries, but
20881
 
      # adding the `-m68020' flag to GCC prevents building anything better,
20882
 
      # like `-m68040'.
20883
 
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
20884
 
      ;;
20885
 
 
20886
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
20887
 
      # PIC is the default for these OSes.
20888
 
      ;;
20889
 
 
20890
 
    mingw* | cygwin* | pw32* | os2*)
20891
 
      # This hack is so that the source file can tell whether it is being
20892
 
      # built for inclusion in a dll (and should export symbols for example).
20893
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
20894
 
      # (--disable-auto-import) libraries
20895
 
 
20896
 
      ;;
20897
 
 
20898
 
    darwin* | rhapsody*)
20899
 
      # PIC is the default on this platform
20900
 
      # Common symbols not allowed in MH_DYLIB files
20901
 
      lt_prog_compiler_pic_GCJ='-fno-common'
20902
 
      ;;
20903
 
 
20904
 
    interix[3-9]*)
20905
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
20906
 
      # Instead, we relocate shared libraries at runtime.
20907
 
      ;;
20908
 
 
20909
 
    msdosdjgpp*)
20910
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
20911
 
      # on systems that don't support them.
20912
 
      lt_prog_compiler_can_build_shared_GCJ=no
20913
 
      enable_shared=no
20914
 
      ;;
20915
 
 
20916
 
    sysv4*MP*)
20917
 
      if test -d /usr/nec; then
20918
 
        lt_prog_compiler_pic_GCJ=-Kconform_pic
20919
 
      fi
20920
 
      ;;
20921
 
 
20922
 
    hpux*)
20923
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
20924
 
      # not for PA HP-UX.
20925
 
      case $host_cpu in
20926
 
      hppa*64*|ia64*)
20927
 
        # +Z the default
20928
 
        ;;
20929
 
      *)
20930
 
        lt_prog_compiler_pic_GCJ='-fPIC'
20931
 
        ;;
20932
 
      esac
20933
 
      ;;
20934
 
 
20935
 
    *)
20936
 
      lt_prog_compiler_pic_GCJ='-fPIC'
20937
 
      ;;
20938
 
    esac
20939
 
  else
20940
 
    # PORTME Check for flag to pass linker flags through the system compiler.
20941
 
    case $host_os in
20942
 
    aix*)
20943
 
      lt_prog_compiler_wl_GCJ='-Wl,'
20944
 
      if test "$host_cpu" = ia64; then
20945
 
        # AIX 5 now supports IA64 processor
20946
 
        lt_prog_compiler_static_GCJ='-Bstatic'
20947
 
      else
20948
 
        lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
20949
 
      fi
20950
 
      ;;
20951
 
      darwin*)
20952
 
        # PIC is the default on this platform
20953
 
        # Common symbols not allowed in MH_DYLIB files
20954
 
       case $cc_basename in
20955
 
         xlc*)
20956
 
         lt_prog_compiler_pic_GCJ='-qnocommon'
20957
 
         lt_prog_compiler_wl_GCJ='-Wl,'
20958
 
         ;;
20959
 
       esac
20960
 
       ;;
20961
 
 
20962
 
    mingw* | cygwin* | pw32* | os2*)
20963
 
      # This hack is so that the source file can tell whether it is being
20964
 
      # built for inclusion in a dll (and should export symbols for example).
20965
 
 
20966
 
      ;;
20967
 
 
20968
 
    hpux9* | hpux10* | hpux11*)
20969
 
      lt_prog_compiler_wl_GCJ='-Wl,'
20970
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
20971
 
      # not for PA HP-UX.
20972
 
      case $host_cpu in
20973
 
      hppa*64*|ia64*)
20974
 
        # +Z the default
20975
 
        ;;
20976
 
      *)
20977
 
        lt_prog_compiler_pic_GCJ='+Z'
20978
 
        ;;
20979
 
      esac
20980
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
20981
 
      lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
20982
 
      ;;
20983
 
 
20984
 
    irix5* | irix6* | nonstopux*)
20985
 
      lt_prog_compiler_wl_GCJ='-Wl,'
20986
 
      # PIC (with -KPIC) is the default.
20987
 
      lt_prog_compiler_static_GCJ='-non_shared'
20988
 
      ;;
20989
 
 
20990
 
    newsos6)
20991
 
      lt_prog_compiler_pic_GCJ='-KPIC'
20992
 
      lt_prog_compiler_static_GCJ='-Bstatic'
20993
 
      ;;
20994
 
 
20995
 
    linux* | k*bsd*-gnu)
20996
 
      case $cc_basename in
20997
 
      icc* | ecc*)
20998
 
        lt_prog_compiler_wl_GCJ='-Wl,'
20999
 
        lt_prog_compiler_pic_GCJ='-KPIC'
21000
 
        lt_prog_compiler_static_GCJ='-static'
21001
 
        ;;
21002
 
      pgcc* | pgf77* | pgf90* | pgf95*)
21003
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
21004
 
        # which looks to be a dead project)
21005
 
        lt_prog_compiler_wl_GCJ='-Wl,'
21006
 
        lt_prog_compiler_pic_GCJ='-fpic'
21007
 
        lt_prog_compiler_static_GCJ='-Bstatic'
21008
 
        ;;
21009
 
      ccc*)
21010
 
        lt_prog_compiler_wl_GCJ='-Wl,'
21011
 
        # All Alpha code is PIC.
21012
 
        lt_prog_compiler_static_GCJ='-non_shared'
21013
 
        ;;
21014
 
      *)
21015
 
        case `$CC -V 2>&1 | sed 5q` in
21016
 
        *Sun\ C*)
21017
 
          # Sun C 5.9
21018
 
          lt_prog_compiler_pic_GCJ='-KPIC'
21019
 
          lt_prog_compiler_static_GCJ='-Bstatic'
21020
 
          lt_prog_compiler_wl_GCJ='-Wl,'
21021
 
          ;;
21022
 
        *Sun\ F*)
21023
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
21024
 
          lt_prog_compiler_pic_GCJ='-KPIC'
21025
 
          lt_prog_compiler_static_GCJ='-Bstatic'
21026
 
          lt_prog_compiler_wl_GCJ=''
21027
 
          ;;
21028
 
        esac
21029
 
        ;;
21030
 
      esac
21031
 
      ;;
21032
 
 
21033
 
    osf3* | osf4* | osf5*)
21034
 
      lt_prog_compiler_wl_GCJ='-Wl,'
21035
 
      # All OSF/1 code is PIC.
21036
 
      lt_prog_compiler_static_GCJ='-non_shared'
21037
 
      ;;
21038
 
 
21039
 
    rdos*)
21040
 
      lt_prog_compiler_static_GCJ='-non_shared'
21041
 
      ;;
21042
 
 
21043
 
    solaris*)
21044
 
      lt_prog_compiler_pic_GCJ='-KPIC'
21045
 
      lt_prog_compiler_static_GCJ='-Bstatic'
21046
 
      case $cc_basename in
21047
 
      f77* | f90* | f95*)
21048
 
        lt_prog_compiler_wl_GCJ='-Qoption ld ';;
21049
 
      *)
21050
 
        lt_prog_compiler_wl_GCJ='-Wl,';;
21051
 
      esac
21052
 
      ;;
21053
 
 
21054
 
    sunos4*)
21055
 
      lt_prog_compiler_wl_GCJ='-Qoption ld '
21056
 
      lt_prog_compiler_pic_GCJ='-PIC'
21057
 
      lt_prog_compiler_static_GCJ='-Bstatic'
21058
 
      ;;
21059
 
 
21060
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
21061
 
      lt_prog_compiler_wl_GCJ='-Wl,'
21062
 
      lt_prog_compiler_pic_GCJ='-KPIC'
21063
 
      lt_prog_compiler_static_GCJ='-Bstatic'
21064
 
      ;;
21065
 
 
21066
 
    sysv4*MP*)
21067
 
      if test -d /usr/nec ;then
21068
 
        lt_prog_compiler_pic_GCJ='-Kconform_pic'
21069
 
        lt_prog_compiler_static_GCJ='-Bstatic'
21070
 
      fi
21071
 
      ;;
21072
 
 
21073
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
21074
 
      lt_prog_compiler_wl_GCJ='-Wl,'
21075
 
      lt_prog_compiler_pic_GCJ='-KPIC'
21076
 
      lt_prog_compiler_static_GCJ='-Bstatic'
21077
 
      ;;
21078
 
 
21079
 
    unicos*)
21080
 
      lt_prog_compiler_wl_GCJ='-Wl,'
21081
 
      lt_prog_compiler_can_build_shared_GCJ=no
21082
 
      ;;
21083
 
 
21084
 
    uts4*)
21085
 
      lt_prog_compiler_pic_GCJ='-pic'
21086
 
      lt_prog_compiler_static_GCJ='-Bstatic'
21087
 
      ;;
21088
 
 
21089
 
    *)
21090
 
      lt_prog_compiler_can_build_shared_GCJ=no
21091
 
      ;;
21092
 
    esac
21093
 
  fi
21094
 
 
21095
 
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
21096
 
$as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
21097
 
 
21098
 
#
21099
 
# Check to make sure the PIC flag actually works.
21100
 
#
21101
 
if test -n "$lt_prog_compiler_pic_GCJ"; then
21102
 
 
21103
 
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
21104
 
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
21105
 
if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
21106
 
  $as_echo_n "(cached) " >&6
21107
 
else
21108
 
  lt_cv_prog_compiler_pic_works_GCJ=no
21109
 
  ac_outfile=conftest.$ac_objext
21110
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
21111
 
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
21112
 
   # Insert the option either (1) after the last *FLAGS variable, or
21113
 
   # (2) before a word containing "conftest.", or (3) at the end.
21114
 
   # Note that $ac_compile itself does not contain backslashes and begins
21115
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
21116
 
   # The option is referenced via a variable to avoid confusing sed.
21117
 
   lt_compile=`echo "$ac_compile" | $SED \
21118
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21119
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21120
 
   -e 's:$: $lt_compiler_flag:'`
21121
 
   (eval echo "\"\$as_me:21121: $lt_compile\"" >&5)
21122
 
   (eval "$lt_compile" 2>conftest.err)
21123
 
   ac_status=$?
21124
 
   cat conftest.err >&5
21125
 
   echo "$as_me:21125: \$? = $ac_status" >&5
21126
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
21127
 
     # The compiler can only warn and ignore the option if not recognized
21128
 
     # So say no if there are warnings other than the usual output.
21129
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
21130
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
21131
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
21132
 
       lt_cv_prog_compiler_pic_works_GCJ=yes
21133
 
     fi
21134
 
   fi
21135
 
   $rm conftest*
21136
 
 
21137
 
fi
21138
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
21139
 
$as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
21140
 
 
21141
 
if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
21142
 
    case $lt_prog_compiler_pic_GCJ in
21143
 
     "" | " "*) ;;
21144
 
     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
21145
 
     esac
21146
 
else
21147
 
    lt_prog_compiler_pic_GCJ=
21148
 
     lt_prog_compiler_can_build_shared_GCJ=no
21149
 
fi
21150
 
 
21151
 
fi
21152
 
case $host_os in
21153
 
  # For platforms which do not support PIC, -DPIC is meaningless:
21154
 
  *djgpp*)
21155
 
    lt_prog_compiler_pic_GCJ=
21156
 
    ;;
21157
 
  *)
21158
 
    lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
21159
 
    ;;
21160
 
esac
21161
 
 
21162
 
#
21163
 
# Check to make sure the static flag actually works.
21164
 
#
21165
 
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
21166
 
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
21167
 
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
21168
 
if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
21169
 
  $as_echo_n "(cached) " >&6
21170
 
else
21171
 
  lt_cv_prog_compiler_static_works_GCJ=no
21172
 
   save_LDFLAGS="$LDFLAGS"
21173
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
21174
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
21175
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
21176
 
     # The linker can only warn and ignore the option if not recognized
21177
 
     # So say no if there are warnings
21178
 
     if test -s conftest.err; then
21179
 
       # Append any errors to the config.log.
21180
 
       cat conftest.err 1>&5
21181
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
21182
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
21183
 
       if diff conftest.exp conftest.er2 >/dev/null; then
21184
 
         lt_cv_prog_compiler_static_works_GCJ=yes
21185
 
       fi
21186
 
     else
21187
 
       lt_cv_prog_compiler_static_works_GCJ=yes
21188
 
     fi
21189
 
   fi
21190
 
   $rm -r conftest*
21191
 
   LDFLAGS="$save_LDFLAGS"
21192
 
 
21193
 
fi
21194
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
21195
 
$as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; }
21196
 
 
21197
 
if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
21198
 
    :
21199
 
else
21200
 
    lt_prog_compiler_static_GCJ=
21201
 
fi
21202
 
 
21203
 
 
21204
 
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
21205
 
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
21206
 
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
21207
 
  $as_echo_n "(cached) " >&6
21208
 
else
21209
 
  lt_cv_prog_compiler_c_o_GCJ=no
21210
 
   $rm -r conftest 2>/dev/null
21211
 
   mkdir conftest
21212
 
   cd conftest
21213
 
   mkdir out
21214
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
21215
 
 
21216
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
21217
 
   # Insert the option either (1) after the last *FLAGS variable, or
21218
 
   # (2) before a word containing "conftest.", or (3) at the end.
21219
 
   # Note that $ac_compile itself does not contain backslashes and begins
21220
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
21221
 
   lt_compile=`echo "$ac_compile" | $SED \
21222
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
21223
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
21224
 
   -e 's:$: $lt_compiler_flag:'`
21225
 
   (eval echo "\"\$as_me:21225: $lt_compile\"" >&5)
21226
 
   (eval "$lt_compile" 2>out/conftest.err)
21227
 
   ac_status=$?
21228
 
   cat out/conftest.err >&5
21229
 
   echo "$as_me:21229: \$? = $ac_status" >&5
21230
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
21231
 
   then
21232
 
     # The compiler can only warn and ignore the option if not recognized
21233
 
     # So say no if there are warnings
21234
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
21235
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
21236
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
21237
 
       lt_cv_prog_compiler_c_o_GCJ=yes
21238
 
     fi
21239
 
   fi
21240
 
   chmod u+w . 2>&5
21241
 
   $rm conftest*
21242
 
   # SGI C++ compiler will create directory out/ii_files/ for
21243
 
   # template instantiation
21244
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
21245
 
   $rm out/* && rmdir out
21246
 
   cd ..
21247
 
   rmdir conftest
21248
 
   $rm conftest*
21249
 
 
21250
 
fi
21251
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
21252
 
$as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
21253
 
 
21254
 
 
21255
 
hard_links="nottested"
21256
 
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
21257
 
  # do not overwrite the value of need_locks provided by the user
21258
 
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
21259
 
$as_echo_n "checking if we can lock with hard links... " >&6; }
21260
 
  hard_links=yes
21261
 
  $rm conftest*
21262
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
21263
 
  touch conftest.a
21264
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
21265
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
21266
 
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
21267
 
$as_echo "$hard_links" >&6; }
21268
 
  if test "$hard_links" = no; then
21269
 
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
21270
 
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
21271
 
    need_locks=warn
21272
 
  fi
21273
 
else
21274
 
  need_locks=no
21275
 
fi
21276
 
 
21277
 
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
21278
 
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
21279
 
 
21280
 
  runpath_var=
21281
 
  allow_undefined_flag_GCJ=
21282
 
  enable_shared_with_static_runtimes_GCJ=no
21283
 
  archive_cmds_GCJ=
21284
 
  archive_expsym_cmds_GCJ=
21285
 
  old_archive_From_new_cmds_GCJ=
21286
 
  old_archive_from_expsyms_cmds_GCJ=
21287
 
  export_dynamic_flag_spec_GCJ=
21288
 
  whole_archive_flag_spec_GCJ=
21289
 
  thread_safe_flag_spec_GCJ=
21290
 
  hardcode_libdir_flag_spec_GCJ=
21291
 
  hardcode_libdir_flag_spec_ld_GCJ=
21292
 
  hardcode_libdir_separator_GCJ=
21293
 
  hardcode_direct_GCJ=no
21294
 
  hardcode_minus_L_GCJ=no
21295
 
  hardcode_shlibpath_var_GCJ=unsupported
21296
 
  link_all_deplibs_GCJ=unknown
21297
 
  hardcode_automatic_GCJ=no
21298
 
  module_cmds_GCJ=
21299
 
  module_expsym_cmds_GCJ=
21300
 
  always_export_symbols_GCJ=no
21301
 
  export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
21302
 
  # include_expsyms should be a list of space-separated symbols to be *always*
21303
 
  # included in the symbol list
21304
 
  include_expsyms_GCJ=
21305
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
21306
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
21307
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
21308
 
  # as well as any symbol that contains `d'.
21309
 
  exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
21310
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
21311
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
21312
 
  # the symbol is explicitly referenced.  Since portable code cannot
21313
 
  # rely on this symbol name, it's probably fine to never include it in
21314
 
  # preloaded symbol tables.
21315
 
  # Exclude shared library initialization/finalization symbols.
21316
 
  extract_expsyms_cmds=
21317
 
  # Just being paranoid about ensuring that cc_basename is set.
21318
 
  for cc_temp in $compiler""; do
21319
 
  case $cc_temp in
21320
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
21321
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
21322
 
    \-*) ;;
21323
 
    *) break;;
21324
 
  esac
21325
 
done
21326
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
21327
 
 
21328
 
  case $host_os in
21329
 
  cygwin* | mingw* | pw32*)
21330
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
21331
 
    # When not using gcc, we currently assume that we are using
21332
 
    # Microsoft Visual C++.
21333
 
    if test "$GCC" != yes; then
21334
 
      with_gnu_ld=no
21335
 
    fi
21336
 
    ;;
21337
 
  interix*)
21338
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
21339
 
    with_gnu_ld=yes
21340
 
    ;;
21341
 
  openbsd*)
21342
 
    with_gnu_ld=no
21343
 
    ;;
21344
 
  esac
21345
 
 
21346
 
  ld_shlibs_GCJ=yes
21347
 
  if test "$with_gnu_ld" = yes; then
21348
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
21349
 
    wlarc='${wl}'
21350
 
 
21351
 
    # Set some defaults for GNU ld with shared library support. These
21352
 
    # are reset later if shared libraries are not supported. Putting them
21353
 
    # here allows them to be overridden if necessary.
21354
 
    runpath_var=LD_RUN_PATH
21355
 
    hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
21356
 
    export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
21357
 
    # ancient GNU ld didn't support --whole-archive et. al.
21358
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
21359
 
        whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
21360
 
      else
21361
 
        whole_archive_flag_spec_GCJ=
21362
 
    fi
21363
 
    supports_anon_versioning=no
21364
 
    case `$LD -v 2>/dev/null` in
21365
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
21366
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
21367
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
21368
 
      *\ 2.11.*) ;; # other 2.11 versions
21369
 
      *) supports_anon_versioning=yes ;;
21370
 
    esac
21371
 
 
21372
 
    # See if GNU ld supports shared libraries.
21373
 
    case $host_os in
21374
 
    aix[3-9]*)
21375
 
      # On AIX/PPC, the GNU linker is very broken
21376
 
      if test "$host_cpu" != ia64; then
21377
 
        ld_shlibs_GCJ=no
21378
 
        cat <<EOF 1>&2
21379
 
 
21380
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
21381
 
*** to be unable to reliably create shared libraries on AIX.
21382
 
*** Therefore, libtool is disabling shared libraries support.  If you
21383
 
*** really care for shared libraries, you may want to modify your PATH
21384
 
*** so that a non-GNU linker is found, and then restart.
21385
 
 
21386
 
EOF
21387
 
      fi
21388
 
      ;;
21389
 
 
21390
 
    amigaos*)
21391
 
      archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
21392
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
21393
 
      hardcode_minus_L_GCJ=yes
21394
 
 
21395
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
21396
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
21397
 
      # to version 4, is to share data among multiple programs linked
21398
 
      # with the same dynamic library.  Since this doesn't match the
21399
 
      # behavior of shared libraries on other platforms, we can't use
21400
 
      # them.
21401
 
      ld_shlibs_GCJ=no
21402
 
      ;;
21403
 
 
21404
 
    beos*)
21405
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
21406
 
        allow_undefined_flag_GCJ=unsupported
21407
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
21408
 
        # support --undefined.  This deserves some investigation.  FIXME
21409
 
        archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21410
 
      else
21411
 
        ld_shlibs_GCJ=no
21412
 
      fi
21413
 
      ;;
21414
 
 
21415
 
    cygwin* | mingw* | pw32*)
21416
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
21417
 
      # as there is no search path for DLLs.
21418
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
21419
 
      allow_undefined_flag_GCJ=unsupported
21420
 
      always_export_symbols_GCJ=no
21421
 
      enable_shared_with_static_runtimes_GCJ=yes
21422
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
21423
 
 
21424
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
21425
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
21426
 
        # If the export-symbols file already is a .def file (1st line
21427
 
        # is EXPORTS), use it as is; otherwise, prepend...
21428
 
        archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
21429
 
          cp $export_symbols $output_objdir/$soname.def;
21430
 
        else
21431
 
          echo EXPORTS > $output_objdir/$soname.def;
21432
 
          cat $export_symbols >> $output_objdir/$soname.def;
21433
 
        fi~
21434
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
21435
 
      else
21436
 
        ld_shlibs_GCJ=no
21437
 
      fi
21438
 
      ;;
21439
 
 
21440
 
    interix[3-9]*)
21441
 
      hardcode_direct_GCJ=no
21442
 
      hardcode_shlibpath_var_GCJ=no
21443
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
21444
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
21445
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
21446
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
21447
 
      # default) and relocated if they conflict, which is a slow very memory
21448
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
21449
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
21450
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
21451
 
      archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
21452
 
      archive_expsym_cmds_GCJ='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
21453
 
      ;;
21454
 
 
21455
 
    gnu* | linux* | k*bsd*-gnu)
21456
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
21457
 
        tmp_addflag=
21458
 
        case $cc_basename,$host_cpu in
21459
 
        pgcc*)                          # Portland Group C compiler
21460
 
          whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
21461
 
          tmp_addflag=' $pic_flag'
21462
 
          ;;
21463
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
21464
 
          whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
21465
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
21466
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
21467
 
          tmp_addflag=' -i_dynamic' ;;
21468
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
21469
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
21470
 
        ifc* | ifort*)                  # Intel Fortran compiler
21471
 
          tmp_addflag=' -nofor_main' ;;
21472
 
        esac
21473
 
        case `$CC -V 2>&1 | sed 5q` in
21474
 
        *Sun\ C*)                       # Sun C 5.9
21475
 
          whole_archive_flag_spec_GCJ='${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'
21476
 
          tmp_sharedflag='-G' ;;
21477
 
        *Sun\ F*)                       # Sun Fortran 8.3
21478
 
          tmp_sharedflag='-G' ;;
21479
 
        *)
21480
 
          tmp_sharedflag='-shared' ;;
21481
 
        esac
21482
 
        archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21483
 
 
21484
 
        if test $supports_anon_versioning = yes; then
21485
 
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
21486
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
21487
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
21488
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
21489
 
        fi
21490
 
      else
21491
 
        ld_shlibs_GCJ=no
21492
 
      fi
21493
 
      ;;
21494
 
 
21495
 
    netbsd*)
21496
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
21497
 
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
21498
 
        wlarc=
21499
 
      else
21500
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21501
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21502
 
      fi
21503
 
      ;;
21504
 
 
21505
 
    solaris*)
21506
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
21507
 
        ld_shlibs_GCJ=no
21508
 
        cat <<EOF 1>&2
21509
 
 
21510
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
21511
 
*** create shared libraries on Solaris systems.  Therefore, libtool
21512
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
21513
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
21514
 
*** your PATH or compiler configuration so that the native linker is
21515
 
*** used, and then restart.
21516
 
 
21517
 
EOF
21518
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
21519
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21520
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21521
 
      else
21522
 
        ld_shlibs_GCJ=no
21523
 
      fi
21524
 
      ;;
21525
 
 
21526
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
21527
 
      case `$LD -v 2>&1` in
21528
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
21529
 
        ld_shlibs_GCJ=no
21530
 
        cat <<_LT_EOF 1>&2
21531
 
 
21532
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
21533
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
21534
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
21535
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
21536
 
*** your PATH or compiler configuration so that the native linker is
21537
 
*** used, and then restart.
21538
 
 
21539
 
_LT_EOF
21540
 
        ;;
21541
 
        *)
21542
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
21543
 
            hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
21544
 
            archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
21545
 
            archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
21546
 
          else
21547
 
            ld_shlibs_GCJ=no
21548
 
          fi
21549
 
        ;;
21550
 
      esac
21551
 
      ;;
21552
 
 
21553
 
    sunos4*)
21554
 
      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
21555
 
      wlarc=
21556
 
      hardcode_direct_GCJ=yes
21557
 
      hardcode_shlibpath_var_GCJ=no
21558
 
      ;;
21559
 
 
21560
 
    *)
21561
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
21562
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
21563
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
21564
 
      else
21565
 
        ld_shlibs_GCJ=no
21566
 
      fi
21567
 
      ;;
21568
 
    esac
21569
 
 
21570
 
    if test "$ld_shlibs_GCJ" = no; then
21571
 
      runpath_var=
21572
 
      hardcode_libdir_flag_spec_GCJ=
21573
 
      export_dynamic_flag_spec_GCJ=
21574
 
      whole_archive_flag_spec_GCJ=
21575
 
    fi
21576
 
  else
21577
 
    # PORTME fill in a description of your system's linker (not GNU ld)
21578
 
    case $host_os in
21579
 
    aix3*)
21580
 
      allow_undefined_flag_GCJ=unsupported
21581
 
      always_export_symbols_GCJ=yes
21582
 
      archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
21583
 
      # Note: this linker hardcodes the directories in LIBPATH if there
21584
 
      # are no directories specified by -L.
21585
 
      hardcode_minus_L_GCJ=yes
21586
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
21587
 
        # Neither direct hardcoding nor static linking is supported with a
21588
 
        # broken collect2.
21589
 
        hardcode_direct_GCJ=unsupported
21590
 
      fi
21591
 
      ;;
21592
 
 
21593
 
    aix[4-9]*)
21594
 
      if test "$host_cpu" = ia64; then
21595
 
        # On IA64, the linker does run time linking by default, so we don't
21596
 
        # have to do anything special.
21597
 
        aix_use_runtimelinking=no
21598
 
        exp_sym_flag='-Bexport'
21599
 
        no_entry_flag=""
21600
 
      else
21601
 
        # If we're using GNU nm, then we don't want the "-C" option.
21602
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
21603
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
21604
 
          export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
21605
 
        else
21606
 
          export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
21607
 
        fi
21608
 
        aix_use_runtimelinking=no
21609
 
 
21610
 
        # Test if we are trying to use run time linking or normal
21611
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
21612
 
        # need to do runtime linking.
21613
 
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
21614
 
          for ld_flag in $LDFLAGS; do
21615
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
21616
 
            aix_use_runtimelinking=yes
21617
 
            break
21618
 
          fi
21619
 
          done
21620
 
          ;;
21621
 
        esac
21622
 
 
21623
 
        exp_sym_flag='-bexport'
21624
 
        no_entry_flag='-bnoentry'
21625
 
      fi
21626
 
 
21627
 
      # When large executables or shared objects are built, AIX ld can
21628
 
      # have problems creating the table of contents.  If linking a library
21629
 
      # or program results in "error TOC overflow" add -mminimal-toc to
21630
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
21631
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
21632
 
 
21633
 
      archive_cmds_GCJ=''
21634
 
      hardcode_direct_GCJ=yes
21635
 
      hardcode_libdir_separator_GCJ=':'
21636
 
      link_all_deplibs_GCJ=yes
21637
 
 
21638
 
      if test "$GCC" = yes; then
21639
 
        case $host_os in aix4.[012]|aix4.[012].*)
21640
 
        # We only want to do this on AIX 4.2 and lower, the check
21641
 
        # below for broken collect2 doesn't work under 4.3+
21642
 
          collect2name=`${CC} -print-prog-name=collect2`
21643
 
          if test -f "$collect2name" && \
21644
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
21645
 
          then
21646
 
          # We have reworked collect2
21647
 
          :
21648
 
          else
21649
 
          # We have old collect2
21650
 
          hardcode_direct_GCJ=unsupported
21651
 
          # It fails to find uninstalled libraries when the uninstalled
21652
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
21653
 
          # to unsupported forces relinking
21654
 
          hardcode_minus_L_GCJ=yes
21655
 
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
21656
 
          hardcode_libdir_separator_GCJ=
21657
 
          fi
21658
 
          ;;
21659
 
        esac
21660
 
        shared_flag='-shared'
21661
 
        if test "$aix_use_runtimelinking" = yes; then
21662
 
          shared_flag="$shared_flag "'${wl}-G'
21663
 
        fi
21664
 
      else
21665
 
        # not using gcc
21666
 
        if test "$host_cpu" = ia64; then
21667
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
21668
 
        # chokes on -Wl,-G. The following line is correct:
21669
 
          shared_flag='-G'
21670
 
        else
21671
 
          if test "$aix_use_runtimelinking" = yes; then
21672
 
            shared_flag='${wl}-G'
21673
 
          else
21674
 
            shared_flag='${wl}-bM:SRE'
21675
 
          fi
21676
 
        fi
21677
 
      fi
21678
 
 
21679
 
      # It seems that -bexpall does not export symbols beginning with
21680
 
      # underscore (_), so it is better to generate a list of symbols to export.
21681
 
      always_export_symbols_GCJ=yes
21682
 
      if test "$aix_use_runtimelinking" = yes; then
21683
 
        # Warning - without using the other runtime loading flags (-brtl),
21684
 
        # -berok will link without error, but may produce a broken library.
21685
 
        allow_undefined_flag_GCJ='-berok'
21686
 
       # Determine the default libpath from the value encoded in an empty executable.
21687
 
       cat >conftest.$ac_ext <<_ACEOF
21688
 
/* confdefs.h.  */
21689
 
_ACEOF
21690
 
cat confdefs.h >>conftest.$ac_ext
21691
 
cat >>conftest.$ac_ext <<_ACEOF
21692
 
/* end confdefs.h.  */
21693
 
 
21694
 
int
21695
 
main ()
21696
 
{
21697
 
 
21698
 
  ;
21699
 
  return 0;
21700
 
}
21701
 
_ACEOF
21702
 
rm -f conftest.$ac_objext conftest$ac_exeext
21703
 
if { (ac_try="$ac_link"
21704
 
case "(($ac_try" in
21705
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21706
 
  *) ac_try_echo=$ac_try;;
21707
 
esac
21708
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21709
 
$as_echo "$ac_try_echo") >&5
21710
 
  (eval "$ac_link") 2>conftest.er1
21711
 
  ac_status=$?
21712
 
  grep -v '^ *+' conftest.er1 >conftest.err
21713
 
  rm -f conftest.er1
21714
 
  cat conftest.err >&5
21715
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21716
 
  (exit $ac_status); } && {
21717
 
         test -z "$ac_c_werror_flag" ||
21718
 
         test ! -s conftest.err
21719
 
       } && test -s conftest$ac_exeext && {
21720
 
         test "$cross_compiling" = yes ||
21721
 
         $as_test_x conftest$ac_exeext
21722
 
       }; then
21723
 
 
21724
 
lt_aix_libpath_sed='
21725
 
    /Import File Strings/,/^$/ {
21726
 
        /^0/ {
21727
 
            s/^0  *\(.*\)$/\1/
21728
 
            p
21729
 
        }
21730
 
    }'
21731
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
21732
 
# Check for a 64-bit object if we didn't find anything.
21733
 
if test -z "$aix_libpath"; then
21734
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
21735
 
fi
21736
 
else
21737
 
  $as_echo "$as_me: failed program was:" >&5
21738
 
sed 's/^/| /' conftest.$ac_ext >&5
21739
 
 
21740
 
 
21741
 
fi
21742
 
 
21743
 
rm -rf conftest.dSYM
21744
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21745
 
      conftest$ac_exeext conftest.$ac_ext
21746
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
21747
 
 
21748
 
       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
21749
 
        archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
21750
 
       else
21751
 
        if test "$host_cpu" = ia64; then
21752
 
          hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
21753
 
          allow_undefined_flag_GCJ="-z nodefs"
21754
 
          archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
21755
 
        else
21756
 
         # Determine the default libpath from the value encoded in an empty executable.
21757
 
         cat >conftest.$ac_ext <<_ACEOF
21758
 
/* confdefs.h.  */
21759
 
_ACEOF
21760
 
cat confdefs.h >>conftest.$ac_ext
21761
 
cat >>conftest.$ac_ext <<_ACEOF
21762
 
/* end confdefs.h.  */
21763
 
 
21764
 
int
21765
 
main ()
21766
 
{
21767
 
 
21768
 
  ;
21769
 
  return 0;
21770
 
}
21771
 
_ACEOF
21772
 
rm -f conftest.$ac_objext conftest$ac_exeext
21773
 
if { (ac_try="$ac_link"
21774
 
case "(($ac_try" in
21775
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21776
 
  *) ac_try_echo=$ac_try;;
21777
 
esac
21778
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21779
 
$as_echo "$ac_try_echo") >&5
21780
 
  (eval "$ac_link") 2>conftest.er1
21781
 
  ac_status=$?
21782
 
  grep -v '^ *+' conftest.er1 >conftest.err
21783
 
  rm -f conftest.er1
21784
 
  cat conftest.err >&5
21785
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21786
 
  (exit $ac_status); } && {
21787
 
         test -z "$ac_c_werror_flag" ||
21788
 
         test ! -s conftest.err
21789
 
       } && test -s conftest$ac_exeext && {
21790
 
         test "$cross_compiling" = yes ||
21791
 
         $as_test_x conftest$ac_exeext
21792
 
       }; then
21793
 
 
21794
 
lt_aix_libpath_sed='
21795
 
    /Import File Strings/,/^$/ {
21796
 
        /^0/ {
21797
 
            s/^0  *\(.*\)$/\1/
21798
 
            p
21799
 
        }
21800
 
    }'
21801
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
21802
 
# Check for a 64-bit object if we didn't find anything.
21803
 
if test -z "$aix_libpath"; then
21804
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
21805
 
fi
21806
 
else
21807
 
  $as_echo "$as_me: failed program was:" >&5
21808
 
sed 's/^/| /' conftest.$ac_ext >&5
21809
 
 
21810
 
 
21811
 
fi
21812
 
 
21813
 
rm -rf conftest.dSYM
21814
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21815
 
      conftest$ac_exeext conftest.$ac_ext
21816
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
21817
 
 
21818
 
         hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
21819
 
          # Warning - without using the other run time loading flags,
21820
 
          # -berok will link without error, but may produce a broken library.
21821
 
          no_undefined_flag_GCJ=' ${wl}-bernotok'
21822
 
          allow_undefined_flag_GCJ=' ${wl}-berok'
21823
 
          # Exported symbols can be pulled into shared objects from archives
21824
 
          whole_archive_flag_spec_GCJ='$convenience'
21825
 
          archive_cmds_need_lc_GCJ=yes
21826
 
          # This is similar to how AIX traditionally builds its shared libraries.
21827
 
          archive_expsym_cmds_GCJ="\$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'
21828
 
        fi
21829
 
      fi
21830
 
      ;;
21831
 
 
21832
 
    amigaos*)
21833
 
      archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
21834
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
21835
 
      hardcode_minus_L_GCJ=yes
21836
 
      # see comment about different semantics on the GNU ld section
21837
 
      ld_shlibs_GCJ=no
21838
 
      ;;
21839
 
 
21840
 
    bsdi[45]*)
21841
 
      export_dynamic_flag_spec_GCJ=-rdynamic
21842
 
      ;;
21843
 
 
21844
 
    cygwin* | mingw* | pw32*)
21845
 
      # When not using gcc, we currently assume that we are using
21846
 
      # Microsoft Visual C++.
21847
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
21848
 
      # no search path for DLLs.
21849
 
      hardcode_libdir_flag_spec_GCJ=' '
21850
 
      allow_undefined_flag_GCJ=unsupported
21851
 
      # Tell ltmain to make .lib files, not .a files.
21852
 
      libext=lib
21853
 
      # Tell ltmain to make .dll files, not .so files.
21854
 
      shrext_cmds=".dll"
21855
 
      # FIXME: Setting linknames here is a bad hack.
21856
 
      archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
21857
 
      # The linker will automatically build a .lib file if we build a DLL.
21858
 
      old_archive_From_new_cmds_GCJ='true'
21859
 
      # FIXME: Should let the user specify the lib program.
21860
 
      old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
21861
 
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
21862
 
      enable_shared_with_static_runtimes_GCJ=yes
21863
 
      ;;
21864
 
 
21865
 
    darwin* | rhapsody*)
21866
 
      allow_undefined_flag_GCJ="$_lt_dar_allow_undefined"
21867
 
      archive_cmds_need_lc_GCJ=no
21868
 
      hardcode_direct_GCJ=no
21869
 
      hardcode_automatic_GCJ=yes
21870
 
      hardcode_shlibpath_var_GCJ=unsupported
21871
 
      whole_archive_flag_spec_GCJ=''
21872
 
      link_all_deplibs_GCJ=yes
21873
 
    if test "$GCC" = yes ; then
21874
 
        output_verbose_link_cmd='echo'
21875
 
        archive_cmds_GCJ="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
21876
 
        module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
21877
 
        archive_expsym_cmds_GCJ="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}"
21878
 
        module_expsym_cmds_GCJ="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
21879
 
    else
21880
 
      case $cc_basename in
21881
 
        xlc*)
21882
 
         output_verbose_link_cmd='echo'
21883
 
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
21884
 
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
21885
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
21886
 
         archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
21887
 
          module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
21888
 
          ;;
21889
 
       *)
21890
 
         ld_shlibs_GCJ=no
21891
 
          ;;
21892
 
      esac
21893
 
    fi
21894
 
      ;;
21895
 
 
21896
 
    dgux*)
21897
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
21898
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
21899
 
      hardcode_shlibpath_var_GCJ=no
21900
 
      ;;
21901
 
 
21902
 
    freebsd1*)
21903
 
      ld_shlibs_GCJ=no
21904
 
      ;;
21905
 
 
21906
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
21907
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
21908
 
    # does not break anything, and helps significantly (at the cost of a little
21909
 
    # extra space).
21910
 
    freebsd2.2*)
21911
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
21912
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
21913
 
      hardcode_direct_GCJ=yes
21914
 
      hardcode_shlibpath_var_GCJ=no
21915
 
      ;;
21916
 
 
21917
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
21918
 
    freebsd2*)
21919
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
21920
 
      hardcode_direct_GCJ=yes
21921
 
      hardcode_minus_L_GCJ=yes
21922
 
      hardcode_shlibpath_var_GCJ=no
21923
 
      ;;
21924
 
 
21925
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
21926
 
    freebsd* | dragonfly*)
21927
 
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
21928
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
21929
 
      hardcode_direct_GCJ=yes
21930
 
      hardcode_shlibpath_var_GCJ=no
21931
 
      ;;
21932
 
 
21933
 
    hpux9*)
21934
 
      if test "$GCC" = yes; then
21935
 
        archive_cmds_GCJ='$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'
21936
 
      else
21937
 
        archive_cmds_GCJ='$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'
21938
 
      fi
21939
 
      hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
21940
 
      hardcode_libdir_separator_GCJ=:
21941
 
      hardcode_direct_GCJ=yes
21942
 
 
21943
 
      # hardcode_minus_L: Not really in the search PATH,
21944
 
      # but as the default location of the library.
21945
 
      hardcode_minus_L_GCJ=yes
21946
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
21947
 
      ;;
21948
 
 
21949
 
    hpux10*)
21950
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
21951
 
        archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
21952
 
      else
21953
 
        archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
21954
 
      fi
21955
 
      if test "$with_gnu_ld" = no; then
21956
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
21957
 
        hardcode_libdir_separator_GCJ=:
21958
 
 
21959
 
        hardcode_direct_GCJ=yes
21960
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
21961
 
 
21962
 
        # hardcode_minus_L: Not really in the search PATH,
21963
 
        # but as the default location of the library.
21964
 
        hardcode_minus_L_GCJ=yes
21965
 
      fi
21966
 
      ;;
21967
 
 
21968
 
    hpux11*)
21969
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
21970
 
        case $host_cpu in
21971
 
        hppa*64*)
21972
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
21973
 
          ;;
21974
 
        ia64*)
21975
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
21976
 
          ;;
21977
 
        *)
21978
 
          archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
21979
 
          ;;
21980
 
        esac
21981
 
      else
21982
 
        case $host_cpu in
21983
 
        hppa*64*)
21984
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
21985
 
          ;;
21986
 
        ia64*)
21987
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
21988
 
          ;;
21989
 
        *)
21990
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
21991
 
          ;;
21992
 
        esac
21993
 
      fi
21994
 
      if test "$with_gnu_ld" = no; then
21995
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
21996
 
        hardcode_libdir_separator_GCJ=:
21997
 
 
21998
 
        case $host_cpu in
21999
 
        hppa*64*|ia64*)
22000
 
          hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
22001
 
          hardcode_direct_GCJ=no
22002
 
          hardcode_shlibpath_var_GCJ=no
22003
 
          ;;
22004
 
        *)
22005
 
          hardcode_direct_GCJ=yes
22006
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
22007
 
 
22008
 
          # hardcode_minus_L: Not really in the search PATH,
22009
 
          # but as the default location of the library.
22010
 
          hardcode_minus_L_GCJ=yes
22011
 
          ;;
22012
 
        esac
22013
 
      fi
22014
 
      ;;
22015
 
 
22016
 
    irix5* | irix6* | nonstopux*)
22017
 
      if test "$GCC" = yes; then
22018
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
22019
 
      else
22020
 
        archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
22021
 
        hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
22022
 
      fi
22023
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
22024
 
      hardcode_libdir_separator_GCJ=:
22025
 
      link_all_deplibs_GCJ=yes
22026
 
      ;;
22027
 
 
22028
 
    netbsd*)
22029
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
22030
 
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
22031
 
      else
22032
 
        archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
22033
 
      fi
22034
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
22035
 
      hardcode_direct_GCJ=yes
22036
 
      hardcode_shlibpath_var_GCJ=no
22037
 
      ;;
22038
 
 
22039
 
    newsos6)
22040
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22041
 
      hardcode_direct_GCJ=yes
22042
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
22043
 
      hardcode_libdir_separator_GCJ=:
22044
 
      hardcode_shlibpath_var_GCJ=no
22045
 
      ;;
22046
 
 
22047
 
    openbsd*)
22048
 
      if test -f /usr/libexec/ld.so; then
22049
 
        hardcode_direct_GCJ=yes
22050
 
        hardcode_shlibpath_var_GCJ=no
22051
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
22052
 
          archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
22053
 
          archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
22054
 
          hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
22055
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
22056
 
        else
22057
 
          case $host_os in
22058
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
22059
 
             archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
22060
 
             hardcode_libdir_flag_spec_GCJ='-R$libdir'
22061
 
             ;;
22062
 
           *)
22063
 
             archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
22064
 
             hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
22065
 
             ;;
22066
 
          esac
22067
 
        fi
22068
 
      else
22069
 
        ld_shlibs_GCJ=no
22070
 
      fi
22071
 
      ;;
22072
 
 
22073
 
    os2*)
22074
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
22075
 
      hardcode_minus_L_GCJ=yes
22076
 
      allow_undefined_flag_GCJ=unsupported
22077
 
      archive_cmds_GCJ='$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'
22078
 
      old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
22079
 
      ;;
22080
 
 
22081
 
    osf3*)
22082
 
      if test "$GCC" = yes; then
22083
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
22084
 
        archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
22085
 
      else
22086
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
22087
 
        archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
22088
 
      fi
22089
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
22090
 
      hardcode_libdir_separator_GCJ=:
22091
 
      ;;
22092
 
 
22093
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
22094
 
      if test "$GCC" = yes; then
22095
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
22096
 
        archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
22097
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
22098
 
      else
22099
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
22100
 
        archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
22101
 
        archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
22102
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
22103
 
 
22104
 
        # Both c and cxx compiler support -rpath directly
22105
 
        hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
22106
 
      fi
22107
 
      hardcode_libdir_separator_GCJ=:
22108
 
      ;;
22109
 
 
22110
 
    solaris*)
22111
 
      no_undefined_flag_GCJ=' -z text'
22112
 
      if test "$GCC" = yes; then
22113
 
        wlarc='${wl}'
22114
 
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
22115
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
22116
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
22117
 
      else
22118
 
        wlarc=''
22119
 
        archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
22120
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
22121
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
22122
 
      fi
22123
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
22124
 
      hardcode_shlibpath_var_GCJ=no
22125
 
      case $host_os in
22126
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
22127
 
      *)
22128
 
        # The compiler driver will combine and reorder linker options,
22129
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
22130
 
        # but is careful enough not to reorder.
22131
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
22132
 
        if test "$GCC" = yes; then
22133
 
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
22134
 
        else
22135
 
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
22136
 
        fi
22137
 
        ;;
22138
 
      esac
22139
 
      link_all_deplibs_GCJ=yes
22140
 
      ;;
22141
 
 
22142
 
    sunos4*)
22143
 
      if test "x$host_vendor" = xsequent; then
22144
 
        # Use $CC to link under sequent, because it throws in some extra .o
22145
 
        # files that make .init and .fini sections work.
22146
 
        archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
22147
 
      else
22148
 
        archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
22149
 
      fi
22150
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
22151
 
      hardcode_direct_GCJ=yes
22152
 
      hardcode_minus_L_GCJ=yes
22153
 
      hardcode_shlibpath_var_GCJ=no
22154
 
      ;;
22155
 
 
22156
 
    sysv4)
22157
 
      case $host_vendor in
22158
 
        sni)
22159
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22160
 
          hardcode_direct_GCJ=yes # is this really true???
22161
 
        ;;
22162
 
        siemens)
22163
 
          ## LD is ld it makes a PLAMLIB
22164
 
          ## CC just makes a GrossModule.
22165
 
          archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
22166
 
          reload_cmds_GCJ='$CC -r -o $output$reload_objs'
22167
 
          hardcode_direct_GCJ=no
22168
 
        ;;
22169
 
        motorola)
22170
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22171
 
          hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
22172
 
        ;;
22173
 
      esac
22174
 
      runpath_var='LD_RUN_PATH'
22175
 
      hardcode_shlibpath_var_GCJ=no
22176
 
      ;;
22177
 
 
22178
 
    sysv4.3*)
22179
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22180
 
      hardcode_shlibpath_var_GCJ=no
22181
 
      export_dynamic_flag_spec_GCJ='-Bexport'
22182
 
      ;;
22183
 
 
22184
 
    sysv4*MP*)
22185
 
      if test -d /usr/nec; then
22186
 
        archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22187
 
        hardcode_shlibpath_var_GCJ=no
22188
 
        runpath_var=LD_RUN_PATH
22189
 
        hardcode_runpath_var=yes
22190
 
        ld_shlibs_GCJ=yes
22191
 
      fi
22192
 
      ;;
22193
 
 
22194
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
22195
 
      no_undefined_flag_GCJ='${wl}-z,text'
22196
 
      archive_cmds_need_lc_GCJ=no
22197
 
      hardcode_shlibpath_var_GCJ=no
22198
 
      runpath_var='LD_RUN_PATH'
22199
 
 
22200
 
      if test "$GCC" = yes; then
22201
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22202
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22203
 
      else
22204
 
        archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22205
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
22206
 
      fi
22207
 
      ;;
22208
 
 
22209
 
    sysv5* | sco3.2v5* | sco5v6*)
22210
 
      # Note: We can NOT use -z defs as we might desire, because we do not
22211
 
      # link with -lc, and that would cause any symbols used from libc to
22212
 
      # always be unresolved, which means just about no library would
22213
 
      # ever link correctly.  If we're not using GNU ld we use -z text
22214
 
      # though, which does catch some bad symbols but isn't as heavy-handed
22215
 
      # as -z defs.
22216
 
      no_undefined_flag_GCJ='${wl}-z,text'
22217
 
      allow_undefined_flag_GCJ='${wl}-z,nodefs'
22218
 
      archive_cmds_need_lc_GCJ=no
22219
 
      hardcode_shlibpath_var_GCJ=no
22220
 
      hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
22221
 
      hardcode_libdir_separator_GCJ=':'
22222
 
      link_all_deplibs_GCJ=yes
22223
 
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
22224
 
      runpath_var='LD_RUN_PATH'
22225
 
 
22226
 
      if test "$GCC" = yes; then
22227
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22228
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22229
 
      else
22230
 
        archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22231
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
22232
 
      fi
22233
 
      ;;
22234
 
 
22235
 
    uts4*)
22236
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
22237
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
22238
 
      hardcode_shlibpath_var_GCJ=no
22239
 
      ;;
22240
 
 
22241
 
    *)
22242
 
      ld_shlibs_GCJ=no
22243
 
      ;;
22244
 
    esac
22245
 
  fi
22246
 
 
22247
 
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
22248
 
$as_echo "$ld_shlibs_GCJ" >&6; }
22249
 
test "$ld_shlibs_GCJ" = no && can_build_shared=no
22250
 
 
22251
 
#
22252
 
# Do we need to explicitly link libc?
22253
 
#
22254
 
case "x$archive_cmds_need_lc_GCJ" in
22255
 
x|xyes)
22256
 
  # Assume -lc should be added
22257
 
  archive_cmds_need_lc_GCJ=yes
22258
 
 
22259
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
22260
 
    case $archive_cmds_GCJ in
22261
 
    *'~'*)
22262
 
      # FIXME: we may have to deal with multi-command sequences.
22263
 
      ;;
22264
 
    '$CC '*)
22265
 
      # Test whether the compiler implicitly links with -lc since on some
22266
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
22267
 
      # to ld, don't add -lc before -lgcc.
22268
 
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
22269
 
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
22270
 
      $rm conftest*
22271
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
22272
 
 
22273
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22274
 
  (eval $ac_compile) 2>&5
22275
 
  ac_status=$?
22276
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22277
 
  (exit $ac_status); } 2>conftest.err; then
22278
 
        soname=conftest
22279
 
        lib=conftest
22280
 
        libobjs=conftest.$ac_objext
22281
 
        deplibs=
22282
 
        wl=$lt_prog_compiler_wl_GCJ
22283
 
        pic_flag=$lt_prog_compiler_pic_GCJ
22284
 
        compiler_flags=-v
22285
 
        linker_flags=-v
22286
 
        verstring=
22287
 
        output_objdir=.
22288
 
        libname=conftest
22289
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
22290
 
        allow_undefined_flag_GCJ=
22291
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
22292
 
  (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
22293
 
  ac_status=$?
22294
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22295
 
  (exit $ac_status); }
22296
 
        then
22297
 
          archive_cmds_need_lc_GCJ=no
22298
 
        else
22299
 
          archive_cmds_need_lc_GCJ=yes
22300
 
        fi
22301
 
        allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
22302
 
      else
22303
 
        cat conftest.err 1>&5
22304
 
      fi
22305
 
      $rm conftest*
22306
 
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
22307
 
$as_echo "$archive_cmds_need_lc_GCJ" >&6; }
22308
 
      ;;
22309
 
    esac
22310
 
  fi
22311
 
  ;;
22312
 
esac
22313
 
 
22314
 
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
22315
 
$as_echo_n "checking dynamic linker characteristics... " >&6; }
22316
 
library_names_spec=
22317
 
libname_spec='lib$name'
22318
 
soname_spec=
22319
 
shrext_cmds=".so"
22320
 
postinstall_cmds=
22321
 
postuninstall_cmds=
22322
 
finish_cmds=
22323
 
finish_eval=
22324
 
shlibpath_var=
22325
 
shlibpath_overrides_runpath=unknown
22326
 
version_type=none
22327
 
dynamic_linker="$host_os ld.so"
22328
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
22329
 
 
22330
 
need_lib_prefix=unknown
22331
 
hardcode_into_libs=no
22332
 
 
22333
 
# when you set need_version to no, make sure it does not cause -set_version
22334
 
# flags to be left without arguments
22335
 
need_version=unknown
22336
 
 
22337
 
case $host_os in
22338
 
aix3*)
22339
 
  version_type=linux
22340
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
22341
 
  shlibpath_var=LIBPATH
22342
 
 
22343
 
  # AIX 3 has no versioning support, so we append a major version to the name.
22344
 
  soname_spec='${libname}${release}${shared_ext}$major'
22345
 
  ;;
22346
 
 
22347
 
aix[4-9]*)
22348
 
  version_type=linux
22349
 
  need_lib_prefix=no
22350
 
  need_version=no
22351
 
  hardcode_into_libs=yes
22352
 
  if test "$host_cpu" = ia64; then
22353
 
    # AIX 5 supports IA64
22354
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
22355
 
    shlibpath_var=LD_LIBRARY_PATH
22356
 
  else
22357
 
    # With GCC up to 2.95.x, collect2 would create an import file
22358
 
    # for dependence libraries.  The import file would start with
22359
 
    # the line `#! .'.  This would cause the generated library to
22360
 
    # depend on `.', always an invalid library.  This was fixed in
22361
 
    # development snapshots of GCC prior to 3.0.
22362
 
    case $host_os in
22363
 
      aix4 | aix4.[01] | aix4.[01].*)
22364
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
22365
 
           echo ' yes '
22366
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
22367
 
        :
22368
 
      else
22369
 
        can_build_shared=no
22370
 
      fi
22371
 
      ;;
22372
 
    esac
22373
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
22374
 
    # soname into executable. Probably we can add versioning support to
22375
 
    # collect2, so additional links can be useful in future.
22376
 
    if test "$aix_use_runtimelinking" = yes; then
22377
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
22378
 
      # instead of lib<name>.a to let people know that these are not
22379
 
      # typical AIX shared libraries.
22380
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22381
 
    else
22382
 
      # We preserve .a as extension for shared libraries through AIX4.2
22383
 
      # and later when we are not doing run time linking.
22384
 
      library_names_spec='${libname}${release}.a $libname.a'
22385
 
      soname_spec='${libname}${release}${shared_ext}$major'
22386
 
    fi
22387
 
    shlibpath_var=LIBPATH
22388
 
  fi
22389
 
  ;;
22390
 
 
22391
 
amigaos*)
22392
 
  library_names_spec='$libname.ixlibrary $libname.a'
22393
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
22394
 
  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'
22395
 
  ;;
22396
 
 
22397
 
beos*)
22398
 
  library_names_spec='${libname}${shared_ext}'
22399
 
  dynamic_linker="$host_os ld.so"
22400
 
  shlibpath_var=LIBRARY_PATH
22401
 
  ;;
22402
 
 
22403
 
bsdi[45]*)
22404
 
  version_type=linux
22405
 
  need_version=no
22406
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22407
 
  soname_spec='${libname}${release}${shared_ext}$major'
22408
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
22409
 
  shlibpath_var=LD_LIBRARY_PATH
22410
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
22411
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
22412
 
  # the default ld.so.conf also contains /usr/contrib/lib and
22413
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
22414
 
  # libtool to hard-code these into programs
22415
 
  ;;
22416
 
 
22417
 
cygwin* | mingw* | pw32*)
22418
 
  version_type=windows
22419
 
  shrext_cmds=".dll"
22420
 
  need_version=no
22421
 
  need_lib_prefix=no
22422
 
 
22423
 
  case $GCC,$host_os in
22424
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
22425
 
    library_names_spec='$libname.dll.a'
22426
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
22427
 
    postinstall_cmds='base_file=`basename \${file}`~
22428
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
22429
 
      dldir=$destdir/`dirname \$dlpath`~
22430
 
      test -d \$dldir || mkdir -p \$dldir~
22431
 
      $install_prog $dir/$dlname \$dldir/$dlname~
22432
 
      chmod a+x \$dldir/$dlname'
22433
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
22434
 
      dlpath=$dir/\$dldll~
22435
 
       $rm \$dlpath'
22436
 
    shlibpath_overrides_runpath=yes
22437
 
 
22438
 
    case $host_os in
22439
 
    cygwin*)
22440
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
22441
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22442
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
22443
 
      ;;
22444
 
    mingw*)
22445
 
      # MinGW DLLs use traditional 'lib' prefix
22446
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22447
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
22448
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
22449
 
        # It is most probably a Windows format PATH printed by
22450
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
22451
 
        # path with ; separators, and with drive letters. We can handle the
22452
 
        # drive letters (cygwin fileutils understands them), so leave them,
22453
 
        # especially as we might pass files found there to a mingw objdump,
22454
 
        # which wouldn't understand a cygwinified path. Ahh.
22455
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
22456
 
      else
22457
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
22458
 
      fi
22459
 
      ;;
22460
 
    pw32*)
22461
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
22462
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
22463
 
      ;;
22464
 
    esac
22465
 
    ;;
22466
 
 
22467
 
  *)
22468
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
22469
 
    ;;
22470
 
  esac
22471
 
  dynamic_linker='Win32 ld.exe'
22472
 
  # FIXME: first we should search . and the directory the executable is in
22473
 
  shlibpath_var=PATH
22474
 
  ;;
22475
 
 
22476
 
darwin* | rhapsody*)
22477
 
  dynamic_linker="$host_os dyld"
22478
 
  version_type=darwin
22479
 
  need_lib_prefix=no
22480
 
  need_version=no
22481
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
22482
 
  soname_spec='${libname}${release}${major}$shared_ext'
22483
 
  shlibpath_overrides_runpath=yes
22484
 
  shlibpath_var=DYLD_LIBRARY_PATH
22485
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
22486
 
 
22487
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
22488
 
  ;;
22489
 
 
22490
 
dgux*)
22491
 
  version_type=linux
22492
 
  need_lib_prefix=no
22493
 
  need_version=no
22494
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
22495
 
  soname_spec='${libname}${release}${shared_ext}$major'
22496
 
  shlibpath_var=LD_LIBRARY_PATH
22497
 
  ;;
22498
 
 
22499
 
freebsd1*)
22500
 
  dynamic_linker=no
22501
 
  ;;
22502
 
 
22503
 
freebsd* | dragonfly*)
22504
 
  # DragonFly does not have aout.  When/if they implement a new
22505
 
  # versioning mechanism, adjust this.
22506
 
  if test -x /usr/bin/objformat; then
22507
 
    objformat=`/usr/bin/objformat`
22508
 
  else
22509
 
    case $host_os in
22510
 
    freebsd[123]*) objformat=aout ;;
22511
 
    *) objformat=elf ;;
22512
 
    esac
22513
 
  fi
22514
 
  version_type=freebsd-$objformat
22515
 
  case $version_type in
22516
 
    freebsd-elf*)
22517
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
22518
 
      need_version=no
22519
 
      need_lib_prefix=no
22520
 
      ;;
22521
 
    freebsd-*)
22522
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
22523
 
      need_version=yes
22524
 
      ;;
22525
 
  esac
22526
 
  shlibpath_var=LD_LIBRARY_PATH
22527
 
  case $host_os in
22528
 
  freebsd2*)
22529
 
    shlibpath_overrides_runpath=yes
22530
 
    ;;
22531
 
  freebsd3.[01]* | freebsdelf3.[01]*)
22532
 
    shlibpath_overrides_runpath=yes
22533
 
    hardcode_into_libs=yes
22534
 
    ;;
22535
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
22536
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
22537
 
    shlibpath_overrides_runpath=no
22538
 
    hardcode_into_libs=yes
22539
 
    ;;
22540
 
  *) # from 4.6 on, and DragonFly
22541
 
    shlibpath_overrides_runpath=yes
22542
 
    hardcode_into_libs=yes
22543
 
    ;;
22544
 
  esac
22545
 
  ;;
22546
 
 
22547
 
gnu*)
22548
 
  version_type=linux
22549
 
  need_lib_prefix=no
22550
 
  need_version=no
22551
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
22552
 
  soname_spec='${libname}${release}${shared_ext}$major'
22553
 
  shlibpath_var=LD_LIBRARY_PATH
22554
 
  hardcode_into_libs=yes
22555
 
  ;;
22556
 
 
22557
 
hpux9* | hpux10* | hpux11*)
22558
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
22559
 
  # link against other versions.
22560
 
  version_type=sunos
22561
 
  need_lib_prefix=no
22562
 
  need_version=no
22563
 
  case $host_cpu in
22564
 
  ia64*)
22565
 
    shrext_cmds='.so'
22566
 
    hardcode_into_libs=yes
22567
 
    dynamic_linker="$host_os dld.so"
22568
 
    shlibpath_var=LD_LIBRARY_PATH
22569
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
22570
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22571
 
    soname_spec='${libname}${release}${shared_ext}$major'
22572
 
    if test "X$HPUX_IA64_MODE" = X32; then
22573
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
22574
 
    else
22575
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
22576
 
    fi
22577
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
22578
 
    ;;
22579
 
   hppa*64*)
22580
 
     shrext_cmds='.sl'
22581
 
     hardcode_into_libs=yes
22582
 
     dynamic_linker="$host_os dld.sl"
22583
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
22584
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
22585
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22586
 
     soname_spec='${libname}${release}${shared_ext}$major'
22587
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
22588
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
22589
 
     ;;
22590
 
   *)
22591
 
    shrext_cmds='.sl'
22592
 
    dynamic_linker="$host_os dld.sl"
22593
 
    shlibpath_var=SHLIB_PATH
22594
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
22595
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22596
 
    soname_spec='${libname}${release}${shared_ext}$major'
22597
 
    ;;
22598
 
  esac
22599
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
22600
 
  postinstall_cmds='chmod 555 $lib'
22601
 
  ;;
22602
 
 
22603
 
interix[3-9]*)
22604
 
  version_type=linux
22605
 
  need_lib_prefix=no
22606
 
  need_version=no
22607
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22608
 
  soname_spec='${libname}${release}${shared_ext}$major'
22609
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
22610
 
  shlibpath_var=LD_LIBRARY_PATH
22611
 
  shlibpath_overrides_runpath=no
22612
 
  hardcode_into_libs=yes
22613
 
  ;;
22614
 
 
22615
 
irix5* | irix6* | nonstopux*)
22616
 
  case $host_os in
22617
 
    nonstopux*) version_type=nonstopux ;;
22618
 
    *)
22619
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
22620
 
                version_type=linux
22621
 
        else
22622
 
                version_type=irix
22623
 
        fi ;;
22624
 
  esac
22625
 
  need_lib_prefix=no
22626
 
  need_version=no
22627
 
  soname_spec='${libname}${release}${shared_ext}$major'
22628
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
22629
 
  case $host_os in
22630
 
  irix5* | nonstopux*)
22631
 
    libsuff= shlibsuff=
22632
 
    ;;
22633
 
  *)
22634
 
    case $LD in # libtool.m4 will add one of these switches to LD
22635
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
22636
 
      libsuff= shlibsuff= libmagic=32-bit;;
22637
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
22638
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
22639
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
22640
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
22641
 
    *) libsuff= shlibsuff= libmagic=never-match;;
22642
 
    esac
22643
 
    ;;
22644
 
  esac
22645
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
22646
 
  shlibpath_overrides_runpath=no
22647
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
22648
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
22649
 
  hardcode_into_libs=yes
22650
 
  ;;
22651
 
 
22652
 
# No shared lib support for Linux oldld, aout, or coff.
22653
 
linux*oldld* | linux*aout* | linux*coff*)
22654
 
  dynamic_linker=no
22655
 
  ;;
22656
 
 
22657
 
# This must be Linux ELF.
22658
 
linux* | k*bsd*-gnu)
22659
 
  version_type=linux
22660
 
  need_lib_prefix=no
22661
 
  need_version=no
22662
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22663
 
  soname_spec='${libname}${release}${shared_ext}$major'
22664
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
22665
 
  shlibpath_var=LD_LIBRARY_PATH
22666
 
  shlibpath_overrides_runpath=no
22667
 
  # This implies no fast_install, which is unacceptable.
22668
 
  # Some rework will be needed to allow for fast_install
22669
 
  # before this can be enabled.
22670
 
  hardcode_into_libs=yes
22671
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
22672
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
22673
 
 
22674
 
  # Append ld.so.conf contents to the search path
22675
 
  if test -f /etc/ld.so.conf; then
22676
 
    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' ' '`
22677
 
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
22678
 
  fi
22679
 
 
22680
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
22681
 
  # powerpc, because MkLinux only supported shared libraries with the
22682
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
22683
 
  # most powerpc-linux boxes support dynamic linking these days and
22684
 
  # people can always --disable-shared, the test was removed, and we
22685
 
  # assume the GNU/Linux dynamic linker is in use.
22686
 
  dynamic_linker='GNU/Linux ld.so'
22687
 
  ;;
22688
 
 
22689
 
netbsd*)
22690
 
  version_type=sunos
22691
 
  need_lib_prefix=no
22692
 
  need_version=no
22693
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
22694
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
22695
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
22696
 
    dynamic_linker='NetBSD (a.out) ld.so'
22697
 
  else
22698
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
22699
 
    soname_spec='${libname}${release}${shared_ext}$major'
22700
 
    dynamic_linker='NetBSD ld.elf_so'
22701
 
  fi
22702
 
  shlibpath_var=LD_LIBRARY_PATH
22703
 
  shlibpath_overrides_runpath=yes
22704
 
  hardcode_into_libs=yes
22705
 
  ;;
22706
 
 
22707
 
newsos6)
22708
 
  version_type=linux
22709
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22710
 
  shlibpath_var=LD_LIBRARY_PATH
22711
 
  shlibpath_overrides_runpath=yes
22712
 
  ;;
22713
 
 
22714
 
nto-qnx*)
22715
 
  version_type=linux
22716
 
  need_lib_prefix=no
22717
 
  need_version=no
22718
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22719
 
  soname_spec='${libname}${release}${shared_ext}$major'
22720
 
  shlibpath_var=LD_LIBRARY_PATH
22721
 
  shlibpath_overrides_runpath=yes
22722
 
  ;;
22723
 
 
22724
 
openbsd*)
22725
 
  version_type=sunos
22726
 
  sys_lib_dlsearch_path_spec="/usr/lib"
22727
 
  need_lib_prefix=no
22728
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
22729
 
  case $host_os in
22730
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
22731
 
    *)                         need_version=no  ;;
22732
 
  esac
22733
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
22734
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
22735
 
  shlibpath_var=LD_LIBRARY_PATH
22736
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
22737
 
    case $host_os in
22738
 
      openbsd2.[89] | openbsd2.[89].*)
22739
 
        shlibpath_overrides_runpath=no
22740
 
        ;;
22741
 
      *)
22742
 
        shlibpath_overrides_runpath=yes
22743
 
        ;;
22744
 
      esac
22745
 
  else
22746
 
    shlibpath_overrides_runpath=yes
22747
 
  fi
22748
 
  ;;
22749
 
 
22750
 
os2*)
22751
 
  libname_spec='$name'
22752
 
  shrext_cmds=".dll"
22753
 
  need_lib_prefix=no
22754
 
  library_names_spec='$libname${shared_ext} $libname.a'
22755
 
  dynamic_linker='OS/2 ld.exe'
22756
 
  shlibpath_var=LIBPATH
22757
 
  ;;
22758
 
 
22759
 
osf3* | osf4* | osf5*)
22760
 
  version_type=osf
22761
 
  need_lib_prefix=no
22762
 
  need_version=no
22763
 
  soname_spec='${libname}${release}${shared_ext}$major'
22764
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22765
 
  shlibpath_var=LD_LIBRARY_PATH
22766
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
22767
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
22768
 
  ;;
22769
 
 
22770
 
rdos*)
22771
 
  dynamic_linker=no
22772
 
  ;;
22773
 
 
22774
 
solaris*)
22775
 
  version_type=linux
22776
 
  need_lib_prefix=no
22777
 
  need_version=no
22778
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22779
 
  soname_spec='${libname}${release}${shared_ext}$major'
22780
 
  shlibpath_var=LD_LIBRARY_PATH
22781
 
  shlibpath_overrides_runpath=yes
22782
 
  hardcode_into_libs=yes
22783
 
  # ldd complains unless libraries are executable
22784
 
  postinstall_cmds='chmod +x $lib'
22785
 
  ;;
22786
 
 
22787
 
sunos4*)
22788
 
  version_type=sunos
22789
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
22790
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
22791
 
  shlibpath_var=LD_LIBRARY_PATH
22792
 
  shlibpath_overrides_runpath=yes
22793
 
  if test "$with_gnu_ld" = yes; then
22794
 
    need_lib_prefix=no
22795
 
  fi
22796
 
  need_version=yes
22797
 
  ;;
22798
 
 
22799
 
sysv4 | sysv4.3*)
22800
 
  version_type=linux
22801
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22802
 
  soname_spec='${libname}${release}${shared_ext}$major'
22803
 
  shlibpath_var=LD_LIBRARY_PATH
22804
 
  case $host_vendor in
22805
 
    sni)
22806
 
      shlibpath_overrides_runpath=no
22807
 
      need_lib_prefix=no
22808
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
22809
 
      runpath_var=LD_RUN_PATH
22810
 
      ;;
22811
 
    siemens)
22812
 
      need_lib_prefix=no
22813
 
      ;;
22814
 
    motorola)
22815
 
      need_lib_prefix=no
22816
 
      need_version=no
22817
 
      shlibpath_overrides_runpath=no
22818
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
22819
 
      ;;
22820
 
  esac
22821
 
  ;;
22822
 
 
22823
 
sysv4*MP*)
22824
 
  if test -d /usr/nec ;then
22825
 
    version_type=linux
22826
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
22827
 
    soname_spec='$libname${shared_ext}.$major'
22828
 
    shlibpath_var=LD_LIBRARY_PATH
22829
 
  fi
22830
 
  ;;
22831
 
 
22832
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
22833
 
  version_type=freebsd-elf
22834
 
  need_lib_prefix=no
22835
 
  need_version=no
22836
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
22837
 
  soname_spec='${libname}${release}${shared_ext}$major'
22838
 
  shlibpath_var=LD_LIBRARY_PATH
22839
 
  hardcode_into_libs=yes
22840
 
  if test "$with_gnu_ld" = yes; then
22841
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
22842
 
    shlibpath_overrides_runpath=no
22843
 
  else
22844
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
22845
 
    shlibpath_overrides_runpath=yes
22846
 
    case $host_os in
22847
 
      sco3.2v5*)
22848
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
22849
 
        ;;
22850
 
    esac
22851
 
  fi
22852
 
  sys_lib_dlsearch_path_spec='/usr/lib'
22853
 
  ;;
22854
 
 
22855
 
uts4*)
22856
 
  version_type=linux
22857
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
22858
 
  soname_spec='${libname}${release}${shared_ext}$major'
22859
 
  shlibpath_var=LD_LIBRARY_PATH
22860
 
  ;;
22861
 
 
22862
 
*)
22863
 
  dynamic_linker=no
22864
 
  ;;
22865
 
esac
22866
 
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
22867
 
$as_echo "$dynamic_linker" >&6; }
22868
 
test "$dynamic_linker" = no && can_build_shared=no
22869
 
 
22870
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
22871
 
  $as_echo_n "(cached) " >&6
22872
 
else
22873
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
22874
 
fi
22875
 
 
22876
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
22877
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
22878
 
  $as_echo_n "(cached) " >&6
22879
 
else
22880
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
22881
 
fi
22882
 
 
22883
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
22884
 
 
22885
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
22886
 
if test "$GCC" = yes; then
22887
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
22888
 
fi
22889
 
 
22890
 
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
22891
 
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
22892
 
hardcode_action_GCJ=
22893
 
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
22894
 
   test -n "$runpath_var_GCJ" || \
22895
 
   test "X$hardcode_automatic_GCJ" = "Xyes" ; then
22896
 
 
22897
 
  # We can hardcode non-existant directories.
22898
 
  if test "$hardcode_direct_GCJ" != no &&
22899
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
22900
 
     # have to relink, otherwise we might link with an installed library
22901
 
     # when we should be linking with a yet-to-be-installed one
22902
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
22903
 
     test "$hardcode_minus_L_GCJ" != no; then
22904
 
    # Linking always hardcodes the temporary library directory.
22905
 
    hardcode_action_GCJ=relink
22906
 
  else
22907
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
22908
 
    hardcode_action_GCJ=immediate
22909
 
  fi
22910
 
else
22911
 
  # We cannot hardcode anything, or else we can only hardcode existing
22912
 
  # directories.
22913
 
  hardcode_action_GCJ=unsupported
22914
 
fi
22915
 
{ $as_echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
22916
 
$as_echo "$hardcode_action_GCJ" >&6; }
22917
 
 
22918
 
if test "$hardcode_action_GCJ" = relink; then
22919
 
  # Fast installation is not supported
22920
 
  enable_fast_install=no
22921
 
elif test "$shlibpath_overrides_runpath" = yes ||
22922
 
     test "$enable_shared" = no; then
22923
 
  # Fast installation is not necessary
22924
 
  enable_fast_install=needless
22925
 
fi
22926
 
 
22927
 
 
22928
 
# The else clause should only fire when bootstrapping the
22929
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
22930
 
# with your package, and you will get complaints that there are
22931
 
# no rules to generate ltmain.sh.
22932
 
if test -f "$ltmain"; then
22933
 
  # See if we are running on zsh, and set the options which allow our commands through
22934
 
  # without removal of \ escapes.
22935
 
  if test -n "${ZSH_VERSION+set}" ; then
22936
 
    setopt NO_GLOB_SUBST
22937
 
  fi
22938
 
  # Now quote all the things that may contain metacharacters while being
22939
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
22940
 
  # variables and quote the copies for generation of the libtool script.
22941
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
22942
 
    SED SHELL STRIP \
22943
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
22944
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
22945
 
    deplibs_check_method reload_flag reload_cmds need_locks \
22946
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
22947
 
    lt_cv_sys_global_symbol_to_c_name_address \
22948
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
22949
 
    old_postinstall_cmds old_postuninstall_cmds \
22950
 
    compiler_GCJ \
22951
 
    CC_GCJ \
22952
 
    LD_GCJ \
22953
 
    lt_prog_compiler_wl_GCJ \
22954
 
    lt_prog_compiler_pic_GCJ \
22955
 
    lt_prog_compiler_static_GCJ \
22956
 
    lt_prog_compiler_no_builtin_flag_GCJ \
22957
 
    export_dynamic_flag_spec_GCJ \
22958
 
    thread_safe_flag_spec_GCJ \
22959
 
    whole_archive_flag_spec_GCJ \
22960
 
    enable_shared_with_static_runtimes_GCJ \
22961
 
    old_archive_cmds_GCJ \
22962
 
    old_archive_from_new_cmds_GCJ \
22963
 
    predep_objects_GCJ \
22964
 
    postdep_objects_GCJ \
22965
 
    predeps_GCJ \
22966
 
    postdeps_GCJ \
22967
 
    compiler_lib_search_path_GCJ \
22968
 
    compiler_lib_search_dirs_GCJ \
22969
 
    archive_cmds_GCJ \
22970
 
    archive_expsym_cmds_GCJ \
22971
 
    postinstall_cmds_GCJ \
22972
 
    postuninstall_cmds_GCJ \
22973
 
    old_archive_from_expsyms_cmds_GCJ \
22974
 
    allow_undefined_flag_GCJ \
22975
 
    no_undefined_flag_GCJ \
22976
 
    export_symbols_cmds_GCJ \
22977
 
    hardcode_libdir_flag_spec_GCJ \
22978
 
    hardcode_libdir_flag_spec_ld_GCJ \
22979
 
    hardcode_libdir_separator_GCJ \
22980
 
    hardcode_automatic_GCJ \
22981
 
    module_cmds_GCJ \
22982
 
    module_expsym_cmds_GCJ \
22983
 
    lt_cv_prog_compiler_c_o_GCJ \
22984
 
    fix_srcfile_path_GCJ \
22985
 
    exclude_expsyms_GCJ \
22986
 
    include_expsyms_GCJ; do
22987
 
 
22988
 
    case $var in
22989
 
    old_archive_cmds_GCJ | \
22990
 
    old_archive_from_new_cmds_GCJ | \
22991
 
    archive_cmds_GCJ | \
22992
 
    archive_expsym_cmds_GCJ | \
22993
 
    module_cmds_GCJ | \
22994
 
    module_expsym_cmds_GCJ | \
22995
 
    old_archive_from_expsyms_cmds_GCJ | \
22996
 
    export_symbols_cmds_GCJ | \
22997
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
22998
 
    postinstall_cmds | postuninstall_cmds | \
22999
 
    old_postinstall_cmds | old_postuninstall_cmds | \
23000
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
23001
 
      # Double-quote double-evaled strings.
23002
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
23003
 
      ;;
23004
 
    *)
23005
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
23006
 
      ;;
23007
 
    esac
23008
 
  done
23009
 
 
23010
 
  case $lt_echo in
23011
 
  *'\$0 --fallback-echo"')
23012
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
23013
 
    ;;
23014
 
  esac
23015
 
 
23016
 
cfgfile="$ofile"
23017
 
 
23018
 
  cat <<__EOF__ >> "$cfgfile"
23019
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
23020
 
 
23021
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23022
 
 
23023
 
# Shell to use when invoking shell scripts.
23024
 
SHELL=$lt_SHELL
23025
 
 
23026
 
# Whether or not to build shared libraries.
23027
 
build_libtool_libs=$enable_shared
23028
 
 
23029
 
# Whether or not to build static libraries.
23030
 
build_old_libs=$enable_static
23031
 
 
23032
 
# Whether or not to add -lc for building shared libraries.
23033
 
build_libtool_need_lc=$archive_cmds_need_lc_GCJ
23034
 
 
23035
 
# Whether or not to disallow shared libs when runtime libs are static
23036
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
23037
 
 
23038
 
# Whether or not to optimize for fast installation.
23039
 
fast_install=$enable_fast_install
23040
 
 
23041
 
# The host system.
23042
 
host_alias=$host_alias
23043
 
host=$host
23044
 
host_os=$host_os
23045
 
 
23046
 
# The build system.
23047
 
build_alias=$build_alias
23048
 
build=$build
23049
 
build_os=$build_os
23050
 
 
23051
 
# An echo program that does not interpret backslashes.
23052
 
echo=$lt_echo
23053
 
 
23054
 
# The archiver.
23055
 
AR=$lt_AR
23056
 
AR_FLAGS=$lt_AR_FLAGS
23057
 
 
23058
 
# A C compiler.
23059
 
LTCC=$lt_LTCC
23060
 
 
23061
 
# LTCC compiler flags.
23062
 
LTCFLAGS=$lt_LTCFLAGS
23063
 
 
23064
 
# A language-specific compiler.
23065
 
CC=$lt_compiler_GCJ
23066
 
 
23067
 
# Is the compiler the GNU C compiler?
23068
 
with_gcc=$GCC_GCJ
23069
 
 
23070
 
# An ERE matcher.
23071
 
EGREP=$lt_EGREP
23072
 
 
23073
 
# The linker used to build libraries.
23074
 
LD=$lt_LD_GCJ
23075
 
 
23076
 
# Whether we need hard or soft links.
23077
 
LN_S=$lt_LN_S
23078
 
 
23079
 
# A BSD-compatible nm program.
23080
 
NM=$lt_NM
23081
 
 
23082
 
# A symbol stripping program
23083
 
STRIP=$lt_STRIP
23084
 
 
23085
 
# Used to examine libraries when file_magic_cmd begins "file"
23086
 
MAGIC_CMD=$MAGIC_CMD
23087
 
 
23088
 
# Used on cygwin: DLL creation program.
23089
 
DLLTOOL="$DLLTOOL"
23090
 
 
23091
 
# Used on cygwin: object dumper.
23092
 
OBJDUMP="$OBJDUMP"
23093
 
 
23094
 
# Used on cygwin: assembler.
23095
 
AS="$AS"
23096
 
 
23097
 
# The name of the directory that contains temporary libtool files.
23098
 
objdir=$objdir
23099
 
 
23100
 
# How to create reloadable object files.
23101
 
reload_flag=$lt_reload_flag
23102
 
reload_cmds=$lt_reload_cmds
23103
 
 
23104
 
# How to pass a linker flag through the compiler.
23105
 
wl=$lt_lt_prog_compiler_wl_GCJ
23106
 
 
23107
 
# Object file suffix (normally "o").
23108
 
objext="$ac_objext"
23109
 
 
23110
 
# Old archive suffix (normally "a").
23111
 
libext="$libext"
23112
 
 
23113
 
# Shared library suffix (normally ".so").
23114
 
shrext_cmds='$shrext_cmds'
23115
 
 
23116
 
# Executable file suffix (normally "").
23117
 
exeext="$exeext"
23118
 
 
23119
 
# Additional compiler flags for building library objects.
23120
 
pic_flag=$lt_lt_prog_compiler_pic_GCJ
23121
 
pic_mode=$pic_mode
23122
 
 
23123
 
# What is the maximum length of a command?
23124
 
max_cmd_len=$lt_cv_sys_max_cmd_len
23125
 
 
23126
 
# Does compiler simultaneously support -c and -o options?
23127
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
23128
 
 
23129
 
# Must we lock files when doing compilation?
23130
 
need_locks=$lt_need_locks
23131
 
 
23132
 
# Do we need the lib prefix for modules?
23133
 
need_lib_prefix=$need_lib_prefix
23134
 
 
23135
 
# Do we need a version for libraries?
23136
 
need_version=$need_version
23137
 
 
23138
 
# Whether dlopen is supported.
23139
 
dlopen_support=$enable_dlopen
23140
 
 
23141
 
# Whether dlopen of programs is supported.
23142
 
dlopen_self=$enable_dlopen_self
23143
 
 
23144
 
# Whether dlopen of statically linked programs is supported.
23145
 
dlopen_self_static=$enable_dlopen_self_static
23146
 
 
23147
 
# Compiler flag to prevent dynamic linking.
23148
 
link_static_flag=$lt_lt_prog_compiler_static_GCJ
23149
 
 
23150
 
# Compiler flag to turn off builtin functions.
23151
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
23152
 
 
23153
 
# Compiler flag to allow reflexive dlopens.
23154
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
23155
 
 
23156
 
# Compiler flag to generate shared objects directly from archives.
23157
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
23158
 
 
23159
 
# Compiler flag to generate thread-safe objects.
23160
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
23161
 
 
23162
 
# Library versioning type.
23163
 
version_type=$version_type
23164
 
 
23165
 
# Format of library name prefix.
23166
 
libname_spec=$lt_libname_spec
23167
 
 
23168
 
# List of archive names.  First name is the real one, the rest are links.
23169
 
# The last name is the one that the linker finds with -lNAME.
23170
 
library_names_spec=$lt_library_names_spec
23171
 
 
23172
 
# The coded name of the library, if different from the real name.
23173
 
soname_spec=$lt_soname_spec
23174
 
 
23175
 
# Commands used to build and install an old-style archive.
23176
 
RANLIB=$lt_RANLIB
23177
 
old_archive_cmds=$lt_old_archive_cmds_GCJ
23178
 
old_postinstall_cmds=$lt_old_postinstall_cmds
23179
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
23180
 
 
23181
 
# Create an old-style archive from a shared archive.
23182
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
23183
 
 
23184
 
# Create a temporary old-style archive to link instead of a shared archive.
23185
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
23186
 
 
23187
 
# Commands used to build and install a shared archive.
23188
 
archive_cmds=$lt_archive_cmds_GCJ
23189
 
archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
23190
 
postinstall_cmds=$lt_postinstall_cmds
23191
 
postuninstall_cmds=$lt_postuninstall_cmds
23192
 
 
23193
 
# Commands used to build a loadable module (assumed same as above if empty)
23194
 
module_cmds=$lt_module_cmds_GCJ
23195
 
module_expsym_cmds=$lt_module_expsym_cmds_GCJ
23196
 
 
23197
 
# Commands to strip libraries.
23198
 
old_striplib=$lt_old_striplib
23199
 
striplib=$lt_striplib
23200
 
 
23201
 
# Dependencies to place before the objects being linked to create a
23202
 
# shared library.
23203
 
predep_objects=$lt_predep_objects_GCJ
23204
 
 
23205
 
# Dependencies to place after the objects being linked to create a
23206
 
# shared library.
23207
 
postdep_objects=$lt_postdep_objects_GCJ
23208
 
 
23209
 
# Dependencies to place before the objects being linked to create a
23210
 
# shared library.
23211
 
predeps=$lt_predeps_GCJ
23212
 
 
23213
 
# Dependencies to place after the objects being linked to create a
23214
 
# shared library.
23215
 
postdeps=$lt_postdeps_GCJ
23216
 
 
23217
 
# The directories searched by this compiler when creating a shared
23218
 
# library
23219
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
23220
 
 
23221
 
# The library search path used internally by the compiler when linking
23222
 
# a shared library.
23223
 
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
23224
 
 
23225
 
# Method to check whether dependent libraries are shared objects.
23226
 
deplibs_check_method=$lt_deplibs_check_method
23227
 
 
23228
 
# Command to use when deplibs_check_method == file_magic.
23229
 
file_magic_cmd=$lt_file_magic_cmd
23230
 
 
23231
 
# Flag that allows shared libraries with undefined symbols to be built.
23232
 
allow_undefined_flag=$lt_allow_undefined_flag_GCJ
23233
 
 
23234
 
# Flag that forces no undefined symbols.
23235
 
no_undefined_flag=$lt_no_undefined_flag_GCJ
23236
 
 
23237
 
# Commands used to finish a libtool library installation in a directory.
23238
 
finish_cmds=$lt_finish_cmds
23239
 
 
23240
 
# Same as above, but a single script fragment to be evaled but not shown.
23241
 
finish_eval=$lt_finish_eval
23242
 
 
23243
 
# Take the output of nm and produce a listing of raw symbols and C names.
23244
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
23245
 
 
23246
 
# Transform the output of nm in a proper C declaration
23247
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
23248
 
 
23249
 
# Transform the output of nm in a C name address pair
23250
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
23251
 
 
23252
 
# This is the shared library runtime path variable.
23253
 
runpath_var=$runpath_var
23254
 
 
23255
 
# This is the shared library path variable.
23256
 
shlibpath_var=$shlibpath_var
23257
 
 
23258
 
# Is shlibpath searched before the hard-coded library search path?
23259
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23260
 
 
23261
 
# How to hardcode a shared library path into an executable.
23262
 
hardcode_action=$hardcode_action_GCJ
23263
 
 
23264
 
# Whether we should hardcode library paths into libraries.
23265
 
hardcode_into_libs=$hardcode_into_libs
23266
 
 
23267
 
# Flag to hardcode \$libdir into a binary during linking.
23268
 
# This must work even if \$libdir does not exist.
23269
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
23270
 
 
23271
 
# If ld is used when linking, flag to hardcode \$libdir into
23272
 
# a binary during linking. This must work even if \$libdir does
23273
 
# not exist.
23274
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
23275
 
 
23276
 
# Whether we need a single -rpath flag with a separated argument.
23277
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
23278
 
 
23279
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
23280
 
# resulting binary.
23281
 
hardcode_direct=$hardcode_direct_GCJ
23282
 
 
23283
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
23284
 
# resulting binary.
23285
 
hardcode_minus_L=$hardcode_minus_L_GCJ
23286
 
 
23287
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
23288
 
# the resulting binary.
23289
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
23290
 
 
23291
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
23292
 
# and all subsequent libraries and executables linked against it.
23293
 
hardcode_automatic=$hardcode_automatic_GCJ
23294
 
 
23295
 
# Variables whose values should be saved in libtool wrapper scripts and
23296
 
# restored at relink time.
23297
 
variables_saved_for_relink="$variables_saved_for_relink"
23298
 
 
23299
 
# Whether libtool must link a program against all its dependency libraries.
23300
 
link_all_deplibs=$link_all_deplibs_GCJ
23301
 
 
23302
 
# Compile-time system search path for libraries
23303
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23304
 
 
23305
 
# Run-time system search path for libraries
23306
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
23307
 
 
23308
 
# Fix the shell variable \$srcfile for the compiler.
23309
 
fix_srcfile_path=$lt_fix_srcfile_path
23310
 
 
23311
 
# Set to yes if exported symbols are required.
23312
 
always_export_symbols=$always_export_symbols_GCJ
23313
 
 
23314
 
# The commands to list exported symbols.
23315
 
export_symbols_cmds=$lt_export_symbols_cmds_GCJ
23316
 
 
23317
 
# The commands to extract the exported symbol list from a shared archive.
23318
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
23319
 
 
23320
 
# Symbols that should not be listed in the preloaded symbols.
23321
 
exclude_expsyms=$lt_exclude_expsyms_GCJ
23322
 
 
23323
 
# Symbols that must always be exported.
23324
 
include_expsyms=$lt_include_expsyms_GCJ
23325
 
 
23326
 
# ### END LIBTOOL TAG CONFIG: $tagname
23327
 
 
23328
 
__EOF__
23329
 
 
23330
 
 
23331
 
else
23332
 
  # If there is no Makefile yet, we rely on a make rule to execute
23333
 
  # `config.status --recheck' to rerun these tests and create the
23334
 
  # libtool script then.
23335
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
23336
 
  if test -f "$ltmain_in"; then
23337
 
    test -f Makefile && make "$ltmain"
23338
 
  fi
23339
 
fi
23340
 
 
23341
 
 
23342
 
ac_ext=c
23343
 
ac_cpp='$CPP $CPPFLAGS'
23344
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23345
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23346
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
23347
 
 
23348
 
CC="$lt_save_CC"
23349
 
 
23350
 
        else
23351
 
          tagname=""
23352
 
        fi
23353
 
        ;;
23354
 
 
23355
 
      RC)
23356
 
 
23357
 
 
23358
 
# Source file extension for RC test sources.
23359
 
ac_ext=rc
23360
 
 
23361
 
# Object file extension for compiled RC test sources.
23362
 
objext=o
23363
 
objext_RC=$objext
23364
 
 
23365
 
# Code to be used in simple compile tests
23366
 
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
23367
 
 
23368
 
# Code to be used in simple link tests
23369
 
lt_simple_link_test_code="$lt_simple_compile_test_code"
23370
 
 
23371
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
23372
 
 
23373
 
# If no C compiler was specified, use CC.
23374
 
LTCC=${LTCC-"$CC"}
23375
 
 
23376
 
# If no C compiler flags were specified, use CFLAGS.
23377
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
23378
 
 
23379
 
# Allow CC to be a program name with arguments.
23380
 
compiler=$CC
23381
 
 
23382
 
 
23383
 
# save warnings/boilerplate of simple test code
23384
 
ac_outfile=conftest.$ac_objext
23385
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
23386
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
23387
 
_lt_compiler_boilerplate=`cat conftest.err`
23388
 
$rm conftest*
23389
 
 
23390
 
ac_outfile=conftest.$ac_objext
23391
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
23392
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
23393
 
_lt_linker_boilerplate=`cat conftest.err`
23394
 
$rm -r conftest*
23395
 
 
23396
 
 
23397
 
# Allow CC to be a program name with arguments.
23398
 
lt_save_CC="$CC"
23399
 
CC=${RC-"windres"}
23400
 
compiler=$CC
23401
 
compiler_RC=$CC
23402
 
for cc_temp in $compiler""; do
23403
 
  case $cc_temp in
23404
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
23405
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
23406
 
    \-*) ;;
23407
 
    *) break;;
23408
 
  esac
23409
 
done
23410
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
23411
 
 
23412
 
lt_cv_prog_compiler_c_o_RC=yes
23413
 
 
23414
 
# The else clause should only fire when bootstrapping the
23415
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
23416
 
# with your package, and you will get complaints that there are
23417
 
# no rules to generate ltmain.sh.
23418
 
if test -f "$ltmain"; then
23419
 
  # See if we are running on zsh, and set the options which allow our commands through
23420
 
  # without removal of \ escapes.
23421
 
  if test -n "${ZSH_VERSION+set}" ; then
23422
 
    setopt NO_GLOB_SUBST
23423
 
  fi
23424
 
  # Now quote all the things that may contain metacharacters while being
23425
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
23426
 
  # variables and quote the copies for generation of the libtool script.
23427
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
23428
 
    SED SHELL STRIP \
23429
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
23430
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
23431
 
    deplibs_check_method reload_flag reload_cmds need_locks \
23432
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
23433
 
    lt_cv_sys_global_symbol_to_c_name_address \
23434
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
23435
 
    old_postinstall_cmds old_postuninstall_cmds \
23436
 
    compiler_RC \
23437
 
    CC_RC \
23438
 
    LD_RC \
23439
 
    lt_prog_compiler_wl_RC \
23440
 
    lt_prog_compiler_pic_RC \
23441
 
    lt_prog_compiler_static_RC \
23442
 
    lt_prog_compiler_no_builtin_flag_RC \
23443
 
    export_dynamic_flag_spec_RC \
23444
 
    thread_safe_flag_spec_RC \
23445
 
    whole_archive_flag_spec_RC \
23446
 
    enable_shared_with_static_runtimes_RC \
23447
 
    old_archive_cmds_RC \
23448
 
    old_archive_from_new_cmds_RC \
23449
 
    predep_objects_RC \
23450
 
    postdep_objects_RC \
23451
 
    predeps_RC \
23452
 
    postdeps_RC \
23453
 
    compiler_lib_search_path_RC \
23454
 
    compiler_lib_search_dirs_RC \
23455
 
    archive_cmds_RC \
23456
 
    archive_expsym_cmds_RC \
23457
 
    postinstall_cmds_RC \
23458
 
    postuninstall_cmds_RC \
23459
 
    old_archive_from_expsyms_cmds_RC \
23460
 
    allow_undefined_flag_RC \
23461
 
    no_undefined_flag_RC \
23462
 
    export_symbols_cmds_RC \
23463
 
    hardcode_libdir_flag_spec_RC \
23464
 
    hardcode_libdir_flag_spec_ld_RC \
23465
 
    hardcode_libdir_separator_RC \
23466
 
    hardcode_automatic_RC \
23467
 
    module_cmds_RC \
23468
 
    module_expsym_cmds_RC \
23469
 
    lt_cv_prog_compiler_c_o_RC \
23470
 
    fix_srcfile_path_RC \
23471
 
    exclude_expsyms_RC \
23472
 
    include_expsyms_RC; do
23473
 
 
23474
 
    case $var in
23475
 
    old_archive_cmds_RC | \
23476
 
    old_archive_from_new_cmds_RC | \
23477
 
    archive_cmds_RC | \
23478
 
    archive_expsym_cmds_RC | \
23479
 
    module_cmds_RC | \
23480
 
    module_expsym_cmds_RC | \
23481
 
    old_archive_from_expsyms_cmds_RC | \
23482
 
    export_symbols_cmds_RC | \
23483
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
23484
 
    postinstall_cmds | postuninstall_cmds | \
23485
 
    old_postinstall_cmds | old_postuninstall_cmds | \
23486
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
23487
 
      # Double-quote double-evaled strings.
23488
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
23489
 
      ;;
23490
 
    *)
23491
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
23492
 
      ;;
23493
 
    esac
23494
 
  done
23495
 
 
23496
 
  case $lt_echo in
23497
 
  *'\$0 --fallback-echo"')
23498
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
23499
 
    ;;
23500
 
  esac
23501
 
 
23502
 
cfgfile="$ofile"
23503
 
 
23504
 
  cat <<__EOF__ >> "$cfgfile"
23505
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
23506
 
 
23507
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23508
 
 
23509
 
# Shell to use when invoking shell scripts.
23510
 
SHELL=$lt_SHELL
23511
 
 
23512
 
# Whether or not to build shared libraries.
23513
 
build_libtool_libs=$enable_shared
23514
 
 
23515
 
# Whether or not to build static libraries.
23516
 
build_old_libs=$enable_static
23517
 
 
23518
 
# Whether or not to add -lc for building shared libraries.
23519
 
build_libtool_need_lc=$archive_cmds_need_lc_RC
23520
 
 
23521
 
# Whether or not to disallow shared libs when runtime libs are static
23522
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
23523
 
 
23524
 
# Whether or not to optimize for fast installation.
23525
 
fast_install=$enable_fast_install
23526
 
 
23527
 
# The host system.
23528
 
host_alias=$host_alias
23529
 
host=$host
23530
 
host_os=$host_os
23531
 
 
23532
 
# The build system.
23533
 
build_alias=$build_alias
23534
 
build=$build
23535
 
build_os=$build_os
23536
 
 
23537
 
# An echo program that does not interpret backslashes.
23538
 
echo=$lt_echo
23539
 
 
23540
 
# The archiver.
23541
 
AR=$lt_AR
23542
 
AR_FLAGS=$lt_AR_FLAGS
23543
 
 
23544
 
# A C compiler.
23545
 
LTCC=$lt_LTCC
23546
 
 
23547
 
# LTCC compiler flags.
23548
 
LTCFLAGS=$lt_LTCFLAGS
23549
 
 
23550
 
# A language-specific compiler.
23551
 
CC=$lt_compiler_RC
23552
 
 
23553
 
# Is the compiler the GNU C compiler?
23554
 
with_gcc=$GCC_RC
23555
 
 
23556
 
# An ERE matcher.
23557
 
EGREP=$lt_EGREP
23558
 
 
23559
 
# The linker used to build libraries.
23560
 
LD=$lt_LD_RC
23561
 
 
23562
 
# Whether we need hard or soft links.
23563
 
LN_S=$lt_LN_S
23564
 
 
23565
 
# A BSD-compatible nm program.
23566
 
NM=$lt_NM
23567
 
 
23568
 
# A symbol stripping program
23569
 
STRIP=$lt_STRIP
23570
 
 
23571
 
# Used to examine libraries when file_magic_cmd begins "file"
23572
 
MAGIC_CMD=$MAGIC_CMD
23573
 
 
23574
 
# Used on cygwin: DLL creation program.
23575
 
DLLTOOL="$DLLTOOL"
23576
 
 
23577
 
# Used on cygwin: object dumper.
23578
 
OBJDUMP="$OBJDUMP"
23579
 
 
23580
 
# Used on cygwin: assembler.
23581
 
AS="$AS"
23582
 
 
23583
 
# The name of the directory that contains temporary libtool files.
23584
 
objdir=$objdir
23585
 
 
23586
 
# How to create reloadable object files.
23587
 
reload_flag=$lt_reload_flag
23588
 
reload_cmds=$lt_reload_cmds
23589
 
 
23590
 
# How to pass a linker flag through the compiler.
23591
 
wl=$lt_lt_prog_compiler_wl_RC
23592
 
 
23593
 
# Object file suffix (normally "o").
23594
 
objext="$ac_objext"
23595
 
 
23596
 
# Old archive suffix (normally "a").
23597
 
libext="$libext"
23598
 
 
23599
 
# Shared library suffix (normally ".so").
23600
 
shrext_cmds='$shrext_cmds'
23601
 
 
23602
 
# Executable file suffix (normally "").
23603
 
exeext="$exeext"
23604
 
 
23605
 
# Additional compiler flags for building library objects.
23606
 
pic_flag=$lt_lt_prog_compiler_pic_RC
23607
 
pic_mode=$pic_mode
23608
 
 
23609
 
# What is the maximum length of a command?
23610
 
max_cmd_len=$lt_cv_sys_max_cmd_len
23611
 
 
23612
 
# Does compiler simultaneously support -c and -o options?
23613
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
23614
 
 
23615
 
# Must we lock files when doing compilation?
23616
 
need_locks=$lt_need_locks
23617
 
 
23618
 
# Do we need the lib prefix for modules?
23619
 
need_lib_prefix=$need_lib_prefix
23620
 
 
23621
 
# Do we need a version for libraries?
23622
 
need_version=$need_version
23623
 
 
23624
 
# Whether dlopen is supported.
23625
 
dlopen_support=$enable_dlopen
23626
 
 
23627
 
# Whether dlopen of programs is supported.
23628
 
dlopen_self=$enable_dlopen_self
23629
 
 
23630
 
# Whether dlopen of statically linked programs is supported.
23631
 
dlopen_self_static=$enable_dlopen_self_static
23632
 
 
23633
 
# Compiler flag to prevent dynamic linking.
23634
 
link_static_flag=$lt_lt_prog_compiler_static_RC
23635
 
 
23636
 
# Compiler flag to turn off builtin functions.
23637
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
23638
 
 
23639
 
# Compiler flag to allow reflexive dlopens.
23640
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
23641
 
 
23642
 
# Compiler flag to generate shared objects directly from archives.
23643
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
23644
 
 
23645
 
# Compiler flag to generate thread-safe objects.
23646
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
23647
 
 
23648
 
# Library versioning type.
23649
 
version_type=$version_type
23650
 
 
23651
 
# Format of library name prefix.
23652
 
libname_spec=$lt_libname_spec
23653
 
 
23654
 
# List of archive names.  First name is the real one, the rest are links.
23655
 
# The last name is the one that the linker finds with -lNAME.
23656
 
library_names_spec=$lt_library_names_spec
23657
 
 
23658
 
# The coded name of the library, if different from the real name.
23659
 
soname_spec=$lt_soname_spec
23660
 
 
23661
 
# Commands used to build and install an old-style archive.
23662
 
RANLIB=$lt_RANLIB
23663
 
old_archive_cmds=$lt_old_archive_cmds_RC
23664
 
old_postinstall_cmds=$lt_old_postinstall_cmds
23665
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
23666
 
 
23667
 
# Create an old-style archive from a shared archive.
23668
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
23669
 
 
23670
 
# Create a temporary old-style archive to link instead of a shared archive.
23671
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
23672
 
 
23673
 
# Commands used to build and install a shared archive.
23674
 
archive_cmds=$lt_archive_cmds_RC
23675
 
archive_expsym_cmds=$lt_archive_expsym_cmds_RC
23676
 
postinstall_cmds=$lt_postinstall_cmds
23677
 
postuninstall_cmds=$lt_postuninstall_cmds
23678
 
 
23679
 
# Commands used to build a loadable module (assumed same as above if empty)
23680
 
module_cmds=$lt_module_cmds_RC
23681
 
module_expsym_cmds=$lt_module_expsym_cmds_RC
23682
 
 
23683
 
# Commands to strip libraries.
23684
 
old_striplib=$lt_old_striplib
23685
 
striplib=$lt_striplib
23686
 
 
23687
 
# Dependencies to place before the objects being linked to create a
23688
 
# shared library.
23689
 
predep_objects=$lt_predep_objects_RC
23690
 
 
23691
 
# Dependencies to place after the objects being linked to create a
23692
 
# shared library.
23693
 
postdep_objects=$lt_postdep_objects_RC
23694
 
 
23695
 
# Dependencies to place before the objects being linked to create a
23696
 
# shared library.
23697
 
predeps=$lt_predeps_RC
23698
 
 
23699
 
# Dependencies to place after the objects being linked to create a
23700
 
# shared library.
23701
 
postdeps=$lt_postdeps_RC
23702
 
 
23703
 
# The directories searched by this compiler when creating a shared
23704
 
# library
23705
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
23706
 
 
23707
 
# The library search path used internally by the compiler when linking
23708
 
# a shared library.
23709
 
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
23710
 
 
23711
 
# Method to check whether dependent libraries are shared objects.
23712
 
deplibs_check_method=$lt_deplibs_check_method
23713
 
 
23714
 
# Command to use when deplibs_check_method == file_magic.
23715
 
file_magic_cmd=$lt_file_magic_cmd
23716
 
 
23717
 
# Flag that allows shared libraries with undefined symbols to be built.
23718
 
allow_undefined_flag=$lt_allow_undefined_flag_RC
23719
 
 
23720
 
# Flag that forces no undefined symbols.
23721
 
no_undefined_flag=$lt_no_undefined_flag_RC
23722
 
 
23723
 
# Commands used to finish a libtool library installation in a directory.
23724
 
finish_cmds=$lt_finish_cmds
23725
 
 
23726
 
# Same as above, but a single script fragment to be evaled but not shown.
23727
 
finish_eval=$lt_finish_eval
23728
 
 
23729
 
# Take the output of nm and produce a listing of raw symbols and C names.
23730
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
23731
 
 
23732
 
# Transform the output of nm in a proper C declaration
23733
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
23734
 
 
23735
 
# Transform the output of nm in a C name address pair
23736
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
23737
 
 
23738
 
# This is the shared library runtime path variable.
23739
 
runpath_var=$runpath_var
23740
 
 
23741
 
# This is the shared library path variable.
23742
 
shlibpath_var=$shlibpath_var
23743
 
 
23744
 
# Is shlibpath searched before the hard-coded library search path?
23745
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23746
 
 
23747
 
# How to hardcode a shared library path into an executable.
23748
 
hardcode_action=$hardcode_action_RC
23749
 
 
23750
 
# Whether we should hardcode library paths into libraries.
23751
 
hardcode_into_libs=$hardcode_into_libs
23752
 
 
23753
 
# Flag to hardcode \$libdir into a binary during linking.
23754
 
# This must work even if \$libdir does not exist.
23755
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
23756
 
 
23757
 
# If ld is used when linking, flag to hardcode \$libdir into
23758
 
# a binary during linking. This must work even if \$libdir does
23759
 
# not exist.
23760
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
23761
 
 
23762
 
# Whether we need a single -rpath flag with a separated argument.
23763
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
23764
 
 
23765
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
23766
 
# resulting binary.
23767
 
hardcode_direct=$hardcode_direct_RC
23768
 
 
23769
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
23770
 
# resulting binary.
23771
 
hardcode_minus_L=$hardcode_minus_L_RC
23772
 
 
23773
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
23774
 
# the resulting binary.
23775
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
23776
 
 
23777
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
23778
 
# and all subsequent libraries and executables linked against it.
23779
 
hardcode_automatic=$hardcode_automatic_RC
23780
 
 
23781
 
# Variables whose values should be saved in libtool wrapper scripts and
23782
 
# restored at relink time.
23783
 
variables_saved_for_relink="$variables_saved_for_relink"
23784
 
 
23785
 
# Whether libtool must link a program against all its dependency libraries.
23786
 
link_all_deplibs=$link_all_deplibs_RC
23787
 
 
23788
 
# Compile-time system search path for libraries
23789
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23790
 
 
23791
 
# Run-time system search path for libraries
23792
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
23793
 
 
23794
 
# Fix the shell variable \$srcfile for the compiler.
23795
 
fix_srcfile_path=$lt_fix_srcfile_path
23796
 
 
23797
 
# Set to yes if exported symbols are required.
23798
 
always_export_symbols=$always_export_symbols_RC
23799
 
 
23800
 
# The commands to list exported symbols.
23801
 
export_symbols_cmds=$lt_export_symbols_cmds_RC
23802
 
 
23803
 
# The commands to extract the exported symbol list from a shared archive.
23804
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
23805
 
 
23806
 
# Symbols that should not be listed in the preloaded symbols.
23807
 
exclude_expsyms=$lt_exclude_expsyms_RC
23808
 
 
23809
 
# Symbols that must always be exported.
23810
 
include_expsyms=$lt_include_expsyms_RC
23811
 
 
23812
 
# ### END LIBTOOL TAG CONFIG: $tagname
23813
 
 
23814
 
__EOF__
23815
 
 
23816
 
 
23817
 
else
23818
 
  # If there is no Makefile yet, we rely on a make rule to execute
23819
 
  # `config.status --recheck' to rerun these tests and create the
23820
 
  # libtool script then.
23821
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
23822
 
  if test -f "$ltmain_in"; then
23823
 
    test -f Makefile && make "$ltmain"
23824
 
  fi
23825
 
fi
23826
 
 
23827
 
 
23828
 
ac_ext=c
23829
 
ac_cpp='$CPP $CPPFLAGS'
23830
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23831
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23832
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
23833
 
 
23834
 
CC="$lt_save_CC"
23835
 
 
23836
 
        ;;
23837
 
 
23838
 
      *)
23839
 
        { { $as_echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
23840
 
$as_echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
23841
 
   { (exit 1); exit 1; }; }
23842
 
        ;;
23843
 
      esac
23844
 
 
23845
 
      # Append the new tag name to the list of available tags.
23846
 
      if test -n "$tagname" ; then
23847
 
      available_tags="$available_tags $tagname"
23848
 
    fi
23849
 
    fi
23850
 
  done
23851
 
  IFS="$lt_save_ifs"
23852
 
 
23853
 
  # Now substitute the updated list of available tags.
23854
 
  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
23855
 
    mv "${ofile}T" "$ofile"
23856
 
    chmod +x "$ofile"
23857
 
  else
23858
 
    rm -f "${ofile}T"
23859
 
    { { $as_echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
23860
 
$as_echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
23861
 
   { (exit 1); exit 1; }; }
23862
 
  fi
23863
 
fi
23864
 
 
23865
 
 
23866
 
 
23867
 
# This can be used to rebuild libtool when needed
23868
 
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
23869
 
 
23870
 
# Always use our own libtool.
23871
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
23872
 
 
23873
 
# Prevent multiple expansion
23874
 
 
23875
 
 
23876
 
 
23877
 
 
23878
 
 
23879
 
 
23880
 
 
23881
 
 
23882
 
 
23883
 
 
23884
 
 
23885
 
 
23886
 
 
23887
 
 
23888
 
 
23889
 
 
23890
 
 
23891
 
 
 
14937
 
 
14938
 
 
14939
 
 
14940
 
 
14941
 
 
14942
 
 
14943
 
 
14944
 
 
14945
 
 
14946
 
 
14947
 
 
14948
 
 
14949
 
 
14950
 
 
14951
 
 
14952
striplib=
 
14953
old_striplib=
 
14954
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
14955
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
 
14956
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 
14957
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
14958
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
14959
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
14960
$as_echo "yes" >&6; }
 
14961
else
 
14962
# FIXME - insert some real tests, host_os isn't really good enough
 
14963
  case $host_os in
 
14964
  darwin*)
 
14965
    if test -n "$STRIP" ; then
 
14966
      striplib="$STRIP -x"
 
14967
      old_striplib="$STRIP -S"
 
14968
      { $as_echo "$as_me:$LINENO: result: yes" >&5
 
14969
$as_echo "yes" >&6; }
 
14970
    else
 
14971
      { $as_echo "$as_me:$LINENO: result: no" >&5
 
14972
$as_echo "no" >&6; }
 
14973
    fi
 
14974
    ;;
 
14975
  *)
 
14976
    { $as_echo "$as_me:$LINENO: result: no" >&5
 
14977
$as_echo "no" >&6; }
 
14978
    ;;
 
14979
  esac
 
14980
fi
 
14981
 
 
14982
 
 
14983
 
 
14984
 
 
14985
 
 
14986
 
 
14987
 
 
14988
 
 
14989
 
 
14990
 
 
14991
 
 
14992
 
 
14993
  # Report which library types will actually be built
 
14994
  { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
14995
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
14996
  { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
14997
$as_echo "$can_build_shared" >&6; }
 
14998
 
 
14999
  { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
15000
$as_echo_n "checking whether to build shared libraries... " >&6; }
 
15001
  test "$can_build_shared" = "no" && enable_shared=no
 
15002
 
 
15003
  # On AIX, shared libraries and static libraries use the same namespace, and
 
15004
  # are all built from PIC.
 
15005
  case $host_os in
 
15006
  aix3*)
 
15007
    test "$enable_shared" = yes && enable_static=no
 
15008
    if test -n "$RANLIB"; then
 
15009
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
15010
      postinstall_cmds='$RANLIB $lib'
 
15011
    fi
 
15012
    ;;
 
15013
 
 
15014
  aix[4-9]*)
 
15015
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
15016
      test "$enable_shared" = yes && enable_static=no
 
15017
    fi
 
15018
    ;;
 
15019
  esac
 
15020
  { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
 
15021
$as_echo "$enable_shared" >&6; }
 
15022
 
 
15023
  { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
15024
$as_echo_n "checking whether to build static libraries... " >&6; }
 
15025
  # Make sure either enable_shared or enable_static is yes.
 
15026
  test "$enable_shared" = yes || enable_static=yes
 
15027
  { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
 
15028
$as_echo "$enable_static" >&6; }
 
15029
 
 
15030
 
 
15031
 
 
15032
 
 
15033
fi
 
15034
ac_ext=c
 
15035
ac_cpp='$CPP $CPPFLAGS'
 
15036
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
15037
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
15038
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
15039
 
 
15040
CC="$lt_save_CC"
 
15041
 
 
15042
 
 
15043
 
 
15044
 
 
15045
 
 
15046
 
 
15047
 
 
15048
 
 
15049
 
 
15050
 
 
15051
 
 
15052
 
 
15053
 
 
15054
        ac_config_commands="$ac_config_commands libtool"
 
15055
 
 
15056
 
 
15057
 
 
15058
 
 
15059
# Only expand once:
23892
15060
 
23893
15061
 
23894
15062
 
24456
15624
Usually this means the macro was only invoked conditionally." >&2;}
24457
15625
   { (exit 1); exit 1; }; }
24458
15626
fi
24459
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
24460
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
24461
 
Usually this means the macro was only invoked conditionally." >&5
24462
 
$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
24463
 
Usually this means the macro was only invoked conditionally." >&2;}
24464
 
   { (exit 1); exit 1; }; }
24465
 
fi
24466
15627
if test -z "${ENABLE_GCJ_SUPPORT_TRUE}" && test -z "${ENABLE_GCJ_SUPPORT_FALSE}"; then
24467
15628
  { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_GCJ_SUPPORT\" was never defined.
24468
15629
Usually this means the macro was only invoked conditionally." >&5
24969
16130
# INIT-COMMANDS
24970
16131
#
24971
16132
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 
16133
 
 
16134
 
 
16135
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
16136
# if CDPATH is set.
 
16137
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
16138
 
 
16139
sed_quote_subst='$sed_quote_subst'
 
16140
double_quote_subst='$double_quote_subst'
 
16141
delay_variable_subst='$delay_variable_subst'
 
16142
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
 
16143
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
 
16144
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
 
16145
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
 
16146
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
 
16147
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
 
16148
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
16149
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
 
16150
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
 
16151
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
16152
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
 
16153
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
 
16154
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
 
16155
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
 
16156
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
 
16157
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
16158
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
16159
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
 
16160
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
 
16161
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
 
16162
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
 
16163
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
 
16164
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
 
16165
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
 
16166
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
 
16167
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
 
16168
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
16169
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16170
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
 
16171
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
 
16172
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
 
16173
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
 
16174
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
16175
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
 
16176
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
 
16177
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16178
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16179
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16180
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
 
16181
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
16182
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
 
16183
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
 
16184
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
 
16185
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
 
16186
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"`'
 
16187
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"`'
 
16188
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
 
16189
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
 
16190
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
 
16191
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
 
16192
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
16193
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
 
16194
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
 
16195
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
 
16196
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
 
16197
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
 
16198
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
 
16199
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
 
16200
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
 
16201
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
 
16202
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
 
16203
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
 
16204
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16205
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16206
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
 
16207
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
 
16208
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
16209
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
16210
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
 
16211
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16212
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16213
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16214
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16215
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16216
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16217
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
16218
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
16219
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
16220
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
16221
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
16222
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
 
16223
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
 
16224
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
 
16225
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
 
16226
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
16227
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
 
16228
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
 
16229
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
 
16230
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
 
16231
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
 
16232
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16233
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
16234
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
16235
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16236
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
16237
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
 
16238
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
 
16239
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
 
16240
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
 
16241
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
16242
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
16243
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
 
16244
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
16245
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
16246
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
16247
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16248
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16249
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
16250
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
 
16251
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
 
16252
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
16253
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
16254
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
 
16255
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
 
16256
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
 
16257
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
 
16258
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
16259
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
16260
 
 
16261
LTCC='$LTCC'
 
16262
LTCFLAGS='$LTCFLAGS'
 
16263
compiler='$compiler_DEFAULT'
 
16264
 
 
16265
# Quote evaled strings.
 
16266
for var in SED \
 
16267
GREP \
 
16268
EGREP \
 
16269
FGREP \
 
16270
LD \
 
16271
NM \
 
16272
LN_S \
 
16273
lt_SP2NL \
 
16274
lt_NL2SP \
 
16275
reload_flag \
 
16276
OBJDUMP \
 
16277
deplibs_check_method \
 
16278
file_magic_cmd \
 
16279
AR \
 
16280
AR_FLAGS \
 
16281
STRIP \
 
16282
RANLIB \
 
16283
CC \
 
16284
CFLAGS \
 
16285
compiler \
 
16286
lt_cv_sys_global_symbol_pipe \
 
16287
lt_cv_sys_global_symbol_to_cdecl \
 
16288
lt_cv_sys_global_symbol_to_c_name_address \
 
16289
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
16290
SHELL \
 
16291
ECHO \
 
16292
lt_prog_compiler_no_builtin_flag \
 
16293
lt_prog_compiler_wl \
 
16294
lt_prog_compiler_pic \
 
16295
lt_prog_compiler_static \
 
16296
lt_cv_prog_compiler_c_o \
 
16297
need_locks \
 
16298
DSYMUTIL \
 
16299
NMEDIT \
 
16300
LIPO \
 
16301
OTOOL \
 
16302
OTOOL64 \
 
16303
shrext_cmds \
 
16304
export_dynamic_flag_spec \
 
16305
whole_archive_flag_spec \
 
16306
compiler_needs_object \
 
16307
with_gnu_ld \
 
16308
allow_undefined_flag \
 
16309
no_undefined_flag \
 
16310
hardcode_libdir_flag_spec \
 
16311
hardcode_libdir_flag_spec_ld \
 
16312
hardcode_libdir_separator \
 
16313
fix_srcfile_path \
 
16314
exclude_expsyms \
 
16315
include_expsyms \
 
16316
file_list_spec \
 
16317
variables_saved_for_relink \
 
16318
libname_spec \
 
16319
library_names_spec \
 
16320
soname_spec \
 
16321
finish_eval \
 
16322
old_striplib \
 
16323
striplib; do
 
16324
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
16325
    *[\\\\\\\`\\"\\\$]*)
 
16326
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
16327
      ;;
 
16328
    *)
 
16329
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
16330
      ;;
 
16331
    esac
 
16332
done
 
16333
 
 
16334
# Double-quote double-evaled strings.
 
16335
for var in reload_cmds \
 
16336
old_postinstall_cmds \
 
16337
old_postuninstall_cmds \
 
16338
old_archive_cmds \
 
16339
extract_expsyms_cmds \
 
16340
old_archive_from_new_cmds \
 
16341
old_archive_from_expsyms_cmds \
 
16342
archive_cmds \
 
16343
archive_expsym_cmds \
 
16344
module_cmds \
 
16345
module_expsym_cmds \
 
16346
export_symbols_cmds \
 
16347
prelink_cmds \
 
16348
postinstall_cmds \
 
16349
postuninstall_cmds \
 
16350
finish_cmds \
 
16351
sys_lib_search_path_spec \
 
16352
sys_lib_dlsearch_path_spec; do
 
16353
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
16354
    *[\\\\\\\`\\"\\\$]*)
 
16355
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
16356
      ;;
 
16357
    *)
 
16358
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
16359
      ;;
 
16360
    esac
 
16361
done
 
16362
 
 
16363
# Fix-up fallback echo if it was mangled by the above quoting rules.
 
16364
case \$lt_ECHO in
 
16365
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
 
16366
  ;;
 
16367
esac
 
16368
 
 
16369
ac_aux_dir='$ac_aux_dir'
 
16370
xsi_shell='$xsi_shell'
 
16371
lt_shell_append='$lt_shell_append'
 
16372
 
 
16373
# See if we are running on zsh, and set the options which allow our
 
16374
# commands through without removal of \ escapes INIT.
 
16375
if test -n "\${ZSH_VERSION+set}" ; then
 
16376
   setopt NO_GLOB_SUBST
 
16377
fi
 
16378
 
 
16379
 
 
16380
    PACKAGE='$PACKAGE'
 
16381
    VERSION='$VERSION'
 
16382
    TIMESTAMP='$TIMESTAMP'
 
16383
    RM='$RM'
 
16384
    ofile='$ofile'
 
16385
 
 
16386
 
 
16387
 
24972
16388
 srcdir=${srcdir}
24973
16389
    host=${host}
24974
16390
    CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
24984
16400
do
24985
16401
  case $ac_config_target in
24986
16402
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
16403
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
24987
16404
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
24988
16405
    "gcroots.pc") CONFIG_FILES="$CONFIG_FILES gcroots.pc" ;;
24989
16406
    "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
25599
17016
  done
25600
17017
done
25601
17018
 ;;
 
17019
    "libtool":C)
 
17020
 
 
17021
    # See if we are running on zsh, and set the options which allow our
 
17022
    # commands through without removal of \ escapes.
 
17023
    if test -n "${ZSH_VERSION+set}" ; then
 
17024
      setopt NO_GLOB_SUBST
 
17025
    fi
 
17026
 
 
17027
    cfgfile="${ofile}T"
 
17028
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 
17029
    $RM "$cfgfile"
 
17030
 
 
17031
    cat <<_LT_EOF >> "$cfgfile"
 
17032
#! $SHELL
 
17033
 
 
17034
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
17035
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 
17036
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
17037
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
17038
#
 
17039
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
17040
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
17041
#   Written by Gordon Matzigkeit, 1996
 
17042
#
 
17043
#   This file is part of GNU Libtool.
 
17044
#
 
17045
# GNU Libtool is free software; you can redistribute it and/or
 
17046
# modify it under the terms of the GNU General Public License as
 
17047
# published by the Free Software Foundation; either version 2 of
 
17048
# the License, or (at your option) any later version.
 
17049
#
 
17050
# As a special exception to the GNU General Public License,
 
17051
# if you distribute this file as part of a program or library that
 
17052
# is built using GNU Libtool, you may include this file under the
 
17053
# same distribution terms that you use for the rest of that program.
 
17054
#
 
17055
# GNU Libtool is distributed in the hope that it will be useful,
 
17056
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
17057
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
17058
# GNU General Public License for more details.
 
17059
#
 
17060
# You should have received a copy of the GNU General Public License
 
17061
# along with GNU Libtool; see the file COPYING.  If not, a copy
 
17062
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 
17063
# obtained by writing to the Free Software Foundation, Inc.,
 
17064
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
17065
 
 
17066
 
 
17067
# The names of the tagged configurations supported by this script.
 
17068
available_tags=""
 
17069
 
 
17070
# ### BEGIN LIBTOOL CONFIG
 
17071
 
 
17072
# Whether or not to build shared libraries.
 
17073
build_libtool_libs=$enable_shared
 
17074
 
 
17075
# Which release of libtool.m4 was used?
 
17076
macro_version=$macro_version
 
17077
macro_revision=$macro_revision
 
17078
 
 
17079
# Whether or not to build static libraries.
 
17080
build_old_libs=$enable_static
 
17081
 
 
17082
# What type of objects to build.
 
17083
pic_mode=$pic_mode
 
17084
 
 
17085
# Whether or not to optimize for fast installation.
 
17086
fast_install=$enable_fast_install
 
17087
 
 
17088
# The host system.
 
17089
host_alias=$host_alias
 
17090
host=$host
 
17091
host_os=$host_os
 
17092
 
 
17093
# The build system.
 
17094
build_alias=$build_alias
 
17095
build=$build
 
17096
build_os=$build_os
 
17097
 
 
17098
# A sed program that does not truncate output.
 
17099
SED=$lt_SED
 
17100
 
 
17101
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
17102
Xsed="\$SED -e 1s/^X//"
 
17103
 
 
17104
# A grep program that handles long lines.
 
17105
GREP=$lt_GREP
 
17106
 
 
17107
# An ERE matcher.
 
17108
EGREP=$lt_EGREP
 
17109
 
 
17110
# A literal string matcher.
 
17111
FGREP=$lt_FGREP
 
17112
 
 
17113
# A BSD- or MS-compatible name lister.
 
17114
NM=$lt_NM
 
17115
 
 
17116
# Whether we need soft or hard links.
 
17117
LN_S=$lt_LN_S
 
17118
 
 
17119
# What is the maximum length of a command?
 
17120
max_cmd_len=$max_cmd_len
 
17121
 
 
17122
# Object file suffix (normally "o").
 
17123
objext=$ac_objext
 
17124
 
 
17125
# Executable file suffix (normally "").
 
17126
exeext=$exeext
 
17127
 
 
17128
# whether the shell understands "unset".
 
17129
lt_unset=$lt_unset
 
17130
 
 
17131
# turn spaces into newlines.
 
17132
SP2NL=$lt_lt_SP2NL
 
17133
 
 
17134
# turn newlines into spaces.
 
17135
NL2SP=$lt_lt_NL2SP
 
17136
 
 
17137
# How to create reloadable object files.
 
17138
reload_flag=$lt_reload_flag
 
17139
reload_cmds=$lt_reload_cmds
 
17140
 
 
17141
# An object symbol dumper.
 
17142
OBJDUMP=$lt_OBJDUMP
 
17143
 
 
17144
# Method to check whether dependent libraries are shared objects.
 
17145
deplibs_check_method=$lt_deplibs_check_method
 
17146
 
 
17147
# Command to use when deplibs_check_method == "file_magic".
 
17148
file_magic_cmd=$lt_file_magic_cmd
 
17149
 
 
17150
# The archiver.
 
17151
AR=$lt_AR
 
17152
AR_FLAGS=$lt_AR_FLAGS
 
17153
 
 
17154
# A symbol stripping program.
 
17155
STRIP=$lt_STRIP
 
17156
 
 
17157
# Commands used to install an old-style archive.
 
17158
RANLIB=$lt_RANLIB
 
17159
old_postinstall_cmds=$lt_old_postinstall_cmds
 
17160
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
17161
 
 
17162
# A C compiler.
 
17163
LTCC=$lt_CC
 
17164
 
 
17165
# LTCC compiler flags.
 
17166
LTCFLAGS=$lt_CFLAGS
 
17167
 
 
17168
# Take the output of nm and produce a listing of raw symbols and C names.
 
17169
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
17170
 
 
17171
# Transform the output of nm in a proper C declaration.
 
17172
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
17173
 
 
17174
# Transform the output of nm in a C name address pair.
 
17175
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
17176
 
 
17177
# Transform the output of nm in a C name address pair when lib prefix is needed.
 
17178
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 
17179
 
 
17180
# The name of the directory that contains temporary libtool files.
 
17181
objdir=$objdir
 
17182
 
 
17183
# Shell to use when invoking shell scripts.
 
17184
SHELL=$lt_SHELL
 
17185
 
 
17186
# An echo program that does not interpret backslashes.
 
17187
ECHO=$lt_ECHO
 
17188
 
 
17189
# Used to examine libraries when file_magic_cmd begins with "file".
 
17190
MAGIC_CMD=$MAGIC_CMD
 
17191
 
 
17192
# Must we lock files when doing compilation?
 
17193
need_locks=$lt_need_locks
 
17194
 
 
17195
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 
17196
DSYMUTIL=$lt_DSYMUTIL
 
17197
 
 
17198
# Tool to change global to local symbols on Mac OS X.
 
17199
NMEDIT=$lt_NMEDIT
 
17200
 
 
17201
# Tool to manipulate fat objects and archives on Mac OS X.
 
17202
LIPO=$lt_LIPO
 
17203
 
 
17204
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
 
17205
OTOOL=$lt_OTOOL
 
17206
 
 
17207
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 
17208
OTOOL64=$lt_OTOOL64
 
17209
 
 
17210
# Old archive suffix (normally "a").
 
17211
libext=$libext
 
17212
 
 
17213
# Shared library suffix (normally ".so").
 
17214
shrext_cmds=$lt_shrext_cmds
 
17215
 
 
17216
# The commands to extract the exported symbol list from a shared archive.
 
17217
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
17218
 
 
17219
# Variables whose values should be saved in libtool wrapper scripts and
 
17220
# restored at link time.
 
17221
variables_saved_for_relink=$lt_variables_saved_for_relink
 
17222
 
 
17223
# Do we need the "lib" prefix for modules?
 
17224
need_lib_prefix=$need_lib_prefix
 
17225
 
 
17226
# Do we need a version for libraries?
 
17227
need_version=$need_version
 
17228
 
 
17229
# Library versioning type.
 
17230
version_type=$version_type
 
17231
 
 
17232
# Shared library runtime path variable.
 
17233
runpath_var=$runpath_var
 
17234
 
 
17235
# Shared library path variable.
 
17236
shlibpath_var=$shlibpath_var
 
17237
 
 
17238
# Is shlibpath searched before the hard-coded library search path?
 
17239
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
17240
 
 
17241
# Format of library name prefix.
 
17242
libname_spec=$lt_libname_spec
 
17243
 
 
17244
# List of archive names.  First name is the real one, the rest are links.
 
17245
# The last name is the one that the linker finds with -lNAME
 
17246
library_names_spec=$lt_library_names_spec
 
17247
 
 
17248
# The coded name of the library, if different from the real name.
 
17249
soname_spec=$lt_soname_spec
 
17250
 
 
17251
# Command to use after installation of a shared archive.
 
17252
postinstall_cmds=$lt_postinstall_cmds
 
17253
 
 
17254
# Command to use after uninstallation of a shared archive.
 
17255
postuninstall_cmds=$lt_postuninstall_cmds
 
17256
 
 
17257
# Commands used to finish a libtool library installation in a directory.
 
17258
finish_cmds=$lt_finish_cmds
 
17259
 
 
17260
# As "finish_cmds", except a single script fragment to be evaled but
 
17261
# not shown.
 
17262
finish_eval=$lt_finish_eval
 
17263
 
 
17264
# Whether we should hardcode library paths into libraries.
 
17265
hardcode_into_libs=$hardcode_into_libs
 
17266
 
 
17267
# Compile-time system search path for libraries.
 
17268
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
17269
 
 
17270
# Run-time system search path for libraries.
 
17271
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
17272
 
 
17273
# Whether dlopen is supported.
 
17274
dlopen_support=$enable_dlopen
 
17275
 
 
17276
# Whether dlopen of programs is supported.
 
17277
dlopen_self=$enable_dlopen_self
 
17278
 
 
17279
# Whether dlopen of statically linked programs is supported.
 
17280
dlopen_self_static=$enable_dlopen_self_static
 
17281
 
 
17282
# Commands to strip libraries.
 
17283
old_striplib=$lt_old_striplib
 
17284
striplib=$lt_striplib
 
17285
 
 
17286
 
 
17287
# The linker used to build libraries.
 
17288
LD=$lt_LD
 
17289
 
 
17290
# Commands used to build an old-style archive.
 
17291
old_archive_cmds=$lt_old_archive_cmds
 
17292
 
 
17293
# A language specific compiler.
 
17294
CC=$lt_compiler
 
17295
 
 
17296
# Is the compiler the GNU compiler?
 
17297
with_gcc=$GCC
 
17298
 
 
17299
# Compiler flag to turn off builtin functions.
 
17300
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 
17301
 
 
17302
# How to pass a linker flag through the compiler.
 
17303
wl=$lt_lt_prog_compiler_wl
 
17304
 
 
17305
# Additional compiler flags for building library objects.
 
17306
pic_flag=$lt_lt_prog_compiler_pic
 
17307
 
 
17308
# Compiler flag to prevent dynamic linking.
 
17309
link_static_flag=$lt_lt_prog_compiler_static
 
17310
 
 
17311
# Does compiler simultaneously support -c and -o options?
 
17312
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 
17313
 
 
17314
# Whether or not to add -lc for building shared libraries.
 
17315
build_libtool_need_lc=$archive_cmds_need_lc
 
17316
 
 
17317
# Whether or not to disallow shared libs when runtime libs are static.
 
17318
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 
17319
 
 
17320
# Compiler flag to allow reflexive dlopens.
 
17321
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 
17322
 
 
17323
# Compiler flag to generate shared objects directly from archives.
 
17324
whole_archive_flag_spec=$lt_whole_archive_flag_spec
 
17325
 
 
17326
# Whether the compiler copes with passing no objects directly.
 
17327
compiler_needs_object=$lt_compiler_needs_object
 
17328
 
 
17329
# Create an old-style archive from a shared archive.
 
17330
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 
17331
 
 
17332
# Create a temporary old-style archive to link instead of a shared archive.
 
17333
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 
17334
 
 
17335
# Commands used to build a shared archive.
 
17336
archive_cmds=$lt_archive_cmds
 
17337
archive_expsym_cmds=$lt_archive_expsym_cmds
 
17338
 
 
17339
# Commands used to build a loadable module if different from building
 
17340
# a shared archive.
 
17341
module_cmds=$lt_module_cmds
 
17342
module_expsym_cmds=$lt_module_expsym_cmds
 
17343
 
 
17344
# Whether we are building with GNU ld or not.
 
17345
with_gnu_ld=$lt_with_gnu_ld
 
17346
 
 
17347
# Flag that allows shared libraries with undefined symbols to be built.
 
17348
allow_undefined_flag=$lt_allow_undefined_flag
 
17349
 
 
17350
# Flag that enforces no undefined symbols.
 
17351
no_undefined_flag=$lt_no_undefined_flag
 
17352
 
 
17353
# Flag to hardcode \$libdir into a binary during linking.
 
17354
# This must work even if \$libdir does not exist
 
17355
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
17356
 
 
17357
# If ld is used when linking, flag to hardcode \$libdir into a binary
 
17358
# during linking.  This must work even if \$libdir does not exist.
 
17359
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
 
17360
 
 
17361
# Whether we need a single "-rpath" flag with a separated argument.
 
17362
hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
17363
 
 
17364
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
17365
# DIR into the resulting binary.
 
17366
hardcode_direct=$hardcode_direct
 
17367
 
 
17368
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
17369
# DIR into the resulting binary and the resulting library dependency is
 
17370
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
17371
# library is relocated.
 
17372
hardcode_direct_absolute=$hardcode_direct_absolute
 
17373
 
 
17374
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
17375
# into the resulting binary.
 
17376
hardcode_minus_L=$hardcode_minus_L
 
17377
 
 
17378
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
17379
# into the resulting binary.
 
17380
hardcode_shlibpath_var=$hardcode_shlibpath_var
 
17381
 
 
17382
# Set to "yes" if building a shared library automatically hardcodes DIR
 
17383
# into the library and all subsequent libraries and executables linked
 
17384
# against it.
 
17385
hardcode_automatic=$hardcode_automatic
 
17386
 
 
17387
# Set to yes if linker adds runtime paths of dependent libraries
 
17388
# to runtime path list.
 
17389
inherit_rpath=$inherit_rpath
 
17390
 
 
17391
# Whether libtool must link a program against all its dependency libraries.
 
17392
link_all_deplibs=$link_all_deplibs
 
17393
 
 
17394
# Fix the shell variable \$srcfile for the compiler.
 
17395
fix_srcfile_path=$lt_fix_srcfile_path
 
17396
 
 
17397
# Set to "yes" if exported symbols are required.
 
17398
always_export_symbols=$always_export_symbols
 
17399
 
 
17400
# The commands to list exported symbols.
 
17401
export_symbols_cmds=$lt_export_symbols_cmds
 
17402
 
 
17403
# Symbols that should not be listed in the preloaded symbols.
 
17404
exclude_expsyms=$lt_exclude_expsyms
 
17405
 
 
17406
# Symbols that must always be exported.
 
17407
include_expsyms=$lt_include_expsyms
 
17408
 
 
17409
# Commands necessary for linking programs (against libraries) with templates.
 
17410
prelink_cmds=$lt_prelink_cmds
 
17411
 
 
17412
# Specify filename containing input files.
 
17413
file_list_spec=$lt_file_list_spec
 
17414
 
 
17415
# How to hardcode a shared library path into an executable.
 
17416
hardcode_action=$hardcode_action
 
17417
 
 
17418
# ### END LIBTOOL CONFIG
 
17419
 
 
17420
_LT_EOF
 
17421
 
 
17422
  case $host_os in
 
17423
  aix3*)
 
17424
    cat <<\_LT_EOF >> "$cfgfile"
 
17425
# AIX sometimes has problems with the GCC collect2 program.  For some
 
17426
# reason, if we set the COLLECT_NAMES environment variable, the problems
 
17427
# vanish in a puff of smoke.
 
17428
if test "X${COLLECT_NAMES+set}" != Xset; then
 
17429
  COLLECT_NAMES=
 
17430
  export COLLECT_NAMES
 
17431
fi
 
17432
_LT_EOF
 
17433
    ;;
 
17434
  esac
 
17435
 
 
17436
 
 
17437
ltmain="$ac_aux_dir/ltmain.sh"
 
17438
 
 
17439
 
 
17440
  # We use sed instead of cat because bash on DJGPP gets confused if
 
17441
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
17442
  # text mode, it properly converts lines to CR/LF.  This bash problem
 
17443
  # is reportedly fixed, but why not run on old versions too?
 
17444
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
 
17445
    || (rm -f "$cfgfile"; exit 1)
 
17446
 
 
17447
  case $xsi_shell in
 
17448
  yes)
 
17449
    cat << \_LT_EOF >> "$cfgfile"
 
17450
 
 
17451
# func_dirname file append nondir_replacement
 
17452
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
17453
# otherwise set result to NONDIR_REPLACEMENT.
 
17454
func_dirname ()
 
17455
{
 
17456
  case ${1} in
 
17457
    */*) func_dirname_result="${1%/*}${2}" ;;
 
17458
    *  ) func_dirname_result="${3}" ;;
 
17459
  esac
 
17460
}
 
17461
 
 
17462
# func_basename file
 
17463
func_basename ()
 
17464
{
 
17465
  func_basename_result="${1##*/}"
 
17466
}
 
17467
 
 
17468
# func_dirname_and_basename file append nondir_replacement
 
17469
# perform func_basename and func_dirname in a single function
 
17470
# call:
 
17471
#   dirname:  Compute the dirname of FILE.  If nonempty,
 
17472
#             add APPEND to the result, otherwise set result
 
17473
#             to NONDIR_REPLACEMENT.
 
17474
#             value returned in "$func_dirname_result"
 
17475
#   basename: Compute filename of FILE.
 
17476
#             value retuned in "$func_basename_result"
 
17477
# Implementation must be kept synchronized with func_dirname
 
17478
# and func_basename. For efficiency, we do not delegate to
 
17479
# those functions but instead duplicate the functionality here.
 
17480
func_dirname_and_basename ()
 
17481
{
 
17482
  case ${1} in
 
17483
    */*) func_dirname_result="${1%/*}${2}" ;;
 
17484
    *  ) func_dirname_result="${3}" ;;
 
17485
  esac
 
17486
  func_basename_result="${1##*/}"
 
17487
}
 
17488
 
 
17489
# func_stripname prefix suffix name
 
17490
# strip PREFIX and SUFFIX off of NAME.
 
17491
# PREFIX and SUFFIX must not contain globbing or regex special
 
17492
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
17493
# dot (in which case that matches only a dot).
 
17494
func_stripname ()
 
17495
{
 
17496
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
 
17497
  # positional parameters, so assign one to ordinary parameter first.
 
17498
  func_stripname_result=${3}
 
17499
  func_stripname_result=${func_stripname_result#"${1}"}
 
17500
  func_stripname_result=${func_stripname_result%"${2}"}
 
17501
}
 
17502
 
 
17503
# func_opt_split
 
17504
func_opt_split ()
 
17505
{
 
17506
  func_opt_split_opt=${1%%=*}
 
17507
  func_opt_split_arg=${1#*=}
 
17508
}
 
17509
 
 
17510
# func_lo2o object
 
17511
func_lo2o ()
 
17512
{
 
17513
  case ${1} in
 
17514
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
 
17515
    *)    func_lo2o_result=${1} ;;
 
17516
  esac
 
17517
}
 
17518
 
 
17519
# func_xform libobj-or-source
 
17520
func_xform ()
 
17521
{
 
17522
  func_xform_result=${1%.*}.lo
 
17523
}
 
17524
 
 
17525
# func_arith arithmetic-term...
 
17526
func_arith ()
 
17527
{
 
17528
  func_arith_result=$(( $* ))
 
17529
}
 
17530
 
 
17531
# func_len string
 
17532
# STRING may not start with a hyphen.
 
17533
func_len ()
 
17534
{
 
17535
  func_len_result=${#1}
 
17536
}
 
17537
 
 
17538
_LT_EOF
 
17539
    ;;
 
17540
  *) # Bourne compatible functions.
 
17541
    cat << \_LT_EOF >> "$cfgfile"
 
17542
 
 
17543
# func_dirname file append nondir_replacement
 
17544
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
17545
# otherwise set result to NONDIR_REPLACEMENT.
 
17546
func_dirname ()
 
17547
{
 
17548
  # Extract subdirectory from the argument.
 
17549
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
 
17550
  if test "X$func_dirname_result" = "X${1}"; then
 
17551
    func_dirname_result="${3}"
 
17552
  else
 
17553
    func_dirname_result="$func_dirname_result${2}"
 
17554
  fi
 
17555
}
 
17556
 
 
17557
# func_basename file
 
17558
func_basename ()
 
17559
{
 
17560
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
 
17561
}
 
17562
 
 
17563
 
 
17564
# func_stripname prefix suffix name
 
17565
# strip PREFIX and SUFFIX off of NAME.
 
17566
# PREFIX and SUFFIX must not contain globbing or regex special
 
17567
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
17568
# dot (in which case that matches only a dot).
 
17569
# func_strip_suffix prefix name
 
17570
func_stripname ()
 
17571
{
 
17572
  case ${2} in
 
17573
    .*) func_stripname_result=`$ECHO "X${3}" \
 
17574
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
 
17575
    *)  func_stripname_result=`$ECHO "X${3}" \
 
17576
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
 
17577
  esac
 
17578
}
 
17579
 
 
17580
# sed scripts:
 
17581
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
 
17582
my_sed_long_arg='1s/^-[^=]*=//'
 
17583
 
 
17584
# func_opt_split
 
17585
func_opt_split ()
 
17586
{
 
17587
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
 
17588
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
 
17589
}
 
17590
 
 
17591
# func_lo2o object
 
17592
func_lo2o ()
 
17593
{
 
17594
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
 
17595
}
 
17596
 
 
17597
# func_xform libobj-or-source
 
17598
func_xform ()
 
17599
{
 
17600
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
 
17601
}
 
17602
 
 
17603
# func_arith arithmetic-term...
 
17604
func_arith ()
 
17605
{
 
17606
  func_arith_result=`expr "$@"`
 
17607
}
 
17608
 
 
17609
# func_len string
 
17610
# STRING may not start with a hyphen.
 
17611
func_len ()
 
17612
{
 
17613
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
 
17614
}
 
17615
 
 
17616
_LT_EOF
 
17617
esac
 
17618
 
 
17619
case $lt_shell_append in
 
17620
  yes)
 
17621
    cat << \_LT_EOF >> "$cfgfile"
 
17622
 
 
17623
# func_append var value
 
17624
# Append VALUE to the end of shell variable VAR.
 
17625
func_append ()
 
17626
{
 
17627
  eval "$1+=\$2"
 
17628
}
 
17629
_LT_EOF
 
17630
    ;;
 
17631
  *)
 
17632
    cat << \_LT_EOF >> "$cfgfile"
 
17633
 
 
17634
# func_append var value
 
17635
# Append VALUE to the end of shell variable VAR.
 
17636
func_append ()
 
17637
{
 
17638
  eval "$1=\$$1\$2"
 
17639
}
 
17640
 
 
17641
_LT_EOF
 
17642
    ;;
 
17643
  esac
 
17644
 
 
17645
 
 
17646
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
 
17647
    || (rm -f "$cfgfile"; exit 1)
 
17648
 
 
17649
  mv -f "$cfgfile" "$ofile" ||
 
17650
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
17651
  chmod +x "$ofile"
 
17652
 
 
17653
 ;;
25602
17654
 
25603
17655
  esac
25604
17656
done # for ac_tag